MIPS: Consolidate NPTL/non versions of clone
[platform/upstream/linaro-glibc.git] / ChangeLog
1 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2
3         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4         that was previously under [RESET_PID].
5         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6
7 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8
9         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10         not undefine and redefine.
11         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12         [O_CLOEXEC]: Make code unconditional.
13         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15         <kernel-features.h>.
16         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17         conditional variable definition.
18         (shm_open) [O_CLOEXEC]: Make code unconditional.
19         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
20         code.
21
22         * configure.ac (USE_REGPARMS): Don't define here.
23         * configure: Regenerated.
24         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
25         * sysdeps/i386/configure: Regenerated.
26
27         * nptl/createthread.c: Don't include kernel-features.h.
28         * nptl/pthread_cancel.c: Likewise.
29         * nptl/pthread_condattr_setclock.c: Likewise.
30         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
31         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
33         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
34         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
35         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
36         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
38         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
39         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
40         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
41         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
42         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
43         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
44         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
45         * nscd/gai.c: Likewise.
46         * nss/nss_db/db-open.c: Likewise.
47         * sysdeps/generic/ldsodefs.h: Likewise.
48         * sysdeps/sh/nptl/tls.h: Likewise.
49         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
50         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
51         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
52         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
53         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
54         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
55         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
56         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
57         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
58         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
59         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
60         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
61         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
62         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
63         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
64         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
65         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
66         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
67         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
68         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
69         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
70         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
71         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
72         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
73         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
74         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
75         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
76         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
77         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
78         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
79         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
80         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
81         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
82         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
83         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
84         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
85         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
86         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
87         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
88         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
89         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
90         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
91         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
92         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
93         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
94         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
95         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
96         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
97         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
98         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
99         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
100         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
101         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
102         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
103         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
104         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
105         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
106         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
129         * sysdeps/unix/sysv/linux/pread.c: Likewise.
130         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
131         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
132         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
133         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
134         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
135         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
136         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
137         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
138         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
139         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
140         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
141         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
142         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
143         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
144         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
145         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
146         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
147         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
148         * sysdeps/unix/sysv/linux/system.c: Likewise.
149         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
150         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
151         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
152         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
153         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
154         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
155         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
156
157         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
158         * configure: Regenerated.
159         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
160
161         * configure.ac (base_machine): Do not set specially for particular
162         machines here.
163         * configure: Regenerated.
164         * sysdeps/powerpc/preconfigure: Move machine and base_machine
165         settings from configure.ac.
166         * sysdeps/i386/preconfigure: New file.
167         * sysdeps/s390/preconfigure: Likewise.
168         * sysdeps/sh/preconfigure: Likewise.
169         * sysdeps/sparc/preconfigure: Likewise.
170
171 2014-06-25  Roland McGrath  <roland@hack.frob.com>
172
173         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
174         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
175         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
176         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
177         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
178         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
179         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
180         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
181         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
182         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
183         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
184         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
185         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
186         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
187         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
188         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
189         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
190         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
191         * sysdeps/sparc/sparc64/Makefile: ... appended here.
192
193         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
194         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
195         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
196         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
197         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
198         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
199         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
200         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
201         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
202         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
203         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
204         * sysdeps/sparc/sparc32/sem_post.c: ... here.
205         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
206         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
207         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
208         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
209         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
210         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
211         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
212         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
213         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
214         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
215         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
216         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
217         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
218         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
219         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
220         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
221         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
222         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
223         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
224         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
225         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
226         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
227         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
228         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
229         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
230         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
231
232         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
233         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
235         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
237         Moved ...
238         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
239         ... here.
240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
241         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
243         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
245         Moved ...
246         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
248         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
250         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
252         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
254         Moved ...
255         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
257         Moved ...
258         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
260         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
262         Moved ...
263         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
265         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
267         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
269         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
271         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
273         Moved ...
274         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
275         ... here.
276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
277         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
279         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
281         Moved ...
282         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
284         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
285         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
286         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
288         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
290         Moved ...
291         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
293         Moved ...
294         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
296         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
298         Moved ...
299         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
301         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
302         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
303         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
304
305 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
306
307         * timezone/checktab.awk: Update from tzcode 2014e.
308         * timezone/private.h: Likewise.
309         * timezone/tzfile.h: Likewise.
310         * timezone/zdump.c: Likewise.
311         * timezone/zic.c: Likewise.
312
313         * sysdeps/unix/sysv/linux/kernel-features.h
314         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
315         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
316         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
317         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
318         Remove conditional code.
319
320 2014-06-25  Will Newton  <will.newton@linaro.org>
321
322         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
323         (_dl_arm_cap_flags): Add HWCAP2 values.
324         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
325         (_DL_HWCAP_COUNT): Increase to 37.
326         (_DL_HWCAP_LAST): New define.
327         (_DL_HWCAP2_LAST): New define.
328         (_dl_procinfo): Add support for printing
329         AT_HWCAP2 entries.
330         (_dl_string_hwcap): Use _dl_hwcap_string.
331
332 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
333
334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
335
336 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
337
338         * README: Do not mention ports directory.
339
340         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
341         Remove macro.
342         * sysdeps/unix/sysv/linux/futimes.c: Do not include
343         <kernel-features.h>.
344         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
345         conditional variable definition.
346         (__futimes): Update comment.
347         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
348         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
349
350         [BZ #16560]
351         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
352         arguments close to 0.
353         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
354         Likewise.
355         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
356         Likewise.
357         * math/auto-libm-test-in: Add more tests of exp10.
358         * math/auto-libm-test-out: Regenerated.
359         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
360
361         * sysdeps/unix/sysv/linux/kernel-features.h
362         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
363         * sysdeps/unix/sysv/linux/readv.c: Do not include
364         <kernel-features.h>.
365         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
366         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
367         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
368         unconditional.
369         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
370         conditional code.
371         * sysdeps/unix/sysv/linux/writev.c: Do not include
372         <kernel-features.h>.
373         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
374         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
375         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
376         unconditional.
377         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
378         conditional code.
379
380 2014-06-25  Will Newton  <will.newton@linaro.org>
381
382         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
383         comment changes throughout the file.  Remove checks
384         for HAVE_*_H definitions that are not required.
385         (__gen_tempname): Call abort if an unknown kind value is
386         passed.
387
388 2014-06-25  Andreas Schwab  <schwab@suse.de>
389
390         [BZ #17086]
391         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
392         scalbln, scalblnf, scalblnl in libc.
393
394 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
395
396         [BZ #17086]
397         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
398         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
399         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
400
401 2014-06-24  Roland McGrath  <roland@hack.frob.com>
402
403         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
404         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
405         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
406         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
407         Update #include.
408         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
409         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
410         Update #include.
411         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
412         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
413         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
414         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
415         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
416         * sysdeps/x86/bits/pthreadtypes.h: ... here.
417         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
418         * sysdeps/x86/bits/semaphore.h: ... here.
419         * sysdeps/x86/nptl/elide.h: Moved ...
420         * sysdeps/x86/elide.h: ... here.
421         * sysdeps/x86_64/nptl/Implies: File removed.
422         * sysdeps/i386/nptl/Implies: File removed.
423
424 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
425
426         [BZ #16539]
427         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
428         return the argument for normal arguments with exponent below -64.
429         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
430         Likewise.
431         * math/auto-libm-test-in: Add another test of expm1.
432         * math/auto-libm-test-out: Regenerated.
433
434         [BZ #16287]
435         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
436         calling __erfcl for arguments at least 16.
437         * math/auto-libm-test-in: Add more tests of erf.
438         * math/auto-libm-test-out: Regenerated.
439
440         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
441         individual architectures.
442         * sysdeps/unix/sysv/linux/configure: Regenerated.
443         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
444         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
445         * sysdeps/unix/sysv/linux/powerpc/configure.ac
446         (ldd_rewrite_script): Define variable.
447         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
449         file.
450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
451         generated file.
452         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
453         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
454         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
455         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
456         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
457         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
458         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
459         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
460
461 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
462
463         [BZ #17084]
464         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
465         Rename member __data.d to __data.__elision_data.
466
467 2014-06-24  Wilco  <wdijkstr@arm.com>
468
469         * NEWS: Add 16918 to fixed bug list.
470
471 2014-06-24  Wilco  <wdijkstr@arm.com>
472
473         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
474
475 2014-06-24  Wilco  <wdijkstr@arm.com>
476
477         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
478         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
479         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
480         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
481         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
482         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
483         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
484         Use _FPU_MASK_RM.
485
486 2014-06-24  Wilco  <wdijkstr@arm.com>
487
488         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
489
490 2014-06-24  Wilco  <wdijkstr@arm.com>
491
492         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
493         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
494         * sysdeps/arm/fesetround.c (fesetround): Remove space.
495         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
496
497 2014-06-24  Wilco  <wdijkstr@arm.com>
498
499         [BZ #16918]
500         * sysdeps/arm/feupdateenv.c (feupdateenv):
501         Rewrite to reduce FPSCR accesses and fix return value.
502
503 2014-06-24  Wilco  <wdijkstr@arm.com>
504
505         * sysdeps/arm/fclrexcpt.c (feclearexcept):
506         Optimize to avoid unnecessary FPSCR writes.
507         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
508         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
509         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
510         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
511
512 2014-06-24  Wilco  <wdijkstr@arm.com>
513
514         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
515         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
516         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
517         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
518         Call libc_fetestexcept_vfp.
519         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
520         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
521         __SOFTFP__ ifdef so that they can be built for softfp.
522
523 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
524
525         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
526         argument type signed char.
527
528         * Makerules (check-abi): Dump diff of symlist if the test
529         fails.
530
531 2014-06-23  Roland McGrath  <roland@hack.frob.com>
532
533         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
534         using abort.
535
536         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
537         Remove unused variable ST.
538
539 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
540
541         [BZ #16354]
542         [BZ #17061]
543         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
544         small arguments before calling __expm1.
545         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
546         small arguments before calling __expm1f.
547         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
548         small arguments before calling __expm1l.
549         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
550         Likewise.
551         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
552         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
553         spurious underflow for some cosh tests.
554         * math/auto-libm-test-out: Regenerated.
555         * sysdeps/i386/fpu/libm-test-ulps: Update.
556
557         [BZ #17050]
558         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
559         (__ieee754_y1): Set errno if return value overflows.
560         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
561         (__ieee754_y1f): Set errno if return value overflows.
562         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
563         (__ieee754_y1l): Set errno if return value overflows.
564         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
565         (__ieee754_y1l): Set errno if return value overflows.
566         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
567         * math/auto-libm-test-out: Regenerated.
568
569         * math/gen-auto-libm-tests.c: Document use of
570         ignore-zero-inf-sign.
571         (input_flag_type): Add value flag_ignore_zero_inf_sign.
572         (input_flags): Add ignore-zero-inf-sign.
573         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
574         * math/gen-libm-test.pl (generate_testfile): Handle
575         ignore-zero-inf-sign.
576         * math/auto-libm-test-in: Mark some cpow tests with
577         ignore-zero-inf-sign and some with xfail-rounding.
578         * math/auto-libm-test-out: Regenerated.
579         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
580         * sysdeps/i386/fpu/libm-test-ulps: Update.
581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
582
583         [BZ #16315]
584         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
585         overflowing or underflowing operations take place with sign of
586         result.
587         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
588         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
589         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
590         (__ieee754_pow): Recompute overflowing and underflowing results in
591         original rounding mode.
592         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
593         (__powl_helper): Allow negative argument X and scale negated value
594         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
595         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
596         overflowing or underflowing operations take place with sign of
597         result.
598         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
599         Include <math.h>.
600         * math/auto-libm-test-in: Add more tests of pow.
601         * math/auto-libm-test-out: Regenerated.
602         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
603         (pow_tonearest_test_data): Remove.
604         (pow_test_tonearest): Likewise.
605         (pow_towardzero_test_data): Likewise.
606         (pow_test_towardzero): Likewise.
607         (pow_downward_test_data): Likewise.
608         (pow_test_downward): Likewise.
609         (pow_upward_test_data): Likewise.
610         (pow_test_upward): Likewise.
611         (main): Don't call removed functions.
612         * sysdeps/i386/fpu/libm-test-ulps: Update.
613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
614
615 2014-06-23  Roland McGrath  <roland@hack.frob.com>
616
617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
618         Moved ...
619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
621         Moved ...
622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
624         Moved ...
625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
627         Moved ...
628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
630         File removed.
631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
632         File removed.
633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
634         File removed.
635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
636         File removed.
637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
638         File removed.
639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
640         File removed.
641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
642         File removed.
643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
644         File removed.
645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
646         File removed.
647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
648         File removed.
649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
650         File removed.
651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
652         File removed.
653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
654         Moved ...
655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
657         Moved ...
658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
659         ... here.
660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
661         Moved ...
662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
664         Moved ...
665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
667         Moved ...
668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
670         Moved ...
671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
673         Moved ...
674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
676         Moved ...
677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
679         Moved ...
680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
683         ... here.
684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
685         Moved ...
686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
688         Moved ...
689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
690         ... here.
691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
692         Moved ...
693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
694         ... here.
695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
696         Moved ...
697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
698         ... here.
699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
700         Moved ...
701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
703         Moved ...
704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
708         Moved ...
709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
710         ... here.
711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
712         Moved ...
713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
714         ... here.
715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
716         Moved ...
717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
719         Moved ...
720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
722         Moved ...
723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
725         Moved ...
726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
728         Moved ...
729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
730         ... here.
731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
732         Moved ...
733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
735         Moved ...
736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
738         Moved ...
739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
741         Moved ...
742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
746         Moved ...
747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
749         Moved ...
750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
752         Moved ...
753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
754         ... here.
755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
756         Moved ...
757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
758         ... here.
759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
760         Moved ...
761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
762         ... here.
763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
764         Moved ...
765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
767         Moved ...
768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
770         Moved ...
771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
773         Moved ...
774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
775         ... here.
776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
777         Moved ...
778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
779         ... here.
780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
781         Moved ...
782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
783         ... here.
784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
785         Moved ...
786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
788         Moved ...
789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
790
791 2014-06-23  Will Newton  <will.newton@linaro.org>
792             Wilco  <wdijkstr@arm.com>
793
794         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
795         implementation.  Include get-rounding-mode.h.
796         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
797         [!libc_feholdsetround_noex_ctx]: Define
798         libc_feholdsetround_noex_ctx.
799         [!libc_feholdsetround_noexf_ctx]: Define
800         libc_feholdsetround_noexf_ctx.
801         [!libc_feholdsetround_noexl_ctx]: Define
802         libc_feholdsetround_noexl_ctx.
803         (libc_feholdsetround_ctx): New function.
804         (libc_feresetround_ctx): New function.
805         (libc_feholdsetround_noex_ctx): New function.
806         (libc_feresetround_noex_ctx): New function.
807
808 2014-06-23  Roland McGrath  <roland@hack.frob.com>
809
810         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
811         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
812         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
813         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
814         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
815         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
816
817         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
818         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
819         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
820         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
821         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
822         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
823         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
824         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
825         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
826         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
827         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
828         Moved ...
829         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
830         ... here.
831         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
832         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
833         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
834         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
835         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
836         Moved ...
837         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
838         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
839         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
840         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
841         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
842         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
843         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
844         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
845         Moved ...
846         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
847         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
848         Moved ...
849         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
850         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
851         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
852         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
853         Moved ...
854         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
855         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
856         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
857         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
858         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
859         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
860         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
861         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
862         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
863         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
864         Moved ...
865         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
866         ... here.
867         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
868         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
869         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
870         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
871         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
872         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
873         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
874         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
875         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
876         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
877         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
878         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
879         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
880         Moved ...
881         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
882         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
883         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
884         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
885         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
886         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
887         Moved ...
888         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
889         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
890         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
891         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
892         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
893
894         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
895         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
896         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
897         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
898         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
899         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
900         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
901         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
902         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
903         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
904         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
905         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
906         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
907         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
908         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
909         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
910         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
911         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
912         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
913         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
914         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
915         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
916         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
917         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
918         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
919         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
920         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
921         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
922
923 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
924
925         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
926         (FALLOC_FL_COLLAPSE_RANGE): New macro.
927         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
928         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
929         (IPV6_PMTUDISC_INTERFACE): Likewise.
930         (IPV6_PMTUDISC_OMIT): Likewise.
931
932 2014-06-23  Andreas Schwab  <schwab@suse.de>
933
934         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
935         Remove unused errout label.
936
937 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
938
939         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
940         macro: hardware supports Vector Crypto instructions.
941
942 2014-06-23  Will Newton  <will.newton@linaro.org>
943
944         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
945         rather than __builtin_expect.
946
947         * elf/dl-lookup.c (undefined_msg): Remove variable.
948         (_dl_lookup_symbol_x): Replace undefined_msg with string
949         literal.
950
951         * elf/dl-lookup.c (do_lookup_unique): New function.
952         (do_lookup_x): Move STB_GNU_UNIQUE handling code
953         to a separate function.
954
955 2014-06-23  Andreas Schwab  <schwab@suse.de>
956
957         [BZ #17079]
958         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
959         before reading the next line.
960
961 2014-06-23  Will Newton  <will.newton@linaro.org>
962
963         * test-skeleton.c (signal_handler): Use printf and %m
964         rather than perror.  Use printf rather than fprintf to
965         stderr.  Use puts rather than fputs to stderr.
966         (main): Likewise.
967
968 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
969
970         * nscd/nscd.c (thread_info_t): Remove typedef.
971         (thread_info): Remove variable.
972
973 2014-06-21  Allan McRae  <allan@archlinux.org>
974
975         * NEWS: Mention CVE-2014-4043.
976
977 2014-06-20  Roland McGrath  <roland@hack.frob.com>
978
979         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
980         * nptl/smp.h: ... here.
981
982         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
983
984         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
985         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
986         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
987         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
988
989         * nptl/allocatestack.c: Include <stack-aliasing.h>.
990         * nptl/stack-aliasing.h: New file.
991         * sysdeps/i386/i686/stack-aliasing.h: New file.
992         * sysdeps/i386/i686/nptl/Makefile: File removed.
993         * sysdeps/x86_64/stack-aliasing.h: New file.
994         * sysdeps/x86_64/nptl/Makefile
995         (CFLAGS-pthread_create.c): Variable removed.
996
997         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
998         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
999         old file.
1000         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1001         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1002         old file.
1003
1004 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1005
1006         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1007         (__ASSUME_SIGFRAME_V2): Remove macro.
1008         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1009         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1010         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1011         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1012         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1013         Declare as function.  Remove conditional macro definitions.
1014         (__default_rt_sa_restorer): Likewise.
1015         (__default_sa_restorer_v1): Remove declaration.
1016         (__default_sa_restorer_v2): Likewise.
1017         (__default_rt_sa_restorer_v1): Likewise.
1018         (__default_rt_sa_restorer_v2): Likewise.
1019         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1020         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1021         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1022
1023 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1024
1025         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1026         (libpthread-routines): Add sysdep.
1027         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1028         * sysdeps/unix/sysv/linux/sparc/Versions
1029         (libpthread: GLIBC_2.3.3): New version set.
1030         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1031         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1032         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1033         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1034         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1035         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1036         Moved ...
1037         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1038         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1039         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1040         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1041         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1042         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1043         * sysdeps/sparc/nptl/sem_init.c: ... here.
1044         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1045         * sysdeps/sparc/nptl/sem_post.c: ... here.
1046         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1047         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1048         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1049         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1050         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1051         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1052         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1053         (libpthread-routines): Add cpu_relax.
1054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1055         File removed.
1056         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1057         (librt: GLIBC_2.3.3): New version set.
1058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1059         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1060         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1061         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1064         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1066         Moved ...
1067         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1069         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1071         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1072         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1073         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1075         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1076         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1077         Moved ...
1078         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1079         Update #include.
1080         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1081         Moved ...
1082         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1083         Update #include.
1084         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1085         Moved ...
1086         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1087         Update #include.
1088         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1089         Moved ...
1090         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1091         Update #include.
1092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1093         Moved ...
1094         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1095         Update #include.
1096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1097         Moved ...
1098         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1099         Update #include.
1100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1101         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1102         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1103         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1105         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1106         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1107         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1109         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1110         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1111         Moved ...
1112         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1114         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1115         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1116         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1117
1118 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1119
1120         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1121         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1122         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1123         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1124         * nscd/nscd.c: Likewise.
1125         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1126         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1127         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1128         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1129
1130         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1131         <kernel-features.h>.
1132         (init_mq_netlink): Remove conditional have_sock_cloexec
1133         definitions.  Remove code conditional on have_sock_cloexec < 0.
1134         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1135         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1136         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1137         <kernel-features.h>.
1138         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1139         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1140
1141 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1142
1143         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1144         Add tests for memset_chk and memset.
1145
1146         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1147         with AVX2_Usable.
1148
1149 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1150
1151         [BZ #16046]
1152         * elf/tst-dl-iter-static.c: New file.
1153         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1154
1155         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1156         error.
1157
1158 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1159
1160         * sysdeps/unix/sysv/linux/kernel-features.h
1161         (__ASSUME_F_GETOWN_EX): Remove macro.
1162         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1163         <kernel-features.h>.
1164         (miss_F_GETOWN_EX): Remove variable or macro.
1165         (do_fcntl): Do not check miss_F_GETOWN_EX.
1166         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1167
1168         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1169         Remove macro.
1170         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1171         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1172         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1173
1174         * sysdeps/unix/sysv/linux/kernel-features.h
1175         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1176         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1177         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1178         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1179
1180 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1181
1182         [BZ #17075]
1183         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1184         Fix calculation of the symbol's value.
1185         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1186         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1187         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1188         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1189         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1190         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1191         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1192         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1193         (modules-names): Add `tst-armtlsdescmod',
1194         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1195         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1196         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1197         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1198         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1199         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1200         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1201         ($(objpfx)tst-armtlsdescloc): New dependency.
1202         ($(objpfx)tst-armtlsdescextnow): Likewise.
1203         ($(objpfx)tst-armtlsdescextlazy): Likewise.
1204         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1205         TLS scheme support.
1206         * sysdeps/arm/configure: Regenerate.
1207
1208 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1209
1210         * include/fcntl.h (__atfct_seterrno): Remove prototype.
1211         (__atfct_seterrno_2): Likewise.
1212         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1213         <kernel-features.h>.
1214         (__ASSUME_ATFCTS): Do not undefine and redefine.
1215         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1216         (__have_atfcts): Remove conditional definition.
1217         (__fxstatat([__NR_fstatat64]: Make code unconditional.
1218         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1219         unreachable if [__ASSUME_ATFCTS].
1220         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1221         not undefine and redefine.
1222         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1223         <kernel-features.h>.
1224         (faccessat) [__NR_faccessat]: Make code unconditional.
1225         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1226         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1227         <kernel-features.h>.
1228         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1229         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1230         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1231         <kernel-features.h>.
1232         (fchownat) [__NR_fchownat]: Make code unconditional.
1233         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1234         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1235         <kernel-features.h>.
1236         (futimesat) [__NR_futimesat]: Make code unconditional.
1237         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1238         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1239         <kernel-features.h>.
1240         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1241         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1242         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1243         <kernel-features.h>.
1244         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1245         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1246         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1247         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1248         <kernel-features.h>.
1249         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1250         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1251         * sysdeps/unix/sysv/linux/linkat.c: Do not include
1252         <kernel-features.h>.
1253         (linkat) [__NR_linkat]: Make code unconditional.
1254         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1255         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1256         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1257         <kernel-features.h>.
1258         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1259         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1260         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1261         <kernel-features.h>.
1262         (mkdirat) [__NR_mkdirat]: Make code unconditional.
1263         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1264         * sysdeps/unix/sysv/linux/openat.c: Do not include
1265         <kernel-features.h>.
1266         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1267         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1268         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1269         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1270         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1271         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1272         <kernel-features.h>.
1273         (readlinkat) [__NR_readlinkat]: Make code unconditional.
1274         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
1275         result of INLINE_SYSCALL directly, not via int variable.
1276         * sysdeps/unix/sysv/linux/renameat.c: Do not include
1277         <kernel-features.h>.
1278         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1279         (renameat) [__NR_renameat]: Make code unconditional.
1280         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1281         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1282         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1283         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1284         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1285         (__ASSUME_ATFCTS): Do not undefine and redefine.
1286         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1287         <kernel-features.h>.
1288         (symlinkat) [__NR_symlinkat]: Make code unconditional.
1289         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1290         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1291         <kernel-features.h>.
1292         (unlinkat) [__NR_unlinkat]: Make code unconditional.
1293         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1294         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1295         (__ASSUME_ATFCTS): Do not undefine and redefine.
1296         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1297         <kernel-features.h>.
1298         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1299         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1300         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1301         <kernel-features.h>.
1302         (__xmknodat) [__NR_mknodat]: Make code unconditional.
1303         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1304
1305 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1306
1307         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1308
1309 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
1310
1311         [BZ #17069]
1312         * posix/regcomp.c (parse_reg_exp): Deallocate partially
1313         constructed tree before returning error.
1314         * posix/bug-regexp36.c: Expand test case.
1315
1316 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1317
1318         [BZ #6803]
1319         * math/libm-test.inc (scalbln_test_date):
1320         Add errno expectations.
1321         * math/w_scalblnf.c: New File.
1322         Add wrapper which checks for setting errno to ERANGE.
1323         Add weak_alias for corresponding scalbln function.
1324         * math/w_scalbln.c: Likewise.
1325         * math/w_scalblnl.c: Likewise.
1326         * math/Makefile (libm-calls): Add w_scalbln.
1327         * sysdeps/ieee754/flt-32/s_scalblnf.c:
1328         Remove weak_alias for corresponding scalbln function.
1329         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1330         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1331         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1332         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1333         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1334         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1335         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1336         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1337         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1338         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1339         Remove long_double_symbol for scalblnl function in libm, libc.
1340         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1341         Add wrapper which checks for setting errno to ERANGE.
1342         Add long_double_symbol for scalblnl function in libm, libc.
1343         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1344         Remove long_double_symbol for scalblnl in libm.
1345         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1346         Add wrapper which checks for setting errno to ERANGE.
1347         Add long_double_symbol for scalblnl function in libm.
1348         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1349         Do not use wrapper because of own implementation.
1350
1351 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
1352
1353         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1354         3 bytes for __pad1 for x32.
1355         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1356
1357 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
1358             H.J. Lu  <hongjiu.lu@intel.com>
1359
1360         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1361         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1362         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1363         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1364         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1365
1366 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
1367
1368         [BZ #17069]
1369         * posix/regcomp.c (parse_expression): Deallocate partially
1370         constructed tree before returning error.
1371         * posix/Makefile.c (tests): Add bug-regex36.
1372         (generated): Add bug-regex36.mtrace.
1373         (tests-special): Add $(objpfx)bug-regex36-mem.out
1374         (bug-regex36-ENV): New variable.
1375         ($(objpfx)bug-regex36-mem.out): New rule.
1376         * posix/bug-regex36.c: New file.
1377
1378 2014-06-19  Will Newton  <will.newton@linaro.org>
1379
1380         * malloc/malloc.c (systrim): If extra is zero then return
1381         early.
1382
1383 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1384
1385         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1386
1387 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
1388
1389         * sysdeps/aarch64/strchr.S: New file.
1390
1391 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1392
1393         [BZ #17022]
1394         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1395         from arguments -2 or below.
1396         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1397         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1398
1399 2014-06-18  Andreas Schwab  <schwab@suse.de>
1400
1401         [BZ #17062]
1402         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1403         of a bracket expr not to run off the end of the string.
1404         * posix/Makefile (tests): Add tst-fnmatch3.
1405         * posix/tst-fnmatch3.c: New file.
1406
1407 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1408
1409         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1410         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1411         [$(cross-compiling) = no]: Likewise.
1412         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1413         [$(cross-compiling) = no]: Likewise.
1414
1415 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1416
1417         [BZ #17031]
1418         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1419         double, adjusted for any remainder from the high double.
1420         * math/libm-test.inc (nearbyint): Add tests.
1421         (rint): Likewise.
1422
1423 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1424
1425         * nptl/sysdeps/powerpc/Makefile: Moved ...
1426         * sysdeps/powerpc/nptl/Makefile: ... here.
1427         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1428         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1429         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1430         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1431         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1432         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1433         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1434         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1435         * nptl/sysdeps/powerpc/tls.h: Moved ...
1436         * sysdeps/powerpc/nptl/tls.h: ... here.
1437
1438 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
1439
1440         [BZ #16681]
1441         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1442         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1443         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1444         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1445         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1446         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1447         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1448         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1449         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1450
1451 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
1452
1453         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1454
1455 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
1456
1457         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1458         defined operator.
1459
1460         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1461         $TIMEOUTFACTOR.
1462
1463 2014-06-16  Florian Weimer  <fweimer@redhat.com>
1464
1465         [BZ #17058]
1466         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1467         non-executed part of the test.
1468
1469 2014-06-16  Andreas Schwab  <schwab@suse.de>
1470
1471         * string/bits/string2.h (strdup, strndup): Update feature guard.
1472
1473 2014-06-14  David S. Miller  <davem@davemloft.net>
1474
1475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1476
1477 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1478
1479         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1480         that was previously under [RESET_PID].
1481         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1482
1483         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1484         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1485         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1486         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1487         (__libc_vfork): New strong alias.
1488         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1489
1490 2014-06-14 Andi Kleen  <ak@linux.intel.com>
1491
1492         * sysdeps/generic/elide.h: New file.
1493
1494 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1495
1496         * Makefile (installed-headers): Adjust path of pthread.h header.
1497
1498 2014-06-13  Roland McGrath  <roland@hack.frob.com>
1499
1500         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1501         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1502         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1503         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1504
1505         * nptl/sysdeps/s390/Makefile: Moved ...
1506         * sysdeps/s390/nptl/Makefile: ... here.
1507         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1508         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1509         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1510         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1511         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1512         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1513         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1514         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1515         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1516         * sysdeps/s390/nptl/pthreaddef.h: ... here.
1517         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1518         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1519         * nptl/sysdeps/s390/tls.h: Moved ...
1520         * sysdeps/s390/nptl/tls.h: ... here.
1521
1522         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1523         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1524
1525 2014-06-13  David S. Miller  <davem@davemloft.net>
1526
1527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1530         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1531         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1533         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1534         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1535         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1536         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1537         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1538         Remove RESET_PID cpp guards.
1539         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1540         Remove RESET_PID cpp guards.
1541         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1542
1543 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
1544
1545         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1546         __sp to uintptr_t.
1547
1548 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1549
1550         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1551         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1552         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1553         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1554         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1555         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1556         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1557         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1558         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1559         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1560         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1561         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1562         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1563         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1564         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1565         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1566         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1567         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1568         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1569         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1570
1571         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1572         (pthread_rwlock_rdlock): Add elision.
1573         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1574         (pthread_rwlock_wrlock): Add elision.
1575         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1576         (pthread_rwlock_trywrlock): Add elision.
1577         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1578         (pthread_rwlock_tryrdlock): Add elision.
1579         * nptl/pthread_rwlock_unlock.c: Include elide.h.
1580         (pthread_rwlock_tryrdlock): Add elision unlock.
1581         * nptl/sysdeps/pthread/pthread.h:
1582         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1583         (PTHREAD_RWLOCK_INITIALIZER,
1584         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1585         Handle new elision field.
1586         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1587         * sysdeps/arm/nptl/bits/pthreadtypes.h
1588         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1589         * sysdeps/sh/nptl/bits/pthreadtypes.h
1590         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1591         * sysdeps/tile/nptl/bits/pthreadtypes.h
1592         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1593         * sysdeps/a/nptl/bits/pthreadtypes.h
1594         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1595         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1596         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1597         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1598         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1599         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1600         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1601         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1602         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1603         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1604         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1605         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1606         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1607         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1608         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1609         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1610         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1611         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1612         (elision_init): Set try_xbegin to zero when no RTM.
1613         * sysdeps/x86/nptl/bits/pthreadtypes.h
1614         (pthread_rwlock_t): Change __pad1 to __rwelision.
1615         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1616
1617 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1618
1619         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1620         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1621         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1622         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1623
1624 2014-06-13  Meador Inge  <meadori@codesourcery.com>
1625
1626         [BZ #16996]
1627         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1628         that the cached result has been set before returning it.
1629
1630 2014-06-12  Roland McGrath  <roland@hack.frob.com>
1631
1632         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1633         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1634         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1635         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1636         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1637         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1638
1639         * nptl/sysdeps/sparc/Makefile: Moved ...
1640         * sysdeps/sparc/nptl/Makefile: ... here.
1641         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1642         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1643         * nptl/sysdeps/sparc/tls.h: Moved ...
1644         * sysdeps/sparc/nptl/tls.h: ... here.
1645         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1646         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1647         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1648         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1649         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1650         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1651         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1652         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1653         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1654         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1655         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1656         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1657         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1658         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1659         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1660         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1661         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1662         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1663         Update #include.
1664         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1665         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1666         Update #include.
1667         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1668         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1669         Update #include.
1670         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1671         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1672         Update #include.
1673
1674         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1675
1676         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1677         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1678
1679         * sysdeps/pthread/posix-timer.h: Include <list.h>.
1680         (struct list_links): Type removed.
1681         (struct thread_node, struct timer_node): Replace struct list_links
1682         with struct list_head.
1683         (list_unlink_ip): Likewise.
1684         * sysdeps/pthread/timer_routines.c
1685         (timer_free_list, thread_free_list, thread_active_list): Likewise.
1686         (list_append, list_insbefore): Likewise.
1687         (list_init): Function removed.
1688         (thread_init, init_module): Use INIT_LIST_HEAD instead.
1689         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1690         * sysdeps/pthread/Makefile: ... here, new file.
1691
1692         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1693         * sysdeps/nptl/Implies: ... here.
1694         * sysdeps/unix/sysv/linux/Implies: Add nptl.
1695         * nptl/sysdeps/pthread/list.h: Moved ...
1696         * include/list.h: ... here.
1697         * nptl/sysdeps/pthread/createthread.c: Moved ...
1698         * nptl/createthread.c: ... here.
1699         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1700         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1701         * nptl/pt-longjmp.c: ... here.
1702         * nptl/sysdeps/pthread/Makefile: Moved ...
1703         * sysdeps/nptl/Makefile: ... here.
1704         * nptl/sysdeps/pthread/Subdirs: Moved ...
1705         * sysdeps/nptl/Subdirs: ... here.
1706         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1707         * sysdeps/nptl/aio_misc.h: ... here.
1708         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1709         * sysdeps/nptl/bits/libc-lock.h: ... here.
1710         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1711         * sysdeps/nptl/bits/libc-lockP.h: ... here.
1712         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1713         * sysdeps/nptl/bits/stdio-lock.h: ... here.
1714         * nptl/sysdeps/pthread/configure: Moved ...
1715         * sysdeps/nptl/configure: ... here.
1716         * nptl/sysdeps/pthread/configure.ac: Moved ...
1717         * sysdeps/nptl/configure.ac: ... here.
1718         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1719         * sysdeps/nptl/gai_misc.h: ... here.
1720         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1721         * sysdeps/nptl/librt-cancellation.c: ... here.
1722         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1723         * sysdeps/nptl/malloc-machine.h: ... here.
1724         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1725         * sysdeps/nptl/pthread-functions.h: ... here.
1726         * nptl/sysdeps/pthread/pthread.h: Moved ...
1727         * sysdeps/nptl/pthread.h: ... here.
1728         * nptl/sysdeps/pthread/setxid.h: Moved ...
1729         * sysdeps/nptl/setxid.h: ... here.
1730         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1731         * sysdeps/nptl/sigfillset.c: ... here.
1732         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1733         * sysdeps/nptl/tcb-offsets.h: ... here.
1734         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1735         * sysdeps/nptl/tst-mqueue8x.c: ... here.
1736         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1737         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1738         * nptl/sysdeps/pthread/allocalim.h: Moved ...
1739         * sysdeps/pthread/allocalim.h: ... here.
1740         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1741         * sysdeps/pthread/bits/sigthread.h: ... here.
1742         * nptl/sysdeps/pthread/flockfile.c: Moved ...
1743         * sysdeps/pthread/flockfile.c: ... here.
1744         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1745         * sysdeps/pthread/ftrylockfile.c: ... here.
1746         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1747         * sysdeps/pthread/funlockfile.c: ... here.
1748         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1749         * sysdeps/pthread/posix-timer.h: ... here.
1750         * nptl/sysdeps/pthread/timer_create.c: Moved ...
1751         * sysdeps/pthread/timer_create.c: ... here.
1752         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1753         * sysdeps/pthread/timer_delete.c: ... here.
1754         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1755         * sysdeps/pthread/timer_getoverr.c: ... here.
1756         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1757         * sysdeps/pthread/timer_gettime.c: ... here.
1758         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1759         * sysdeps/pthread/timer_routines.c: ... here.
1760         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1761         * sysdeps/pthread/timer_settime.c: ... here.
1762         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1763         * sysdeps/pthread/tst-timer.c: ... here.
1764         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1765         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1766
1767         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1768         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1769
1770         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1771         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1772         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1773         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1774         Update #include target.
1775         * nptl/sysdeps/i386/i686/Makefile: Moved ...
1776         * sysdeps/i386/i686/nptl/Makefile: ... here.
1777         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1778         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1779         Update #include target.
1780         * nptl/sysdeps/i386/i686/tls.h: Moved ...
1781         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
1782         * nptl/sysdeps/i386/Makefile: Moved ...
1783         * sysdeps/i386/nptl/Makefile: ... here.
1784         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1785         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1786         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1787         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1788         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1789         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1790         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1791         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1792         * sysdeps/i386/nptl/pthreaddef.h: ... here.
1793         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1794         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1795         * nptl/sysdeps/i386/tls.h: Moved ...
1796         * sysdeps/i386/nptl/tls.h: ... here.
1797
1798         * sysdeps/sh/Makefile [$(subdir) = csu]
1799         (gen-as-const-headers): Add tcb-offsets.sym.
1800         * nptl/sysdeps/sh/Makefile: File removed.
1801         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1802         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1803         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1804         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1805         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1806         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1807         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1808         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1809         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1810         * sysdeps/sh/nptl/pthreaddef.h: ... here.
1811         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1812         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1813         * nptl/sysdeps/sh/tls.h: Moved ...
1814         * sysdeps/sh/nptl/tls.h: ... here.
1815         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1816         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1817         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1818         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1819         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1820         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1821         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1822         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1823         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1824         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1825         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1826         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1827         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1828         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1829         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1830         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1831         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1832         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1833         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1834         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1835         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1836         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1837         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1838         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1839         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1840         Moved ...
1841         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1842         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1843         Moved ...
1844         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1845         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1846         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1847         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1848         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1849         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1850         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1851         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1852         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1853         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1854         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1855         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1856         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1857         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1858         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1859         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1860         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1861         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1862         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1863
1864 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1865
1866         * posix/spawn_faction_addopen.c: Include string.h.
1867
1868 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1869
1870         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1871         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1872         * nptl/sysdeps/x86_64/Makefile: Moved ...
1873         * sysdeps/x86_64/nptl/Makefile: ... here.
1874         * nptl/sysdeps/x86_64/configure: Moved ...
1875         * sysdeps/x86_64/nptl/configure: ... here.
1876         * nptl/sysdeps/x86_64/configure.ac: Moved ...
1877         * sysdeps/x86_64/nptl/configure.ac: ... here.
1878         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1879         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1880         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1881         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1882         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1883         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1884         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1885         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1886         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1887         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1888         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1889         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1890         * nptl/sysdeps/x86_64/tls.h: Moved ...
1891         * sysdeps/x86_64/nptl/tls.h: ... here.
1892         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1893         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1894         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1895         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1896
1897         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1898
1899 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1900
1901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1902
1903 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
1904
1905         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1906         type.
1907         [POSIX] (off_t): Likewise.
1908         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1909         [POSIX] (S_ISBLK): Require macro.
1910         [POSIX] (S_ISCHR): Likewise.
1911         [POSIX] (S_ISDIR): Likewise.
1912         [POSIX] (S_ISFIFO): Likewise.
1913         [POSIX] (S_ISREG): Likewise.
1914         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1915         optional-macro.
1916         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1917         type.
1918         [POSIX] (time_t): Likewise.
1919         [POSIX] (timer_t): Likewise.
1920
1921 2014-06-11  Florian Weimer  <fweimer@redhat.com>
1922
1923         [BZ #17048]
1924         * posix/spawn_int.h (struct __spawn_action): Make the path string
1925         non-const to support deallocation.
1926         * posix/spawn_faction_addopen.c
1927         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1928         * posix/spawn_faction_destroy.c
1929         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
1930         path in all spawn_do_open actions.
1931         * posix/tst-spawn.c (do_test): Exercise the copy operation in
1932         posix_spawn_file_actions_addopen.
1933
1934 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
1935
1936         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1937         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1938         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1939         conditional code always true.
1940         (__libc_vfork): New alias.
1941
1942 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1943
1944         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1945         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1946
1947         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1948
1949         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1950         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1951
1952         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1953         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1954
1955         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1956         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1957
1958 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1959
1960         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1961         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1962         multiarch strcmp for PPC64.
1963         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1964         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1965         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1966         multiarch optimizations.
1967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1968         (__libc_ifunc_impl_list): Likewise.
1969
1970 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1971
1972         * benchtests/scripts/validate_benchout.py: New script.
1973         * benchtests/Makefile (bench-func): Call it.
1974         * benchtests/scripts/benchout.schema.json: New file.
1975
1976 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
1977
1978         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1979         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1980         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1981         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1982         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1983         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1984         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1985         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1986         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1987         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1988         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1989         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1990         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1991         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1992         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1993         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1995         Moved ...
1996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1997         ... here.
1998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1999         Moved ...
2000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2002         Moved ...
2003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2004         ... here.
2005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2006         Moved ...
2007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2008         ... here.
2009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2010         Moved ...
2011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2013         Moved ...
2014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2015         ... here.
2016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2017         Moved ...
2018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2019         ... here.
2020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2021         Moved ...
2022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2024         Moved ...
2025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2026         ... here.
2027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2028         Moved ...
2029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2030         ... here.
2031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2032         Moved ...
2033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2034         ... here.
2035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2036         Moved ...
2037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2039         Moved ...
2040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2041         ... here.
2042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2043         Moved ...
2044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2045         ... here.
2046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2047         Moved ...
2048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2049         ... here.
2050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2051         Moved ...
2052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2054         Moved ...
2055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2056         ... here.
2057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2058         Moved ...
2059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2060         ... here.
2061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2062         Moved ...
2063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2065         Moved ...
2066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2067         ... here.
2068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2069         Moved ...
2070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2072         Moved ...
2073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2075         Moved ...
2076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2077         ... here.
2078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2079         Moved ...
2080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2081         ... here.
2082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2083         Moved ...
2084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2085         ... here.
2086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2087         Moved ...
2088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2090         Moved ...
2091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2092         ... here.
2093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2094         Moved ...
2095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2096         ... here.
2097         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2098         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2099         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2100         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2101         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2102         Moved ...
2103         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2104         ... here.
2105         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2106         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2107         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2108         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2109         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2110         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2111         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2112         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2113         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2114         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2115         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2116         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2117         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2118         Moved ...
2119         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2120         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2121         Moved ...
2122         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2123         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2124         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2125         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2126         Moved ...
2127         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2128         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2129         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2130         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2131         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2132         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2133         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2134
2135 2014-06-10  Wilco  <wdijkstr@arm.com>
2136
2137         * math/test-fenv-return.c: New file.
2138         * math/Makefile: Add new test test-fenv-return.
2139
2140 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2141
2142         [BZ #17042]
2143         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2144         when x - 1 is zero.
2145         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2146         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2147         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2148         0.0L for an argument of 1.0L.
2149         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2150         Likewise.
2151         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2152         value when x - 1 is zero.
2153         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2154         * sysdeps/i386/fpu/libm-test-ulps: Update.
2155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2156
2157 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2158
2159         [BZ #15119]
2160         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2161
2162 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2163
2164         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2165         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2166
2167 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2168
2169         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2170         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2171
2172         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2173         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2174
2175         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2176         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2177
2178         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2179         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2180
2181         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2182         if not already defined.
2183         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2184         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2185         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2186         (TLS_INIT_TP): Use it.
2187         (TLS_DEFINE_INIT_TP): New macro.
2188         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2189
2190 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2191
2192         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2193         constant.
2194         [POSIX] (IXANY): Likewise.
2195         [POSIX] (OLCUC): Likewise.
2196         [POSIX || POSIX2008] (CBAUD): Do not allow.
2197         [POSIX || POSIX2008] (DEFECHO): Likewise.
2198         [POSIX || POSIX2008] (ECHOCTL): Likewise.
2199         [POSIX || POSIX2008] (ECHOKE): Likewise.
2200         [POSIX || POSIX2008] (ECHOPRT): Likewise.
2201         [POSIX || POSIX2008] (EXTA): Likewise.
2202         [POSIX || POSIX2008] (EXTB): Likewise.
2203         [POSIX || POSIX2008] (FLUSHO): Likewise.
2204         [POSIX || POSIX2008] (LOBLK): Likewise.
2205         [POSIX || POSIX2008] (PENDIN): Likewise.
2206         [POSIX || POSIX2008] (SWTCH): Likewise.
2207         [POSIX || POSIX2008] (VDISCARD): Likewise.
2208         [POSIX || POSIX2008] (VDSUSP): Likewise.
2209         [POSIX || POSIX2008] (VLNEXT): Likewise.
2210         [POSIX || POSIX2008] (VREPRINT): Likewise.
2211         [POSIX || POSIX2008] (VSTATUS): Likewise.
2212         [POSIX || POSIX2008] (VWERASE): Likewise.
2213         (B*): Change to B[0123456789]*.
2214         * conform/data/time.h-data [POSIX || UNIX98]
2215         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2216         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2217         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2218         [POSIX] (tm_*): Do not allow.
2219
2220 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
2221
2222         * Makefile (install): Don't set LANGUAGE.
2223         * Makefile.in (install): Likewise.
2224         * assert/Makefile (test-assert-ENV): Remove variable.
2225         (test-assert-perr-ENV): Likewise.
2226         * elf/Makefile (neededtest4-ENV): Likewise.
2227         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2228         [$(cross-compiling) = no]: Don't set LANGUAGE.
2229         * io/ftwtest-sh (LANG): Remove variable.
2230         * libio/Makefile (tst-widetext-ENV): Likewise.
2231         * manual/install.texi (Running make install): Don't refer to
2232         environment settings for make install.
2233         * INSTALL: Regenerated.
2234         * nptl/tst-tls6.sh: Don't set LANG.
2235         * posix/globtest.sh (LANG): Remove variable.
2236         * string/Makefile (tester-ENV): Likewise.
2237         (inl-tester-ENV): Likewise.
2238         (noinl-tester-ENV): Likewise.
2239         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2240         [$(cross-compiling) = no]: Don't set LANGUAGE.
2241         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2242         without explicit environment settings.
2243
2244 2014-06-06  Roland McGrath  <roland@hack.frob.com>
2245
2246         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2247         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2248         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2249         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2250
2251 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
2252
2253         * crypt/crypt-private.h [DOS]: Add some includes taken from the
2254         other files in the crypt directory.
2255         * crypt/crypt.c: Remove duplicate includes.
2256         * crypt/crypt-entry.c: Likewise.
2257         * crypt/crypt_util.c: Likewise.
2258
2259 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
2260
2261         * Makeconfig (run-program-env): New variable.
2262         (run-program-prefix-before-env): Likewise.
2263         (run-program-prefix-after-env): Likewise.
2264         (run-program-prefix): Define in terms of new variables.
2265         (built-program-cmd-before-env): New variable.
2266         (built-program-cmd-after-env): Likewise.
2267         (built-program-cmd): Define in terms of new variables.
2268         (test-program-prefix-before-env): New variable.
2269         (test-program-prefix-after-env): Likewise.
2270         (test-program-prefix): Define in terms of new variables.
2271         (test-program-cmd-before-env): New variable.
2272         (test-program-cmd-after-env): Likewise.
2273         (test-program-cmd): Define in terms of new variables.
2274         * Rules (make-test-out): Use $(run-program-env).
2275         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2276         (help): Do not mention environment variables.  Mention
2277         --timeoutfactor option.
2278         (timeoutfactor): New variable.
2279         (blacklist_exports): Remove function.
2280         (exports): Remove variable.
2281         (command): Do not include ${exports}.
2282         * manual/install.texi (Configuring and compiling): Do not mention
2283         test wrappers preserving environment variables.  Mention that last
2284         assignment to a variable must take precedence.
2285         * INSTALL: Regenerated.
2286         * benchtests/Makefile (run-bench): Use $(run-program-env).
2287         * catgets/Makefile ($(objpfx)test1.cat): Use
2288         $(built-program-cmd-before-env), $(run-program-env) and
2289         $(built-program-cmd-after-env).
2290         ($(objpfx)test2.cat): Do not specify environment variables
2291         explicitly.
2292         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2293         $(run-program-env) and $(built-program-cmd-after-env).
2294         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2295         $(run-program-env) and $(test-program-cmd-after-env).
2296         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2297         explicitly.
2298         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2299         run_program_env and test_program_cmd_after_env arguments.
2300         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2301         * elf/tst-pathopt.sh: Use run_program_env argument.
2302         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2303         $(test-wrapper-env) and $(run-program-env).
2304         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2305         run_program_env arguments.
2306         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2307         * intl/Makefile ($(objpfx)tst-gettext.out): Use
2308         $(test-program-prefix-before-env), $(run-program-env) and
2309         $(test-program-prefix-after-env).
2310         ($(objpfx)tst-gettext2.out): Likewise.
2311         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2312         run_program_env and test_program_prefix_after_env arguments.
2313         * intl/tst-gettext2.sh: Likewise.
2314         * intl/tst-gettext4.sh: Do not set environment variables
2315         explicitly.
2316         * intl/tst-gettext6.sh: Likewise.
2317         * intl/tst-translit.sh: Likewise.
2318         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2319         $(test-program-prefix-before-env), $(run-program-env) and
2320         $(test-program-prefix-after-env).
2321         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2322         run_program_env and test_program_prefix_after_env arguments.
2323         * math/Makefile (run-regen-ulps): Use $(run-program-env).
2324         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2325         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
2326         explicitly with each use of ${test_wrapper_env}.
2327         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2328         $(test-program-prefix-before-env), $(run-program-env) and
2329         $(test-program-prefix-after-env).
2330         * posix/tst-getconf.sh: Do not set environment variables
2331         explicitly.
2332         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2333         run_program_env and test_program_prefix_after_env arguments.
2334         * stdio-common/tst-printf.sh: Do not set environment variables
2335         explicitly.
2336         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2337         $(test-program-prefix-before-env), $(run-program-env) and
2338         $(test-program-prefix-after-env).
2339         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2340         run_program_env and test_program_prefix_after_env arguments.
2341         Split $test calls into $test_pre and $test.
2342         * timezone/Makefile (build-testdata): Use
2343         $(built-program-cmd-before-env), $(run-program-env) and
2344         $(built-program-cmd-after-env).
2345
2346 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2347
2348         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2349         strlen for non SHARED builds.
2350
2351 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2352
2353         * nptl/allocatestack.c (check_list): Inlined function...
2354         (__reclaim_stacks): ... here.
2355
2356 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2357
2358         [BZ #15698]
2359         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2360         memory overrun.
2361
2362 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
2363
2364         * Rules (make-test-out): Include
2365         LOCPATH=$(common-objpfx)localedata in default environment.
2366         * debug/Makefile (tst-chk1-ENV): Remove variable.
2367         (tst-chk2-ENV): Likewise.
2368         (tst-chk3-ENV): Likewise.
2369         (tst-chk4-ENV): Likewise.
2370         (tst-chk5-ENV): Likewise.
2371         (tst-chk6-ENV): Likewise.
2372         (tst-lfschk1-ENV): Likewise.
2373         (tst-lfschk2-ENV): Likewise.
2374         (tst-lfschk3-ENV): Likewise.
2375         (tst-lfschk4-ENV): Likewise.
2376         (tst-lfschk5-ENV): Likewise.
2377         (tst-lfschk6-ENV): Likewise.
2378         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2379         (tst-iconv7-ENV): Likewise.
2380         * intl/Makefile (LOCPATH-ENV): Likewise.
2381         (tst-codeset-ENV): Likewise.
2382         (tst-gettext3-ENV): Likewise.
2383         (tst-gettext5-ENV): Likewise.
2384         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2385         (tst-fopenloc-ENV): Likewise.
2386         (tst-fgetws-ENV): Remove variable.
2387         (tst-ungetwc1-ENV): Likewise.
2388         (tst-ungetwc2-ENV): Likewise.
2389         (bug-ungetwc2-ENV): Likewise.
2390         (tst-swscanf-ENV): Likewise.
2391         (bug-ftell-ENV): Likewise.
2392         (tst-fgetwc-ENV): Likewise.
2393         (tst-fseek-ENV): Likewise.
2394         (tst-ftell-partial-wide-ENV): Likewise.
2395         (tst-ftell-active-handler-ENV): Likewise.
2396         (tst-ftell-append-ENV): Likewise.
2397         * posix/Makefile (tst-fnmatch-ENV): Likewise.
2398         (tst-regexloc-ENV): Likewise.
2399         (bug-regex1-ENV): Likewise.
2400         (tst-regex-ENV): Likewise.
2401         (tst-regex2-ENV): Likewise.
2402         (bug-regex5-ENV): Likewise.
2403         (bug-regex6-ENV): Likewise.
2404         (bug-regex17-ENV): Likewise.
2405         (bug-regex18-ENV): Likewise.
2406         (bug-regex19-ENV): Likewise.
2407         (bug-regex20-ENV): Likewise.
2408         (bug-regex22-ENV): Likewise.
2409         (bug-regex23-ENV): Likewise.
2410         (bug-regex25-ENV): Likewise.
2411         (bug-regex26-ENV): Likewise.
2412         (bug-regex30-ENV): Likewise.
2413         (bug-regex32-ENV): Likewise.
2414         (bug-regex33-ENV): Likewise.
2415         (bug-regex34-ENV): Likewise.
2416         (bug-regex35-ENV): Likewise.
2417         (tst-rxspencer-ENV): Likewise.
2418         (tst-rxspencer-no-utf8-ENV): Likewise.
2419         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2420         (tst-sscanf-ENV): Likewise.
2421         (tst-swprintf-ENV): Likewise.
2422         (tst-swscanf-ENV): Likewise.
2423         (test-vfprintf-ENV): Likewise.
2424         (scanf13-ENV): Likewise.
2425         (bug14-ENV): Likewise.
2426         (tst-grouping-ENV): Likewise.
2427         * stdlib/Makefile (tst-strtod-ENV): Likewise.
2428         (tst-strtod3-ENV): Likewise.
2429         (tst-strtod4-ENV): Likewise.
2430         (tst-strtod5-ENV): Likewise.
2431         (testmb2-ENV): Likewise./
2432         * string/Makefile (tst-strxfrm-ENV): Likewise.
2433         (tst-strxfrm2-ENV): Likewise.
2434         (bug-strcoll1-ENV): Likewise.
2435         (test-strcasecmp-ENV): Likewise.
2436         (test-strncasecmp-ENV): Likewise.
2437         * time/Makefile (tst-strptime-ENV): Likewise.
2438         (tst-ftime_l-ENV): Likewise.
2439         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2440         (tst-mbrtowc-ENV): Likewise.
2441         (tst-wcrtomb-ENV): Likewise.
2442         (tst-mbrtowc2-ENV): Likewise.
2443         (tst-c16c32-1-ENV): Likewise.
2444         (tst-mbsnrtowcs-ENV): Likewise.
2445
2446 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2447
2448         * manual/resource.texi (How to get information about the memory
2449         subsystem?): Fix typo.
2450         Reported by Peon de la Parra Ivan <peon@keba.com>
2451
2452 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
2453
2454         [BZ #16882]
2455         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2456         (pthread_spin_lock): Branch out of spin loop to proper location.
2457         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2458         (pthread_spin_lock): Likewise.
2459
2460         * nptl/tst-spin4.c: New test.
2461         * nptl/Makefile (tests): Add tst-spin4.
2462
2463 2014-06-03  Andreas Schwab  <schwab@suse.de>
2464
2465         [BZ #15946]
2466         * resolv/res_send.c (send_dg): Reload file descriptor after
2467         calling reopen.
2468
2469 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
2470
2471         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2472
2473 2014-06-03  Richard Henderson  <rth@redhat.com>
2474
2475         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2476         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2477         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2478         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
2479         in the SAVE_PID block.
2480         (__libc_vfork): New alias.
2481         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2482
2483         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2484         child in registers, not on the stack.  Remove RESET_PID conditionals.
2485         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2486
2487 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2488
2489         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2490
2491 2014-06-03  Wilco  <wdijkstr@arm.com>
2492
2493         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2494         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2495         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2496         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2497         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2498         Likewise.
2499
2500 2014-06-03  Wilco  <wdijkstr@arm.com>
2501
2502         * sysdeps/aarch64/fpu/math_private.h
2503         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2504         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2505         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2506         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2507         Fix declarations.
2508
2509 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2510
2511         * crypt/crypt-private.h: Include ufc-crypt.h.
2512         (__b64_from_24bit): Declare extern.
2513         * crypt/crypt_util.c(__b64_from_24bit): New function.
2514         (b64t): New static const variable.
2515         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2516         (b64t): Remove variable.
2517         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2518         * crypt/sha256-crypt.c: Include crypt-private.h.
2519         (b64t): Remove variable.
2520         (__sha256_crypt_r): Remove b64_from_24bit and replace
2521         with __b64_from_24bit.
2522         * crypt/sha512-crypt.c: Likewise.
2523
2524 2014-06-02  Roland McGrath  <roland@hack.frob.com>
2525
2526         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2527         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2528         Label the code __libc_vfork rather than __vfork.
2529         [!NOT_IN_libc] (vfork): Define as weak alias.
2530         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2531         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2532         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2533
2534 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2535
2536         * malloc/malloc.c (malloc_info): Fix format specifier for
2537         n_mmaps.
2538
2539 2014-06-02  Wilco  <wdijkstr@arm.com>
2540
2541         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2542         FPCR write.
2543
2544 2014-06-02  Wilco  <wdijkstr@arm.com>
2545
2546         [BZ #17009]
2547         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2548         Rewrite to reduce FPCR/FPSR accesses.
2549
2550 2014-06-01  David S. Miller  <davem@davemloft.net>
2551
2552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2553
2554 2014-05-31  David S. Miller  <davem@davemloft.net>
2555
2556         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2557         to occur in round to nearest mode when |x| >= 2.0
2558
2559 2014-05-30  Richard Henderson  <rth@twiddle.net>
2560
2561         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2562         (PSEUDO_RET_NOERRNO): Remove.
2563         (ret): Don't redefine.
2564         (ret_NOERRNO): Define in terms of ret.
2565         (ret_ERRVAL): Likewise.
2566
2567         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2568         use of PSEUDO_RET; perform the error check directly.
2569
2570 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
2571
2572         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2573         with __int128_t.
2574
2575 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2576
2577         * malloc/malloc (malloc_info): Fix formatting.
2578
2579 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2580             Roland McGrath  <roland@hack.frob.com>
2581
2582         * malloc/malloc (malloc_info): Also print mmapped statistics.
2583
2584 2014-05-30  Roland McGrath  <roland@hack.frob.com>
2585
2586         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2587         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2588
2589 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
2590
2591         * malloc/malloc.c (malloc_info): Inline mi_arena.
2592
2593 2014-05-29  Richard Henderson  <rth@twiddle.net>
2594
2595         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2596         Remove comma before expanding ASM_ARGS_##nr.
2597         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2598         Make _x0 a strict output; make _x8 a strict input; adjust expansion
2599         of ASM_ARGS_##nr.
2600         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2601         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2602         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2603         (ASM_ARGS_1): Add leading comma.
2604
2605         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2606         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2607         to __errno_location.
2608         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2609         Remove the expected plt for __errno_location.
2610
2611         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2612         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2613         call to __read_tp.
2614
2615         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2616         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
2617         it and break it down.
2618         (DOCARGS_0, DOCARGS_1): Do nothing.
2619         (DOCARGS_2): Update to store into the new stack frame.
2620         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2621         (UNDOCARGS_1): Update to restore from the new stack frame.
2622         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2623         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2624
2625         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2626         (SINGLE_THREAD_P): New parameter for result regno.
2627         (PSEUDO): Update to match; use cbz instead of beq.
2628
2629         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2630         Use ENTRY to define the _nocancel entry point.  Share the syscall
2631         and syscall error check paths with the cancel path.
2632         (PSEUDO_END): New.
2633
2634         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2635         whitespace; tabs before and after asm mnemonics.
2636
2637 2014-05-29  Eric Wong  <normalperson@yhbt.net>
2638
2639         [BZ #15132]
2640         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2641         Call fstat64 or stat64 internally, depending on arguments passed.
2642         Replace stat buffer argument with file descriptor argument.
2643         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2644         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2645         Pass fd to __internal_statvfs instead of calling fstat64.
2646         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2647         Pass fd to __internal_statvfs64 instead of calling fstat64.
2648         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2649         Pass -1 to __internal_statvfs instead of calling stat64.
2650         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2651         Pass -1 to __internal_statvfs64 instead of calling stat64.
2652
2653 2014-05-28  Roland McGrath  <roland@hack.frob.com>
2654
2655         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2656         that was previously under [RESET_PID].
2657         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2658
2659         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2660         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2661
2662 2014-05-27  Roland McGrath  <roland@hack.frob.com>
2663
2664         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2665
2666         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2667         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2668
2669 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
2670
2671         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2672
2673 2014-05-27  Andreas Schwab  <schwab@suse.de>
2674
2675         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2676         TLS_INIT_TP macro.
2677         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2678         * elf/rtld.c (init_tls, dl_main): Likewise.
2679         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2680         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2681         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2682         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2683         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2684         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2685         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2686         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2687         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2688         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2689         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2690         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2691         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2692         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2693         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2694         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2695         * sysdeps/generic/tls.h: Update description.
2696
2697 2014-05-27  Will Newton  <will.newton@linaro.org>
2698
2699         [BZ #16990]
2700         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2701         and restore r2 rather than just restoring.
2702
2703 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2704
2705         [BZ #16724]
2706         * libio/tst-ftell-append.c: New test case.
2707         * libio/Makefile (tests): Add test case.
2708         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2709         append mode.
2710         * libio/wfileops.c (do_ftell_wide): Likewise.
2711
2712 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2713
2714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2715
2716         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2717         ...
2718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2720         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2721         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2722         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2723         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2724         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2725         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2726         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2727         Moved ...
2728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2729         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2730         Moved ...
2731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2732         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2733         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2734         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2735         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2736         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2737         ...
2738         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2739         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2740         Moved ...
2741         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2742         here.
2743         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2744         ...
2745         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2746         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2747         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2748
2749         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2750         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2751         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2752         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2753
2754         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2755         merge into ...
2756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2757         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2758         ...
2759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2760         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2761         ...
2762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2763         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2764         Moved ...
2765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2766         here.
2767         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2768         Moved ...
2769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2770         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2771         Moved ...
2772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2773
2774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2775         conditional [RESET_PID].
2776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2777         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2778         removed.
2779         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2780         removed.
2781
2782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2783         <tcb-offsets.h>.
2784         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2785         (__libc_vfork): New strong alias.
2786         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2787         removed.
2788         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2789         Removed.
2790
2791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2792         <tcb-offsets.h>.
2793         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2794         (__libc_vfork): New strong alias.
2795         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2796         removed.
2797         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2798         removed.
2799
2800 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
2801
2802         * malloc/malloc.c (mi_arena): New function.
2803         (malloc_info): Remove nested function mi_arena. Call non-nosted
2804         function mi_arena.
2805
2806 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2807
2808         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2809         by insrwi.
2810         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2811         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2812         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2813         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2814         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2815         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2816         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2817
2818 2014-05-26  Andreas Schwab  <schwab@suse.de>
2819
2820         [BZ #16984]
2821         * locale/programs/repertoire.c (repertoire_read): Add slash
2822         between I18NPATH element and file name.
2823         * locale/programs/locfile.c (locfile_read): Likewise.
2824
2825 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2826
2827         * nptl/pthread_mutexattr_settype.c
2828         (__pthread_mutexattr_settype):
2829         Disable lock elision for PTHREAD_MUTEX_NORMAL.
2830
2831 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2832
2833         * nptl/tst-mutex5 (do_test):
2834         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2835
2836 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2837
2838         * benchtests/README: Document 'init' directive.
2839         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2840         BENCH_INIT.
2841         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2842         (parse_file): Recognize 'init' directive.
2843
2844 2014-05-26  Kyle McMartin  <kyle@redhat.com>
2845
2846         [BZ #16796]
2847         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2848         alignment of struct pthread.
2849
2850 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2851
2852         [BZ #16878]
2853         * nscd/netgroupcache.c (addgetnetgrentX): Look for
2854         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2855         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2856         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2857
2858 2014-05-25  Richard Henderson  <rth@twiddle.net>
2859
2860         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2861         (SINGLE_THREAD_P_PIC): Remove.
2862         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2863         (SINGLE_THREAD_P_PIC): Remove.
2864
2865         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2866         branch to syscall error ...
2867         (PSEUDO): ... here.
2868         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2869         from __local_syscall_error to .Lsyscall_error.
2870         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2871         (SYSCALL_ERROR): Update label name.
2872
2873         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2874         Do not use DOARGS/UNDOARGS.
2875         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2876         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2877         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2878         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2879         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2880
2881         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2882         block comment.
2883
2884         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2885         define if !NOT_IN_libc.
2886         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2887         define with non-default symbol versions.
2888
2889 2014-05-23  Richard Henderson  <rth@twiddle.net>
2890
2891         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2892         (vfork, __vfork): Define via compat_symbol.
2893
2894         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2895         [!HAVE_IFUNC] (vfork_compat): Remove.
2896         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2897
2898 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2899
2900         [BZ #16978]
2901         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2902         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2903         variable.
2904
2905 2014-05-23  Richard Henderson  <rth@twiddle.net>
2906
2907         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2908         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2909         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2910         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2911
2912         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2913         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2914         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2915         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2916         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2917         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2918         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2919         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2920         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2921         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2922         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2923         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2924         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2925         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2926         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2927         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2928         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2929         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2930         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2931         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2932         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2933         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2934         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2935         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2936         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2937         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2938         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2939         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2940         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2941         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2942         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2943         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2944         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2945         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2946         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2947         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2948         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2949         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2950         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2951         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2952         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2953         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2954         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2955         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2956         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2957         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2958         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2959         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2960         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2961         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2962         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2963         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2964         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2965         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2966         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2967         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2968
2969         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2970         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2971         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
2972         before exiting on error.
2973         (__libc_vfork): New strong alias.
2974         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2975         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2976
2977         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2978         that was previously under [RESET_PID].
2979         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2980
2981         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2982
2983 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2984
2985         [BZ #16977]
2986         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2987         value when x - 1 is zero.
2988         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2989         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2990         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2991         0.0L for an argument of 1.0L.
2992         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2993         Likewise.
2994         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2995         value when x - 1 is zero.
2996         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2997         * sysdeps/i386/fpu/libm-test-ulps: Update.
2998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2999
3000 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3001
3002         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3003         alphasort and versionsort.
3004
3005 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3006
3007         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3008         macro.
3009         [copysignf]: Likewise.
3010
3011 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3012
3013         * crypt/md5-crypt.c: Fix formatting.
3014
3015 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3016
3017         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3018         (b64_from_24bit): New function.
3019
3020 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3021
3022         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3023         libc_hidden_builtin_def to ifunc.
3024         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3025         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3026
3027 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3028
3029         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3030         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3031
3032 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3033
3034         * nscd/Depend (linuxthreads): Remove.
3035         (nptl): Add.
3036         * resolv/Depend (linuxthreads): Remove.
3037         * rt/Depend (linuxthreads): Remove.
3038
3039         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3040         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3041         $(common-objpfx)elf/.
3042         (link-libc-before-gnulib): Likewise.
3043         (elfobjdir): Remove variable.
3044         * Makefile (install): Use $(elf-objpfx) instead of
3045         $(common-objpfx)elf/.
3046         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3047         $(elfobjdir)/.
3048         (link-libc-deps): Likewise.
3049         ($(common-objpfx)libc.so): Likewise.
3050         ($(common-objpfx)linkobj/libc.so): Likewise.
3051         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3052         instead of $(common-objpfx)elf/.
3053         (symbolic-link-list): Likewise.
3054         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3055         [$(cross-compiling) = no]: Likewise.
3056         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3057         $(elfobjdir)/.
3058         (static-gnulib-arch): Likewise.
3059         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3060         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3061         $(common-objpfx)elf/.
3062
3063 2014-05-21  Richard Henderson  <rth@redhat.com>
3064
3065         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3066         (SINGLE_THREAD_P): Use the correct width load.  Fold
3067         into the ldr offset.
3068
3069         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3070         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3071
3072 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3073
3074         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3075         (libgcc_s_resume): Use __attribute_used__.
3076         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3077         Likewise.
3078
3079 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3080
3081         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3082         optimization when used with float constants.
3083
3084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3085
3086 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3087
3088         [BZ #16915]
3089         * locale/nl_langinfo_l.c: Make direct reference to every
3090         _nl_current_CATEGORY symbol.
3091         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3092         (tests-static): Add tst-langinfo-static.
3093         (tests-special): Add tst-langinfo-static.out.
3094         ($(objpfx)tst-langinfo.out): Redirect output.
3095         ($(objpfx)tst-langinfo-static.out): New.
3096         * localedata/tst-langinfo.sh: Send output to stdout.
3097         * localedata/tst-langinfo-static.c: New file.
3098
3099         [BZ #16965]
3100         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3101         when the shift amount is modulo the limb size.
3102
3103 2014-05-20  Richard Henderson  <rth@redhat.com>
3104
3105         [BZ #16967]
3106         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3107         Change type of sa_flags from unsigned int to int.
3108
3109         [BZ #16966]
3110         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3111
3112         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3113
3114 2014-05-20  Will Newton  <will.newton@linaro.org>
3115
3116         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3117         Test the return value of the system call in the nocancel case.
3118
3119 2014-05-20  Will Newton  <will.newton@linaro.org>
3120             Yvan Roux  <yvan.roux@linaro.org>
3121
3122         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3123         #include of asm/ptrace.h.
3124         (PTRACE_GET_THREAD_AREA): Remove #undef.
3125         (PTRACE_GETHBPREGS): Likewise.
3126         (PTRACE_SETHBPREGS): Likewise.
3127         (struct user_regs_struct): New structure.
3128         (struct user_fpsimd_struct): New structure.
3129         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3130         #include of asm/ptrace.h and second #include of sys/user.h.
3131         (PTRACE_GET_THREAD_AREA): Remove #undef.
3132         (PTRACE_GETHBPREGS): Likewise.
3133         (PTRACE_SETHBPREGS): Likewise.
3134         (ELF_NGREG): Use new struct user_regs_struct.
3135         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3136
3137 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3138
3139         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3140         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3141
3142 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3143
3144         [BZ #16958]
3145         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3146         membar to avoid block loads/stores to overlap previous stores.
3147
3148 2014-05-17  Richard Henderson  <rth@redhat.com>
3149
3150         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3151         Create the __##syscall_name##_nocancel entry point.
3152         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3153         Remove; let the sysdep-cancel.h code create it.
3154
3155 2014-05-17  David S. Miller  <davem@davemloft.net>
3156
3157         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3158         Protect with __USE_GNU.
3159         (TIOCSET_TEMPT): Likewise.
3160         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3161         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3162         these are already provided in bits/ioctl-types.h
3163
3164 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3165
3166         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3167         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3168
3169         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3170         Use wait4 regardless of [__NR_waitpid].
3171
3172 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3173
3174         PR libgcc/60166
3175         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3176         (_FP_NANSIGN_Q): Set the quiet bit.
3177
3178 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3179
3180         * benchtests/Makefile
3181         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3182         not $(common-objpfx)math/libm.so.
3183         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3184         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3185         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3186         $(common-objpfx)dlfcn/libdl.so.
3187         ($(objpfx)tst-audit8): Depend on $(libm), not
3188         $(common-objpfx)math/libm.so.
3189         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3190         not $(common-objpfx)dlfcn/libdl.so.
3191         * math/Makefile
3192         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3193         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3194         [$(build-shared) = yes].
3195         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3196         $(common-objpfx)nptl/libpthread.so.
3197         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3198         $(common-objpfx)math/libm.so$(libm.so-version) or
3199         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3200         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3201         $(common-objpfx)dlfcn/libdl.so.
3202         * setjmp/Makefile (link-libm): Remove variable.
3203         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3204         * stdio-common/Makefile (link-libm): Remove variable.
3205         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3206         * stdlib/Makefile (link-libm): Remove variable.
3207         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3208         ($(objpfx)tst-strtod-round): Likewise.
3209         ($(objpfx)tst-tininess): Likewise.
3210         ($(objpfx)tst-strtod-underflow): Likewise.
3211         ($(objpfx)tst-strtod6): Likewise.
3212         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3213         $(libdl), not $(common-objpfx)nptl/libpthread.so and
3214         $(common-objpfx)dlfcn/libdl.so.
3215
3216 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3217
3218         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3219         BSD terminal modes definitions.
3220
3221 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3222
3223         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3224         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3225
3226         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3227         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3228         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3229         Don't do #include_next.
3230         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3231         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3232         Don't do #include_next.
3233         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3234         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3235         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3236         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3237
3238 2014-05-16  Allan McRae  <allan@archlinux.org>
3239
3240         * po/sv.po: Update Swedish translation from translation project.
3241
3242         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3243         in sed expression.
3244
3245 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
3246
3247         [BZ #16917]
3248         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3249         errno if the TIOCGPTN ioctl fails with an error different than
3250         EINVAL.
3251         * login/tst-ptsname.c: New file.
3252         * login/Makefile (tests): Add tst-ptsname.
3253
3254         [BZ #16943]
3255         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3256         and prlimit64.
3257
3258 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3259
3260         [BZ #16849]
3261         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3262         herrno to return EAI_AGAIN.
3263
3264 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3265
3266         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3267         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3268         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3269         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3270         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3271         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3272         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3273         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3274         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3275         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3276         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3277         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3278         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3279         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3280         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3281         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3282         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3283         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3284         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3285         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3286         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3287         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3288         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3289         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3290         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3291         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3292         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3293         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3294         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3295         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3297         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3299         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3301         Moved ...
3302         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3304         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3306         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3308         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3310         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3312         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3314         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3316         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3318         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3320         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3321         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3322         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3323         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3324         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3326         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3327         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3328         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3330         Moved ...
3331         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3333         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3335         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3337         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3339         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3341         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3343         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3345         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3347         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3349         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3351         Moved ...
3352         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3354         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3355
3356         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3357         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3358         (libpthread-sysdep_routines): Add elision-related stuff here instead.
3359         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3360         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3361         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3362         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3363         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3364         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3365         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3366         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3367         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3368         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3369         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3370         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3371         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3372         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3373         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3374         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3375         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3376         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3377         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3378         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3379         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3380         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3381         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3382         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3383         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3384         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3385         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3386         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3387
3388         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3389         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3390
3391         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3392         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3393         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3394         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3395         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3396         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3397         Moved ...
3398         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3399         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3400         Moved ...
3401         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3402         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3403         Moved ...
3404         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3405         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3406         Moved ...
3407         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3408         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3409         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3410         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3411         Moved ...
3412         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3413         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3414         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3415         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3416         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3417         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3418         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3419         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3420         Moved ...
3421         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3422         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3423         Moved ...
3424         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3425         ... here.
3426         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3427         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3428         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3429         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3430         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3431         Moved ...
3432         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3433         ... here.
3434         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3435         Moved ...
3436         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3437         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3438         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3439         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3440         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3441         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3442         Moved ...
3443         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3444         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3445         Moved ...
3446         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3447         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3448         Moved ...
3449         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3450         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3451         Moved ...
3452         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3453         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3454         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3455         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3456         Moved ...
3457         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3458         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3459         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3460         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3461         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3462         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3463         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3464         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3465         Moved ...
3466         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3467         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3468         Moved ...
3469         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3470         ... here.
3471         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3472         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3473         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3474         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3475         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3476         Moved ...
3477         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3478         ... here.
3479         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3480         Moved ...
3481         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3482         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3483         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3484         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3485         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3486         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3487         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3488         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3489         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3490         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3491         Moved ...
3492         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3493         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3494         Moved ...
3495         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3496         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3497         Moved ...
3498         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3499         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3500         Moved ...
3501         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3502         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3503         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3504         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3505         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3506         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3507         Moved ...
3508         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3509         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3510         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3511         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3512         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3513         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3514         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3515         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3516         Moved ...
3517         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3518         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3519         Moved ...
3520         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3521         ... here.
3522         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3523         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3524         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3525         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3526         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3527         Moved ...
3528         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3529         ... here.
3530         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3531         Moved ...
3532         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3533         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3534         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3535         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3536         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3537         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3538         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3539         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3540         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3541         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3542         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3543
3544         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3545         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3546
3547         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3548         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3549
3550         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3551         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3552         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3553         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3554         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3555         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3556         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3557         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3558         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3559         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3560         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3561         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3562         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3563         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3564         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3565         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3566         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3567         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3568         Moved ...
3569         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3570         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3571         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3572         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3573         Moved ...
3574         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3575         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3576         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3577         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3578         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3579         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3580         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3581         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3582         Moved ...
3583         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3584         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3585         Moved ...
3586         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3587         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3588         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3589         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3590         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3591         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3592         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3593         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3594         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3595         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3596         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3597         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3598         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3599         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3600         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3601         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3602         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3603
3604         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3605         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3606         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3607         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3608         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3609
3610         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3611         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3612         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3613         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3614         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3615         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3616         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3617         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3618         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3619         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3620
3621         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3622         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3623
3624         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3625         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3626         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3627         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3628         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3629         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3630         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3631         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3632         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3633         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3634         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3635         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3636         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3637         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3638         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3639         Update #include.
3640         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3641         Likewise.
3642         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3643         Likewise.
3644         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3645         Likewise.
3646         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3647         Likewise.
3648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3649         Likewise.
3650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3651         Likewise.
3652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3653         Likewise.
3654         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3655         Likewise.
3656         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3657         Likewise.
3658         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3659         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3660         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3661         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3662         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3663         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3664         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3665         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3666         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3667         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3668         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3669         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3670         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3671         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
3672         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
3673
3674         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3675         that was previously under [RESET_PID].
3676         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3677         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3678         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3679
3680         * sysdeps/i386/nptl/Implies: New file.
3681         * sysdeps/x86_64/nptl/Implies: New file.
3682         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3683         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3684         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3685         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3686
3687         * sysdeps/unix/sysv/linux/i386/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/i386/vfork.S: File removed.
3691         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3692
3693         * sysdeps/unix/sysv/linux/x86_64/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         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3697         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3698
3699         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3700         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3701         (__libc_vfork): New strong alias.
3702         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3703         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3704         * nptl/pt-vfork.c: New file.
3705         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3706         (libpthread: GLIBC_2.20): New version set (empty).
3707
3708 2014-05-14  Will Newton  <will.newton@linaro.org>
3709
3710         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3711         rather than #if.
3712
3713 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3714
3715         [BZ #16564]
3716         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3717         arguments with exponent 65 or above.
3718         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3719         arguments 0x1p113L or above.
3720         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3721         to arguments 0x1p107L or above.
3722         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3723         positive arguments with exponent 65 or above.
3724         * math/auto-libm-test-in: Add more tests of log1p.
3725         * math/auto-libm-test-out: Regenerated.
3726
3727         [BZ #16928]
3728         * math/s_cacos.c (__cacos): Ensure zero real part of result from
3729         non-finite arguments is +0.
3730         * math/s_cacosf.c (__cacosf): Likewise.
3731         * math/s_cacosl.c (__cacosl): Likewise.
3732         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3733         * sysdeps/i386/fpu/libm-test-ulps: Update.
3734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3735
3736         [BZ #16927]
3737         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3738         value.
3739         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3740         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3741         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3742         for explicit high bit of mantissa when testing for argument equal
3743         to 1.
3744         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3745         * sysdeps/i386/fpu/libm-test-ulps: Update.
3746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3747
3748         [BZ #16516]
3749         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3750         (__erf): Scale by 16 instead of 8 in potentially underflowing
3751         case.  Ensure exception if result actually underflows.
3752         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3753         (__erff): Scale by 16 instead of 8 in potentially underflowing
3754         case.  Ensure exception if result actually underflows.
3755         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3756         (efx8): Remove variable.
3757         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3758         case.  Ensure exception if result actually underflows.
3759         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3760         (efx8): Remove variable.
3761         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3762         case.  Ensure exception if result actually underflows.
3763         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3764         (efx8): Remove variable.
3765         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3766         case.  Ensure exception if result actually underflows.
3767         * math/auto-libm-test-in: Add more tests of erf.
3768         * math/auto-libm-test-out: Regenerated.
3769
3770 2014-05-14  Andreas Schwab  <schwab@suse.de>
3771
3772         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3773         Remove code conditionalized on USE___THREAD.
3774
3775         * config.h.in (HAVE_PT_CHOWN): Define as 0.
3776         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3777         not definedness.
3778
3779 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3780
3781         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3782         Define unconditionally.
3783         (__ASSUME_O_CLOEXEC): Likewise.
3784         (__ASSUME_SOCK_CLOEXEC): Likewise.
3785         (__ASSUME_IN_NONBLOCK): Likewise.
3786         (__ASSUME_PIPE2): Likewise.
3787         (__ASSUME_EVENTFD2): Likewise.
3788         (__ASSUME_SIGNALFD4): Likewise.
3789         (__ASSUME_DUP3): Likewise.
3790         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3791         (__ASSUME_DUP3): Do not define.
3792         (__ASSUME_EVENTFD2): Likewise.
3793         (__ASSUME_IN_NONBLOCK): Likewise.
3794         (__ASSUME_O_CLOEXEC): Likewise.
3795         (__ASSUME_PIPE2): Likewise.
3796         (__ASSUME_SIGNALFD4): Likewise.
3797         (__ASSUME_SOCK_CLOEXEC): Likewise.
3798         (__ASSUME_UTIMES): Undefine.
3799         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3800         (__ASSUME_UTIMES): Do not define.
3801         (__ASSUME_O_CLOEXEC): Likewise.
3802         (__ASSUME_SOCK_CLOEXEC): Likewise.
3803         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3804         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3805         0x020621].
3806         (__ASSUME_PIPE2): Likewise.
3807         (__ASSUME_EVENTFD2): Likewise.
3808         (__ASSUME_SIGNALFD4): Likewise.
3809         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3810         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3811         Do not define.
3812         (__ASSUME_EVENTFD2): Likewise.
3813         (__ASSUME_SIGNALFD4): Likewise.
3814         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3815         (__ASSUME_32BITUIDS): Likewise.
3816         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3817         (__ASSUME_IPC64): Likewise.
3818         (__ASSUME_ST_INO_64_BIT): Likewise.
3819         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3820         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3821         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3822         (__ASSUME_UTIMES): Do not define.
3823         (__ASSUME_PSELECT): Likewise.
3824         (__ASSUME_PPOLL): Likewise.
3825         (__ASSUME_O_CLOEXEC): Likewise.
3826         (__ASSUME_SOCK_CLOEXEC): Likewise.
3827         (__ASSUME_IN_NONBLOCK): Likewise.
3828         (__ASSUME_PIPE2): Likewise.
3829         (__ASSUME_EVENTFD2): Likewise.
3830         (__ASSUME_SIGNALFD4): Likewise.
3831         (__ASSUME_DUP3): Likewise.
3832         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3833         (__ASSUME_UTIMES): Likewise.
3834         (__ASSUME_O_CLOEXEC): Likewise.
3835         (__ASSUME_SOCK_CLOEXEC): Likewise.
3836         (__ASSUME_IN_NONBLOCK): Likewise.
3837         (__ASSUME_PIPE2): Likewise.
3838         (__ASSUME_EVENTFD2): Likewise.
3839         (__ASSUME_SIGNALFD4): Likewise.
3840         (__ASSUME_DUP3): Likewise.
3841         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3842         (__ASSUME_UTIMES): Likewise.
3843         (__ASSUME_O_CLOEXEC): Likewise.
3844         (__ASSUME_SOCK_CLOEXEC): Likewise.
3845         (__ASSUME_IN_NONBLOCK): Likewise.
3846         (__ASSUME_PIPE2): Likewise.
3847         (__ASSUME_EVENTFD2): Likewise.
3848         (__ASSUME_SIGNALFD4): Likewise.
3849         (__ASSUME_DUP3): Likewise.
3850         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3851         Likewise.
3852         (__ASSUME_UTIMES): Likewise.
3853         (__ASSUME_EVENTFD2): Likewise.
3854         (__ASSUME_SIGNALFD4): Likewise.
3855         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3856         (__ASSUME_O_CLOEXEC): Likewise.
3857         (__ASSUME_SOCK_CLOEXEC): Likewise.
3858         (__ASSUME_IN_NONBLOCK): Likewise.
3859         (__ASSUME_PIPE2): Likewise.
3860         (__ASSUME_EVENTFD2): Likewise.
3861         (__ASSUME_SIGNALFD4): Likewise.
3862         (__ASSUME_DUP3): Likewise.
3863         (__ASSUME_UTIMES): Undefine.
3864
3865         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3866         feclearexcept.  Remove symbol versioning code.
3867         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
3868         symbol versioning code.
3869         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
3870         symbol versioning code.
3871         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3872         feupdateenv.  Remove symbol versioning code.
3873         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3874         fegetexceptflag.  Remove symbol versioning code.
3875         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3876         fesetexceptflag.  Remove symbol versioning code.
3877         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3878         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
3879         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3880         (__posix_fadvise64_l32): Remove prototype.
3881         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3882         code.
3883
3884 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3885
3886         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3887         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3888         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3889         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3890
3891 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
3892
3893         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3894         current working directory
3895
3896 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3897
3898         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3899         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3900         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3901         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3902         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3903         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3904         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3905         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3906         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3907         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3908         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3909         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3910         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3911         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3912         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3913         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3914         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3915         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3916         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3917         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3918         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3919         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3920         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3921         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3922         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3923         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3924         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3925         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3926         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3927         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3928         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3929         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3930         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3931         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3932         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3933         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3934         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3935         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3936         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3937         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3938         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3939         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3940
3941         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3942         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3943
3944         * sysdeps/unix/sysv/linux/arm/Makefile
3945         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3946         Add rt-aeabi_unwind_cpp_pr1.
3947         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3948         Add nptl-aeabi_unwind_cpp_pr1.
3949         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3950         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3951         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3952         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3953         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3954         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3955
3956         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3957         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3958         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3959         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3960
3961         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3962         Deconditionalize the code that was previously under [RESET_PID].
3963         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3964
3965         * sysdeps/generic/exit-thread.h: New file.
3966         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3967         * include/unistd.h (__exit_thread): Remove declaration.
3968         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3969         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3970         * csu/libc-start.c: Include <exit-thread.h>.
3971         (LIBC_START_MAIN): Pass no argument to __exit_thread.
3972         * nptl/pthread_create.c: Include <exit-thread.h>.
3973         (start_thread): Call __exit_thread in place of __exit_thread_inline.
3974         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3975         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3976         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3977         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3978         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3979         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3980         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3981         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3982         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3983         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3984         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3985         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3986         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3987         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3988         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3989         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3990
3991 2014-05-13  Andreas Schwab  <schwab@suse.de>
3992
3993         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3994
3995 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
3996
3997         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3998         (__ASSUME_UTIMES): Do not condition on kernel version.
3999         (__ASSUME_PSELECT): Define unconditionally.
4000         (__ASSUME_PPOLL): Likewise.
4001         (__ASSUME_ATFCTS): Likewise.
4002         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4003         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4004         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4005         (__ASSUME_UTIMENSAT): Define unconditionally.
4006         (__ASSUME_PRIVATE_FUTEX): Likewise.
4007         (__ASSUME_FALLOCATE): Likewise.
4008         (__ASSUME_O_CLOEXEC): Likewise.
4009         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4010         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4011         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4012         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4013         (__ASSUME_IN_NONBLOCK): Likewise.
4014         (__ASSUME_PIPE2): Likewise.
4015         (__ASSUME_EVENTFD2): Likewise.
4016         (__ASSUME_SIGNALFD4): Likewise.
4017         (__ASSUME_DUP3): Likewise.
4018         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4019         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4020         (__ASSUME_AT_RANDOM): Likewise.
4021         (__ASSUME_PREADV): Likewise.
4022         (__ASSUME_PWRITEV): Likewise.
4023         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4024         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4025         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4026         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4027         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4028         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4029         (__ASSUME_O_CLOEXEC): Define unconditionally.
4030         (__ASSUME_PSELECT): Do not undefine conditionally.
4031         (__ASSUME_PPOLL): Likewise.
4032         (__ASSUME_ATFCTS): Likewise.
4033         (__ASSUME_SET_ROBUST_LIST): Likewise.
4034         (__ASSUME_UTIMENSAT): Likewise.
4035         (__ASSUME_FDATASYNC): Define unconditionally.
4036         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4037         (__ASSUME_SIGFRAME_V2): Likewise.
4038         )__ASSUME_EVENTFD2): Likewise.
4039         (__ASSUME_SIGNALFD4): Likewise.
4040         (__ASSUME_PSELECT): Do not undefine conditionally.
4041         (__ASSUME_PPOLL): Likewise.
4042         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4043         (__ASSUME_PSELECT): Define unconditionally.
4044         (__ASSUME_PPOLL): Likewise.
4045         (__ASSUME_O_CLOEXEC): Likewise.
4046         (__ASSUME_SOCK_CLOEXEC): Likewise.
4047         (__ASSUME_IN_NONBLOCK): Likewise.
4048         (__ASSUME_PIPE2): Likewise.
4049         (__ASSUME_EVENTFD2): Likewise.
4050         (__ASSUME_SIGNALFD4): Likewise.
4051         (__ASSUME_DUP3): Likewise.
4052         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4053         (__ASSUME_O_CLOEXEC): Likewise.
4054         (__ASSUME_SOCK_CLOEXEC): Likewise.
4055         (__ASSUME_IN_NONBLOCK): Likewise.
4056         (__ASSUME_PIPE2): Likewise.
4057         (__ASSUME_EVENTFD2): Likewise.
4058         (__ASSUME_SIGNALFD4): Likewise.
4059         (__ASSUME_DUP3): Likewise.
4060         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4061         (__ASSUME_EVENTFD2): Likewise.
4062         (__ASSUME_SIGNALFD4): Likewise.
4063         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4064
4065 2014-05-12  Andreas Schwab  <schwab@suse.de>
4066
4067         [BZ #16932]
4068         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4069         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4070         than maximum RPC packet size.
4071         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4072         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4073         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4074         (_nss_nis_getservbyport_r): Likewise.
4075
4076 2014-05-12  Will Newton  <will.newton@linaro.org>
4077
4078         * malloc/Makefile (tests): Add tst-mallopt.
4079         * malloc/tst-mallopt.c: New file.
4080
4081 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4082
4083         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4084         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4085
4086 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4087
4088         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4089         (tst-tlsmod6.so): Likewise.
4090
4091 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4092
4093         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4094
4095 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4096
4097         [BZ #16064]
4098         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4099         and <dl-procinfo.h>.
4100         (__fegetenv): Save SSE state in envp->__eip if supported.
4101         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4102         envp->__eip if supported.
4103         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4104         and <dl-procinfo.h>.
4105         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4106         __data_offset and __data_selector in environment to 0.  Set SSE
4107         state if supported.
4108         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4109         test-fenv-sse.
4110         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4111         -mfpmath=sse.
4112         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4113
4114 2014-05-09  Will Newton  <will.newton@linaro.org>
4115
4116         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4117         and libc_relro_required for ARM.
4118         * sysdeps/arm/preconfigure: Regenerate.
4119
4120 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4121             Stefan Liebler  <stli@linux.vnet.ibm.com>
4122
4123         * config.make.in (enable-lock-elision): New Makefile variable.
4124         * configure.ac: Likewise.
4125         * configure: Regenerate.
4126         * sysdeps/s390/configure.ac:
4127         Add check for gcc transactions support.
4128         * sysdeps/s390/configure: Regenerate.
4129         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4130         Build elision files if enabled.
4131         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4132         Add lock elision support for s390.
4133         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4134         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4135         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4136         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4137         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4138         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4139         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4140         Likewise.
4141         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4142         Likewise.
4143         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4144         Likewise.
4145         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4146         Likewise.
4147         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4148         (__lll_timedlock_elision, __lll_lock_elision)
4149         (__lll_unlock_elision, __lll_trylock_elision)
4150         (lll_timedlock_elision, lll_lock_elision)
4151         (lll_unlock_elision, lll_trylock_elision): Add.
4152         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4153         (pthread_mutex_t): Add lock elision support for s390.
4154
4155 2014-05-14  Wilco  <wdijkstr@arm.com>
4156
4157         * sysdeps/arm/fclrexcpt.c: Cleanup.
4158         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4159         * sysdeps/arm/feenablxcpt.c: Cleanup.
4160         * sysdeps/arm/fegetenv.c: Cleanup.
4161         * sysdeps/arm/fegetexcept.c: Cleanup.
4162         * sysdeps/arm/fegetround.c: Cleanup.
4163         * sysdeps/arm/feholdexcpt.c: Cleanup.
4164         * sysdeps/arm/fesetenv.c: Cleanup.
4165         * sysdeps/arm/fesetround.c: Cleanup.
4166         * sysdeps/arm/feupdateenv.c: Cleanup.
4167         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4168         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4169         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4170         * sysdeps/arm/ftestexcept.c: Cleanup.
4171         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4172         * sysdeps/arm/setfpucw.c: Cleanup.
4173
4174 2014-05-09  Will Newton  <will.newton@linaro.org>
4175
4176         * sysdeps/arm/armv7/strcmp.S: New file.
4177         * NEWS: Mention addition of ARMv7 optimized strcmp.
4178
4179 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4180
4181         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4182         look for %.ac rather than %.in.
4183
4184         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4185         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4186         * sysdeps/mach/hurd/configure: Regenerated.
4187         * sysdeps/unix/sysv/linux/configure: Regenerated.
4188
4189         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4190
4191 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4192
4193         [BZ# 16922]
4194         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4195         (LONG_SUB): Ditto.
4196         (PTR_SUB): Ditto.
4197
4198 2014-05-07  Andreas Schwab  <schwab@suse.de>
4199
4200         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4201         when skipping over non-matching result from nscd.
4202
4203 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
4204
4205         [BZ #16876]
4206         * nptl/sockperf.c (client): Check socket return value.
4207
4208         [BZ #16877]
4209         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4210         nscd security class.
4211
4212 2014-05-06  Roland McGrath  <roland@hack.frob.com>
4213
4214         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4215         * sysdeps/arm/unwind.h: ... here.
4216
4217 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
4218
4219         [BZ# 16916]
4220         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4221         Define.
4222
4223 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4224
4225         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4226         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4227         multiarch strncpy for PPC64.
4228         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4229         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4230         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4231         multiarch optimizations.
4232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4233         (__libc_ifunc_impl_list): Likewise.
4234         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4235         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4236         multiarch stpncpy for PPC64.
4237         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4238         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4239
4240 2014-05-06  Andreas Schwab  <schwab@suse.de>
4241
4242         [BZ #16912]
4243         * gmon/mcount.c (_MCOUNT_DECL): Use
4244         atomic_compare_and_exchange_bool_acq instead of
4245         catomic_compare_and_exchange_bool_acq.
4246
4247 2014-05-05  Roland McGrath  <roland@hack.frob.com>
4248
4249         * elf/Makefile (others, install-bin): Remove pldd.
4250         (pldd-modules): Variable removed.
4251         ($(objpfx)pldd): Target removed.
4252         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4253         (others, install-bin): Append pldd here.
4254         ($(objpfx)pldd): New target.
4255
4256         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4257         to 0, so the first #if test emitted later doesn't see it undefined.
4258         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4259         * sysdeps/gnu/errlist.c: Regenerated.
4260
4261 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4262
4263         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4264         [libc_hidden_builtin_def]: Define to empty value.
4265         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4266         [libc_hidden_builtin_def]: Likewise.
4267         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4268         [libc_hidden_builtin_def]: Likewise.
4269         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4270         [libc_hidden_builtin_def]: Likewise.
4271         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4272         __redirect_memcpy and define ifunc as default hidden symbol.
4273         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4274         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4275
4276 2014-05-04  Adam Conrad  <adconrad@0c3.net>
4277
4278         * locale/iso-4217.def: Reintroduce XDR currency.
4279
4280 2014-05-04  Allan McRae  <allan@archlinux.org>
4281
4282         * po/eo.po: Update Esperanto translation from translation project.
4283
4284 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
4285
4286         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4287         and FEATURE_INDEX_MAX to 1.
4288         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4289
4290 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4291
4292         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4293         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4294         * iconvdata/big5.c (ONE_DIRECTION): Define.
4295         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4296         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4297         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4298         * iconvdata/cp932.c (ONE_DIRECTION): Define.
4299         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4300         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4301         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4302         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4303         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4304         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4305         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4306         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4307         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4308         * iconvdata/gbk.c (ONE_DIRECTION): Define.
4309         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4310         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4311         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4312         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4313         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4314         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4315         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4316         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4317         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4318         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4319         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4320         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4321         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4322         * iconvdata/iso646.c (ONE_DIRECTION): Define.
4323         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4324         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4325         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4326         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4327         * iconvdata/johab.c (ONE_DIRECTION): Define.
4328         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4329         * iconvdata/sjis.c (ONE_DIRECTION): Define.
4330         * iconvdata/t.61.c (ONE_DIRECTION): Define.
4331         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4332         * iconvdata/tscii.c (ONE_DIRECTION): Define.
4333         * iconvdata/uhc.c (ONE_DIRECTION): Define.
4334         * iconvdata/unicode.c (ONE_DIRECTION): Define.
4335         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4336         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4337         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4338
4339 2014-05-01  Roland McGrath  <roland@hack.frob.com>
4340
4341         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4342         (_IO_JUMPS_OFFSET): Define to 0.
4343
4344         * nptl/sysdeps/pthread/bits/libc-lock.h
4345         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4346         (__libc_lock_define_initialized_recursive): Always define using
4347         initializer.  Modern compilers treat uninitialized (implicit zero) and
4348         explicit zero initializers the same (i.e. put the datum in bss).
4349
4350 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4351
4352         * nscd/nscd-client.h: Include <string.h>.
4353
4354 2014-05-01  David S. Miller  <davem@davemloft.net>
4355
4356         [BZ #16885]
4357         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4358         multiple zero bytes exist at the end of a string.
4359         Reported by Aurelien Jarno <aurelien@aurel32.net>
4360
4361         * string/test-strcmp.c (check): Add explicit test for situations where
4362         there are multiple zero bytes after the first.
4363
4364 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4365
4366         [BZ #16890]
4367         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4368         when compiling wprintf.
4369         * stdio-common/tstdiomisc.c (t3): New function.
4370         (main): Call it.
4371
4372 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4373
4374         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4375         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4376         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4377         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4378
4379 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4380
4381         * stdlib/longlong.h: Updated from GCC.
4382
4383 2014-05-01  Will Newton  <will.newton@linaro.org>
4384             Bernard Ogden  <bernie.ogden@linaro.org>
4385
4386         * NEWS: Update fixed bug list.
4387
4388         [BZ #15119]
4389         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4390
4391 2014-04-30  David S. Miller  <davem@davemloft.net>
4392
4393         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4394         (libc_feholdexcept_setround_sparc_ctx): New function.
4395         (libc_fesetenv_sparc_ctx): Likewise.
4396         (libc_feupdateenv_sparc_ctx): Likewise.
4397         (libc_feholdsetround_sparc_ctx): Likewise.
4398         (libc_feholdexcept_setround_ctx): Define.
4399         (libc_feholdexcept_setroundf_ctx): Likewise.
4400         (libc_feholdexcept_setroundl_ctx): Likewise.
4401         (libc_fesetenv_ctx): Likewise.
4402         (libc_fesetenvf_ctx): Likewise.
4403         (libc_fesetenvl_ctx): Likewise.
4404         (libc_feupdateenv_ctx): Likewise.
4405         (libc_feupdateenvf_ctx): Likewise.
4406         (libc_feupdateenvl_ctx): Likewise.
4407         (libc_feresetround_ctx): Likewise.
4408         (libc_feresetroundf_ctx): Likewise.
4409         (libc_feresetroundl_ctx): Likewise.
4410         (libc_feholdsetround_ctx): Likewise.
4411         (libc_feholdsetroundf_ctx): Likewise.
4412         (libc_feholdsetroundl_ctx): Likewise.
4413
4414         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4415         with __USE_GNU instead of XOPEN cpp guards.
4416
4417         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4418         0.
4419
4420         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4421         with XOPEN cpp guards.
4422
4423 2014-04-30  Julian Brown  <julian@codesourcery.com>
4424
4425         [BZ #16888]
4426         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4427         handling.
4428
4429 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
4430
4431         [BZ #9894]
4432         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4433         Change to 2.6.32.
4434         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4435         * sysdeps/unix/sysv/linux/configure: Regenerated.
4436         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4437         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4438         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4439         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4440         * README: Update reference to required Linux kernel version.
4441         * manual/install.texi (Linux): Update reference to required Linux
4442         kernel headers version.
4443         * INSTALL: Regenerated.
4444
4445         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4446         header inclusion.
4447         [POSIX] (limits.h): Likewise.
4448         [POSIX] (math.h): Likewise.
4449         [POSIX] (sys/wait.h): Likewise.
4450         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4451         function.
4452         [POSIX] (stddef.h): Do not allow header inclusion.
4453
4454 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4455
4456         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4457
4458 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
4459
4460         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4461         Return immediately after lll_futex_wake.
4462
4463 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4464
4465         [BZ #16791]
4466         * nscd/nscd-client.h (datahead_init_common): Initialize entire
4467         structure.
4468         (datahead_init_pos): Call datahead_init_common early.
4469         (datahead_init_neg): Likewise.
4470
4471         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4472         datahead_init_neg): New functions.
4473         * nscd/aicache.c (addhstaiX): Use them.
4474         * nscd/grpcache.c (cache_addgr): Likewise.
4475         * nscd/hstcache.c (cache_addhst): Likewise.
4476         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4477         * nscd/netgroupcache.c (do_notfound): Likewise.
4478         (addgetnetgrentX): Likewise.
4479         (addinnetgrX): Likewise.
4480         * nscd/pwdcache.c (cache_addpw): Likewise.
4481         * nscd/servicescache.c (cache_addserv): Likewise.
4482
4483 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4484             Atsushi Onoe  <atsushi@onoe.org>
4485
4486         [BZ #14308]
4487         [BZ #12994]
4488         [BZ #13651]
4489         * resolv/res_query.c (__libc_res_nsearch): Return if at least
4490         one response is valid.
4491         * resolv/res_send.c (send_dg): Check for validity of other
4492         response if the current response is a referral.
4493
4494 2014-04-29  Steve Ellcey  <sellcey@mips.com>
4495
4496         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4497
4498 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
4499
4500         [BZ #16823]
4501         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4502         Always divide by positive zero when computing -Inf result.
4503         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4504         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4505
4506 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4507
4508         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4509         FPSCR if value do not change.
4510         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4511         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4512         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4513         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4514         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4515         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4516         function.
4517
4518 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
4519
4520         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4521         * sysdeps/unix/sysv/linux/hppa: Move directory from
4522         ports/systeps/unix/sysv/linux/hppa.
4523         * README: Update listing for hppa-*-linux-gnu.
4524
4525 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
4526
4527         [BZ #16754]
4528         * manual/stdio.texi (Hook functions): Fix types of stream hook
4529         functions.
4530         [BZ #16854]
4531         * socket/sys/socket.h: Fix typo in comment.
4532
4533 2014-04-28  Wilco  <wdijkstr@arm.com>
4534
4535         * sysdeps/arm/fenv_private.h: New file.
4536         * sysdeps/arm/math_private.h: New file.
4537         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4538
4539 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
4540
4541         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4542         with __int128_t.
4543         (La_x86_64_retval): Likewise.
4544
4545 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
4546
4547         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4548         fpsr if value didn't change.
4549         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4550         to fpcr if value didn't change.
4551         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4552         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4553         fpsr or fpcr if value didn't change.
4554         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4555         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4556         fpcr if value didn't change.
4557         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4558         to fpsr if value didn't change.
4559
4560 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4561
4562         * nptl/tst-sem3.c: Use test-skeleton.c
4563         (main): Rename to do_test.  Use return instead of
4564         exit.
4565         * nptl/tst-sem4.c: Use test-skeleton.c
4566         (main): Rename to do_test.
4567
4568 2014-04-22  David S. Miller  <davem@davemloft.net>
4569
4570         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4571         (struct sigaction): New struct member __glibc_reserved0, change
4572         type of sa_flags to int.
4573
4574 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
4575
4576         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4577         (COUNT_LEADING_ZEROS_0): Define for AArch64.
4578
4579 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4580
4581         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4582         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4583
4584 2014-04-22  Will Newton  <will.newton@linaro.org>
4585             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
4586
4587         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4588         (__longjmp): Add longjmp and longjmp_target SystemTap
4589         probes.
4590         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4591         (__sigsetjmp): Add setjmp SystemTap probe.
4592
4593 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
4594
4595         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4596         match manual order.
4597
4598 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4599
4600         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4601
4602         * sysdeps/powerpc/fpu/fenv_private.h
4603         (libc_feholdexcept_setroundl_ctx): Define to
4604         libc_feholdexcept_setround_ppc_ctx.
4605         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4606         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4607         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4608         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4609
4610 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4611
4612         * sysdeps/aarch64/math-tests.h: New file.
4613
4614 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
4615
4616         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4617         New.
4618         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4619         Check and set bit_AVX2_Usable.
4620         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4621         macro.
4622         (bit_AVX2): Likewise.
4623         (index_AVX2_Usable): Likewise.
4624         (CPUID_AVX2): Likewise.
4625         (HAS_AVX2): Likewise.
4626
4627 2014-04-17  Will Newton  <will.newton@linaro.org>
4628
4629         * manual/setjmp.texi (System V contexts): Add note that
4630         calling setcontext on a context created by a call to a
4631         signal handler is undefined.  Update text to note that
4632         setcontext from a signal handler is possible but not
4633         recommended.
4634
4635         [BZ #16629]
4636         * stdlib/tst-setcontext.c: Include signal.h.
4637         (main): Check that the signal stack before and
4638         after swapcontext is the same.
4639
4640         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4641         Re-implement to restore registers in user code and avoid
4642         rt_sigreturn system call.
4643
4644 2014-04-17  Wilco  <wdijkstr@arm.com>
4645
4646         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4647         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4648         * math/test-fenv.c: Skip exception trap tests on targets which only
4649         support non-stop mode.
4650
4651 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4652             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4653
4654         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4655         (libc_feholdsetround_aarch64_ctx)
4656         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4657         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4658         (libc_feresetround_ctx, libc_feresetroundf_ctx)
4659         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4660         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4661         (libc_feresetround_noexl_ctx): Define.
4662
4663 2014-04-16  Richard Henderson  <rth@redhat.com>
4664
4665         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4666
4667         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4668         unwind tables.
4669
4670         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4671         const from the non-libc, non-ldso copy.
4672
4673         * sysdeps/alpha/libm-test-ulps: Regenerate.
4674
4675 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
4676             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4677
4678         * sysdeps/aarch64/fpu/math_private.h: New file.
4679
4680 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4681
4682         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4683
4684 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
4685
4686         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4687         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4688         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4689         Intel MPX bound registers before _dl_profile_fixup.
4690         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4691         registers after _dl_profile_fixup.  Save and restore bound
4692         registers bnd0/bnd1 when calling _dl_call_pltexit.
4693         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4694         (LR_BND_OFFSET): Likewise.
4695         (LRV_BND0_OFFSET): Likewise.
4696         (LRV_BND1_OFFSET): Likewise.
4697
4698 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4699
4700         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4701         to...
4702         * sysdeps/mach/hurd/i386/tls.h: ... here.
4703         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4704         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4705         fields.
4706
4707 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4708
4709         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4710
4711 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4712
4713         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4714
4715 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4716
4717         [BZ #14770]
4718         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4719         * sysdeps/s390/configure: Regenerate.
4720
4721         [BZ #16824]
4722         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4723         Set round-to-nearest internally to reduce error accumulation.
4724
4725 2014-04-16  Alan Modra  <amodra@gmail.com>
4726
4727         [BZ #16740]
4728         [BZ #16619]
4729         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4730         * math/libm-test.inc (frexp_test_data): Add tests.
4731         * NEWS: Update fixed bug list.
4732
4733 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4734
4735         * benchtests/Makefile: Depend on libraries in build directory.
4736         (bench-math): Separate out math tests.
4737         (bench-pthread): Separate out pthread tests.
4738         (bench): Include math and pthread tests.
4739
4740 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
4741
4742         [BZ #16831]
4743         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4744         _dl_debug_initialize.
4745
4746         * configure.ac: Remove SELinux header check.
4747         * configure: Regenerate.
4748         * nscd/selinux.c (perms): Array of const char* to permission names.
4749         (nscd_request_avc_has_perm): Call security_deny_unknown to find
4750         default policy. Call string_to_security_class and string_to_av_perm to
4751         translate strings. Enforce default policy and call avs_has_perm with
4752         results of translated strings.
4753
4754 2014-04-13  David S. Miller  <davem@davemloft.net>
4755
4756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4757
4758 2014-04-12  Allan McRae  <allan@archlinux.org>
4759
4760         [BZ #16838]
4761         * manual/string.texi (Collation Functions): Fix qsort argument
4762         order in example.
4763         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4764
4765 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
4766
4767         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4768         Make the test a no-op if there are no exceptions defined.
4769
4770 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4771
4772         * elf/Makefile (tests): make tst-dlopen-aout conditional on
4773         enable-hardcoded-path-in-tests
4774
4775 2014-04-11  Will Newton  <will.newton@linaro.org>
4776
4777         * benchtests/Makefile (extra-objs): Add json-lib.o.
4778         (bench-func): Tidy up JSON output.
4779         * benchtests/bench-skeleton.c: Include json-lib.h.
4780         (main): Use JSON library functions to do output of
4781         benchmark results.
4782         * benchtests/bench-timing-type.c (main): Output the
4783         timing type simply, leaving formatting to the user.
4784         * benchtests/json-lib.c: New file.
4785         * benchtests/json-lib.h: Likewise.
4786
4787 2014-04-11  Torvald Riegel  <triegel@redhat.com>
4788
4789         [BZ #15215]
4790         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4791         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
4792         memory barriers.  Add comments.
4793         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4794         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4795         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4796         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4797         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4798         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4799
4800 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4801
4802         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4803         * sysdeps/s390/s390-64/configure.ac: ... this ...
4804         * sysdeps/s390/configure.ac: ... to here.
4805         * sysdeps/s390/s390-32/configure: Delete file.
4806         * sysdeps/s390/s390-64/configure: Delete file.
4807         * sysdeps/s390/configure: Regenerate.
4808
4809 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
4810
4811         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4812
4813 2014-04-11  Will Newton  <will.newton@linaro.org>
4814
4815         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4816         to zero if it is not defined elsewhere.  (mtrim): Test
4817         the value of MALLOC_DEBUG with #if rather than #ifdef.
4818
4819 2014-04-10 Torvald Riegel  <triegel@redhat.com>
4820
4821         * benchtests/pthread_once-inputs: New file.
4822         * benchtests/pthread_once-source.c: New file.
4823         * benchtests/README: Update documentation.
4824
4825 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
4826             H.J. Lu  <hongjiu.lu@intel.com>
4827
4828         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4829         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4830         * sysdeps/x86_64/configure: Regenerated.
4831         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4832         macro.
4833         (REGISTER_SAVE_RAX): Likewise.
4834         (REGISTER_SAVE_RCX): Likewise.
4835         (REGISTER_SAVE_RDX): Likewise.
4836         (REGISTER_SAVE_RSI): Likewise.
4837         (REGISTER_SAVE_RDI): Likewise.
4838         (REGISTER_SAVE_R8): Likewise.
4839         (REGISTER_SAVE_R9): Likewise.
4840         (REGISTER_SAVE_BND0): Likewise.
4841         (REGISTER_SAVE_BND1): Likewise.
4842         (REGISTER_SAVE_BND2): Likewise.
4843         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
4844         bound registers when calling _dl_fixup.
4845
4846 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4847
4848         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4849         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4850         of its definition.
4851         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4852         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4853         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4854         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4855         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4856         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4857         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4858
4859 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
4860
4861         [BZ #15514]
4862         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4863         pathconf(_PC_NAME_MAX).
4864
4865 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4866
4867         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4868         Remove macro usage.
4869         (__PTHREAD_SPINS): Move definition to ...
4870         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4871         (__PTHREAD_SPINS): ... here.
4872         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4873         (__PTHREAD_SPIN): Likewise.
4874         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4875         (__PTHREAD_SPIN): Likewise.
4876         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4877         (__PTHREAD_SPIN): Likewise.
4878         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4879         (__PTHREAD_SPIN): Likewise.
4880         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4881         (__PTHREAD_SPIN): Likewise.
4882         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4883         (__PTHREAD_SPIN): Likewise.
4884         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4885         (__PTHREAD_SPIN): Likewise.
4886         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4887         (__PTHREAD_SPIN): Likewise.
4888         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4889         (__PTHREAD_SPIN): Likewise.
4890         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4891         (__PTHREAD_SPIN): Likewise.
4892         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4893         (__PTHREAD_SPIN): Likewise.
4894         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4895         (__PTHREAD_SPIN): Likewise.
4896
4897         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4898         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4899         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4900         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4901         imply folder.
4902         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4903         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4904         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4905         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4906         correct imply path.
4907         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4908         strlen symbol for non multi-arch builds.
4909         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4910         missing hidden_def and weak_alias.
4911
4912 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
4913
4914         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4915
4916 2014-04-07  Will Newton  <will.newton@linaro.org>
4917
4918         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4919         and contents.  [!_LIBC] Remove #ifndef and contents.
4920         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
4921         * string/memccpy.c (__memccpy): Use ANSI prototype.
4922         * string/memfrob.c (memfrob): Likewise.
4923         * string/strcoll.c (STRCOLL): Likewise.
4924         * string/strlen.c (strlen): Likewise.
4925         * string/strtok.c (STRTOK): Likewise.
4926         * string/strcat.c: Remove unused #include of memcopy.h.
4927         (strcat): Use ANSI prototype.
4928         * string/strchr.c: Remove unused #include of memcopy.h.
4929         (strchr): Use ANSI prototype.
4930         * string/strcmp.c: Remove unused #include of memcopy.h.
4931         (strcmp): Use ANSI prototype.
4932         * string/strcpy.c: Remove unused #include of memcopy.h.
4933         (strcpy): Use ANSI prototype.
4934
4935 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4936
4937         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4938         * config.make.in (config-extra-cppflags): Set it from
4939         libc_extra_cppflags.
4940         * configure.ac (libc_extra_cflags): Make it accumulate over
4941         configure fragments.
4942         (libc_extra_cppflags): New flag.
4943         * configure. Regenerate.
4944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4945         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4946         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4948
4949         [BZ #16815]
4950         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4951         result for FE_DOWNWARD rounding mode.
4952         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4953         Likewise.
4954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4955
4956 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
4957
4958         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4959         in function argument name.
4960
4961 2014-04-03  David Svoboda  <svoboda@cert.org>
4962
4963         [BZ #5666]
4964         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4965         explicitly.
4966
4967 2014-04-03  Roland McGrath  <roland@hack.frob.com>
4968
4969         * elf/dl-unmap-segments.h: New file.
4970         * sysdeps/generic/ldsodefs.h
4971         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4972         * elf/dl-close.c: Include <dl-unmap-segments.h>.
4973         * elf/dl-fptr.c: Likewise.
4974         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4975         * sysdeps/aarch64/tlsdesc.c: Likewise.
4976         * sysdeps/arm/tlsdesc.c: Likewise.
4977         * sysdeps/i386/tlsdesc.c: Likewise.
4978         * sysdeps/tile/dl-runtime.c: Likewise.
4979         * sysdeps/x86_64/tlsdesc.c: Likewise.
4980         * elf/dl-load.h: New file.
4981         * elf/dl-load.c: Include it.
4982         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4983         Macros moved to dl-load.h.
4984         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4985         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4986         Use _dl_unmap_segments in place of __munmap.
4987         Break out segment-mapping loop into ...
4988         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4989
4990 2014-04-03  Will Newton  <will.newton@linaro.org>
4991
4992         * elf/dl-lookup.c (do_lookup_x): Remove comment
4993         referring to nested function and move variable
4994         declarations down to before first use.
4995
4996 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
4997
4998         [BZ #16799]
4999         [BZ #16800]
5000         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5001         with 0 numerator.
5002         * math/s_catanf.c (__catanf): Likewise.
5003         * math/s_catanh.c (__catanh): Likewise.
5004         * math/s_catanhf.c (__catanhf): Likewise.
5005         * math/s_catanhl.c (__catanhl): Likewise.
5006         * math/s_catanl.c (__catanl): Likewise.
5007         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5008         by positive zero when computing -Inf result.
5009         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5010         (catanh_test): Likewise.
5011         * sysdeps/i386/fpu/libm-test-ulps: Update.
5012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5013
5014         [BZ #16789]
5015         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5016         instead of using underflowing value in computing result.
5017         * math/s_clog10.c (__clog10): Likewise.
5018         * math/s_clog10f.c (__clog10f): Likewise.
5019         * math/s_clog10l.c (__clog10l): Likewise.
5020         * math/s_clogf.c (__clogf): Likewise.
5021         * math/s_clogl.c (__clogl): Likewise.
5022         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5023         (clog10_test): Likewise.
5024         * sysdeps/i386/fpu/libm-test-ulps: Update.
5025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5026
5027 2014-04-02  Alan Modra  <amodra@gmail.com>
5028
5029         [BZ #16739]
5030         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5031         output when value is near a power of two.  Use int64_t for lx and
5032         remove casts.  Use decimal rather than hex exponent constants.
5033         Don't use long double multiplication when double will suffice.
5034         * math/libm-test.inc (nextafter_test_data): Add tests.
5035         * NEWS: Add 16739 and 16786 to bug list.
5036
5037         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5038
5039         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5040
5041 2014-04-01  Will Newton  <will.newton@linaro.org>
5042
5043         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5044         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5045
5046 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5047
5048         [BZ #13347]
5049         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5050         * nptl/tst-setuid2.c: New file.
5051         * nptl/Makefile (xtests): Add tst-setuid2.
5052
5053 2014-04-01  Alan Modra  <amodra@gmail.com>
5054
5055         [BZ #16786]
5056         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5057
5058 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5059
5060         [BZ #6803]
5061         [BZ #6804]
5062         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5063         set errno as appropriate.
5064         * math/w_scalbf.c (__scalbf): Likewise.
5065         * math/w_scalbl.c (__scalbl): Likewise.
5066         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5067         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5068         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5069         Add more NaN tests.
5070
5071         [BZ #16349]
5072         * math/w_atan2.c: Include <errno.h>.
5073         (__atan2): Set errno for result underflowing to zero.
5074         * math/w_atan2f.c: Include <errno.h>.
5075         (__atan2f): Set errno for result underflowing to zero.
5076         * math/w_atan2l.c: Include <errno.h>.
5077         (__atan2l): Set errno for result underflowing to zero.
5078         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5079         tests.
5080         * math/auto-libm-test-out: Regenerated.
5081
5082 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5083
5084         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5085         Encode instruction correctly in little endian.
5086         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5087         Likewise.
5088         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5089         Likewise.
5090         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5091         Likewise.
5092         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5093         Likewise.
5094
5095 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5096
5097         [BZ #9894]
5098         * sysdeps/unix/sysv/linux/kernel-features.h
5099         [__sparc__ && !__arch64__ && !__sparc_v9__]
5100         (__ASSUME_SET_ROBUST_LIST): Do not define.
5101         [__sparc__ && !__arch64__ && !__sparc_v9__]
5102         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5103         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5104         Likewise.
5105         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5106         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5107         (__ASSUME_REQUEUE_PI): Likewise.
5108         (__ASSUME_SET_ROBUST_LIST): Likewise.
5109         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5110         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5111         Undefine.
5112         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5113         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5114         Likewise.
5115         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5116         Likewise.
5117         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5118         Likewise.
5119         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5120         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5121         Undefine.
5122         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5123         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5124         Likewise.
5125
5126         [BZ #16648]
5127         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5128         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5129         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5130
5131 2014-03-31  Will Newton  <will.newton@linaro.org>
5132
5133         * benchtests/Makefile (bench): Add ffs and ffsll to list
5134         of tests.
5135         * benchtests/ffs-inputs: New file.
5136         * benchtests/ffsll-inputs: Likewise.
5137
5138 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5139
5140         [BZ #16770]
5141         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5142         too large before casting to int.
5143         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5144         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5145         * math/libm-test.inc (scalb_test_data): Add more tests.
5146
5147 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5148
5149         * benchtests/Makefile (DETAILED_OPT): New make option.
5150         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5151         set.
5152         * benchtests/bench-skeleton.c: Include stdbool.h.
5153         (main): Store and print timings per input.
5154         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5155         member to each argument value.
5156         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5157         (_print_arg_data): Initialize per-input timing to 0.
5158
5159         * benchtests/Makefile (timing-type): New binary.
5160         (bench-clean): Also remove bench-timing-type.
5161         (bench): New target for timing-type.
5162         (bench-func): Print output in JSON format.
5163         * benchtests/bench-skeleton.c (main): Print output in JSON
5164         format.
5165         * benchtests/bench-timing-type.c: New file.
5166         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5167         (TIMING_PRINT_STATS): Remove.
5168         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5169         name separately.
5170
5171         * benchtests/bench-modf.c: Remove.
5172         * benchtests/modf-inputs: New inputs file.
5173
5174 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5175
5176         [BZ #16362]
5177         * math/s_clog10.c (M_PI_LOG10E): New macro.
5178         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5179         imaginary parts are 0.
5180         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5181         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5182         imaginary parts are 0.
5183         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5184         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5185         imaginary parts are 0.
5186         * math/libm-test.inc (clog10_test_data): Update expected results
5187         for when real and imaginary parts are 0.
5188
5189 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5190
5191         * elf/dl-load.c: Finish conversion of __builtin_expect into
5192         __glibc_{un}likely.
5193
5194 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
5195
5196         [BZ #16348]
5197         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5198         1+x for argument with exponent below -67.
5199         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5200         Likewise.
5201         * math/auto-libm-test-in: Add more tests of exp.
5202         * math/auto-libm-test-out: Regenerated.
5203
5204 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5205
5206         [BZ #16759]
5207         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5208         (nscd_getnetgrent): Use it.
5209
5210         [BZ #16760]
5211         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5212         of stpcpy.
5213
5214 2014-03-27  Andi Kleen  <ak@linux.intel.com>
5215
5216         * nptl/sysdeps/unix/sysv/linux/x86_64/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.
5222         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5223         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5224         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5225         (lll_robust_unlock): Remove out of line section. Use cfi
5226         intrinsics.
5227         (LLL_STUB_UNWIND_INFO*): Remove.
5228
5229 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5230
5231         [BZ #16758]
5232         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5233         blank values.
5234
5235 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5236
5237         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5238
5239 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
5240
5241         [BZ #16198]
5242         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5243         fnstenv.
5244         * math/test-fenv-preserve.c: New file.
5245         * math/Makefile (tests): Add test-fenv-preserve.
5246
5247 2014-03-26  Will Newton <will.newton@linaro.org>
5248
5249         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5250
5251 2014-03-25  Roland McGrath  <roland@hack.frob.com>
5252
5253         * scripts/versionlist.awk: Partition the version sets and emit all
5254         GLIBC_* (sorted) before all others (sorted).
5255
5256 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5257
5258         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5259         GLIBC_2.2.5 version.
5260
5261 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5262
5263         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5264         calls.
5265
5266         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5267         previous change.
5268
5269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5270
5271 2014-03-25  Andreas Schwab  <schwab@suse.de>
5272
5273         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5274         label to be used after in6ailist is initialized.
5275
5276 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5277
5278         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5279         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5280
5281 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5282
5283         [BZ #16357]
5284         [BZ #16599]
5285         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5286         min_plus_half.
5287         (fp_formats): Update initializers.
5288         (init_fp_formats): Initialize new field.
5289         (output_for_one_input_case): Allow underflow for results up to
5290         min_plus_half.
5291         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5292         * math/auto-libm-test-in: Don't mark some underflows from asin and
5293         atanh as spurious.
5294         * math/auto-libm-test-out: Regenerated.
5295         * sysdeps/i386/fpu/libm-test-ulps: Update.
5296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5297
5298 2014-03-25  Andreas Schwab  <schwab@suse.de>
5299
5300         * libio/Makefile (tst-ftell-partial-wide-ENV)
5301         (tst-ftell-active-handler-ENV): Define.
5302
5303 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
5304
5305         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5306
5307 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5308
5309         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5310
5311 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5312
5313         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5314         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5315         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5316
5317 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5318
5319         [BZ #16634]
5320         * elf/dl-load.c (open_verify): Add mode parameter.
5321         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5322         (open_path): Change from boolean 'secure' to complete flag 'mode'
5323         (_dl_map_object): Adjust.
5324         * elf/Makefile (tests): Add tst-dlopen-aout.
5325         * elf/tst-dlopen-aout.c: New test.
5326
5327 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
5328
5329         [BZ #16714]
5330         * sysdeps/unix/sysv/linux/s390/bits/stat.h
5331         (struct stat): Rename member pad0 to __glibc_reserved0.
5332
5333         [BZ #16712]
5334         * sysdeps/s390/s390-32/bits/wordsize.h
5335         (__WORDSIZE32_SIZE_ULONG): New define.
5336         * sysdeps/s390/s390-64/bits/wordsize.h
5337         (__WORDSIZE32_SIZE_ULONG): Likewise.
5338         * sysdeps/generic/stdint.h (SIZE_MAX):
5339         Define as UL if __WORDSIZE32_SIZE_ULONG.
5340
5341         [BZ #16713]
5342         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5343         (__glibc_reserved0): New variable.
5344         (sa_flags): Change type to int.
5345
5346         * posix/Makefile (before-compile): Use += before-compile instead
5347         of a :=.
5348
5349         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5350         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5351
5352 2014-03-20  Andreas Schwab  <schwab@suse.de>
5353
5354         [BZ #16743]
5355         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5356         non-matching result from nscd.
5357
5358 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5359
5360         * scripts/bench.py: Moved to ...
5361         * benchtests/scripts/bench.py: ... here.
5362         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5363
5364 2014-03-24  Andreas Schwab  <schwab@suse.de>
5365
5366         [BZ #16002]
5367         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5368         alloca_account and account alloca use for struct in6ailist.
5369
5370 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5371
5372         [BZ #16284]
5373         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5374         rounding mode to recompute results that overflow to infinity or
5375         underflow to zero.
5376         * math/auto-libm-test-in: Don't mark tests as expected to fail for
5377         bug 16284.
5378         * math/auto-libm-test-out: Regenerated.
5379         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5380         (ccosh_test): Likewise.
5381         (csin_test_data): Use plus_oflow.
5382         (csin_test): Use ALL_RM_TEST.
5383         (csinh_test_data): Use plus_oflow.
5384         (csinh_test): Use ALL_RM_TEST.
5385         * sysdeps/i386/fpu/libm-test-ulps: Update.
5386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5387
5388 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
5389
5390         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5391         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5392         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5393
5394         [BZ #16731]
5395         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5396         when x - 1 is zero.
5397         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5398         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5399         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5400         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5401         argument is 1.
5402         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5403         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5404         zero.
5405         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5406         * sysdeps/i386/fpu/libm-test-ulps: Update.
5407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5408
5409 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5410
5411         * scripts/bench.pl: Remove file.
5412         * scripts/bench.py: New benchmark script.
5413         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5414         * benchtests/README: Mention python dependency.
5415         * scripts/pylintrc: New file.
5416         * scripts/pylint: New file.
5417
5418         * bits/mathdef.h: Use #ifdef instead of #if.
5419         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5420         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5421         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5422         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5423         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5424         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5425
5426 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5427             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5428
5429         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5430         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5431         and strpbrk-ppc64 objects.
5432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5433         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5434         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5435         multiarch strpbrk for POWER7.
5436         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5437         multiarch strpbrk for PPC64.
5438         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5439         ifunc selector.
5440         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5441         strpbrk for POWER7.
5442
5443 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5444
5445         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5446         (atan_test): Likewise.
5447         (atanh_test_data): Use NO_TEST_INLINE for two tests.
5448         (atanh_test): Use ALL_RM_TEST.
5449         (atan2_test_data): Likewise.
5450         (cabs_test): Likewise.
5451         (cacosh_test): Likewise.
5452         (carg_test): Likewise.
5453         (casin_test): Likewise.
5454         (casinh_test): Likewise.
5455         (cbrt_test): Likewise.
5456         (csqrt_test): Likewise.
5457         (erf_test): Likewise.
5458         (erfc_test): Likewise.
5459         (pow10_test): Likewise.
5460         (exp2_test): Likewise.
5461         (hypot_test): Likewise.
5462         (j0_test): Likewise.
5463         (j1_test): Likewise.
5464         (lgamma_test): Likewise.
5465         (gamma_test): Likewise.
5466         (sincos_test): Likewise.
5467         (tanh_test): Likewise.
5468         (y0_test): Likewise.
5469         (y1_test): Likewise.
5470         * sysdeps/i386/fpu/libm-test-ulps: Update.
5471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5472
5473 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5474
5475         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5477         and strcspn-ppc64 objects.
5478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5479         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5480         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5481         multiarch strcspn for POWER7.
5482         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5483         multiarch strcspn for PPC64.
5484         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5485         ifunc selector.
5486         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5487         strcspn for POWER7.
5488
5489 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5490
5491         * math/gen-libm-test.pl (generate_testfile): Expect only function
5492         name as argument to AUTO_TESTS_* and pass results for all rounding
5493         modes to parse_args.
5494         (parse_auto_input): Separate inputs of automatic tests from
5495         outputs before storing in %auto_tests.
5496         * math/libm-test.inc (acos_test_data): Update call to
5497         AUTO_TESTS_f_f.
5498         (acos_test): Use ALL_RM_TEST.
5499         (acos_tonearest_test_data): Remove.
5500         (acos_test_tonearest): Likewise.
5501         (acos_towardzero_test_data): Likewise.
5502         (acos_test_towardzero): Likewise.
5503         (acos_downward_test_data): Likewise.
5504         (acos_test_downward): Likewise.
5505         (acos_upward_test_data): Likewise.
5506         (acos_test_upward): Likewise.
5507         (acosh_test_data): Update call to AUTO_TESTS_f_f.
5508         (asin_test_data): Likewise.
5509         (asin_test): Use ALL_RM_TEST.
5510         (asin_tonearest_test_data): Remove.
5511         (asin_test_tonearest): Likewise.
5512         (asin_towardzero_test_data): Likewise.
5513         (asin_test_towardzero): Likewise.
5514         (asin_downward_test_data): Likewise.
5515         (asin_test_downward): Likewise.
5516         (asin_upward_test_data): Likewise.
5517         (asin_test_upward): Likewise.
5518         (asinh_test_data): Update call to AUTO_TESTS_f_f.
5519         (atan_test_data): Likewise.
5520         (atanh_test_data): Likewise.
5521         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5522         (cabs_test_data): Update call to AUTO_TESTS_c_f.
5523         (carg_test_data): Likewise.
5524         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5525         (ccos_test_data): Update call to AUTO_TESTS_c_c.
5526         (ccosh_test_data): Likewise.
5527         (cexp_test_data): Likewise.
5528         (clog_test_data): Likewise.
5529         (clog10_test_data): Likewise.
5530         (cos_test_data): Update call to AUTO_TESTS_f_f.
5531         (cos_test): Use ALL_RM_TEST.
5532         (cos_tonearest_test_data): Remove.
5533         (cos_test_tonearest): Likewise.
5534         (cos_towardzero_test_data): Likewise.
5535         (cos_test_towardzero): Likewise.
5536         (cos_downward_test_data): Likewise.
5537         (cos_test_downward): Likewise.
5538         (cos_upward_test_data): Likewise.
5539         (cos_test_upward): Likewise.
5540         (cosh_test_data): Update call to AUTO_TESTS_f_f.
5541         (cosh_test): Use ALL_RM_TEST.
5542         (cosh_tonearest_test_data): Remove.
5543         (cosh_test_tonearest): Likewise.
5544         (cosh_towardzero_test_data): Likewise.
5545         (cosh_test_towardzero): Likewise.
5546         (cosh_downward_test_data): Likewise.
5547         (cosh_test_downward): Likewise.
5548         (cosh_upward_test_data): Likewise.
5549         (cosh_test_upward): Likewise.
5550         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5551         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5552         (ctan_test_data): Likewise.
5553         (ctan_test): Use ALL_RM_TEST.
5554         (ctan_tonearest_test_data): Remove.
5555         (ctan_test_tonearest): Likewise.
5556         (ctan_towardzero_test_data): Likewise.
5557         (ctan_test_towardzero): Likewise.
5558         (ctan_downward_test_data): Likewise.
5559         (ctan_test_downward): Likewise.
5560         (ctan_upward_test_data): Likewise.
5561         (ctan_test_upward): Likewise.
5562         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5563         (ctanh_test): Use ALL_RM_TEST.
5564         (ctanh_tonearest_test_data): Remove.
5565         (ctanh_test_tonearest): Likewise.
5566         (ctanh_towardzero_test_data): Likewise.
5567         (ctanh_test_towardzero): Likewise.
5568         (ctanh_downward_test_data): Likewise.
5569         (ctanh_test_downward): Likewise.
5570         (ctanh_upward_test_data): Likewise.
5571         (ctanh_test_upward): Likewise.
5572         (erf_test_data): Update call to AUTO_TESTS_f_f.
5573         (erfc_test_data): Likewise.
5574         (exp_test_data): Likewise.
5575         (exp_test): Use ALL_RM_TEST.
5576         (exp_tonearest_test_data): Remove.
5577         (exp_test_tonearest): Likewise.
5578         (exp_towardzero_test_data): Likewise.
5579         (exp_test_towardzero): Likewise.
5580         (exp_downward_test_data): Likewise.
5581         (exp_test_downward): Likewise.
5582         (exp_upward_test_data): Likewise.
5583         (exp_test_upward): Likewise.
5584         (exp10_test_data): Update call to AUTO_TESTS_f_f.
5585         (exp10_test): Use ALL_RM_TEST.
5586         (exp10_tonearest_test_data): Remove.
5587         (exp10_test_tonearest): Likewise.
5588         (exp10_towardzero_test_data): Likewise.
5589         (exp10_test_towardzero): Likewise.
5590         (exp10_downward_test_data): Likewise.
5591         (exp10_test_downward): Likewise.
5592         (exp10_upward_test_data): Likewise.
5593         (exp10_test_upward): Likewise.
5594         (exp2_test_data): Update call to AUTO_TESTS_f_f.
5595         (expm1_test_data): Likewise.
5596         (expm1_test): Use ALL_RM_TEST.
5597         (expm1_tonearest_test_data): Remove.
5598         (expm1_test_tonearest): Likewise.
5599         (expm1_towardzero_test_data): Likewise.
5600         (expm1_test_towardzero): Likewise.
5601         (expm1_downward_test_data): Likewise.
5602         (expm1_test_downward): Likewise.
5603         (expm1_upward_test_data): Likewise.
5604         (expm1_test_upward): Likewise.
5605         (fma_test_data): Update call to AUTO_TESTS_fff_f.
5606         (fma_test): Use ALL_RM_TEST.
5607         (fma_towardzero_test_data): Remove.
5608         (fma_test_towardzero): Likewise.
5609         (fma_downward_test_data): Likewise.
5610         (fma_test_downward): Likewise.
5611         (fma_upward_test_data): Likewise.
5612         (fma_test_upward): Likewise.
5613         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5614         (j0_test_data): Update call to AUTO_TESTS_f_f.
5615         (j1_test_data): Likewise.
5616         (jn_test_data): Update call to AUTO_TESTS_if_f.
5617         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5618         (log_test_data): Update call to AUTO_TESTS_f_f.
5619         (log10_test_data): Likewise.
5620         (log1p_test_data): Likewise.
5621         (log2_test_data): Likewise.
5622         (pow_test_data): Update call to AUTO_TESTS_ff_f.
5623         (pow_tonearest_test_data): Likewise.
5624         (sin_test_data): Update call to AUTO_TESTS_f_f.
5625         (sin_test): Use ALL_RM_TEST.
5626         (sin_tonearest_test_data): Remove.
5627         (sin_test_tonearest): Likewise.
5628         (sin_towardzero_test_data): Likewise.
5629         (sin_test_towardzero): Likewise.
5630         (sin_downward_test_data): Likewise.
5631         (sin_test_downward): Likewise.
5632         (sin_upward_test_data): Likewise.
5633         (sin_test_upward): Likewise.
5634         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5635         (sinh_test_data): Update call to AUTO_TESTS_f_f.
5636         (sinh_test): Use ALL_RM_TEST.
5637         (sinh_tonearest_test_data): Remove.
5638         (sinh_test_tonearest): Likewise.
5639         (sinh_towardzero_test_data): Likewise.
5640         (sinh_test_towardzero): Likewise.
5641         (sinh_downward_test_data): Likewise.
5642         (sinh_test_downward): Likewise.
5643         (sinh_upward_test_data): Likewise.
5644         (sinh_test_upward): Likewise.
5645         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5646         (sqrt_test): Use ALL_RM_TEST.
5647         (sqrt_tonearest_test_data): Remove.
5648         (sqrt_test_tonearest): Likewise.
5649         (sqrt_towardzero_test_data): Likewise.
5650         (sqrt_test_towardzero): Likewise.
5651         (sqrt_downward_test_data): Likewise.
5652         (sqrt_test_downward): Likewise.
5653         (sqrt_upward_test_data): Likewise.
5654         (sqrt_test_upward): Likewise.
5655         (tan_test_data): Update call to AUTO_TESTS_f_f.
5656         (tan_test): Use ALL_RM_TEST.
5657         (tan_tonearest_test_data): Remove.
5658         (tan_test_tonearest): Likewise.
5659         (tan_towardzero_test_data): Likewise.
5660         (tan_test_towardzero): Likewise.
5661         (tan_downward_test_data): Likewise.
5662         (tan_test_downward): Likewise.
5663         (tan_upward_test_data): Likewise.
5664         (tan_test_upward): Likewise.
5665         (tanh_test_data): Update call to AUTO_TESTS_f_f.
5666         (tgamma_test_data): Likewise.
5667         (y0_test_data): Likewise.
5668         (y1_test_data): Likewise.
5669         (yn_test_data): Update call to AUTO_TESTS_if_f.
5670         (main): Do not call removed functions.
5671
5672 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5673
5674         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5675         (ldexp_test_data): Remove.
5676         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
5677         scalbn_test_data.
5678         (scalb_test): Use ALL_RM_TEST.
5679
5680 2014-03-19  Andreas Schwab  <schwab@suse.de>
5681
5682         * nscd/nscd.service: Also invalidate netgroup cache on reload.
5683
5684 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5685
5686         [BZ #16649]
5687         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5688         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5689         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5690         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5691         (__ASSUME_PREADV): Undefine.
5692         (__ASSUME_PWRITEV): Likewise.
5693
5694 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5695
5696         * bits/mman-linux.h: Add comment about non-Linux use.
5697         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5698         bits/mman-linux.h resting place.
5699
5700         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5701         * bits/mman-linux.h: ... here.
5702
5703 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5704
5705         * conform/conformtest.pl: Add standard definition when calling C
5706         preprocessor on data files.
5707         (checknamespace): Remove unused variable.
5708
5709 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5710
5711         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5712         minus_oflow, plus_uflow and minus_uflow in expected results.
5713         * math/libm-test.inc (scalbn_test_data): Add more tests of
5714         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
5715         minus_uflow.
5716         (scalbn_test): Use ALL_RM_TEST.
5717         (scalbln_test_data): Add more tests of negative arguments.  Use
5718         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5719         (scalbln_test): Use ALL_RM_TEST.
5720
5721 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5722
5723         * scripts/abilist.awk: Ignore symbols marked with .hidden.
5724
5725 2014-03-18  Will Newton  <will.newton@linaro.org>
5726
5727         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5728         inaccurate comment.
5729
5730 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5731
5732         * Makerules [!subdir] (check-abi): Exit with error status if a
5733         test failed.
5734
5735 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5736
5737         * math/libm-test.inc (nearbyint_test_data): Include all tests used
5738         for rint.  Include results for all rounding modes.
5739         (nearbyint_test): Use ALL_RM_TEST.
5740         (rint_test_data): Include all tests used for nearbyint.
5741
5742 2014-03-17  Will Newton  <will.newton@linaro.org>
5743
5744         * nptl/sysdeps/pthread/pthread.h: Revert previous
5745         change.
5746
5747         * sysdeps/generic/ldsodefs.h: Revert previous
5748         change.
5749
5750         * libio/genops.c: Revert previous change.
5751         * libio/libioP.h: Likewise.
5752         * stdio-common/vfprintf.c: Likewise.
5753
5754         * sysdeps/generic/math_private.h: Revert previous
5755         change.
5756
5757         * sysdeps/generic/math_private.h: Check whether
5758         HAVE_RM_CTX is defined with #ifdef rather
5759         than #if.
5760
5761         * argp/argp-fmtstream.h: Check whether
5762         __STRICT_ANSI__ is defined with #ifdef rather
5763         than #if.
5764         * argp/argp.h: Likewise.
5765
5766         * libio/genops.c: Check whether
5767         _IO_JUMPS_OFFSET is defined with #ifdef rather
5768         than #if.
5769         * libio/libioP.h: Likewise.
5770         * stdio-common/vfprintf.c: Likewise.
5771
5772         * sysdeps/generic/ldsodefs.h: Check whether
5773         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5774         than #if.
5775
5776         * nptl/sysdeps/pthread/pthread.h: Check
5777         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5778         its value.
5779
5780 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5781
5782         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5783         setting O_APPEND.
5784         * libio/tst-ftell-active-handler.c (do_append_test): Add a
5785         test case.
5786
5787         [BZ #16680]
5788         * libio/fileops.c (_IO_file_open): Seek to end of file but
5789         don't cache the offset.
5790         (get_file_offset): Remove function.
5791         (do_ftell): Use cached offset when available.
5792         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5793         don't cache the offset.
5794         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5795         case.
5796         (do_one_test): Call it.
5797         (do_ftell_test): Fix up expected old offset for a+ mode.
5798         * libio/wfileops.c (do_ftell_wide): Used cached offset when
5799         available.
5800
5801         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5802         up test status with function return status.
5803         (do_write_test): Likewise.
5804         (do_append_test): Likewise.
5805
5806         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5807         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5808         Remove.
5809
5810 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5811
5812         * math/gen-libm-test.pl (parse_args): Handle results specified for
5813         each rounding mode separately.
5814         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5815         tests and results from lrint_tonearest_test_data,
5816         lrint_towardzero_test_data, lrint_downward_test_data and
5817         lrint_upward_test_data.
5818         (lrint_test): Use ALL_RM_TEST.
5819         (lrint_tonearest_test_data): Remove.
5820         (lrint_test_tonearest): Likewise.
5821         (lrint_towardzero_test_data): Likewise.
5822         (lrint_test_towardzero): Likewise.
5823         (lrint_downward_test_data): Likewise.
5824         (lrint_test_downward): Likewise.
5825         (lrint_upward_test_data): Likewise.
5826         (lrint_test_upward): Likewise.
5827         (llrint_test_data): Merge in per-rounding-mode tests and results
5828         from llrint_tonearest_test_data, llrint_towardzero_test_data,
5829         llrint_downward_test_data and llrint_upward_test_data.
5830         (llrint_test): Use ALL_RM_TEST.
5831         (llrint_tonearest_test_data): Remove.
5832         (llrint_test_tonearest): Likewise.
5833         (llrint_towardzero_test_data): Likewise.
5834         (llrint_test_towardzero): Likewise.
5835         (llrint_downward_test_data): Likewise.
5836         (llrint_test_downward): Likewise.
5837         (llrint_upward_test_data): Likewise.
5838         (llrint_test_upward): Likewise.
5839         (rint_test_data): Merge in per-rounding-mode tests and results
5840         from rint_tonearest_test_data, rint_towardzero_test_data,
5841         rint_downward_test_data and rint_upward_test_data.  Add
5842         per-rounding-mode results for tests not in those arrays.
5843         (rint_test): Use ALL_RM_TEST.
5844         (rint_tonearest_test_data): Remove.
5845         (rint_test_tonearest): Likewise.
5846         (rint_towardzero_test_data): Likewise.
5847         (rint_test_towardzero): Likewise.
5848         (rint_downward_test_data): Likewise.
5849         (rint_test_downward): Likewise.
5850         (rint_upward_test_data): Likewise.
5851         (rint_test_upward): Likewise.
5852         (main): Don't call removed functions.
5853
5854 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5855
5856         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5857         "Compiled on ..." crapola.  It is anti-useful.
5858
5859 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
5860
5861         * scripts/evaluate-test.sh: Handle fourth argument to determine
5862         whether test run should stop on failure.
5863         * Makeconfig (stop-on-test-failure): New variable.
5864         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5865         $(stop-on-test-failure).
5866         * Makefile (tests): Give a summary of results from testing and
5867         exit with failure status if they include an ERROR or FAIL.
5868         (xtests): Likewise.
5869         * manual/install.texi (Configuring and compiling): Mention
5870         stop-on-test-failure=y.
5871         * INSTALL: Regenerated.
5872
5873 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5874
5875         * scripts/versionlist.awk: New file.
5876         * Makerules [$(build-shared) = yes]
5877         (postclean-generated): Add Versions.def, not Versions.def.v and
5878         Versions.def.v.i.
5879         ($(common-objpfx)Versions.def.v.i): Target removed.
5880         ($(common-objpfx)Versions.def): New target.
5881         ($(common-objpfx)Versions.all): Depend on that rather that
5882         $(common-objpfx)Versions.def.v.
5883         * Versions.def: File removed.
5884
5885         * Makeconfig (+gccwarn): Add -Wundef.
5886         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5887         a dl-sysdep.h breaking its contract.
5888         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5889         * include/stackinfo.h: New file.
5890         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5891         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5892         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5893         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5894         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5895         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5896         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5897         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5898         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5899         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5900         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5901         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5902         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5903         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5904         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5905
5906 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5907
5908         [BZ #16707]
5909         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5910         implementation.
5911         * math/libm-test.inc (round_test_data): Add more tests.
5912
5913         [BZ #16706]
5914         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5915         implementation.
5916         * math/libm-test.inc (nearbyint_test_data): Add more tests.
5917
5918         [BZ #16701]
5919         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5920         implementation.
5921         * math/libm-test.inc (ceil_test_data): Add more tests.
5922
5923         * math/libm-test.inc (trunc_test_data): Add more tests related to
5924         BZ#16414.
5925
5926 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5927
5928         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5929         with #if rather than #ifdef.
5930         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5931
5932 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
5933
5934         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5935         first.  Disable AVX-512 GCC support if assembler doesn't support
5936         it.
5937         * sysdeps/x86_64/configure: Regenerated.
5938
5939 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
5940
5941         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5942         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5943         (__old_pthread_attr_setstack): Likewise.
5944         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5945         [!_STACK_GROWS_DOWN]: Likewise.
5946
5947 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
5948
5949         * config.make.in (have-bash2): Delete.
5950         * configure.ac (libc_cv_have_bash2): Delete.
5951         * configure: Regenerate.
5952         * elf/Makefile (common-ldd-rewrite): Rename to ...
5953         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
5954         (sh-ldd-rewrite): Delete.
5955         (bash-ldd-rewrite): Delete.
5956         (have-bash2): Delete checks.
5957         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5958         ldd-rewrite.
5959
5960         * config.make.in (have-ksh): Delete.
5961         (KSH): Delete.
5962         * configure.ac (libc_cv_have_ksh): Delete.
5963         * configure: Regenerate.
5964
5965         * elf/Makefile: Delete $(have-ksh) check.
5966         ($(objpfx)sotruss): Change KSH to BASH.
5967         * elf/sotruss.ksh: Rename to ...
5968         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
5969         function style to match POSIX.  Drop ksh vim mode setting.
5970
5971         * manual/time.texi (Specifying the Time Zone with TZ): Change
5972         Tuesday to Thursday.
5973
5974         * debug/tst-longjmp_chk2.c: Update header comment.
5975         (stackoverflow_handler): Add comment.  Call assert on pass value.
5976
5977 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
5978
5979         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5980         (HAVE_AVX512_ASM_SUPPORT): Likewise.
5981         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5982         (La_x86_64_vector): Add zmm.
5983         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5984         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5985         ($(objpfx)tst-audit10): New target.
5986         ($(objpfx)tst-audit10.out): Likewise.
5987         (tst-audit10-ENV): New.
5988         (AVX512-CFLAGS): Likewise.
5989         (CFLAGS-tst-audit10.c): Likewise.
5990         (CFLAGS-tst-auditmod10a.c): Likewise.
5991         (CFLAGS-tst-auditmod10b.c): Likewise.
5992         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5993         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5994         * sysdeps/x86_64/configure: Regenerated.
5995         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5996         AVX-512 zmm register support.
5997         (_dl_x86_64_save_sse): Likewise.
5998         (_dl_x86_64_restore_sse): Likewise.
5999         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6000         size vector registers.
6001         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6002         (ZMM_SIZE): Likewise.
6003         * sysdeps/x86_64/tst-audit10.c: New file.
6004         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6005         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6006
6007 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6008
6009         * configure.ac (HAVE_EHDR_START): New check.
6010         * configure: Regenerated.
6011         * config.h.in (HAVE_EHDR_START): New #undef.
6012         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6013         assuming the lowest-addressed segment maps the start of the file.
6014
6015 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6016
6017         * INSTALL: Regenerated.
6018
6019 2014-03-13  Will Newton  <will.newton@linaro.org>
6020
6021         * manual/setjmp.texi (System V contexts): Improve
6022         clarity and grammar of documentation.
6023
6024 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6025
6026         [BZ #16381]
6027         * elf/Makefile (tests): Add tst-pie2.
6028         (tests-pie): Add tst-pie2.
6029         * elf/tst-pie2.c: New file.
6030         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6031         for ET_EXEC.
6032         * elf/rtld.c (map_doit): Load executable as lt_executable.
6033         (dl_main): Likewise.
6034
6035 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6036
6037         [BZ #16642]
6038         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6039         (__ASSUME_PSELECT): Undefine.
6040
6041 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6042
6043         [BZ #16689]
6044         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6045         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6046         static build.
6047         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6048         selector for static builds.
6049
6050 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6051
6052         [BZ #16695]
6053         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6054         key in the buffer.
6055
6056 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6057
6058         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6059         IFUNC selector for static builds.
6060
6061 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6062
6063         * sysdeps/mips/math_private.h [__mips_hard_float]
6064         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6065         libc_feresetround_mips_ctx.
6066         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6067         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6068         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6069
6070         [BZ #16677]
6071         * math/s_nextafter.c (__nextafter): Do not return value from
6072         overflowing computation.
6073         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6074         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6075         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6076         Likewise.
6077         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6078         Likewise.
6079         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6080         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6081
6082 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6083
6084         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6085         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6086         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6087         the new mov targetting sp.
6088
6089 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6090
6091         [BZ #16683]
6092         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6093         Define it for static builds as well.
6094         (NO_BZERO_IMPL): Likewise.
6095
6096 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6097
6098         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6099         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6100         multiarch strspn for PPC64.
6101         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6102         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6104         (__libc_ifunc_impl_list): Likewise.
6105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6106         multiarch optimizations
6107         * string/strspn.c (strspn): Using macro to redefine symbol name.
6108
6109 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6110             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6111
6112         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6113         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6114         multiarch strncat for PPC64.
6115         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6116         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6118         (__libc_ifunc_impl_list): Likewise.
6119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6120         multiarch optimizations
6121
6122 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6123
6124         [BZ #16639]
6125         * nscd/nscd.service: Make service type forking.
6126
6127 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6128
6129         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6130         sign in non default rounding modes.
6131         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6132
6133 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6134
6135         * math/libm-test.inc (ALL_RM_TEST): New macro.
6136         (ceil_test): Use ALL_RM_TEST.
6137         (cimag_test): Likewise.
6138         (conj_test): Likewise.
6139         (copysign_test): Likewise.
6140         (cproj_test): Likewise.
6141         (creal_test): Likewise.
6142         (fabs_test): Likewise.
6143         (floor_test): Likewise.
6144         (fmax_test): Likewise.
6145         (fmin_test): Likewise.
6146         (fmod_test): Likewise.
6147         (fpclassify_test): Likewise.
6148         (frexp_test): Likewise.
6149         (ilogb_test): Likewise.
6150         (isfinite_test): Likewise.
6151         (finite_test): Likewise.
6152         (isgreater_test): Likewise.
6153         (isgreaterequal_test): Likewise.
6154         (isinf_test): Likewise.
6155         (isless_test): Likewise.
6156         (islessequal_test): Likewise.
6157         (islessgreater_test): Likewise.
6158         (isnan_test): Likewise.
6159         (isnormal_test): Likewise.
6160         (issignaling_test): Likewise.
6161         (isunordered_test): Likewise.
6162         (logb_test): Likewise.
6163         (logb_downward_test_data): Remove.
6164         (logb_test_downward): Likewise.
6165         (lround_test): Use ALL_RM_TEST.
6166         (llround_test): Likewise.
6167         (modf_test): Likewise.
6168         (nexttoward_test): Likewise.
6169         (remainder_test): Likewise.
6170         (drem_test): Likewise.
6171         (remainder_tonearest_test_data): Likewise.
6172         (remainder_test_tonearest): Likewise.
6173         (drem_test_tonearest): Likewise.
6174         (remainder_towardzero_test_data): Likewise.
6175         (remainder_test_towardzero): Likewise.
6176         (drem_test_towardzero): Likewise.
6177         (remainder_downward_test_data): Likewise.
6178         (remainder_test_downward): Likewise.
6179         (drem_test_downward): Likewise.
6180         (remainder_upward_test_data): Likewise.
6181         (remainder_test_upward): Likewise.
6182         (drem_test_upward): Likewise.
6183         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6184         (round_test): Use ALL_RM_TEST.
6185         (signbit_test): Likewise.
6186         (trunc_test): Likewise.
6187         (significand_test): Likewise.
6188         (main): Don't call removed functions.
6189
6190 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6191
6192         [BZ #16674]
6193         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6194         || __USE_XOPEN2K8].
6195         (ILL_ILLOPN): Likewise.
6196         (ILL_ILLADR): Likewise.
6197         (ILL_ILLTRP): Likewise.
6198         (ILL_PRVOPC): Likewise.
6199         (ILL_PRVREG): Likewise.
6200         (ILL_COPROC): Likewise.
6201         (ILL_BADSTK): Likewise.
6202         (FPE_INTDIV): Likewise.
6203         (FPE_INTOVF): Likewise.
6204         (FPE_FLTDIV): Likewise.
6205         (FPE_FLTOVF): Likewise.
6206         (FPE_FLTUND): Likewise.
6207         (FPE_FLTRES): Likewise.
6208         (FPE_FLTINV): Likewise.
6209         (FPE_FLTSUB): Likewise.
6210         (SEGV_MAPERR): Likewise.
6211         (SEGV_ACCERR): Likewise.
6212         (BUS_ADRALN): Likewise.
6213         (BUS_ADRERR): Likewise.
6214         (BUS_OBJERR): Likewise.
6215         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6216         (TRAP_TRACE): Likewise.
6217         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6218         __USE_XOPEN2K8].
6219         (CLD_KILLED): Likewise.
6220         (CLD_DUMPED): Likewise.
6221         (CLD_TRAPPED): Likewise.
6222         (CLD_STOPPED): Likewise.
6223         (CLD_CONTINUED): Likewise.
6224         (POLL_IN): Likewise.
6225         (POLL_OUT): Likewise.
6226         (POLL_MSG): Likewise.
6227         (POLL_ERR): Likewise.
6228         (POLL_PRI): Likewise.
6229         (POLL_HUP): Likewise.
6230         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6231         Likewise.
6232         (ILL_ILLOPN): Likewise.
6233         (ILL_ILLADR): Likewise.
6234         (ILL_ILLTRP): Likewise.
6235         (ILL_PRVOPC): Likewise.
6236         (ILL_PRVREG): Likewise.
6237         (ILL_COPROC): Likewise.
6238         (ILL_BADSTK): Likewise.
6239         (FPE_INTDIV): Likewise.
6240         (FPE_INTOVF): Likewise.
6241         (FPE_FLTDIV): Likewise.
6242         (FPE_FLTOVF): Likewise.
6243         (FPE_FLTUND): Likewise.
6244         (FPE_FLTRES): Likewise.
6245         (FPE_FLTINV): Likewise.
6246         (FPE_FLTSUB): Likewise.
6247         (SEGV_MAPERR): Likewise.
6248         (SEGV_ACCERR): Likewise.
6249         (BUS_ADRALN): Likewise.
6250         (BUS_ADRERR): Likewise.
6251         (BUS_OBJERR): Likewise.
6252         (BUS_MCEERR_AR): Likewise.
6253         (BUS_MCEERR_AO): Likewise.
6254         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6255         (TRAP_TRACE): Likewise.
6256         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6257         __USE_XOPEN2K8].
6258         (CLD_KILLED): Likewise.
6259         (CLD_DUMPED): Likewise.
6260         (CLD_TRAPPED): Likewise.
6261         (CLD_STOPPED): Likewise.
6262         (CLD_CONTINUED): Likewise.
6263         (POLL_IN): Likewise.
6264         (POLL_OUT): Likewise.
6265         (POLL_MSG): Likewise.
6266         (POLL_ERR): Likewise.
6267         (POLL_PRI): Likewise.
6268         (POLL_HUP): Likewise.
6269         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6270         (ILL_ILLOPN): Likewise.
6271         (ILL_ILLADR): Likewise.
6272         (ILL_ILLTRP): Likewise.
6273         (ILL_PRVOPC): Likewise.
6274         (ILL_PRVREG): Likewise.
6275         (ILL_COPROC): Likewise.
6276         (ILL_BADSTK): Likewise.
6277         (FPE_INTDIV): Likewise.
6278         (FPE_INTOVF): Likewise.
6279         (FPE_FLTDIV): Likewise.
6280         (FPE_FLTOVF): Likewise.
6281         (FPE_FLTUND): Likewise.
6282         (FPE_FLTRES): Likewise.
6283         (FPE_FLTINV): Likewise.
6284         (FPE_FLTSUB): Likewise.
6285         (SEGV_MAPERR): Likewise.
6286         (SEGV_ACCERR): Likewise.
6287         (BUS_ADRALN): Likewise.
6288         (BUS_ADRERR): Likewise.
6289         (BUS_OBJERR): Likewise.
6290         (BUS_MCEERR_AR): Likewise.
6291         (BUS_MCEERR_AO): Likewise.
6292         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6293         (TRAP_TRACE): Likewise.
6294         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6295         __USE_XOPEN2K8].
6296         (CLD_KILLED): Likewise.
6297         (CLD_DUMPED): Likewise.
6298         (CLD_TRAPPED): Likewise.
6299         (CLD_STOPPED): Likewise.
6300         (CLD_CONTINUED): Likewise.
6301         (POLL_IN): Likewise.
6302         (POLL_OUT): Likewise.
6303         (POLL_MSG): Likewise.
6304         (POLL_ERR): Likewise.
6305         (POLL_PRI): Likewise.
6306         (POLL_HUP): Likewise.
6307         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6308         Likewise.
6309         (ILL_ILLOPN): Likewise.
6310         (ILL_ILLADR): Likewise.
6311         (ILL_ILLTRP): Likewise.
6312         (ILL_PRVOPC): Likewise.
6313         (ILL_PRVREG): Likewise.
6314         (ILL_COPROC): Likewise.
6315         (ILL_BADSTK): Likewise.
6316         (ILL_BADIADDR): Likewise.
6317         (ILL_BREAK): Likewise.
6318         (FPE_INTDIV): Likewise.
6319         (FPE_INTOVF): Likewise.
6320         (FPE_FLTDIV): Likewise.
6321         (FPE_FLTOVF): Likewise.
6322         (FPE_FLTUND): Likewise.
6323         (FPE_FLTRES): Likewise.
6324         (FPE_FLTINV): Likewise.
6325         (FPE_FLTSUB): Likewise.
6326         (FPE_DECOVF): Likewise.
6327         (FPE_DECDIV): Likewise.
6328         (FPE_DECERR): Likewise.
6329         (FPE_INVASC): Likewise.
6330         (FPE_INVDEC): Likewise.
6331         (SEGV_MAPERR): Likewise.
6332         (SEGV_ACCERR): Likewise.
6333         (SEGV_PSTKOVF): Likewise.
6334         (BUS_ADRALN): Likewise.
6335         (BUS_ADRERR): Likewise.
6336         (BUS_OBJERR): Likewise.
6337         (BUS_MCEERR_AR): Likewise.
6338         (BUS_MCEERR_AO): Likewise.
6339         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6340         (TRAP_TRACE): Likewise.
6341         (TRAP_BRANCH): Likewise.
6342         (TRAP_HWBKPT): Likewise.
6343         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6344         __USE_XOPEN2K8].
6345         (CLD_KILLED): Likewise.
6346         (CLD_DUMPED): Likewise.
6347         (CLD_TRAPPED): Likewise.
6348         (CLD_STOPPED): Likewise.
6349         (CLD_CONTINUED): Likewise.
6350         (POLL_IN): Likewise.
6351         (POLL_OUT): Likewise.
6352         (POLL_MSG): Likewise.
6353         (POLL_ERR): Likewise.
6354         (POLL_PRI): Likewise.
6355         (POLL_HUP): Likewise.
6356         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6357         (ILL_ILLOPN): Likewise.
6358         (ILL_ILLADR): Likewise.
6359         (ILL_ILLTRP): Likewise.
6360         (ILL_PRVOPC): Likewise.
6361         (ILL_PRVREG): Likewise.
6362         (ILL_COPROC): Likewise.
6363         (ILL_BADSTK): Likewise.
6364         (FPE_INTDIV): Likewise.
6365         (FPE_INTOVF): Likewise.
6366         (FPE_FLTDIV): Likewise.
6367         (FPE_FLTOVF): Likewise.
6368         (FPE_FLTUND): Likewise.
6369         (FPE_FLTRES): Likewise.
6370         (FPE_FLTINV): Likewise.
6371         (FPE_FLTSUB): Likewise.
6372         (SEGV_MAPERR): Likewise.
6373         (SEGV_ACCERR): Likewise.
6374         (BUS_ADRALN): Likewise.
6375         (BUS_ADRERR): Likewise.
6376         (BUS_OBJERR): Likewise.
6377         (BUS_MCEERR_AR): Likewise.
6378         (BUS_MCEERR_AO): Likewise.
6379         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6380         (TRAP_TRACE): Likewise.
6381         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6382         __USE_XOPEN2K8].
6383         (CLD_KILLED): Likewise.
6384         (CLD_DUMPED): Likewise.
6385         (CLD_TRAPPED): Likewise.
6386         (CLD_STOPPED): Likewise.
6387         (CLD_CONTINUED): Likewise.
6388         (POLL_IN): Likewise.
6389         (POLL_OUT): Likewise.
6390         (POLL_MSG): Likewise.
6391         (POLL_ERR): Likewise.
6392         (POLL_PRI): Likewise.
6393         (POLL_HUP): Likewise.
6394         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6395         (ILL_ILLOPN): Likewise.
6396         (ILL_ILLADR): Likewise.
6397         (ILL_ILLTRP): Likewise.
6398         (ILL_PRVOPC): Likewise.
6399         (ILL_PRVREG): Likewise.
6400         (ILL_COPROC): Likewise.
6401         (ILL_BADSTK): Likewise.
6402         (FPE_INTDIV): Likewise.
6403         (FPE_INTOVF): Likewise.
6404         (FPE_FLTDIV): Likewise.
6405         (FPE_FLTOVF): Likewise.
6406         (FPE_FLTUND): Likewise.
6407         (FPE_FLTRES): Likewise.
6408         (FPE_FLTINV): Likewise.
6409         (FPE_FLTSUB): Likewise.
6410         (SEGV_MAPERR): Likewise.
6411         (SEGV_ACCERR): Likewise.
6412         (BUS_ADRALN): Likewise.
6413         (BUS_ADRERR): Likewise.
6414         (BUS_OBJERR): Likewise.
6415         (BUS_MCEERR_AR): Likewise.
6416         (BUS_MCEERR_AO): Likewise.
6417         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6418         (TRAP_TRACE): Likewise.
6419         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6420         __USE_XOPEN2K8].
6421         (CLD_KILLED): Likewise.
6422         (CLD_DUMPED): Likewise.
6423         (CLD_TRAPPED): Likewise.
6424         (CLD_STOPPED): Likewise.
6425         (CLD_CONTINUED): Likewise.
6426         (POLL_IN): Likewise.
6427         (POLL_OUT): Likewise.
6428         (POLL_MSG): Likewise.
6429         (POLL_ERR): Likewise.
6430         (POLL_PRI): Likewise.
6431         (POLL_HUP): Likewise.
6432         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6433         (ILL_ILLOPN): Likewise.
6434         (ILL_ILLADR): Likewise.
6435         (ILL_ILLTRP): Likewise.
6436         (ILL_PRVOPC): Likewise.
6437         (ILL_PRVREG): Likewise.
6438         (ILL_COPROC): Likewise.
6439         (ILL_BADSTK): Likewise.
6440         (FPE_INTDIV): Likewise.
6441         (FPE_INTOVF): Likewise.
6442         (FPE_FLTDIV): Likewise.
6443         (FPE_FLTOVF): Likewise.
6444         (FPE_FLTUND): Likewise.
6445         (FPE_FLTRES): Likewise.
6446         (FPE_FLTINV): Likewise.
6447         (FPE_FLTSUB): Likewise.
6448         (SEGV_MAPERR): Likewise.
6449         (SEGV_ACCERR): Likewise.
6450         (BUS_ADRALN): Likewise.
6451         (BUS_ADRERR): Likewise.
6452         (BUS_OBJERR): Likewise.
6453         (BUS_MCEERR_AR): Likewise.
6454         (BUS_MCEERR_AO): Likewise.
6455         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6456         (TRAP_TRACE): Likewise.
6457         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6458         __USE_XOPEN2K8].
6459         (CLD_KILLED): Likewise.
6460         (CLD_DUMPED): Likewise.
6461         (CLD_TRAPPED): Likewise.
6462         (CLD_STOPPED): Likewise.
6463         (CLD_CONTINUED): Likewise.
6464         (POLL_IN): Likewise.
6465         (POLL_OUT): Likewise.
6466         (POLL_MSG): Likewise.
6467         (POLL_ERR): Likewise.
6468         (POLL_PRI): Likewise.
6469         (POLL_HUP): Likewise.
6470         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6471         (ILL_ILLOPN): Likewise.
6472         (ILL_ILLADR): Likewise.
6473         (ILL_ILLTRP): Likewise.
6474         (ILL_PRVOPC): Likewise.
6475         (ILL_PRVREG): Likewise.
6476         (ILL_COPROC): Likewise.
6477         (ILL_BADSTK): Likewise.
6478         (ILL_DBLFLT): Likewise.
6479         (ILL_HARDWALL): Likewise.
6480         (FPE_INTDIV): Likewise.
6481         (FPE_INTOVF): Likewise.
6482         (FPE_FLTDIV): Likewise.
6483         (FPE_FLTOVF): Likewise.
6484         (FPE_FLTUND): Likewise.
6485         (FPE_FLTRES): Likewise.
6486         (FPE_FLTINV): Likewise.
6487         (FPE_FLTSUB): Likewise.
6488         (SEGV_MAPERR): Likewise.
6489         (SEGV_ACCERR): Likewise.
6490         (BUS_ADRALN): Likewise.
6491         (BUS_ADRERR): Likewise.
6492         (BUS_OBJERR): Likewise.
6493         (BUS_MCEERR_AR): Likewise.
6494         (BUS_MCEERR_AO): Likewise.
6495         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6496         (TRAP_TRACE): Likewise.
6497         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6498         __USE_XOPEN2K8].
6499         (CLD_KILLED): Likewise.
6500         (CLD_DUMPED): Likewise.
6501         (CLD_TRAPPED): Likewise.
6502         (CLD_STOPPED): Likewise.
6503         (CLD_CONTINUED): Likewise.
6504         (POLL_IN): Likewise.
6505         (POLL_OUT): Likewise.
6506         (POLL_MSG): Likewise.
6507         (POLL_ERR): Likewise.
6508         (POLL_PRI): Likewise.
6509         (POLL_HUP): Likewise.
6510         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6511         (ILL_ILLOPN): Likewise.
6512         (ILL_ILLADR): Likewise.
6513         (ILL_ILLTRP): Likewise.
6514         (ILL_PRVOPC): Likewise.
6515         (ILL_PRVREG): Likewise.
6516         (ILL_COPROC): Likewise.
6517         (ILL_BADSTK): Likewise.
6518         (FPE_INTDIV): Likewise.
6519         (FPE_INTOVF): Likewise.
6520         (FPE_FLTDIV): Likewise.
6521         (FPE_FLTOVF): Likewise.
6522         (FPE_FLTUND): Likewise.
6523         (FPE_FLTRES): Likewise.
6524         (FPE_FLTINV): Likewise.
6525         (FPE_FLTSUB): Likewise.
6526         (SEGV_MAPERR): Likewise.
6527         (SEGV_ACCERR): Likewise.
6528         (BUS_ADRALN): Likewise.
6529         (BUS_ADRERR): Likewise.
6530         (BUS_OBJERR): Likewise.
6531         (BUS_MCEERR_AR): Likewise.
6532         (BUS_MCEERR_AO): Likewise.
6533         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6534         (TRAP_TRACE): Likewise.
6535         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6536         __USE_XOPEN2K8].
6537         (CLD_KILLED): Likewise.
6538         (CLD_DUMPED): Likewise.
6539         (CLD_TRAPPED): Likewise.
6540         (CLD_STOPPED): Likewise.
6541         (CLD_CONTINUED): Likewise.
6542         (POLL_IN): Likewise.
6543         (POLL_OUT): Likewise.
6544         (POLL_MSG): Likewise.
6545         (POLL_ERR): Likewise.
6546         (POLL_PRI): Likewise.
6547         (POLL_HUP): Likewise.
6548         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6549         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6550
6551         [BZ #16670]
6552         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6553         before #include of <time.h>.
6554         [!__USE_XOPEN2K] (__need_timespec): Likewise.
6555         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6556         (test-xfail-UNIX98/sched.h/conform): Likewise.
6557
6558 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6559
6560         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6561         error absence of trapping exception support.
6562         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6563
6564 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6565
6566         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6567         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6568         * timezone/Makefile (testdata): Move definition above include of
6569         Rules.
6570         (test-zones): New variable.
6571         (tests-special): Add zone files.
6572         (build-testdata): Use $(evaluate-test).
6573
6574         * elf/Makefile (tests-special): Rename tests to end with .out.
6575         ($(objpfx)noload-mem): Likewise.
6576         ($(objpfx)tst-leaks1-mem): Likewise.
6577         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6578         * iconv/Makefile (xtests-special): Change test-iconvconfig to
6579         $(objpfx)test-iconvconfig.out.
6580         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
6581         set -e inside subshell and redirect output to file.
6582         * iconvdata/Makefile (generated): Rename tests to end with .out.
6583         Correct type.
6584         (tests-special): Rename tests to end with .out.
6585         ($(objpfx)mtrace-tst-loading): Likewise.
6586         * intl/Makefile (generated): Likewise.
6587         (tests-special): Likewise.
6588         ($(objpfx)mtrace-tst-gettext): Likewise.
6589         * misc/Makefile (generated): Likewise.
6590         (tests-special): Likewise.
6591         ($(objpfx)tst-error1-mem): Likewise.
6592         * nptl/Makefile (tests-special): Likewise.
6593         ($(objpfx)tst-stack3-mem): Likewise.
6594         (generated): Likewise.
6595         * posix/Makefile (generated): Likewise.
6596         (tests-special): Likewise.
6597         (xtests-special): Likewise.
6598         ($(objpfx)tst-fnmatch-mem): Likewise.
6599         ($(objpfx)bug-regex2-mem): Likewise.
6600         ($(objpfx)bug-regex14-mem): Likewise.
6601         ($(objpfx)bug-regex21-mem): Likewise.
6602         ($(objpfx)bug-regex31-mem): Likewise.
6603         ($(objpfx)tst-vfork3-mem): Likewise.
6604         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6605         ($(objpfx)tst-pcre-mem): Likewise.
6606         ($(objpfx)tst-boost-mem): Likewise.
6607         ($(objpfx)bug-ga2-mem): Likewise.
6608         ($(objpfx)bug-glob2-mem): Likewise.
6609         * resolv/Makefile (generate): Likewise.
6610         (tests-special): Likewise.
6611         (xtests-special): Likewise.
6612         (generated): Likewise.
6613         ($(objpfx)mtrace-tst-leaks): Likewise.
6614         ($(objpfx)mtrace-tst-leaks2): Likewise.
6615
6616         * scripts/merge-test-results.sh: New file.
6617         * Makefile (tests-special-notdir): New variable.
6618         (tests): Run merge-test-results.sh.
6619         (xtests): Likewise.
6620         * Rules (tests-special-notdir): New variable.
6621         (xtests-special-notdir): Likewise.
6622         (tests): Run merge-test-results.sh
6623         (xtests): Likewise.
6624
6625         * Makeconfig (test-xfail-name): New variable.
6626         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6627         compute variable name for expected failures.
6628         * conform/Makefile (conformtest-headers-data): New variable.
6629         (conformtest-standards): Likewise.
6630         (conformtest-headers-ISO): Likewise.
6631         (conformtest-headers-ISO99): Likewise.
6632         (conformtest-headers-ISO11): Likewise.
6633         (conformtest-headers-POSIX): Likewise.
6634         (conformtest-headers-XPG3): Likewise.
6635         (conformtest-headers-XPG4): Likewise.
6636         (conformtest-headers-UNIX98): Likewise.
6637         (conformtest-headers-XOPEN2K): Likewise.
6638         (conformtest-headers-POSIX2008): Likewise.
6639         (conformtest-headers-XOPEN2K8): Likewise.
6640         (conformtest-header-list-base): Likewise.
6641         (conformtest-header-list-tests): Likewise.
6642         (conformtest-header-base): Likewise.
6643         (conformtest-header-tests): Likewise.
6644         (tests-special): Add $(conformtest-header-list-tests).  If
6645         [$(fast-check) && !$(cross-compiling)], add
6646         $(conformtest-header-tests) instead of
6647         $(objpfx)run-conformtest.out.
6648         (generated): Add $(conformtest-header-list-base).  If
6649         [$(fast-check) && !$(cross-compiling)], add
6650         $(conformtest-header-base).  Remove previous setting.
6651         ($(conformtest-header-list-tests)): New target.
6652         (test-xfail-run-conformtest): Remove variable.
6653         ($(objpfx)run-conformtest.out): Remove target.
6654         (test-xfail-ISO11/complex.h/conform): New variable.
6655         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6656         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6657         (test-xfail-XPG3/varargs.h/conform): Likewise.
6658         (test-xfail-XPG4/varargs.h/conform): Likewise.
6659         (test-xfail-UNIX98/varargs.h/conform): Likewise.
6660         (test-xfail-XPG4/ndbm.h/conform): Likewise.
6661         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6662         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6663         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6664         (test-xfail-XPG3/fcntl.h/conform): Likewise.
6665         (test-xfail-XPG3/ftw.h/conform): Likewise.
6666         (test-xfail-XPG3/grp.h/conform): Likewise.
6667         (test-xfail-XPG3/langinfo.h/conform): Likewise.
6668         (test-xfail-XPG3/limits.h/conform): Likewise.
6669         (test-xfail-XPG3/pwd.h/conform): Likewise.
6670         (test-xfail-XPG3/search.h/conform): Likewise.
6671         (test-xfail-XPG3/signal.h/conform): Likewise.
6672         (test-xfail-XPG3/stdio.h/conform): Likewise.
6673         (test-xfail-XPG3/stdlib.h/conform): Likewise.
6674         (test-xfail-XPG3/string.h/conform): Likewise.
6675         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6676         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6677         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6678         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6679         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6680         (test-xfail-XPG3/sys/types.h/conform): Likewise.
6681         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6682         (test-xfail-XPG3/termios.h/conform): Likewise.
6683         (test-xfail-XPG3/time.h/conform): Likewise.
6684         (test-xfail-XPG3/unistd.h/conform): Likewise.
6685         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6686         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6687         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6688         (test-xfail-XPG4/netdb.h/conform): Likewise.
6689         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6690         (test-xfail-XPG4/signal.h/conform): Likewise.
6691         (test-xfail-XPG4/stdio.h/conform): Likewise.
6692         (test-xfail-XPG4/stdlib.h/conform): Likewise.
6693         (test-xfail-XPG4/stropts.h/conform): Likewise.
6694         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6695         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6696         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6697         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6698         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6699         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6700         (test-xfail-XPG4/sys/time.h/conform): Likewise.
6701         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6702         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6703         (test-xfail-XPG4/termios.h/conform): Likewise.
6704         (test-xfail-XPG4/ucontext.h/conform): Likewise.
6705         (test-xfail-XPG4/unistd.h/conform): Likewise.
6706         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6707         (test-xfail-POSIX/sched.h/conform): Likewise.
6708         (test-xfail-POSIX/signal.h/conform): Likewise.
6709         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6710         (test-xfail-POSIX/tar.h/conform): Likewise.
6711         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6712         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6713         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6714         (test-xfail-UNIX98/netdb.h/conform): Likewise.
6715         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6716         (test-xfail-UNIX98/sched.h/conform): Likewise.
6717         (test-xfail-UNIX98/signal.h/conform): Likewise.
6718         (test-xfail-UNIX98/stdio.h/conform): Likewise.
6719         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6720         (test-xfail-UNIX98/stropts.h/conform): Likewise.
6721         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6722         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6723         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6724         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6725         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6726         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6727         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6728         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6729         (test-xfail-UNIX98/unistd.h/conform): Likewise.
6730         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6731         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6732         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6733         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6734         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6735         (test-xfail-XOPEN2K/math.h/conform): Likewise.
6736         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6737         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6738         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6739         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6740         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6741         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6742         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6743         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6744         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6745         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6746         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6747         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6748         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6749         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6750         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6751         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6752         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6753         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6754         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6755         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6756         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6757         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6758         (test-xfail-POSIX2008/signal.h/conform): Likewise.
6759         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6760         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6761         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6762         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6763         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6764         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6765         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6766         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6767         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6768         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6769         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6770         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6771         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6772         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6773         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6774         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6775         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6776         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6777         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6778         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6779         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6780         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6781         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6782         (conformtest-cc-flags): Likewise.
6783         ($(conformtest-header-tests): New target.
6784         * conform/check-header-lists.sh: New file.
6785         * conform/run-conformtest.sh: Remove.
6786
6787         * conform/conformtest.pl: Allow ' and \ in values given for
6788         constants.
6789         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6790         inclusion.
6791         [POSIX] (sys/types.h): Likewise.
6792         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6793         inclusion.
6794         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6795         inclusion.
6796         * conform/data/signal.h-data (SIGIO): Remove expectation.
6797         [XPG3] (SIGBUS): Do not expect.
6798         [POSIX || XPG3] (SIGPOLL): Likewise.
6799         [POSIX || XPG3] (SIGPROF): Likewise.
6800         [POSIX || XPG3] (SIGSYS): Likewise.
6801         [XPG3] (SIGTRAP): Likewise.
6802         [POSIX || XPG3] (SIGURG): Likewise.
6803         [POSIX || XPG3] (SIGVTALRM): Likewise.
6804         [POSIX || XPG3] (SIGXCPU): Likewise.
6805         [POSIX || XPG3] (SIGXFSZ): Likewise.
6806         [POSIX] (SA_SIGINFO): Expect.
6807         [XPG3] (siginfo_t): Do not expect type or contents.
6808         [POSIX] (si_pid): Do not expect element.
6809         [POSIX] (si_uid): Likewise.
6810         [POSIX] (si_addr): Likewise.
6811         [POSIX] (si_status): Likewise.
6812         [POSIX] (si_band): Likewise.
6813         [XPG4] (si_value): Likewise.
6814         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6815         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6816         [POSIX || XPG3] (ILL_ILLADR): Likewise.
6817         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6818         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6819         [POSIX || XPG3] (ILL_PRVREG): Likewise.
6820         [POSIX || XPG3] (ILL_COPROC): Likewise.
6821         [POSIX || XPG3] (ILL_BADSTK): Likewise.
6822         [POSIX || XPG3] (FPE_INTDIV): Likewise.
6823         [POSIX || XPG3] (FPE_INTOVF): Likewise.
6824         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6825         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6826         [POSIX || XPG3] (FPE_FLTUND): Likewise.
6827         [POSIX || XPG3] (FPE_FLTRES): Likewise.
6828         [POSIX || XPG3] (FPE_FLTINV): Likewise.
6829         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6830         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6831         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6832         [POSIX || XPG3] (BUS_ADRALN): Likewise.
6833         [POSIX || XPG3] (BUS_ADRERR): Likewise.
6834         [POSIX || XPG3] (BUS_OBJERR): Likewise.
6835         [POSIX || XPG3] (CLD_EXITED): Likewise.
6836         [POSIX || XPG3] (CLD_KILLED): Likewise.
6837         [POSIX || XPG3] (CLD_DUMPED): Likewise.
6838         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6839         [POSIX || XPG3] (CLD_STOPPED): Likewise.
6840         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6841         [POSIX || XPG3] (POLL_IN): Likewise.
6842         [POSIX || XPG3] (POLL_OUT): Likewise.
6843         [POSIX || XPG3] (POLL_MSG): Likewise.
6844         [POSIX || XPG3] (POLL_ERR): Likewise.
6845         [POSIX || XPG3] (POLL_PRI): Likewise.
6846         [POSIX || XPG3] (POLL_HUP): Likewise.
6847         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6848         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6849         (SIG*): Do not allow.
6850         [XPG3] (si_*): Likewise.
6851         [XPG3] (SI_*): Likewise.
6852         [XPG3 || XPG4] (sigev_*): Likewise.
6853         [XPG3 || XPG4] (SIGEV_*): Likewise.
6854         [XPG3 || XPG4] (sival_*): Likewise.
6855         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6856         [POSIX || XPG3] (BUS_*): Likewise.
6857         [POSIX || XPG3] (CLD_*): Likewise.
6858         [POSIX || XPG3] (FPE_*): Likewise.
6859         [POSIX || XPG3] (ILL_*): Likewise.
6860         [POSIX || XPG3] (POLL_*): Likewise.
6861         [POSIX || XPG3] (SEGV_*): Likewise.
6862         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6863         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6864         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6865         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6866         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6867         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6868         Specify type and value.
6869         (TVERSLEN): Likewise.
6870         (REGTYPE): Likewise.
6871         (AREGTYPE): Likewise.
6872         (LNKTYPE): Likewise.
6873         (SYMTYPE): Likewise.
6874         (CHRTYPE): Likewise.
6875         (BLKTYPE): Likewise.
6876         (DIRTYPE): Likewise.
6877         (FIFOTYPE): Likewise.
6878         (CONTTYPE): Likewise.
6879         (TSUID): Likewise.
6880         (TSGID): Likewise.
6881         (TSVTX): Likewise.
6882         (TUREAD): Likewise.
6883         (TUWRITE): Likewise.
6884         (TUEXEC): Likewise.
6885         (TGREAD): Likewise.
6886         (TGWRITE): Likewise.
6887         (TGEXEC): Likewise.
6888         (TOREAD): Likewise.
6889         (TOWRITE): Likewise.
6890         (TOEXEC): Likewise.
6891         [POSIX] (TSVTX): Expect constant.
6892
6893 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
6894
6895         * Makefile (tests): Change dependencies to ....
6896         (tests-special): ... additions to this variable.
6897         (tests): Depend on $(tests-special).
6898         * Makerules (check-abi-list): New variable.
6899         (check-abi): Depend on $(check-abi-list).
6900         [$(subdir) = elf] (tests-special): Add
6901         $(objpfx)check-abi-libc.out.
6902         [$(build-shared) = yes && subdir] (tests-special): Add
6903         $(check-abi-list).
6904         [$(build-shared) = yes && subdir] (tests): Do not depend on
6905         check-abi.
6906         * Rules (tests): Depend on $(tests-special).
6907         (xtests): Depend on $(xtests-special).
6908         * catgets/Makefile (tests): Change dependencies to ....
6909         (tests-special): ... additions to this variable.
6910         * conform/Makefile (tests): Change dependencies to ....
6911         (tests-special): ... additions to this variable.
6912         * elf/Makefile (tests): Change dependencies to ....
6913         (tests-special): ... additions to this variable.
6914         * grp/Makefile (tests): Change dependencies to ....
6915         (tests-special): ... additions to this variable.
6916         * iconv/Makefile (xtests): Change dependencies to ....
6917         (xtests-special): ... additions to this variable.
6918         * iconvdata/Makefile (tests): Change dependencies to ....
6919         (tests-special): ... additions to this variable.
6920         * intl/Makefile (tests): Change dependencies to ....
6921         (tests-special): ... additions to this variable.  Also add
6922         $(objpfx)tst-gettext.out.
6923         * io/Makefile (tests): Change dependencies to ....
6924         (tests-special): ... additions to this variable.
6925         * libio/Makefile (tests): Change dependencies to ....
6926         (tests-special): ... additions to this variable.
6927         * malloc/Makefile (tests): Change dependencies to ....
6928         (tests-special): ... additions to this variable.
6929         * misc/Makefile (tests): Change dependencies to ....
6930         (tests-special): ... additions to this variable.
6931         * nptl/Makefile (tests): Change dependencies to ....
6932         (tests-special): ... additions to this variable.
6933         * nptl_db/Makefile (tests): Change dependencies to ....
6934         (tests-special): ... additions to this variable.
6935         * posix/Makefile (tests): Change dependencies to ....
6936         (tests-special): ... additions to this variable.
6937         (xtests): Change dependencies to ....
6938         (xtests-special): ... additions to this variable.
6939         * resolv/Makefile (tests): Change dependencies to ....
6940         (tests-special): ... additions to this variable.
6941         (xtests): Change dependencies to ....
6942         (xtests-special): ... additions to this variable.
6943         * stdio-common/Makefile (tests): Change dependencies to ....
6944         (tests-special): ... additions to this variable.
6945         (do-tst-unbputc): Remove target.
6946         (do-tst-printf): Likewise.
6947         * stdlib/Makefile (tests): Change dependencies to ....
6948         (tests-special): ... additions to this variable.
6949         * string/Makefile (tests): Change dependencies to ....
6950         (tests-special): ... additions to this variable.
6951         * sysdeps/x86/Makefile (tests): Change dependencies to ....
6952         (tests-special): ... additions to this variable.
6953
6954         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6955         whole file.
6956         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6957         whole file.
6958         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6959         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6960
6961         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6962         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6963         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6964         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6965         * conform/data/libgen.h-data [XPG3]: Likewise.
6966         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6967         * conform/data/ndbm.h-data [XPG3]: Likewise.
6968         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6969         * conform/data/netdb.h-data [XPG3]: Likewise.
6970         * conform/data/netinet/in.h-data [XPG3]: Likewise.
6971         * conform/data/poll.h-data [XPG3]: Likewise.
6972         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6973         * conform/data/strings.h-data [XPG3]: Likewise.
6974         * conform/data/stropts.h-data [XPG3]: Likewise.
6975         * conform/data/sys/mman.h-data [XPG3]: Likewise.
6976         * conform/data/sys/resource.h-data [XPG3]: Likewise.
6977         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6978         Likewise.
6979         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6980         * conform/data/sys/time.h-data [XPG3]: Likewise.
6981         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6982         * conform/data/sys/uio.h-data [XPG3]: Likewise.
6983         * conform/data/sys/un.h-data [XPG3]: Likewise.
6984         * conform/data/syslog.h-data [XPG3]: Likewise.
6985         * conform/data/ucontext.h-data [XPG3]: Likewise.
6986         * conform/data/utmpx.h-data [XPG3]: Likewise.
6987         * conform/data/varargs.h-data [UNIX98]: Enable file.
6988
6989         * manual/Makefile (INSTALL_INFO): Remove variable setting.
6990
6991         * math/libm-test.inc (struct test_f_f_data): Move expected results
6992         into structure for each rounding mode.
6993         (struct test_ff_f_data): Likewise.
6994         (struct test_ff_f_data_nexttoward): Likewise.
6995         (struct test_fi_f_data): Likewise.
6996         (struct test_fl_f_data): Likewise.
6997         (struct test_if_f_data): Likewise.
6998         (struct test_fff_f_data): Likewise.
6999         (struct test_c_f_data): Likewise.
7000         (struct test_f_f1_data): Likewise.
7001         (struct test_fF_f1_data): Likewise.
7002         (struct test_ffI_f1_data): Likewise.
7003         (struct test_c_c_data): Likewise.
7004         (struct test_cc_c_data): Likewise.
7005         (struct test_f_i_data): Likewise.
7006         (struct test_ff_i_data): Likewise.
7007         (struct test_f_l_data): Likewise.
7008         (struct test_f_L_data): Likewise.
7009         (struct test_fFF_11_data): Likewise.
7010         (RM_): New macro.
7011         (RM_FE_DOWNWARD): Likewise.
7012         (RM_FE_TONEAREST): Likewise.
7013         (RM_FE_TOWARDZERO): Likewise.
7014         (RM_FE_UPWARD): Likewise.
7015         (RUN_TEST_LOOP_f_f): Update references to expected results.
7016         (RUN_TEST_LOOP_2_f): Likewise.
7017         (RUN_TEST_LOOP_fff_f): Likewise.
7018         (RUN_TEST_LOOP_c_f): Likewise.
7019         (RUN_TEST_LOOP_f_f1): Likewise.
7020         (RUN_TEST_LOOP_fF_f1): Likewise.
7021         (RUN_TEST_LOOP_fI_f1): Likewise.
7022         (RUN_TEST_LOOP_ffI_f1): Likewise.
7023         (RUN_TEST_LOOP_c_c): Likewise.
7024         (RUN_TEST_LOOP_cc_c): Likewise.
7025         (RUN_TEST_LOOP_f_i): Likewise.
7026         (RUN_TEST_LOOP_f_i_tg): Likewise.
7027         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7028         (RUN_TEST_LOOP_f_b): Likewise.
7029         (RUN_TEST_LOOP_f_b_tg): Likewise.
7030         (RUN_TEST_LOOP_f_l): Likewise.
7031         (RUN_TEST_LOOP_f_L): Likewise.
7032         (RUN_TEST_LOOP_fFF_11): Likewise.
7033         * math/gen-libm-test.pl (parse_args): Output four copies of
7034         expected results for each test.
7035
7036         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7037         (__ASSUME_UTIMES): Remove.
7038         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7039         (__ASSUME_UTIMES): Likewise.
7040
7041         * math/gen-auto-libm-tests.c: Update comment on output format.
7042         (output_for_one_input_case): Generate before-rounding and
7043         after-rounding information as conditions on output flags not
7044         floating-point format.
7045         * math/auto-libm-test-out: Regenerated.
7046         * math/gen-libm-test.pl (cond_value): New function.
7047         (or_cond_value): Use cond_value.
7048         (generate_testfile): Handle conditional exceptions.
7049
7050 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7051
7052         * math/libm-test.inc (max_valid_error): New variable.
7053         (init_max_error): Take new argument specifying whether function
7054         results are exactly determined.  Set max_valid_error and bound
7055         other variables for errors based on this argument.
7056         (set_max_error): Do not record results above max_valid_error.
7057         (check_float_internal): Only accept errors of up to 0.5ulps if
7058         also at most max_valid_error.
7059         (START): Take new argument EXACT and pass it to init_max_error.
7060         (acos_test): Update call to START.
7061         (acos_test_tonearest): Likewise.
7062         (acos_test_towardzero): Likewise.
7063         (acos_test_downward): Likewise.
7064         (acos_test_upward): Likewise.
7065         (acosh_test): Likewise.
7066         (asin_test): Likewise.
7067         (asin_test_tonearest): Likewise.
7068         (asin_test_towardzero): Likewise.
7069         (asin_test_downward): Likewise.
7070         (asin_test_upward): Likewise.
7071         (asinh_test): Likewise.
7072         (atan_test): Likewise.
7073         (atanh_test): Likewise.
7074         (atan2_test): Likewise.
7075         (cabs_test): Likewise.
7076         (cacos_test): Likewise.
7077         (cacosh_test): Likewise.
7078         (carg_test): Likewise.
7079         (casin_test): Likewise.
7080         (casinh_test): Likewise.
7081         (catan_test): Likewise.
7082         (catanh_test): Likewise.
7083         (cbrt_test): Likewise.
7084         (ccos_test): Likewise.
7085         (ccosh_test): Likewise.
7086         (ceil_test): Likewise.
7087         (cexp_test): Likewise.
7088         (cimag_test): Likewise.
7089         (clog_test): Likewise.
7090         (clog10_test): Likewise.
7091         (conj_test): Likewise.
7092         (copysign_test): Likewise.
7093         (cos_test): Likewise.
7094         (cos_test_tonearest): Likewise.
7095         (cos_test_towardzero): Likewise.
7096         (cos_test_downward): Likewise.
7097         (cos_test_upward): Likewise.
7098         (cosh_test): Likewise.
7099         (cosh_test_tonearest): Likewise.
7100         (cosh_test_towardzero): Likewise.
7101         (cosh_test_downward): Likewise.
7102         (cosh_test_upward): Likewise.
7103         (cpow_test): Likewise.
7104         (cproj_test): Likewise.
7105         (creal_test): Likewise.
7106         (csin_test): Likewise.
7107         (csinh_test): Likewise.
7108         (csqrt_test): Likewise.
7109         (ctan_test): Likewise.
7110         (ctan_test_tonearest): Likewise.
7111         (ctan_test_towardzero): Likewise.
7112         (ctan_test_downward): Likewise.
7113         (ctan_test_upward): Likewise.
7114         (ctanh_test): Likewise.
7115         (ctanh_test_tonearest): Likewise.
7116         (ctanh_test_towardzero): Likewise.
7117         (ctanh_test_downward): Likewise.
7118         (ctanh_test_upward): Likewise.
7119         (erf_test): Likewise.
7120         (erfc_test): Likewise.
7121         (exp_test): Likewise.
7122         (exp_test_tonearest): Likewise.
7123         (exp_test_towardzero): Likewise.
7124         (exp_test_downward): Likewise.
7125         (exp_test_upward): Likewise.
7126         (exp10_test): Likewise.
7127         (exp10_test_tonearest): Likewise.
7128         (exp10_test_towardzero): Likewise.
7129         (exp10_test_downward): Likewise.
7130         (exp10_test_upward): Likewise.
7131         (pow10_test): Likewise.
7132         (exp2_test): Likewise.
7133         (expm1_test): Likewise.
7134         (expm1_test_tonearest): Likewise.
7135         (expm1_test_towardzero): Likewise.
7136         (expm1_test_downward): Likewise.
7137         (expm1_test_upward): Likewise.
7138         (fabs_test): Likewise.
7139         (fdim_test): Likewise.
7140         (floor_test): Likewise.
7141         (fma_test): Likewise.
7142         (fma_test_towardzero): Likewise.
7143         (fma_test_downward): Likewise.
7144         (fma_test_upward): Likewise.
7145         (fmax_test): Likewise.
7146         (fmin_test): Likewise.
7147         (fmod_test): Likewise.
7148         (fpclassify_test): Likewise.
7149         (frexp_test): Likewise.
7150         (hypot_test): Likewise.
7151         (ilogb_test): Likewise.
7152         (isfinite_test): Likewise.
7153         (finite_test): Likewise.
7154         (isgreater_test): Likewise.
7155         (isgreaterequal_test): Likewise.
7156         (isinf_test): Likewise.
7157         (isless_test): Likewise.
7158         (islessequal_test): Likewise.
7159         (islessgreater_test): Likewise.
7160         (isnan_test): Likewise.
7161         (isnormal_test): Likewise.
7162         (issignaling_test): Likewise.
7163         (isunordered_test): Likewise.
7164         (j0_test): Likewise.
7165         (j1_test): Likewise.
7166         (jn_test): Likewise.
7167         (ldexp_test): Likewise.
7168         (lgamma_test): Likewise.
7169         (gamma_test): Likewise.
7170         (lrint_test): Likewise.
7171         (lrint_test_tonearest): Likewise.
7172         (lrint_test_towardzero): Likewise.
7173         (lrint_test_downward): Likewise.
7174         (lrint_test_upward): Likewise.
7175         (llrint_test): Likewise.
7176         (llrint_test_tonearest): Likewise.
7177         (llrint_test_towardzero): Likewise.
7178         (llrint_test_downward): Likewise.
7179         (llrint_test_upward): Likewise.
7180         (log_test): Likewise.
7181         (log10_test): Likewise.
7182         (log1p_test): Likewise.
7183         (log2_test): Likewise.
7184         (logb_test): Likewise.
7185         (logb_test_downward): Likewise.
7186         (lround_test): Likewise.
7187         (llround_test): Likewise.
7188         (modf_test): Likewise.
7189         (nearbyint_test): Likewise.
7190         (nextafter_test): Likewise.
7191         (nexttoward_test): Likewise.
7192         (pow_test): Likewise.
7193         (pow_test_tonearest): Likewise.
7194         (pow_test_towardzero): Likewise.
7195         (pow_test_downward): Likewise.
7196         (pow_test_upward): Likewise.
7197         (remainder_test): Likewise.
7198         (drem_test): Likewise.
7199         (remainder_test_tonearest): Likewise.
7200         (drem_test_tonearest): Likewise.
7201         (remainder_test_towardzero): Likewise.
7202         (drem_test_towardzero): Likewise.
7203         (remainder_test_downward): Likewise.
7204         (drem_test_downward): Likewise.
7205         (remainder_test_upward): Likewise.
7206         (drem_test_upward): Likewise.
7207         (remquo_test): Likewise.
7208         (rint_test): Likewise.
7209         (rint_test_tonearest): Likewise.
7210         (rint_test_towardzero): Likewise.
7211         (rint_test_downward): Likewise.
7212         (rint_test_upward): Likewise.
7213         (round_test): Likewise.
7214         (scalb_test): Likewise.
7215         (scalbn_test): Likewise.
7216         (scalbln_test): Likewise.
7217         (signbit_test): Likewise.
7218         (sin_test): Likewise.
7219         (sin_test_tonearest): Likewise.
7220         (sin_test_towardzero): Likewise.
7221         (sin_test_downward): Likewise.
7222         (sin_test_upward): Likewise.
7223         (sincos_test): Likewise.
7224         (sinh_test): Likewise.
7225         (sinh_test_tonearest): Likewise.
7226         (sinh_test_towardzero): Likewise.
7227         (sinh_test_downward): Likewise.
7228         (sinh_test_upward): Likewise.
7229         (sqrt_test): Likewise.
7230         (sqrt_test_tonearest): Likewise.
7231         (sqrt_test_towardzero): Likewise.
7232         (sqrt_test_downward): Likewise.
7233         (sqrt_test_upward): Likewise.
7234         (tan_test): Likewise.
7235         (tan_test_tonearest): Likewise.
7236         (tan_test_towardzero): Likewise.
7237         (tan_test_downward): Likewise.
7238         (tan_test_upward): Likewise.
7239         (tanh_test): Likewise.
7240         (tgamma_test): Likewise.
7241         (trunc_test): Likewise.
7242         (y0_test): Likewise.
7243         (y1_test): Likewise.
7244         (yn_test): Likewise.
7245         (significand_test): Likewise.
7246
7247         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7248         individual tests in comment.
7249         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7250         (prev_max_error): New variable.
7251         (prev_real_max_error): Likewise.
7252         (prev_imag_max_error): Likewise.
7253         (compare_ulp_data): Don't refer to test names in comment.
7254         (find_test_ulps): Remove function.
7255         (find_function_ulps): Likewise.
7256         (find_complex_function_ulps): Likewise.
7257         (init_max_error): Take function name as argument.  Look up ulps
7258         for that function.
7259         (print_ulps): Remove function.
7260         (print_max_error): Use prev_max_error instead of calling
7261         find_function_ulps.
7262         (print_complex_max_error): Use prev_real_max_error and
7263         prev_imag_max_error instead of calling find_complex_function_ulps.
7264         (check_float_internal): Take max_ulp parameter instead of calling
7265         find_test_ulps.  Don't call print_ulps.
7266         (check_float): Update call to check_float_internal.
7267         (check_complex): Update calls to check_float_internal.
7268         (START): Pass argument to init_max_error.
7269         * math/gen-libm-test.pl (%results): Don't include "kind"
7270         information.
7271         (parse_ulps): Don't handle ulps of individual tests.
7272         (print_ulps_file): Likewise.
7273         (output_ulps): Likewise.
7274         * math/README.libm-test: Update.
7275         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7276         individual tests.
7277         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7278         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7279         * sysdeps/arm/libm-test-ulps: Likewise.
7280         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7281         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7282         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7283         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7284         * sysdeps/microblaze/libm-test-ulps: Likewise.
7285         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7286         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7287         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7288         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7289         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7290         * sysdeps/sh/libm-test-ulps: Likewise.
7291         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7292         * sysdeps/tile/libm-test-ulps: Likewise.
7293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7294
7295 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
7296
7297         * math/libm-test.inc (print_complex_max_error): Check separately
7298         whether real and imaginary errors are within allowed range and
7299         pass 0 to print_complex_function_ulps instead of value within
7300         allowed range.
7301
7302 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7303
7304         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7305         formatting.
7306         (get_handles_fopen): Likewise.
7307         (do_write_test): Likewise.
7308
7309         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7310
7311         * libio/fileops.c (do_ftell): Use cached offset when
7312         available.
7313         * libio/iofwide.c (do_ftell_wide): Likewise.
7314         * libio/iofdopen.c (_IO_new_fdopen): Don't use
7315         _IO_file_attach.
7316         * libio/wfileops.c (_IO_fwide): Don't cache offset.
7317
7318         [BZ #16532]
7319         * libio/libioP.h (get_file_offset): New function.
7320         * libio/fileops.c (get_file_offset): Likewise.
7321         (do_ftell): Likewise.
7322         (_IO_new_file_seekoff): Split out ftell logic.
7323         * libio/wfileops.c (do_ftell_wide): Likewise.
7324         (_IO_wfile_seekoff): Split out ftell logic.
7325         * libio/tst-ftell-active-handler.c: New test case.
7326         * libio/Makefile (tests): Add it.
7327
7328 2014-03-03  Roland McGrath  <roland@hack.frob.com>
7329
7330         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7331         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7332
7333 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7334
7335         [BZ #16639]
7336         * nscd/connections.c (nscd_init): Call do_exit.
7337         (start_threads): Call do_exit and notify_parent.
7338         (begin_drop_privileges): Call do_exit.
7339         (finish_drop_privileges): Likewise.
7340         * nscd/selinux.c (preserve_capabilities): Likewise.
7341         (install_real_capabilities): Likewise.
7342         (nscd_selinux_enabled): Likewise.
7343         (avc_create_thread): Likewise.
7344         (avc_alloc_lock): Likewise.
7345         (nscd_avc_init): Likewise.
7346         * nscd/nscd.c (parent_fd): New static variable.
7347         (main): Create a pipe between parent and child processes.
7348         Skip closing parent_fd.
7349         (monitor_child): New function.
7350         (do_exit): Likewise.
7351         (notify_parent): Likewise.
7352         * nscd/nscd.h (notify_parent): Likewise.
7353         (do_exit): Likewise.
7354
7355 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
7356
7357         * malloc/malloc.c (__libc_calloc): Revert last change.
7358
7359 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7360
7361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7362
7363 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7364
7365         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7367         implementation.
7368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7369         (__libc_ifunc_impl_list): Likewise.
7370         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7371         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7372         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7373         * string/strrchr.c: Define STRRCHR.
7374
7375 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
7376
7377         * benchtest/bench-strtok.c (simple_strtok): Delete.
7378         (strtok_string): Use as benchmark.
7379         * string/strtok (STRTOK): New macro.
7380
7381 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
7382
7383         * manual/threads.texi: Add header and standard comments to all
7384         functions.
7385
7386         * elf/dl-lookup.c (check_match): New function.
7387         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7388         (do_lookup_x): Remove nested function check_match. Use non-nested
7389         function check_match.
7390
7391 2014-02-28  Roland McGrath  <roland@hack.frob.com>
7392
7393         * csu/Makefile (generated, before-compile): Use += rather than =.
7394         * catgets/Makefile (generated, generated-dirs): Likewise.
7395         * debug/Makefile (generated): Likewise.
7396         * dlfcn/Makefile (generated): Likewise.
7397         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7398         * iconvdata/Makefile (before-compile, generated): Likewise.
7399         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7400         * libio/Makefile (generated): Likewise.
7401         * malloc/Makefile (generated): Likewise.
7402         * manual/Makefile (generated, generated-dirs): Likewise.
7403         * misc/Makefile (generated): Likewise.
7404         * posix/Makefile (generated): Likewise.
7405         * resolv/Makefile (generated): Likewise.
7406         * sunrpc/Makefile (generated, generated-dirs): Likewise.
7407         * timezone/Makefile (generated, generated-dirs): Likewise.
7408
7409         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7410
7411 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7412
7413         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7414         power8 implementation.
7415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7416         file: POWER8 llround ifunc implementation.
7417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7418         (__lllround): Add POWER8 implementation.
7419         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7420         POWER8 llround implementation.
7421
7422         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7423         power8 implementation.
7424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7425         file: POWER8 llrint ifunc implementation.
7426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7427         Add POWER8 implementation.
7428         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7429         POWER8 llrint implementation.
7430
7431         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7432         power8 implementation.
7433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7434         file: POWER8 finite ifunc implementation.
7435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7436         Add POWER8 implementation.
7437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7438         Likewise.
7439         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7440         POWER8 finite implementation.
7441         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7442
7443         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7444         power8 implementation.
7445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7446         file: POWER8 isinf ifunc implementation.
7447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7448         POWER8 implementation.
7449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7450         Likewise.
7451         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7452         isinf implementation.
7453         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7454
7455         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7456         (INIT_ARCH): Add hwcap2 initialization.
7457         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7458         power8 implementation.
7459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7460         file: POWER8 isnan ifunc implementation.
7461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7462         POWER8 implementation.
7463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7464         Likewise.
7465         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7466         isnan implementation.
7467         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7468
7469 2014-02-27  Joey Ye  <joey.ye@arm.com>
7470
7471         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7472         (_FP_NANFRAC_Q): Set to zero.
7473
7474 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7475
7476         [BZ #16623]
7477         * math/auto-libm-test-in: New test inputs.
7478         * math/auto-libm-test-out: Regenerate.
7479         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7480         and DA.
7481         (__cos): Likewise.
7482         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7483
7484 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
7485
7486         * scripts/evaluate-test.sh: Take new argument indicating whether
7487         failure is expected.
7488         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7489         indicating whether failure is expected.
7490         * conform/Makefile (test-xfail-run-conformtest): New variable.
7491         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7492         level.
7493         * posix/Makefile (test-xfail-annexc): New variable.
7494         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7495
7496 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
7497
7498         * argp/Makefile: Include Makeconfig immediately after defining
7499         subdir.
7500         * assert/Makefile: Likewise.
7501         * benchtests/Makefile: Likewise.
7502         * catgets/Makefile: Likewise.
7503         * conform/Makefile: Likewise.
7504         * crypt/Makefile: Likewise.
7505         * csu/Makefile: Likewise.
7506         (all): Remove target.
7507         * ctype/Makefile: Include Makeconfig immediately after defining
7508         subdir.
7509         * debug/Makefile: Likewise.
7510         * dirent/Makefile: Likewise.
7511         * dlfcn/Makefile: Likewise.
7512         * gmon/Makefile: Likewise.
7513         * gnulib/Makefile: Likewise.
7514         * grp/Makefile: Likewise.
7515         * gshadow/Makefile: Likewise.
7516         * hesiod/Makefile: Likewise.
7517         * hurd/Makefile: Likewise.
7518         (all): Remove target.
7519         * iconvdata/Makefile: Include Makeconfig immediately after
7520         defining subdir.
7521         * inet/Makefile: Likewise.
7522         * intl/Makefile: Likewise.
7523         * io/Makefile: Likewise.
7524         * libio/Makefile: Likewise.
7525         (all): Remove target.
7526         * locale/Makefile: Include Makeconfig immediately after defining
7527         subdir.
7528         * login/Makefile: Likewise.
7529         * mach/Makefile: Likewise.
7530         (all): Remove target.
7531         * malloc/Makefile: Include Makeconfig immediately after defining
7532         subdir.
7533         (all): Remove target.
7534         * manual/Makefile: Include Makeconfig immediately after defining
7535         subdir.
7536         * math/Makefile: Likewise.
7537         * misc/Makefile: Likewise.
7538         * nis/Makefile: Likewise.
7539         * nss/Makefile: Likewise.
7540         * po/Makefile: Likewise.
7541         (all): Remove target.
7542         * posix/Makefile: Include Makeconfig immediately after defining
7543         subdir.
7544         * pwd/Makefile: Likewise.
7545         * resolv/Makefile: Likewise.
7546         * resource/Makefile: Likewise.
7547         * rt/Makefile: Likewise.
7548         * setjmp/Makefile: Likewise.
7549         * shadow/Makefile: Likewise.
7550         * signal/Makefile: Likewise.
7551         * socket/Makefile: Likewise.
7552         * soft-fp/Makefile: Likewise.
7553         * stdio-common/Makefile: Likewise.
7554         * stdlib/Makefile: Likewise.
7555         * streams/Makefile: Likewise.
7556         * string/Makefile: Likewise.
7557         * sunrpc/Makefile: Likewise.
7558         (all): Remove target.
7559         * sysvipc/Makefile: Include Makeconfig immediately after defining
7560         subdir.
7561         * termios/Makefile: Likewise.
7562         * time/Makefile: Likewise.
7563         * timezone/Makefile: Likewise.
7564         (all): Remove target.
7565         * wcsmbs/Makefile: Include Makeconfig immediately after defining
7566         subdir.
7567         * wctype/Makefile: Likewise.
7568
7569 2014-02-26  Steve Ellcey  <sellcey@mips.com>
7570
7571         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7572         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7573         (libc_feholdexcept_setround_mips): Ditto.
7574         (libc_feholdsetround): New.
7575         (libc_feholdsetroundf): New.
7576         (libc_feholdsetroundl): New.
7577         (libc_feupdateenv_test_mips): New.
7578         (libc_feupdateenv_test): New.
7579         (libc_feupdateenv_testf): New.
7580         (libc_feupdateenv_testl): New.
7581         (libc_feresetround): New.
7582         (libc_feresetroundf): New.
7583         (libc_feresetroundl): New.
7584         (libc_fetestexcept_mips): New.
7585         (libc_fetestexcept): New.
7586         (libc_fetestexceptf): New.
7587         (libc_fetestexceptl): New.
7588         (HAVE_RM_CTX): New.
7589         (libc_feholdexcept_setround_mips_ctx): New.
7590         (libc_feholdexcept_setround_ctx): New.
7591         (libc_feholdexcept_setroundf_ctx): New.
7592         (libc_feholdexcept_setroundl_ctx): New.
7593         (libc_fesetenv_mips_ctx): New.
7594         (libc_fesetenv_ctx): New.
7595         (libc_fesetenv_ctxf): New.
7596         (libc_fesetenv_ctxl): New.
7597         (libc_feupdateenv_mips_ctx): New.
7598         (libc_feupdateenv_ctx): New.
7599         (libc_feupdateenvf_ctx): New.
7600         (libc_feupdateenvl_ctx): New.
7601         (libc_feholdsetround_mips_ctx): New.
7602         (libc_feholdsetround_ctx): New.
7603         (libc_feholdsetroundf_ctx): New.
7604         (libc_feholdsetroundl_ctx): New.
7605         (libc_feresetround_mips_ctx): New.
7606         (libc_feresetround_ctx): New.
7607         (libc_feresetroundf_ctx): New.
7608         (libc_feresetroundl_ctx): New.
7609
7610 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
7611
7612         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7613
7614         * manual/ipc.texi: New file.
7615         * manual/Makefile (chapters): Add ipc.
7616         * manual/job.texi: Add "Inter-Process Communication" to next.
7617         * manual/process.texi: Add "Inter-Process Communication" to prev.
7618
7619 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7620
7621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7622
7623 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
7624
7625         * malloc/malloc.c (__libc_calloc): Simplify implementation.
7626
7627         * manual/arith.texi: Fix spaces after sentences.
7628         * manual/charset.texi: Likewise.
7629         * manual/errno.texi: Likewise.
7630         * manual/install.texi: Likewise.
7631         * manual/llio.texi: Likewise.
7632         * manual/locale.texi: Likewise.
7633         * manual/maint.texi: Likewise.
7634         * manual/math.texi: Likewise.
7635         * manual/memory.texi: Likewise.
7636         * manual/message.texi: Likewise.
7637         * manual/probes.texi: Likewise.
7638         * manual/resource.texi: Likewise.
7639         * manual/signal.texi: Likewise.
7640         * manual/socket.texi: Likewise.
7641         * manual/stdio.texi: Likewise.
7642         * manual/string.texi: Likewise.
7643         * manual/time.texi: Likewise.
7644         * manual/users.texi: Likewise.
7645
7646 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
7647
7648         [BZ #16632]
7649         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7650         _DEFAULT_SOURCE is defined.
7651
7652 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
7653             Carlos O'Donell  <carlos@redhat.com>
7654
7655         [BZ #16613]
7656         * elf/dl-tls.c (_dl_count_modids): New function.
7657         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7658         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7659         audit library and increment generation counter.
7660         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7661         * elf/tst-audit9.c: New file.
7662         * elf/tst-auditmod9a.c: New file.
7663         * elf/tst-auditmod9b.c: New file.
7664         * elf/Makefile: Add rules to build and run tst-audit9.
7665
7666 2014-02-25  Florian Weimer  <fweimer@redhat.com>
7667
7668         [BZ #15347]
7669         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7670
7671 2014-02-25  Will Newton  <will.newton@linaro.org>
7672
7673         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7674         (__longjmp): Restore sp and lr before restoring callee
7675         saved registers.  Add longjmp and longjmp_target
7676         SystemTap probe point.
7677         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7678         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7679         Define to zero to match jmpbuf layout.
7680         * sysdeps/arm/setjmp.S: Include stap-probe.h.
7681         (__sigsetjmp): Save sp and lr before saving callee
7682         saved registers.  Add setjmp SystemTap probe point.
7683
7684 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7685
7686         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7687
7688 2014-02-24  Andreas Schwab  <schwab@suse.de>
7689
7690         [BZ #15804]
7691         * elf/pldd.c (wait_for_ptrace_stop): New function.
7692         (main): Call it after attaching.
7693
7694 2014-02-22  Roland McGrath  <roland@hack.frob.com>
7695
7696         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7697         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7698         Versions files is now verboten.
7699         * hurd/Versions (libc: GLIBC_2.0):
7700         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7701         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7702         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7703         * mach/Versions: Likewise.
7704
7705         * csu/Versions: Remove unused %include.
7706         * resolv/Versions: Likewise.
7707
7708 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
7709
7710         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7711         ($(objpfx)check-local-headers.out): Likewise.
7712         ($(objpfx)begin-end-check.out): Likewise.
7713         * Makerules (check-abi-%.out): Likewise.
7714         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7715         ($(objpfx)test2.cat): Likewise.
7716         ($(objpfx)de/libc.cat): Likewise.
7717         ($(objpfx)test-gencat.out): Likewise.
7718         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7719         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7720         ($(objpfx)noload-mem): Likewise.
7721         ($(objpfx)tst-pathopt.out): Likewise.
7722         ($(objpfx)tst-rtld-load-self.out): Likewise.
7723         ($(objpfx)tst-array1-cmp.out): Likewise.
7724         ($(objpfx)tst-array1-static-cmp.out): Likewise.
7725         ($(objpfx)tst-array2-cmp.out): Likewise.
7726         ($(objpfx)tst-array3-cmp.out): Likewise.
7727         ($(objpfx)tst-array4-cmp.out): Likewise.
7728         ($(objpfx)tst-array5-cmp.out): Likewise.
7729         ($(objpfx)tst-array5-static-cmp.out): Likewise.
7730         ($(objpfx)check-textrel.out): Likewise.
7731         ($(objpfx)check-execstack.out): Likewise.
7732         ($(objpfx)check-localplt.out): Likewise.
7733         ($(objpfx)order2-cmp.out): Likewise.
7734         ($(objpfx)tst-leaks1-mem): Likewise.
7735         ($(objpfx)tst-leaks1-static-mem): Likewise.
7736         ($(objpfx)tst-initorder-cmp.out): Likewise.
7737         ($(objpfx)tst-initorder2-cmp.out): Likewise.
7738         ($(objpfx)tst-unused-dep.out): Likewise.
7739         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7740         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7741         * iconv/Makefile (test-iconvconfig): Likewise.
7742         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7743         ($(objpfx)iconv-test.out): Likewise.
7744         ($(objpfx)tst-tables.out): Likewise.
7745         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7746         ($(objpfx)tst-gettext.out): Likewise.
7747         ($(objpfx)tst-translit.out): Likewise.
7748         ($(objpfx)tst-gettext2.out): Likewise.
7749         ($(objpfx)tst-gettext4.out): Likewise.
7750         ($(objpfx)tst-gettext6.out): Likewise.
7751         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7752         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7753         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7754         ($(objpfx)tst-fopenloc-mem.out): Likewise.
7755         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7756         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7757         * posix/Makefile ($(objpfx)globtest.out): Likewise.
7758         ($(objpfx)wordexp-tst.out): Likewise.
7759         ($(objpfx)annexc.out): Likewise.
7760         ($(objpfx)tst-fnmatch-mem): Likewise.
7761         ($(objpfx)bug-regex2-mem): Likewise.
7762         ($(objpfx)bug-regex14-mem): Likewise.
7763         ($(objpfx)bug-regex21-mem): Likewise.
7764         ($(objpfx)bug-regex31-mem): Likewise.
7765         ($(objpfx)tst-vfork3-mem): Likewise.
7766         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7767         ($(objpfx)tst-pcre-mem): Likewise.
7768         ($(objpfx)tst-boost-mem): Likewise.
7769         ($(objpfx)tst-getconf.out): Likewise.
7770         ($(objpfx)bug-ga2-mem): Likewise.
7771         ($(objpfx)bug-glob2-mem): Likewise.
7772         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7773         ($(objpfx)mtrace-tst-leaks2): Likewise.
7774         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7775         ($(objpfx)tst-printf.out): Likewise.
7776         ($(objpfx)tst-setvbuf1.out): Likewise.
7777         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7778         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7779         ($(objpfx)tst-fmtmsg.out): Likewise.
7780         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7781         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7782
7783         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7784         * bits/sigaction.h [__USE_MISC]: Likewise.
7785         * bits/waitstatus.h: Update #endif comments.
7786         * ctype/ctype.h: Likewise.
7787         * dirent/dirent.h: Likewise.
7788         [__USE_MISC]: Remove redundant conditionals.
7789         * grp/grp.h: Update #endif comments.
7790         [__USE_GNU]: Remove redundant conditionals.
7791         [__USE_MISC]: Likewise.
7792         * inet/netinet/in.h [__USE_GNU]: Likewise.
7793         * io/sys/stat.h [__USE_MISC]: Likewise.
7794         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7795         * libio/bits/stdio.h: Update #endif comments.
7796         [__USE_MISC]: Remove redundant conditionals.
7797         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7798         * libio/stdio.h: Update #endif comments.
7799         [__USE_MISC]: Remove redundant conditionals.
7800         * math/bits/math-finite.h [__USE_MISC]: Likewise.
7801         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7802         * math/math.h: Update #else and #endif comments.
7803         [__USE_MISC]: Remove redundant conditionals.
7804         * misc/sys/uio.h: Update #endif comments.
7805         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7806         * posix/glob.h [__USE_MISC]: Likewise.
7807         * posix/sys/types.h: Update #endif comments.
7808         [__USE_MISC]: Remove redundant conditionals.
7809         * posix/sys/wait.h: Update #endif comments.
7810         [__USE_MISC]: Remove redundant conditionals.
7811         * posix/unistd.h: Update #endif comments.
7812         [__USE_MISC]: Remove redundant conditionals.
7813         * pwd/pwd.h [__USE_GNU]: Likewise.
7814         [__USE_MISC]: Likewise.
7815         * resolv/netdb.h [__USE_GNU]: Likewise.
7816         * signal/signal.h: Update #endif comments.
7817         [__USE_MISC]: Remove redundant conditionals.
7818         * stdlib/stdlib.h: Update #else and #endif comments.
7819         [__USE_MISC]: Remove redundant conditionals.
7820         [__USE_GNU]: Likewise.
7821         * string/bits/string2.h [__USE_MISC]: Likewise.
7822         * string/string.h: Update #endif comments.
7823         [__USE_MISC]: Remove redundant conditionals.
7824         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7825         Likewise.
7826         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7827         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7828         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7829         Likewise.
7830         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7831         Likewise.
7832         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7833         comments.
7834         [__USE_MISC]: Remove redundant conditionals.
7835         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7836         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7837         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7838         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7839         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7840         Likewise.
7841         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7842         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7843         Likewise.
7844         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7845         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7846         Likewise.
7847         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7848         Likewise.
7849         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7850         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7851         Likewise.
7852         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7853         Likewise.
7854         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7855         * sysdeps/x86/bits/string.h: Update #endif comments.
7856         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7857         conditionals.
7858         * time/sys/time.h: Update #endif comments.
7859         * time/time.h: Likewise.
7860         [__USE_MISC]: Remove redundant conditionals.
7861
7862 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
7863
7864         [BZ #16600]
7865         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7866
7867 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
7868
7869         * Versions.def (librt): Add GLIBC_2.17.
7870
7871 2014-02-21  Adam Conrad  <adconrad@0c3.net>
7872
7873         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7874         synonym for _SYS_AUXV_H to allow direct inclusion.
7875         * sysdeps/sparc/bits/hwcap.h: Likewise.
7876         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7877         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7878         * sysdeps/sparc/sysdep.h: Likewise.
7879
7880 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7881
7882         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7883
7884 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7885
7886         * benchtests/bench-strrchr.c: Print length instead of position.
7887
7888 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
7889
7890         [BZ #16611]
7891         * sysdeps/unix/sysv/linux/kernel-features.h
7892         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7893         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7894         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7895         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7896         Likewise.
7897         [__i386__ || __powerpc__ || __sh__ || __sparc__]
7898         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7899         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7900         (__ASSUME_SENDMMSG): Define instead of using previous
7901         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7902         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7903         (__ASSUME_SENDMMSG_SYSCALL): Define.
7904         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7905         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7906         Likewise.
7907         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7908         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7909         Likewise.
7910         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7911         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7912         Likewise.
7913         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7914         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7915         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7916         [__ASSUME_SENDMMSG]: Change conditionals to
7917         [__ASSUME_SENDMMSG_SOCKETCALL].
7918         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7919         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7920         Define.
7921         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7922         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7923         Likewise.
7924         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7925         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7926         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7927         [!__ASSUME_SENDMMSG]: Change conditional to
7928         [!__ASSUME_SENDMMSG_SOCKETCALL].
7929         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7930         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7931         Define.
7932
7933         [BZ #16610]
7934         * sysdeps/unix/sysv/linux/kernel-features.h
7935         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7936         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7937         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7938         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7939         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7940         [__i386__ || __sparc__]
7941         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7942         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7943         (__ASSUME_RECVMMSG): Define instead of using previous
7944         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7945         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7946         (__ASSUME_RECVMMSG_SYSCALL): Define.
7947         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7948         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7949         Likewise.
7950         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7951         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7952         Likewise.
7953         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7954         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7955         Likewise.
7956         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7957         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7958         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7959         [__ASSUME_RECVMMSG]: Change condition to
7960         [__ASSUME_RECVMMSG_SOCKETCALL].
7961         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7962         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7963         Define.
7964         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7965         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7966         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7967         Likewise.
7968         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7969         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7970         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7971         [!__ASSUME_RECVMMSG]: Change condition to
7972         [!__ASSUME_RECVMMSG_SOCKETCALL].
7973         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7974         (__ASSUME_RECVMMSG_SYSCALL): Define.
7975
7976         [BZ #16609]
7977         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7978         __powerpc__ || __s390__ || __sh__ || __sparc__]
7979         (__ASSUME_SOCKETCALL): Define.
7980         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7981         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7982         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7983         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7984         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7985         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7986         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7987         (__ASSUME_ACCEPT4): Define instead of using previous
7988         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7989         __powerpc__ || __sparc__ || __s390__)] condition.
7990         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7991         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7992         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7993         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7994         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7995         [!__ASSUME_ACCEPT4]: Change condition to
7996         [!__ASSUME_ACCEPT4_SOCKETCALL].
7997         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7998         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
7999         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8000         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8001         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8002         __ASSUME_ACCEPT4_SYSCALL.
8003         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8004         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8005         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8006         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8007         __ASSUME_ACCEPT4_SYSCALL.
8008         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8009         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8010         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8011         [__ASSUME_ACCEPT4]: Change condition to
8012         [__ASSUME_ACCEPT4_SOCKETCALL].
8013         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8014         (__ASSUME_SOCKETCALL): Define.
8015         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8016         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8017         (__ASSUME_SOCKETCALL): Define.
8018         (__ASSUME_ACCEPT4): Remove.
8019         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8020         Define.
8021         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8022         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8023         Likewise.
8024         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8025         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8026
8027         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8028         macro.
8029         (HWCAP_ARM_LPAE): Likewise.
8030         (HWCAP_ARM_EVTSTRM): Likewise.
8031         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8032         Add vpfd32, lpae and evtstrm.
8033         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8034         Increase to 22.
8035
8036 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8037
8038         * math/auto-libm-test-in: Add tests of clog10.
8039         * math/auto-libm-test-out: Regenerated.
8040         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8041         * sysdeps/i386/fpu/libm-test-ulps: Update.
8042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8043
8044 2014-02-18  Andreas Schwab  <schwab@suse.de>
8045
8046         [BZ #16574]
8047         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8048         Store non-zero if the second buffer was newly allocated.
8049         (send_dg): Likewise.
8050         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8051         to send_vc and send_dg.
8052         (res_nsend): Pass NULL for ansp2_malloced.
8053         * resolv/res_query.c (__libc_res_nquery): Add parameter
8054         answerp2_malloced and pass it down to __libc_res_nsend.
8055         (res_nquery): Pass additional NULL to __libc_res_nquery.
8056         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8057         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8058         second answer buffer if answerp2_malloced was set.
8059         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8060         (__libc_res_nquerydomain): Add parameter
8061         answerp2_malloced and pass it down to __libc_res_nquery.
8062         (res_nquerydomain): Pass additional NULL to
8063         __libc_res_nquerydomain.
8064         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8065         additional NULL to __libc_res_nsend and __libc_res_nquery.
8066         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8067         additional NULL to __libc_res_nsearch.
8068         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8069         parameter of __libc_res_nsearch to check for separately allocated
8070         second buffer.
8071         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8072         __libc_res_nquery.
8073         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8074         additional NULL to __libc_res_nquery.
8075         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8076         __libc_res_nsearch.
8077         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8078         * include/resolv.h: Update prototypes of __libc_res_nquery,
8079         __libc_res_nsearch, __libc_res_nsend.
8080
8081 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8082
8083         * math/auto-libm-test-in: Add tests of fma.
8084         * math/auto-libm-test-out: Regenerated.
8085         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8086         (fma_towardzero_test_data): Likewise.
8087         (fma_downward_test_data): Likewise.
8088         (fma_upward_test_data): Likewise.
8089         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8090         mpc_mode.
8091         (rounding_modes): Add values for new field.
8092         (func_calc_method): Add value mpfr_fff_f.
8093         (func_calc_desc): Add mpfr_fff_f union field.
8094         (test_function): Add field exact_args.
8095         (FUNC): Add macro argument EXACT_ARGS.
8096         (FUNC_mpfr_f_f): Update call to FUNC.
8097         (FUNC_mpfr_f_f): Likewise.
8098         (FUNC_mpfr_ff_f): Likewise.
8099         (FUNC_mpfr_if_f): Likewise.
8100         (FUNC_mpc_c_f): Likewise.
8101         (FUNC_mpc_c_c): Likewise.
8102         (test_functions): Add fma.  Update calls to FUNC.
8103         (handle_input_arg): Add argument exact_args.
8104         (add_test): Update call to handle_input_arg.
8105         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8106         (output_for_one_input_case): Update call to calc_generic_results.
8107         Recalculate exact zero results in each rounding mode.
8108
8109         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8110         non-negative before setting low bit.
8111         * math/auto-libm-test-in: Mark one asin test possibly having
8112         spurious underflow.
8113         * math/auto-libm-test-out: Regenerated.
8114         * sysdeps/i386/fpu/libm-test-ulps: Update.
8115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8116
8117 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8118
8119         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8120         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8121         ports/sysdeps/unix/sysv/linux/microblaze.
8122         * README: Add missing listing for microblaze*-*-linux-gnu.
8123
8124 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8125
8126         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8127         * sysdeps/unix/sysv/linux/ia64: Move directory from
8128         ports/sysdeps/unix/sysv/linux/ia64.
8129         * README: Update listing for ia64-*-linux-gnu.
8130
8131 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8132             Joseph Myers  <joseph@codesourcery.com>
8133
8134         * Makeconfig (test-name): New variable.
8135         (evaluate-test): Likewise.
8136         * Makerules (do-test-clean): Remove .test-result files.
8137         (common-mostlyclean): Likewise.
8138         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8139         * scripts/evaluate-test.sh: New file.
8140
8141 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8142
8143         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8144         separate $(objpfx)tst-fopenloc-cmp.out and
8145         $(objpfx)tst-fopenloc-mem.out targets.
8146         (tests): Update dependencies.
8147         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8148         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8149         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8150         (tst-rxspencer-no-utf8-ARGS): New variable.
8151         (tst-rxspencer-no-utf8-ENV): Likewise.
8152         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8153         instead of $(objpfx)tst-rxspencer-mem.
8154         ($(objpfx)tst-rxspencer-mem): Change target to
8155         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8156         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8157         * posix/tst-rxspencer-no-utf8.c: New file.
8158
8159         * elf/Makefile ($(objpfx)order.out): Remove rule.
8160         [$(run-built-tests) = yes] (tests): Depend on
8161         $(objpfx)order-cmp.out.
8162         ($(objpfx)order-cmp.out): New rule.
8163         [$(run-built-tests) = yes] (tests): Depend on
8164         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8165         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8166         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8167         $(objpfx)tst-array5-static-cmp.out.
8168         ($(objpfx)tst-array1.out): Remove rule.
8169         ($(objpfx)tst-array1-cmp.out): New rule.
8170         ($(objpfx)tst-array1-static.out): Remove rule.
8171         ($(objpfx)tst-array1-static-cmp.out): New rule.
8172         ($(objpfx)tst-array2.out): Remove rule.
8173         ($(objpfx)tst-array2-cmp.out): New rule.
8174         ($(objpfx)tst-array3.out): Remove rule.
8175         ($(objpfx)tst-array3-cmp.out): New rule.
8176         ($(objpfx)tst-array4.out): Remove rule.
8177         ($(objpfx)tst-array4-cmp.out): New rule.
8178         ($(objpfx)tst-array5.out): Remove rule.
8179         ($(objpfx)tst-array5-cmp.out): New rule.
8180         ($(objpfx)tst-array5-static.out): Remove rule.
8181         ($(objpfx)tst-array5-static-cmp.out): New rule.
8182         [$(run-built-tests) = yes] (tests): Depend on
8183         $(objpfx)order2-cmp.out.
8184         ($(objpfx)order2.out): Remove rule.
8185         ($(objpfx)order2-cmp.out): New rule.
8186         ($(objpfx)tst-initorder.out): Remove rule.
8187         [$(run-built-tests) = yes] (tests): Depend on
8188         $(objpfx)tst-initorder-cmp.out.
8189         ($(objpfx)tst-initorder-cmp.out): New rule.
8190         ($(objpfx)tst-initorder2.out): Remove rule.
8191         [$(run-built-tests) = yes] (tests): Depend on
8192         $(objpfx)tst-initorder2-cmp.out.
8193         ($(objpfx)tst-initorder2-cmp.out): New rule.
8194         [$(run-built-tests) = yes] (tests): Depend on
8195         $(objpfx)tst-unused-dep-cmp.out.
8196         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8197         ($(objpfx)tst-unused-dep-cmp.out): New rule.
8198         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8199         on $(objpfx)tst-setvbuf1-cmp.out.
8200         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8201         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8202         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8203         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8204         ($(objpfx)tst-svc.out): Remove rule.
8205         ($(objpfx)tst-svc-cmp.out): New rule.
8206
8207 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
8208
8209         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8210         * ctype/ctype.h [__USE_MISC]: Likewise.
8211         * dirent/dirent.h [__USE_MISC]: Likewise.
8212         * grp/grp.h [__USE_MISC]: Likewise.
8213         * io/fcntl.h [__USE_MISC]: Likewise.
8214         * io/sys/stat.h [__USE_MISC]: Likewise.
8215         * libio/stdio.h [__USE_MISC]: Likewise.
8216         * posix/unistd.h [__USE_MISC]: Likewise.
8217         * pwd/pwd.h [__USE_MISC]: Likewise.
8218         * stdlib.h [__USE_MISC]: Likewise.
8219         * string/bits/string2.h [__USE_MISC]: Likewise.
8220         * string/string.h [__USE_MISC]: Likewise.
8221         * time/time.h [__USE_MISC]: Likewise.
8222
8223 2014-02-13  Andreas Schwab  <schwab@suse.de>
8224
8225         [BZ #16574]
8226         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8227         second answer buffer if it was separately allocated.
8228
8229 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8230
8231         * sysdeps/mips/math-tests.h: Include <features.h>.
8232         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8233         (ROUNDING_TESTS_long_double): Do not define.
8234         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8235         (EXCEPTION_TESTS_long_double): Likewise.
8236         * sysdeps/mips/mips64/libm-test-ulps: Update.
8237
8238         * include/features.h (__USE_BSD): Remove macro definitions.
8239         (__USE_SVID): Likewise.
8240         (_BSD_SOURCE): Likewise.
8241         (_SVID_SOURCE): Likewise.
8242         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8243         from definition of _DEFAULT_SOURCE.
8244         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8245         [_DEFAULT_SOURCE].
8246         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8247         * bits/mman.h [__USE_BSD]: Likewise.
8248         * bits/termios.h [__USE_BSD]: Likewise.
8249         * bits/waitstatus.h [__USE_BSD]: Likewise.
8250         * ctype/ctype.h [__USE_SVID]: Likewise.
8251         * dirent/dirent.h [__USE_BSD]: Likewise.
8252         * grp/grp.h [__USE_SVID]: Likewise.
8253         [__USE_BSD]: Likewise.
8254         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8255         * io/fcntl.h [__USE_BSD]: Likewise.
8256         * io/ftw.h [__USE_BSD]: Likewise.
8257         * io/sys/stat.h [__USE_BSD]: Likewise.
8258         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8259         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8260         * libio/stdio.h [__USE_SVID]: Likewise.
8261         [__USE_BSD]: Likewise.
8262         * math/math.h [__USE_SVID]: Likewise.
8263         [__USE_BSD]: Likewise.
8264         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8265         * misc/bits/syslog.h [__USE_BSD]: Likewise.
8266         * misc/search.h [__USE_SVID]: Likewise.
8267         * misc/sys/mman.h [__USE_BSD]: Likewise.
8268         * misc/sys/syslog.h [__USE_BSD]: Likewise.
8269         * misc/sys/uio.h [__USE_BSD]: Likewise.
8270         * posix/bits/unistd.h [__USE_BSD]: Likewise.
8271         * posix/glob.h [__USE_BSD]: Likewise.
8272         * posix/regex.h [__USE_BSD]: Likewise.
8273         * posix/sys/types.h [__USE_BSD]: Likewise.
8274         [__USE_SVID]: Likewise.
8275         * posix/sys/utsname.h [__USE_SVID]: Likewise.
8276         * posix/sys/wait.h [__USE_BSD]: Likewise.
8277         [__USE_SVID]: Likewise.
8278         * posix/unistd.h [__USE_BSD]: Likewise.
8279         [__USE_SVID]: Likewise.
8280         * pwd/pwd.h [__USE_SVID]: Likewise.
8281         * resolv/netdb.h [__USE_BSD]: Likewise.
8282         * setjmp/setjmp.h [__USE_BSD]: Likewise.
8283         * signal/signal.h [__USE_BSD]: Likewise.
8284         [__USE_SVID]: Likewise.
8285         * socket/sys/socket.h [__USE_BSD]: Likewise.
8286         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8287         * stdlib/stdlib.h [__USE_BSD]: Likewise.
8288         [__USE_SVID]: Likewise.
8289         * string/bits/string2.h [__USE_BSD]: Likewise.
8290         [__USE_SVID]: Likewise.
8291         * string/bits/string3.h [__USE_BSD]: Likewise.
8292         * string/endian.h [__USE_BSD]: Likewise.
8293         * string/string.h [__USE_SVID]: Likewise.
8294         [__USE_BSD]: Likewise.
8295         * string/strings.h [__USE_BSD]: Likewise.
8296         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8297         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8298         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8299         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8300         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8301         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8302         Likewise.
8303         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8304         Likewise.
8305         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8306         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8307         Likewise.
8308         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8309         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8310         Likewise.
8311         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8312         Likewise.
8313         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8314         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8315         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8316         Likewise.
8317         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8318         Likewise.
8319         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8320         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8321         * termios/termios.h [__USE_BSD]: Likewise.
8322         * time/sys/time.h [__USE_BSD]: Likewise.
8323         * time/time.h [__USE_BSD]: Likewise.
8324         [__USE_SVID]: Likewise.
8325
8326         * Makefile (subdir_targets): Remove subdir_lint.out.
8327
8328         * stdio-common/Makefile (do-tst-unbputc): Remove target.
8329         (do-tst-printf): Likewise.
8330         (tests): Depend directly on $(objpfx)tst-unbputc.out and
8331         $(objpfx)tst-printf.out.
8332
8333         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8334
8335         * Makerules (check-abi-%): Change target to
8336         $(objpfx)check-abi-%.out.
8337         (check-abi target): Update dependencies.
8338         (check-abi-pattern variable): Redirect output of diff to $@.
8339         (check-abi variable): Likewise.
8340         * elf/Makefile (check-abi): Update dependencies.
8341
8342         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8343         unused.
8344         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8345         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8346         subnormal range.
8347         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8348         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8349         value has largest subnormal exponent.
8350         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8351         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8352         * sysdeps/aarch64/soft-fp/sfp-machine.h
8353         (_FP_TININESS_AFTER_ROUNDING): New macro.
8354         * sysdeps/alpha/soft-fp/sfp-machine.h
8355         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8356         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8357         Likewise.
8358         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8359         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8360         * sysdeps/mips/soft-fp/sfp-machine.h
8361         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8362         * sysdeps/powerpc/soft-fp/sfp-machine.h
8363         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8364         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8365         Likewise.
8366         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8367         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8368         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8369         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8370         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8371         Likewise.
8372
8373 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
8374
8375         [BZ #16545]
8376         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8377         model 1.
8378
8379 2014-02-12  Richard Henderson  <rth@redhat.com>
8380
8381         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8382         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8383         * sysdeps/unix/sysv/linux/alpha: Move directory from
8384         ports/sysdeps/unix/sysv/linux/alpha.
8385         * README: Update listing for alpha-*-linux-gnu.
8386
8387 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
8388
8389         * include/features.h: Update comment documenting feature test
8390         macros.
8391         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
8392         _DEFAULT_SOURCE.
8393         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8394         (_SVID_SOURCE): Likewise.
8395         (_DEFAULT_SOURCE): Update description of default features.
8396         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8397         with _GNU_SOURCE.
8398         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8399         (S_ISVTX): Likewise.
8400         * manual/math.texi (Mathematical Constants): Likewise.
8401         * manual/signal.texi (Interrupted Primitives): Likewise.
8402         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8403         * math/test-matherr.c (_SVID_SOURCE): Do not define.
8404         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8405         Don't refer to _SVID_SOURCE in warning text.
8406
8407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8408
8409         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8410         already defined.
8411         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8412         * sysdeps/mips/dl-lookup.c: Remove.
8413         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8414
8415 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8416
8417         [BZ #16447]
8418         * math/auto-libm-test-in: Add testcase for expl.
8419         * math/auto-libm-test-out: Regenerate.
8420         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8421         calculation of unsafe.
8422         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8423
8424 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8425
8426         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8427         * sysdeps/unix/sysv/linux/aarch64: Move directory from
8428         ports/sysdeps/unix/sysv/linux/aarch64.
8429         * README: Update listing for aarch64*-*-linux-gnu.
8430
8431 2014-02-11  Will Newton  <will.newton@linaro.org>
8432
8433         * manual/probes.texi (Mathematical Function Probes): Use
8434         "triggered" instead of "hit".
8435
8436         * manual/probes.texi (Internal Probes): Add documentation
8437         of setjmp, longjmp and longjmp_target probes.
8438
8439         * include/stap-probe.h: Add comment about probe argument
8440         format.
8441
8442         * malloc/mtrace.c (attribute_hidden): Remove unused macro
8443         definition.  (tr_where, tr_freehook, tr_mallochook,
8444         tr_reallochook, tr_memalignhook): Use ANSI protoype.
8445
8446 2014-02-11  David S. Miller  <davem@davemloft.net>
8447
8448         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8449         processing int_tests.
8450
8451 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
8452
8453         * sysdeps/mips: Move directory from ports/sysdeps/mips.
8454         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8455         * sysdeps/unix/sysv/linux/mips: Move directory from
8456         ports/sysdeps/unix/sysv/linux/mips.
8457         * README: Update listing for mips-*-linux-gnu and
8458         mips64-*-linux-gnu.
8459
8460 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
8461
8462         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8463         * sysdeps/unix/sysv/linux/m68k: Move directory from
8464         ports/sysdeps/unix/sysv/linux/m68k.
8465         * README: Update listing for m68k-*-linux-gnu.
8466
8467 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
8468
8469         * sysdeps/tile: Move directory from ports/sysdeps/tile.
8470         * sysdeps/unix/sysv/linux/generic: Move directory from
8471         ports/sysdeps/unix/sysv/linux/generic.
8472         * sysdeps/unix/sysv/linux/tile: Move directory from
8473         ports/sysdeps/unix/sysv/linux/tile.
8474         * README: Update listing for tile*-*-linux-gnu.
8475
8476 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
8477
8478         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8479         __builtin_expect.
8480         * benchtests/bench-memmem.c (simple_memmem): Likewise.
8481         * catgets/open_catalog.c (__open_catalog): Likewise.
8482         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8483         * debug/confstr_chk.c: Likewise.
8484         * debug/fread_chk.c (__fread_chk): Likewise.
8485         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8486         * debug/getgroups_chk.c: Likewise.
8487         * debug/mbsnrtowcs_chk.c: Likewise.
8488         * debug/mbsrtowcs_chk.c: Likewise.
8489         * debug/mbstowcs_chk.c: Likewise.
8490         * debug/memcpy_chk.c: Likewise.
8491         * debug/memmove_chk.c: Likewise.
8492         * debug/mempcpy_chk.c: Likewise.
8493         * debug/memset_chk.c: Likewise.
8494         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8495         * debug/strcat_chk.c (__strcat_chk): Likewise.
8496         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8497         * debug/strncat_chk.c (__strncat_chk): Likewise.
8498         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8499         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8500         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8501         * debug/wcpncpy_chk.c: Likewise.
8502         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8503         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8504         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8505         * debug/wcsncpy_chk.c: Likewise.
8506         * debug/wcsnrtombs_chk.c: Likewise.
8507         * debug/wcsrtombs_chk.c: Likewise.
8508         * debug/wcstombs_chk.c: Likewise.
8509         * debug/wmemcpy_chk.c: Likewise.
8510         * debug/wmemmove_chk.c: Likewise.
8511         * debug/wmempcpy_chk.c: Likewise.
8512         * debug/wmemset_chk.c: Likewise.
8513         * dirent/scandirat.c (SCANDIRAT): Likewise.
8514         * dlfcn/dladdr1.c (dladdr1): Likewise.
8515         * dlfcn/dladdr.c (dladdr): Likewise.
8516         * dlfcn/dlclose.c (dlclose_doit): Likewise.
8517         * dlfcn/dlerror.c (__dlerror): Likewise.
8518         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8519         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8520         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8521         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8522         * dlfcn/dlsym.c (dlsym_doit): Likewise.
8523         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8524         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8525         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8526         Likewise.
8527         * elf/dl-conflict.c: Likewise.
8528         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8529         * elf/dl-dst.h: Likewise.
8530         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8531         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8532         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8533         * elf/dl-init.c (call_init, _dl_init): Likewise.
8534         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8535         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8536         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8537         Likewise.
8538         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8539         Likewise.
8540         * elf/dl-minimal.c (__libc_memalign): Likewise.
8541         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8542         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8543         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8544         * elf/dl-sym.c (do_sym): Likewise.
8545         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8546         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8547         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8548         * elf/dl-writev.h (_dl_writev): Likewise.
8549         * elf/ldconfig.c (search_dir): Likewise.
8550         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8551         (dl_main): Likewise.
8552         * elf/setup-vdso.h (setup_vdso): Likewise.
8553         * grp/compat-initgroups.c (compat_call): Likewise.
8554         * grp/fgetgrent.c (fgetgrent): Likewise.
8555         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8556         * grp/putgrent.c (putgrent): Likewise.
8557         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8558         Likewise.
8559         * hurd/hurdinit.c: Likewise.
8560         * iconvdata/8bit-gap.c (struct): Likewise.
8561         * iconvdata/ansi_x3.110.c : Likewise.
8562         * iconvdata/big5.c : Likewise.
8563         * iconvdata/big5hkscs.c : Likewise.
8564         * iconvdata/cp1255.c: Likewise.
8565         * iconvdata/cp1258.c : Likewise.
8566         * iconvdata/cp932.c : Likewise.
8567         * iconvdata/euc-cn.c: Likewise.
8568         * iconvdata/euc-jisx0213.c : Likewise.
8569         * iconvdata/euc-jp.c: Likewise.
8570         * iconvdata/euc-jp-ms.c : Likewise.
8571         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8572         * iconvdata/gb18030.c : Likewise.
8573         * iconvdata/gbbig5.c (const): Likewise.
8574         * iconvdata/gbgbk.c: Likewise.
8575         * iconvdata/gbk.c : Likewise.
8576         * iconvdata/ibm1364.c : Likewise.
8577         * iconvdata/ibm930.c : Likewise.
8578         * iconvdata/ibm932.c: Likewise.
8579         * iconvdata/ibm933.c : Likewise.
8580         * iconvdata/ibm935.c : Likewise.
8581         * iconvdata/ibm937.c : Likewise.
8582         * iconvdata/ibm939.c : Likewise.
8583         * iconvdata/ibm943.c: Likewise.
8584         * iconvdata/iso_11548-1.c: Likewise.
8585         * iconvdata/iso-2022-cn.c : Likewise.
8586         * iconvdata/iso-2022-cn-ext.c : Likewise.
8587         * iconvdata/iso-2022-jp-3.c: Likewise.
8588         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8589         * iconvdata/iso-2022-kr.c : Likewise.
8590         * iconvdata/iso646.c (gconv_end): Likewise.
8591         * iconvdata/iso_6937-2.c : Likewise.
8592         * iconvdata/iso_6937.c : Likewise.
8593         * iconvdata/iso8859-1.c: Likewise.
8594         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8595         * iconvdata/shift_jisx0213.c : Likewise.
8596         * iconvdata/sjis.c : Likewise.
8597         * iconvdata/t.61.c : Likewise.
8598         * iconvdata/tcvn5712-1.c : Likewise.
8599         * iconvdata/tscii.c: Likewise.
8600         * iconvdata/uhc.c : Likewise.
8601         * iconvdata/unicode.c (gconv_end): Likewise.
8602         * iconvdata/utf-16.c (gconv_end): Likewise.
8603         * iconvdata/utf-32.c (gconv_end): Likewise.
8604         * iconvdata/utf-7.c (base64): Likewise.
8605         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8606         * iconv/gconv_close.c (__gconv_close): Likewise.
8607         * iconv/gconv_open.c (__gconv_open): Likewise.
8608         * iconv/gconv_simple.c (internal_ucs4_loop_single)
8609         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8610         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8611         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8612         (ucs4le_internal_loop_single): Likewise.
8613         * iconv/iconv.c (iconv): Likewise.
8614         * iconv/iconv_close.c: Likewise.
8615         * iconv/loop.c (SINGLE): Likewise.
8616         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8617         * include/atomic.h: Likewise.
8618         * inet/inet6_option.c (option_alloc): Likewise.
8619         * intl/bindtextdom.c (set_binding_values): Likewise.
8620         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8621         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8622         * intl/localealias.c (read_alias_file): Likewise.
8623         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8624         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8625         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8626         * libio/fmemopen.c (fmemopen): Likewise.
8627         * libio/iofgets.c (_IO_fgets): Likewise.
8628         * libio/iofgets_u.c (fgets_unlocked): Likewise.
8629         * libio/iofgetws.c (fgetws): Likewise.
8630         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8631         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8632         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8633         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8634         * locale/findlocale.c (_nl_find_locale): Likewise.
8635         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8636         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8637         Likewise.
8638         * locale/setlocale.c (setlocale): Likewise.
8639         * login/programs/pt_chown.c (main): Likewise.
8640         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8641         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8642         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8643         (mmap, mmap64, mremap, munmap): Likewise.
8644         * math/e_exp2l.c: Likewise.
8645         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8646         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8647         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8648         * math/s_catan.c (__catan): Likewise.
8649         * math/s_catanf.c (__catanf): Likewise.
8650         * math/s_catanh.c (__catanh): Likewise.
8651         * math/s_catanhf.c (__catanhf): Likewise.
8652         * math/s_catanhl.c (__catanhl): Likewise.
8653         * math/s_catanl.c (__catanl): Likewise.
8654         * math/s_ccosh.c (__ccosh): Likewise.
8655         * math/s_ccoshf.c (__ccoshf): Likewise.
8656         * math/s_ccoshl.c (__ccoshl): Likewise.
8657         * math/s_cexp.c (__cexp): Likewise.
8658         * math/s_cexpf.c (__cexpf): Likewise.
8659         * math/s_cexpl.c (__cexpl): Likewise.
8660         * math/s_clog10.c (__clog10): Likewise.
8661         * math/s_clog10f.c (__clog10f): Likewise.
8662         * math/s_clog10l.c (__clog10l): Likewise.
8663         * math/s_clog.c (__clog): Likewise.
8664         * math/s_clogf.c (__clogf): Likewise.
8665         * math/s_clogl.c (__clogl): Likewise.
8666         * math/s_csin.c (__csin): Likewise.
8667         * math/s_csinf.c (__csinf): Likewise.
8668         * math/s_csinh.c (__csinh): Likewise.
8669         * math/s_csinhf.c (__csinhf): Likewise.
8670         * math/s_csinhl.c (__csinhl): Likewise.
8671         * math/s_csinl.c (__csinl): Likewise.
8672         * math/s_csqrt.c (__csqrt): Likewise.
8673         * math/s_csqrtf.c (__csqrtf): Likewise.
8674         * math/s_csqrtl.c (__csqrtl): Likewise.
8675         * math/s_ctan.c (__ctan): Likewise.
8676         * math/s_ctanf.c (__ctanf): Likewise.
8677         * math/s_ctanh.c (__ctanh): Likewise.
8678         * math/s_ctanhf.c (__ctanhf): Likewise.
8679         * math/s_ctanhl.c (__ctanhl): Likewise.
8680         * math/s_ctanl.c (__ctanl): Likewise.
8681         * math/w_pow.c: Likewise.
8682         * math/w_powf.c: Likewise.
8683         * math/w_powl.c: Likewise.
8684         * math/w_scalb.c (sysv_scalb): Likewise.
8685         * math/w_scalbf.c (sysv_scalbf): Likewise.
8686         * math/w_scalbl.c (sysv_scalbl): Likewise.
8687         * misc/error.c (error_tail): Likewise.
8688         * misc/pselect.c (__pselect): Likewise.
8689         * nis/nis_callback.c (__nis_create_callback): Likewise.
8690         * nis/nis_call.c (__nisfind_server): Likewise.
8691         * nis/nis_creategroup.c (nis_creategroup): Likewise.
8692         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8693         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8694         * nis/nis_getservlist.c (nis_getservlist): Likewise.
8695         * nis/nis_lookup.c (nis_lookup): Likewise.
8696         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8697         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8698         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8699         * nis/nis_xdr.c (xdr_endpoint): Likewise.
8700         * nis/nss_compat/compat-grp.c (getgrent_next_file)
8701         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8702         * nis/nss_compat/compat-initgroups.c (add_group)
8703         (internal_getgrent_r): Likewise.
8704         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8705         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8706         * nis/nss_compat/compat-spwd.c (getspent_next_file)
8707         (internal_getspnam_r): Likewise.
8708         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8709         (_nss_nis_getaliasbyname_r): Likewise.
8710         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8711         (_nss_nis_getntohost_r): Likewise.
8712         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8713         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8714         (_nss_nis_getgrgid_r): Likewise.
8715         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8716         (internal_nis_gethostent_r, internal_gethostbyname2_r)
8717         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8718         (_nss_nis_gethostbyname4_r): Likewise.
8719         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8720         (initgroups_netid): Likewise.
8721         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8722         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8723         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8724         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8725         (_nss_nis_getprotobynumber_r): Likewise.
8726         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8727         (_nss_nis_getsecretkey): Likewise.
8728         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8729         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8730         (_nss_nis_getpwuid_r): Likewise.
8731         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8732         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8733         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8734         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8735         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8736         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8737         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8738         Likewise.
8739         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8740         (_nss_nisplus_getntohost_r): Likewise.
8741         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8742         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8743         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8744         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8745         Likewise.
8746         * nis/nss_nisplus/nisplus-initgroups.c
8747         (_nss_nisplus_initgroups_dyn): Likewise.
8748         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8749         (_nss_nisplus_getnetbyaddr_r): Likewise.
8750         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8751         (_nss_nisplus_getprotobynumber_r): Likewise.
8752         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8753         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8754         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8755         Likewise.
8756         * nis/nss_nisplus/nisplus-service.c
8757         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8758         (_nss_nisplus_getservbyport_r): Likewise.
8759         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8760         (_nss_nisplus_getspnam_r): Likewise.
8761         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8762         Likewise.
8763         * nscd/aicache.c (addhstaiX): Likewise.
8764         * nscd/cache.c (cache_search, prune_cache): Likewise.
8765         * nscd/connections.c (register_traced_file, send_ro_fd)
8766         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8767         (main_loop_epoll): Likewise.
8768         * nscd/grpcache.c (addgrbyX): Likewise.
8769         * nscd/hstcache.c (addhstbyX): Likewise.
8770         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8771         * nscd/mem.c (gc, mempool_alloc): Likewise.
8772         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8773         (addinnetgrX): Likewise.
8774         * nscd/nscd-client.h (__nscd_acquire_maplock)
8775         (__nscd_drop_map_ref): Likewise.
8776         * nscd/nscd_getai.c (__nscd_getai): Likewise.
8777         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8778         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8779         Likewise.
8780         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8781         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8782         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8783         (__nscd_get_map_ref): Likewise.
8784         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8785         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8786         Likewise.
8787         * nscd/pwdcache.c (addpwbyX): Likewise.
8788         * nscd/selinux.c (preserve_capabilities): Likewise.
8789         * nscd/servicescache.c (addservbyX): Likewise.
8790         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8791         * posix/fnmatch.c (fnmatch): Likewise.
8792         * posix/getopt.c (_getopt_internal_r): Likewise.
8793         * posix/glob.c (glob, glob_in_dir): Likewise.
8794         * posix/wordexp.c (exec_comm_child): Likewise.
8795         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8796         (getanswer_r, gaih_getanswer_slice): Likewise.
8797         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8798         * resolv/res_init.c: Likewise.
8799         * resolv/res_mkquery.c (res_nmkquery): Likewise.
8800         * resolv/res_query.c (__libc_res_nquery): Likewise.
8801         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8802         Likewise.
8803         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8804         * stdio-common/perror.c (perror): Likewise.
8805         * stdio-common/printf_fp.c (___printf_fp): Likewise.
8806         * stdio-common/tmpnam.c (tmpnam): Likewise.
8807         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8808         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8809         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8810         Likewise.
8811         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8812         * stdlib/putenv.c (putenv): Likewise.
8813         * stdlib/setenv.c (__add_to_environ): Likewise.
8814         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8815         * stdlib/strtol_l.c (INTERNAL): Likewise.
8816         * string/memmem.c (memmem): Likewise.
8817         * string/strerror.c (strerror): Likewise.
8818         * string/strnlen.c (__strnlen): Likewise.
8819         * string/test-memmem.c (simple_memmem): Likewise.
8820         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8821         * sunrpc/pm_getport.c (__get_socket): Likewise.
8822         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8823         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8824         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8825         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8826         Likewise.
8827         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8828         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8829         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8830         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8831         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8832         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8833         Likewise.
8834         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8835         Likewise.
8836         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8837         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8838         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8839         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8840         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8841         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8842         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8843         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8844         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8845         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8846         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8847         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8848         Likewise.
8849         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8850         Likewise.
8851         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8852         Likewise.
8853         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8854         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8855         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8856         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8857         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8858         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8859         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8860         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8861         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8862         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8863         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8864         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8865         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8866         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8867         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8868         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8869         Likewise.
8870         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8871         Likewise.
8872         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8873         Likewise.
8874         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8875         Likewise.
8876         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8877         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8878         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8879         Likewise.
8880         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8881         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8882         * sysdeps/posix/opendir.c (__opendirat): Likewise.
8883         * sysdeps/posix/sleep.c: Likewise.
8884         * sysdeps/posix/tempname.c: Likewise.
8885         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8886         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8887         Likewise.
8888         * sysdeps/powerpc/powerpc32/dl-machine.h
8889         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8890         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8891         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8892         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8893         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8894         Likewise.
8895         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8896         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8897         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8898         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8899         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8900         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8901         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8902         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8903         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8904         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8905         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8906         (elf_machine_lazy_rel): Likewise.
8907         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8908         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8909         (elf_machine_lazy_rel): Likewise.
8910         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8911         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8912         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8913         * sysdeps/unix/grantpt.c (grantpt): Likewise.
8914         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8915         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8916         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8917         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8918         Likewise.
8919         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8920         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8921         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8922         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8923         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8924         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8925         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8926         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8927         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8928         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8929         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8930         Likewise.
8931         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8932         (__posix_fallocate64_l64): Likewise.
8933         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8934         (posix_fallocate): Likewise.
8935         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8936         Likewise.
8937         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8938         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8939         (getifaddrs_internal): Likewise.
8940         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8941         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8942         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8943         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8944         * sysdeps/unix/sysv/linux/posix_fallocate64.c
8945         (__posix_fallocate64_l64): Likewise.
8946         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8947         Likewise.
8948         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8949         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8950         (__get_clockfreq): Likewise.
8951         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8952         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8953         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8954         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8955         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8956         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8957         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8958         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8959         Likewise.
8960         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8961         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8962         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8963         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8964         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8965         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8966         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8967         Likewise.
8968         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8969         (posix_fallocate): Likewise.
8970         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8971         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8972         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8973         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8974         (elf_machine_rela, elf_machine_rela_relative)
8975         (elf_machine_lazy_rel): Likewise.
8976         * time/asctime.c (asctime_internal): Likewise.
8977         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8978         * time/tzset.c (__tzset_parse_tz): Likewise.
8979         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8980         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8981         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8982         * wcsmbs/wcsmbsload.h: Likewise.
8983
8984         [BZ #15894]
8985         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8986
8987         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8988         (arena_get2): Remove THREAD_STATS conditionals.
8989         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8990         (__malloc_stats, int): Likewise.
8991
8992 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
8993
8994         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8995         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
8996
8997         * manual/setjmp.texi: Fix typos/grammar errors.
8998
8999         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9000         Only return early when n is <= 0.  Delete unused return statement.
9001
9002         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9003         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9004         * debug/tst-longjmp_chk3.c: New file.
9005
9006         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9007         (test_main): Replace code with set_fortify_handler call.
9008         * debug/test-strcpy_chk.c: Likewise.
9009         * debug/tst-chk1.c: Likewise.
9010         * debug/tst-longjmp_chk.c: Likewise.
9011         * test-skeleton.c: Include fcntl.h & paths.h
9012         (set_fortify_handler): Define.
9013
9014         * debug/tst-longjmp_chk.c: Add header comment and include
9015         ../test-skeleton.c.
9016         (do_test): Mark static.
9017         (TEST_FUNCTION): Define.
9018
9019         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9020         (IP_PMTUDISC_INTERFACE): Likewise.
9021         (IP_MULTICAST_IF): Likewise.
9022         (IP_MULTICAST_TTL): Likewise.
9023         (IP_MULTICAST_LOOP): Likewise.
9024         (IP_ADD_MEMBERSHIP): Likewise.
9025         (IP_DROP_MEMBERSHIP): Likewise.
9026         (IP_UNBLOCK_SOURCE): Likewise.
9027         (IP_BLOCK_SOURCE): Likewise.
9028         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9029         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9030         (IP_MSFILTER): Likewise.
9031         (MCAST_JOIN_GROUP): Likewise.
9032         (MCAST_BLOCK_SOURCE): Likewise.
9033         (MCAST_UNBLOCK_SOURCE): Likewise.
9034         (MCAST_LEAVE_GROUP): Likewise.
9035         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9036         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9037         (MCAST_MSFILTER): Likewise.
9038         (IP_MULTICAST_ALL): Likewise.
9039         (IP_UNICAST_IF): Likewise.
9040
9041         * timezone/Makefile: Delete $(have-ksh) check.
9042         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9043         * timezone/tzselect.ksh: Add +x mode bits.
9044
9045         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9046         (ANON_INODE_FS_MAGIC): Likewise.
9047         (BDEVFS_MAGIC): Likewise.
9048         (BINFMTFS_MAGIC): Likewise.
9049         (BTRFS_TEST_MAGIC): Likewise.
9050         (CRAMFS_MAGIC_WEND): Likewise.
9051         (DEBUGFS_MAGIC): Likewise.
9052         (ECRYPTFS_SUPER_MAGIC): Likewise.
9053         (EXT3_SUPER_MAGIC): Likewise.
9054         (EXT4_SUPER_MAGIC): Likewise.
9055         (FUTEXFS_SUPER_MAGIC): Likewise.
9056         (HOSTFS_SUPER_MAGIC): Likewise.
9057         (HUGETLBFS_MAGIC): Likewise.
9058         (MINIX3_SUPER_MAGIC): Likewise.
9059         (MTD_INODE_FS_MAGIC): Likewise.
9060         (NILFS_SUPER_MAGIC): Likewise.
9061         (OPENPROM_SUPER_MAGIC): Likewise.
9062         (PIPEFS_MAGIC): Likewise.
9063         (PSTOREFS_MAGIC): Likewise.
9064         (QNX6_SUPER_MAGIC): Likewise.
9065         (RAMFS_MAGIC): Likewise.
9066         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9067         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9068         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9069         (SECURITYFS_MAGIC): Likewise.
9070         (SELINUX_MAGIC): Likewise.
9071         (SMACK_MAGIC): Likewise.
9072         (SOCKFS_MAGIC): Likewise.
9073         (SQUASHFS_MAGIC): Likewise.
9074         (STACK_END_MAGIC): Likewise.
9075         (TMPFS_MAGIC): Likewise.
9076         (USBDEVICE_SUPER_MAGIC): Likewise.
9077         (V9FS_MAGIC): Likewise.
9078         (XENFS_SUPER_MAGIC): Likewise.
9079         (CRAMFS_MAGIC): Fix typo in comment.
9080         (EXT2_SUPER_MAGIC): Update comment.
9081         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9082
9083 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9084
9085         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9086         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9087         * sysdeps/unix/sysv/linux/arm: Move directory from
9088         ports/sysdeps/unix/sysv/linux/arm.
9089         * README: Update listing for arm-*-linux-gnueabi.
9090
9091         * README: Remove mention of am33.
9092
9093 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9094
9095         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9096         than the comma operator, to avoid "rhs of comma has no effect"
9097         compiler warnings.
9098         (__sigfillset, __sigandset, __sigorset): Likewise.
9099         * include/signal.h (__sigemptyset): Likewise.
9100         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9101
9102 2014-02-07  Allan McRae  <allan@archlinux.org>
9103
9104         * version.h (RELEASE): Set to "development".
9105         (VERSION): Set to "2.19.90"
9106         * NEWS: Add 2.20 section.
9107
9108 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9109
9110         [BZ #16529]
9111         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9112
9113 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9114
9115         * manual/contrib.texi: Update entry for Carlos O'Donell,
9116         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9117
9118 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9119
9120         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9121
9122         * sysdeps/unix/sysv/linux/kernel-features.h
9123         [__LINUX_KERNEL_VERSION >= 0x020621]
9124         (__ASSUME_PROC_PID_TASK_COMM): Define.
9125
9126 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9127
9128         [BZ #16398]
9129         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9130         conversion when destination buffer does not have enough space.
9131         * libio/tst-ftell-partial-wide.c: New test case.
9132         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9133
9134         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9135         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9136         Leonard and Allan McRae.
9137
9138 2014-02-04  David S. Miller  <davem@davemloft.net>
9139
9140         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9141         32-bit.
9142
9143 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9144
9145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9146         New file
9147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9148         New file
9149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9150         New file.
9151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9152         New file.
9153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9154         New file.
9155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9156         New file.
9157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9158         New file.
9159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9160         New file.
9161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9162         New file.
9163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9164         New file.
9165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9166         New file.
9167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9168         New file.
9169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9170         New file.
9171
9172 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9173
9174         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9175         * shlib-versions: Likewise.
9176
9177 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9178             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9179
9180         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9181         (abilist-pattern): New variable, set to %-le.abilist.
9182
9183         * Makerules (abilist-pattern): New variable.
9184         (vpath): Use $(abilist-pattern) in place of %.abilist.
9185         (check-abi-% pattern rule): Likewise.
9186         (check-abi, update-abi): Likewise.
9187
9188 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9189
9190         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9191
9192 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9193
9194         * manual/startup.texi: Add next, previous, and top entries for
9195         the `Program Arguments' and `Environment Variables' nodes.
9196
9197 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
9198
9199         * manual/macros.texi: Add comments before MTASC-safety macros.
9200
9201         * manual/users.texi: Document MTASC-safety properties.
9202
9203         * manual/threads.texi (pthread_key_create, pthread_key_delete)
9204         (pthread_getspecific, pthread_setspecific): Format with
9205         @deftypefun, and add @safety note.
9206         * manual/signal.texi: Move comments that analyze the above
9207         functions to their home place.
9208
9209 2014-02-03  Allan McRae  <allan@archlinux.org>
9210
9211         * po/sl.po: Update Slovenian translation from translation project.
9212
9213 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
9214
9215         * manual/time.texi (timegm): Add missing blank after @c.
9216         Reported by Joseph Myers <joseph@codesourcery.com>.
9217
9218 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
9219
9220         * manual/check-safety.sh: New.
9221         * manual/Makefile ($(objpfx)stamp-summary): Run it.
9222
9223         * manual/terminal.texi: Document MTASC-safety properties.
9224
9225         * manual/filesys.texi: Document MTASC-safety properties.
9226
9227         * manual/errno.texi: Document MTASC-safety properties.
9228
9229         * manual/intro.texi: Document safety identifiers and
9230         conditionals.
9231
9232         * manual/string.texi (wcstok): Fix prototype.
9233         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9234
9235         * manual/time.texi: Document MTASC-safety properties.
9236
9237         * manual/string.texi: Document MTASC-safety properties.
9238
9239         * manual/threads.texi: Document MTASC-safety properties.
9240
9241         * manual/stdio.texi: Document MTASC-safety properties.
9242
9243         * manual/syslog.texi: Document MTASC-safety properties.
9244
9245         * manual/sysinfo.texi: Document MTASC-safety properties.
9246
9247         * manual/startup.texi: Document MTASC-safety properties.
9248
9249         * manual/socket.texi: Document MTASC-safety properties.
9250
9251         * manual/signal.texi: Document MTASC-safety properties.
9252
9253 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
9254
9255         * manual/setjmp.texi: Document MTASC-safety properties.
9256
9257         * manual/search.texi: Document MTASC-safety properties.
9258
9259         * manual/resource.texi: Document MTASC-safety properties.
9260
9261         * manual/process.texi: Document MTASC-safety properties.
9262
9263         * manual/platform.texi: Document MTASC-safety properties.
9264
9265         * manual/pipe.texi: Document MTASC-safety properties.
9266
9267         * manual/pattern.texi: Document MTASC-safety properties.
9268
9269         * manual/message.texi: Document MTASC-safety properties.
9270
9271         [BZ #12751]
9272         * manual/memory.texi: Document MTASC-safety properties.
9273
9274         * manual/math.texi: Document MTASC-safety properties.
9275
9276         * manual/locale.texi: Document MTASC-safety properties.
9277
9278         * manual/llio.texi: Document MTASC-safety properties.
9279
9280         * manual/libdl.texi: New.
9281
9282         * manual/lang.texi: Document MTASC-safety properties.
9283
9284         * manual/job.texi: Document MTASC-safety properties.
9285
9286         * manual/getopt.texi: Document MTASC-safety properties.
9287
9288         * manual/ctype.texi: Document MTASC-safety properties.
9289
9290 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
9291
9292         [BZ #16046]
9293         * csu/libc-tls.c (static_map): Remove variable.
9294         (__libc_setup_tls): Use main executable's link map for TLS data.
9295         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9296         casing for LM_ID_BASE and GL(dl_nns).
9297         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9298         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
9299         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9300         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9301         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9302         member.
9303         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9304         l_phnum members.
9305
9306 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
9307
9308         * manual/debug.texi: Document MTASC-safety properties.
9309
9310 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
9311
9312         [BZ #16510]
9313         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9314         of __x86_64__ when disabling x87 inline functions.
9315
9316 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
9317
9318         * manual/charset.texi: Document MTASC-safety properties.
9319
9320         * manual/crypt.texi: Document MTASC-safety properties.
9321
9322         * manual/conf.texi: Document MTASC-safety properties.
9323
9324         * manual/arith.texi: Document MTASC-safety properties.
9325
9326         * manual/argp.texi: Document MTASC-safety properties.
9327
9328         * manual/macros.texi: Introduce macros to document multi
9329         thread, asynchronous signal and asynchronous cancellation
9330         safety properties.
9331         * manual/intro.texi: Introduce the properties themselves.
9332
9333 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9334
9335         * sysdeps/sh/sh4/Makefile: New file.
9336
9337 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
9338
9339         * math/gen-libm-test.pl ($srcdir): New variable.
9340         ($auto_input): Use it.
9341
9342 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9343
9344         [BZ #16506]
9345         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9346         access beyond array bounds when parsing netgroups file.
9347
9348         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9349         the old buffer before realloc.
9350
9351 2014-01-27  Allan McRae  <allan@archlinux.org>
9352
9353         * po/fr.po: Update French translation from translation project.
9354
9355 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9356
9357         * sysdeps/sh/libm-test-ulps: Regenerate.
9358
9359 2014-01-24  David S. Miller  <davem@davemloft.net>
9360
9361         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9362
9363 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9364
9365         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9366         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9367
9368 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9369
9370         [BZ #16474]
9371         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9372         string pointers after reallocation.
9373
9374 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9375
9376         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9377         __SH4A__ instead of __SH_FPU_ANY__.
9378
9379 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9380
9381         * sysdeps/sh/fpu_control.h: New file.
9382         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9383         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9384         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9385         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9386         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9387         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9388         * sysdeps/sh/sys/ucontext.h: Remove.
9389         * sysdeps/sh/sys: Remove directory.
9390
9391 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9392
9393         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9394         s390/sys/ucontext.h.
9395         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9396         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9397
9398 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
9399
9400         [BZ #15605]
9401         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9402
9403 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9404
9405         [BZ#16431]
9406         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9407         Adjust the vDSO correctly for internal calls.
9408         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9409
9410 2014-01-20  Allan McRae  <allan@archlinux.org>
9411
9412         * po/ca.po: Update Catalan translation from translation project.
9413
9414 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
9415
9416         * sysdeps/s390/sotruss-lib.c: New file.
9417
9418 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9419
9420         [BZ#16430]
9421         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9422         (__GI___gettimeofday): Alias for a different internal symbol to avoid
9423         local calls issues by not having a PLT stub required for IFUNC calls.
9424         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9425
9426 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
9427
9428         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9429         * math/test-fpucw-static.c: Likewise.
9430
9431 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9432
9433         [BZ #16453]
9434         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9435
9436 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9437
9438         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9439         implementation for powerpc.
9440
9441 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
9442
9443         [BZ #14782]
9444         * sysdeps/posix/system.c (__libc_system): Do not enable
9445         asynchronous cancellation.
9446
9447 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9448
9449         [BZ #16427]
9450         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9451         handling only for numbers special also in the IEEE case.
9452
9453 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9454
9455         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9456
9457 2014-01-11  Allan McRae  <allan@archlinux.org>
9458
9459         * po/bg.po: Update Bulgarian translation from translation project.
9460
9461         * po/de.po: Update German translation from translation project.
9462
9463 2014-01-10  Roland McGrath  <roland@hack.frob.com>
9464
9465         * sysdeps/generic/gcc-compat.h: New file.
9466
9467 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9468
9469         * benchtests/asin-inputs: Correct slow inputs.
9470         * benchtests/acos-inputs: Likewise.
9471
9472 2014-01-10  Allan McRae  <allan@archlinux.org>
9473
9474         * po:sv.po: Update Swedish translation from translation project.
9475
9476         * po/vi.po: Update Vietnamese translation from translation project.
9477
9478         * po/eo.po: Update Esperanto translation from translation project.
9479
9480         * po/cs.po: Update Czech translation from translation project.
9481
9482         * po/nl.po: Update Dutch translation from translation project.
9483
9484         * po/pl.po: Update Polish translation from translation project.
9485
9486         * po/ru.po: Update Russian translation from translation project.
9487
9488         * po/uk.po: Update Ukrainian translation from translation project.
9489
9490 2014-01-08  Brooks Moses  <bmoses@google.com>
9491
9492         * elf/dl-load.c: Fix comment typo.
9493
9494 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
9495
9496         * po/header.pot: Rename to...
9497         * po/pot.header: ... this.
9498         * po/Makefile: Use pot.header.
9499
9500 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
9501             Maxim Kuvyrkov  <maxim@kugelworks.com>
9502
9503         [BZ #16394]
9504         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9505         SRC and DEST against LEN.
9506
9507 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9508
9509         [BZ #16414]
9510         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9511         implementation.
9512         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9513
9514 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9515
9516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9517
9518 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
9519
9520         [BZ #16408]
9521         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9522         for large positive arguments.
9523
9524 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
9525
9526         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9527
9528         * math/auto-libm-test-in: Mark various tests with
9529         xfail-rounding:ldbl-128ibm.
9530         * math/auto-libm-test-out: Regenerated.
9531
9532         [BZ #16407]
9533         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9534         Increase overflow threshold.
9535
9536 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
9537
9538         [BZ #14286]
9539         * stdio-common/vfprintf.c: Check for integer overflow.
9540
9541 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9542
9543         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9544         the first argument and return value of __tls_get_addr_internal.
9545
9546 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9547
9548         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9549         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9550
9551 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9552
9553         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9554         * sysdeps/s390/rtld-global-offsets.sym: New file.
9555         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9556         GLIBC_2.19 symbol.
9557         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9558         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9559         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9560         ... this.
9561         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9562         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9563         ... this.
9564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9565         Regenerate.
9566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9567         Regenerate.
9568         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9569         halfs of GPRs for high_gprs contexts.
9570         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9571         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
9572         field.
9573         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9574         uc_flags field.
9575         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9576         64 bit versions:
9577         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9578         for high GPRs (uc_high_gprs) and for future extensions
9579         (__reserved).
9580         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9581         for future extensions (__reserved).
9582         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9583         64 bit versions:
9584         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9585         SC_HIGHGPRS offset definition.
9586         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9587         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9588
9589         * Versions.def: Add GLIBC_2.19 for libpthread.
9590         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9591         siglongjmp for libpthread with GLIBC_2.19 symver.
9592         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9593         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9594         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9595         * sysdeps/s390/__longjmp.c: New file.
9596         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9597         * sysdeps/s390/longjmp.c: New file.
9598         * sysdeps/s390/setjmp.S: New file.
9599         * sysdeps/s390/sigjmp.S: New file.
9600         * sysdeps/s390/v1-longjmp.c: New file.
9601         * sysdeps/s390/v1-setjmp.h: New file.
9602         * sysdeps/s390/v1-sigjmp.c: New file.
9603         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9604         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9605         GLIBC_2.19 version.
9606         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9607         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9608         versioned symbols for ____longjmp_chk.
9609         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9610         Likewise.
9611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9612         Regenerate.
9613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9614         Regenerate.
9615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9616         Regenerate.
9617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9618         Regenerate.
9619         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9620         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9621         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9622         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9623         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9624         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9625         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9626         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9627         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9628         * sysdeps/s390/rtld-__longjmp.c: New file.
9629         * sysdeps/s390/rtld-setjmp.S: New file.
9630
9631 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
9632
9633         [BZ #16400]
9634         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9635         Return -__logl (x) for small positive arguments without evaluating
9636         a polynomial.
9637
9638 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
9639
9640         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9641         Rename to ...
9642         (__ptrace_peeksiginfo_args): ... this.
9643         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9644         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9645         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9646
9647 2014-01-06  Allan McRae  <allan@archlinux.org>
9648
9649         * inet/netinet/in.h: Fix typo in comment.
9650
9651 2014-01-05  Andreas Jaeger  <aj@suse.de>
9652
9653         * sysdeps/i386/fpu/libm-test-ulps: Update.
9654
9655 2014-01-05  Allan McRae  <allan@archlinux.org>
9656
9657         * po/libc.pot: Regenerated.
9658
9659         * malloc/memusagestat.c: Fix gettext call formatting.
9660
9661 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
9662
9663         * nscd/nscd.c: Improve usage() output.
9664
9665 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
9666
9667         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9668         * sysdeps/unix/sysv/linux/configure: Regenerated.
9669         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9670         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9671
9672 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9673
9674         [BZ #16390]
9675         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9676         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9677
9678 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9679
9680         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9681         extra tokens at end of #undef directive.
9682         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9683         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9684         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9685
9686 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9687
9688         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9689
9690         * math/auto-libm-test-in: Mark various tests with
9691         xfail-rounding:ldbl-128ibm.
9692         * math/auto-libm-test-out: Regenerated.
9693
9694 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
9695
9696         [BZ #16386]
9697         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9698         numbers with subnormal high part when calculating exponent.
9699
9700         [BZ #16385]
9701         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9702         fabs.
9703
9704         [BZ #16384]
9705         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9706         M_LN2l.
9707         (__ieee754_acoshl): Use __log1pl not __log1p.
9708
9709 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
9710
9711         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9712         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9713         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9714         (grow_heap, heap_trim, _int_new_arena, get_free_list)
9715         (reused_arena, arena_get2): Convert to GNU style.
9716         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9717         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9718         (memalign_check, __malloc_set_state): Likewise.
9719         * malloc/mallocbug.c (main): Likewise.
9720         * malloc/malloc.c (__malloc_assert, malloc_init_state)
9721         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9722         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9723         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9724         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9725         (__posix_memalign, malloc_info): Likewise.
9726         * malloc/malloc.h: Likewise.
9727         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9728         (mallochook, memalignhook, reallochook, mabort): Likewise.
9729         * malloc/mcheck.h: Likewise.
9730         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9731         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9732         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9733         * malloc/morecore.c (__default_morecore): Likewise.
9734         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9735         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9736         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9737         (print_and_abort): Likewise.
9738         * malloc/obstack.h: Likewise.
9739         * malloc/set-freeres.c (__libc_freeres): Likewise.
9740         * malloc/tst-mallocstate.c (main): Likewise.
9741         * malloc/tst-mtrace.c (main): Likewise.
9742         * malloc/tst-realloc.c (do_test): Likewise.
9743
9744 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9745
9746         [BZ #16366]
9747         * nscd/netgroupcache.c (do_notfound): New function.
9748         (addgetnetgrentX): Use it.
9749
9750         [BZ # 16365]
9751         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9752         NSS_STATUS_NOTFOUND.
9753
9754 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
9755
9756         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9758
9759 2014-01-01  Allan McRae  <allan@archlinux.org>
9760
9761         * scripts/update-copyrights: Update configure input file suffix.
9762
9763         * NEWS: Update copyright year.
9764         * catgets/gencat.c: Likewise.
9765         * csu/version.c: Likewise.
9766         * debug/catchsegv.sh: Likewise.
9767         * debug/pcprofiledump.c: Likewise.
9768         * debug/xtrace.sh: Likewise.
9769         * elf/ldconfig.c: Likewise.
9770         * elf/ldd.bash.in: Likewise.
9771         * elf/pldd.c: Likewise.
9772         * elf/sotruss.ksh: Likewise.
9773         * elf/sprof.c: Likewise.
9774         * iconv/iconv_prog.c: Likewise.
9775         * iconv/iconvconfig.c: Likewise.
9776         * locale/programs/locale.c: Likewise.
9777         * locale/programs/localedef.c: Likewise.
9778         * login/programs/pt_chown.c: Likewise.
9779         * malloc/memusage.sh: Likewise.
9780         * malloc/memusagestat.c: Likewise.
9781         * malloc/mtrace.pl: Likewise.
9782         * manual/libc.texinfo: Likewise.
9783         * nscd/nscd.c: Likewise.
9784         * nss/getent.c: Likewise.
9785         * nss/makedb.c: Likewise.
9786         * posix/getconf.c: Likewise.
9787         * scripts/test-installation.pl: Likewise.
9788
9789         * All files with FSF copyright notices: Update copyright dates
9790         using scripts/update-copyrights.
9791         * intl/plural.c: Regenerated.
9792         * locale/programs/charmap-kw.h: Likewise.
9793         * locale/programs/locfile-kw.h: Likewise.
9794
9795 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
9796
9797         * sysdeps/unix/sysv/linux/configure: Regenerated.
9798         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9799         the linux/fanotify.h header.
9800         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9801         HAVE_LINUX_FANOTIFY_H is defined.
9802
9803 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9804
9805         * benchtests/cos-inputs: New inputs.
9806         * benchtests/sin-inputs: Likewise.
9807
9808         * benchtests/atan-inputs: New inputs. Fix name of multiple
9809         precision fallback inputs.
9810
9811         * benchtests/atanh-inputs: New inputs.
9812         * benchtests/tanh-inputs: Likewise.
9813
9814         * benchtests/acosh-inputs: New inputs.
9815         * benchtests/asinh-inputs: Likewise.
9816
9817         * benchtests/cosh-inputs: New inputs.
9818         * benchtests/sinh-inputs: Likewise.
9819
9820         * benchtests/acos-inputs: Add more inputs.
9821         * benchtests/asin-inputs: Likewise.
9822
9823 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
9824
9825         [BZ #16375]
9826         * manual/arith.texi: Fix spelling.
9827         * manual/charset.texi: Likewise.
9828         * manual/errno.texi: Likewise.
9829         * manual/filesys.texi: Likewise.
9830         * manual/lang.texi: Likewise.
9831         * manual/llio.texi: Likewise.
9832         * manual/locale.texi: Likewise.
9833         * manual/message.texi: Likewise.
9834         * manual/resource.texi: Likewise.
9835         * manual/search.texi: Likewise.
9836         * manual/setjmp.texi: Likewise.
9837         * manual/stdio.texi: Likewise.
9838         * manual/string.texi: Likewise.
9839         * manual/sysinfo.texi: Likewise.
9840         * manual/time.texi: Likewise.
9841
9842 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
9843
9844         * po/sl.po: New file.
9845
9846 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
9847
9848         * .gitignore: Add core/.gdbinit/.gdb_history.
9849
9850 2013-12-27  Allan McRae  <allan@archlinux.org>
9851
9852         [BZ #16369]
9853         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9854         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9855
9856 2013-12-24  Brooks Moses  <bmoses@google.com>
9857
9858         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9859         all compilers that claim C++98 compliance, not just GCC.
9860         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9861         Likewise.
9862
9863 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
9864
9865         * NEWS: Restore accidentally deleted bug-fix entries.
9866
9867 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
9868             Ondřej Bílka  <neleai@seznam.cz>
9869
9870         [BZ #15073]
9871         * malloc/malloc.c (_int_free): Perform sanity check only if we
9872         have_lock.
9873
9874 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
9875
9876         [BZ #12986]
9877         * manual/stdio.texi (String Input Conversions): Clarify that character
9878         classes are not supported.
9879
9880 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9881
9882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9883
9884 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
9885
9886         [BZ #16337]
9887         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9888         Calculate results for small negative arguments directly rather
9889         than using reflection formula with special underflow handling.
9890
9891         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9892         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9893         sysdeps/unix/bsd/bsd4.4/syscalls.list.
9894         (fchflags): Likewise.
9895         (revoke): Likewise.
9896         (setlogin): Likewise.
9897         (sigaltstack): Likewise.
9898         (wait4): Likewise.
9899         (sigblock): Remove.
9900         (sigsetmask): Likewise.
9901         (wait3): Likewise.
9902         (waitpid): Likewise.
9903         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9904         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9905         file.
9906         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9907         * sysdeps/unix/bsd/Makefile: ... here.
9908         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9909         * sysdeps/unix/bsd/Versions: ... here.
9910         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9911         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9912         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9913         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9914         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9915         * sysdeps/unix/bsd/sigblock.c: ... here.
9916         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9917         * sysdeps/unix/bsd/sigsetmask.c: ... here.
9918         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9919         * sysdeps/unix/bsd/sigvec.c: ... here.
9920         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9921         * sysdeps/unix/bsd/tcdrain.c: ... here.
9922         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9923         * sysdeps/unix/bsd/tcgetattr.c: ... here.
9924         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9925         * sysdeps/unix/bsd/tcsetattr.c: ... here.
9926         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9927         * sysdeps/unix/bsd/wait.c: ... here.
9928         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9929         * sysdeps/unix/bsd/wait3.c: ... here.
9930         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9931         * sysdeps/unix/bsd/waitpid.c: ... here.
9932
9933 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
9934
9935         [BZ #16356]
9936         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9937         round-to-nearest for [!USE_AS_EXPM1L].
9938         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9939         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
9940         more tests of exp and exp10.  Expect some exp10 tests to miss
9941         exceptions or fail in directed rounding modes.
9942         * math/auto-libm-test-out: Regenerated.
9943         * math/libm-test.inc (exp10_tonearest_test_data): New array.
9944         (exp10_test_tonearest): New function.
9945         (exp10_towardzero_test_data): New array.
9946         (exp10_test_towardzero): New function.
9947         (exp10_downward_test_data): New array.
9948         (exp10_test_downward): New function.
9949         (exp10_upward_test_data): New array.
9950         (exp10_test_upward): New function.
9951         (main): Call the new functions.
9952         * sysdeps/i386/fpu/libm-test-ulps: Update.
9953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9954
9955 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
9956
9957         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9958         asinh, atan, atan2, atanh, cbrt, cos and cosh.
9959         * math/auto-libm-test-out: Regenerated.
9960         * math/libm-test.inc (acosh_test_data): Add more tests.
9961         (atanh_test_data): Likewise.
9962         (ceil_test_data): Likewise.
9963         (copysign_test_data): Likewise.
9964         * sysdeps/i386/fpu/libm-test-ulps: Update.
9965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9966
9967         * timezone/checktab.awk: Update from tzcode 2013i.
9968         * timezone/private.h: Likewise.
9969         * timezone/scheck.c: Likewise.
9970         * timezone/tzfile.h: Likewise.
9971         * timezone/tzselect.ksh: Likewise.
9972         * timezone/zdump.c: Likewise.
9973         * timezone/zic.c: Likewise.
9974
9975         * math/auto-libm-test-in: Add tests of cpow.
9976         * math/auto-libm-test-out: Regenerated.
9977         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9978         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9979         mpc_cc_c.
9980         (func_calc_desc): Add mpc_cc_c union field.
9981         (test_functions): Add cpow.
9982         (special_fill_2pi): New function.
9983         (special_real_inputs): Add 2pi.
9984         (calc_generic_results): Handle mpc_cc_c.
9985         * sysdeps/i386/fpu/libm-test-ulps: Update.
9986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9987
9988         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9989         csqrt, ctan and ctanh.
9990         * math/auto-libm-test-out: Regenerated.
9991         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9992         (TEST_COND_x86): Likewise.
9993         (ccos_test_data): Use AUTO_TESTS_c_c.
9994         (ccosh_test_data): Likewise.
9995         (cexp_test_data): Likewise.
9996         (clog_test_data): Likewise.
9997         (csqrt_test_data): Likewise.
9998         (ctan_test_data): Likewise.
9999         (ctan_tonearest_test_data): Likewise.
10000         (ctan_towardzero_test_data): Likewise.
10001         (ctan_downward_test_data): Likewise.
10002         (ctan_upward_test_data): Likewise.
10003         (ctanh_test_data): Likewise.
10004         (ctanh_tonearest_test_data): Likewise.
10005         (ctanh_towardzero_test_data): Likewise.
10006         (ctanh_downward_test_data): Likewise.
10007         (ctanh_upward_test_data): Likewise.
10008         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10009         mpc_c_c.
10010         (func_calc_desc): Add mpc_c_c union field.
10011         (FUNC_mpc_c_c): New macro.
10012         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10013         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10014         ctanh.
10015         (special_fill_min_subnorm_p120): New function.
10016         (special_real_inputs): Add min_subnorm_p120.
10017         (calc_generic_results): Handle mpc_c_c.
10018         * sysdeps/i386/fpu/libm-test-ulps: Update.
10019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10020
10021 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10022
10023         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10024         (do_sin_slow): New functions.
10025         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10026         (cslow2, csloww1, csloww2): Use the new functions.
10027
10028         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10029         Use M to change sign of result instead of X.  Assume X is
10030         positive.
10031         (csloww1): Likewise.
10032         (__sin): Adjust.
10033         (__cos): Adjust.
10034
10035         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10036         arguments A and DA.
10037         (__sin): Adjust.
10038         (__cos): Likewise.
10039
10040         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10041         (__cos): Likewise.
10042         (sloww1): Don't adjust sign of DX.
10043         (csloww1): Likewise.
10044         (sloww2): Use X directly and don't adjust sign of DX.
10045         (csloww2): Likewise.
10046
10047 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10048
10049         * math/auto-libm-test-in: Add tests of cabs and carg.
10050         * math/auto-libm-test-out: Regenerated.
10051         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10052         (carg_test_data): Likewise.
10053         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10054         mpc_c_f.
10055         (func_calc_desc): Add mpc_c_f union field.
10056         (test_functions): Add cabs and carg.
10057         (calc_generic_results): Handle mpc_c_f.
10058
10059         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10060         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10061         as a macro and a compat symbol.
10062         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10063         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10064         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10065         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10066         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10067         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10068         not use .hidden.
10069         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10070         Likewise.
10071         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10072         Likewise.
10073         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10074         Likewise.
10075         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10076         Likewise.
10077         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10078         Likewise.
10079         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10080         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10081         from GLIBC_2.3.2.
10082
10083 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10084
10085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10086
10087 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10088
10089         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10090         trailing whitespace removed.
10091         * scripts/config.guess: Update to version 2013-11-29.
10092         * scripts/config.sub: Update to version 2013-10-01.
10093
10094         * math/auto-libm-test-in: Add tests of sincos.
10095         * math/auto-libm-test-out: Regenerated.
10096         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10097         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10098         mpfr_f_11.
10099         (func_calc_desc): Add mpfr_f_11 union field.
10100         (test_functions): Add sincos.
10101         (calc_generic_results): Handle mpfr_f_11.
10102         * sysdeps/i386/fpu/libm-test-ulps: Update.
10103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10104
10105 2013-12-19  Andreas Schwab  <schwab@suse.de>
10106
10107         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10108         CALL_MCOUNT.
10109         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10110         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10111         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10112
10113 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10114
10115         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10116         * sysdeps/i386/fpu/libm-test-ulps: Update.
10117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10118
10119         [BZ #16293]
10120         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10121         round-to-nearest mode when using frndint.
10122         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10123         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10124         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10125         Likewise.
10126         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10127         sinh test to fail.
10128         * math/auto-libm-test-out: Regenerated.
10129         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10130         (TEST_COND_x86): Likewise.
10131         (expm1_tonearest_test_data): New array.
10132         (expm1_test_tonearest): New function.
10133         (expm1_towardzero_test_data): New array.
10134         (expm1_test_towardzero): New function.
10135         (expm1_downward_test_data): New array.
10136         (expm1_test_downward): New function.
10137         (expm1_upward_test_data): New array.
10138         (expm1_test_upward): New function.
10139         (main): Run the new test functions.
10140         * sysdeps/i386/fpu/libm-test-ulps: Update.
10141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10142
10143         * include/features.h: Update comment documenting feature test
10144         macros.  Mention _DEFAULT_SOURCE in comment.
10145         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10146         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10147         _BSD_SOURCE and _SVID_SOURCE.
10148         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10149         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10150         !_SVID_SOURCE]: Likewise.
10151         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10152         (__USE_POSIX_IMPLICITLY): Define.
10153         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10154         (_POSIX_SOURCE): Undefine and redefine.
10155         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10156         (_POSIX_C_SOURCE): Likewise.
10157         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10158         (Feature Test Macros): Update documentation of default features.
10159
10160 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10161
10162         * benchtests/Makefile: Add bench-strtok.
10163         * benchtests/bench-strtok.c: New file: strtok benchtest.
10164
10165 2013-12-19  Allan McRae  <allan@archlinux.org>
10166
10167         * manual/install.texi: Suppress menu for plain text output.
10168         * INSTALL: Regenerated.
10169
10170 2013-12-18  Brooks Moses  <bmoses@google.com>
10171
10172         [BZ #15846]
10173         * misc/getauxval.c: Include errno.h.
10174         (__getauxval): Set errno to ENOENT if the requested type is not
10175         found.
10176         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10177         don't declare with __attribute_const__.
10178         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10179         * manual/startup.texi: Document that getauxval sets errno.
10180
10181 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10182
10183         * math/auto-libm-test-in: Add tests of jn and yn.
10184         * math/auto-libm-test-out: Regenerated.
10185         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10186         (yn_test_data): Likewise.
10187         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10188         mpfr_if_f.
10189         (func_calc_desc): Add mpfr_if_f union field.
10190         (FUNC_mpfr_if_f): New macro.
10191         (test_functions): Add jn and yn.
10192         (calc_generic_results): Assert type of second input for
10193         mpfr_ff_f.  Handle mpfr_if_f.
10194         (output_for_one_input_case): Disable all checking for arguments
10195         fitting floating-point types in case of an integer argument.
10196         * sysdeps/i386/fpu/libm-test-ulps: Update.
10197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10198
10199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10200         Don't expect fegetround reference in libm.so.
10201
10202 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10203
10204         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10205         $(config-cflags-nofma).
10206
10207 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10208
10209         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10210         * math/auto-libm-test-out: Regenerated.
10211
10212         [BZ #16338]
10213         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10214         to determine exponent and adjust argument to have exponent of -1.
10215         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10216         log2.
10217         * math/auto-libm-test-out: Regenerated.
10218         * sysdeps/i386/fpu/libm-test-ulps: Update.
10219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10220
10221 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
10222
10223         * manual/probes.texi: Remove cases when per-thread arenas are
10224         disabled.
10225
10226 2013-12-18  Andreas Schwab  <schwab@suse.de>
10227
10228         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10229         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10230         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10231         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10232         * sysdeps/i386/i686/multiarch/Makefile: Update.
10233         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10234
10235 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10236
10237         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10238         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10239
10240 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
10241
10242         [BZ #15968]
10243         Support TZ transition times < 00:00:00.
10244         This is needed for version-3 tz-format files; it supports time
10245         stamps past 2037 for America/Godthab (the only entry in the tz
10246         database for which this change is relevant).
10247         * manual/time.texi (TZ Variable): Document transition times
10248         from -167:59:59 through -00:00:01.
10249         * time/tzset.c (tz_rule): Time of day is now signed.
10250         (__tzset_parse_tz): Parse negative time of day.
10251
10252         Document TZ transition times >= 25:00:00.
10253         * manual/time.texi (TZ Variable): Document transition times from
10254         25:00:00 through 167:59:59.  These are already supported, and this
10255         support will help with version-3 tz-format files.
10256
10257         * manual/time.texi (TZ Variable): Modernize North America example
10258         to reflect current (i.e., 2007-and-later) daylight saving rules.
10259
10260         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10261
10262 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10263
10264         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10265         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10266         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10267         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10268         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10269         * sysdeps/unix/bsd/bsdstat.h: Likewise.
10270         * sysdeps/unix/bsd/clock.c: Likewise.
10271         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10272         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10273         * sysdeps/unix/bsd/init-posix.c: Likewise.
10274         * sysdeps/unix/bsd/poll.c: Likewise.
10275         * sysdeps/unix/bsd/ptsname.c: Likewise.
10276         * sysdeps/unix/bsd/seekdir.c: Likewise.
10277         * sysdeps/unix/bsd/setegid.c: Likewise.
10278         * sysdeps/unix/bsd/seteuid.c: Likewise.
10279         * sysdeps/unix/bsd/setgid.c: Likewise.
10280         * sysdeps/unix/bsd/setrgid.c: Likewise.
10281         * sysdeps/unix/bsd/setruid.c: Likewise.
10282         * sysdeps/unix/bsd/setsid.c: Likewise.
10283         * sysdeps/unix/bsd/setuid.c: Likewise.
10284         * sysdeps/unix/bsd/sigaction.c: Likewise.
10285         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10286         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10287         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10288         * sysdeps/unix/bsd/telldir.c: Likewise.
10289         * sysdeps/unix/bsd/times.c: Likewise.
10290         * sysdeps/unix/bsd/usleep.c: Likewise.
10291
10292         * misc/Makefile (install-lib): Remove libbsd-compat.a.
10293         ($(objpfx)libbsd-compat.a): Remove rule.
10294
10295         * include/features.h (__FAVOR_BSD): Do not define.
10296         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10297         features conflicting with POSIX.
10298         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10299         (_BSD_SOURCE): Remove description of not being a subset of other
10300         feature test macros.
10301         * manual/job.texi (getpgrp): Do not document BSD version.
10302         (getpgid): Do not document by reference to BSD getpgrp.
10303         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10304         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10305         * signal/signal.h [__FAVOR_BSD]: Likewise.
10306         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10307         instead of making contents conditional on [__FAVOR_BSD].
10308         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10309
10310 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10311
10312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10313
10314 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10315
10316         [BZ #16314]
10317         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10318         values below 2**-450, not 2**-500.
10319         * math/auto-libm-test-in: Don't allow spurious underflow from
10320         hypot.
10321         * math/auto-libm-test-out: Regenerated.
10322
10323         [BZ #16316]
10324         [BZ #16330]
10325         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10326         values of ha and hb and sort them after adjusting subnormal
10327         arguments.
10328         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10329         Likewise.
10330         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10331         values of ea and eb and sort them after adjusting subnormal
10332         arguments.
10333         * math/auto-libm-test-in: Do not expect some hypot tests of
10334         subnormals to fail.  Add more hypot tests.
10335         * math/auto-libm-test-out: Regenerated.
10336
10337 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10338
10339         [BZ #13304]
10340         * sysdeps/sh/s_fma.c: New file.
10341         * sysdeps/sh/s_fmaf.c: New file.
10342         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
10343         version.
10344         * sysdeps/sh/Implies: Add sh/soft-fp.
10345
10346 2013-12-16  Roland McGrath  <roland@hack.frob.com>
10347
10348         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
10349         level of indirection to members `objname', `errstring', `malloced'.
10350         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10351         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
10352         it as the __longjmp argument (just pass 1 instead).
10353         (_dl_catch_error): Initialize C with argument pointers and address of
10354         volatile local ERRCODE rather than copying values out of C at return.
10355
10356 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
10357
10358         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10359         * math/auto-libm-test-out: Regenerated.
10360         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10361         (hypot_test_data): Likewise.
10362         (pow_test_data): Likewise.
10363         (pow_tonearest_test_data): Likewise.
10364         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10365         mpfr_ff_f.
10366         (func_calc_desc): Add mpfr_ff_f union field.
10367         (FUNC_mpfr_ff_f): New macro.
10368         (test_functions): Add atan2, hypot and pow.
10369         (special_fill_min): New function.
10370         (special_fill_minus_min): Likewise.
10371         (special_fill_min_subnorm): Likewise.
10372         (special_fill_minus_min_subnorm): Likewise.
10373         (special_real_inputs): Add min, -min, min_subnorm and
10374         -min_subnorm.
10375         (calc_generic_results): Handle mpfr_ff_f.
10376         * sysdeps/i386/fpu/libm-test-ulps: Update.
10377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10378
10379 2013-12-16  Will Newton  <will.newton@linaro.org>
10380
10381         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10382         (Aligned Memory Blocks): Add documentation for aligned_alloc
10383         and suggest it as an alternative to posix_memalign.
10384         (Hooks for Malloc): Document __memalign_hook is also called
10385         for aligned_alloc.  (Summary of Malloc): Add summary for
10386         aligned alloc.  Document __memalign_hook is also called
10387         for aligned_alloc.
10388
10389 2013-12-16  Will Newton  <will.newton@linaro.org>
10390
10391         * manual/memory.texi (Malloc Examples): Clarify default
10392         alignment documentation.  Suggest posix_memalign rather
10393         than memalign or valloc.
10394         (Aligned Memory Blocks): Remove suggestion to use memalign
10395         or valloc.  Remove obsolete comment about BSD.
10396         Document memalign errno values and mark the function obsolete.
10397         Document posix_memalign returned error codes.  Mark valloc
10398         as obsolete.  (Hooks for Malloc): __memalign_hook is also
10399         called for posix_memalign and valloc.
10400         (Summary of Malloc): Add posix_memalign to function summary.
10401         __memalign_hook is also called for posix_memalign and valloc.
10402
10403 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10404
10405         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10406         TAYLOR_SIN.
10407         (__sin): Adjust.
10408         (__cos): Likewise.
10409         (sloww): Use mynumber union.  Expand ternary operator into
10410         if-else statements.
10411         (cslow): use mynumber union.
10412
10413 2013-12-16  Allan McRae  <allan@archlinux.org>
10414
10415         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10416         * configure: Regenerated.
10417
10418         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10419
10420         [BZ #14120]
10421         * configure.ac: Added --enable-maintainer-mode. Check for
10422         autoconf when enabled.
10423         * configure: Regenerated.
10424
10425         * nscd/nscd.service: New file.
10426         * nscd/nscd.tmpfiles: New file.
10427
10428 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
10429
10430         [BZ #12100]
10431         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10432         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10433         * sysdeps/x86_64/multiarch/strstr.c: ... here.
10434         (strstr): Add __strstr_sse2_unaligned ifunc.
10435         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10436         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10437         (strcasestr): Remove __strcasestr_sse42 ifunc.
10438         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10439         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10440         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10441
10442 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10443
10444         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10445         * sysdeps/sh/bits/fenv.h: ... here.
10446         * sysdeps/sh/sh4/fpu/bits: Remove directory.
10447
10448 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10449
10450         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10451
10452         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10453         hypotf multiarch implementations.
10454         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10455         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10456         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10457         multiarch hypot for PPC64.
10458         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10459         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10460         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10461         multiarch hypotf for PPC64.
10462
10463         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10464         modff multiarch implementations.
10465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10468         multiarch modf for PPC64.
10469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10472         multiarch modff for PPC64.
10473
10474         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10475         and logl multiarch implementations.
10476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10479         multiarch logb for PPC64.
10480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10483         multiarch logb for PPC64.
10484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10487         multiarch logb for PPC64.
10488
10489         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10490         isinff multiarch implementation.
10491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10492         file.
10493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10495         multiarch isinf for PPC64.
10496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10497         file.
10498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10499         multiarch isinff for PPC64.
10500
10501         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10502         finitef multiarch implementation.
10503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10504         file.
10505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10507         multiarch finite for PPC64.
10508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10509         file.
10510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10511         multiarch finitef for PPC64.
10512
10513         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10514         lrint multiarch implementation.
10515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10516         file.
10517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10519         multiarch llrint for PPC64.
10520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10521         multiarch lrint for PPC64.
10522
10523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10524         copysignf multiarch implementation.
10525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10526         file.
10527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10528         file.
10529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10530         multiarch copysign for PPC64.
10531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10532         multiarch copysignf for PPC64.
10533
10534         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10535         multiarch implementation.
10536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10537         file.
10538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10539         file.
10540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10541         file.
10542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10543         file.
10544         multiarch llround for PPC64.
10545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10546         multiarch trunc for PPC64.
10547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10548         multiarch truncf for PPC64.
10549
10550         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10551         multiarch implementation.
10552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10553         file.
10554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10555         file.
10556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10557         file.
10558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10559         file.
10560         multiarch llround for PPC64.
10561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10562         multiarch round for PPC64.
10563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10564         multiarch roundf for PPC64.
10565
10566         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10567         multiarch implementation.
10568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10569         file.
10570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10571         file.
10572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10573         file.
10574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10575         file.
10576         multiarch llround for PPC64.
10577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10578         multiarch floor for PPC64.
10579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10580         multiarch floorf for PPC64.
10581
10582         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10583         multiarch implementation.
10584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10585         file.
10586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10587         file.
10588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10589         file.
10590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10591         file.
10592         multiarch llround for PPC64.
10593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10594         multiarch ceil for PPC64.
10595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10596         multiarch ceilf for PPC64.
10597
10598         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10599         multiarch implementation.
10600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10601         file.
10602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10603         file.
10604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10605         file.
10606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10607         multiarch llround for PPC64.
10608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10609         multiarch lround for PPC64.
10610
10611         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10612         multiarch implementation.
10613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10616         file.
10617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10620         multiarch isnan for PPC64.
10621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10622         multiarch isnanf for PPC64.
10623
10624         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10625         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10626         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10627         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10628         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10630
10631         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10632         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10633         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10634         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10635
10636         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10637         multiarch implementations.
10638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10639         (__libc_ifunc_impl_list): Likewise.
10640         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10641         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10642         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10643         multiarch stpcpy for PPC64.
10644
10645         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10646         multiarch implementations.
10647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10648         (__libc_ifunc_impl_list): Likewise.
10649         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10650         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10651         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10652         multiarch strcpy for PPC64.
10653
10654         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10655         redefine function name.
10656         (_wordcopy_fwd_dest_aligned): Likewise.
10657         (_wordcopy_bwd_aligned): Likewise.
10658         (_wordcopy_bwd_dest_aligned): Likewise.
10659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10660         multiarch implementations.
10661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10662         (__libc_ifunc_impl_list): Likewise.
10663         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10664         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10665         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10666         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10667         multiarch wcscpy for PPC64.
10668
10669         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10670         multiarch implementations.
10671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10672         (__libc_ifunc_impl_list): Likewise.
10673         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10674         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10675         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10676         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10677         multiarch wcscpy for PPC64.
10678
10679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10680         multiarch implementations.
10681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10682         (__libc_ifunc_impl_list): Likewise.
10683         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10684         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10685         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10686         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10687         multiarch wcsrchr for PPC64.
10688
10689         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10690         multiarch implementations.
10691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10692         (__libc_ifunc_impl_list): Likewise.
10693         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10694         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10695         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10696         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10697         multiarch wcschr for PPC64.
10698
10699         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10700         multiarch implementations.
10701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10702         (__libc_ifunc_impl_list): Likewise.
10703         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10704         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10705         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10706         multiarch strchrnul for PPC64.
10707
10708         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10709         implementations.
10710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10711         (__libc_ifunc_impl_list): Likewise.
10712         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10713         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10714         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10715         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10716         strchr for PPC64.
10717
10718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10719         implementations.
10720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10721         (__libc_ifunc_impl_list): Likewise.
10722         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10723         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10724         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10725         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10726         strncmp for PPC64.
10727
10728         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10729         multiarch implementations.
10730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10731         (__libc_ifunc_impl_list): Likewise.
10732         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10733         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10734         strncasecmp for PPC64.
10735         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10736         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10737         multiarch strncasecmp_l for PPC64.
10738
10739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10740         multiarch implementations.
10741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10742         (__libc_ifunc_impl_list): Likewise.
10743         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10744         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10745         multiarch strcasecmp for PPC64.
10746         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10747         file.
10748         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10749         multiarch strcasecmp_l for PPC64.
10750
10751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10752         implementations.
10753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10754         (__libc_ifunc_impl_list): Likewise.
10755         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10756         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10757         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10758         strnlen for PPC64.
10759
10760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10761         implementations.
10762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10763         (__libc_ifunc_impl_list): Likewise.
10764         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10765         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10766         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10767         strlen for PPC64.
10768
10769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10770         implementations.
10771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10772         (__libc_ifunc_impl_list): Likewise.
10773         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10774         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10775         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10776         rawmemrchr for PPC64.
10777
10778         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10779         implementation.
10780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10781         (__libc_ifunc_impl_list): Likewise.
10782         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10783         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10784         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10785         memrchr for PPC64.
10786
10787         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10788         implementation.
10789         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10790         (__libc_ifunc_impl_list): Likewise.
10791         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10792         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10793         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10794         memchr for PPC64.
10795
10796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10797         implementation.
10798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10799         (__libc_ifunc_impl_list): Likewise.
10800         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10801         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10802         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10803         mempcpy for PPC64.
10804
10805         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10806         avoid cretion of __bzero symbol.
10807         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10808         Likewise.
10809         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10810         Likewise.
10811         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10812         Likewise.
10813         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10814         multiarch implementations.
10815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10816         (__libc_ifunc_impl_list): Likewise.
10817         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10818         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10819         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10820         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10821         bzero for PPC32.
10822         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10823         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10824         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10825         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10826         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10827         memset for PPC64.
10828         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10829
10830         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10831         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10832         implementations.
10833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10834         (__libc_ifunc_impl_list): Likewise.
10835         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10836         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10837         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10838         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10839         memcmp for PPC64.
10840
10841         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10842         multiarch for POWER/PPC64.
10843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10844         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10845         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10846         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10847         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10848         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10849         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10850         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10851         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10852         memcpy for PPC64.
10853
10854         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10855         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10856         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10857         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10858         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10859         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10860         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10861         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10862         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10863         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10864         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10865         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10866         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10867         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10868         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10876
10877 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10878
10879         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10880
10881 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10882
10883         * benchtests/Makefile (bench): Add exp2 and log2.
10884         (LDLIBS-bench-exp2): Add -lm.
10885         (LDLIBS-bench-log2): Likewise.
10886         * benchtests/exp2-inputs: New inputs file.
10887         * benchtests/log2-inputs: New inputs file.
10888         * benchtests/log-inputs: Add new inputs.
10889         * benchtests/tan-inputs: Likewise.
10890
10891 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10892
10893         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10894         definition...
10895         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10896         (csloww2): ... from here.
10897
10898         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10899         instead of structures.
10900         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10901         (POLYNOMIAL): Likewise.
10902         (TAYLOR_SLOW): Likewise.
10903         (__sin): Likewise.
10904         (__cos): Likewise.
10905         (slow1): Likewise.
10906         (slow2): Likewise.
10907         (sloww): Likewise.
10908         (sloww1); Likewise.
10909         (sloww2): Likewise.
10910         (bsloww1): Likewise.
10911         (bsloww2): Likewise.
10912         (cslow2): Likewise.
10913         (csloww): Likewise.
10914         (csloww1): Likewise.
10915         (csloww2): Likewise.
10916
10917 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
10918
10919         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10920         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10921         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10922         * malloc/hooks.c (realloc_check): Likewise.
10923
10924         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10925         * malloc/arena.c: Remove PER_THREAD conditional.
10926         [!PER_THREAD]: Remove code.
10927         (ptmalloc_unlock_all2): Likewise.
10928         (ptmalloc_init): Likewise.
10929         (_int_new_arena): Likewise.
10930         (arena_get2): Likewise.
10931         * malloc/hooks.c (__malloc_get_state): Likewise.
10932         (__malloc_set_state): Likewise.
10933         * malloc/malloc.c: Likewise.
10934         (struct malloc_state): Likewise.
10935         (struct malloc_par): Likewise.
10936         (__libc_realloc): Likewise.
10937         (__libc_mallopt): Likewise.
10938
10939 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10940
10941         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10942
10943 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
10944
10945         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10946         macro to a function.  Check for zero perturb_byte.
10947         (_int_malloc, _int_free): Remove zero perturb_byte checks.
10948
10949         * malloc/malloc.c: (force_reg): Remove.
10950         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10951         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10952         force_reg by atomic_forced_read.
10953         * malloc/arena.c (ptmalloc_init): Likewise.
10954         * malloc/hooks.c (top_check): Likewise.
10955
10956 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10957
10958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10959
10960 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
10961
10962         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10963
10964 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
10965
10966         * math/auto-libm-test-in: Add tests of lgamma.
10967         * math/auto-libm-test-out: Regenerated.
10968         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10969         (M_LOG_2_SQRT_PIl): Likewise.
10970         (lgamma_test_data): Use AUTO_TESTS_f_f1.
10971         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10972         mpfr_f_f1.
10973         (func_calc_desc): Add mpfr_f_f1 union field.
10974         (ARGS1): New macro.
10975         (ARGS2): Likewise.
10976         (ARGS3): Likewise.
10977         (ARGS4): Likewise.
10978         (RET1): Likewise.
10979         (RET2): Likewise.
10980         (CALC): Likewise.
10981         (FUNC): Likewise.
10982         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10983         (test_functions): Add lgamma.
10984         (calc_generic_results): Handle mpfr_f_f1.
10985         * sysdeps/i386/fpu/libm-test-ulps: Update.
10986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10987
10988 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10989
10990         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10991         __mpn_add_n for PowerPC64/POWER7.
10992         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10993         __mpn_sub_n for PowerPC64/POWER7.
10994
10995         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10996         __mpn_addmul_1 for PowerPC64.
10997         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10998         __mpn_submul_1 for PowerPC64.
10999         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11000         for PowerPC64.
11001         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11002         for PowerPC64.
11003
11004 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11005
11006         [BZ #15089]
11007         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11008
11009 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11010
11011         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11012
11013         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11014         add multiarch folders.
11015         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11016         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11017         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11018         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11019         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11020         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11021         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11022         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11023         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11024         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11025         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11032
11033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11034         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11036         New file.
11037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11038         New file.
11039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11040         multiarch __ieee754_hypot for PowerPC32.
11041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11042         New file.
11043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11044         New file.
11045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11046         multiarch __ieee754_hypotf for PowerPC32.
11047
11048         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11049         long_double_symbol only if __logbl is defined.
11050         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11051         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11052         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11053         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11054         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11055         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11056         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11057         path for implementation.
11058         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11059         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11061         logb, and logbl multiarch implementations for PowerPC32.
11062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11063         file.
11064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11065         file.
11066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11067         multiarch logb for PowerPC32.
11068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11069         file.
11070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11071         file.
11072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11073         multiarch logbf for PowerPC32.
11074         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11076         file.
11077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11078         multiarch logbl implementation for PowerPC32.
11079
11080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11081         and modff multiarch implementations.
11082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11083         New file.
11084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11085         New file.
11086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11087         multiarch modf for PowerPC32.
11088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11089         New file.
11090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11091         New file.
11092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11093         multiarch modff for PowerPC32.
11094
11095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11096         and lrintf multiarch implementations.
11097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11098         New file.
11099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11100         New file.
11101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11102         multiarch lrint for PowerPC32.
11103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11104         file: multiarch lrintf for PowerPC32.
11105
11106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11107         and lroundf multiarch implementations.
11108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11109         New file.
11110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11111         New file.
11112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11113         New file.
11114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11115         multiarch lround for PowerPC32.
11116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11117         file: multiarch lroundf for PowerPC32.
11118
11119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11120         copysign and copysignf multiarch implementations.
11121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11122         New file.
11123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11124         New file.
11125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11126         file: multiarch copysign for PowerPC32.
11127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11128         file: multiarch copysignf for PowerPC32.
11129
11130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11131         and truncf multiarch implementations.
11132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11133         New file.
11134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11135         file.
11136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11137         multiarch trunc for PowerPC32.
11138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11139         New file.
11140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11141         New file.
11142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11143         multiarch truncf for PowerPC32.
11144
11145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11146         and roundf multiarch implementations.
11147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11148         New file.
11149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11150         file.
11151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11152         multiarch round for PowerPC32.
11153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11154         New file.
11155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11156         New file.
11157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11158         multiarch roundf for PowerPC32.
11159
11160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11161         and floorf multiarch implementations.
11162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11163         New file.
11164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11165         file.
11166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11167         multiarch floor for PowerPC32.
11168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11169         New file.
11170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11171         New file.
11172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11173         multiarch floorf for PowerPC32.
11174
11175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11176         and ceilf multiarch implementations.
11177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11178         New file.
11179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11180         file.
11181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11182         multiarch ceil for PowerPC32.
11183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11184         New file.
11185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11186         file.
11187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11188         multiarch ceilf for PowerPC32.
11189
11190         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11191         is defined.
11192         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11193         FINITEF is defined.
11194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11195         and finitef multiarch implementations.
11196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11197         New file.
11198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11199         file.
11200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11201         multiarch finite for PowerPC32.
11202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11203         New file.
11204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11205         file: multiarch finitef for PowerPC32.
11206
11207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11208         and isinff multiarch implementations.
11209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11210         file.
11211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11212         file.
11213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11214         multiarch isinf for PowerPC32.
11215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11216         New file.
11217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11218         multiarch isinff for PowerPC32.
11219
11220         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11221         alias when __isnan is defined.
11222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11223         and isnanf multiarch implementations.
11224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11225         file.
11226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11227         file.
11228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11229         file.
11230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11231         file.
11232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11233         multiarch isnan for PowerPC32.
11234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11235         New file.
11236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11237         New file.
11238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11239         multiarch isnanf for PowerPC32.
11240
11241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11242         and sqrtf multiarch implementations.
11243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11244         file.
11245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11246         file.
11247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11248         multiarch sqrt for PowerPC32.
11249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11250         file.
11251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11252         file.
11253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11254         multiarch sqrtf for PowerPC32.
11255
11256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11257         and llroundf multiarch implementations.
11258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11259         New file.
11260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11261         New file.
11262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11263         New file.
11264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11265         file: multiarch llround for PowerPC32.
11266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11267         file: multiarch llroundf for PowerPC32.
11268
11269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11270         multiarch PowerPC32 fpu implementations.
11271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11272         New file.
11273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11274         New file.
11275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11276         multiarch llrint for PowerPC32.
11277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11278         New file.
11279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11280         New file.
11281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11282         file.
11283
11284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11285
11286         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11287         file.
11288         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11289         file.
11290         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11291         file.
11292         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11293         multiarch wordcopy for PPC32.
11294         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11295         wordcopy objects.
11296         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11297         (__libc_ifunc_impl_list): Likewise.
11298         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11299         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11300         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11301         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11302         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11303         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11304
11305         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11306         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11307         file.
11308         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11309         file.
11310         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11311         file.
11312         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11313         multiarch wcscpy for PPC32.
11314         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11315         multiarch objects.
11316         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11317         (__libc_ifunc_impl_list): Likewise.
11318         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11319         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11320         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11321         sysdeps/powerpc/power6/wcscpy.c.
11322
11323         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11324         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11325         file.
11326         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11327         file.
11328         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11329         file.
11330         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11331         multiarch wcsrchr for PPC32.
11332         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11333         multiarch objects.
11334         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11335         (__libc_ifunc_impl_list): Likewise.
11336         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11337         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11338         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11339         sysdeps/powerpc/power6/wcsrchr.c.
11340
11341         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11342         file.
11343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11344         file.
11345         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11346         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11347         multiarch wcschr for PPc32.
11348         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11349         multiarch objects.
11350         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11351         (__libc_ifunc_impl_list): Likewise.
11352         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11353         * sysdeps/powerpc/power6/wcschr.c: ... to here.
11354         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11355         sysdeps/powerpc/power6/wcschr.c.
11356
11357         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11358         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11359         file.
11360         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11361         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11362         file: multiarch strchr for PPC32.
11363         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11364         multiarch objects.
11365         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11366         (__libc_ifunc_impl_list): Likewise.
11367
11368         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11369         name.
11370         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11371         file.
11372         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11373         file.
11374         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11375         multiarch strchrnul for PPC32.
11376         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11377         multiarch objects.
11378         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11379         (__libc_ifunc_impl_list): Likewise.
11380
11381         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11382         file.
11383         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11384         multiarch strncasecmp for PPC32.
11385         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11386         file.
11387         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11388         multiarch strncasecmp_l for PPC32.
11389         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11390         strncasecmp multiarch objects.
11391         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11392         (__libc_ifunc_impl_list): Likewise.
11393
11394         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11395         file.
11396         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11397         multiarch strncasecmp for PPC32.
11398         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11399         New file.
11400         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11401         multiarch strcasecmp_l for PPC32.
11402         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11403         multiarch objects.
11404         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11405         (__libc_ifunc_impl_list): Likewise.
11406
11407         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11408         file.
11409         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11410         file.
11411         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11412         multiarch strncmp for PPC32.
11413         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11414         multiarch objects.
11415         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11416         (__libc_ifunc_impl_list): Likewise.
11417
11418         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11419         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11420         file.
11421         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11422         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11423         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11424         multiarch objects.
11425         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11426         (__libc_ifunc_impl_list): Likewise.
11427
11428         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11429         file.
11430         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11431         file.
11432         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11433         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11434         multiarch objects.
11435         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11436         (__libc_ifunc_impl_list): Likewise.
11437
11438         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11439         file.
11440         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11441         file.
11442         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11443         multiarch rawmemchr for PPC32.
11444         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11445         multiarch objects.
11446         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11447         (__libc_ifunc_impl_list): Likewise.
11448
11449         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11450         file.
11451         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11452         file.
11453         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11454         file: memrchr multiarch for PPC32.
11455         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11456         multiarch objects.
11457         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11458         (__libc_ifunc_impl_list): Likewise.
11459
11460         * string/memchr.c (__memchr): Using macro to redefine symbol name.
11461         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11462         file.
11463         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11464         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11465         multiarch memchr for PPC32.
11466         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11467         multiarch objects.
11468         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11469         (__libc_ifunc_impl_list): Likewise.
11470
11471         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11472         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11473         file.
11474         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11475         file.
11476         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11477         file: multiarch mempcpy for PPC32.
11478         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11479         multiarch objects.
11480         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11481         (__libc_ifunc_impl_list): Likewise.
11482
11483         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11484         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11485         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11486         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11487         multiarch bzero for PPC32.
11488         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11489         file.
11490         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11491         file.
11492         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11493         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11494         file: multiarch memset for PPC32.
11495         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11496         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11497         memset multiarch objects.
11498         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11499         (__libc_ifunc_impl_list): Likewise.
11500
11501         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11502         file.
11503         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11504         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11505         memcmp for PPC32.
11506         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11507         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11508         multiarch objects.
11509         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11510         (__libc_ifunc_impl_list): Likewise.
11511
11512         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11513         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11514         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11515         file.
11516         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11517         file.
11518         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11519         file.
11520         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11521         multiarch memcpy for PPC32.
11522         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11523         multiarch objects.
11524         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11525         (__libc_ifunc_impl_list): Likewise.
11526
11527         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11528         support multiarch for POWER/PPC32.
11529         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11530         Likewise.
11531         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11533         Implies file to make multiarch folder appers before the fpu and
11534         default folder for power4 configuration.
11535
11536 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11537
11538         * scripts/bench.pl: Append volatile keyword to type.
11539
11540 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11541
11542         * sysdeps/sh/sotruss-lib.c: New file.
11543         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11544
11545 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11546
11547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11548
11549 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
11550
11551         [BZ #6810]
11552         * math/w_tgamma.c: Include <errno.h>.
11553         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
11554         * math/w_tgammaf.c: Include <errno.h>.
11555         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
11556         * math/w_tgammal.c: Include <errno.h>.
11557         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
11558         * math/auto-libm-test-in: Do not allow missing errno on tgamma
11559         underflow.  Add more tgamma tests.
11560         * math/auto-libm-test-out: Regenerated.
11561         * sysdeps/i386/fpu/libm-test-ulps: Update.
11562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11563
11564         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11565         sin, sinh, tan, tanh, tgamma, y0 and y1.
11566         * math/auto-libm-test-out: Regenerated.
11567         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11568         (TEST_COND_x86): Likewise.
11569         (M_E2l): Remove macro.
11570         (M_E3l): Likewise.
11571         (M_2_SQRT_PIl): Likewise.
11572         (M_SQRT_PIl): Likewise.
11573         (M_1_DIV_El): Likewise.
11574         (log_test_data): Use AUTO_TESTS_f_f.
11575         (log10_test_data): Likewise.
11576         (log1p_test_data): Likewise.
11577         (log2_test_data): Likewise.
11578         (sin_test_data): Likewise.
11579         (sin_tonearest_test_data): Likewise.
11580         (sin_towardzero_test_data): Likewise.
11581         (sin_downward_test_data): Likewise.
11582         (sin_upward_test_data): Likewise.
11583         (sinh_test_data): Likewise.
11584         (sinh_tonearest_test_data): Likewise.
11585         (sinh_towardzero_test_data): Likewise.
11586         (sinh_downward_test_data): Likewise.
11587         (sinh_upward_test_data): Likewise.
11588         (tan_test_data): Likewise.
11589         (tan_tonearest_test_data): Likewise.
11590         (tan_towardzero_test_data): Likewise.
11591         (tan_downward_test_data): Likewise.
11592         (tan_upward_test_data): Likewise.
11593         (tanh_test_data): Likewise.
11594         (tgamma_test_data): Likewise.
11595         (y0_test_data): Likewise.
11596         (y1_test_data): Likewise.
11597         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11598         (special_real_inputs): Add pi/4.
11599         * sysdeps/i386/fpu/libm-test-ulps: Update.
11600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11601
11602 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11603
11604         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11605         "longjmp_target" static probes.
11606         (__longjmp): Rename to __longjmp_symbol.
11607         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11608         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11609         on which longjmp to generate.
11610         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11611         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11612         probe.
11613         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11614         (__sigjmp_save): Rename to __sigjmp_save_symbol.
11615         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11616         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11617         and __sigjmp_save_symbol based on which sigsetjmp to generated.
11618         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11620         __longjmp_symbol based on which __longjmp to generate.
11621         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11622         probe.
11623         (setjmp): Rename to setjmp_symbol.
11624         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11625         (_setjmp): Rename to _setjmp_symbol.
11626         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11627         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11628         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11629         which setjmp to generate.
11630         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11631         "longjmp_target" static probes.
11632
11633 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11634
11635         * benchtests/README: Add note about output arguments.
11636         * benchtests/bench-sincos.c: Remove file.
11637         * benchtests/sincos-inputs: New file.
11638         * scripts/bench.pl: Identify output arguments and define
11639         static variables for them.
11640
11641         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11642
11643         [BZ #15941]
11644         * Makefile (INSTALL): Add install-plain.texi as the primary
11645         dependency.
11646         * manual/install-plain.texi: New file.
11647         * manual/install.texi: Include node directive only for
11648         non-plaintext output.
11649
11650 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
11651
11652         * stdlib/longlong.h: Update from GCC.
11653
11654         [BZ #6807]
11655         [BZ #15901]
11656         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11657         * math/w_j0f.c (y0f): Likewise.
11658         * math/w_j0l.c (__y0l): Likewise.
11659         * math/w_j1.c (y1): Likewise.
11660         * math/w_j1f.c (y1f): Likewise.
11661         * math/w_j1l.c (__y1l): Likewise
11662         * math/w_jn.c (yn): Likewise.
11663         * math/w_jnf.c (ynf): Likewise.
11664         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11665         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
11666         value for Bessel function domain errors outside _SVID_ mode.
11667         Adjust sign of return value for yn (negative integer, 0).
11668         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11669         by zero in return for negative x and set sign appropriately for
11670         negative n.
11671         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11672         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11673         * math/libm-test.inc (y0_test_data): Add more tests and adjust
11674         expectations in error cases.
11675         (y1_test_data): Likewise.
11676         (yn_test_data): Likewise.
11677         * sysdeps/i386/fpu/libm-test-ulps: Update.
11678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11679
11680 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11681
11682         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11683         "64" to "64-v1".  Add "64-v2".
11684         (abi-64-options): Rename to ...
11685         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
11686         (abi-64-condition): Rename to ...
11687         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
11688         (abi-64-ld-soname): Rename to ...
11689         (abi-64-v1-ld-soname): ... this.
11690         (abi-64-v2-options): Define.
11691         (abi-64-v2-condition): Likewise.
11692         (abi-64-v2-ld-soname): Likewise.
11693         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11694         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11698
11699 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11700             Alan Modra  <amodra@gmail.com>
11701
11702         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11703         New versions for use with the ELFv2 ABI.
11704         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11705         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11706         declaration.
11707         (struct La_ppc64v2_retval): Likewise.
11708         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11709         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11710         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11711         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11712         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11713         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11714         Do not save or restore CR.
11715         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11716         (_dl_profile_resolve): Do no save or restore CR.  Support extended
11717         return values for ELFv2 ABI.  Fix location of FPR return registers.
11718         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11719         updated values for _CALL_ELF == 2.
11720         (La_regs, La_retval, int_retval): Likewise.
11721
11722 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11723
11724         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11725         (FRAME_MIN_SIZE_PARM): Likewise.
11726         (FRAME_BACKCHAIN): Likewise.
11727         (FRAME_CR_SAVE): Likewise.
11728         (FRAME_LR_SAVE): Likewise.
11729         (FRAME_TOC_SAVE): Likewise.
11730         (FRAME_PARM_SAVE): Likewise.
11731         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11732         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11733         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11734         (call_mcount_parm_offset): New macro.
11735         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11736         (PROF): Use symbolic stack frame offsets.
11737         (TAIL_CALL_SYSCALL_ERROR): Likewise.
11738         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11739         Redefine in terms of FRAME_MIN_SIZE.
11740         (_dl_runtime_resolve): Use symbolic stack frame offsets.
11741         (_dl_profile_resolve): Likewise.  Update comment.
11742         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11743         symbols stack frame offsets.
11744         (__sigsetjmp): Likewise.
11745         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11746         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11747         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11748         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11749
11750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11751         (FRAME_BACKCHAIN): Remove.
11752         (FRAME_CR_SAVE): Likewise.
11753         (FRAME_LR_SAVE): Likewise.
11754         (FRAME_COMPILER_DW): Likewise.
11755         (FRAME_LINKER_DW): Likewise.
11756         (FRAME_TOC_SAVE): Likewise.
11757         (FRAME_PARM_SAVE): Likewise.
11758         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11759         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11760         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11762         (CHECK_SP): Use symbolic stack frame offsets.
11763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11764         zone" instead of caller's parameter save area for temp storage.
11765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11766         Likewise.  Also, use symbolic stack frame offsets.
11767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11768         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11769         our own stack frame instead of the caller's.
11770         (__socket): Use symbolic stack frame offsets.
11771
11772 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11773             Alan Modra  <amodra@gmail.com>
11774
11775         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11776         Define.
11777         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11778         (PPC64_LOCAL_ENTRY_OFFSET): Define.
11779         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11780         New function.
11781         (elf_machine_fixup_plt): Call it.
11782         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
11783         reloc arguments.
11784         (elf_machine_rela): Update call to elf_machine_plt_conflict.
11785         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11786         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11787         r2 before calling target.
11788
11789 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11790             Alan Modra  <amodra@gmail.com>
11791
11792         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11793         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11794         versions of macros to support ELFv2 ABI.
11795         (LOCALENTRY): New macro.
11796         (ENTRY, EALIGN): Use it.
11797         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11798         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11799         fall through into ENTRY entry point.
11800         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11801         Only define if _CALL_ELF != 2.
11802
11803         (elf_machine_matches_host): Verify ABI version matches.
11804         (RTLD_START): Use LOCALENTRY.
11805         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11806         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11807         (PLT_ENTRY_WORDS): New macro.
11808         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11809         (elf_machine_runtime_setup): Support ELFv2 ABI.
11810         (elf_machine_fixup_plt): Likewise.
11811         (elf_machine_plt_conflict): Likewise.
11812         (resolve_ifunc): Likewise.
11813         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11814         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11815         Likewise.
11816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11817         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11819         (makecontext): Support ELFv2 ABI.
11820         * elf/elf.h (EF_PPC64_ABI): Define.
11821
11822 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11823
11824         * sysdeps/powerpc/powerpc64/sysdep.h
11825         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11826         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11827         (ENTRY) [ASSEMBLER]: ... but instead here ...
11828         (EALIGN) [ASSEMBLER]: ... and here.
11829         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11830         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11831         (ENTRY_2) [!ASSEMBLER]: Use it.
11832         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11833         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
11834         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11835         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11836         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11838         Use PPC64_LOAD_FUNCPTR.
11839
11840         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11841
11842 2013-12-04  Alan Modra  <amodra@gmail.com>
11843
11844         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11845         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11846         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11847         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11848
11849         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11850         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11851         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11852         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11853         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11854         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11855
11856 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11857
11858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11859         (__makecontext): Fix incorrect CFI when backtracing out of
11860         context created via makecontext.
11861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11862         (__setcontext): Fix incorrect CFI during switch to new context.
11863         (__novec_setcontext): Likewise.
11864
11865 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
11866
11867         [BZ #4772]
11868         * time/strptime_l.c (__strptime_internal): Allow modifiers
11869         in strptime.
11870         * time/tst-strptime.c (day_tests): Add testcase.
11871
11872 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11873
11874         * scripts/bench.pl: Skip over blank lines.
11875
11876 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11877
11878         [BZ #926]
11879         * manual/time.texi (Calendar Time): Clarify what timezone functions
11880         use.
11881
11882 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11883
11884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11885
11886 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
11887
11888         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11889         implementation.
11890         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11891         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11892         * debug/memset_chk.c (__memset_chk): Likewise.
11893         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11894         * debug/strncpy_chk.c: Likewise.
11895
11896 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11897
11898         [BZ #15268]
11899         [BZ #15425]
11900         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11901         (__ieee754_exp): For possibly underflowing results, check size of
11902         result and force underflow exception if required.
11903         * math/auto-libm-test-in: Add more tests of exp.
11904         * math/auto-libm-test-out: Regenerated.
11905         * sysdeps/i386/fpu/libm-test-ulps: Update.
11906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11907
11908         [BZ #16283]
11909         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11910         * math/w_exp2f.c (__exp2f): Likewise.
11911         * math/w_exp2l.c (__exp2l): Likewise.
11912         * math/auto-libm-test-in: Do not allow missing errno on exp2
11913         underflow.
11914         * math/auto-libm-test-out: Regenerated.
11915
11916 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
11917
11918         [BZ #16274]
11919         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11920         handle filename validation.
11921         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11922         (do_open): Delete.
11923
11924 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11925
11926         [BZ #6786]
11927         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11928         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11929         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11930         <float.h>.
11931         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11932         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11933         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11934         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11935         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11936         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11937         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11938         * math/auto-libm-test-in: Don't allow missing errno from erfc.
11939         Add more erfc tests.
11940         * math/auto-libm-test-out: Regenerated.
11941         * sysdeps/i386/fpu/libm-test-ulps: Update.
11942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11943
11944         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11945         exp2, expm1, j0 and j1.
11946         * math/auto-libm-test-out: Regenerated.
11947         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11948         (erfc_test_data): Likewise.
11949         (exp_test_data): Likewise.
11950         (exp_tonearest_test_data): Likewise.
11951         (exp_towardzero_test_data): Likewise.
11952         (exp_downward_test_data): Likewise.
11953         (exp_upward_test_data): Likewise.
11954         (exp10_test_data): Likewise.
11955         (exp2_test_data): Likewise.
11956         (expm1_test_data): Likewise.
11957         (j0_test_data): Likewise.
11958         (j1_test_data): Likewise.
11959         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11960         (input_flag_type): Add flag_xfail_rounding.
11961         (input_flags): Add xfail-rounding.
11962         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11963         (output_for_one_input_case): Handle flag_xfail_rounding.
11964         * sysdeps/i386/fpu/libm-test-ulps: Update.
11965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11966
11967 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
11968
11969         [BZ #16289]
11970         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11971         division by 0.
11972
11973 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11974
11975         [BZ #16195]
11976         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11977         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11978         (STAP_PROBE0): New macro.
11979         (STAP_PROBE1): Likewise.
11980         (STAP_PROBE2): Likewise.
11981         (STAP_PROBE3): Likewise.
11982         (STAP_PROBE4): Likewise.
11983
11984 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
11985
11986         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11987
11988 2013-12-02  Steve Ellcey  <sellcey@mips.com>
11989
11990         * benchtests/Makefile (bench): Add sqrt.
11991         (LDLIBS-bench-sqrt): New.
11992         * benchtests/sqrt-input: New.
11993
11994 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
11995
11996         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11997         (GAIH_EAI): Likewise.
11998         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11999         (gaih_inet): Likewise.
12000         (getaddrinfo): Don't use GAIH_EAI.
12001
12002         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12003         (struct gaih): Remove definition.
12004
12005 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12006
12007         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12008         Use HERRNOP directly.
12009
12010 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12011
12012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12013
12014 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12015
12016         * math/gen-auto-libm-tests.c (test_functions): Add more
12017         single-argument functions.
12018         (special_fill_pi_2): New function.
12019         (special_fill_minus_pi_2): Likewise.
12020         (special_fill_pi_6): Likewise.
12021         (special_fill_minus_pi_6): Likewise.
12022         (special_fill_pi_3): Likewise.
12023         (special_fill_2pi_3): Likewise.
12024         (special_fill_e): Likewise.
12025         (special_fill_1_e): Likewise.
12026         (special_fill_e_minus_1): Likewise.
12027         (special_real_inputs): Add more special inputs.
12028         (output_for_one_input_case): Do not require ERANGE on underflow to
12029         zero if round-to-nearest result does not underflow to zero, unless
12030         exact results required.
12031         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12032         atan, atanh, cbrt, cos and cosh.
12033         * math/auto-libm-test-out: Regenerated.
12034         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12035         (acos_tonearest_test_data): Likewise.
12036         (acos_towardzero_test_data): Likewise.
12037         (acos_downward_test_data): Likewise.
12038         (acos_upward_test_data): Likewise.
12039         (acosh_test_data): Likewise.
12040         (asin_test_data): Likewise.
12041         (asin_tonearest_test_data): Likewise.
12042         (asin_towardzero_test_data): Likewise.
12043         (asin_upward_test_data): Likewise.
12044         (asinh_test_data): Likewise.
12045         (atan_test_data): Likewise.
12046         (atanh_test_data): Likewise.
12047         (cbrt_test_data): Likewise.
12048         (cos_test_data): Likewise.
12049         (cos_tonearest_test_data): Likewise.
12050         (cos_towardzero_test_data): Likewise.
12051         (cos_downward_test_data): Likewise.
12052         (cos_upward_test_data): Likewise.
12053         (cosh_test_data): Likewise.
12054         (cosh_tonearest_test_data): Likewise.
12055         (cosh_towardzero_test_data): Likewise.
12056         (cosh_downward_test_data): Likewise.
12057         (cosh_upward_test_data): Likewise.
12058         * sysdeps/i386/fpu/libm-test-ulps: Update.
12059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12060
12061 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12062
12063         [BZ #6787]
12064         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12065         * math/w_exp10f.c (__exp10f): Likewise.
12066         * math/w_exp10l.c (__exp10l): Likewise.
12067         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12068         errno settings in existing tests.
12069
12070         [BZ #14032]
12071         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12072         precision control set to double precision.
12073         * sysdeps/i386/fpu/w_sqrt.c: New file.
12074         * math/auto-libm-test-in: Add more tests.
12075         * math/auto-libm-test-out: Update.
12076
12077         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12078         (sqrt_test_tonearest): New function.
12079         (sqrt_towardzero_test_data): New variable.
12080         (sqrt_test_towardzero): New function.
12081         (sqrt_downward_test_data): New variable.
12082         (sqrt_test_downward): New function.
12083         (sqrt_upward_test_data): New variable.
12084         (sqrt_test_upward): New function.
12085         (main): Call the new functions.
12086
12087         * math/gen-auto-libm-tests.c: New file.
12088         * math/auto-libm-test-in: Likewise.
12089         * math/auto-libm-test-out: New generated file.
12090         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12091         variables.
12092         (%beautify): Add generated representations of zero.
12093         (top level): Set $auto_input and call parse_auto_input.
12094         (beautify): Remove trailing "f" from hex float constants.
12095         (parse_args): Handle XFAIL_TEST.
12096         (convert_condition): New function.
12097         (or_value): Likewise.
12098         (or_cond_value): Likewise.
12099         (generate_testfile): Handle AUTO_TESTS_* lines.
12100         (parse_auto_input): New function.
12101         * math/libm-test.inc (XFAIL_TEST): New macro.
12102         (ERRNO_UNCHANGED): Update value.
12103         (ERRNO_EDOM): Likewise.
12104         (ERRNO_ERANGE): Likewise.
12105         (IGNORE_RESULT): Likewise.
12106         (TEST_COND_flt_32): New macro.
12107         (TEST_COND_dbl_64): Likewise.
12108         (TEST_COND_ldbl_96_intel): Likewise.
12109         (TEST_COND_ldbl_96_m68k): Likewise.
12110         (TEST_COND_ldbl_128): Likewise.
12111         (TEST_COND_ldbl_128ibm): Likewise.
12112         (TEST_COND_long32): Likewise.
12113         (TEST_COND_long64): Likewise.
12114         (TEST_COND_before_rounding): Likewise.
12115         (TEST_COND_after_rounding): Likewise.
12116         (enable_test): Handle XFAIL_TEST flag.
12117         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12118         with finite results.
12119         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12120         auto-libm-test-out.
12121
12122 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12123             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12124
12125         [BZ #16214]
12126         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12127         __tls_get_addr_internal instead of __tls_get_offset in order to
12128         avoid GOT pointer dependency.  Make rtld export
12129         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12130         __tls_get_addr since we are a __tls_get_offset platform.
12131         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12132         GOT pointer being set up before.
12133         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12134
12135 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12136
12137         * manual/math.texi (Errors in Math Functions): Document accuracy
12138         goals.
12139
12140         [BZ #15004]
12141         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12142         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12143         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12144         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12145         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12146         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12147         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12148         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12149         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12150         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12151         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12152         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12153         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12154         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12155         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12156         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12157
12158         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12159         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12160         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12161         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12162         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12163         Likewise.
12164         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12165         Likewise.
12166         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12167         Likewise.
12168         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12169         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12170         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12171         atomic-feupdateenv and flt-rounds.
12172         * sysdeps/powerpc/nofpu/Versions (libc): Add
12173         __atomic_feholdexcept, __atomic_feclearexcept,
12174         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12175         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12176         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12177         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12178         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12179         here.
12180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12181         Update.
12182
12183         * manual/arith.texi (FP Exceptions): Document that exceptions may
12184         not be raised when matherr is used.
12185         (Math Error Reporting): Document overflow in directed rounding
12186         modes.  Document that errno may not be set when finite values are
12187         returned on overflow.  Document intent to set errno on underflow
12188         only for underflow to zero.
12189
12190         [BZ #16271]
12191         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12192         round-to-nearest then adjust result for other rounding modes.
12193         * include/fenv.h (fegetround): Use libm_hidden_proto.
12194         * math/fegetround.c (fegetround): Use libm_hidden_def.
12195         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12196         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12197         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12198         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12199         Likewise.
12200         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12201         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12202         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12203         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12204
12205 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12206
12207         [BZ #16077]
12208         * nss/Versions (libnss_files): Add
12209         _nss_files_gethostbyname3_r.
12210         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12211         New function.
12212         (HOST_DB_LOOKUP): Remove macro.
12213         (_nss_files_gethostbyname_r): Implement function without the
12214         HOST_DB_LOOKUP macro.
12215         (_nss_files_gethostbyname2_r): Likewise.
12216
12217 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
12218
12219         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12220
12221 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
12222
12223         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12224         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12225         warning.
12226
12227 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12228
12229         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12230         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12231         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12232         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12233         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12234         __fe_nomask_env_priv and attribute_hidden.
12235         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12236         (libc_feupdateenv_test_ppc): Likewise.
12237         (libc_feresetround_ppc): Likewise.
12238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12239         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12240         compat_symbol macro.
12241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12242         (__fe_nomask_env): Likewise.
12243         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12244
12245 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12246
12247         * string/Makefile: Remove ifunc tests.
12248         * string/test-string.h: Define TEST_IFUNC.
12249         * string/test-bcopy-ifunc.c: Remove.
12250         * string/test-bzero-ifunc.c: Likewise.
12251         * string/test-memccpy-ifunc.c: Likewise.
12252         * string/test-memchr-ifunc.c: Likewise.
12253         * string/test-memcmp-ifunc.c: Likewise.
12254         * string/test-memcpy-ifunc.c: Likewise.
12255         * string/test-memmem-ifunc.c: Likewise.
12256         * string/test-memmove-ifunc.c: Likewise.
12257         * string/test-mempcpy-ifunc.c: Likewise.
12258         * string/test-memrchr-ifunc.c: Likewise.
12259         * string/test-memset-ifunc.c: Likewise.
12260         * string/test-rawmemchr-ifunc.c: Likewise.
12261         * string/test-stpcpy-ifunc.c: Likewise.
12262         * string/test-stpncpy-ifunc.c: Likewise.
12263         * string/test-strcasecmp-ifunc.c: Likewise.
12264         * string/test-strcasestr-ifunc.c: Likewise.
12265         * string/test-strcat-ifunc.c: Likewise.
12266         * string/test-strchr-ifunc.c: Likewise.
12267         * string/test-strchrnul-ifunc.c: Likewise.
12268         * string/test-strcmp-ifunc.c: Likewise.
12269         * string/test-strcpy-ifunc.c: Likewise.
12270         * string/test-strcspn-ifunc.c: Likewise.
12271         * string/test-strlen-ifunc.c: Likewise.
12272         * string/test-strncasecmp-ifunc.c: Likewise.
12273         * string/test-strncat-ifunc.c: Likewise.
12274         * string/test-strncmp-ifunc.c: Likewise.
12275         * string/test-strncpy-ifunc.c: Likewise.
12276         * string/test-strnlen-ifunc.c: Likewise.
12277         * string/test-strpbrk-ifunc.c: Likewise.
12278         * string/test-strrchr-ifunc.c: Likewise.
12279         * string/test-strspn-ifunc.c: Likewise.
12280         * string/test-strstr-ifunc.c: Likewise.
12281
12282 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12283
12284         * benchtests/Makefile: Remove ifunc tests.
12285         * benchtests/bench-string.h: Define TEST_IFUNC.
12286         * benchtests/bench-bcopy-ifunc.c: Remove.
12287         * benchtests/bench-bzero-ifunc.c: Likewise.
12288         * benchtests/bench-memccpy-ifunc.c: Likewise.
12289         * benchtests/bench-memchr-ifunc.c: Likewise.
12290         * benchtests/bench-memcmp-ifunc.c: Likewise.
12291         * benchtests/bench-memcpy-ifunc.c: Likewise.
12292         * benchtests/bench-memmem-ifunc.c: Likewise.
12293         * benchtests/bench-memmove-ifunc.c: Likewise.
12294         * benchtests/bench-mempcpy-ifunc.c: Likewise.
12295         * benchtests/bench-memrchr-ifunc.c: Likewise.
12296         * benchtests/bench-memset-ifunc.c: Likewise.
12297         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12298         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12299         * benchtests/bench-stpcpy-ifunc.c: Likewise.
12300         * benchtests/bench-stpncpy-ifunc.c: Likewise.
12301         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12302         * benchtests/bench-strcasestr-ifunc.c: Likewise.
12303         * benchtests/bench-strcat-ifunc.c: Likewise.
12304         * benchtests/bench-strchr-ifunc.c: Likewise.
12305         * benchtests/bench-strchrnul-ifunc.c: Likewise.
12306         * benchtests/bench-strcmp-ifunc.c: Likewise.
12307         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12308         * benchtests/bench-strcpy-ifunc.c: Likewise.
12309         * benchtests/bench-strcspn-ifunc.c: Likewise.
12310         * benchtests/bench-strlen-ifunc.c: Likewise.
12311         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12312         * benchtests/bench-strncat-ifunc.c: Likewise.
12313         * benchtests/bench-strncmp-ifunc.c: Likewise.
12314         * benchtests/bench-strncpy-ifunc.c: Likewise.
12315         * benchtests/bench-strnlen-ifunc.c: Likewise.
12316         * benchtests/bench-strpbrk-ifunc.c: Likewise.
12317         * benchtests/bench-strrchr-ifunc.c: Likewise.
12318         * benchtests/bench-strsep-ifunc.c: Likewise.
12319         * benchtests/bench-strspn-ifunc.c: Likewise.
12320         * benchtests/bench-strstr-ifunc.c: Likewise.
12321
12322 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12323
12324         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12325
12326 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12327
12328         * resolv/netdb.h: Use __glibc_reserved instead __unused.
12329         * rt/aio.h: Likewise.
12330         * sysdeps/gnu/bits/utmp.h: Likewise.
12331         * sysdeps/gnu/bits/utmpx.h: Likewise.
12332         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12333         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12334         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12335         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12336         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12337         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12338         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12339         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12340         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12341         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12342         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12343         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12344         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12346         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12347         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12348         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12349         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12350         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12351         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12352         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12353         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12354         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12355         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12356         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12357         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12358         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12359         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12360         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12361         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12362         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12363         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12364         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12365         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12366         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12367         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12368         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12369         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12370         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12371         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12372         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12373         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12374
12375 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
12376
12377         [BZ #16245]
12378         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12379         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12380
12381 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
12382
12383         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12384         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12385         Likewise.
12386
12387 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12388
12389         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12390         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12391         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12392         (__fesetround): Remove define.
12393         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12394         rounding and exceptions handling.
12395         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12396         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12397         (__fe_nomask_env): Likewise.
12398         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12399         __fegetround instead of fegetround.
12400         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12401         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12402
12403 2013-11-21  Roland McGrath  <roland@hack.frob.com>
12404
12405         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12406         it's there.
12407
12408         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12409
12410 2013-11-21  Meador Inge  <meadori@codesourcery.com>
12411
12412         [BZ #11157]
12413         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12414         (encrypt_r): Likewise.
12415         * malloc/obstack.h (obstack_free): Likewise.
12416         * posix/unistd.h (encrypt): Likewise.
12417
12418 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
12419
12420         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12421         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12422         DL_CALL_DT_FINI() that call the functions directly.
12423         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12424         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12425         * elf/dl-fini.c: Likewise.
12426
12427 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
12428
12429         * malloc/hooks.c (memalign_check): Add alignment rounding.
12430         * malloc/malloc.c (_mid_memalign): New function.
12431         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12432         Implement by calling _mid_memalign.
12433         * manual/probes.texi (Memory Allocation Probes): Remove
12434         memory_valloc_retry and memory_pvalloc_retry.
12435
12436 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12437
12438         * locale/programs/locarchive.c (open_archive): Add const
12439         qualifier to ARCHIVEFNAME and copy default fname to
12440         DEFAULT_FNAME.
12441
12442         [BZ #15601]
12443         * libio/tst-widetext.input: Rename Oriya to Odia.
12444         * locale/iso-639.def: Likewise.
12445
12446         * manual/probes.texi (Mathematical Function Probes): Add
12447         documentation for sin, cos, asin and acos probes.
12448         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12449         (__sin32): Add slowasin probe.
12450         (__cos32): Add slowacos probe.
12451         (__mpsin): Add slowsin probe.
12452         (__mpcos): Add slowcos probe.
12453
12454 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
12455
12456         [BZ #15483]
12457         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12458         thread-local __sim_exceptions_thread and global
12459         __sim_exceptions_global.
12460         (__sim_disabled_exceptions): Change to thread-local
12461         __sim_disabled_exceptions_thread and global
12462         __sim_disabled_exceptions_global.
12463         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12464         and global __sim_round_mode_global.
12465         (__simulate_exceptions): Use thread-local floating-point state and
12466         set global state from it as needed.
12467         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12468         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12469         __sim_round_mode_thread.
12470         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12471         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12472         and global __sim_exceptions_global.
12473         (__sim_disabled_exceptions): Change to thread-local
12474         __sim_disabled_exceptions_thread and global
12475         __sim_disabled_exceptions_global.
12476         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12477         and global __sim_round_mode_global.
12478         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12479         (SIM_SET_GLOBAL): Likewise.
12480         * sysdeps/powerpc/soft-fp/sfp-machine.h
12481         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12482         __sim_round_mode_thread.
12483         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12484         __sim_disabled_exceptions_thread.
12485         (__sim_exceptions): Change to __sim_exceptions_thread.
12486         (__sim_disabled_exceptions): Change to
12487         __sim_disabled_exceptions_thread.
12488         (__sim_round_mode): Change to __sim_round_mode_thread.
12489         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12490         thread-local floating-point state and set global state from it as
12491         needed.
12492         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12493         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12494         (__sim_disabled_exceptions): Remove extern declaration.
12495         (feenableexcept): Use thread-local floating-point state and set
12496         global state from it as needed.
12497         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12498         extern declaration.
12499         (__sim_disabled_exceptions): Likewise.
12500         (__sim_round_mode): Likewise.
12501         (__fegetenv): Use thread-local floating-point state.
12502         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12503         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12504         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12505         floating-point state and set global state from it as needed.
12506         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12507         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12508         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12509         Likewise.
12510         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12511         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12512         Likewise.
12513         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12514         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12515         Use __sim_round_mode_thread.
12516         * math/test-fenv-tls.c: New file.
12517         * math/Makefile (tests): Add test-fenv-tls.
12518         ($(objpfx)test-fenv-tls): Depend on
12519         $(common-objpfx)nptl/libpthread.so.
12520
12521 2013-11-19  Andreas Schwab  <schwab@suse.de>
12522
12523         * locale/programs/locale.c (show_info): Decode wordarray elements.
12524         * locale/categories.def (LC_MONETARY): Add element for
12525         _NL_MONETARY_CRNCYSTR.
12526         * locale/C-monetary.c (conversion_rate): New variable.
12527         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12528         element.
12529
12530 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
12531
12532         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12533         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12534
12535 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12536
12537         * elf/Makefile (tst-auxv): New test.
12538         * elf/tst-auxv.c: New
12539         * elf/rtld.c (dl_main): Adjust AT_EXECFN
12540
12541 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
12542
12543         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12544         (hidden_proto): Caller changed.
12545         (hidden_tls_proto): New macro.
12546         (libc_hidden_tls_proto): Likewise.
12547         (rtld_hidden_tls_proto): Likewise.
12548         (libm_hidden_tls_proto): Likewise.
12549         (libresolv_hidden_tls_proto): Likewise.
12550         (librt_hidden_tls_proto): Likewise.
12551         (libdl_hidden_tls_proto): Likewise.
12552         (libnss_files_hidden_tls_proto): Likewise.
12553         (libnsl_hidden_tls_proto): Likewise.
12554         (libnss_nisplus_hidden_tls_proto): Likewise.
12555         (libutil_hidden_tls_proto): Likewise.
12556
12557 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
12558
12559         [BZ #10253]
12560         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12561         (decompose_rpath): Defer expansion to fillin_rpath.
12562         (_dl_init_paths): Pass linkmap to fillin_rpath.
12563
12564 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12565
12566         * benchtests/Makefile: Add strsep.
12567         * benchtests/bench-strsep.c: New file: strsep benchtest.
12568         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12569
12570 2013-11-18  Andreas Schwab  <schwab@suse.de>
12571
12572         * locale/programs/locale.c (show_info) [case byte]: Check for
12573         '\377' instead of '\177'.
12574         * locale/C-monetary.c (not_available): Always use "\377".
12575         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12576         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
12577         detect unavailable sign_posn locale elements.
12578         * locale/localeconv.c (__localeconv): For grouping and
12579         mon_grouping handle "\177" and "\377" like no grouping.
12580         (INT_ELEM): New macro.  Use it to set all numeric members.
12581         * locale/programs/ld-monetary.c (monetary_read)
12582         <tok_mon_grouping>: Normalize single -1 to the empty string.
12583         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12584         Likewise.
12585
12586 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12587
12588         [BZ #16055]
12589         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12590         when we match (nil).
12591         * stdio-common/tst-sscanf.c (struct test): Add testcase.
12592
12593 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
12594
12595         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12596         (NO_TEST_INLINE): Update value.
12597         (ERRNO_UNCHANGED): Likewise.
12598         (ERRNO_EDOM): Likewise.
12599         (ERRNO_ERANGE): Likewise.
12600         (IGNORE_RESULT): Likewise.
12601         (check_float_internal): Check signs of NaN results if
12602         TEST_NAN_SIGN used.
12603         (check_complex): Pass TEST_NAN_SIGN flag through to second
12604         check_float_internal call.
12605         (copysign_test_data): Add tests with quiet NaNs as second
12606         argument.  Use TEST_NAN_SIGN.
12607         (fabs_test_data): Add test of negative quiet NaN argument.  Use
12608         TEST_NAN_SIGN.
12609         (signbit_test_data): Add tests of quiet NaN argument.
12610         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12611
12612         * math/gen-libm-test.pl (show_exceptions): Take extra argument
12613         $ignore_result.
12614         (parse_args): Handle function results specified as IGNORE.
12615         * math/libm-test.inc (IGNORE_RESULT): New macro.
12616         (check_float_internal): Do not check numerical result if flag
12617         IGNORE_RESULT set.
12618         (check_complex): Pass through IGNORE_RESULT to second
12619         check_float_internal call.
12620         (check_int): Do not check numerical result if flag IGNORE_RESULT
12621         set.
12622         (check_long): Likewise.
12623         (check_bool): Likewise.
12624         (check_longlong): Likewise.
12625         (lrint_test_data): Add tests of infinite and NaN arguments.
12626         (lrint_tonearest_test_data): Likewise.
12627         (lrint_towardzero_test_data): Likewise.
12628         (lrint_downward_test_data): Likewise.
12629         (lrint_upward_test_data): Likewise.
12630         (llrint_test_data): Likewise.
12631         (llrint_tonearest_test_data): Likewise.
12632         (llrint_towardzero_test_data): Likewise.
12633         (llrint_downward_test_data): Likewise.
12634         (llrint_upward_test_data): Likewise.
12635         (lround_test_data): Likewise.
12636         (llround_test_data): Likewise.
12637
12638         * math/libm-test.inc (NO_TEST_INLINE): New macro.
12639         (ERRNO_UNCHANGED): Update value.
12640         (ERRNO_EDOM): Likewise.
12641         (ERRNO_ERANGE): Likewise.
12642         (NO_TEST_INLINE_FLOAT): New macro.
12643         (NO_TEST_INLINE_DOUBLE): Likewise.
12644         (enable_test): New function.
12645         (RUN_TEST_f_f): Check enable_test before running test.
12646         (RUN_TEST_2_f): Likewise.
12647         (RUN_TEST_fff_f): Likewise.
12648         (RUN_TEST_c_f): Likewise.
12649         (RUN_TEST_f_f1): Likewise.
12650         (RUN_TEST_fF_f1): Likewise.
12651         (RUN_TEST_fI_f1): Likewise.
12652         (RUN_TEST_ffI_f1): Likewise.
12653         (RUN_TEST_c_c): Likewise.
12654         (RUN_TEST_cc_c): Likewise.
12655         (RUN_TEST_f_i): Likewise.
12656         (RUN_TEST_f_i_tg): Likewise.
12657         (RUN_TEST_ff_i_tg): Likewise.
12658         (RUN_TEST_f_b): Likewise.
12659         (RUN_TEST_f_b_tg): Likewise.
12660         (RUN_TEST_f_l): Likewise.
12661         (RUN_TEST_f_L): Likewise.
12662         (RUN_TEST_fFF_11): Likewise.
12663         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12664         conditionals.
12665         (cosh_test_data): Likewise.
12666         (exp_test_data): Likewise.
12667         (expm1_test_data): Likewise.
12668         (hypot_test_data): Likewise.
12669         (pow_test_data): Likewise.
12670         (sinh_test_data): Likewise.
12671         (tanh_test_data): Likewise.
12672         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12673         flags argument.
12674
12675         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12676         tests with quiet NaN input and output.
12677         (acosh_test_data): Likewise.
12678         (asin_test_data): Likewise.
12679         (asinh_test_data): Likewise.
12680         (atan_test_data): Likewise.
12681         (atanh_test_data): Likewise.
12682         (atan2_test_data): Likewise.
12683         (cbrt_test_data): Likewise.
12684         (cos_test_data): Likewise.
12685         (cosh_test_data): Likewise.
12686         (erf_test_data): Likewise.
12687         (erfc_test_data): Likewise.
12688         (exp_test_data): Likewise.
12689         (exp10_test_data): Likewise.
12690         (exp2_test_data): Likewise.
12691         (expm1_test_data): Likewise.
12692         (hypot_test_data): Likewise.
12693         (j0_test_data): Likewise.
12694         (j1_test_data): Likewise.
12695         (jn_test_data): Likewise.
12696         (lgamma_test_data): Likewise.
12697         (log_test_data): Likewise.
12698         (log10_test_data): Likewise.
12699         (log1p_test_data): Likewise.
12700         (log2_test_data): Likewise.
12701         (pow_test_data): Likewise.
12702         (scalb_test_data): Likewise.
12703         (sin_test_data): Likewise.
12704         (sincos_test_data): Likewise.
12705         (sinh_test_data): Likewise.
12706         (tan_test_data): Likewise.
12707         (tanh_test_data): Likewise.
12708         (tgamma_test_data): Likewise.
12709         (y0_test_data): Likewise.
12710         (y1_test_data): Likewise.
12711         (yn_test_data): Likewise.
12712
12713         [BZ #16167]
12714         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12715         argument being NaN and avoid computations with second argument in
12716         that case.
12717         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12718         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12719         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12720
12721 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
12722
12723         * locale/iso-639.def: Add Chitwani Tharu (the).
12724
12725 2013-11-14  Andreas Schwab  <schwab@suse.de>
12726
12727         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12728         word instead of empty string.
12729
12730 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12731
12732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12733         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12735         (__fe_nomask_env): Likewise.
12736
12737 2013-11-13  Steve Ellcey  <sellcey@mips.com>
12738
12739         * benchtests/bench-timing.h: Include time.h.
12740
12741 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
12742
12743         [BZ #15997]
12744         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12745         to 3.4.0 for x32.
12746         * sysdeps/unix/sysv/linux/configure: Regenerated.
12747
12748 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
12749
12750         [BZ #16151]
12751         * stdlib/strtod_l.c (round_and_return): Do not consider
12752         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12753         exponent one less than half the least subnormal exponent.
12754         * stdlib/test-strtod-round-data: Add more tests.
12755         * stdlib/tst-strtod-round.c (tests): Regenerated.
12756
12757 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12758
12759         [BZ #14143]
12760         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12761         (__fe_mask_env): Likewise.
12762         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12763         libm_hidden_proto and add function prototype.
12764         (__fe_mask_env): Add function prototype.
12765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12766         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12768         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12770         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12771
12772 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12773
12774         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12775         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12776
12777 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12778
12779         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12780         of htab_find_slot().
12781
12782 2013-11-11  David S. Miller  <davem@davemloft.net>
12783
12784         [BZ #16150]
12785         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12786         symbol in the non-vis3 case in static builds.
12787         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12788         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12789         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12790         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12791
12792 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12793
12794         [BZ #387]
12795         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12796         it is empty.
12797
12798 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12799
12800         * benchtests/Makefile: Add bench-strtod.
12801         * benchtests/bench-strtod.c: New file: strtod benchtest
12802
12803 2013-11-11  Andreas Schwab  <schwab@suse.de>
12804
12805         [BZ #16153]
12806         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12807         terminating NUL in key length.
12808
12809 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12810
12811         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12812         Add artificial ODP entry for vDSO symbol for PPC64.
12813         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12814         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12815
12816 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12817
12818         [BZ #15374]
12819         * nss/getent.c (services_keys): Recognize services starting with digit.
12820
12821 2013-11-06  David S. Miller  <davem@davemloft.net>
12822
12823         [BZ #15985]
12824         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12825         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12826
12827 2013-11-06  Will Newton  <will.newton@linaro.org>
12828
12829         * manual/memory.texi (Malloc Examples): Remove register
12830         keyword from examples.
12831
12832 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
12833
12834         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12835
12836 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
12837
12838         [BZ #6981]
12839         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12840         depending on [__GCC_IEC_559 > 0].
12841         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12842         depending on [__GCC_IEC_559_COMPLEX > 0].
12843
12844 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
12845
12846         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12847         to iso-639.def.
12848
12849 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
12850
12851         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12852
12853 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
12854
12855         [BZ #16112]
12856         * malloc/malloc (malloc_info): Do not handle first bin as
12857         special case.
12858
12859 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
12860
12861         * locale/iso-639.def: Add Central Nahuatl (nhn).
12862
12863 2013-11-01  Bruno Haible  <bruno@clisp.org>
12864
12865         [BZ #7003]
12866         * manual/math.texi (BSD Random): Specify range upper bound as
12867         in POSIX.
12868
12869 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
12870
12871         * locale/iso-639.def: Add Meadow Mari (mhr).
12872
12873 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
12874
12875         [BZ #14752], [BZ #15763]
12876         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12877         Validate name.
12878         * rt/tst_shm.c: Add test for escaping directory.
12879
12880 2013-10-31  Andreas Schwab  <schwab@suse.de>
12881
12882         [BZ #15917]
12883         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12884         followed by 'x' as part of digit sequence.
12885         * stdio-common/tst-sscanf.c (double_tests2): New tests.
12886
12887 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12888
12889         [BZ #16037]
12890         * configure.ac: allow GNU Make 4.0 and greater.
12891         * configure: Regenerated.
12892
12893 2013-10-30  Will Newton  <will.newton@linaro.org>
12894
12895         [BZ #16038]
12896         * malloc/hooks.c (memalign_check): Limit alignment to the
12897         maximum representable power of two.
12898         * malloc/malloc.c (__libc_memalign): Likewise.
12899         * malloc/tst-memalign.c (do_test): Add test for very
12900         large alignment values.
12901         * malloc/tst-posix_memalign.c (do_test): Likewise.
12902
12903 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12904
12905         [BZ #11087]
12906         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12907         (munmap_chunk): Likewise.
12908         (mremap_chunk): Likewise.
12909
12910 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12911
12912         [BZ #15799]
12913         * stdlib/div.c (div): Remove obsolete code.
12914         * stdlib/ldiv.c (ldiv): Likewise.
12915         * stdlib/lldiv.c (lldiv): Likewise.
12916
12917 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12918
12919         [BZ #16071]
12920         * nss/nss_files/files-XXX.c (get_contents_ret): New
12921         enumerator.
12922         (get_contents): New function.
12923         (internal_getent): Use it.  Expand size of LINEBUFLEN.
12924
12925 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
12926
12927         * configure.in: Moved to ...
12928         * configure.ac: ... here. Change reference to configure.in
12929         to configure.ac.
12930         * sysdeps/arm/preconfigure.ac: ... here.
12931         configure.in to configure.ac.
12932         * sysdeps/gnu/configure.in: Moved to ...
12933         * sysdeps/gnu/configure.ac: ... here.
12934         * sysdeps/i386/configure.in: Moved to ...
12935         * sysdeps/i386/configure.ac: ... here.
12936         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12937         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12938         * sysdeps/mach/configure.in: Moved to ...
12939         * sysdeps/mach/configure.ac: ... here.
12940         * sysdeps/mach/hurd/configure.in: Moved to ...
12941         * sysdeps/mach/hurd/configure.ac: ... here.
12942         * sysdeps/powerpc/configure.in: Moved to ...
12943         * sysdeps/powerpc/configure.ac: ... here.
12944         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12945         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12946         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12947         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12948         * sysdeps/s390/s390-32/configure.in: Moved to ...
12949         * sysdeps/s390/s390-32/configure.ac: ... here.
12950         * sysdeps/s390/s390-64/configure.in: Moved to ...
12951         * sysdeps/s390/s390-64/configure.ac: ... here.
12952         * sysdeps/sh/configure.in: Moved to ...
12953         * sysdeps/sh/configure.ac: ... here.
12954         * sysdeps/sparc/configure.in: Moved to ...
12955         * sysdeps/sparc/configure.ac: ... here.
12956         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12957         * sysdeps/unix/sysv/linux/configure.ac: ... here.
12958         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12959         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12960         * sysdeps/x86_64/configure.in: Moved to ...
12961         * sysdeps/x86_64/configure.ac: ... here.
12962         * sysdeps/x86_64/preconfigure.in: Moved to ...
12963         * sysdeps/x86_64/preconfigure.ac: ... here.
12964         * aclocal.m4: Change reference to configure.in to configure.ac.
12965         * config.h.in: Likewise.
12966         * manual/install.texi: Likewise.
12967         * manual/maint.texi: Likewise.
12968         * Makefile: Likewise.
12969         * malloc/Makefile: Likewise.
12970         * nscd/Makefile: Likewise.
12971         * Makeconfig: Change reference to configure.in and
12972         preconfigure.in to configure.ac and preconfigure.ac
12973         respectively.
12974         * INSTALL: Regenerated.
12975         * configure: Likewise.
12976         * sysdeps/gnu/configure: Likewise.
12977         * sysdeps/i386/configure: Likewise.
12978         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12979         * sysdeps/mach/configure: Likewise.
12980         * sysdeps/mach/hurd/configure: Likewise.
12981         * sysdeps/powerpc/configure: Likewise.
12982         * sysdeps/powerpc/powerpc32/configure: Likewise.
12983         * sysdeps/powerpc/powerpc64/configure: Likewise.
12984         * sysdeps/s390/s390-32/configure: Likewise.
12985         * sysdeps/s390/s390-64/configure: Likewise.
12986         * sysdeps/sh/configure: Likewise.
12987         * sysdeps/sparc/configure: Likewise.
12988         * sysdeps/unix/sysv/linux/configure: Likewise.
12989         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12990         * sysdeps/x86_64/configure: Likewise.
12991         * sysdeps/x86_64/preconfigure: Likewise.
12992
12993 2013-10-29  Andreas Schwab  <schwab@suse.de>
12994
12995         * stdio-common/Makefile (tst-swscanf-ENV): Define.
12996
12997 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12998
12999         * benchtests/pow-inputs: Add new inputs.
13000
13001         * benchtests/exp-inputs: Add new inputs.
13002
13003         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13004         conditional check for return value.
13005         (__cos32): Likewise.
13006
13007 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13008
13009         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13010         to provide a boost for large inputs with word alignment.
13011         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13012         implementation based on optimized PPC64 strcpy.
13013         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13014         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13015         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13016         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13017
13018 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13019
13020         [BZ #2801]
13021         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13022
13023 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13024
13025         [BZ #14876]
13026         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13027         * time/tst-strptime.c (day_tests): Add testcase.
13028
13029 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13030
13031         [BZ #14029]
13032         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13033
13034 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13035
13036         [BZ #16074]
13037         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13038         MAP_FAILED on error.
13039
13040 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13041
13042         [BZ #16072]
13043         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13044         heap for large requests.
13045
13046 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13047
13048         [BZ #9954]
13049         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13050         result if the result has no associated interface.
13051         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13052         interface for all 127.X.Y.Z addresses.
13053
13054 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13055
13056         * locale/iso-639.def: Add Ligurian (lij)
13057
13058 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13059
13060         [BZ #15825]
13061         * sunrpc/rpc_main.c: Document rpcgen -5.
13062
13063 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13064
13065         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13066
13067 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13068
13069         [BZ #10278]
13070         * posix/glob.c: Match only directories when trailing slash is present.
13071         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13072         (main): Add testcase.
13073
13074 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13075
13076         [BZ #15670]
13077         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13078
13079 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13080
13081         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13082         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13083         AUTH_DES and cindex for FIPS 140-2.
13084         (DES Encryption): Add cindex FIPS 46-3.
13085
13086         * locale/locarchive.h (struct locarhandle): Add fname.
13087         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13088         if an optional argument was specified to --list-archive,
13089         otherwise NULL.
13090         * locale/programs/locarchive.c (show_archive_content): Take new
13091         argument fname and pass it via ah.fname to open_archive.
13092         * locale/programs/localedef.h: Update decl.
13093         (open_archive): If AH->fname is non-null, open that file
13094         rather than the default file name, and don't ignore ENOENT.
13095         (create_archive): Set AH.fname to NULL.
13096         (delete_locales_from_archive): Likewise.
13097         (add_locales_to_archive): Likewise.
13098         * locale/programs/locfile.c (write_all_categories): Likewise.
13099
13100 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13101             Aldy Hernandez  <aldyh@redhat.com>
13102
13103         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13104         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13105         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13106         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13107         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13108         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13109         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13110         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13111         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13112         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13113         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13114         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13115         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13116         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13117         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13118         Likewise.
13119         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13120         Likewise.
13121         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13122         Likewise.
13123         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13124         Likewise.
13125         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13126         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13127         Likewise.
13128         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13129         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13130         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13131         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13132         Likewise.
13133         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13134         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13135         * sysdeps/powerpc/preconfigure: Likewise.
13136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13137         Likewise.
13138         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13139         Replace contents of file by #include of <fenv_libc.h>.
13140         * sysdeps/powerpc/soft-fp/sfp-machine.h
13141         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13142         and <sys/prctl.h>.
13143         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13144         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13145         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13146         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13147         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13148         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13150         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13151         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13152         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13153         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13154         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13156         Allow copysignl PLT reference to be missing.
13157
13158 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13159             Joseph Myers  <joseph@codesourcery.com
13160
13161         [BZ #15948]
13162         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13163         single character.
13164         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13165
13166 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13167
13168         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13169         * elf/tst-tls1.c: Likewise.
13170         * elf/tst-tls10.h: Likewise.
13171         * elf/tst-tls14.c: Likewise.
13172         * elf/tst-tls2.c: Likewise.
13173         * elf/tst-tls3.c: Likewise.
13174         * elf/tst-tls4.c: Likewise.
13175         * elf/tst-tls5.c: Likewise.
13176         * elf/tst-tls6.c: Likewise.
13177         * elf/tst-tls7.c: Likewise.
13178         * elf/tst-tls8.c: Likewise.
13179         * elf/tst-tls9.c: Likewise.
13180         * elf/tst-tlsmod1.c: Likewise.
13181         * elf/tst-tlsmod13.c: Likewise.
13182         * elf/tst-tlsmod13a.c: Likewise.
13183         * elf/tst-tlsmod14a.c: Likewise.
13184         * elf/tst-tlsmod16a.c: Likewise.
13185         * elf/tst-tlsmod16b.c: Likewise.
13186         * elf/tst-tlsmod2.c: Likewise.
13187         * elf/tst-tlsmod3.c: Likewise.
13188         * elf/tst-tlsmod4.c: Likewise.
13189         * elf/tst-tlsmod5.c: Likewise.
13190         * elf/tst-tlsmod6.c: Likewise.
13191
13192 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13193
13194         [BZ #12486]
13195         * malloc/malloc.c: remove checks for statistics.
13196
13197 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13198
13199         [BZ #15277]
13200         * inet/inet_net.c (inet_network): Detect additional invalid strings.
13201         * inet/tst-network.c: Add testcase.
13202
13203 2013-10-17  Andreas Schwab  <schwab@suse.de>
13204
13205         [BZ #15218]
13206         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13207         to determine canonical name.
13208
13209 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13210
13211         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13212         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13213         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13214         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13215         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13216         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13217         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13218         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13219         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13220         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13221         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13222         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13223         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13224         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13225         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13226         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13227         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13228         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13229         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13230         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13231         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13232         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13233         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13234         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13235         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13236         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13237         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13238         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13239         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13240         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13241         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13242         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13243         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13244         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13245         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13246         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13247         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13248         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13249         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13250         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13251         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13252         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13253         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13254         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13255         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13256         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13257         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13258         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13259         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13260         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13261         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13262         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13263         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13264         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13265         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13266         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13267         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13268         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13269
13270 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
13271
13272         [BZ #16041]
13273         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13274         make result into a quiet NaN.
13275
13276 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
13277
13278         * soft-fp/adddf3.c: Fix horizontal whitespace.
13279         * soft-fp/addsf3.c: Likewise.
13280         * soft-fp/addtf3.c: Likewise.
13281         * soft-fp/divdf3.c: Likewise.
13282         * soft-fp/divsf3.c: Likewise.
13283         * soft-fp/divtf3.c: Likewise.
13284         * soft-fp/double.h: Likewise.
13285         * soft-fp/eqdf2.c: Likewise.
13286         * soft-fp/eqsf2.c: Likewise.
13287         * soft-fp/eqtf2.c: Likewise.
13288         * soft-fp/extenddftf2.c: Likewise.
13289         * soft-fp/extended.h: Likewise.
13290         * soft-fp/extendsfdf2.c: Likewise.
13291         * soft-fp/extendsftf2.c: Likewise.
13292         * soft-fp/extendxftf2.c: Likewise.
13293         * soft-fp/fixdfdi.c: Likewise.
13294         * soft-fp/fixdfsi.c: Likewise.
13295         * soft-fp/fixdfti.c: Likewise.
13296         * soft-fp/fixsfdi.c: Likewise.
13297         * soft-fp/fixsfsi.c: Likewise.
13298         * soft-fp/fixsfti.c: Likewise.
13299         * soft-fp/fixtfdi.c: Likewise.
13300         * soft-fp/fixtfsi.c: Likewise.
13301         * soft-fp/fixtfti.c: Likewise.
13302         * soft-fp/fixunsdfdi.c: Likewise.
13303         * soft-fp/fixunsdfsi.c: Likewise.
13304         * soft-fp/fixunsdfti.c: Likewise.
13305         * soft-fp/fixunssfdi.c: Likewise.
13306         * soft-fp/fixunssfsi.c: Likewise.
13307         * soft-fp/fixunssfti.c: Likewise.
13308         * soft-fp/fixunstfdi.c: Likewise.
13309         * soft-fp/fixunstfsi.c: Likewise.
13310         * soft-fp/fixunstfti.c: Likewise.
13311         * soft-fp/floatdidf.c: Likewise.
13312         * soft-fp/floatdisf.c: Likewise.
13313         * soft-fp/floatditf.c: Likewise.
13314         * soft-fp/floatsidf.c: Likewise.
13315         * soft-fp/floatsisf.c: Likewise.
13316         * soft-fp/floatsitf.c: Likewise.
13317         * soft-fp/floattidf.c: Likewise.
13318         * soft-fp/floattisf.c: Likewise.
13319         * soft-fp/floattitf.c: Likewise.
13320         * soft-fp/floatundidf.c: Likewise.
13321         * soft-fp/floatundisf.c: Likewise.
13322         * soft-fp/floatunditf.c: Likewise.
13323         * soft-fp/floatunsidf.c: Likewise.
13324         * soft-fp/floatunsisf.c: Likewise.
13325         * soft-fp/floatunsitf.c: Likewise.
13326         * soft-fp/floatuntidf.c: Likewise.
13327         * soft-fp/floatuntisf.c: Likewise.
13328         * soft-fp/floatuntitf.c: Likewise.
13329         * soft-fp/fmadf4.c: Likewise.
13330         * soft-fp/fmasf4.c: Likewise.
13331         * soft-fp/fmatf4.c: Likewise.
13332         * soft-fp/gedf2.c: Likewise.
13333         * soft-fp/gesf2.c: Likewise.
13334         * soft-fp/getf2.c: Likewise.
13335         * soft-fp/ledf2.c: Likewise.
13336         * soft-fp/lesf2.c: Likewise.
13337         * soft-fp/letf2.c: Likewise.
13338         * soft-fp/muldf3.c: Likewise.
13339         * soft-fp/mulsf3.c: Likewise.
13340         * soft-fp/multf3.c: Likewise.
13341         * soft-fp/negdf2.c: Likewise.
13342         * soft-fp/negsf2.c: Likewise.
13343         * soft-fp/negtf2.c: Likewise.
13344         * soft-fp/op-1.h: Likewise.
13345         * soft-fp/op-2.h: Likewise.
13346         * soft-fp/op-4.h: Likewise.
13347         * soft-fp/op-8.h: Likewise.
13348         * soft-fp/op-common.h: Likewise.
13349         * soft-fp/quad.h: Likewise.
13350         * soft-fp/single.h: Likewise.
13351         * soft-fp/soft-fp.h: Likewise.
13352         * soft-fp/sqrtdf2.c: Likewise.
13353         * soft-fp/sqrtsf2.c: Likewise.
13354         * soft-fp/sqrttf2.c: Likewise.
13355         * soft-fp/subdf3.c: Likewise.
13356         * soft-fp/subsf3.c: Likewise.
13357         * soft-fp/subtf3.c: Likewise.
13358         * soft-fp/truncdfsf2.c: Likewise.
13359         * soft-fp/trunctfdf2.c: Likewise.
13360         * soft-fp/trunctfsf2.c: Likewise.
13361         * soft-fp/trunctfxf2.c: Likewise.
13362         * soft-fp/unorddf2.c: Likewise.
13363         * soft-fp/unordsf2.c: Likewise.
13364         * soft-fp/unordtf2.c: Likewise.
13365
13366 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
13367
13368         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13369         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13370
13371 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
13372
13373         * elf/dl-libc.c: Clear initfini list after freeing.
13374
13375 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
13376
13377         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13378         * soft-fp/addsf3.c: Likewise.
13379         * soft-fp/addtf3.c: Likewise.
13380         * soft-fp/divdf3.c: Likewise.
13381         * soft-fp/divsf3.c: Likewise.
13382         * soft-fp/divtf3.c: Likewise.
13383         * soft-fp/double.h: Likewise.
13384         * soft-fp/eqdf2.c: Likewise.
13385         * soft-fp/eqsf2.c: Likewise.
13386         * soft-fp/eqtf2.c: Likewise.
13387         * soft-fp/extenddftf2.c: Likewise.
13388         * soft-fp/extended.h: Likewise.
13389         * soft-fp/extendsfdf2.c: Likewise.
13390         * soft-fp/extendsftf2.c: Likewise.
13391         * soft-fp/extendxftf2.c: Likewise.
13392         * soft-fp/fixdfdi.c: Likewise.
13393         * soft-fp/fixdfsi.c: Likewise.
13394         * soft-fp/fixdfti.c: Likewise.
13395         * soft-fp/fixsfdi.c: Likewise.
13396         * soft-fp/fixsfsi.c: Likewise.
13397         * soft-fp/fixsfti.c: Likewise.
13398         * soft-fp/fixtfdi.c: Likewise.
13399         * soft-fp/fixtfsi.c: Likewise.
13400         * soft-fp/fixtfti.c: Likewise.
13401         * soft-fp/fixunsdfdi.c: Likewise.
13402         * soft-fp/fixunsdfsi.c: Likewise.
13403         * soft-fp/fixunsdfti.c: Likewise.
13404         * soft-fp/fixunssfdi.c: Likewise.
13405         * soft-fp/fixunssfsi.c: Likewise.
13406         * soft-fp/fixunssfti.c: Likewise.
13407         * soft-fp/fixunstfdi.c: Likewise.
13408         * soft-fp/fixunstfsi.c: Likewise.
13409         * soft-fp/fixunstfti.c: Likewise.
13410         * soft-fp/floatdidf.c: Likewise.
13411         * soft-fp/floatdisf.c: Likewise.
13412         * soft-fp/floatditf.c: Likewise.
13413         * soft-fp/floatsidf.c: Likewise.
13414         * soft-fp/floatsisf.c: Likewise.
13415         * soft-fp/floatsitf.c: Likewise.
13416         * soft-fp/floattidf.c: Likewise.
13417         * soft-fp/floattisf.c: Likewise.
13418         * soft-fp/floattitf.c: Likewise.
13419         * soft-fp/floatundidf.c: Likewise.
13420         * soft-fp/floatundisf.c: Likewise.
13421         * soft-fp/floatunsidf.c: Likewise.
13422         * soft-fp/floatunsisf.c: Likewise.
13423         * soft-fp/floatuntidf.c: Likewise.
13424         * soft-fp/floatuntisf.c: Likewise.
13425         * soft-fp/floatuntitf.c: Likewise.
13426         * soft-fp/fmadf4.c: Likewise.
13427         * soft-fp/fmasf4.c: Likewise.
13428         * soft-fp/fmatf4.c: Likewise.
13429         * soft-fp/gedf2.c: Likewise.
13430         * soft-fp/gesf2.c: Likewise.
13431         * soft-fp/getf2.c: Likewise.
13432         * soft-fp/ledf2.c: Likewise.
13433         * soft-fp/lesf2.c: Likewise.
13434         * soft-fp/letf2.c: Likewise.
13435         * soft-fp/muldf3.c: Likewise.
13436         * soft-fp/mulsf3.c: Likewise.
13437         * soft-fp/multf3.c: Likewise.
13438         * soft-fp/negdf2.c: Likewise.
13439         * soft-fp/negsf2.c: Likewise.
13440         * soft-fp/negtf2.c: Likewise.
13441         * soft-fp/op-1.h: Likewise.
13442         * soft-fp/op-2.h: Likewise.
13443         * soft-fp/op-4.h: Likewise.
13444         * soft-fp/op-8.h: Likewise.
13445         * soft-fp/op-common.h: Likewise.
13446         * soft-fp/quad.h: Likewise.
13447         * soft-fp/single.h: Likewise.
13448         * soft-fp/soft-fp.h: Likewise.
13449         * soft-fp/sqrtdf2.c: Likewise.
13450         * soft-fp/sqrtsf2.c: Likewise.
13451         * soft-fp/sqrttf2.c: Likewise.
13452         * soft-fp/subdf3.c: Likewise.
13453         * soft-fp/subsf3.c: Likewise.
13454         * soft-fp/subtf3.c: Likewise.
13455         * soft-fp/truncdfsf2.c: Likewise.
13456         * soft-fp/trunctfdf2.c: Likewise.
13457         * soft-fp/trunctfsf2.c: Likewise.
13458         * soft-fp/trunctfxf2.c: Likewise.
13459         * soft-fp/unorddf2.c: Likewise.
13460         * soft-fp/unordsf2.c: Likewise.
13461         * soft-fp/unordtf2.c: Likewise.
13462
13463 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
13464
13465         [BZ #15672]
13466         * misc/error.c (error_tail): Fix possible buffer overflow.
13467
13468 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
13469
13470         [BZ #13028]
13471         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13472         address.
13473
13474 2013-10-14  P. J. McDermott  <pj@pehjota.net>
13475
13476         [BZ #832]
13477         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
13478         testing pipefail option.
13479
13480 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13481
13482         * soft-fp/double.h: Indent preprocessor directives inside #if.
13483         * soft-fp/extended.h: Likewise.
13484         * soft-fp/op-2.h: Likewise.
13485         * soft-fp/op-4.h: Likewise.
13486         * soft-fp/op-common.h: Likewise.
13487         * soft-fp/quad.h: Likewise.
13488         * soft-fp/single.h: Likewise.
13489         * soft-fp/soft-fp.h: Likewise.
13490
13491 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
13492
13493         * iconv/iconv_prog.c: Fix typos.
13494         * stdio-common/psiginfo-data.h: Likewise.
13495
13496 2013-10-12   Reuben Thomas <rrt@sc3d.org>
13497
13498         [BZ #15764]
13499         * locale/setlocale.c: Fix typo.
13500
13501 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13502
13503         [BZ #16036]
13504         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13505         signaling NaN arguments.
13506         * soft-fp/unordsf2.c (__unordsf2): Likewise.
13507         * soft-fp/unordtf2.c (__unordtf2): Likewise.
13508
13509         [BZ #14910]
13510         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13511         unordered operands.
13512         * soft-fp/gesf2.c (__gesf2): Likewise.
13513         * soft-fp/getf2.c (__getf2): Likewise.
13514         * soft-fp/ledf2.c (__ledf2): Likewise.
13515         * soft-fp/lesf2.c (__lesf2): Likewise.
13516         * soft-fp/letf2.c (__letf2): Likewise.
13517
13518         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13519         * soft-fp/eqsf2.c (__eqsf2): Likewise.
13520         * soft-fp/eqtf2.c (__eqtf2): Likewise.
13521         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13522         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13523         * soft-fp/fixdfti.c (__fixdfti): Likewise.
13524         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13525         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13526         * soft-fp/fixsfti.c (__fixsfti): Likewise.
13527         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13528         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13529         * soft-fp/fixtfti.c (__fixtfti): Likewise.
13530         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13531         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13532         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13533         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13534         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13535         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13536         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13537         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13538         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13539         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13540         * soft-fp/floatdisf.c (__floatdisf): Likewise.
13541         * soft-fp/floatsisf.c (__floatsisf): Likewise.
13542         * soft-fp/floattidf.c (__floattidf): Likewise.
13543         * soft-fp/floattisf.c (__floattisf): Likewise.
13544         * soft-fp/floattitf.c (__floattitf): Likewise.
13545         * soft-fp/floatundidf.c (__floatundidf): Likewise.
13546         * soft-fp/floatundisf.c (__floatundisf): Likewise.
13547         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13548         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13549         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13550         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13551         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13552         * soft-fp/gesf2.c (__gesf2): Likewise.
13553         * soft-fp/getf2.c (__getf2): Likewise.
13554         * soft-fp/ledf2.c (__ledf2): Likewise.
13555         * soft-fp/lesf2.c (__lesf2): Likewise.
13556         * soft-fp/letf2.c (__letf2): Likewise.
13557
13558         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13559         Undefine and redefine.
13560         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13561         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13562         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13563         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13564         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13565         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13566         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13567         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13568         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13569         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13570         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13571         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13572         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13573         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13574         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13575
13576         [BZ #16032]
13577         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13578         without decrementing exponent if mantissa >= that for the
13579         denominator, not >.
13580         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13581         denominator, not >.  Decrement exponent in < case instead of
13582         incrementing in >= case.
13583         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13584         without decrementing exponent if mantissa >= that for the
13585         denominator, not >.
13586
13587         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13588         computing saturated result for unsigned overflow.
13589
13590 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13591             Jeff Law  <law@redhat.com>
13592
13593         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13594         (atan2Mp): Add systemtap probe marker.
13595         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13596         (__ieee754_log): Add systemtap probe marker.
13597         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13598         (atanMp): Add systemtap probe marker.
13599         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13600         (tanMp): Add systemtap probe marker.
13601         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13602         (__slowexp): Add systemtap probe marker.
13603         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13604         (__slowpow): Add systemtap probe marker.
13605         * manual/probes.texi: Document probes.
13606
13607 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
13608
13609         [BZ #15362]
13610         * libio/fileops.c (_IO_new_file_write): Return count of bytes
13611         written.
13612         (_IO_new_file_xsputn): Don't return EOF if nothing has been
13613         written.
13614         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13615         written to buffer but not flushed.
13616         * libio/iofwrite_u.c:  Likewise.
13617         * libio/iopadn.c:  Return bytes returned even if EOF was
13618         encountered.
13619         * libio/iowpadn.c:  Likewise.
13620         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13621         if _IO_padn does not write the whole buffer.
13622         [!COMPILE_WPRINTF] (PAD): Likewise.
13623
13624 2013-10-10  David S. Miller  <davem@davemloft.net>
13625
13626         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13627         directory block.
13628
13629 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13630
13631         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
13632         instead of FSF address.
13633         * soft-fp/fixdfti.c: Likewise.
13634         * soft-fp/fixsfti.c: Likewise.
13635         * soft-fp/fixtfti.c: Likewise.
13636         * soft-fp/fixunsdfti.c: Likewise.
13637         * soft-fp/fixunssfti.c: Likewise.
13638         * soft-fp/fixunstfti.c: Likewise.
13639         * soft-fp/floattidf.c: Likewise.
13640         * soft-fp/floattisf.c: Likewise.
13641         * soft-fp/floattitf.c: Likewise.
13642         * soft-fp/floatuntidf.c: Likewise.
13643         * soft-fp/floatuntisf.c: Likewise.
13644         * soft-fp/floatuntitf.c: Likewise.
13645         * soft-fp/trunctfxf2.c: Likewise.
13646
13647         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
13648         * soft-fp/fixdfti.c: Likewise.
13649         * soft-fp/fixsfti.c: Likewise.
13650         * soft-fp/fixtfti.c: Likewise.
13651         * soft-fp/fixunsdfti.c: Likewise.
13652         * soft-fp/fixunssfti.c: Likewise.
13653         * soft-fp/fixunstfti.c: Likewise.
13654         * soft-fp/floattidf.c: Likewise.
13655         * soft-fp/floattisf.c: Likewise.
13656         * soft-fp/floattitf.c: Likewise.
13657         * soft-fp/floatuntidf.c: Likewise.
13658         * soft-fp/floatuntisf.c: Likewise.
13659         * soft-fp/floatuntitf.c: Likewise.
13660         * soft-fp/trunctfxf2.c: Likewise.
13661
13662 2013-10-10  David S. Miller  <davem@davemloft.net>
13663
13664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13665
13666 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
13667
13668         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13669         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13670         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13671         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13672         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13673         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13674         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13675
13676         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13677         for NaNs before doing comparisons on argument.
13678         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13679         Likewise.
13680
13681 2013-10-10  Will Newton  <will.newton@linaro.org>
13682
13683         * malloc/hooks.c (memalign_check): Ensure the value of bytes
13684         passed to _int_memalign does not overflow.
13685
13686 2013-10-10  Torvald Riegel  <triegel@redhat.com>
13687
13688         * scripts/bench.pl: Add include-sources directive.
13689         * benchtests/README: Update documentation.
13690
13691 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13692
13693         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13694         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13695         instead of FP_INIT_ROUNDMODE.
13696         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13697         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13698
13699         [BZ #16034]
13700         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
13701         copy class of input value.
13702         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
13703         not handle exceptions.
13704         * soft-fp/negsf2.c (__negsf2): Likewise.
13705         * soft-fp/negtf2.c (__negtf2): Likewise.
13706         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13707
13708 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
13709
13710         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13711         semicolon.  From Linux kernel.
13712
13713 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
13714
13715         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13716
13717 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
13718
13719         [BZ #156]
13720         * manual/socket.texi: Added statement about buffer
13721         for gethostbyname2_r.
13722
13723 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
13724
13725         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13726         Use .p2align directive instead, throughout.
13727         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13728         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13729         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13730         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13731         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13732         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13733         * sysdeps/x86_64/strchr.S: Likewise.
13734         * sysdeps/x86_64/strrchr.S: Likewise.
13735
13736 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13737
13738         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13739
13740         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13741
13742         * sysdeps/generic/math_private.h (__mpsin1): Remove
13743         declaration.
13744         (__mpcos1): Likewise.
13745         (__mpsin): New argument __range_reduce.
13746         (__mpcos): Likewise.
13747         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13748         (slow): Use __mpsin and __mpcos.
13749         (slow1): Likewise.
13750         (slow2): Likewise.
13751         (sloww): Likewise.
13752         (sloww1): Likewise.
13753         (sloww2): Likewise.
13754         (bsloww): Likewise.
13755         (bsloww1): Likewise.
13756         (bsloww2): Likewise.
13757         (cslow2): Likewise.
13758         (csloww): Likewise.
13759         (csloww1): Likewise.
13760         (csloww2): Likewise.
13761         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13762         range_reduce.  Merge in __mpsin1.
13763         (__mpcos): Likewise.
13764         (__mpsin1): Remove.
13765         (__mpcos1): Likewise.
13766
13767 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
13768
13769         * locale/loadlocale.c (_nl_intern_locale_data): Use
13770         LOCFILE_ALIGNED_P.
13771         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13772         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13773         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13774         obstack data is appropriately aligned.
13775         (obstack_int32_grow_fast): Likewise.
13776         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13777         * locale/programs/locfile.c (add_locale_uint32): Likewise.
13778         (add_locale_uint32_array): Likewise.
13779
13780 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
13781
13782         * benchtests/Makefile: Remove ARGLIST and RET variables.
13783         ($(objpfx)bench-%.c): Pass only function name to the script.
13784         * benchtests/README: Update documentation.
13785         * benchtests/acos-inputs: Add new directives.
13786         * benchtests/acosh-inputs: Likewise.
13787         * benchtests/asin-inputs: Likewise.
13788         * benchtests/asinh-inputs: Likewise.
13789         * benchtests/atan-inputs: Likewise.
13790         * benchtests/atanh-inputs: Likewise.
13791         * benchtests/cos-inputs: Likewise.
13792         * benchtests/cosh-inputs: Likewise.
13793         * benchtests/exp-inputs: Likewise.
13794         * benchtests/log-inputs: Likewise.
13795         * benchtests/pow-inputs: Likewise.
13796         * benchtests/rint-inputs: Likewise.
13797         * benchtests/sin-inputs: Likewise.
13798         * benchtests/sinh-inputs: Likewise.
13799         * benchtests/tan-inputs: Likewise.
13800         * benchtests/tanh-inputs: Likewise.
13801         * scripts/bench.pl: Add support for new directives.
13802
13803 2013-10-07  Alan Modra  <amodra@gmail.com>
13804
13805         * README: Fix careless merge.
13806
13807 2013-10-05  Alan Modra  <amodra@gmail.com>
13808
13809         * NEWS: Mention powerpc64le support and bugs fixed.
13810         * README: Both big-endian and little-endian powerpc64 supported.
13811
13812 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13813
13814         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13815         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13816         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13817         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13818
13819 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
13820
13821         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13822         match prototype.
13823
13824 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
13825
13826         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13827         Move -mhard-float appending from
13828         ports/sysdeps/powerpc/powerpc32/Makefile.
13829         [$(with-fp) = yes] (ASFLAGS): Likewise.
13830         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13831         * sysdeps/powerpc/nofpu: Move directory from
13832         ports/sysdeps/powerpc/nofpu.
13833         * sysdeps/powerpc/soft-fp: Move directory from
13834         ports/sysdeps/powerpc/soft-fp.
13835         * sysdeps/powerpc/powerpc32/405: Move directory from
13836         ports/sysdeps/powerpc/powerpc32/405.
13837         * sysdeps/powerpc/powerpc32/440: Move directory from
13838         ports/sysdeps/powerpc/powerpc32/440.
13839         * sysdeps/powerpc/powerpc32/464: Move directory from
13840         ports/sysdeps/powerpc/powerpc32/464.
13841         * sysdeps/powerpc/powerpc32/476: Move directory from
13842         ports/sysdeps/powerpc/powerpc32/476.
13843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13844         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13846         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13848         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13850         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13852         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13853         * README: Update for powerpc-*-linux-gnu software floating point
13854         support in libc.
13855
13856         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13857         case to powerpc/powerpc32*.
13858         * sysdeps/unix/sysv/linux/configure: Regenerated.
13859
13860         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13861         (_FPU_MASK_OM): Define as 0x04.
13862         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13863         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13864         0x00c10080.
13865         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13866         0x0000003c.
13867         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13868
13869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13870         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13871         getcontext_e500.
13872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13873         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13874         setcontext_e500.
13875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13876         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13877         and setcontext_e500.
13878
13879 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
13880
13881         * locale/iso-3166.def: Update iso-1366.def and related occurrences
13882
13883 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13884
13885         * manual/threads.texi (Default Thread Attributes): Fix typo.
13886
13887 2013-10-04  Will Newton  <will.newton@linaro.org>
13888
13889         * malloc/Makefile: Add tst-memalign.
13890         * malloc/tst-memalign.c: New file.
13891
13892         * malloc/tst-posix_memalign.c: Add comments.
13893         (do_test): Add comments and call free on all potentially
13894         allocated pointers. Add space after cast.
13895
13896         * malloc/tst-pvalloc.c: Add comments.
13897         (do_test): Add comments and call free on all potentially
13898         allocated pointers. Remove duplicate check for NULL pointer.
13899         Add space after cast.
13900
13901         * malloc/tst-valloc.c: Add comments.
13902         (do_test): Add comments and call free on all potentially
13903         allocated pointers. Remove duplicate check for NULL pointer.
13904         Add space after cast.
13905
13906 2013-10-04  Alan Modra  <amodra@gmail.com>
13907
13908         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13909         Use stdint types in rather than __attribute__((mode())).
13910         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13911
13912 2013-10-04  Alan Modra  <amodra@gmail.com>
13913
13914         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13915         Correct handling of unaligned relocs for little-endian.
13916         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13917
13918 2013-10-04  Alan Modra  <amodra@gmail.com>
13919
13920         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13921         * configure: Regenerate.
13922         * nptl/shlib-versions: Powerpc*le starts at 2.18.
13923         * shlib-versions: Likewise.
13924
13925 2013-10-04  Alan Modra  <amodra@gmail.com>
13926
13927         * string/tester.c (test_memrchr): Increment reported test cycle.
13928
13929 2013-10-04  Alan Modra  <amodra@gmail.com>
13930
13931         * string/test-memcpy.c (do_one_test): When reporting errors, print
13932         string address and don't overrun end of string.
13933
13934 2013-10-04  Alan Modra  <amodra@gmail.com>
13935
13936         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13937         insrdi.  Make better use of reg selection to speed exit slightly.
13938         Schedule entry path a little better.  Remove useless "are we done"
13939         checks on entry to main loop.  Handle wrapping around zero address.
13940         Correct main loop count.  Handle single left-over word from main
13941         loop inline rather than by using loop_small.  Remove extra word
13942         case in loop_small caused by wrong loop count.  Add little-endian
13943         support.
13944         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13945         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
13946         cache hint.
13947         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13948         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13949         support.  Avoid rlwimi.
13950         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13951
13952 2013-10-04  Alan Modra  <amodra@gmail.com>
13953
13954         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13955         insrdi.  Formatting.
13956         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13957         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13958         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13959         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13960         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13961         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13962
13963 2013-10-04  Alan Modra  <amodra@gmail.com>
13964
13965         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13966         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13967         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13968         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13969         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13970         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13971         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13972         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13973         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
13974         use of regs.  Use power7 mtocrf.  Tidy function tails.
13975
13976 2013-10-04  Alan Modra  <amodra@gmail.com>
13977
13978         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13979         Formatting.  Consistently use rXXX register defines or rN defines.
13980         Use early exit labels that avoid restoring unused non-volatile regs.
13981         Make cr field use more consistent with rWORDn compares.  Rename
13982         regs used as shift registers for unaligned loop, using rN defines
13983         for short lifetime/multiple use regs.
13984         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13985         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
13986         addi 1,1,64 to pop stack frame.  Simplify return value code.
13987         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13988
13989 2013-10-04  Alan Modra  <amodra@gmail.com>
13990
13991         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13992         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
13993         rather than rlwimi.
13994         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13995         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13996         little-endian support.  Correct typos.
13997         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
13998         rather than rlwimi.
13999         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14000         in loop and entry code to keep "and." results.
14001         (strchr): Add little-endian support.  Comment.  Move cntlzd
14002         earlier in tail.
14003         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14004
14005 2013-10-04  Alan Modra  <amodra@gmail.com>
14006
14007         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14008         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14009         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14010         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14011
14012 2013-10-04  Alan Modra  <amodra@gmail.com>
14013
14014         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14015         (rTMP): Define as r11.
14016         (strcmp): Add little-endian support.  Optimise tail.
14017         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14018         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14019         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14020         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14021         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14022         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14023         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14024
14025 2013-10-04  Alan Modra  <amodra@gmail.com>
14026
14027         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14028         little-endian support.  Remove unnecessary "are we done" tests.
14029         Handle "s" wrapping around zero and extremely large "size".
14030         Correct main loop count.  Handle single left-over word from main
14031         loop inline rather than by using small_loop.  Correct comments.
14032         Delete "zero" tail, use "end_max" instead.
14033         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14034
14035 2013-10-04  Alan Modra  <amodra@gmail.com>
14036
14037         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14038         support.  Don't branch over align.
14039         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14040         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14041         support.  Rearrange tmp reg use to suit.  Comment.
14042         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14043
14044 2013-10-04  Alan Modra  <amodra@gmail.com>
14045
14046         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14047
14048 2013-10-04  Alan Modra  <amodra@gmail.com>
14049
14050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14051         conditional form of branch and link when obtaining pc.
14052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14053
14054 2013-10-04  Alan Modra  <amodra@gmail.com>
14055
14056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14057         HIWORD/LOWORD.
14058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14060
14061 2013-10-04  Alan Modra  <amodra@gmail.com>
14062
14063         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14064         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14065         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14066         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14067         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14068         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14069         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14070         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14071         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14072         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14073
14074 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14075             Alistair Popple <alistair@ozlabs.au.ibm.com>
14076             Alan Modra <amodra@gmail.com>
14077
14078         [BZ #15723]
14079         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14080         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14081         _dl_hwcap access for little-endian.
14082         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14083         destroy vmx regs when saving unaligned.
14084         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14085         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14086         destroy vmx regs when saving unaligned.
14087
14088 2013-10-04  Alan Modra  <amodra@gmail.com>
14089
14090         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14091         Don't use a union to pack hi/low value.
14092
14093 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14094
14095         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14096         for little-endian.
14097         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14098         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14099         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14100         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14101         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14102
14103 2013-10-04  Alan Modra  <amodra@gmail.com>
14104
14105         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14106         constants to usual value for .cst8 section, and remove redundant
14107         high address load.
14108         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14109         constant for 0x1p52.  Load little-endian words of double from
14110         correct stack offsets.
14111
14112 2013-10-04  Alan Modra  <amodra@gmail.com>
14113
14114         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14115         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14116         words of double from correct stack offsets.
14117         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14118         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14119         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14120         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14121         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14122         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14123         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14124         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14125         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14126         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14127         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14128         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14129         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14130         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14131         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14132         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14133         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14134
14135 2013-10-04  Alan Modra  <amodra@gmail.com>
14136
14137         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14138         64-bit int/double union.
14139         (_FPU_SETCW): Likewise.
14140         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14141         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14142
14143 2013-10-04  Alan Modra  <amodra@gmail.com>
14144
14145         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14146         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14147
14148 2013-10-04  Alan Modra  <amodra@gmail.com>
14149
14150         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14151         use vector int constants.
14152         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14153
14154 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14155
14156         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14157         array with long long.
14158         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14159         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14160         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14161         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14162         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14163         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14164         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14165         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14166         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14167         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14168         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14169         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14170         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14171
14172 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14173
14174         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14175         (__signbit): Likewise.  Correct for little-endian.
14176         (__signbitl): Call __signbit.
14177         (lrint): Correct for little-endian.
14178         (lrintf): Call lrint.
14179
14180 2013-10-04  Alan Modra  <amodra@gmail.com>
14181
14182         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14183         union 32-bit int array member with 64-bit int array.
14184         (t515, tm256): Double rather than long double.
14185         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14186
14187 2013-10-04  Alan Modra  <amodra@gmail.com>
14188
14189         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14190         Delete.
14191         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14192         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14193         version of math_ldbl.h.
14194
14195 2013-10-04  Alan Modra  <amodra@gmail.com>
14196
14197         [BZ #15734], [BZ #15735]
14198         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14199         all uses of ieee875 long double macros and unions.  Simplify test
14200         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
14201         ldbl_extract_mantissa value for ix,iy exponents.  Properly
14202         normalize after ldbl_extract_mantissa, and don't add hidden bit
14203         already handled.  Don't treat low word of ieee854 mantissa like
14204         low word of IBM long double and mask off bit when testing for
14205         zero.
14206         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14207         all uses of ieee875 long double macros and unions.  Simplify tests
14208         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
14209         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
14210         two1022, instead use their values.  Recognise that tests for large
14211         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
14212         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14213         Rewrite all uses of ieee875 long double macros and unions.  Simplify
14214         test for 0.0L and nan.  Correct negation.
14215         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14216         ieee875 long double macros and unions.  Correct output for large
14217         magnitude x.  Correct absolute value calculation.
14218         (__erfcl): Likewise.
14219         * math/libm-test.inc: Add tests for errors discovered in IBM long
14220         double versions of fmodl, remainderl, erfl and erfcl.
14221
14222 2013-10-04  Alan Modra  <amodra@gmail.com>
14223
14224         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14225         all uses of ieee854 long double macros and unions.  Simplify tests
14226         for long doubles that are fully specified by the high double.
14227         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14228         Likewise.
14229         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14230         Remove dead code too.
14231         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14232         (__ieee754_ynl): Likewise.
14233         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14234         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14235         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14236         Remove dead code too.
14237         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14238         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14239         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14240         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14241         Simplify.
14242         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14243         Simplify.
14244         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14245         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14246         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14247         Comment on variable precision.
14248         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14249         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14250         Likewise.
14251         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14252         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14253         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14254         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14255         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14256
14257 2013-10-04  Alan Modra  <amodra@gmail.com>
14258
14259         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14260         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14261         all uses of ieee854 long double macros and unions.
14262         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14263         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14264         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14265         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14266         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14267         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14268         Likewise.
14269         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14270         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14271         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14272         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14273         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14274         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14275         Simplify sign and nan test too.
14276         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14277         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14278         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14279         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14280         Likewise.
14281         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14282         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14283         Likewise.
14284         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14285         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14286         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14287         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14288         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14289         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14290
14291 2013-10-04  Alan Modra  <amodra@gmail.com>
14292
14293         * stdio-common/printf_size.c (__printf_size): Don't use
14294         union ieee854_long_double in fpnum union.
14295         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
14296         signbit macro to retrieve sign from long double.
14297         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14298         retrieve sign from long double.
14299         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14300         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14301         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14302         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14303         * math/test-misc.c (main): Don't use union ieee854_long_double.
14304
14305 2013-10-04  Alan Modra  <amodra@gmail.com>
14306
14307         [BZ #15680]
14308         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14309         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14310         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14311         calculation.  Remove unnecessary test for denormal exponent.
14312         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14313         Correct handling of denormals.  Avoid undefined shift behaviour.
14314         Correct normalisation of low mantissa when low double is denormal.
14315         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14316         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
14317         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14318         Correct normalisation of low mantissa.  Test for overflow of high
14319         mantissa and normalise.
14320         (ldbl_nearbyint): Use more readable constant for two52.
14321         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14322         (__mpn_construct_long_double): Fix test for overflow of high
14323         mantissa and correct normalisation.  Avoid undefined shift.
14324
14325 2013-10-04  Alan Modra  <amodra@gmail.com>
14326
14327         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14328         (union ibm_extended_long_double): Define as an array of ieee754_double.
14329         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14330         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14331         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14332         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14333         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14334         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14335         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14336         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14337         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14338         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14339         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14340
14341 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
14342
14343         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14344         page size instead of calling getpagesize.
14345
14346         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14347         (LOCFILE_ALIGN_MASK): Likewise.
14348         (LOCFILE_ALIGN_UP): Likewise.
14349         (LOCFILE_ALIGNED_P): Likewise.
14350         * locale/programs/ld-collate.c (collate_output): Use the new
14351         macros instead of __alignof__ (int32_t).
14352         * locale/weight.h (findidx): Likewise.
14353
14354 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
14355
14356         [BZ #431]
14357         * manual/string.texi: Fix strncat and wcsncat.
14358
14359 2013-10-03  Brooks Moses  <bmoses@google.com>
14360
14361         [BZ #15915]
14362         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14363         * Makerules: ...here, and adjust associated comments.
14364
14365 2013-10-02  Will Newton  <will.newton@linaro.org>
14366
14367         * malloc/Makefile: Add tst-pvalloc.
14368         * malloc/tst-pvalloc.c: New file.
14369
14370 2013-10-02  Will Newton  <will.newton@linaro.org>
14371
14372         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14373         improve test coverage.
14374
14375 2013-10-02  Will Newton  <will.newton@linaro.org>
14376
14377         * malloc/Makefile: Add tst-posix_memalign.
14378         * malloc/tst-posix_memalign.c: New file.
14379
14380 2013-10-01  Eric Blake  <eblake@redhat.com>
14381
14382         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14383         Use __THROWNL rather than __THROW on static functions.
14384
14385 2013-09-30  Petr Machata  <pmachata@redhat.com>
14386
14387         * elf/elf.h (R_AARCH64_ABS16): New macro.
14388         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14389         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14390         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14391         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14392         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14393         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14394         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14395         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14396         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14397         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14398         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14399         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14400         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14401         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14402         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14403         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14404         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14405         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14406         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14407         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14408         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14409         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14410         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14411         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14412         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14413         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14414         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14415         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14416         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14417         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14418         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14419         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14420         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14421         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14422         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14423         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14424         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14425         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14426         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14427         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14428         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14429         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14430         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14431         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14432         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14433         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14434         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14435         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14436         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14437         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14438         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14439         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14440         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14441         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14442         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14443         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14444         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14445         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14446         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14447         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14448         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14449         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14450         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14451         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14452         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14453         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14454         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14455         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14456         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14457         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14458         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14459         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14460         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14461         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14462         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14463         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14464         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14465         (R_AARCH64_TLSDESC_LDR): Likewise.
14466         (R_AARCH64_TLSDESC_ADD): Likewise.
14467         (R_AARCH64_TLSDESC_CALL): Likewise.
14468
14469 2013-09-30  Andreas Schwab  <schwab@suse.de>
14470
14471         [BZ #15048]
14472         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14473         the nss database lookup.
14474         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14475         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14476
14477 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
14478
14479         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14480
14481 2013-09-28  P. J. McDermott  <pj@pehjota.net>
14482
14483         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14484         ${Bash-specific parameter/pattern/string} parameter expansion.
14485         * sysdeps/unix/make-syscalls.sh: Likewise.
14486
14487 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14488
14489         * sysdeps/sh/stackguard-macros.h: New file.
14490
14491 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
14492
14493         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14494         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14495         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14496         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14497         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14498         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14499
14500 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14501
14502         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14503         Fix thread ID register.
14504
14505 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
14506
14507         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14508         [POSIX || UNIX98]: Require rather than permitting all symbols from
14509         <time.h>.
14510         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14511         element of struct sched_param.
14512         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14513         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14514         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14515         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14516         constant.
14517
14518 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
14519
14520         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14521         argument calculation.
14522
14523 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14524
14525         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14526         Expect macro.
14527         [POSIX] (pthread_attr_t): Do not require type.
14528         [POSIX] (pthread_cond_t): Likewise.
14529         [POSIX] (pthread_condattr_t): Likewise.
14530         [POSIX] (pthread_key_t): Likewise.
14531         [POSIX] (pthread_mutex_t): Likewise.
14532         [POSIX] (pthread_mutexattr_t): Likewise.
14533         [POSIX] (pthread_once_t): Likewise.
14534         [POSIX] (pthread_t): Likewise.
14535         [POSIX-based standards] (pthread_atfork): Expect function.
14536
14537 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14538             Richard Sandiford  <richard@codesourcery.com>
14539
14540         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14541         (swap_endianness_p): New extern variable.
14542         (set_big_endian): New inline function.
14543         (maybe_swap_uint32): Likewise.
14544         (maybe_swap_uint32_array): Likewise.
14545         (maybe_swap_uint32_obstack): Likewise.
14546         * locale/programs/locfile.c: Include <stdbool.h>.
14547         (swap_endianness_p): New variable.
14548         (add_locale_uint32): Call maybe_swap_uint32.
14549         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14550         (write_locale_data): Call maybe_swap_uint32_array.
14551         * locale/programs/ld-collate.c (obstack_int32_grow): Call
14552         maybe_swap_uint32.
14553         (obstack_int32_grow_fast): Likewise.
14554         (output_weightwc): Call maybe_swap_uint32_obstack.
14555         (collate_output): Likewise.
14556         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14557         (OPT_LITTLE_ENDIAN): Likewise.
14558         (options): Add --little-endian and --big-endian options.
14559         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14560         * locale/programs/locarchive.c: Include "locfile.h".
14561         (GET): New macro.
14562         (SET): Likewise.
14563         (INC): Likewise.
14564         (create_archive): Use the new macros to access fields of
14565         structures directly mapped from or written to locale archives.
14566         (oldlocrecentcmp): Likewise.
14567         (enlarge_archive): Likewise.
14568         (insert_name): Likewise.
14569         (add_alias): Likewise.
14570         (add_locale): Likewise.
14571         (delete_locales_from_archive): Likewise.
14572         (show_archive_content): Likewise.
14573         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
14574         locale data.
14575
14576 2013-09-24  Roland McGrath  <roland@hack.frob.com>
14577
14578         * manual/freemanuals.texi: Updated from (newly) canonical copy at
14579         http://www.gnu.org/doc/freemanuals.texi.
14580         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14581
14582 2013-09-24  Will Newton  <will.newton@linaro.org>
14583
14584         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14585         macro.
14586
14587 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
14588
14589         * locale/hashval.h (compute_hashval): Interpret bytes of key as
14590         unsigned char.
14591
14592 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
14593
14594         * manual/threads.texi (POSIX Threads): Fix a typo.
14595
14596 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14597
14598         [BZ #14547]
14599         * string/tst-strcoll-overflow.c: New test case.
14600         * string/Makefile (xtests): Add tst-strcoll-overflow.
14601         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14602         cache if string sizes may cause integer overflow.
14603
14604         [BZ #14547]
14605         * string/strcoll_l.c (coll_seq): New members rule, idx,
14606         save_idx and back_us.
14607         (get_next_seq_nocache): New function.
14608         (do_compare_nocache): New function.
14609         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14610         when malloc fails.
14611
14612 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
14613
14614         [BZ #15754]
14615         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14616         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14617         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14618
14619         [BZ #15754]
14620         * elf/Makefile (tests): Add tst-ptrguard1.
14621         (tests-static): Add tst-ptrguard1-static.
14622         (tst-ptrguard1-ARGS): Define.
14623         (tst-ptrguard1-static-ARGS): Define.
14624         * elf/tst-ptrguard1.c: New file.
14625         * elf/tst-ptrguard1-static.c: New file.
14626         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14627         * sysdeps/i386/stackguard-macros.h: Likewise.
14628         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14629         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14630         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14631         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14632         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14633         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14634
14635 2013-09-23  Hector Marco  <hecmargi@upv.es>
14636             Ismael Ripoll  <iripoll@disca.upv.es>
14637             Carlos O'Donell  <carlos@redhat.com>
14638
14639         [BZ #15754]
14640         * sysdeps/generic/stackguard-macros.h: Define
14641         __pointer_chk_guard_local and POINTER_CHK_GUARD.
14642         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14643         Define __pointer_chk_guard_local.
14644         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14645         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14646
14647 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
14648
14649         [BZ #15859]
14650         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14651
14652 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
14653
14654         * include/string.h (__ffs): Declare as hidden.
14655         * string/ffs.c (__ffs): Define as hidden.
14656         * sysdeps/i386/ffs.c (__ffs): Likewise.
14657         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14658         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14659         * sysdeps/s390/ffs.c (__ffs): Likewise.
14660         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14661
14662 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
14663
14664         * NEWS: Mention malloc probes.
14665
14666         * malloc/arena.c (new_heap): New memory_heap_new probe.
14667         (grow_heap): New memory_heap_more probe.
14668         (shrink_heap): New memory_heap_less probe.
14669         (heap_trim): New memory_heap_free probe.
14670         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14671         (systrim): New memory_sbrk_less probe.
14672         * manual/probes.texi: Document them.
14673
14674         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14675         * manual/probes.texi: Document it.
14676
14677         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14678         (__libc_realloc): Add memory_realloc_retry probe.
14679         (__libc_memalign): Add memory_memalign_retry probe.
14680         (__libc_valloc): Add memory_valloc_retry probe.
14681         (__libc_pvalloc): Add memory_pvalloc_retry probe.
14682         (__libc_calloc): Add memory_calloc_retry probe.
14683         * manual/probes.texi: Document them.
14684
14685         * malloc/arena.c (get_free_list): Add probe
14686         memory_arena_reuse_free_list.
14687         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14688         and memory_arena_reuse.
14689         (arena_get2) [!PER_THREAD]: Likewise.
14690         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14691         memory_arena_reuse_realloc.
14692         * manual/probes.texi: Document them.
14693
14694         * malloc/malloc.c (__libc_free): Add
14695         memory_mallopt_free_dyn_thresholds probe.
14696         (__libc_mallopt): Add multiple memory_mallopt probes.
14697         * manual/probes.texi: Document them.
14698
14699         * malloc/malloc.c: Include stap-probe.h.
14700         (__libc_mallopt): Add memory_mallopt probe.
14701         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14702         * manual/probes.texi: New.
14703         * manual/Makefile (chapters): Add probes.
14704         * manual/threads.texi: Set next node.
14705
14706 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
14707
14708         [BZ #15963, #13985]
14709         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14710         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14711         Add `Chinese' to `nan' entry name.
14712
14713 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14714
14715         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14716         (POLYNOMIAL): Likewise.
14717         (TAYLOR_SINCOS): Likewise.
14718         (TAYLOR_SLOW): Likewise.
14719         (__sin): Use TAYLOR_SINCOS.
14720         (__cos): Likewise.
14721         (slow): Use TAYLOR_SLOW.
14722         (sloww): Likewise.
14723         (bsloww): Likewise.
14724         (csloww): Likewise.
14725
14726 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14727
14728         * stdlib/strtod_l.c: Fix buffer overrun.
14729
14730 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14731
14732         * benchtests/Makefile (bench): Add sincos.
14733         * benchtests/bench-sincos.c: New file.
14734
14735         * math/libm-test.inc (cos_test_data): New test inputs.
14736         (sin_test_data): Likewise.
14737
14738         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14739         macro.
14740         (__sin): Use it.
14741         (__cos): Likewise.
14742         (slow1): Likewise.
14743         (slow2): Likewise.
14744         (sloww1): Likewise.
14745         (sloww2): Likewise.
14746         (bsloww1): Likewise.
14747         (bsloww2): Likewise.
14748         (cslow2): Likewise.
14749         (csloww1): Likewise.
14750         (csloww2): Likewise.
14751
14752         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14753         function.
14754         (__sin): Use it.
14755         (__cos): Likewise.
14756
14757         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14758         gotos.
14759         (__cos): Likewise.
14760
14761 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
14762
14763         * config.h.in (HAVE_MIPS_NAN2008): New macro.
14764         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14765         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14766         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14767         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14768         * elf/cache.c (print_entry): Handle the new cache flags.
14769
14770 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14771             Aldy Hernandez  <aldyh@redhat.com>
14772
14773         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14774         Change condition to [_SOFT_FLOAT].
14775         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14776         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14784         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14785         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14786         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14787         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14788         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14789         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14790         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14791         declaration.
14792
14793 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14794
14795         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14796         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14797         (__longjmp): Use LOAD_GP to load saved GPRs.
14798         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14799         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14800         (__sigsetjmp): Use SAVE_GP to save GPRs.
14801
14802         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14803         Do not append -msoft-float.
14804         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14805
14806 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14807
14808         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14809
14810 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
14811
14812         [BZ #15966]
14813         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14814         (_FPU_GETCW): Use initial "__" on variable and field names but not
14815         on macro parameter name.
14816         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
14817         parentheses around reference to macro parameter.
14818
14819 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
14820
14821         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14822         prototype.
14823         (ctype_startup): Use uint32_t in cast and sizeof for
14824         ctype->charnames.
14825
14826 2013-09-11  Jia Liu  <proljc@gmail.com>
14827
14828         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14829         __daddr_t_defined.
14830         [__FreeBSD__]: Likewise.
14831
14832 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
14833
14834         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14835         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14836         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14837         (strchr): Remove __strchr_sse42 ifunc selection.
14838         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14839         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14840
14841 2013-09-11  Will Newton  <will.newton@linaro.org>
14842
14843         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14844         parameter to RES. Remove hardcoded 1000 value.
14845         * benchtests/bench-skeleton.c (main): Pass RES parameter
14846         to TIMING_INIT and multiply result by 1000.
14847
14848 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14849
14850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14851
14852 2013-09-11  Andreas Schwab  <schwab@suse.de>
14853
14854         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14855         if not defined.
14856         (O_TMPFILE) [__USE_GNU]: Define.
14857         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14858         Define.
14859
14860 2013-09-11  Will Newton  <will.newton@linaro.org>
14861
14862         [BZ #15857]
14863         * malloc/malloc.c (__libc_memalign): Check the value of bytes
14864         does not overflow.
14865
14866 2013-09-11  Will Newton  <will.newton@linaro.org>
14867
14868         [BZ #15856]
14869         * malloc/malloc.c (__libc_valloc): Check the value of bytes
14870         does not overflow.
14871
14872 2013-09-11  Will Newton  <will.newton@linaro.org>
14873
14874         [BZ #15855]
14875         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14876         does not overflow.
14877
14878 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
14879
14880         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14881         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14882         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14883         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14884         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14885
14886 2013-09-10  Allan McRae  <allan@archlinux.org>
14887
14888         [BZ #15748]
14889         * manual/arith.texi (Parsing of Floats): Clarify
14890         cross-reference.
14891
14892         [BZ #15849]
14893         * manual/install.texi (Running make install): Mention
14894         --enable-pt-chown.
14895         * INSTALL: Regenerated.
14896
14897 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
14898
14899         * csu/init-first.c (_init): Remove the !SHARED condition around
14900         FPU control word initialization.
14901         * elf/dl-support.c (_dl_fpu_control): New variable.
14902         (_dl_aux_init) <AT_FPUCW>: Initialize it.
14903         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14904         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14905         * math/test-fpucw-static.c: New file.
14906         * math/test-fpucw-ieee.c: New file.
14907         * math/test-fpucw-ieee-static.c: New file.
14908         * math/Makefile (tests): Add `test-fpucw-ieee' and
14909         `$(tests-static)'.
14910         (tests-static): New variable.
14911         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14912         dependency to...
14913         [($(build-shared),yes)]
14914         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14915         ... this.
14916         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14917         New dependency.
14918
14919 2013-09-09  Allan McRae  <allan@archlinux.org>
14920
14921         [BZ #15939]
14922         * manual/string.texi (Collation Functions): Fix typo in
14923         strcoll example.
14924         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14925
14926         [BZ #15893]
14927         * stdlib/isomac.c (get_null_defines): Fix memory leak.
14928
14929         [BZ #15892]
14930         * libio/memstream.c (open_memstream): Fix memory leak.
14931         * libio/wmemstream.c (open_wmemstream): Likewise.
14932
14933         [BZ #15895]
14934         * nscd/netgroupcache.c: Fix nesting of ifdefs.
14935
14936 2013-09-09  Will Newton  <will.newton@linaro.org>
14937
14938         * malloc/Makefile: Add tst-realloc to tests.
14939         * malloc/tst-realloc.c: New file.
14940
14941 2013-09-09  Allan McRae  <allan@archlinux.org>
14942
14943         [BZ #15844]
14944         * COPYING: Update from GNU website to fix FSF address.
14945         * COPYING.LIB: Likewise.
14946
14947 2013-09-06  David S. Miller  <davem@davemloft.net>
14948
14949         * po/zh_TW.po: Update Chinese (traditional) translation from
14950         translation project.
14951
14952 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
14953             Joseph Myers  <joseph@codesourcery.com>
14954
14955         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14956         "localeinfo.h".
14957         (obstack_chunk_alloc): New macro.
14958         (obstack_chunk_free): Likewise.
14959         (record_offset): New function.
14960         (init_locale_data): Likewise.
14961         (align_locale_data): Likewise.
14962         (add_locale_empty): Likewise.
14963         (add_locale_raw_data): Likewise.
14964         (add_locale_raw_obstack): Likewise.
14965         (add_locale_string): Likewise.
14966         (add_locale_wstring): Likewise.
14967         (add_locale_uint32): Likewise.
14968         (add_locale_uint32_array): Likewise.
14969         (add_locale_char): Likewise.
14970         (start_locale_structure): Likewise.
14971         (end_locale_structure): Likewise.
14972         (start_locale_prelude): Likewise.
14973         (end_locale_prelude): Likewise.
14974         (write_locale_data): Take locale_file structure rather than an
14975         iovec.
14976         * locale/programs/locfile.h: Include "obstack.h".
14977         (struct locale_file): Change to store locale file contents instead
14978         of header.
14979         (init_locale_data): New prototype.
14980         (align_locale_data): Likewise.
14981         (add_locale_empty): Likewise.
14982         (add_locale_raw_data): Likewise.
14983         (add_locale_raw_obstack): Likewise.
14984         (add_locale_string): Likewise.
14985         (add_locale_wstring): Likewise.
14986         (add_locale_uint32): Likewise.
14987         (add_locale_uint32_array): Likewise.
14988         (add_locale_char): Likewise.
14989         (start_locale_structure): Likewise.
14990         (end_locale_structure): Likewise.
14991         (start_locale_prelude): Likewise.
14992         (end_locale_prelude): Likewise.
14993         (write_locale_data): Update prototype.
14994         * locale/programs/3level.h (struct TABLE): Remove result field.
14995         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14996         Use new locale_file interface.
14997         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14998         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14999         * locale/programs/ld-address.c (address_output): Use new
15000         locale_file interface.
15001         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15002         NO_ADD_LOCALE.
15003         (collate_finish): Don't call collseq_table_finalize.
15004         (collate_output): Use new locale_file interface.
15005         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15006         in file.
15007         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15008         (TABLE): Move defines earlier in file.
15009         (ELEMENT): Likewise.
15010         (DEFAULT): Likewise.
15011         (wctrans_table_add): Move macro and inline function earlier in
15012         file.
15013         (struct wctype_table): Move type earlier in file.
15014         (add_locale_wctype_table): New static prototype.
15015         (struct locale_ctype_t): Use logical types instead of struct iovec
15016         pointers for members.
15017         (ctype_output): Use new locale_file interface.
15018         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15019         new locale_file interface.
15020         (allocate_arrays): Update for use of new locale_file interface.
15021         * locale/programs/ld-identification.c (identification_output): Use
15022         new locale_file interface.
15023         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15024         * locale/programs/ld-messages.c (messages_output): Likewise.
15025         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15026         * locale/programs/ld-name.c (name_output): Likewise.
15027         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15028         * locale/programs/ld-paper.c (paper_output): Likewise.
15029         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15030         * locale/programs/ld-time.c (time_output): Likewise.
15031
15032 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15033
15034         * benchtests/Makefile: Add memrchr benchmark.
15035         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15036         benchmark as memrchr.
15037         * benchtests/bench-memrchr-ifunc.c: New file.
15038         * benchtests/bench-memrchr.c: New file.
15039
15040 2013-09-06   Will Newton  <will.newton@linaro.org>
15041
15042         * benchtests/Makefile (string-bench): Add memcpy.
15043
15044 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15045             Cong Wang  <amwang@redhat.com>
15046
15047         [BZ #15850]
15048         * sysdeps/unix/sysv/linux/bits/in.h
15049         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15050         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15051         before __USE_KERNEL_IPV6_DEFS uses.
15052         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15053         IPPROTO_BEETPH.
15054         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15055         sockaddr_in6, or ipv6_mreq.
15056
15057 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15058
15059         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15060         memory access for final bytes in some large inputs.
15061         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15062
15063 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15064
15065         * string/test-memrchr.c: New file.
15066         * string/test-memrchr-ifunc.c: New file.
15067         * string/Makefile: Add new memrchr testcase.
15068
15069 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15070
15071         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15072         fanotify_init returns EPERM.
15073
15074 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15075
15076         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15077         errors.
15078         (top level): Treat second token from macro or constant entries for
15079         allowed headers as allowed.
15080         * include/complex.h: Condition internal declarations on
15081         [!_ISOMAC].
15082         * include/fenv.h: Condition include of <stdbool.h> and internal
15083         declarations on [!_ISOMAC].
15084
15085 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15086
15087         [BZ #15923]
15088         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15089
15090 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15091
15092         * configure.in (--enable-versioning): Remove configure option.
15093         (libc_cv_asm_symver_directive): Remove configure test.
15094         (libc_cv_ld_version_script_option): Likewise.
15095         (VERSIONING): Remove variable and AC_SUBST.
15096         (DO_VERSIONING): Remove AC_DEFINE.
15097         * configure: Regenerated.
15098         * config.h.in (DO_VERSIONING): Remove macro.
15099         * Makerules [$(versioning) = yes]: Change conditionals to
15100         [$(build-shared) = yes].
15101         * config.make.in (versioning): Remove variable.
15102         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15103         [$(build-shared) = yes].
15104         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15105         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15106         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15107         [$(build-shared) = yes].
15108         * extra-lib.mk [$(versioning) = yes]: Likewise.
15109         * hurd/Makefile [$(versioning) = yes]: Likewise.
15110         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15111         [SHARED].
15112         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15113         [SHARED].
15114         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15115         [SHARED && !NO_HIDDEN].
15116         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15117         [SHARED].
15118         [SHARED && DO_VERSIONING]: Likewise..
15119         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15120         [$(build-shared) = yes].
15121         * manual/install.texi (--disable-versioning): Remove
15122         documentation.
15123         * INSTALL: Regenerated.
15124         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15125         to [SHARED].
15126         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15127         [$(build-shared) = yes].
15128         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15129         * sysdeps/i386/i686/multiarch/strstr-c.c
15130         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15131         [SHARED && !NO_HIDDEN].
15132         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15133         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15134         * sysdeps/powerpc/powerpc32/dl-machine.c
15135         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15136         * sysdeps/powerpc/powerpc32/sysdep.h
15137         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15138         to [SHARED && PIC && !NO_HIDDEN].
15139         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15140         conditional to [SHARED].
15141
15142 2013-09-04   Will Newton  <will.newton@linaro.org>
15143
15144         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15145         * benchtests/bench-string.h: Include bench-timing.h instead
15146         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15147         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15148         call to HP_TIMING_DIFF_INIT.
15149         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15150         instead of hp-timing.h macros.
15151         * benchtests/bench-memchr.c: Likewise.
15152         * benchtests/bench-memcmp.c: Likewise.
15153         * benchtests/bench-memcpy.c: Likewise.
15154         * benchtests/bench-memmem.c: Likewise.
15155         * benchtests/bench-memmove.c: Likewise.
15156         * benchtests/bench-memset.c: Likewise.
15157         * benchtests/bench-rawmemchr.c: Likewise.
15158         * benchtests/bench-strcasecmp.c: Likewise.
15159         * benchtests/bench-strcasestr.c: Likewise.
15160         * benchtests/bench-strcat.c: Likewise.
15161         * benchtests/bench-strchr.c: Likewise.
15162         * benchtests/bench-strcmp.c: Likewise.
15163         * benchtests/bench-strcpy.c: Likewise.
15164         * benchtests/bench-strcpy_chk.c: Likewise.
15165         * benchtests/bench-strlen.c: Likewise.
15166         * benchtests/bench-strncasecmp.c: Likewise.
15167         * benchtests/bench-strncat.c: Likewise.
15168         * benchtests/bench-strncmp.c: Likewise.
15169         * benchtests/bench-strncpy.c: Likewise.
15170         * benchtests/bench-strnlen.c: Likewise.
15171         * benchtests/bench-strpbrk.c: Likewise.
15172         * benchtests/bench-strrchr.c: Likewise.
15173         * benchtests/bench-strspn.c: Likewise.
15174         * benchtests/bench-strstr.c: Likewise.
15175
15176 2013-09-04  Will Newton  <will.newton@linaro.org>
15177
15178         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15179
15180 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15181
15182         [BZ #15427]
15183         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15184         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15185         * math/libm-test.inc (lgamma_test_data): Add more tests.
15186         * sysdeps/i386/fpu/libm-test-ulps: Update.
15187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15188
15189 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15190
15191         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15192         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15193         Add ifunc.
15194         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15195         Add strcmp-sse2-unaligned
15196         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15197
15198 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15199
15200         * Versions.def (libc): Add GLIBC_2.19.
15201
15202 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15203
15204         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15205         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15206
15207 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
15208
15209         [BZ #14155]
15210         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15211         intermediate calculations in recurrence.
15212         (__ieee754_ynf): Likewise.
15213         * math/libm-test.inc (jn_test_data): Do not allow spurious
15214         underflow exception.  Add more tests.
15215         (yn_test_data): Add more tests.
15216         * sysdeps/i386/fpu/libm-test-ulps: Update.
15217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15218
15219 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
15220
15221         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15222
15223 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15224
15225         * csu/init-first.c: Fix then/than typos.
15226         * locale/programs/ld-collate.c: Likewise.
15227         * locale/programs/linereader.h: Likewise.
15228         * manual/charset.texi: Likewise.
15229         * manual/filesys.texi: Likewise.
15230         * manual/stdio.texi: Likewise.
15231         * manual/string.texi: Likewise.
15232         * stdlib/fmtmsg.c: Likewise.
15233         * sysdeps/i386/stpncpy.S: Likewise.
15234         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15235         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15236         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15237         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15238
15239 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15240
15241         * elf/dl-open.c: Fix typos.
15242         * iconvdata/gbbig5.c: Likewise.
15243         * iconvdata/iso-2022-jp.c: Likewise.
15244         * iconv/gconv_int.h: Likewise.
15245         * iconv/loop.c: Likewise.
15246         * nis/rpcsvc/nis.h: Likewise.
15247         * resolv/ns_name.c: Likewise.
15248         * stdio-common/vfscanf.c: Likewise.
15249         * streams/stropts.h: Likewise.
15250         * sunrpc/rpc_thread.c: Likewise.
15251         * sysdeps/i386/strpbrk.S: Likewise.
15252         * sysdeps/ieee754/k_standard.c: Likewise.
15253         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15254         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15255         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15256         * sysdeps/mach/hurd/profil.c: Likewise.
15257         * sysdeps/s390/dl-procinfo.h: Likewise.
15258         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15259         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15260         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15261         * sysdeps/x86_64/dl-trampoline.S: Likewise.
15262         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15263
15264 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
15265
15266         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15267         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15268
15269 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
15270
15271         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15272         aix specific files.
15273         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15274         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15275         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15276         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15277         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15278         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15279         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15280         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15281
15282 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15283             Roland McGrath  <roland@hack.frob.com>
15284
15285         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15286         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15287
15288 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15289
15290         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15291         __executable_start symbol instead of _start.
15292
15293 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15294
15295         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15296         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15297         Move macros to...
15298         * sysdeps/gnu/ldsodefs.h: ... this new file.
15299
15300         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15301         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15302         instead of ELFOSABI_LINUX.
15303
15304         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15305         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15306         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15307         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15308         Likewise.
15309         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15310         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15311         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15312         Likewise.
15313         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15314         (ibm_extended_long_double): Add ieee_nan member.
15315         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15316         (do_test): New function.
15317
15318         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15319         TEST_TRUNC.
15320         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15321         functions, renamed from truncdfsf_test, trunctfsf_test,
15322         trunctfdf_test.
15323         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15324         functions.
15325         (do_test): Run all these.
15326
15327 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
15328
15329         * argp/argp-help.c: Fix typos.
15330         * argp/argp-parse.c: Likewise.
15331         * debug/backtracesyms.c: Likewise.
15332         * elf/elf.h: Likewise.
15333         * malloc/malloc.c: Likewise.
15334         * nis/nis_print.c: Likewise.
15335         * resolv/res_comp.c: Likewise.
15336         * stdlib/stdlib.h: Likewise.
15337         * sunrpc/clnt_tcp.c: Likewise.
15338         * sunrpc/clnt_udp.c: Likewise.
15339         * sunrpc/clnt_unix.c: Likewise.
15340         * sysdeps/unix/bsd/ptsname.c: Likewise.
15341         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15342         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15344         Likewise.
15345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15346         Likewise.
15347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15348         Likewise.
15349         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15350
15351 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15352
15353         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15354         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15355
15356 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
15357
15358         [BZ #15897]
15359         * dlfcn/Makefile (tests): Add bug-dl-leaf.
15360         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15361         ($(objpfx)bug-dl-leaf): New rule.
15362         ($(objpfx)bug-dl-leaf.so): Likewise.
15363         ($(objpfx)bug-dl-leaf.out): Likewise.
15364         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15365         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15366         * dlfcn/bug-dl-leaf.c: New test.
15367         * dlfcn/bug-dl-leaf-lib.c: Likewise.
15368         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15369         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15370         (dlclose): Likewise.
15371         (dlmopen): Likewise.
15372
15373 2013-08-27  Roland McGrath  <roland@hack.frob.com>
15374
15375         * include/netdb.h [!_ISOMAC]:
15376         Don't include <tls.h>.
15377         (h_errno, __libc_h_errno): Move declaration and macros out of
15378         [_LIBC_REENTRANT].
15379
15380         * include/resolv.h [_RESOLV_H_]:
15381         Don't include <tls.h>.
15382         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15383         * resolv/res_libc.c: Don't include <tls.h>.
15384         (_res): Use __attribute__ ((nocommon)) in place of
15385         __attribute__ ((section (".bss"))).
15386
15387         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15388         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15389
15390         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15391
15392         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15393         only under [SIOCGIFCONF && SIOCGIFNETMASK].
15394
15395         * resolv/res_mkquery.c: Include <sys/time.h>.
15396
15397         * inet/ifreq.c: Moved to ...
15398         * sysdeps/unix/ifreq.c: ... here.
15399         * inet/ifreq.c: New file, true stub version.
15400
15401         * socket/sa_len.c: New file.
15402         * socket/Makefile (aux): Add it.
15403         * sysdeps/unix/sysv/linux/Makefile
15404         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15405         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15406         and #include <socket/sa_len.c>.
15407         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15408         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15409
15410         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15411         * bits/socket.h: ... here.
15412
15413         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15414         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15415         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15416
15417 2013-08-27  Andreas Schwab  <schwab@suse.de>
15418
15419         [BZ #15736]
15420         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15421         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15422         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15423         * string/test-strcasecmp.c (test_main): Run tests in several
15424         locales.
15425         * string/test-strncasecmp.c (test_main): Likewise.
15426
15427         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15428         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15429         to __strcasecmp_nonascii and __strncasecmp_nonascii.
15430         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15431         (__strncasecmp_ssse3) [PIC]: Likewise.
15432
15433 2013-08-26  Roland McGrath  <roland@hack.frob.com>
15434
15435         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15436
15437         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15438         instead of explicitly declaring xdecrypt.
15439         * nis/nss_nis/nis-publickey.c: Likewise.
15440
15441 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15442
15443         [BZ #15890]
15444         * nscd/aicache.c: Include res_hconf.h.
15445         (addhstaiX): Initialize res_hconf.
15446
15447 2013-08-26  Andreas Schwab  <schwab@suse.de>
15448
15449         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15450         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15451
15452 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15453
15454         * nscd/aicache.c (addhstaiX): Fix indentation.
15455
15456 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
15457
15458         * configure.ac: Quote $build_pt_chown test.
15459         * configure: Regenerated.
15460
15461 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
15462
15463         [BZ #15532]
15464         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15465         * math/s_cexpf.c (__cexpf): Likewise.
15466         * math/s_cexpl.c (__cexpl): Likewise.
15467         * math/libm-test.inc (cexp_test_data): Correct expected return
15468         value for NaN + i0.  Add another test.
15469
15470 2013-08-22  David S. Miller  <davem@davemloft.net>
15471
15472         * po/ca.po: Update Catalan translation from translation project.
15473         * po/uk.po: Add Ukrainian translations from translation project.
15474
15475 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
15476
15477         [BZ #15797]
15478         * math/s_fdim.c (__fdim): Check for infinite arguments if result
15479         is infinite, not alongside NaN test.
15480         * math/s_fdimf.c (__fdimf): Likewise.
15481         * math/s_fdiml.c (__fdiml): Likewise.
15482         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
15483         errno is unchanged.
15484
15485 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
15486
15487         * argp/argp-help.c: Fix typos.
15488         * crypt/speeds.c: Likewise.
15489         * csu/check_fds.c: Likewise.
15490         * elf/dl-load.c: Likewise.
15491         * elf/dl-open.c: Likewise.
15492         * elf/reldep3.c: Likewise.
15493         * elf/reldep.c: Likewise.
15494         * elf/sprof.c: Likewise.
15495         * iconv/iconv_charmap.c: Likewise.
15496         * iconv/skeleton.c: Likewise.
15497         * iconv/strtab.c: Likewise.
15498         * io/lockf64.c: Likewise.
15499         * libio/libioP.h: Likewise.
15500         * resolv/gai_notify.c: Likewise.
15501         * resolv/ns_name.c: Likewise.
15502         * resolv/ns_samedomain.c: Likewise.
15503         * resolv/res_send.c: Likewise.
15504         * stdlib/random.c: Likewise.
15505         * sunrpc/rpc/xdr.h: Likewise.
15506         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15507         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15508         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15509         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15510         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15511         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15512         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15513         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15514         * sysdeps/mach/hurd/check_fds.c: Likewise.
15515         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15516         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15517         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15518         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15519         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15520         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15521         * sysdeps/pthread/aio_notify.c: Likewise.
15522         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15523         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15524         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15525         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15526         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15527
15528 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15529
15530         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15531         version if bit_Slow_SSE4_2 is set.
15532         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15533         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15534
15535 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15536
15537         [BZ #15867]
15538         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15539         trampoline stack frame information.
15540         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15541         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15542         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15543         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15544         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15545         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15546         (_libc_vdso_platform_setup): Initialize the signal trampolines.
15547         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15548         sa_flags value.
15549         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15550         interrupting a syscall and set with option SA_SIGINFO.
15551
15552 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15553
15554         [BZ #15531]
15555         * math/s_cproj.c (__cproj): Only return an infinity if one part of
15556         argument is infinite.
15557         * math/s_cprojf.c (__cprojf): Likewise.
15558         * math/s_cprojl.c (__cprojl): Likewise.
15559         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15560         * math/libm-test.inc (cproj_test_data): Add more tests.
15561
15562         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15563
15564         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15565         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15566         size.  Use __ffs to determine corresponding shift.
15567
15568 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15569             Roland McGrath  <roland@hack.frob.com>
15570
15571         * Makefile (INSTALL): Remove trailing blank lines from output of
15572         makeinfo.
15573
15574 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15575
15576         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15577         Align 32 bit compat elf_greg to 8 bytes.
15578
15579 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15580
15581         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15582
15583 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15584
15585         * string/strcoll_l.c (coll_seq): New structure.
15586         (get_next_seq_cached): New function.
15587         (get_next_seq): New function.
15588         (do_compare): New function.
15589         (STRCOLL): Use GNU style definition.  Simplify implementation
15590         by using get_next_seq, get_next_seq_cached and do_compare.
15591
15592 2013-08-16  Florian Weimer  <fweimer@redhat.com>
15593
15594         [BZ #14699]
15595         CVE-2013-4237
15596         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15597         member.
15598         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15599         member.
15600         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15601         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15602         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
15603         conditional.
15604         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15605         GETDENTS_64BIT_ALIGNED.
15606         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15607         * manual/filesys.texi (Reading/Closing Directory): Document
15608         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
15609         strongly.
15610         * manual/conf.texi (Limits for Files): Add portability note to
15611         NAME_MAX, PATH_MAX.
15612         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15613
15614 2013-08-13  Andreas Schwab  <schwab@suse.de>
15615
15616         [BZ #15749]
15617         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15618         of fabs.
15619         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15620         LDBL_MAX_EXP >= 16384]: Add tests for it.
15621
15622 2013-08-12  David S. Miller  <davem@davemloft.net>
15623
15624         * version.h (RELEASE): Set to "development".
15625         (VERSION): Set to "2.18.90".
15626         * NEWS: Add 2.19 section.
15627
15628 2013-08-03  David S. Miller  <davem@davemloft.net>
15629
15630         * po/ko.po: Update Korean translation from translation project.
15631
15632 2013-08-01  David S. Miller  <davem@davemloft.net>
15633
15634         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
15635         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15636         Bilka.
15637
15638 2013-07-30  David S. Miller  <davem@davemloft.net>
15639
15640         * po/fr.po: Update French translation from translation project.
15641
15642 2013-07-28  David S. Miller  <davem@davemloft.net>
15643
15644         * po/cs.po: Update Czech translation from translation project.
15645
15646         * po/sv.po: Update Swedish translation from translation project.
15647
15648 2013-07-27  David S. Miller  <davem@davemloft.net>
15649
15650         * po/eo.po: Update Esperanto translation from translation project.
15651
15652         * po/vi.po: Update Vietnamese translation from translation project.
15653
15654         * po/de.po: Update German translation from translation project.
15655
15656 2013-07-26  David S. Miller  <davem@davemloft.net>
15657
15658         * po/bg.po: Update Bulgarian translation from translation project.
15659
15660         * po/nl.po: Update Dutch translation from translation project.
15661         * po/pl.po: Update Polish translation from translation project.
15662         * po/ru.po: Update Russian translation from translation project.
15663
15664 2013-07-24  David S. Miller  <davem@davemloft.net>
15665
15666         * po/libc.pot: Update.
15667
15668 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15669
15670         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15671         variable page size.
15672         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15673         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15674         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15675
15676 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15677
15678         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15679
15680 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15681             Andreas Schwab  <schwab@suse.de>
15682             Roland McGrath  <roland@hack.frob.com>
15683             Joseph Myers  <joseph@codesourcery.com>
15684             Carlos O'Donell  <carlos@redhat.com>
15685
15686         [BZ #15755]
15687         * config.h.in: Define HAVE_PT_CHOWN.
15688         * config.make.in (build-pt-chown): New variable.
15689         * configure.in (--enable-pt_chown): New configure option.
15690         * configure: Regenerate.
15691         * login/Makefile: Include Makeconfig.  Build pt_chown only if
15692         build-pt-chown is enabled.
15693         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15694         pt_chown to fix pty ownership.
15695         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15696         CLOSE_ALL_FDS.
15697         * manual/install.texi (Configuring and compiling): Mention
15698         --enable-pt_chown. Add @findex for grantpt.
15699         * INSTALL: Regenerate.
15700
15701 2013-07-20  David S. Miller  <davem@davemloft.net>
15702
15703         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15704         difference between 32-bit and 64-bit.
15705
15706 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
15707
15708         [BZ #15711]
15709         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15710         Avoid system header dependency with -ffreestanding.
15711         ($(objpfx)bits/syscall%d): Likewise.
15712
15713 2013-07-13  David S. Miller  <davem@davemloft.net>
15714
15715         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15716         underflows from atanl/atan2l due to bug 15319.
15717         (casinh_test_data): Likewise.
15718
15719 2013-07-07  David S. Miller  <davem@davemloft.net>
15720
15721         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15722
15723 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
15724
15725         * sysdeps/i386/fpu/libm-test-ulps: Update.
15726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15727
15728 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15729
15730         * configure.in (--enable-lock-elision): Fix message text.
15731         * INSTALL: Regenerate.
15732         * configure: Regenerate.
15733
15734 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15735
15736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15737
15738 2013-07-03  Andreas Jaeger  <aj@suse.de>
15739
15740         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15741         define.
15742         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15743         (ptrace_peeksiginfo_args): Add.
15744         (__ptrace_peeksiginfo_flags): Add.
15745         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15746         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15747         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15748
15749 2013-07-03  Allan McRae  <allan@archlinux.org>
15750
15751         * sysdeps/i386/fpu/libm-test-ulps: Update.
15752
15753 2013-07-02  David S. Miller  <davem@davemloft.net>
15754
15755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15756
15757 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
15758
15759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15760
15761 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15762
15763         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15765
15766 2013-07-02  Andi Kleen <ak@linux.intel.com>
15767
15768         * config.h.in (ENABLE_LOCK_ELISION): Add.
15769         * configure.in (--enable-lock-elision): Add option.
15770         * manual/install.texi: Document --enable lock elision.
15771         * configure: Regenerate
15772         * INSTALL: Regenerate.
15773
15774 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
15775
15776         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15777         SSE4.2 strcasecmp for libc.a.
15778         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15779
15780 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15781
15782         [BZ #13304]
15783         * soft-fp/op-common.h (_FP_FMA): New macro.
15784         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15785         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
15786         (_FP_MUL_MEAT_1_imm): ... here.
15787         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
15788         (_FP_MUL_MEAT_1_wide): ... here.
15789         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
15790         (_FP_MUL_MEAT_1_hard): ... here.
15791         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15792         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
15793         (_FP_MUL_MEAT_2_wide): ... here.
15794         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
15795         (_FP_MUL_MEAT_2_wide_3mul): ... here.
15796         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
15797         (_FP_MUL_MEAT_2_gmp): ... here.
15798         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15799         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
15800         (_FP_MUL_MEAT_4_wide): ... here.
15801         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
15802         (_FP_MUL_MEAT_4_gmp): ... here.
15803         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15804         (_FP_WFRACBITS_DW_S): Likewise.
15805         (_FP_WFRACXBITS_DW_S): Likewise.
15806         (_FP_HIGHBIT_DW_S): Likewise.
15807         (FP_FMA_S): Likewise.
15808         (_FP_FRAC_HIGH_DW_S): Likewise.
15809         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15810         (_FP_WFRACBITS_DW_D): Likewise.
15811         (_FP_WFRACXBITS_DW_D): Likewise.
15812         (_FP_HIGHBIT_DW_D): Likewise.
15813         (FP_FMA_D): Likewise.
15814         (_FP_FRAC_HIGH_DW_D): Likewise.
15815         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15816         (_FP_WFRACBITS_DW_E): Likewise.
15817         (_FP_WFRACXBITS_DW_E): Likewise.
15818         (_FP_HIGHBIT_DW_E): Likewise.
15819         (FP_FMA_E): Likewise.
15820         (_FP_FRAC_HIGH_DW_E): Likewise.
15821         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15822         (_FP_WFRACBITS_DW_Q): Likewise.
15823         (_FP_WFRACXBITS_DW_Q): Likewise.
15824         (_FP_HIGHBIT_DW_Q): Likewise.
15825         (FP_FMA_Q): Likewise.
15826         (_FP_FRAC_HIGH_DW_Q): Likewise.
15827         * soft-fp/fmasf4.c: New file.
15828         * soft-fp/fmadf4.c: Likewise.
15829         * soft-fp/fmatf4.c: Likewise.
15830
15831 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15832
15833         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15834         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15835         Silvermont.
15836         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15837         macro.
15838         (index_Slow_SSE4_2): Likewise.
15839         (index_Prefer_PMINUB_for_stringop): Likewise.
15840         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15841         bit_Slow_SSE4_2 is set.
15842         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15843         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15844
15845 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15846
15847         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15848         rtld_global._dl_hwcap2.
15849         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15850         POWER8.
15851         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15852         POWER8 feature descriptions defined in _dl_hwcap2.
15853         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15854         string handling for POWER8 feature bits.
15855         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15856         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15857         _dl_powerpc_cap_flags.
15858         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15859         * sysdeps/powerpc/rtld-global-offsets.sym
15860         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15861         _dl_hwcap2 in the rtld_global_ro structure.
15862
15863 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15864
15865         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15866         hardware capabilities in support of AT_HWCAP2.
15867         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15868         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15869         GLRO(dl_hwcap2).
15870         (_dl_show_auxv): Add support for calling _dl_procinfo to display
15871         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
15872         explicitly the unknown a_type display mechanism is used.
15873         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15874         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15875         struct member.
15876         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15877         to macro prototype for AT_HWCAP2 support.
15878         * sysdeps/i386/dl-procinfo.h: Likewise.
15879         * sysdeps/s390/dl-procinfo.h: Likewise.
15880         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15881         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
15882         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
15883         return -1 for unknown a_type display fallback.
15884         * sysdeps/sparc/dl-procinfo.h: Likewise.
15885         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15886         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15887
15888 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
15889
15890         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15891         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15892
15893 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
15894
15895         [BZ #12492]
15896         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15897         mprotect making __stack_prot writable.
15898
15899 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
15900             Joseph Myers  <joseph@codesourcery.com>
15901
15902         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15903         as being properly aligned.
15904
15905 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
15906
15907         * dlfcn/modstatic5.c: New file.
15908         * dlfcn/tststatic5.c: New file.
15909         * dlfcn/Makefile (tests): Add tststatic5.
15910         (tests-static): Likewise.
15911         (modules-names): Add modstatic5.
15912         (tststatic5-ENV): New variable.
15913         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15914
15915         [BZ #15022]
15916         * elf/dl-support.c (_dl_main_map): New variable.
15917         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15918         (_dl_nns, _dl_load_adds): Set to 1.
15919         (_dl_initial_searchlist): Refer to _dl_main_map.
15920         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15921         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15922         call to _dl_get_origin.
15923         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15924         around call_map.
15925         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15926         * dlfcn/modstatic3.c: New file.
15927         * dlfcn/tststatic3.c: New file.
15928         * dlfcn/tststatic4.c: New file.
15929         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15930         (tests-static): Likewise.
15931         (modules-names): Add modstatic3.
15932         (tststatic3-ENV, tststatic4-ENV): New variables.
15933         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15934         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15935
15936 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
15937
15938         * configure.in (CC): Require GCC version 4.4 or later.
15939         * configure: Regenerated.
15940         * manual/install.texi (Tools for Compilation): Update GCC version
15941         requirement.
15942         * INSTALL: Regenerated.
15943
15944 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15945
15946         [BZ #15674]
15947         * string/test-memcmp.c (check2): New.
15948         (main): Call check2.
15949
15950         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15951
15952 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
15953
15954         [BZ #15022]
15955         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15956         over to...
15957         (dl_open_worker) [!SHARED]: ... here.
15958
15959 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15960
15961         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15962
15963 2013-06-25  Richard Henderson  <rth@redhat.com>
15964
15965         * locale/programs/locarchive.c: Include <libc-internal.h>
15966
15967 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
15968
15969         * manual/texinfo.tex: Update to version 2013-06-21.17, with
15970         trailing whitespace removed.
15971
15972 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15973
15974         [BZ #10283]
15975         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15976         * locale/programs/locarchive.c: Include libc-mmap.h.
15977         (prepare_address_space): Take two new outputs (the mmap base and len).
15978         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
15979         values.
15980         (create_archive): Declare new mmap base and len values for
15981         prepare_address_space, and store the result in ah.
15982         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15983         (enlarge_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         Declare new mmap base and len values for
15986         prepare_address_space, and store the result in new_ah.
15987         (open_archive): Declare new mmap base and len values for
15988         prepare_address_space, and store the result in ah.
15989         (close_archive): If ah->mmap_base is not NULL, use that and
15990         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15991         * sysdeps/generic/libc-mmap.h: New file.
15992
15993 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15994
15995         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15996         (ALIGN_UP): Likewise.
15997         (PTR_ALIGN_DOWN): Likewise.
15998         (PTR_ALIGN_UP): Likewise.
15999
16000 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16001
16002         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16003         entry mapped to PPC_PLATFORM_POWER8.
16004         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16005         POWER8.
16006         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16007         (_dl_string_platform): Add case for exporting platform position for
16008         POWER8.
16009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16010         search path to sysdeps/powerpc/powerpc32/power8 directory.
16011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16012         search path to sysdeps/powerpc/powerpc64/power8 directory.
16013         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16014         power7 directories.
16015         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16016         power7 directories.
16017
16018 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16019
16020         * INSTALL: Regenerate.
16021
16022         * nscd/connections.c (nscd_init): Fix comment.
16023
16024 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16025
16026         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16027
16028         [BZ #15667]
16029         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16030         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16031
16032 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16033
16034         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16035         DL_DST_REQ_STATIC.
16036         (DL_DST_REQ_STATIC): Remove macro.
16037
16038 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16039
16040         [BZ #7006]
16041         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16042         with a shift of 0 bits.
16043
16044 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16045
16046         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16047         $(tststatic-ENV).
16048
16049 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16050
16051         [BZ #15655]
16052         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16053
16054 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16055
16056         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16057         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16058         accepts -fno-tree-loop-distribute-patterns.
16059         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16060         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16061         recursive call.
16062         * string/memset.c (memset): Likewise.
16063         * string/test-memmove.c (simple_memmove): Disable loop transformation
16064         to library calls.
16065         * string/test-memset.c (simple_memset): Likewise.
16066         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16067         * benchtests/bench-memset.c (simple_memset): Likewise.
16068         * configure: Regenerated.
16069
16070 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16071
16072         * math/test-misc.c (main): Ignore fesetround failure when failures
16073         of subsequent rounding tests would be ignored.
16074
16075         [BZ #15654]
16076         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16077         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16078         * math/fegetenv.c (__fegetenv): Return 0.
16079         * math/fegetexcept.c (fegetexcept): Return 0.
16080         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16081         FE_TONEAREST.
16082         * math/feholdexcpt.c (feholdexcept): Return 0.
16083         * math/fesetenv.c (__fesetenv): Return 0.
16084         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16085         argument FE_TONEAREST.
16086         * math/feupdateenv.c (__feupdateenv): Return 0.
16087         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16088
16089 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16090
16091         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16092         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16093         ($(objpfx)rtld-%.os rules): Use them.
16094
16095 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16096
16097         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16098         fields.
16099
16100 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16101
16102         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16103         length of target pattern, then descending length of dependency pattern.
16104         * configure.in (AWK): Require gawk 3.1.2 or newer.
16105         * manual/install.texi (Tools for Compilation): Say that we do.
16106         * configure: Regenerated.
16107
16108         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16109         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16110         * scripts/sysd-rules.awk: ... this new script.
16111         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16112         than a glob-style pattern.
16113
16114 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16115
16116         * math/test-misc.c (main): Do not treat incorrectly rounded
16117         conversions as failure unless ROUNDING_TESTS passes.
16118
16119 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16120
16121         [BZ #15631]
16122         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16123         restore exception state around main square root computation, then
16124         check for inexactness explicitly.
16125
16126         * math/libm-test.inc (fma_test_data): Add another test.
16127
16128 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16129
16130         * manual/threads.texi (Non-POSIX Extensions): New document
16131         node.  Document pthread_getattr_default_np and
16132         pthread_setattr_default_np.
16133
16134         * Versions.def (libpthread): Add GLIBC_2.18.
16135         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16137         Likewise.
16138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16139         Likewise.
16140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16141         Likewise.
16142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16143         Likewise.
16144         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16145         Likewise.
16146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16147         Likewise.
16148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16149         Likewise.
16150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16151         Likewise.
16152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16153         Likewise.
16154
16155 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16156
16157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16158         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16159
16160 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16161             H.J. Lu  <hjl.tools@gmail.com>
16162
16163         [BZ #15627]
16164         * sysdeps/x86_64/rtld-memset.c: Remove file.
16165         * sysdeps/x86_64/rtld-memset.S: New file.
16166
16167 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16168
16169         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16170         (test_in_one_mode): Take arguments for whether the rounding mode
16171         is supported for each floating-point type.
16172         (do_test): Pass new arguments to test_in_one_mode using
16173         ROUNDING_TESTS.
16174
16175 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16176
16177         * posix/tst-waitid.c (do_test): Distinguish different instances of
16178         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16179         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16180         before entering the kernel for waitpid.
16181
16182 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16183
16184         * NEWS: Fix note on clock function precision.  Text by Roland
16185         McGrath.
16186
16187 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16188
16189         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16190         it into place only when and if the sanity check passes.
16191
16192 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16193
16194         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16195         output for whether conversion result is exact.  Take argument
16196         indicating whether type is IBM long double.
16197         (round_for_all): Change need_exact field to ibm_ld.
16198         * stdlib/tst-strtod-round.c (struct exactness): New type.
16199         (struct test): Change bool ld_ok field to struct exactness exact.
16200         (TEST): Update all definitions for change to field.
16201         (tests): Regenerate array contents.
16202         (test_in_one_mode): Take pointer to new field instead of old ld_ok
16203         field value.  Check for IBM long double here.
16204         (do_test): Update calls to test_in_one_mode.
16205
16206 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16207
16208         [BZ #12515]
16209         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16210         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16211
16212 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16213
16214         [BZ #15605]
16215         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16216         generated by the compiler on loop optimizations.
16217         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16218         general definitions.
16219
16220 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
16221
16222         * math/bug-nextafter.c: Include <math-tests.h>.
16223         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16224         the relevant type.
16225         * math/bug-nexttoward.c: Include <math-tests.h>.
16226         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16227         the relevant type.
16228         * math/test-misc.c: Include <math-tests.h>.
16229         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16230         the relevant type.
16231
16232 2013-06-12  Andreas Jaeger  <aj@suse.de>
16233
16234         * po/ia.po: Update Interlingua translation from translation
16235         project.
16236
16237 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16238
16239         * include/fenv.h: Include stdbool.h.
16240         (struct rm_ctx): New structure.
16241         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16242         Define macro.
16243         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16244         (SET_RESTORE_ROUNDF): Likewise.
16245         (SET_RESTORE_ROUNDL): Likewise.
16246         (SET_RESTORE_ROUND_NOEX): Likewise.
16247         (SET_RESTORE_ROUND_NOEXF): Likewise.
16248         (SET_RESTORE_ROUND_NOEXL): Likewise.
16249         (SET_RESTORE_ROUND_53BIT): Likewise.
16250         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16251         (libc_feresetround_noexf_ctx): Likewise.
16252         (libc_feresetround_noexl_ctx): Likewise.
16253         (libc_feholdsetround_53bit_ctx): Likewise.
16254         (libc_feresetround_53bit_ctx): Likewise.
16255         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16256         (libc_feholdexcept_setround_sse_ctx): New function.
16257         (libc_fesetenv_sse_ctx): Likewise.
16258         (libc_feupdateenv_sse_ctx): Likewise.
16259         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16260         (libc_feholdexcept_setround_387_ctx): Likewise.
16261         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16262         (libc_feholdsetround_387_prec_ctx): Likewise.
16263         (libc_feholdsetround_387_ctx): Likewise.
16264         (libc_feholdsetround_387_53bit_ctx): Likewise.
16265         (libc_feholdsetround_sse_ctx): Likewise.
16266         (libc_feresetround_sse_ctx): Likewise.
16267         (libc_feresetround_387_ctx): Likewise.
16268         (libc_feupdateenv_387_ctx): Likewise.
16269         (libc_feholdexcept_setroundf_ctx): Define macro.
16270         (libc_fesetenvf_ctx): Likewise.
16271         (libc_feupdateenvf_ctx): Likewise.
16272         (libc_feholdsetroundf_ctx): Likewise.
16273         (libc_feresetroundf_ctx): Likewise.
16274         (libc_feholdexcept_setround_ctx): Likewise.
16275         (libc_fesetenv_ctx): Likewise.
16276         (libc_feupdateenv_ctx): Likewise.
16277         (libc_feholdsetround_ctx): Likewise.
16278         (libc_feresetround_ctx): Likewise.
16279         (libc_feholdexcept_setroundl_ctx): Likewise.
16280         (libc_feupdateenvl_ctx): Likewise.
16281         (libc_feholdsetroundl_ctx): Likewise.
16282         (libc_feresetroundl_ctx): Likewise.
16283         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16284         (libc_feresetround_53bit_ctx): Likewise.
16285
16286 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16287
16288         * locale/iso-639.def: Convert to UTF-8.
16289
16290 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
16291
16292         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16293         (EXCEPTION_TESTS_double): Likewise.
16294         (EXCEPTION_TESTS_long_double): Likewise.
16295         (EXCEPTION_TESTS): Likewise.
16296         * math/libm-test.inc (test_exceptions): Only test exceptions if
16297         EXCEPTION_TESTS (FLOAT).
16298
16299 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16300
16301         * benchtests/Makefile (string-bench): Add strcpy_chk and
16302         stpcpy_chk.
16303         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16304         * benchtests/bench-stpcpy_chk.c: New file.
16305         * benchtests/bench-strcpy_chk-ifunc.c: New file.
16306         * benchtests/bench-strcpy_chk.c: New file.
16307         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16308         code.
16309         (do_test): Likewise.
16310
16311 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16312
16313         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16314         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16315         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16316         with tabs where appropriate.
16317         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16318         dl-procinfo.h.
16319         [PPC_PLATFORM_PPC440]: Likewise.
16320         [PPC_PLATFORM_PPC464]: Likewise.
16321         [PPC_PLATFORM_PPC476]: Likewise.
16322         (_dl_string_platform): Add support for detecting ppc405, ppc440,
16323         ppc464, and ppc476 platform strings merging from ports/
16324         dl-procinfo.h.
16325
16326 2013-06-11  Andreas Schwab  <schwab@suse.de>
16327
16328         [BZ #14991]
16329         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16330         (from_ucs4_idx): Regenerate.
16331         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16332         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16333         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16334         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16335         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16336         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16337         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16338         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16339         from FROM_LOOP and TO_LOOP specific macros.
16340         (BODY): Handle combining characters.
16341         * iconvdata/BIG5HKSCS.irreversible: Update.
16342         * iconvdata/BIG5HKSCS.precomposed: New file.
16343         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16344         characters.
16345         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16346
16347 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16348
16349         * include/sys/time.h: Fix indentation and add copyright header.
16350
16351         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16352         (do_test): Likewise.
16353         * string/test-memchr.c (do_one_test): Likewise.
16354         (do_test): Likewise.
16355         * string/test-memcmp.c (do_one_test): Likewise.
16356         (do_test): Likewise.
16357         * string/test-memcpy.c (do_one_test): Likewise.
16358         (do_test): Likewise.
16359         * string/test-memmem.c (do_one_test): Likewise.
16360         (do_test): Likewise.
16361         (do_random_tests): Likewise.
16362         * string/test-memmove.c (do_one_test): Likewise.
16363         (do_test): Likewise.
16364         * string/test-memset.c (do_one_test): Likewise.
16365         (do_test): Likewise.
16366         * string/test-rawmemchr.c (do_one_test): Likewise.
16367         (do_test): Likewise.
16368         * string/test-strcasecmp.c (do_one_test): Likewise.
16369         (do_test): Likewise.
16370         * string/test-strcasestr.c (do_one_test): Likewise.
16371         (do_test): Likewise.
16372         * string/test-strcat.c (do_one_test): Likewise.
16373         (do_test): Likewise.
16374         * string/test-strchr.c (do_one_test): Likewise.
16375         (do_test): Likewise.
16376         * string/test-strcmp.c (do_one_test): Likewise.
16377         (do_test): Likewise.
16378         * string/test-strcpy.c (do_one_test): Likewise.
16379         (do_test): Likewise.
16380         * string/test-string.h: Likewise.
16381         (test_init): Likewise.
16382         * string/test-strlen.c (do_one_test): Likewise.
16383         (do_test): Likewise.
16384         * string/test-strncasecmp.c (do_one_test): Likewise.
16385         (do_test): Likewise.
16386         * string/test-strncat.c (do_one_test): Likewise.
16387         (do_test): Likewise.
16388         * string/test-strncmp.c (do_one_test): Likewise.
16389         (do_test_limit): Likewise.
16390         (do_test): Likewise.
16391         * string/test-strncpy.c (do_one_test): Likewise.
16392         (do_test): Likewise.
16393         * string/test-strnlen.c (do_one_test): Likewise.
16394         (do_test): Likewise.
16395         * string/test-strpbrk.c (do_one_test): Likewise.
16396         (do_test): Likewise.
16397         * string/test-strrchr.c (do_one_test): Likewise.
16398         (do_test): Likewise.
16399         * string/test-strspn.c (do_one_test): Likewise.
16400         (do_test): Likewise.
16401         * string/test-strstr.c (do_one_test): Likewise.
16402         (do_test): Likewise.
16403
16404         * benchtests/Makefile (string-bench): Add string benchmarks.
16405         * benchtests/bench-bcopy-ifunc.c: New file.
16406         * benchtests/bench-bcopy.c: New file.
16407         * benchtests/bench-bzero-ifunc.c: New file.
16408         * benchtests/bench-bzero.c: New file.
16409         * benchtests/bench-memccpy-ifunc.c: New file.
16410         * benchtests/bench-memccpy.c: New file.
16411         * benchtests/bench-memchr-ifunc.c: New file.
16412         * benchtests/bench-memchr.c: New file.
16413         * benchtests/bench-memcmp-ifunc.c: New file.
16414         * benchtests/bench-memcmp.c: New file.
16415         * benchtests/bench-memmem-ifunc.c: New file.
16416         * benchtests/bench-memmem.c: New file.
16417         * benchtests/bench-memmove-ifunc.c: New file.
16418         * benchtests/bench-memmove.c: New file.
16419         * benchtests/bench-mempcpy-ifunc.c: New file.
16420         * benchtests/bench-mempcpy.c: New file.
16421         * benchtests/bench-memset-ifunc.c: New file.
16422         * benchtests/bench-memset.c: New file.
16423         * benchtests/bench-rawmemchr-ifunc.c: New file.
16424         * benchtests/bench-rawmemchr.c: New file.
16425         * benchtests/bench-stpcpy-ifunc.c: New file.
16426         * benchtests/bench-stpcpy.c: New file.
16427         * benchtests/bench-stpncpy-ifunc.c: New file.
16428         * benchtests/bench-stpncpy.c: New file.
16429         * benchtests/bench-strcasecmp-ifunc.c: New file.
16430         * benchtests/bench-strcasecmp.c: New file.
16431         * benchtests/bench-strcasestr-ifunc.c: New file.
16432         * benchtests/bench-strcasestr.c: New file.
16433         * benchtests/bench-strcat-ifunc.c: New file.
16434         * benchtests/bench-strcat.c: New file.
16435         * benchtests/bench-strchr-ifunc.c: New file.
16436         * benchtests/bench-strchr.c: New file.
16437         * benchtests/bench-strchrnul-ifunc.c: New file.
16438         * benchtests/bench-strchrnul.c: New file.
16439         * benchtests/bench-strcmp-ifunc.c: New file.
16440         * benchtests/bench-strcmp.c: New file.
16441         * benchtests/bench-strcpy-ifunc.c: New file.
16442         * benchtests/bench-strcpy.c: New file.
16443         * benchtests/bench-strcspn-ifunc.c: New file.
16444         * benchtests/bench-strcspn.c: New file.
16445         * benchtests/bench-strlen-ifunc.c: New file.
16446         * benchtests/bench-strlen.c: New file.
16447         * benchtests/bench-strncasecmp-ifunc.c: New file.
16448         * benchtests/bench-strncasecmp.c: New file.
16449         * benchtests/bench-strncat-ifunc.c: New file.
16450         * benchtests/bench-strncat.c: New file.
16451         * benchtests/bench-strncmp-ifunc.c: New file.
16452         * benchtests/bench-strncmp.c: New file.
16453         * benchtests/bench-strncpy-ifunc.c: New file.
16454         * benchtests/bench-strncpy.c: New file.
16455         * benchtests/bench-strnlen-ifunc.c: New file.
16456         * benchtests/bench-strnlen.c: New file.
16457         * benchtests/bench-strpbrk-ifunc.c: New file.
16458         * benchtests/bench-strpbrk.c: New file.
16459         * benchtests/bench-strrchr-ifunc.c: New file.
16460         * benchtests/bench-strrchr.c: New file.
16461         * benchtests/bench-strspn-ifunc.c: New file.
16462         * benchtests/bench-strspn.c: New file.
16463         * benchtests/bench-strstr-ifunc.c: New file.
16464         * benchtests/bench-strstr.c: New file.
16465
16466         * benchtests/Makefile: Disable parallel execution of targets.
16467         (string-bench): Add memcpy.
16468         (benchset): New variable to store a list of benchmark sets.
16469         (bench-func): Renamed from bench.
16470         (bench-set): New target.
16471         (bench): Depend on bench-func and bench-set.
16472         * benchtests/README: Add section on benchmark sets.
16473         * benchtests/bench-memcpy-ifunc.c: New file.
16474         * benchtests/bench-memcpy.c: New file.
16475         * benchtests/bench-string.h: New file.
16476
16477 2013-06-11  Andreas Schwab  <schwab@suse.de>
16478
16479         [BZ #15577]
16480         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16481         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16482         values in the triple.
16483         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16484         terminator in the group key.
16485
16486 2013-06-11  Andreas Jaeger  <aj@suse.de>
16487
16488         * po/zh_TW.po: Update Chinese (traditional) translation from
16489         translation project.
16490
16491 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16492
16493         * include/time.h (__clock_gettime): Add libc_hidden_proto.
16494         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16495         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
16496         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16497         (clock_getcpuclockid): Likewise.
16498         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16499         Add weak_alias and libc_hidden_def.
16500         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16501         * rt/clock_gettime.c (clock_gettime): Rename to
16502         __clock_gettime.  Add weak_alias and libc_hidden_def.
16503         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16504         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16505         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
16506         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16507         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16508         Likewise.
16509         * rt/clock_settime.c (clock_settime): Rename to
16510         __clock_settime.  Add weak_alias and libc_hidden_def.
16511         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16512
16513 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
16514
16515         * mach/err_boot.sub: Remove trailing whitespace.
16516         * mach/err_ipc.sub: Likewise.
16517         * mach/err_mach.sub: Likewise.
16518
16519         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16520         (ROUNDING_TESTS_double): Likewise.
16521         (ROUNDING_TESTS_long_double): Likewise.
16522         (ROUNDING_TESTS): Likewise.
16523         * math/libm-test.inc: Include <math-tests.h>.
16524         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16525         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16526         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16527         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16528
16529 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16530
16531         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16532         of assigning.
16533
16534 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
16535
16536         * sysdeps/gnu/errlist.awk: Do not generate space at end of
16537         otherwise empty TRANS lines.
16538         * sysdeps/gnu/errlist.c: Regenerated.
16539
16540         * catgets/gencat.c (error_print): Use (void) in function
16541         definition.
16542         * crypt/crypt_util.c (__init_des): Likewise.
16543         * crypt/speeds.c (Stop): Likewise.
16544         (main): Likewise.
16545         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16546         * inet/ruserpass.c (token): Likewise.
16547         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16548         * intl/localealias.c (extend_alias_table): Likewise.
16549         * intl/plural-exp.c (init_germanic_plural): Likewise.
16550         * libio/fcloseall.c (__fcloseall): Likewise.
16551         * libio/genops.c (_IO_flush_all): Likewise.
16552         (_IO_flush_all_linebuffered): Likewise.
16553         (_IO_cleanup): Likewise.
16554         (_IO_iter_begin): Likewise.
16555         (_IO_iter_end): Likewise.
16556         (_IO_list_lock): Likewise.
16557         (_IO_list_unlock): Likewise.
16558         (_IO_list_resetlock): Likewise.
16559         * libio/getchar.c (getchar): Likewise.
16560         * libio/getchar_u.c (getchar_unlocked): Likewise.
16561         * libio/getwchar.c (getwchar): Likewise.
16562         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16563         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16564         * login/getpt.c (__getpt): Likewise.
16565         * login/tst-utmp.c (main): Likewise.
16566         * malloc/hooks.c (__malloc_check_init): Likewise.
16567         * malloc/malloc.c (__malloc_stats): Likewise.
16568         * malloc/mtrace.c (tr_break): Likewise.
16569         (mtrace): Likewise.
16570         (muntrace): Likewise.
16571         * misc/fstab.c (endfsent): Likewise.
16572         * misc/getclktck.c (__getclktck): Likewise.
16573         * misc/getdtsz.c (__getdtablesize): Likewise.
16574         * misc/gethostid.c (gethostid): Likewise.
16575         * misc/getpagesize.c (__getpagesize): Likewise.
16576         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16577         (__get_nprocs): Likewise.
16578         (__get_phys_pages): Likewise.
16579         (__get_avphys_pages): Likewise.
16580         * misc/getttyent.c (getttyent): Likewise.
16581         (setttyent): Likewise.
16582         (endttyent): Likewise.
16583         * misc/getusershell.c (getusershell): Likewise.
16584         (endusershell): Likewise.
16585         (setusershell): Likewise.
16586         (initshells): Likewise.
16587         * misc/hsearch.c (__hdestroy): Likewise.
16588         * misc/sync.c (sync): Likewise.
16589         * misc/syslog.c (closelog_internal): Likewise.
16590         (closelog): Likewise.
16591         * misc/ttyslot.c (ttyslot): Likewise.
16592         * misc/vhangup.c (vhangup): Likewise.
16593         * posix/fork.c (__fork): Likewise.
16594         * posix/getegid.c (__getegid): Likewise.
16595         * posix/geteuid.c (__geteuid): Likewise.
16596         * posix/getgid.c (__getgid): Likewise.
16597         * posix/getpid.c (__getpid): Likewise.
16598         * posix/getppid.c (__getppid): Likewise.
16599         * posix/getuid.c (__getuid): Likewise.
16600         * posix/pause.c (pause): Likewise.
16601         * posix/setpgrp.c (setpgrp): Likewise.
16602         * posix/setsid.c (__setsid): Likewise.
16603         * posix/test-vfork.c (noop): Likewise.
16604         * resolv/gethnamaddr.c (_endhtent): Likewise.
16605         (_gethtent): Likewise.
16606         (ht_endhostent): Likewise.
16607         (gethostent): Likewise.
16608         (dns_service): Likewise.
16609         * stdlib/drand48.c (drand48): Likewise.
16610         * stdlib/lrand48.c (lrand48): Likewise.
16611         * stdlib/mrand48.c (mrand48): Likewise.
16612         * stdlib/rand.c (rand): Likewise.
16613         * stdlib/random.c (__random): Likewise.
16614         * stdlib/setenv.c (clearenv): Likewise.
16615         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16616         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16617         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16618         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16619         (__get_nprocs): Likewise.
16620         (__get_phys_pages): Likewise.
16621         (__get_avphys_pages): Likewise.
16622         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16623         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16624         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16625         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16626         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16627         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16628         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16629         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16630         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16631         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16632         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16633         * sysdeps/mach/hurd/sync.c (sync): Likewise.
16634         * sysdeps/posix/clock.c (clock): Likewise.
16635         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16636         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16637         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16638         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16639         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16640         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16641         (__get_nprocs_conf): Likewise.
16642         (__get_phys_pages): Likewise.
16643         (__get_avphys_pages): Likewise.
16644         * time/clock.c (clock): Likewise.
16645         * time/tzset.c (__tzname_max): Likewise.
16646
16647 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
16648
16649         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16650         (__bswap_32): Do not use "register".
16651         * crypt/crypt.c (_ufc_doit_r): Likewise.
16652         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16653         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16654         * gmon/gmon.c (__monstartup): Likewise.
16655         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16656         * hurd/hurdmalloc.c (more_memory): Likewise.
16657         (malloc): Likewise.
16658         (free): Likewise.
16659         (realloc): Likewise.
16660         (malloc_fork_prepare): Likewise.
16661         (malloc_fork_parent): Likewise.
16662         (malloc_fork_child): Likewise.
16663         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16664         (_svcauth_des): Likewise.
16665         * inet/inet_lnaof.c (inet_lnaof): Likewise.
16666         * inet/inet_net.c (inet_network): Likewise.
16667         * inet/inet_netof.c (inet_netof): Likewise.
16668         * inet/rcmd.c (__validuser2_sa): Likewise.
16669         * io/fts.c (fts_open): Likewise.
16670         (fts_load): Likewise.
16671         (fts_close): Likewise.
16672         (fts_read): Likewise.
16673         (fts_children): Likewise.
16674         (fts_build): Likewise.
16675         (fts_stat): Likewise.
16676         (fts_sort): Likewise.
16677         (fts_alloc): Likewise.
16678         (fts_lfree): Likewise.
16679         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16680         (_IO_file_xsgetn): Likewise.
16681         (_IO_file_xsgetn_mmap): Likewise.
16682         * libio/iofopncook.c (_IO_cookie_read): Likewise.
16683         (_IO_cookie_write): Likewise.
16684         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16685         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16686         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16687         * malloc/obstack.c (_obstack_begin): Likewise.
16688         (_obstack_begin_1): Likewise.
16689         (_obstack_newchunk): Likewise.
16690         (_obstack_allocated_p): Likewise.
16691         (obstack_free): Likewise.
16692         (_obstack_memory_used): Likewise.
16693         * misc/getttyent.c (getttynam): Likewise.
16694         (getttyent): Likewise.
16695         (skip): Likewise.
16696         (value): Likewise.
16697         * misc/getusershell.c (initshells): Likewise.
16698         * misc/syslog.c (__vsyslog_chk): Likewise.
16699         * misc/ttyslot.c (ttyslot): Likewise.
16700         * nis/nis_hash.c (__nis_hash): Likewise.
16701         * posix/fnmatch_loop.c (FCT): Likewise.
16702         * posix/getconf.c (print_all): Likewise.
16703         (main): Likewise.
16704         * posix/getopt.c (exchange): Likewise.
16705         * posix/glob.c (globfree): Likewise.
16706         (prefix_array): Likewise.
16707         (__glob_pattern_type): Likewise.
16708         * resolv/arpa/nameser.h (NS_GET16): Likewise.
16709         (NS_GET32): Likewise.
16710         (NS_PUT16): Likewise.
16711         (NS_PUT32): Likewise.
16712         * resolv/gethnamaddr.c (getanswer): Likewise.
16713         (gethostbyname2): Likewise.
16714         (gethostbyaddr): Likewise.
16715         (_gethtent): Likewise.
16716         (_gethtbyname2): Likewise.
16717         (_gethtbyaddr): Likewise.
16718         * resolv/ns_print.c (dst_s_get_int16): Likewise.
16719         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16720         * resolv/res_init.c (__res_vinit): Likewise.
16721         (net_mask): Likewise.
16722         * resolv/res_mkquery.c (outchar): Likewise.
16723         (PRINT): Likewise.
16724         * stdio-common/printf_fp.c (outchar): Likewise.
16725         (PRINT): Likewise.
16726         * stdio-common/printf_fphex.c (outchar): Likewise.
16727         (PRINT): Likewise.
16728         * stdio-common/printf_size.c (outchar): Likewise.
16729         (PRINT): Likewise.
16730         * stdio-common/test_rdwr.c (main): Likewise.
16731         * stdio-common/tfformat.c (matches): Likewise.
16732         * stdio-common/vfprintf.c (outchar): Likewise.
16733         (printf_unknown): Likewise.
16734         (buffered_vfprintf): Likewise.
16735         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16736         * stdio-common/xbug.c (AppendToBuffer): Likewise.
16737         (ReadFile): Likewise.
16738         * stdlib/qsort.c (SWAP): Likewise.
16739         (_quicksort): Likewise.
16740         * stdlib/setenv.c (__add_to_environ): Likewise.
16741         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16742         * stdlib/strtol_l.c (__strtol_l): Likewise.
16743         * stdlib/tst-strtod.c (main): Likewise.
16744         * stdlib/tst-strtol.c (main): Likewise.
16745         * stdlib/tst-strtoll.c (main): Likewise.
16746         * string/bits/string2.h (__strcmp_cc): Likewise.
16747         (__strcmp_cg): Likewise.
16748         (__strcspn_c1): Likewise.
16749         (__strcspn_c2): Likewise.
16750         (__strcspn_c3): Likewise.
16751         (__strspn_c1): Likewise.
16752         (__strspn_c2): Likewise.
16753         (__strspn_c3): Likewise.
16754         (__strsep_1c): Likewise.
16755         (__strsep_2c): Likewise.
16756         (__strsep_3c): Likewise.
16757         * string/memccpy.c (__memccpy): Likewise.
16758         * string/stpcpy.c (__stpcpy): Likewise.
16759         * string/strcmp.c (strcmp): Likewise.
16760         * string/strrchr.c (strrchr): Likewise.
16761         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16762         Likewise.
16763         * sysdeps/mach/hurd/getcwd.c
16764         (_hurd_canonicalize_directory_name_internal): Likewise.
16765         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16766         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16767         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16768         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16769         Likewise, in both definitions.
16770         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16771         definitions.
16772         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16773         64] (__bswap_64): Likewise.
16774         * time/test_time.c (main): Likewise.
16775         * time/tzfile.c (__tzfile_read): Likewise.
16776         (__tzfile_compute): Likewise.
16777         * time/tzset.c (__tzset_parse_tz): Likewise.
16778         (tzset_internal): Likewise.
16779         (compute_change): Likewise.
16780         * wcsmbs/wcscat.c (__wcscat): Likewise.
16781         * wcsmbs/wcschr.c (wcschr): Likewise.
16782         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16783         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16784         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16785         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16786         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16787         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16788         * wcsmbs/wmemchr.c (wmemchr): Likewise.
16789         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16790         * wcsmbs/wmemset.c (wmemset): Likewise.
16791
16792 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
16793
16794         * scripts/config.guess: Update to version 2013-05-16.
16795         * scripts/config.sub: Update to version 2013-04-24.
16796         * scripts/install-sh: Update to version 2011-11-20.07.
16797         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16798         * scripts/move-if-change: Update to version 2012-01-06 07:23.
16799
16800 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
16801
16802         * debug/fgetws_u_chk.c: Fix leading whitespaces.
16803         * elf/sln.c: Likewise.
16804         * hurd/hurd/ioctl.h: Likewise.
16805         * hurd/hurdmalloc.c: Likewise.
16806         * hurd/xattr.c: Likewise.
16807         * include/shlib-compat.h: Likewise.
16808         * inet/ruserpass.c: Likewise.
16809         * libio/iofgets_u.c: Likewise.
16810         * libio/iofgetws_u.c: Likewise.
16811         * locale/programs/ld-identification.c: Likewise.
16812         * locale/programs/ld-time.c: Likewise.
16813         * mach/msg-destroy.c: Likewise.
16814         * nss/nss_files/files-netgrp.c: Likewise.
16815         * resolv/res_data.c: Likewise.
16816         * soft-fp/op-1.h: Likewise.
16817         * soft-fp/op-2.h: Likewise.
16818         * soft-fp/op-4.h: Likewise.
16819         * soft-fp/op-common.h: Likewise.
16820         * stdio-common/printf_fphex.c: Likewise.
16821         * stdlib/strtod_l.c: Likewise.
16822         * sunrpc/rpc/clnt.h: Likewise.
16823         * sysdeps/generic/framestate.c: Likewise.
16824         * sysdeps/i386/bsd-_setjmp.S: Likewise.
16825         * sysdeps/i386/bsd-setjmp.S: Likewise.
16826         * sysdeps/i386/__longjmp.S: Likewise.
16827         * sysdeps/i386/setjmp.S: Likewise.
16828         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16829         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16830         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16831         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16832         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16833         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16834         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16835         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16836         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16837         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16838         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16839         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16840         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16841         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16842         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16843         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16844         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16845         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16846         * sysdeps/ieee754/support.c: Likewise.
16847         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16848         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16849         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16850         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16851         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16852         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16853         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16854         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16855         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16856         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16857         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16858         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16859         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16860         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16861         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16862         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16863         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16865
16866 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
16867
16868         * posix/transbug.c: Remove executable mode.
16869
16870 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
16871
16872         * crypt/speeds.c: Remove trailing whitespace.
16873         * dlfcn/default.c: Likewise.
16874         * elf/ifuncdep2.c: Likewise.
16875         * elf/ifuncmain1.c: Likewise.
16876         * elf/ifuncmain1vis.c: Likewise.
16877         * elf/testobj.h: Likewise.
16878         * elf/tst-stackguard1.c: Likewise.
16879         * gmon/sys/gmon.h: Likewise.
16880         * hurd/hurdmsg.c: Likewise.
16881         * hurd/new-fd.c: Likewise.
16882         * hurd/ports-get.c: Likewise.
16883         * iconvdata/ibm1008_420.c: Likewise.
16884         * inet/tst-getni1.c: Likewise.
16885         * inet/tst-getni2.c: Likewise.
16886         * libio/ioungetc.c: Likewise.
16887         * libio/wfiledoalloc.c: Likewise.
16888         * manual/libm-err-tab.pl: Likewise.
16889         * math/w_dremf.c: Likewise.
16890         * misc/ftruncate.c: Likewise.
16891         * posix/bug-glob2.c: Likewise.
16892         * posix/tst-pcre.c: Likewise.
16893         * posix/wait4.c: Likewise.
16894         * resolv/README: Likewise.
16895         * resolv/res_debug.h: Likewise.
16896         * resolv/tst-inet_ntop.c: Likewise.
16897         * setjmp/bug269-setjmp.c: Likewise.
16898         * soft-fp/extended.h: Likewise.
16899         * soft-fp/op-1.h: Likewise.
16900         * soft-fp/op-2.h: Likewise.
16901         * soft-fp/op-4.h: Likewise.
16902         * soft-fp/op-8.h: Likewise.
16903         * soft-fp/testit.c: Likewise.
16904         * stdio-common/bug16.c: Likewise.
16905         * stdlib/random.c: Likewise.
16906         * sunrpc/rpcsvc/rquota.x: Likewise.
16907         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16908         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16909         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16910         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16911         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16912         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16913         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16914         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16915         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16916         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16917         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16918         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16919         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16920         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16921         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16922         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16923         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16924         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16925         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16926         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16927         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16928         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16929         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16930         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16931         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16932         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16933         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16934         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16935         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16936         * sysdeps/ieee754/s_lib_version.c: Likewise.
16937         * sysdeps/mach/hurd/check_fds.c: Likewise.
16938         * sysdeps/mach/hurd/getsockname.c: Likewise.
16939         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16940         * sysdeps/mach/hurd/recvfrom.c: Likewise.
16941         * sysdeps/powerpc/bits/link.h: Likewise.
16942         * sysdeps/powerpc/dl-procinfo.c: Likewise.
16943         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16944         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16945         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16946         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16947         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16948         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16949         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16950         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16951         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16952         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16953         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16954         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16955         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16956         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16957         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16958         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16959         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16960         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16961         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16962         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16963         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16964         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16965         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16966         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16967         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16968         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16969         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16970         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16971         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16972         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16973         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16974         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16975         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16976         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16977         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16978         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16979         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16980         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16981         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16982         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16983         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16984         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16985         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16986         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16987         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16988         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16989         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16990         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16991         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16992         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16993         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16994         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16995         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16996         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16997         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16998         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16999         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17000         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17001         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17002         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17003         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17004         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17005         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17006         * sysdeps/powerpc/sysdep.h: Likewise.
17007         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17008         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17009         * sysdeps/sh/dl-trampoline.S: Likewise.
17010         * sysdeps/sh/memset.S: Likewise.
17011         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17012         * sysdeps/sh/strlen.S: Likewise.
17013         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17014         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17015         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17016         * sysdeps/sparc/sparc32/rem.S: Likewise.
17017         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17018         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17019         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17020         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17021         * sysdeps/sparc/sparc32/urem.S: Likewise.
17022         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17023         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17024         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17025         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17026         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17027         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17028         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17029         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17030         * sysdeps/unix/bsd/times.c: Likewise.
17031         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17032         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17036         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17037         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17038         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17039         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17040         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17041         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17042         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17043         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17044         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17045         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17046         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17047         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17048         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17049         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17050         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17051         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17052         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17053         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17054         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17055         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17056         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17057         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17058         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17059         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17060         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17061         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17062         * sysdeps/x86_64/strcspn.S: Likewise.
17063
17064 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17065
17066         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17067         generated file.  Regenerate properly from gen-translit.pl.
17068         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17069         locale/C-translit.h.
17070
17071 2013-06-05  Andreas Schwab  <schwab@suse.de>
17072
17073         [BZ #15100]
17074         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17075         week as 6 instead of -1.
17076         * time/tst-strptime.c (day_tests): Add test case.
17077
17078 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17079
17080         * sysdeps/generic/math_private.h
17081         (libc_feholdexcept_setround_53bit): Replace with
17082         libc_feholdsetround_53bit.
17083         (libc_feupdateenv_53bit): Replace with
17084         libc_feresetround_53bit.
17085         (SET_RESTORE_ROUND_53BIT): Adjust.
17086
17087 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17088
17089         * string/test-strchrnul.c: Add copyright header.
17090
17091         * posix/tst-getaddrinfo4.c: Increase test timeout.
17092
17093 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17094
17095         [BZ #15536]
17096         * math/libm-test.inc (MAX_EXP): Remove
17097         (MIN_EXP): Define.
17098         (ulp): Use MIN_EXP - MANT_DIG.
17099         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17100
17101 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17102
17103         * po/be.po: Revert last change.
17104         * po/zh_CN.po: Likewise.
17105         * po/header.pot: Likewise.
17106
17107 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17108
17109         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17110         link-libc-deps to empty as target-specific variable.
17111         * Makerules (link-libc-args): New variable.
17112         (libc-for-link): Likewise.
17113         (link-libc-deps): Likewise.
17114         (lib%.so): Depend on $(link-libc-deps).  Link with
17115         $(link-libc-args).
17116         (build-module): Link with $(link-libc-args).
17117         (build-module-asneeded): Likewise.
17118         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17119         list of objects.
17120         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17121         target-specific variable.
17122         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17123         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17124         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17125         libc.
17126         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17127         libc and ld.so.
17128         ($(objpfx)libpcprofile.so): Likewise.
17129         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17130         libc_nonshared.a.
17131         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17132         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17133         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17134         $(link-libc-deps).
17135         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17136         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17137         * login/Makefile ($(objpfx)libutil.so): Likewise.
17138         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17139         * math/Makefile ($(objpfx)libm.so): Likewise.
17140         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17141         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17142         variable instead of depending directly on libc.
17143         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17144         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17145         $(link-libc-deps).
17146         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17147         libc.
17148         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17149         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17150         ($(objpfx)libanl.so): Likewise.
17151         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17152         ld.so.
17153         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17154         $(link-libc-deps).
17155         * sysdeps/i386/fpu/Makefile: Remove file.
17156         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17157         ($(objpfx)libm.so): Remove dependency on ld.so.
17158
17159 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17160
17161         [BZ # 15553]
17162         * nis/yp_xdr.c (XDRMAXNAME): Define.
17163         (XDRMAXRECORD): Define.
17164         (xdr_domainname): Use XDRMAXNAME.
17165         (xdr_mapname): Likewise.
17166         (xdr_peername): Likewise.
17167         (xdr_keydat): Use XDRMAXRECORD.
17168         (xdr_valdat): Likewise.
17169
17170 2013-05-30  Jeff Law  <law@redhat.com>
17171
17172         [BZ #14256]
17173         * manual/errno.texi (ESTALE): Update to account for more than
17174         just NFS file systems.
17175         * sysdeps/gnu/errlist.c: Regenerated.
17176
17177 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17178
17179         [BZ #15465]
17180         * elf/Makefile (tests): Add tst-null-argv.
17181         (modules-names):  Add tst-null-argv-lib.
17182         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17183         (tst-null-argv-ENV): Set environment for tst-null-argv.
17184         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17185         (RTLD_PROGNAME): New macro.
17186         * elf/tst-null-argv.c: New test case.
17187         * elf/tst-null-argv-lib.c: Library for test case.
17188         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17189         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17190         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17191         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17192         * elf/dl-init.c (call_init): Likewise.
17193         (_dl_init): Likewise.
17194         * elf/dl-load.c (print_search_path): Likewise.
17195         (_dl_map_object): Likewise.
17196         * elf/dl-lookup.c (do_lookup_x): Likewise.
17197         (add_dependency): Likewise.
17198         (_dl_lookup_symbol_x): Likewise.
17199         (_dl_debug_bindings): Likewise.
17200         * elf/dl-open.c (_dl_show_scope): Likewise.
17201         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17202         * elf/dl-version.c (match_symbol): Likewise.
17203         (_dl_check_map_versions): Likewise.
17204         * elf/rtld.c (dl_main): Likewise.
17205         (print_unresolved): Use RTLD_PROGNAME.
17206         (print_missing_version): Likewise.
17207         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17208         (elf_machine_rela): Likewise.
17209         * sysdeps/powerpc/powerpc32/dl-machine.c
17210         (__process_machine_rela): Likewise.
17211         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17212         Likewise.
17213         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17214         Likewise.
17215         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17216         Likewise.
17217         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17218         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17219         Likewise.
17220         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17221         Likewise.
17222         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17223
17224 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
17225
17226         * po/be.po: Add descriptive title.
17227         * po/zh_CN.po: Likewise.
17228         * po/header.pot: Likewise.
17229
17230 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
17231
17232         * locale/programs/locarchive.c (create_archive): Inlucde fname in
17233         error message.
17234         (enlarge_archive): Likewise.
17235
17236 2013-05-28  Ben North  <ben@redfrontdoor.org>
17237
17238         * manual/arith.texi (frexp): It is the magnitude of the return
17239         value which lies in [0.5, 1), not the return value itself.
17240
17241 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17242
17243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17244
17245 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
17246
17247         * stdio-common/bug26.c (main): Correct fscanf template.
17248
17249         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17250         declare _dl_skip_args.
17251
17252         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17253         Don't declare.
17254
17255         * manual/platform.texi: Add missing @end deftypefun.
17256
17257 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17258
17259         [BZ #15529]
17260         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17261         bit of mantissa of 2^16382.
17262         * math/libm-test.inc (hypot_test_data): Add more tests.
17263
17264         * math/libm-test.inc: Add drem and pow10 to list of tested
17265         functions.
17266         (pow10_test): New function.
17267         (drem_test): Likewise.
17268         (drem_test_tonearest): Likewise.
17269         (drem_test_towardzero): Likewise.
17270         (drem_test_downward): Likewise.
17271         (drem_test_upward): Likewise.
17272         (main): Call the new functions.
17273
17274         * math/libm-test.inc (finite_test_data): Remove.
17275         (finite_test): Run tests from isfinite_test_data.
17276         (gamma_test_data): Remove.
17277         (gamma_test): Run tests from lgamma_test_data.
17278         * sysdeps/i386/fpu/libm-test-ulps: Update.
17279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17280
17281 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17282
17283         * manual/platform.texi: Add PowerPC PPR function set documentation.
17284         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17285         implementation.
17286
17287 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
17288
17289         * math/libm-test.inc (MAX_EXP): Define.
17290         (ULPDIFF): Define.
17291         (ulp): New function.
17292         (check_float_internal): Use ULPDIFF.
17293         (cpow_test): Disable failing test.
17294         (check_ulp): Test ulp() implemetnation.
17295         (main): Call check_ulp before starting tests.
17296
17297 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17298
17299         * math/gen-libm-test.pl (generate_testfile): Do not handle
17300         START_DATA and END_DATA.
17301         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17302         END_DATA.
17303         (acos_tonearest_test_data): Likewise.
17304         (acos_towardzero_test_data): Likewise.
17305         (acos_downward_test_data): Likewise.
17306         (acos_upward_test_data): Likewise.
17307         (acosh_test_data): Likewise.
17308         (asin_test_data): Likewise.
17309         (asin_tonearest_test_data): Likewise.
17310         (asin_towardzero_test_data): Likewise.
17311         (asin_downward_test_data): Likewise.
17312         (asin_upward_test_data): Likewise.
17313         (asinh_test_data): Likewise.
17314         (atan_test_data): Likewise.
17315         (atanh_test_data): Likewise.
17316         (atan2_test_data): Likewise.
17317         (cabs_test_data): Likewise.
17318         (cacos_test_data): Likewise.
17319         (cacosh_test_data): Likewise.
17320         (carg_test_data): Likewise.
17321         (casin_test_data): Likewise.
17322         (casinh_test_data): Likewise.
17323         (catan_test_data): Likewise.
17324         (catanh_test_data): Likewise.
17325         (cbrt_test_data): Likewise.
17326         (ccos_test_data): Likewise.
17327         (ccosh_test_data): Likewise.
17328         (ceil_test_data): Likewise.
17329         (cexp_test_data): Likewise.
17330         (cimag_test_data): Likewise.
17331         (clog_test_data): Likewise.
17332         (clog10_test_data): Likewise.
17333         (conj_test_data): Likewise.
17334         (copysign_test_data): Likewise.
17335         (cos_test_data): Likewise.
17336         (cos_tonearest_test_data): Likewise.
17337         (cos_towardzero_test_data): Likewise.
17338         (cos_downward_test_data): Likewise.
17339         (cos_upward_test_data): Likewise.
17340         (cosh_test_data): Likewise.
17341         (cosh_tonearest_test_data): Likewise.
17342         (cosh_towardzero_test_data): Likewise.
17343         (cosh_downward_test_data): Likewise.
17344         (cosh_upward_test_data): Likewise.
17345         (cpow_test_data): Likewise.
17346         (cproj_test_data): Likewise.
17347         (creal_test_data): Likewise.
17348         (csin_test_data): Likewise.
17349         (csinh_test_data): Likewise.
17350         (csqrt_test_data): Likewise.
17351         (ctan_test_data): Likewise.
17352         (ctan_tonearest_test_data): Likewise.
17353         (ctan_towardzero_test_data): Likewise.
17354         (ctan_downward_test_data): Likewise.
17355         (ctan_upward_test_data): Likewise.
17356         (ctanh_test_data): Likewise.
17357         (ctanh_tonearest_test_data): Likewise.
17358         (ctanh_towardzero_test_data): Likewise.
17359         (ctanh_downward_test_data): Likewise.
17360         (ctanh_upward_test_data): Likewise.
17361         (erf_test_data): Likewise.
17362         (erfc_test_data): Likewise.
17363         (exp_test_data): Likewise.
17364         (exp_tonearest_test_data): Likewise.
17365         (exp_towardzero_test_data): Likewise.
17366         (exp_downward_test_data): Likewise.
17367         (exp_upward_test_data): Likewise.
17368         (exp10_test_data): Likewise.
17369         (exp2_test_data): Likewise.
17370         (expm1_test_data): Likewise.
17371         (fabs_test_data): Likewise.
17372         (fdim_test_data): Likewise.
17373         (finite_test_data): Likewise.
17374         (floor_test_data): Likewise.
17375         (fma_test_data): Likewise.
17376         (fma_towardzero_test_data): Likewise.
17377         (fma_downward_test_data): Likewise.
17378         (fma_upward_test_data): Likewise.
17379         (fmax_test_data): Likewise.
17380         (fmin_test_data): Likewise.
17381         (fmod_test_data): Likewise.
17382         (fpclassify_test_data): Likewise.
17383         (frexp_test_data): Likewise.
17384         (gamma_test_data): Likewise.
17385         (hypot_test_data): Likewise.
17386         (ilogb_test_data): Likewise.
17387         (isfinite_test_data): Likewise.
17388         (isgreater_test_data): Likewise.
17389         (isgreaterequal_test_data): Likewise.
17390         (isinf_test_data): Likewise.
17391         (isless_test_data): Likewise.
17392         (islessequal_test_data): Likewise.
17393         (islessgreater_test_data): Likewise.
17394         (isnan_test_data): Likewise.
17395         (isnormal_test_data): Likewise.
17396         (issignaling_test_data): Likewise.
17397         (isunordered_test_data): Likewise.
17398         (j0_test_data): Likewise.
17399         (j1_test_data): Likewise.
17400         (jn_test_data): Likewise.
17401         (ldexp_test_data): Likewise.
17402         (lgamma_test_data): Likewise.
17403         (lrint_test_data): Likewise.
17404         (lrint_tonearest_test_data): Likewise.
17405         (lrint_towardzero_test_data): Likewise.
17406         (lrint_downward_test_data): Likewise.
17407         (lrint_upward_test_data): Likewise.
17408         (llrint_test_data): Likewise.
17409         (llrint_tonearest_test_data): Likewise.
17410         (llrint_towardzero_test_data): Likewise.
17411         (llrint_downward_test_data): Likewise.
17412         (llrint_upward_test_data): Likewise.
17413         (log_test_data): Likewise.
17414         (log10_test_data): Likewise.
17415         (log1p_test_data): Likewise.
17416         (log2_test_data): Likewise.
17417         (logb_test_data): Likewise.
17418         (logb_downward_test_data): Likewise.
17419         (lround_test_data): Likewise.
17420         (llround_test_data): Likewise.
17421         (modf_test_data): Likewise.
17422         (nearbyint_test_data): Likewise.
17423         (nextafter_test_data): Likewise.
17424         (nexttoward_test_data): Likewise.
17425         (pow_test_data): Likewise.
17426         (pow_tonearest_test_data): Likewise.
17427         (pow_towardzero_test_data): Likewise.
17428         (pow_downward_test_data): Likewise.
17429         (pow_upward_test_data): Likewise.
17430         (remainder_test_data): Likewise.
17431         (remainder_tonearest_test_data): Likewise.
17432         (remainder_towardzero_test_data): Likewise.
17433         (remainder_downward_test_data): Likewise.
17434         (remainder_upward_test_data): Likewise.
17435         (remquo_test_data): Likewise.
17436         (rint_test_data): Likewise.
17437         (rint_tonearest_test_data): Likewise.
17438         (rint_towardzero_test_data): Likewise.
17439         (rint_downward_test_data): Likewise.
17440         (rint_upward_test_data): Likewise.
17441         (round_test_data): Likewise.
17442         (scalb_test_data): Likewise.
17443         (scalbn_test_data): Likewise.
17444         (scalbln_test_data): Likewise.
17445         (signbit_test_data): Likewise.
17446         (sin_test_data): Likewise.
17447         (sin_tonearest_test_data): Likewise.
17448         (sin_towardzero_test_data): Likewise.
17449         (sin_downward_test_data): Likewise.
17450         (sin_upward_test_data): Likewise.
17451         (sincos_test_data): Likewise.
17452         (sinh_test_data): Likewise.
17453         (sinh_tonearest_test_data): Likewise.
17454         (sinh_towardzero_test_data): Likewise.
17455         (sinh_downward_test_data): Likewise.
17456         (sinh_upward_test_data): Likewise.
17457         (sqrt_test_data): Likewise.
17458         (tan_test_data): Likewise.
17459         (tan_tonearest_test_data): Likewise.
17460         (tan_towardzero_test_data): Likewise.
17461         (tan_downward_test_data): Likewise.
17462         (tan_upward_test_data): Likewise.
17463         (tanh_test_data): Likewise.
17464         (tgamma_test_data): Likewise.
17465         (trunc_test_data): Likewise.
17466         (y0_test_data): Likewise.
17467         (y1_test_data): Likewise.
17468         (yn_test_data): Likewise.
17469         (significand_test_data): Likewise.
17470
17471         * math/gen-libm-test.pl (@functions): Remove variable.
17472         (generate_testfile): Don't handle START and END lines.
17473         * math/libm-test.inc (START): New macro.
17474         (END): Likewise.
17475         (END_COMPLEX): Likewise.
17476         (acos_test): Use END macro without arguments.
17477         (acos_test_tonearest): Likewise.
17478         (acos_test_towardzero): Likewise.
17479         (acos_test_downward): Likewise.
17480         (acos_test_upward): Likewise.
17481         (acosh_test): Likewise.
17482         (asin_test): Likewise.
17483         (asin_test_tonearest): Likewise.
17484         (asin_test_towardzero): Likewise.
17485         (asin_test_downward): Likewise.
17486         (asin_test_upward): Likewise.
17487         (asinh_test): Likewise.
17488         (atan_test): Likewise.
17489         (atanh_test): Likewise.
17490         (atan2_test): Likewise.
17491         (cabs_test): Likewise.
17492         (cacos_test): Use END_COMPLEX macro without arguments.
17493         (cacosh_test): Likewise.
17494         (carg_test): Use END macro without arguments.
17495         (casin_test): Use END_COMPLEX macro without arguments.
17496         (casinh_test): Likewise.
17497         (catan_test): Likewise.
17498         (catanh_test): Likewise.
17499         (cbrt_test): Use END macro without arguments.
17500         (ccos_test): Use END_COMPLEX macro without arguments.
17501         (ccosh_test): Likewise.
17502         (ceil_test): Use END macro without arguments.
17503         (cexp_test): Use END_COMPLEX macro without arguments.
17504         (cimag_test): Use END macro without arguments.
17505         (clog_test): Use END_COMPLEX macro without arguments.
17506         (clog10_test): Likewise.
17507         (conj_test): Likewise.
17508         (copysign_test): Use END macro without arguments.
17509         (cos_test): Likewise.
17510         (cos_test_tonearest): Likewise.
17511         (cos_test_towardzero): Likewise.
17512         (cos_test_downward): Likewise.
17513         (cos_test_upward): Likewise.
17514         (cosh_test): Likewise.
17515         (cosh_test_tonearest): Likewise.
17516         (cosh_test_towardzero): Likewise.
17517         (cosh_test_downward): Likewise.
17518         (cosh_test_upward): Likewise.
17519         (cpow_test): Use END_COMPLEX macro without arguments.
17520         (cproj_test): Likewise.
17521         (creal_test): Use END macro without arguments.
17522         (csin_test): Use END_COMPLEX macro without arguments.
17523         (csinh_test): Likewise.
17524         (csqrt_test): Likewise.
17525         (ctan_test): Likewise.
17526         (ctan_test_tonearest): Likewise.
17527         (ctan_test_towardzero): Likewise.
17528         (ctan_test_downward): Likewise.
17529         (ctan_test_upward): Likewise.
17530         (ctanh_test): Likewise.
17531         (ctanh_test_tonearest): Likewise.
17532         (ctanh_test_towardzero): Likewise.
17533         (ctanh_test_downward): Likewise.
17534         (ctanh_test_upward): Likewise.
17535         (erf_test): Use END macro without arguments.
17536         (erfc_test): Likewise.
17537         (exp_test): Likewise.
17538         (exp_test_tonearest): Likewise.
17539         (exp_test_towardzero): Likewise.
17540         (exp_test_downward): Likewise.
17541         (exp_test_upward): Likewise.
17542         (exp10_test): Likewise.
17543         (exp2_test): Likewise.
17544         (expm1_test): Likewise.
17545         (fabs_test): Likewise.
17546         (fdim_test): Likewise.
17547         (finite_test): Likewise.
17548         (floor_test): Likewise.
17549         (fma_test): Likewise.
17550         (fma_test_towardzero): Likewise.
17551         (fma_test_downward): Likewise.
17552         (fma_test_upward): Likewise.
17553         (fmax_test): Likewise.
17554         (fmin_test): Likewise.
17555         (fmod_test): Likewise.
17556         (fpclassify_test): Likewise.
17557         (frexp_test): Likewise.
17558         (gamma_test): Likewise.
17559         (hypot_test): Likewise.
17560         (ilogb_test): Likewise.
17561         (isfinite_test): Likewise.
17562         (isgreater_test): Likewise.
17563         (isgreaterequal_test): Likewise.
17564         (isinf_test): Likewise.
17565         (isless_test): Likewise.
17566         (islessequal_test): Likewise.
17567         (islessgreater_test): Likewise.
17568         (isnan_test): Likewise.
17569         (isnormal_test): Likewise.
17570         (issignaling_test): Likewise.
17571         (isunordered_test): Likewise.
17572         (j0_test): Likewise.
17573         (j1_test): Likewise.
17574         (jn_test): Likewise.
17575         (ldexp_test): Likewise.
17576         (lgamma_test): Likewise.
17577         (lrint_test): Likewise.
17578         (lrint_test_tonearest): Likewise.
17579         (lrint_test_towardzero): Likewise.
17580         (lrint_test_downward): Likewise.
17581         (lrint_test_upward): Likewise.
17582         (llrint_test): Likewise.
17583         (llrint_test_tonearest): Likewise.
17584         (llrint_test_towardzero): Likewise.
17585         (llrint_test_downward): Likewise.
17586         (llrint_test_upward): Likewise.
17587         (log_test): Likewise.
17588         (log10_test): Likewise.
17589         (log1p_test): Likewise.
17590         (log2_test): Likewise.
17591         (logb_test): Likewise.
17592         (logb_test_downward): Likewise.
17593         (lround_test): Likewise.
17594         (llround_test): Likewise.
17595         (modf_test): Likewise.
17596         (nearbyint_test): Likewise.
17597         (nextafter_test): Likewise.
17598         (nexttoward_test): Likewise.
17599         (pow_test): Likewise.
17600         (pow_test_tonearest): Likewise.
17601         (pow_test_towardzero): Likewise.
17602         (pow_test_downward): Likewise.
17603         (pow_test_upward): Likewise.
17604         (remainder_test): Likewise.
17605         (remainder_test_tonearest): Likewise.
17606         (remainder_test_towardzero): Likewise.
17607         (remainder_test_downward): Likewise.
17608         (remainder_test_upward): Likewise.
17609         (remquo_test): Likewise.
17610         (rint_test): Likewise.
17611         (rint_test_tonearest): Likewise.
17612         (rint_test_towardzero): Likewise.
17613         (rint_test_downward): Likewise.
17614         (rint_test_upward): Likewise.
17615         (round_test): Likewise.
17616         (scalb_test): Likewise.
17617         (scalbn_test): Likewise.
17618         (scalbln_test): Likewise.
17619         (signbit_test): Likewise.
17620         (sin_test): Likewise.
17621         (sin_test_tonearest): Likewise.
17622         (sin_test_towardzero): Likewise.
17623         (sin_test_downward): Likewise.
17624         (sin_test_upward): Likewise.
17625         (sincos_test): Likewise.
17626         (sinh_test): Likewise.
17627         (sinh_test_tonearest): Likewise.
17628         (sinh_test_towardzero): Likewise.
17629         (sinh_test_downward): Likewise.
17630         (sinh_test_upward): Likewise.
17631         (sqrt_test): Likewise.
17632         (tan_test): Likewise.
17633         (tan_test_tonearest): Likewise.
17634         (tan_test_towardzero): Likewise.
17635         (tan_test_downward): Likewise.
17636         (tan_test_upward): Likewise.
17637         (tanh_test): Likewise.
17638         (tgamma_test): Likewise.
17639         (trunc_test): Likewise.
17640         (y0_test): Likewise.
17641         (y1_test): Likewise.
17642         (yn_test): Likewise.
17643         (significand_test): Likewise.
17644
17645 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
17646
17647         [BZ #15381]
17648         * libio/genops.c (_IO_no_init): Initialize wide struct info.
17649
17650 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17651
17652         [BZ #14894]
17653         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17654         __ppc_mdoio and __ppc_mdoom.
17655         * manual/platform.texi: Document new functions __ppc_yield,
17656         __ppc_mdoio and __ppc_mdoom.
17657
17658 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
17659
17660         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17661         (main): Mention "tls" pseudo-hwcap is legacy.
17662         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17663
17664 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17665
17666         * math/gen-libm-test.pl (parse_args): Output only string of
17667         arguments as text for test name, not full call or descriptions of
17668         tests for extra outputs.
17669         (generate_testfile): Do not pass function name to parse_args.
17670         Generate this_func variable from START.
17671         * math/libm-test.inc (struct test_f_f_data): Rename test_name
17672         field to arg_str.
17673         (struct test_ff_f_data): Likewise.
17674         (test_ff_f_data_nexttoward): Likewise.
17675         (struct test_fi_f_data): Likewise.
17676         (struct test_fl_f_data): Likewise.
17677         (struct test_if_f_data): Likewise.
17678         (struct test_fff_f_data): Likewise.
17679         (struct test_c_f_data): Likewise.
17680         (struct test_f_f1_data): Likewise.  Remove field extra_name.
17681         (struct test_fF_f1_data): Likewise.
17682         (struct test_ffI_f1_data): Likewise.
17683         (struct test_c_c_data): Rename test_name field to arg_str.
17684         (struct test_cc_c_data): Likewise.
17685         (struct test_f_i_data): Likewise.
17686         (struct test_ff_i_data): Likewise.
17687         (struct test_f_l_data): Likewise.
17688         (struct test_f_L_data): Likewise.
17689         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
17690         and extra2_name.
17691         (COMMON_TEST_SETUP): New macro.
17692         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17693         (COMMON_TEST_CLEANUP): Likewise.
17694         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17695         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
17696         macros.
17697         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17698         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
17699         macros.
17700         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17701         (RUN_TEST_fff_f): Take argument string.  Call new setup and
17702         cleanup macros.
17703         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17704         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
17705         macros.
17706         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17707         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
17708         macros.
17709         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17710         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
17711         cleanup macros.
17712         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17713         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
17714         cleanup macros.
17715         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17716         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
17717         cleanup macros.
17718         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17719         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
17720         macros.
17721         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17722         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
17723         macros.
17724         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17725         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
17726         macros.
17727         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17728         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
17729         cleanup macros.
17730         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17731         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
17732         cleanup macros.
17733         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17734         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
17735         macros.
17736         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17737         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
17738         cleanup macros.
17739         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17740         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
17741         macros.
17742         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17743         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
17744         macros.
17745         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17746         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
17747         cleanup macros.
17748         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17749
17750 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
17751
17752         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17753         to _sifields.sigfault.
17754         (si_addr_lsb): Define new macro.
17755         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17756         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17757         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17758
17759 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
17760
17761         [BZ #15441]
17762         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17763         returns -1.
17764         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17765         null return -1.
17766         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17767         loading the domain.
17768
17769 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17770
17771         * math/gen-libm-test.pl (parse_args): Do not include expected
17772         result in test name.
17773         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17774         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17775         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17776         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17777         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17779
17780 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17781
17782         * benchtests/Makefile: Sort function entries.
17783
17784         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17785         tanh, asinh, acosh, atanh.
17786         * benchtests/acos-inputs: New file.
17787         * benchtests/acosh-inputs: New file.
17788         * benchtests/asin-inputs: New file.
17789         * benchtests/asinh-inputs: New file.
17790         * benchtests/atanh-inputs: New file.
17791         * benchtests/cosh-inputs: New file.
17792         * benchtests/log-inputs: New file.
17793         * benchtests/sinh-inputs: New file.
17794         * benchtests/tanh-inputs: New file.
17795
17796 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
17797
17798         [BZ #15339]
17799         * posix/tst-getaddrinfo4.c: New test.
17800         * posix/Makefile (tests): Add it.
17801
17802 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17803
17804         [BZ #15339]
17805         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17806         when no services were used.
17807         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17808         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17809
17810 2013-05-21  Andreas Schwab  <schwab@suse.de>
17811
17812         [BZ #15014]
17813         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17814         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17815         successful.
17816         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17817         redundant variable declarations and reallocation of buffer when
17818         parsing as IPv6 address.  Always set NSS status when called from
17819         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
17820         buffer too small.  Correct computation of needed size.
17821         * nss/Makefile (tests): Add test-digits-dots.
17822         * nss/test-digits-dots.c: New test.
17823
17824 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17825
17826         * benchtests/Makefile: Remove instructions for adding
17827         benchmark tests.
17828         * benchtests/README: New file to explain how to execute and
17829         enhance the benchmark tests.
17830
17831 2013-05-21  Andreas Schwab  <schwab@suse.de>
17832
17833         [BZ #15493]
17834         * setjmp/Makefile (tests): Add tst-sigsetjmp.
17835         * setjmp/tst-sigsetjmp.c: New test.
17836
17837 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
17838
17839         * sysdeps/x86_64/memset.S (memset): New implementation.
17840         (__bzero): Likewise.
17841         (__memset_tail): New function.
17842
17843 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
17844
17845         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17846         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17847         __memcpy_sse2_unaligned ifunc selection.
17848         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17849         Add memcpy-sse2-unaligned.S.
17850         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17851         Add: __memcpy_sse2_unaligned.
17852
17853 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
17854
17855         [BZ #15490]
17856         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17857         math_force_eval before restoring floating-point envrionment.
17858         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17859         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17860         Likewise.
17861         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17862         <math_private.h>.
17863         (__nearbyintl): Use math_force_eval before restoring
17864         floating-point environment.
17865         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17866
17867         * math/gen-libm-test.pl (special_functions): Remove.
17868         (parse_args): Don't handle TEST_extra.  Handle functions with no
17869         return value.
17870         * math/libm-test.inc (struct test_sincos_data): Replace with
17871         struct test_fFF_11_data.
17872         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17873         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17874         (sincos_test_data): Change element type to struct
17875         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
17876         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17877         RUN_TEST_LOOP_sincos.
17878         * math/README.libm-test: Don't mention special handling of
17879         individual functions.
17880         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17881         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17882         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17883         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17884         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17886
17887         * math/gen-libm-test.pl (get_variable): Remove function.
17888         (parse_args): Don't show pointer parameters to call in test
17889         names.  Use "extra output N" in test names for extra outputs
17890         rather than naming variables.
17891
17892 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
17893
17894         [BZ #15488]
17895         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17896         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17897         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17898         double tests.
17899         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17900         disable.
17901         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17902         check_long_double.
17903
17904         * math/gen-libm-test.pl (@tests): Remove variable.
17905         ($count): Likewise.
17906         (new_test): Remove function.
17907         (show_exceptions): New function.
17908         (special_functions): Use show_exceptions instead of new_test.
17909         (parse_args): Likewise.
17910         (generate_testfile): Pass only function name in generated call to
17911         print_max_error or print_complex_max_error.
17912         (get_ulps): Do not handle complex tests specially.
17913         (output_test): Rename to ...
17914         (get_all_ulps_for_test): ... this.  Return a string rather than
17915         printing to a file.  Require ulps to be present.
17916         (output_ulps): Generate arrays rather than #defines.
17917         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17918         (struct ulp_data): New type.
17919         (BUILD_COMPLEX_ULP): Remove macro.
17920         (compare_ulp_data): New function.
17921         (find_ulps): Likewise.
17922         (find_test_ulps): Likewise.
17923         (find_function_ulps): Likewise.
17924         (find_complex_function_ulps): Likewise.
17925         (print_max_error): Determine allowed ulps using
17926         find_function_ulps.
17927         (print_complex_max_error): Determine allowed ulps using
17928         find_complex_function_ulps.
17929         (check_float_internal): Determine max ulps using find_test_ulps.
17930         (check_float): Do not take max_ulp parameter.  Update call to
17931         check_float_internal.
17932         (check_complex): Likewise.
17933         (check_int): Do not take max_ulp parameter.
17934         (check_long): Likewise.
17935         (check_bool): Likewise.
17936         (check_longlong): Likewise.
17937         (struct test_f_f_data): Remove max_ulp field.
17938         (struct test_ff_f_data): Likewise.
17939         (struct test_ff_f_data_nexttoward): Likewise.
17940         (struct test_fi_f_data): Likewise.
17941         (struct test_fl_f_data): Likewise.
17942         (struct test_if_f_data): Likewise.
17943         (struct test_fff_f_data): Likewise.
17944         (struct test_c_f_data): Likewise.
17945         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17946         (struct test_fF_f1_data): Likewise.
17947         (struct test_ffI_f1_data): Likewise.
17948         (struct test_c_c_data): Remove max_ulp field.
17949         (struct test_cc_c_data): Likewise.
17950         (struct test_f_i_data): Likewise.
17951         (struct test_ff_i_data): Likewise.
17952         (struct test_f_l_data): Likewise.
17953         (struct test_f_L_data): Likewise.
17954         (struct test_sincos_data): Likewise.
17955         (RUN_TEST_f_f): Do not handle ulps.
17956         (RUN_TEST_LOOP_f_f): Likewise.
17957         (RUN_TEST_2_f): Likewise.
17958         (RUN_TEST_LOOP_2_f): Likewise.
17959         (RUN_TEST_fff_f): Likewise.
17960         (RUN_TEST_LOOP_fff_f): Likewise.
17961         (RUN_TEST_c_f): Likewise.
17962         (RUN_TEST_LOOP_c_f): Likewise.
17963         (RUN_TEST_f_f1): Likewise.
17964         (RUN_TEST_LOOP_f_f1): Likewise.
17965         (RUN_TEST_fF_f1): Likewise.
17966         (RUN_TEST_LOOP_fF_f1): Likewise.
17967         (RUN_TEST_fI_f1): Likewise.
17968         (RUN_TEST_LOOP_fI_f1): Likewise.
17969         (RUN_TEST_ffI_f1): Likewise.
17970         (RUN_TEST_LOOP_ffI_f1): Likewise.
17971         (RUN_TEST_c_c): Likewise.
17972         (RUN_TEST_LOOP_c_c): Likewise.
17973         (RUN_TEST_cc_c): Likewise.
17974         (RUN_TEST_LOOP_cc_c): Likewise.
17975         (RUN_TEST_f_i): Likewise.
17976         (RUN_TEST_LOOP_f_i): Likewise.
17977         (RUN_TEST_f_i_tg): Likewise.
17978         (RUN_TEST_LOOP_f_i_tg): Likewise.
17979         (RUN_TEST_ff_i_tg): Likewise.
17980         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17981         (RUN_TEST_f_b): Likewise.
17982         (RUN_TEST_LOOP_f_b): Likewise.
17983         (RUN_TEST_f_b_tg): Likewise.
17984         (RUN_TEST_LOOP_f_b_tg): Likewise.
17985         (RUN_TEST_f_l): Likewise.
17986         (RUN_TEST_LOOP_f_l): Likewise.
17987         (RUN_TEST_f_L): Likewise.
17988         (RUN_TEST_LOOP_f_L): Likewise.
17989         (RUN_TEST_sincos): Likewise.
17990         (RUN_TEST_LOOP_sincos): Likewise.
17991
17992 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
17993
17994         [BZ #15480]
17995         [BZ #15485]
17996         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17997         main case of finite arguments, set rounding mode to FE_TONEAREST
17998         and discard exceptions.
17999         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18000         exceptions.
18001         (remainder_tonearest_test_data): New variable.
18002         (remainder_test_tonearest): New function.
18003         (remainder_towardzero_test_data): New variable.
18004         (remainder_test_towardzero): New function.
18005         (remainder_downward_test_data): New variable.
18006         (remainder_test_downward): New function.
18007         (remainder_upward_test_data): New variable.
18008         (remainder_test_upward): New function.
18009         (main): Call the new test functions.
18010
18011         * math/libm-test.inc (struct test_f_f1_data): Remove field
18012         extra_init.
18013         (struct test_fF_f1_data): Likewise.
18014         (struct test_ffI_f1_data): Likewise.
18015         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18016         based on value of EXTRA_EXPECTED.
18017         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18018         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18019         EXTRA_VAR based on value of EXTRA_EXPECTED.
18020         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18021         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18022         EXTRA_VAR based on value of EXTRA_EXPECTED.
18023         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18024         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18025         EXTRA_VAR based on value of EXTRA_EXPECTED.
18026         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18027         * math/gen-libm-test.pl (parse_args): Don't output initializers
18028         for extra output values.
18029
18030         * math/libm-test.inc (check_int): Expect result to be exactly
18031         equal to expected value and do not handle ulps.
18032         (check_long): Likewise.
18033         (check_longlong): Likewise.
18034
18035         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18036         exceptions.
18037         (cimag_test_data): Likewise.
18038         (conj_test_data): Likewise.
18039         (copysign_test_data): Likewise.
18040         (cproj_test_data): Likewise.
18041         (creal_test_data): Likewise.
18042         (fabs_test_data): Likewise.
18043         (fdim_test_data): Likewise.
18044         (finite_test_data): Likewise.
18045         (floor_test_data): Likewise.
18046         (fmax_test_data): Likewise.
18047         (fmin_test_data): Likewise.
18048         (fmod_test_data): Likewise.
18049         (fpclassify_test_data): Likewise.
18050         (frexp_test_data): Likewise.
18051         (ilogb_test_data): Likewise.
18052         (isfinite_test_data): Likewise.
18053         (isgreater_test_data): Likewise.
18054         (isgreaterequal_test_data): Likewise.
18055         (isinf_test_data): Likewise.
18056         (isless_test_data): Likewise.
18057         (islessequal_test_data): Likewise.
18058         (islessgreater_test_data): Likewise.
18059         (isnan_test_data): Likewise.
18060         (isnormal_test_data): Likewise.
18061         (issignaling_test_data): Likewise.
18062         (isunordered_test_data): Likewise.
18063         (ldexp_test_data): Likewise.
18064         (lrint_test_data): Likewise.
18065         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18066         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18067         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18068         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18069         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18070         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18071         test input.
18072         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18073         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18074         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18075         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18076         that test input.
18077         (lrint_downward_test_data): Test for "inexact" exceptions.
18078         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18079         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18080         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18081         test input.
18082         (lrint_upward_test_data): Test for "inexact" exceptions.
18083         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18084         test input.
18085         (llrint_test_data): Test for "inexact" exceptions.
18086         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18087         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18088         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18089         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18090         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18091         (llrint_downward_test_data): Test for "inexact" exceptions.
18092         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18093         (llrint_upward_test_data): Test for "inexact" exceptions.
18094         (logb_test_data): Likewise.
18095         (logb_downward_test_data): Likewise.
18096         (nextafter_test_data): Likewise.
18097         (nexttoward_test_data): Likewise.
18098         (remainder_test_data): Likewise.
18099         (remquo_test_data): Likewise.
18100         (scalbn_test_data): Likewise.
18101         (scalbln_test_data): Likewise.
18102         (signbit_test_data): Likewise.
18103         (sqrt_test_data): Likewise.
18104         (significand_test_data): Likewise.
18105
18106 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18107
18108         [BZ #15424]
18109         * benchtests/bench-modf.c (struct args): Mark arg0 as
18110         volatile.
18111         * scripts/bench.pl: Mark members of struct args as volatile.
18112
18113 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18114
18115         [BZ # 15497]
18116         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18117         negative infinity on POWER6 or lower.
18118         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18119
18120 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18121
18122         [BZ #15442]
18123         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18124         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18125         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18126         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18127         (_FP_SETQNAN): New macro.
18128         (_FP_SETQNAN_SEMIRAW): Likewise.
18129         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18130         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18131         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18132         (FP_EXTEND): Use _FP_FRAC_SNANP.
18133         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18134         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18135         into account.
18136         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18137         New macro.
18138         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18139         Likewise.
18140
18141 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18142
18143         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18144         with DIVIDE_BY_ZERO_EXCEPTION.
18145         (gamma_test_data): Likewise.
18146         (lgamma_test_data): Likewise.
18147         (log_test_data): Likewise.
18148         (log10_test_data): Likewise.
18149         (log2_test_data): Likewise.
18150         (tgamma_test_data): Likewise.
18151
18152         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18153         (acos_test_tonearest): Likewise.
18154         (acos_test_towardzero): Likewise.
18155         (acos_test_downward): Likewise.
18156         (acos_test_upward): Likewise.
18157         (acosh_test): Likewise.
18158         (asin_test): Likewise.
18159         (asin_test_tonearest): Likewise.
18160         (asin_test_towardzero): Likewise.
18161         (asin_test_downward): Likewise.
18162         (asin_test_upward): Likewise.
18163         (asinh_test): Likewise.
18164         (atan_test): Likewise.
18165         (atanh_test): Likewise.
18166         (atan2_test): Likewise.
18167         (cabs_test): Likewise.
18168         (cacos_test): Likewise.
18169         (cacosh_test): Likewise.
18170         (casin_test): Likewise.
18171         (casinh_test): Likewise.
18172         (catan_test): Likewise.
18173         (catanh_test): Likewise.
18174         (cbrt_test): Likewise.
18175         (ccos_test): Likewise.
18176         (ccosh_test): Likewise.
18177         (cexp_test): Likewise.
18178         (clog_test): Likewise.
18179         (clog10_test): Likewise.
18180         (cos_test): Likewise.
18181         (cos_test_tonearest): Likewise.
18182         (cos_test_towardzero): Likewise.
18183         (cos_test_downward): Likewise.
18184         (cos_test_upward): Likewise.
18185         (cosh_test): Likewise.
18186         (cosh_test_tonearest): Likewise.
18187         (cosh_test_towardzero): Likewise.
18188         (cosh_test_downward): Likewise.
18189         (cosh_test_upward): Likewise.
18190         (cpow_test): Likewise.
18191         (csin_test): Likewise.
18192         (csinh_test): Likewise.
18193         (csqrt_test): Likewise.
18194         (ctan_test): Likewise.
18195         (ctan_test_tonearest): Likewise.
18196         (ctan_test_towardzero): Likewise.
18197         (ctan_test_downward): Likewise.
18198         (ctan_test_upward): Likewise.
18199         (ctanh_test): Likewise.
18200         (ctanh_test_tonearest): Likewise.
18201         (ctanh_test_towardzero): Likewise.
18202         (ctanh_test_downward): Likewise.
18203         (ctanh_test_upward): Likewise.
18204         (erf_test): Likewise.
18205         (erfc_test): Likewise.
18206         (exp_test): Likewise.
18207         (exp_test_tonearest): Likewise.
18208         (exp_test_towardzero): Likewise.
18209         (exp_test_downward): Likewise.
18210         (exp_test_upward): Likewise.
18211         (exp10_test): Likewise.
18212         (exp2_test): Likewise.
18213         (expm1_test): Likewise.
18214         (fmod_test): Likewise.
18215         (gamma_test): Likewise.
18216         (hypot_test): Likewise.
18217         (j0_test): Likewise.
18218         (j1_test): Likewise.
18219         (jn_test): Likewise.
18220         (lgamma_test): Likewise.
18221         (log_test): Likewise.
18222         (log10_test): Likewise.
18223         (log1p_test): Likewise.
18224         (log2_test): Likewise.
18225         (logb_test_downward): Likewise.
18226         (pow_test): Likewise.
18227         (pow_test_tonearest): Likewise.
18228         (pow_test_towardzero): Likewise.
18229         (pow_test_downward): Likewise.
18230         (pow_test_upward): Likewise.
18231         (remainder_test): Likewise.
18232         (remquo_test): Likewise.
18233         (sin_test): Likewise.
18234         (sin_test_tonearest): Likewise.
18235         (sin_test_towardzero): Likewise.
18236         (sin_test_downward): Likewise.
18237         (sin_test_upward): Likewise.
18238         (sincos_test): Likewise.
18239         (sinh_test): Likewise.
18240         (sinh_test_tonearest): Likewise.
18241         (sinh_test_towardzero): Likewise.
18242         (sinh_test_downward): Likewise.
18243         (sinh_test_upward): Likewise.
18244         (sqrt_test): Likewise.
18245         (tan_test): Likewise.
18246         (tan_test_tonearest): Likewise.
18247         (tan_test_towardzero): Likewise.
18248         (tan_test_downward): Likewise.
18249         (tan_test_upward): Likewise.
18250         (tanh_test): Likewise.
18251         (tgamma_test): Likewise.
18252         (y0_test): Likewise.
18253         (y1_test): Likewise.
18254         (yn_test): Likewise.
18255
18256         * math/gen-libm-test.pl (adjust_arg): Remove function.
18257         (special_function): Remove argument $in_func.  Only handle
18258         generating output for tables of tests, not inside functions.
18259         (parse_args): Likewise.
18260         (generate_testfile): Remove variable $in_func.  Update call to
18261         parse_args.
18262         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18263         (MINUS_ZERO_INIT): Rename macro to minus_zero.
18264         (PLUS_INFTY_INIT): Rename macro to plus_infty.
18265         (MINUS_INFTY_INIT): Rename macro to minus_infty.
18266         (QNAN_VALUE_INIT): Rename macro to qnan_value.
18267         (MAX_VALUE_INIT): Rename macro to max_value.
18268         (MIN_VALUE_INIT): Rename macro to min_value.
18269         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18270         (plus_zero): Remove variable.
18271         (minus_zero): Likewise.
18272         (plus_infty): Likewise.
18273         (minus_infty): Likewise.
18274         (qnan_value): Likewise.
18275         (max_value): Likewise.
18276         (min_value): Likewise.
18277         (min_subnorm_value): Likewise.
18278
18279 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18280
18281         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18282         uint64_t or uint32_t usage.
18283         * crypt/sha256-block.c: Likewise.
18284         * crypt/sha256-crypt.c: Likewise.
18285         * crypt/sha256.c: Likewise.
18286         * crypt/sha512-block.c: Likewise.
18287         * crypt/sha512-crypt.c: Likewise.
18288         * crypt/sha512.c: Likewise.
18289         * debug/backtrace-tst.c: Likewise.
18290         * debug/pcprofiledump.c: Likewise.
18291         * elf/cache.c: Likewise.
18292         * elf/dl-cache.c: Likewise.
18293         * elf/dl-misc.c: Likewise.
18294         * elf/dl-profile.c: Likewise.
18295         * elf/dl-support.c: Likewise.
18296         * elf/ldconfig.c: Likewise.
18297         * elf/sprof.c: Likewise.
18298         * iconv/dummy-repertoire.c: Likewise.
18299         * iconv/iconv_charmap.c: Likewise.
18300         * iconv/skeleton.c: Likewise.
18301         * iconvdata/8bit-generic.c: Likewise.
18302         * iconvdata/cp737.h: Likewise.
18303         * iconvdata/cp775.h: Likewise.
18304         * iconvdata/ibm1008.h: Likewise.
18305         * iconvdata/ibm1025.h: Likewise.
18306         * iconvdata/ibm1046.h: Likewise.
18307         * iconvdata/ibm1097.h: Likewise.
18308         * iconvdata/ibm1112.h: Likewise.
18309         * iconvdata/ibm1122.h: Likewise.
18310         * iconvdata/ibm1123.h: Likewise.
18311         * iconvdata/ibm1124.h: Likewise.
18312         * iconvdata/ibm1129.h: Likewise.
18313         * iconvdata/ibm1130.h: Likewise.
18314         * iconvdata/ibm1132.h: Likewise.
18315         * iconvdata/ibm1133.h: Likewise.
18316         * iconvdata/ibm1137.h: Likewise.
18317         * iconvdata/ibm1140.h: Likewise.
18318         * iconvdata/ibm1141.h: Likewise.
18319         * iconvdata/ibm1142.h: Likewise.
18320         * iconvdata/ibm1143.h: Likewise.
18321         * iconvdata/ibm1144.h: Likewise.
18322         * iconvdata/ibm1145.h: Likewise.
18323         * iconvdata/ibm1146.h: Likewise.
18324         * iconvdata/ibm1147.h: Likewise.
18325         * iconvdata/ibm1148.h: Likewise.
18326         * iconvdata/ibm1149.h: Likewise.
18327         * iconvdata/ibm1153.h: Likewise.
18328         * iconvdata/ibm1154.h: Likewise.
18329         * iconvdata/ibm1155.h: Likewise.
18330         * iconvdata/ibm1156.h: Likewise.
18331         * iconvdata/ibm1157.h: Likewise.
18332         * iconvdata/ibm1158.h: Likewise.
18333         * iconvdata/ibm1160.h: Likewise.
18334         * iconvdata/ibm1161.h: Likewise.
18335         * iconvdata/ibm1162.h: Likewise.
18336         * iconvdata/ibm1163.h: Likewise.
18337         * iconvdata/ibm1164.h: Likewise.
18338         * iconvdata/ibm1166.h: Likewise.
18339         * iconvdata/ibm1167.h: Likewise.
18340         * iconvdata/ibm12712.h: Likewise.
18341         * iconvdata/ibm1390.h: Likewise.
18342         * iconvdata/ibm1399.h: Likewise.
18343         * iconvdata/ibm16804.h: Likewise.
18344         * iconvdata/ibm4517.h: Likewise.
18345         * iconvdata/ibm4899.h: Likewise.
18346         * iconvdata/ibm4909.h: Likewise.
18347         * iconvdata/ibm4971.h: Likewise.
18348         * iconvdata/ibm5347.h: Likewise.
18349         * iconvdata/ibm803.h: Likewise.
18350         * iconvdata/ibm856.h: Likewise.
18351         * iconvdata/ibm901.h: Likewise.
18352         * iconvdata/ibm902.h: Likewise.
18353         * iconvdata/ibm9030.h: Likewise.
18354         * iconvdata/ibm9066.h: Likewise.
18355         * iconvdata/ibm921.h: Likewise.
18356         * iconvdata/ibm922.h: Likewise.
18357         * iconvdata/ibm9448.h: Likewise.
18358         * iconvdata/isiri-3342.h: Likewise.
18359         * iconvdata/jis0201.h: Likewise.
18360         * include/link.h: Likewise.
18361         * include/netdb.h: Likewise.
18362         * inet/check_native.c: Likewise.
18363         * inet/check_pf.c: Likewise.
18364         * inet/getipv4sourcefilter.c: Likewise.
18365         * inet/getnameinfo.c: Likewise.
18366         * inet/getsourcefilter.c: Likewise.
18367         * inet/htonl.c: Likewise.
18368         * inet/setipv4sourcefilter.c: Likewise.
18369         * inet/setsourcefilter.c: Likewise.
18370         * inet/test-inet6_opt.c: Likewise.
18371         * inet/tst-network.c: Likewise.
18372         * locale/C-collate.c: Likewise.
18373         * locale/C-ctype.c: Likewise.
18374         * locale/C-time.c: Likewise.
18375         * locale/C-translit.h: Likewise.
18376         * locale/loadarchive.c: Likewise.
18377         * locale/programs/3level.h: Likewise.
18378         * locale/programs/charmap.c: Likewise.
18379         * locale/programs/charmap.h: Likewise.
18380         * locale/programs/ld-address.c: Likewise.
18381         * locale/programs/ld-collate.c: Likewise.
18382         * locale/programs/ld-ctype.c: Likewise.
18383         * locale/programs/ld-identification.c: Likewise.
18384         * locale/programs/ld-measurement.c: Likewise.
18385         * locale/programs/ld-messages.c: Likewise.
18386         * locale/programs/ld-monetary.c: Likewise.
18387         * locale/programs/ld-name.c: Likewise.
18388         * locale/programs/ld-numeric.c: Likewise.
18389         * locale/programs/ld-paper.c: Likewise.
18390         * locale/programs/ld-telephone.c: Likewise.
18391         * locale/programs/ld-time.c: Likewise.
18392         * locale/programs/linereader.c: Likewise.
18393         * locale/programs/locale.c: Likewise.
18394         * locale/programs/locarchive.c: Likewise.
18395         * locale/programs/locfile.h: Likewise.
18396         * locale/programs/repertoire.c: Likewise.
18397         * locale/programs/simple-hash.c: Likewise.
18398         * locale/programs/simple-hash.h: Likewise.
18399         * malloc/memusage.c: Likewise.
18400         * malloc/memusagestat.c: Likewise.
18401         * nis/nis_defaults.c: Likewise.
18402         * nis/nis_hash.c: Likewise.
18403         * nis/nis_print.c: Likewise.
18404         * nis/nis_xdr.c: Likewise.
18405         * nscd/connections.c: Likewise.
18406         * nscd/hstcache.c: Likewise.
18407         * nscd/nscd_gethst_r.c: Likewise.
18408         * nscd/nscd_getserv_r.c: Likewise.
18409         * nscd/nscd_helper.c: Likewise.
18410         * nscd/servicescache.c: Likewise.
18411         * nss/makedb.c: Likewise.
18412         * nss/nss_db/db-XXX.c: Likewise.
18413         * nss/nss_db/db-initgroups.c: Likewise.
18414         * nss/nss_db/db-netgrp.c: Likewise.
18415         * nss/nss_files/files-network.c: Likewise.
18416         * nss/nss_files/files-parse.c: Likewise.
18417         * posix/bug-regex5.c: Likewise.
18418         * posix/fnmatch_loop.c: Likewise.
18419         * posix/regcomp.c: Likewise.
18420         * posix/regexec.c: Likewise.
18421         * posix/tst-rfc3484-2.c: Likewise.
18422         * posix/tst-rfc3484-3.c: Likewise.
18423         * posix/tst-rfc3484.c: Likewise.
18424         * resolv/nss_dns/dns-canon.c: Likewise.
18425         * resolv/nss_dns/dns-network.c: Likewise.
18426         * resolv/res_init.c: Likewise.
18427         * resolv/res_mkquery.c: Likewise.
18428         * resolv/tst-aton.c: Likewise.
18429         * stdlib/cxa_atexit.c: Likewise.
18430         * stdlib/cxa_finalize.c: Likewise.
18431         * stdlib/gen-fpioconst.c: Likewise.
18432         * stdlib/strtol_l.c: Likewise.
18433         * string/tst-endian.c: Likewise.
18434         * sunrpc/auth_des.c: Likewise.
18435         * sunrpc/clnt_udp.c: Likewise.
18436         * sunrpc/rtime.c: Likewise.
18437         * sunrpc/svcauth_des.c: Likewise.
18438         * sunrpc/xdr.c: Likewise.
18439         * sunrpc/xdr_intXX_t.c: Likewise.
18440         * sunrpc/xdr_rec.c: Likewise.
18441         * sysdeps/generic/ldconfig.h: Likewise.
18442         * sysdeps/generic/ldsodefs.h: Likewise.
18443         * sysdeps/generic/memusage.h: Likewise.
18444         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18445         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18446         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18447         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18448         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18449         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18450         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18451         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18452         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18453         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18454         * sysdeps/posix/getaddrinfo.c: Likewise.
18455         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18456         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18457         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18458         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18459         * sysdeps/powerpc/test-gettimebase.c: Likewise.
18460         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18461         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18462         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18463         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18464         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18465         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18466         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18467         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18468         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18469         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18470         * sysdeps/x86_64/dl-tls.h: Likewise.
18471         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18472         * time/alt_digit.c: Likewise.
18473         * time/era.c: Likewise.
18474         * wcsmbs/tst-c16c32-1.c: Likewise.
18475
18476 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18477
18478         * math/libm-test.inc (struct test_sincos_data): New type.
18479         (RUN_TEST_LOOP_sincos): New macro.
18480         (sincos_test_data): New variable.
18481         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18482
18483 2013-05-16  Richard Henderson  <rth@redhat.com>
18484
18485         * math/atest-exp2.c (LIMB64): New macro.
18486         (CONSTSZ): New macro.
18487         (mp_exp1, mp_exp_m1, mp_log2): New variables.
18488         (hexdig): Move ...
18489         (print_mpn_fp): ... to function scope.
18490         (read_mpn_hex): Remove.
18491         (get_log2): Remove.
18492         (exp2_mpn): Use mp_log2.
18493         (main): Use mp_exp1.
18494
18495 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18496
18497         * math/libm-test.inc: Remove comment about not testing "inexact"
18498         exceptions.
18499         (INEXACT_EXCEPTION): New macro.
18500         (NO_INEXACT_EXCEPTION): Likewise.
18501         (INVALID_EXCEPTION_OK): Update value.
18502         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18503         (OVERFLOW_EXCEPTION_OK): Likewise.
18504         (UNDERFLOW_EXCEPTION_OK): Likewise.
18505         (IGNORE_ZERO_INF_SIGN): Likewise.
18506         (ERRNO_UNCHANGED): Likewise.
18507         (ERRNO_EDOM): Likewise.
18508         (ERRNO_ERANGE): Likewise.
18509         (test_exceptions): Handle testing "inexact" exceptions.
18510         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18511         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18512         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18513         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18514         INEXACT_EXCEPTION.
18515         (rint_towardzero_test_data): Likewise.
18516         (rint_downward_test_data): Likewise.
18517         (rint_upward_test_data): Likewise.
18518
18519         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18520         with OVERFLOW_EXCEPTION.
18521         (exp10_test_data): Likewise.
18522         (exp2_test_data): Likewise.
18523         (expm1_test_data): Likewise.
18524         (lgamma_test_data): Likewise.
18525         (pow_test_data): Likewise.
18526         (tgamma_test_data): Likewise.
18527         (yn_test_data): Remove duplicate test of overflow.
18528
18529         * math/libm-test.inc (struct test_cc_c_data): New type.
18530         (RUN_TEST_LOOP_cc_c): New macro.
18531         (cpow_test_data): New variable.
18532         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18533
18534         * math/libm-test.inc (struct test_f_L_data): New type.
18535         (RUN_TEST_LOOP_f_L): New macro.
18536         (llrint_test_data): New variable.
18537         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18538         (llrint_tonearest_test_data): New variable.
18539         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18540         (llrint_towardzero_test_data): New variable.
18541         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18542         (llrint_downward_test_data): New variable.
18543         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18544         (llrint_upward_test_data): New variable.
18545         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18546         (llround_test_data): New variable.
18547         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18548
18549 2013-05-13  Peter Collingbourne  <pcc@google.com>
18550
18551         * math/atest-exp2.c (get_log2): Remove const attribute.
18552
18553 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18554
18555         * math/libm-test.inc (struct test_f_l_data): New type.
18556         (RUN_TEST_LOOP_f_l): New macro.
18557         (lrint_test_data): New variable.
18558         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18559         (lrint_tonearest_test_data): New variable.
18560         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18561         (lrint_towardzero_test_data): New variable.
18562         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18563         (lrint_downward_test_data): New variable.
18564         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18565         (lrint_upward_test_data): New variable.
18566         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18567         (lround_test_data): New variable.
18568         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18569
18570 2013-05-15  Peter Collingbourne  <pcc@google.com>
18571
18572         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18573         (EXTRACT_WORDS64) Use where appropriate.
18574         (INSERT_WORDS64) Likewise.
18575
18576         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18577         constraints with x constraints.
18578         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18579
18580         * malloc/obstack.c (_obstack_compat): Add initializer.
18581
18582 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18583
18584         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18585         si_trapno and add si_addr_lsb to _sifields.sigfault.
18586         (si_trapno): Remove macro.
18587         (si_addr_lsb): Define new macro.
18588         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18589
18590 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18591
18592         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18593         instead of TEST_f_l.
18594         (llrint_test_tonearest): Likewise.
18595         (llrint_test_towardzero): Likewise.
18596         (llrint_test_downward): Likewise.
18597         (llrint_test_upward): Likewise.
18598         (llround_test): Likewise.
18599
18600         * math/libm-test.inc (struct test_f_i_data): Add comment.
18601         (RUN_TEST_LOOP_f_b): New macro.
18602         (RUN_TEST_LOOP_f_b_tg): Likewise.
18603         (finite_test_data): New variable.
18604         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18605         (isfinite_test_data): New variable.
18606         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18607         (isinf_test_data): New variable.
18608         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18609         (isnan_test_data): New variable.
18610         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18611         (isnormal_test_data): New variable.
18612         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18613         (issignaling_test_data): New variable.
18614         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18615         (signbit_test_data): New variable.
18616         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18617
18618         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18619         with INVALID_EXCEPTION.
18620         (acosh_test_data): Likewise.
18621         (asin_test_data): Likewise.
18622         (atanh_test_data): Likewise.
18623         (fmod_test_data): Likewise.
18624         (log_test_data): Likewise.
18625         (log10_test_data): Likewise.
18626         (log2_test_data): Likewise.
18627         (pow_test_data): Likewise.
18628         (sqrt_test_data): Likewise.
18629         (y0_test_data): Likewise.
18630         (y1_test_data): Likewise.
18631         (yn_test_data): Likewise.
18632
18633         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18634         function contents.
18635
18636         * math/libm-test.inc (struct test_ff_i_data): New type.
18637         (RUN_TEST_LOOP_ff_i_tg): New macro.
18638         (isgreater_test_data): New variable.
18639         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18640         (isgreaterequal_test_data): New variable.
18641         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18642         (isless_test_data): New variable.
18643         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18644         (islessequal_test_data): New variable.
18645         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18646         (islessgreater_test_data): New variable.
18647         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18648         (isunordered_test_data): New variable.
18649         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18650
18651 2013-05-14  David S. Miller  <davem@davemloft.net>
18652
18653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18654
18655 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
18656
18657         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18658
18659         * math/libm-test.inc (struct test_fF_f1_data): Change type of
18660         extra_test to int.
18661         (struct test_f_i_data): Change type of max_ulp to int.
18662
18663         * math/libm-test.inc (test_ffI_f1_data): New type.
18664         (RUN_TEST_LOOP_ffI_f1): New macro.
18665         (remquo_test_data): New variable.
18666         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18667
18668         * setjmp/tst-setjmp-fp.c: New file.
18669         * setjmp/Makefile (tests): Add tst-setjmp-fp.
18670         (link-libm): New variable.
18671         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18672
18673         * math/libm-test.inc (struct test_f_i_data): New type.
18674         (RUN_TEST_LOOP_f_i): New macro.
18675         (RUN_TEST_LOOP_f_i_tg): Likewise.
18676         (fpclassify_test_data): New variable.
18677         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18678         (ilogb_test_data): New variable.
18679         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18680
18681         * math/libm-test.inc (scalbln_test): Correct function name in END
18682         call.
18683
18684         * math/libm-test.inc (struct test_f_f1_data): Add comment.
18685         (RUN_TEST_LOOP_fI_f1): New macro.
18686         (frexp_test_data): New variable.
18687         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18688
18689         * math/libm-test.inc (struct test_fF_f1_data): New type.
18690         (RUN_TEST_LOOP_fF_f1): New macro.
18691         (modf_test_data): New variable.
18692         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18693
18694         * math/libm-test.inc (struct test_f_f1_data): New type.
18695         (RUN_TEST_LOOP_f_f1): New macro.
18696         (gamma_test_data): New variable.
18697         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18698         (lgamma_test_data): New variable.
18699         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18700
18701 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
18702
18703         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18704         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18705         (main): Comment "tls" pseudo-hwcap.
18706
18707 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
18708
18709         * math/libm-test.inc (struct test_fl_f_data): New type.
18710         (RUN_TEST_LOOP_fl_f): New variable.
18711         (scalbln_test_data): New variable.
18712         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18713
18714         * math/libm-test.inc (struct test_fi_f_data): New type.
18715         (RUN_TEST_LOOP_fi_f): New macro.
18716         (ldexp_test_data): New variable.
18717         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18718         (scalbn_test_data): New variable.
18719         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18720
18721         * math/libm-test.inc (struct test_c_f_data): New type.
18722         (RUN_TEST_LOOP_c_f): New macro.
18723         (cabs_test_data): New variable.
18724         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18725         (carg_test_data): New variable.
18726         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18727         (cimag_test_data): New variable.
18728         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18729         (creal_test_data): New variable.
18730         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18731
18732         * math/libm-test.inc (struct test_if_f_data): New type.
18733         (RUN_TEST_LOOP_if_f): New macro.
18734         (jn_test_data): New variable.
18735         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18736         (yn_test_data): New variable.
18737         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18738
18739         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18740
18741 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18742
18743         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18744         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18745
18746 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18747
18748         * benchtests/Makefile (CPPFLAGS-nonlib): Add
18749         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18750         (bench-deps): Add bench-timing.h.
18751         * benchtests-bench-skeleton.c: Include bench-timing.h.
18752         (main): Use TIMING_* macros instead of clock_gettime.
18753         * benchtests/bench-timing.h: New file.
18754
18755         [BZ #14582]
18756         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18757         Renamed from _LIB_VERSION.
18758         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18759
18760 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
18761
18762         * math/libm-test.inc (struct test_fff_f_data): New type.
18763         (RUN_TEST_LOOP_fff_f): New macro.
18764         (fma_test_data): New variable.
18765         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18766         (fma_towardzero_test_data): New variable.
18767         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18768         (fma_downward_test_data): New variable.
18769         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18770         (fma_upward_test_data): New variable.
18771         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18772
18773         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18774         (struct test_c_c_data): New type.
18775         (RUN_TEST_LOOP_c_c): New macro.
18776         (cacos_test_data): New variable.
18777         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18778         (cacosh_test_data): New variable.
18779         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18780         (casin_test_data): New variable.
18781         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18782         (casinh_test_data): New variable.
18783         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18784         (catan_test_data): New variable.
18785         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18786         (catanh_test_data): New variable.
18787         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18788         (ccos_test_data): New variable.
18789         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18790         (ccosh_test_data): New variable.
18791         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18792         (cexp_test_data): New variable.
18793         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18794         (clog_test_data): New variable.
18795         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18796         (clog10_test_data): New variable.
18797         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18798         (conj_test_data): New variable.
18799         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18800         (cproj_test_data): New variable.
18801         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18802         (csin_test_data): New variable.
18803         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18804         (csinh_test_data): New variable.
18805         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18806         (csqrt_test_data): New variable.
18807         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18808         (ctan_test_data): New variable.
18809         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18810         (ctan_tonearest_test_data): New variable.
18811         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18812         (ctan_towardzero_test_data): New variable.
18813         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18814         (ctan_downward_test_data): New variable.
18815         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18816         (ctan_upward_test_data): New variable.
18817         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18818         (ctanh_test_data): New variable.
18819         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18820         (ctanh_tonearest_test_data): New variable.
18821         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18822         (ctanh_towardzero_test_data): New variable.
18823         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18824         (ctanh_downward_test_data): New variable.
18825         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18826         (ctanh_upward_test_data): New variable.
18827         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18828         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18829         of BUILD_COMPLEX.
18830
18831         * math/libm-test.inc (struct test_ff_f_data): New type.
18832         (struct test_ff_f_data_nexttoward): Likewise.
18833         (RUN_TEST_LOOP_2_f): New macro.
18834         (RUN_TEST_LOOP_ff_f): Likewise.
18835         (atan2_test_data): New variable.
18836         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18837         (copysign_test_data): New variable.
18838         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18839         (fdim_test_data): New variable.
18840         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18841         (fmax_test_data): New variable.
18842         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18843         (fmin_test_data): New variable.
18844         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18845         (fmod_test_data): New variable.
18846         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18847         (hypot_test_data): New variable.
18848         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18849         (nextafter_test_data): New variable.
18850         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18851         (nexttoward_test_data): New variable.
18852         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18853         (pow_test_data): New variable.
18854         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18855         (pow_tonearest_test_data): New variable.
18856         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18857         (pow_towardzero_test_data): New variable.
18858         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18859         (pow_downward_test_data): New variable.
18860         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18861         (pow_upward_test_data): New variable.
18862         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18863         (remainder_test_data): New variable.
18864         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18865         (scalb_test_data): New variable.
18866         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18867         * sysdeps/i386/fpu/libm-test-ulps: Update.
18868
18869 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
18870
18871         * math/libm-test.inc (fma_test): Use max_value instead of local
18872         variable fltmax.
18873         (nextafter_test): Likewise.
18874
18875         * math/libm-test.inc (acos_towardzero_test_data): New variable.
18876         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18877         (acos_downward_test_data): New variable.
18878         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18879         (acos_upward_test_data): New variable.
18880         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18881         (acosh_test_data): New variable.
18882         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18883         (asin_test_data): New variable.
18884         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18885         (asin_tonearest_test_data): New variable.
18886         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18887         (asin_towardzero_test_data): New variable.
18888         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18889         (asin_downward_test_data): New variable.
18890         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18891         (asin_upward_test_data): New variable.
18892         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18893         (asinh_test_data): New variable.
18894         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18895         (atan_test_data): New variable.
18896         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18897         (atanh_test_data): New variable.
18898         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18899         (cbrt_test_data): New variable.
18900         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18901         (ceil_test_data): New variable.
18902         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18903         (cos_test_data): New variable.
18904         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18905         (cos_tonearest_test_data): New variable.
18906         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18907         (cos_towardzero_test_data): New variable.
18908         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18909         (cos_downward_test_data): New variable.
18910         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18911         (cos_upward_test_data): New variable.
18912         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18913         (cosh_test_data): New variable.
18914         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18915         (cosh_tonearest_test_data): New variable.
18916         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18917         (cosh_towardzero_test_data): New variable.
18918         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18919         (cosh_downward_test_data): New variable.
18920         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18921         (cosh_upward_test_data): New variable.
18922         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18923         (erf_test_data): New variable.
18924         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18925         (erfc_test_data): New variable.
18926         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18927         (exp_test_data): New variable.
18928         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18929         (exp_tonearest_test_data): New variable.
18930         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18931         (exp_towardzero_test_data): New variable.
18932         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18933         (exp_downward_test_data): New variable.
18934         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18935         (exp_upward_test_data): New variable.
18936         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18937         (exp10_test_data): New variable.
18938         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18939         (exp2_test_data): New variable.
18940         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18941         (expm1_test_data): New variable.
18942         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18943         (fabs_test_data): New variable.
18944         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18945         (floor_test_data): New variable.
18946         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18947         (j0_test_data): New variable.
18948         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18949         (j1_test_data): New variable.
18950         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18951         (log_test_data): New variable.
18952         (log_test): Run tests with RUN_TEST_LOOP_f_f.
18953         (log10_test_data): New variable.
18954         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18955         (log1p_test_data): New variable.
18956         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18957         (log2_test_data): New variable.
18958         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18959         (logb_test_data): New variable.
18960         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18961         (logb_downward_test_data): New variable.
18962         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18963         (nearbyint_test_data): New variable.
18964         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18965         (rint_test_data): New variable.
18966         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18967         (rint_tonearest_test_data): New variable.
18968         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18969         (rint_towardzero_test_data): New variable.
18970         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18971         (rint_downward_test_data): New variable.
18972         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18973         (rint_upward_test_data): New variable.
18974         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18975         (round_test_data): New variable.
18976         (round_test): Run tests with RUN_TEST_LOOP_f_f.
18977         (sin_test_data): New variable.
18978         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18979         (sin_tonearest_test_data): New variable.
18980         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18981         (sin_towardzero_test_data): New variable.
18982         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18983         (sin_downward_test_data): New variable.
18984         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18985         (sin_upward_test_data): New variable.
18986         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18987         (sinh_test_data): New variable.
18988         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18989         (sinh_tonearest_test_data): New variable.
18990         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18991         (sinh_towardzero_test_data): New variable.
18992         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18993         (sinh_downward_test_data): New variable.
18994         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18995         (sinh_upward_test_data): New variable.
18996         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18997         (sqrt_test_data): New variable.
18998         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18999         (tan_test_data): New variable.
19000         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19001         (tan_tonearest_test_data): New variable.
19002         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19003         (tan_towardzero_test_data): New variable.
19004         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19005         (tan_downward_test_data): New variable.
19006         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19007         (tan_upward_test_data): New variable.
19008         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19009         (tanh_test_data): New variable.
19010         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19011         (tgamma_test_data): New variable.
19012         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19013         (trunc_test_data): New variable.
19014         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19015         (y0_test_data): New variable.
19016         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19017         (y1_test_data): New variable.
19018         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19019         (significand_test_data): New variable.
19020         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19021
19022 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19023
19024         [BZ #12387]
19025         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19026
19027 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19028
19029         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19030
19031 2013-05-10  Andreas Jaeger  <aj@suse.de>
19032
19033         [BZ #15448]
19034         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19035         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19036
19037 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19038
19039         * math/gen-libm-test.pl (adjust_arg): New function.
19040         (special_functions): Handle generating output in both functions
19041         and arrays.
19042         (parse_args): Likewise.
19043         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19044         $in_func argument to parse_args.
19045         * math/libm-test.inc (struct test_f_f_data): New type.
19046         (IF_ROUND_INIT_): New macro.
19047         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19048         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19049         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19050         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19051         (ROUND_RESTORE_): Likewise.
19052         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19053         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19054         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19055         (ROUND_RESTORE_FE_UPWARD): Likewise.
19056         (RUN_TEST_LOOP_f_f): New macro.
19057         (acos_test_data): New variable.
19058         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19059         (acos_tonearest_test_data): New variable.
19060         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19061
19062 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19063
19064         * benchtests/bench-skeleton.c (startup): Fix coding style.
19065
19066 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19067
19068         [BZ #6809]
19069         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19070         negative infinity argument.
19071         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19072         negative infinity argument.
19073         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19074         negative infinity argument.
19075         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19076         domain errors.
19077
19078 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19079
19080         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19081         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19082         * iconv/iconv_prog.c (main): Likewise.
19083         * locale/programs/charmap-dir.c (charmap_readdir)
19084         (fopen_uncompressed): Likewise.
19085         * locale/programs/locfile.c (siblings_uncached)
19086         (write_locale_data): Use lstat64 instead of lstat.
19087         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19088         stat.
19089
19090 2013-05-10  Andreas Jaeger  <aj@suse.de>
19091
19092         [BZ #15395]
19093         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19094         localization.
19095         Include <locale.h>.
19096
19097 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19098
19099         * elf/dl-close.c (_dl_close_worker): Add comments.
19100
19101 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19102
19103         [BZ #15359]
19104         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19105         high part of pi/2.
19106         (__ieee754_rem_pio2l): Update comments.
19107
19108         [BZ #15429]
19109         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19110         high part of pi/2.
19111         (__ieee754_rem_pio2l): Update comments.
19112
19113         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19114         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19115
19116         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19117         M_PI_4l.
19118
19119         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19120         (M_PI_34_LOG10El): Likewise.
19121         (M_PI2_LOG10El): Likewise.
19122         (M_PI4_LOG10El): Likewise.
19123         (M_PI_LOG10El): Likewise.
19124
19125 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19126
19127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19128
19129 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19130
19131         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19132         (MINUS_ZERO_INIT): Likewise.
19133         (PLUS_INFTY_INIT): Likewise.
19134         (MINUS_INFTY_INIT): Likewise.
19135         (QNAN_VALUE_INIT): Likewise.
19136         (MAX_VALUE_INIT): Likewise.
19137         (MIN_VALUE_INIT): Likewise.
19138         (MIN_SUBNORM_VALUE_INIT): Likewise.
19139         (plus_zero): Initialize with PLUS_ZERO_INIT.
19140         (minus_zero): Initialize with MINUS_ZERO_INIT.
19141         (plus_infty): Initialize with PLUS_INFTY_INIT.
19142         (minus_infty): Initialize with MINUS_INFTY_INIT.
19143         (qnan_value): Initialize with QNAN_VALUE_INIT.
19144         (max_value): Initialize with MAX_VALUE_INIT.
19145         (min_value): Initialize with MIN_VALUE_INIT.
19146         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19147
19148         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19149         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19150         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19151         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19152
19153         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19154         (RUN_TEST_2_f): Likewise.
19155         (RUN_TEST_ff_f): Likewise.
19156         (RUN_TEST_fi_f): Likewise.
19157         (RUN_TEST_fl_f): Likewise.
19158         (RUN_TEST_fff_f): Likewise.
19159         (RUN_TEST_c_f): Likewise.
19160         (RUN_TEST_f_f1): Likewise.
19161         (RUN_TEST_fF_f1): Likewise.
19162         (RUN_TEST_fI_f1): Likewise.
19163         (RUN_TEST_ffI_f1): Likewise.
19164         (RUN_TEST_c_c): Likewise.
19165         (RUN_TEST_cc_c): Likewise.
19166         (RUN_TEST_f_i): Likewise.
19167         (RUN_TEST_f_i_tg): Likewise.
19168         (RUN_TEST_ff_i_tg): Likewise.
19169         (RUN_TEST_f_b): Likewise.
19170         (RUN_TEST_f_b_tg): Likewise.
19171         (RUN_TEST_f_l): Likewise.
19172         (RUN_TEST_f_L): Likewise.
19173         (RUN_TEST_sincos): Likewise.
19174         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19175         whether to show exceptions.  Do not include ");\n" in return
19176         value.
19177         (special_functions): Output call to RUN_TEST_sincos instead of
19178         check_float calls.  Update calls to new_test.
19179         (parse_args): Output call to single RUN_TEST_* macro instead of
19180         check_* calls and other assignments.  Update calls to new_test.
19181
19182         [BZ #2546]
19183         [BZ #2560]
19184         [BZ #5159]
19185         [BZ #15426]
19186         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19187         input to result for tgamma overflow.
19188         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19189         (gamma_coeff): New variable.
19190         (NCOEFF): New macro.
19191         (gamma_positive): New function.
19192         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19193         underflow here.  Use gamma_positive instead of exp (lgamma) for
19194         other arguments.
19195         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19196         (gamma_coeff): New variable.
19197         (NCOEFF): New macro.
19198         (gammaf_positive): New function.
19199         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19200         underflow here.  Use gamma_positive instead of exp (lgamma) for
19201         other arguments.
19202         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19203         (gamma_coeff): New variable.
19204         (NCOEFF): New macro.
19205         (gammal_positive): New function.
19206         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19207         underflow here.  Use gamma_positive instead of exp (lgamma) for
19208         other arguments.
19209         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19210         (gamma_coeff): New variable.
19211         (NCOEFF): New macro.
19212         (gammal_positive): New function.
19213         (__ieee754_gammal_r): Handle positive infinity, overflow and
19214         underflow here.  Handle NaN the same as positive infinity.  Remove
19215         check x < 0xffffffff for negative integers.  Use gamma_positive
19216         instead of exp (lgamma) for other arguments.
19217         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19218         (gamma_coeff): New variable.
19219         (NCOEFF): New macro.
19220         (gammal_positive): New function.
19221         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19222         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19223         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19224         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19225         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19226         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19227         * sysdeps/generic/math_private.h (__gamma_productf): New
19228         prototype.
19229         (__gamma_product): Likewise.
19230         (__gamma_productl): Likewise.
19231         * math/Makefile (libm-calls): Add gamma_product.
19232         * math/libm-test.inc (tgamma_test): Add more tests.
19233         * sysdeps/i386/fpu/libm-test-ulps: Update.
19234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19235
19236 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
19237
19238         * benchtests/bench-skeleton.c (main): Preheat CPU.
19239
19240 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
19241
19242         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19243
19244 2013-05-07  Roland McGrath  <roland@hack.frob.com>
19245
19246         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19247         and _dl_skip_args_internal.
19248
19249 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
19250
19251         * manual/message.texi (Message Translation): Talk about users.
19252         Message to key mapping impacts design.
19253
19254 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19255
19256         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19257
19258         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19259
19260         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19261         * sysdeps/wordsize-64/glob64.c: ... here.
19262
19263         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19264         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19265         New macros.
19266
19267         * debug/getlogin_r_chk.c: Moved to ...
19268         * login/getlogin_r_chk.c: ... here.
19269         * debug/Makefile (routines): Move getlogin_r_chk to ...
19270         * login/Makefile (routines): ... here.
19271         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19272         * login/Versions (libc: GLIBC_2.4): ... here.
19273
19274         * io/poll.c (__poll): Renamed from poll.
19275         Add libc_hidden_def.
19276         (poll): Define as weak alias.
19277
19278         * debug/ptsname_r_chk.c: Moved to ...
19279         * login/ptsname_r_chk.c: ... here.
19280         * debug/Makefile (routines): Move ptsname_r_chk to ...
19281         * login/Makefile (routines): ... here.
19282         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19283         * login/Versions (libc: GLIBC_2.4): ... here.
19284
19285         * posix/getlogin.c: Moved to ...
19286         * login/getlogin.c: ... here.
19287         * posix/getlogin_r.c: Moved to ...
19288         * login/getlogin_r.c: ... here.
19289         * posix/getlogin_r.c: Moved to ...
19290         * login/getlogin_r.c: ... here.
19291         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19292         * login/Makefile (routines): ... here.
19293         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19294         * login/Versions (libc: GLIBC_2.0): ... here.
19295
19296         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19297         (setrlimit): Define as weak alias.
19298
19299         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19300         Call __ names for open, ftruncate, and close.
19301         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19302         (truncate): Define as weak alias.
19303
19304 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
19305
19306         * math/gen-libm-test.pl (parse_args): Initialize x before each
19307         test of frexp, modf and remquo.
19308
19309         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19310         test signgam value.
19311
19312 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19313
19314         [BZ #15418]
19315         [BZ #15419]
19316         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19317         internal tests.
19318         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19319
19320 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19321
19322         * elf/dl-writev.h: New file.
19323         * elf/dl-misc.c: Include it.
19324         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19325         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19326
19327 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
19328
19329         * math/libm-test.inc (noXFails): Remove variable.
19330         (noXPasses): Likewise.
19331         (BUILD_COMPLEX_INT): Remove macro.
19332         (print_screen): Remove xfail argument.
19333         (print_screen_max_error): Likewise.
19334         (update_stats): Likewise.
19335         (print_max_error): Likewise.  Update calls to other affected
19336         functions.
19337         (print_complex_max_error): Likewise.
19338         (test_single_exception): Update calls to print_screen.
19339         (test_single_errno): Likewise.
19340         (check_float_internal): Remove xfail argument.  Update calls to
19341         other affected functions.
19342         (check_float): Likewise.
19343         (check_complex): Likewise.
19344         (check_int): Likewise.
19345         (check_long): Likewise.
19346         (check_bool): Likewise.
19347         (check_longlong): Likewise.
19348         (main): Don't print noXFails and noXPasses.
19349         * math/gen-libm-test.pl (top level): Don't mention expected
19350         failure handling in comment.
19351         (new_test): Don't handle expected failures.
19352         (parse_args): Don't mention expected failure handling in comment.
19353         (generate_testfile): Don't handle expected failures.
19354         (parse_ulps): Likewise.
19355         (print_ulps_file): Likewise.
19356         (get_failure): Remove function.
19357         (output_test): Don't handle expected failures.
19358         * make/README.libm-test: Don't mention expected failure handling.
19359
19360         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
19361         (minus_zero): Likewise.
19362         (plus_infty): Likewise.
19363         (minus_infty): Likewise.
19364         (qnan_value): Likewise.
19365         (max_value): Likewise.
19366         (min_value): Likewise.
19367         (min_subnorm_value): Likewise.
19368         (initialize): Do not initialize those variables dynamically.
19369
19370 2013-05-03  Roland McGrath  <roland@hack.frob.com>
19371
19372         * io/open.c (__open_2): Moved to ...
19373         * io/open_2.c: ... this new file.
19374         * io/open64.c (__open64_2): Moved to ...
19375         * io/open64_2.c: ... this new file.
19376         * io/openat.c (__openat_2): Moved to ...
19377         * io/openat_2.c: ... this new file.
19378         * io/openat64.c (__openat64_2): Moved to ...
19379         * io/openat64_2.c: ... this new file.
19380         * io/Makefile (routines): Add them.
19381         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19382         * sysdeps/unix/sysv/linux/open_2.c: File removed.
19383         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19384         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19385         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19386         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19387         (__openat64): Add hidden_ver.
19388         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19389         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19390
19391         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19392         Separately conditionalize setting of GLRO(dl_sysinfo) so
19393         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19394         as well, but the actual setting is only under [NEED_DL_SYSINFO].
19395
19396 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19397
19398         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19399         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19400         definition.
19401         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19402         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19403         (_libc_vdso_platform_setup): Add __vdso_time initialization.
19404         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19405         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19406
19407 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
19408
19409         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19410         test signgam value.
19411
19412         * math/libm-test.inc (hypot_test): Do not use
19413         IGNORE_ZERO_INF_SIGN.
19414
19415 2013-05-03  Andreas Jaeger  <aj@suse.de>
19416
19417         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19418         Linux 3.9.
19419         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19420         (PF_MAX): Adjust for VSOCK change.
19421
19422 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19423
19424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19425
19426 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
19427
19428         [BZ #15264]
19429         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19430         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19431         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19432
19433 2013-05-02  David S. Miller  <davem@davemloft.net>
19434
19435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19436
19437 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
19438
19439         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19440
19441 2013-05-01  Roland McGrath  <roland@hack.frob.com>
19442
19443         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19444
19445 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
19446
19447         [BZ #14952]
19448         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19449         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19450         Use __attribute__ ((__gnu_inline__)).
19451         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19452         Don't use __attribute__ ((__gnu_inline__)).
19453
19454 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
19455
19456         [BZ #15423]
19457         * math/s_catan.c (__catan): Handle small real or imaginary part of
19458         input specially to avoid spurious underflow.
19459         * math/s_catanf.c (__catanf): Likewise.
19460         * math/s_catanh.c (__catanh): Likewise.
19461         * math/s_catanhf.c (__catanhf): Likewise.
19462         * math/s_catanhl.c (__catanhl): Likewise.
19463         * math/s_catanl.c (__catanl): Likewise.
19464         * math/libm-test.inc (catan_test): Add more tests.
19465         (catanh_test): Likewise.
19466         * sysdeps/i386/fpu/libm-test-ulps: Update.
19467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19468
19469 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19470
19471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19472
19473 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
19474
19475         [BZ #15416]
19476         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19477         accurately for denominator in atan2.
19478         * math/s_catanf.c (__catanf): Likewise.
19479         * math/s_catanh.c (__catanh): Likewise.
19480         * math/s_catanhf.c (__catanhf): Likewise.
19481         * math/s_catanhl.c (__catanhl): Likewise.
19482         * math/s_catanl.c (__catanl): Likewise.
19483         * math/libm-test.inc (catan_test): Add more tests.
19484         (catanh_test): Likewise.
19485         * sysdeps/i386/fpu/libm-test-ulps: Update.
19486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19487
19488 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19489
19490         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19491
19492         * benchtests/Makefile (bench): Remove slow benchmarks.
19493         * benchtests/atan-inputs: Add slow benchmark inputs.
19494         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19495         (BENCH_FUNC): Accept variant offset.
19496         (VARIANT): Define.
19497         * benchtests/bench-skeleton.c (main): Run benchmark for each
19498         variant.
19499         * benchtests/cos-inputs: Add slow benchmark inputs.
19500         * benchtests/exp-inputs: Likewise.
19501         * benchtests/pow-inputs: Likewise.
19502         * benchtests/sin-inputs: Likewise.
19503         * benchtests/slowatan-inputs: Remove.
19504         * benchtests/slowatan.c: Remove.
19505         * benchtests/slowcos-inputs: Remove.
19506         * benchtests/slowcos.c: Remove.
19507         * benchtests/slowexp-inputs: Remove.
19508         * benchtests/slowexp.c: Remove.
19509         * benchtests/slowpow-inputs: Remove.
19510         * benchtests/slowpow.c: Remove.
19511         * benchtests/slowsin-inputs: Remove.
19512         * benchtests/slowsin.c: Remove.
19513         * benchtests/slowtan-inputs: Remove.
19514         * benchtests/slowtan.c: Remove.
19515         * benchtests/tan-inputs: Add slow benchmark inputs.
19516         * scripts/bench.pl: Parse comments and directives.
19517
19518         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
19519         in CPPFLAGS.
19520         ($(objpfx)bench-%.c): Remove *-ITER.
19521         * benchtests/bench-modf.c: Remove definition of ITER.
19522         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19523         (main): Loop for DURATION seconds instead of fixed number of
19524         iterations.
19525         * scripts/bench.pl: Don't expect iterations in parameters.
19526
19527 2013-04-29  Roland McGrath  <roland@hack.frob.com>
19528
19529         * io/fchdir.c (__fchdir): Renamed from fchdir.
19530         (fchdir): Define as weak alias.
19531
19532 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19533
19534         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19535         (ERRNO_EDOM): Likewise.
19536         (ERRNO_ERANGE): Likewise.
19537         (noErrnoTests): New variable.
19538         (init_max_error): Set errno to 0.
19539         (test_single_errno): New function.
19540         (test_errno): Likewise.
19541         (check_float_internal): Call test_errno.  Set errno to 0.
19542         (check_complex): Refer to errno tests in comment.
19543         (check_int): Call test_errno.  Set errno to 0.
19544         (check_long): Likewise.
19545         (check_bool): Likewise.
19546         (check_longlong): Likewise.
19547         (cos_test): Use ERRNO_* flags for errno tests instead of
19548         check_int.
19549         (expm1_test): Likewise.
19550         (fmod_test): Likewise.
19551         (ilogb_test): Likewise.
19552         (lgamma_test): Likewise.
19553         (pow_test): Likewise.
19554         (remainder_test): Likewise.
19555         (sin_test): Likewise.
19556         (tan_test): Likewise.
19557         (yn_test): Likewise.
19558         (initialize): Set errno to 0.
19559         (main): Print number of errno tests.
19560         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19561
19562 2013-04-29  Andreas Jaeger  <aj@suse.de>
19563
19564         [BZ #15084]
19565         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19566         and RES_USEVC.
19567
19568         [BZ #15085]
19569         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19570         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19571         unimplemented.
19572
19573         [BZ #15380]
19574         * stdlib/random.c (__initstate): Return NULL if
19575         __initstate fails.
19576
19577         [BZ #15086]
19578         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19579         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19580         RES_SNGLKUPREOP.
19581
19582 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19583
19584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19585
19586 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19587
19588         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19589         of individual tests.
19590         (casin_test): Likewise.
19591         (casinh_test): Likewise.
19592
19593 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
19594
19595         [BZ #15409]
19596         * math/s_catan.c (__catan): Handle arguments with large real or
19597         imaginary part separately without squaring.
19598         * math/s_catanf.c (__catanf): Likewise.
19599         * math/s_catanh.c (__catanh): Likewise.
19600         * math/s_catanhf.c (__catanhf): Likewise.
19601         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19602         and redefine.
19603         (__catanhl): Handle arguments with large real or imaginary part
19604         separately without squaring.
19605         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19606         and redefine.
19607         (__catanl): Handle arguments with large real or imaginary part
19608         separately without squaring.
19609         * math/libm-test.inc (catan_test): Add more tests.
19610         (catanh_test): Likewise.
19611         * sysdeps/i386/fpu/libm-test-ulps: Update.
19612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19613
19614 2013-04-27  Andreas Jaeger  <aj@suse.de>
19615
19616         [BZ #15007]
19617         * stdlib/stdlib.h: Update guards for qecvt.
19618         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19619         <stdlib.h>.
19620
19621 2013-04-27  Allan McRae  <allan@archlinux.org>
19622
19623         * sysdeps/i386/fpu/libm-test-ulps: Update.
19624
19625 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
19626
19627         [BZ #15406]
19628         * math/s_catan.c: Include <float.h>.
19629         (__catan): Ensure underflow exception occurs for underflowed
19630         result.
19631         * math/s_catanf.c: Include <float.h>.
19632         (__catanf): Ensure underflow exception occurs for underflowed
19633         result.
19634         * math/s_catanh.c: Include <float.h>.
19635         (__catanh): Ensure underflow exception occurs for underflowed
19636         result.
19637         * math/s_catanhf.c: Include <float.h>.
19638         (__catanhf): Ensure underflow exception occurs for underflowed
19639         result.
19640         * math/s_catanhl.c: Include <float.h>.
19641         (__catanhl): Ensure underflow exception occurs for underflowed
19642         result.
19643         * math/s_catanl.c: Include <float.h>.
19644         (__catanl): Ensure underflow exception occurs for underflowed
19645         result.
19646         * math/libm-test.inc (catan_test): Add more tests.
19647         (catanh_test): Likewise.
19648
19649         [BZ #15405]
19650         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19651         underflowed result.
19652         * math/s_ccoshf.c (__ccoshf): Likewise.
19653         * math/s_ccoshl.c (__ccoshl): Likewise.
19654         * math/s_csin.c (__csin): Likewise.
19655         * math/s_csinf.c (__csinf): Likewise.
19656         * math/s_csinh.c (__csinh): Likewise.
19657         * math/s_csinhf.c (__csinhf): Likewise.
19658         * math/s_csinhl.c (__csinhl): Likewise.
19659         * math/s_csinl.c (__csinl): Likewise.
19660         * math/libm-test.inc (ccos_test): Add more tests.
19661         (ccosh_test): Likewise.
19662         (csin_test): Likewise.
19663         (csinh_test): Likewise.
19664
19665 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19666
19667         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19668         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19669         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19670         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19671         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19672         powerpc/power5+/fpu folders.
19673         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19674
19675
19676 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19677
19678         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19679
19680 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
19681
19682         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19683         additions to variable.
19684         [$(config-machine) = x86_64] (modules-names): Likewise.
19685         ($(objpfx)tst-audit3): Remove dependency.
19686         ($(objpfx)tst-audit3.out): Likewise.
19687         ($(objpfx)tst-audit4): Likewise.
19688         ($(objpfx)tst-audit4.out): Likewise.
19689         ($(objpfx)tst-audit5): Likewise.
19690         ($(objpfx)tst-audit5.out): Likewise.
19691         ($(objpfx)tst-audit6): Likewise.
19692         ($(objpfx)tst-audit6.out): Likewise.
19693         ($(objpfx)tst-audit7): Likewise.
19694         ($(objpfx)tst-audit7.out): Likewise.
19695         (tst-audit3-ENV): Remove variable.
19696         (tst-audit4-ENV): Likewise.
19697         (tst-audit5-ENV): Likewise.
19698         (tst-audit6-ENV): Likewise.
19699         (tst-audit7-ENV): Likewise.
19700         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19701         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19702         addition to variable.
19703         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19704         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19705         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19706         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19707         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19708         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19709         tst-audit3, tst-audit4 and tst-audit5.
19710         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19711         tst-audit6 and tst-audit7.
19712         [$(subdir) = elf] (modules-names): Add audit modules for those
19713         tests.
19714         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19715         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19716         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19717         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19718         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19719         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19720         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19721         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19722         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19723         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19724         [$(subdir) = elf] (tst-audit3-ENV): New variable.
19725         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19726         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19727         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19728         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19729         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19730         Likewise.
19731         [$(subdir) = elf && $(config-cflags-avx) = yes]
19732         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19733         [$(subdir) = elf && $(config-cflags-avx) = yes]
19734         (CFLAGS-tst-auditmod4a.c): Likewise.
19735         [$(subdir) = elf && $(config-cflags-avx) = yes]
19736         (CFLAGS-tst-auditmod4b.c): Likewise.
19737         [$(subdir) = elf && $(config-cflags-avx) = yes]
19738         (CFLAGS-tst-auditmod6b.c): Likewise.
19739         [$(subdir) = elf && $(config-cflags-avx) = yes]
19740         (CFLAGS-tst-auditmod6c.c): Likewise.
19741         [$(subdir) = elf && $(config-cflags-avx) = yes]
19742         (CFLAGS-tst-auditmod7b.c): Likewise.
19743         * elf/tst-audit3.c: Move to ...
19744         * sysdeps/x86_64/tst-audit3.c: ... here.
19745         * elf/tst-audit4.c: Move to ...
19746         * sysdeps/x86_64/tst-audit4.c: ... here.
19747         * elf/tst-audit5.c: Move to ...
19748         * sysdeps/x86_64/tst-audit5.c: ... here.
19749         * elf/tst-audit6.c: Move to ...
19750         * sysdeps/x86_64/tst-audit6.c: ... here.
19751         * elf/tst-audit7.c: Move to ...
19752         * sysdeps/x86_64/tst-audit7.c: ... here.
19753         * elf/tst-auditmod3a.c: Move to ...
19754         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19755         * elf/tst-auditmod3b.c: Move to ...
19756         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19757         * elf/tst-auditmod4a.c: Move to ...
19758         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19759         * elf/tst-auditmod4b.c: Move to ...
19760         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19761         * elf/tst-auditmod5a.c: Move to ...
19762         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19763         * elf/tst-auditmod5b.c: Move to ...
19764         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19765         * elf/tst-auditmod6a.c: Move to ...
19766         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19767         * elf/tst-auditmod6b.c: Move to ...
19768         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19769         * elf/tst-auditmod6c.c: Move to ...
19770         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19771         * elf/tst-auditmod7a.c: Move to ...
19772         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19773         * elf/tst-auditmod7b.c: Move to ...
19774         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19775
19776 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
19777
19778         [BZ #15366]
19779         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19780         define unconditionally.
19781         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19782         define unconditionally.
19783         (INT8_C, INT16_C, etc.): Likewise.
19784
19785 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
19786
19787         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19788         __ehdr_start with hidden visibility.
19789
19790         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19791
19792 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
19793
19794         * math/libm-test.inc (cos_test): Use accurate hex constants.
19795         (sincost_test): Likewise.
19796
19797 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
19798
19799         * math/libm-test.inc (catan_test): Add more tests.
19800         (catanh_test): Likewise.
19801
19802         * math/s_catanf.c (__catanf): Use suffixed floating-point
19803         constants.
19804         * math/s_catanhf.c (__catanhf): Likewise.
19805         * math/s_catanhl.c (__catanhl): Likewise.
19806         * math/s_catanl.c (__catanl): Likewise.
19807
19808         [BZ #15394]
19809         * math/s_catan.c (__catan): Calculate imaginary part of result
19810         with log1p not log unless computing log of number close to 0.
19811         * math/s_catanf.c (__catanf): Likewise.
19812         * math/s_catanl.c (__catanl): Likewise.
19813         * math/s_catanh.c (__catanh): Calculate real part of result with
19814         log1p not log unless computing log of number close to 0.
19815         * math/s_catanhf.c (__catanhf): Likewise.
19816         * math/s_catanhl.c (__catanhl): Likewise.
19817         * math/libm-test.inc (catan_test): Add more tests.
19818         (catanh_test): Likewise.
19819         * sysdeps/i386/fpu/libm-test-ulps: Update.
19820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19821
19822 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19823
19824         * benchtests/Makefile: Mention files in which fast and slow
19825         paths of math functions are implemented.
19826
19827 2013-04-23  Roland McGrath  <roland@hack.frob.com>
19828
19829         * sysdeps/posix/timespec_get.c: New file.
19830
19831 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19832
19833         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19834         POWER.
19835         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19836         for POWER.
19837         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19838         powerpc/power5/fpu folders.
19839         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19840         * benchtests/Makefile: Add modf testcase.
19841         * benchtests/bench-modf.c: New file: Benchmark test for mo
19842
19843 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19844
19845         [BZ #14888]
19846         * time/Makefile (tests): Add tst-strptime-whitespace.
19847         * time/strptime_l.c (get_number): Use ISSPACE.
19848         (__strptime_internal): Likewise.
19849         * time/tst-strptime-whitespace.c: New test case.
19850
19851 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
19852
19853         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19854         member.
19855         (_nss_files_init): Set it here.
19856
19857 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
19858
19859         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19860         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19861         unsigned.
19862
19863 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
19864
19865         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19866
19867 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19868
19869         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19870         size just once.
19871
19872 2013-04-21  David S. Miller  <davem@davemloft.net>
19873
19874         * po/ru.po: Update Russion translation from translation project.
19875
19876 2013-04-17  Adam Conrad  <adconrad@0c3.net>
19877
19878         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19879         and setfsgid.
19880
19881 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
19882
19883         * configure.in: Remove i386 configure warning. Remove i386 case.
19884         * configure: Regenerate.
19885         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19886         Add example to error message.
19887         * sysdeps/i386/configure: Regenerate.
19888
19889 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19890
19891         * benchtests/Makefile (bench): Add cos, tan, slowcos and
19892         slowtan.
19893         * benchtests/cos-inputs: New file.
19894         * benchtests/slowcos-inputs: New file.
19895         * benchtests/slowcos.c: New file.
19896         * benchtests/slowtan-inputs: New file.
19897         * benchtests/slowtan.c: New file.
19898         * benchtests/tan-inputs: New file.
19899
19900 2013-04-16  Roland McGrath  <roland@hack.frob.com>
19901
19902         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19903         considered kosher.
19904
19905 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19906
19907         * benchtests/Makefile: Include cppflags-iterator.mk to add
19908         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19909
19910         * Makefile.in (bench-clean): New target.
19911         * benchtests/Makefile (bench-clean): Likewise.
19912
19913 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
19914
19915         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19916
19917 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
19918
19919         * stdio-common/tstdiomisc.c: Fix coding-style violation.
19920
19921 2013-04-15  Andreas Schwab  <schwab@suse.de>
19922
19923         * nscd/grpcache.c (cache_addgr): Properly check for short write.
19924         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19925         * nscd/pwdcache.c (cache_addpw): Likewise.
19926         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
19927         more than recsize.
19928
19929 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19930
19931         * benchtests/Makefile (bench): Write all output to
19932         bench-out.tmp together.
19933
19934 2013-04-15  Andreas Schwab  <schwab@suse.de>
19935
19936         * nscd/nscd.c (main): Don't fork again after closing files.
19937
19938 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19939
19940         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19941
19942         * benchtests/Rules (bench-deps): Collect dependencies into a
19943         single variable.  Add Makefile to dependencies.
19944         ($(objpfx)bench-%.c): Depend on bench-deps.
19945
19946 2013-04-12  Roland McGrath  <roland@hack.frob.com>
19947             Xavier Roche  <roche+kml2@exalead.com>
19948
19949         [BZ #15361]
19950         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19951         just that it's a file descriptor.
19952         * manual/llio.texi (Synchronizing AIO Operations): Update description
19953         for EBADF error from aio_fsync.
19954
19955 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19956
19957         * Rules (bench): Move target definition...
19958         * benchtests/Makefile: ... here.
19959
19960 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
19961
19962         * math/libm-test.inc (cos_test): Fix PI/2 test.
19963         (sincos_test): Likewise.
19964         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19965         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19966
19967 2013-04-11  Andreas Schwab  <schwab@suse.de>
19968
19969         [BZ #13988]
19970         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19971         accept exponent character only when digits were seen.
19972         * stdio-common/Makefile (tests): Add bug26.
19973         * stdio-common/bug26.c: New file.
19974
19975         [BZ #14293]
19976         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19977         non-freeable.
19978
19979 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19980
19981         * Makeconfig (rtld-prefix): Define built linker prefix.
19982         * Rules (run-bench): Use it.
19983         * math/Makefile (run-regen-ulps): Likewise.
19984
19985         * Rules (bench): Remove eval.
19986
19987 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19988             Roland McGrath  <roland@hack.frob.com>
19989             Ondrej Bilka  <neleai@seznam.cz>
19990
19991         [BZ #15346]
19992         * time/getdate.c: Include ctype.h and alloca.h.
19993         (__getdate_r): Trim leading and trailing spaces of input.
19994         * time/tst-getdate.c (tests): Add tests with leading and
19995         trailing spaces.
19996
19997 2013-04-08  Roland McGrath  <roland@hack.frob.com>
19998
19999         [BZ #14280]
20000         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20001         when computing value.
20002
20003 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20004
20005         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20006         Use testrun.sh to run libm tests.
20007
20008         [BZ #15309]
20009         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20010
20011 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20012
20013         [BZ #15264]
20014         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20015
20016 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20017
20018         * Makefile.in (regen-ulps): New target.
20019         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20020         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20021         [ifneq (no,$(PERL)] (regen-ulps): New target.
20022         [ifeq (no,$(PERL)] (regen-ulps): New target.
20023         * math/libm-test.inc (ulps_file_name): Define.
20024         (output_dir): New variable.
20025         (options): Add "output-dir" option.
20026         (parse_opt): Handle 'o' case.
20027         (main): If output_dir is non-NULL use it as a prefix
20028         otherwise use "".
20029         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20030
20031 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20032
20033         [BZ #10060, #10062]
20034         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20035         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20036         fail configure if __sync_val_compare_and_swap is not inlined.
20037         * sysdeps/i386/configure: Regenerate.
20038         * configure.in: Build for i686 when configured for i386.
20039         * configure: Regenerate.
20040         * README: Remove i386 reference.
20041
20042 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20043
20044         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20045         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20046
20047 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20048
20049         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20050         (lmsnanval): New variables.
20051         (F): Add conversion tests.
20052         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20053         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20054
20055         * stdio-common/tstdiomisc.c (F): Properly collect individual
20056         tests' results.
20057
20058         [BZ #14686, #15336]
20059         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20060         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20061         Instead, use input NaN values or generate a qNaN by arithmetic
20062         operation.  Also fix bugs to comply with the standard.
20063         * math/libm-test.inc (remainder_test): Add more tests.
20064
20065         [BZ #15335, #15342]
20066         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20067         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20068         input NaN values or generate a qNaN by arithmetic operation.
20069
20070         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20071         unreachable code.
20072
20073         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20074         definitions.
20075
20076 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20077
20078         [BZ #14478]
20079         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20080         underflowed result.
20081         * math/s_cexpf.c (__cexpf): Likewise.
20082         * math/s_cexpl.c (__cexpl): Likewise.
20083         * math/libm-test.inc (cexp_test): Add more tests.
20084
20085 2013-04-03  Andreas Schwab  <schwab@suse.de>
20086
20087         [BZ #15330]
20088         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20089         order arrays from heap if bigger than alloca cutoff.
20090
20091 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20092
20093         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20094         (SNAN_TESTS_double): Refer to GCC PR56831.
20095         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20096         GCC PR56828.
20097
20098 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20099
20100         * Rules (bench): Move bench.out after the run is complete.
20101
20102         * Rules (bench): Echo currently running benchmark.
20103
20104         * benchtests/Makefile (bench): Add atan and slowatan.
20105         * benchtests/atan-inputs: New file.
20106         * benchtests/slowatan-inputs: New file.
20107         * benchtests/slowatan.c: New file.
20108
20109         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20110         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20111         its value.
20112
20113         [BZ #15305]
20114         * sysdeps/unix/sysv/linux/kernel-features.h
20115         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20116         __ASSUME_XFS_RESTRICTED_CHOWN.
20117         * sysdeps/unix/sysv/linux/pathconf.c
20118         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20119         Save and restore errno.
20120
20121 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20122
20123         [BZ #15327]
20124         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20125         arguments using __kernel_casinh.
20126         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20127         arguments using __kernel_casinhf.
20128         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20129         arguments using __kernel_casinhl.
20130         * math/libm-test.inc (cacosh_test): Add more tests.
20131         * sysdeps/i386/fpu/libm-test-ulps: Update.
20132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20133
20134 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20135
20136         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20137         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20138
20139         * bench/Makefile (bench): Add sin and slowsin.
20140         * benchtests/sin-inputs: New file.
20141         * benchtests/slowsin-inputs: New file.
20142         * benchtests/slowsin.c: New file.
20143
20144         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20145         (bench): Add slowexp and slowpow.
20146         (exp-ITER): Increase iterations.
20147         (pow-ITER): Likewise.
20148         * benchtests/exp-inputs: Change input.
20149         * benchtests/pow-inputs: Likewise.
20150         * benchtests/slowexp-inputs: New file.
20151         * benchtests/slowexp.c: New file.
20152         * benchtests/slowpow-inputs: New file.
20153         * benchtests/slowpow.c: New file.
20154
20155 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20156
20157         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20158         instructions.
20159         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20160         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20161         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20162         * benchtests/Makefile: Add rint benchtest.
20163         * benchtests/rint-inputs: Input for rint benchtest.
20164
20165 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20166
20167         * Versions.def (libm): Add GLIBC_2.18.
20168         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20169         hidden libm prototypes.
20170         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20171         * math/Makefile (libm-calls): Add s_issignaling.
20172         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20173         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20174         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20175         declaration.
20176         * math/math.h [__USE_GNU] (issignaling): New macro.
20177         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20178         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20179         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20180         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20181         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20182         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20183         * manual/arith.texi (issignaling): New section.
20184         * manual/libm-err-tab.pl (@all_functions): Update comment.
20185         * math/gen-libm-test.pl (parse_args): Apply special handling for
20186         issignaling.
20187         * math/libm-test.inc (print_float, issignaling_test): New
20188         functions.
20189         (check_float_internal): Add issignaling checks.
20190         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20191         default definition.
20192         * sysdeps/powerpc/math-tests.h: New file.
20193         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20194         tests.
20195         * math/test-snan.c (TEST_FUNC): Likewise.
20196
20197 2013-03-30  David S. Miller  <davem@davemloft.net>
20198
20199         * po/de.po: Update from translation team.
20200
20201 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
20202
20203         [BZ #10357]
20204         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20205         imaginary part less than 1.0 and real part less than 0.5
20206         specially.
20207         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20208         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20209         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20210         (cacos_test): Add more tests.
20211         (casin_test): Likewise.
20212         (casinh_test): Likewise.
20213         * sysdeps/i386/fpu/libm-test-ulps: Update.
20214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20215
20216 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20217
20218         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20219         ONE with its value.
20220
20221         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20222         (__pow_mp): Replace ONE and MONE with their values.
20223         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20224         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20225         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20226         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20227         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20228         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20229
20230         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20231
20232         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20233         (__pow_mp): Replace ZERO and MZERO with their values.
20234         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20235         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20236         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20237         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20238         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20239         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20240         (__sqr): Likewise.
20241
20242         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20243
20244         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20245
20246 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20247
20248         * include/stdlib.h [!SHARED] (__call_tls_dtors):
20249         Declare with __attribute__ ((weak)).
20250         * stdlib/exit.c (__libc_atexit) [!SHARED]:
20251         Call __call_tls_dtors only if it's not NULL.
20252
20253 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20254
20255         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20256         didn't do it already, then set _dl_phdr and _dl_phnum based on the
20257         magic __ehdr_start linker symbol if it's defined.
20258         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20259         them up here if it was already done.
20260
20261         * elf/dl-support.c (_dl_phdr): Make pointer to const.
20262         (_dl_aux_init): Use const in cast when setting it.
20263         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20264         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20265         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20266
20267         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20268         Declare them here.
20269         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20270         * csu/libc-tls.c: Nor here.
20271         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20272
20273         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20274         (__libc_message): Never call vsyslog.
20275
20276 2013-03-28  Alan Modra  <amodra@gmail.com>
20277
20278         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20279         Define as empty.
20280         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20281         Likewise.
20282
20283 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20284
20285         [BZ #15214]
20286         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20287         underflow.
20288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20289
20290 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20291
20292         [BZ #15304]
20293         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20294         Don't add gid passed as argument.
20295
20296         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20297
20298 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
20299
20300         [BZ #15307]
20301         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20302         imaginary part between 1.0 and 1.5 and real part less than 0.5
20303         specially.
20304         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20305         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20306         * math/libm-test.inc (cacos_test): Add more tests.
20307         (casin_test): Likewise.
20308         (casinh_test): Likewise.
20309         * sysdeps/i386/fpu/libm-test-ulps: Update.
20310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20311
20312 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20313
20314         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20315         constants.
20316         (norm): Likewise.
20317         (denorm): Likewise.
20318         (__dbl_mp): Likewise.
20319         (add_magnitudes): Likewise.
20320         (sub_magnitudes): Likewise.
20321         (__add): Likewise.
20322         (__sub): Likewise.
20323         (__mul): Likewise.
20324         (__sqr): Likewise.
20325         (__inv): Likewise.
20326         (__dvd): Likewise.
20327
20328         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20329         commented code.
20330         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20331         (__dubcos): Likewise.
20332         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20333         (__ieee754_acos): Likewise.
20334         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20335         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20336         (__exp1): Likewise.
20337         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20338         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20339         (log1): Likewise.
20340         (my_log2): Likewise.
20341         (checkint): Likewise.
20342         * sysdeps/ieee754/dbl-64/e_remainder.c
20343         (__ieee754_remainder): Likewise.
20344         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20345         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20346         (bsloww): Likewise.
20347         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20348
20349         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20350         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20351         MANTISSA_STORE_T to store computations on mantissa.  Use
20352         macros for rounding and division.
20353         (denorm): Likewise.
20354         (__dbl_mp): Likewise.
20355         (add_magnitudes): Likewise.
20356         (sub_magnitudes): Likewise.
20357         (__mul): Likewise.
20358         (__sqr): Likewise.
20359         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20360         powers of two in terms of TWOPOW macro.
20361         (mp_no): Make type of mantissa as MANTISSA_T.
20362         [!RADIXI]: Define RADIXI.
20363         [!TWO52]: Define TWO52.
20364         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20365
20366 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20367
20368         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20369         llroundl symbol when building for PPC32.
20370
20371 2013-03-24  Mark H Weaver  <mhw@netris.org>
20372
20373         * manual/arith.texi (Normalization Functions): Fix prototypes for
20374         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20375
20376 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20377
20378         [BZ #13889]
20379         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20380         high value to check if expl overflow.
20381         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20382         to check for underflow and overflow.
20383         * math/libm-test.inc: Add exp test.
20384
20385 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
20386
20387         [BZ #11120]
20388         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20389         with NOT_IN_libc.
20390
20391 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20392
20393         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20394         symbol.
20395
20396 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20397
20398         * math/gen-libm-test.pl (parse_args, special_functions): Properly
20399         wrap blocks consisting of several statements.
20400
20401         * sysdeps/generic/math-tests.h: New file.
20402         * sysdeps/i386/fpu/math-tests.h: Likewise.
20403         * math/test-snan.c: Include it.
20404         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20405
20406 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20407
20408         [BZ #15285]
20409         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20410         (__ieee754_j0l): Do not improve calculations using cos of twice
20411         input for inputs above LDBL_MAX / 2.0L.
20412         (__ieee754_y0l): Likewise.
20413         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20414         (__ieee754_j1l): Do not improve calculations using cos of twice
20415         input for inputs above LDBL_MAX / 2.0L.
20416         (__ieee754_y1l): Likewise.
20417         * math/libm-test.inc (j0_test): Add another test.
20418         (j1_test): Likewise.
20419         (y0_test): Likewise.
20420         (y1_test): Likewise.
20421         * sysdeps/i386/fpu/libm-test-ulps: Update.
20422
20423 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20424
20425         * Rules ($(objpfx)bench-%.c): Include code from a C source
20426         file.
20427
20428 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20429
20430         [BZ #15287]
20431         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20432         imaginary part 1.0 and real part less than 0.5 specially.
20433         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20434         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20435         * math/libm-test.inc (cacos_test): Add more tests.
20436         (casin_test): Likewise.
20437         (casinh_test): Likewise.
20438         * sysdeps/i386/fpu/libm-test-ulps: Update.
20439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20440
20441 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20442
20443         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20444         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20445
20446 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
20447
20448         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20449         * config.make.in (config-cflags-sse4): Remove variable.
20450         (config-cflags-avx): Likewise.
20451         (config-cflags-sse2avx): Likewise.
20452         (config-cflags-novzeroupper): Likewise.
20453         (config-asflags-i686): Likewise.
20454         (have-mfma4): Likewise.
20455         (have-as-vis3): Likewise.
20456         (MIG): Likewise.
20457         * configure.in (MIG): Do not AC_SUBST.
20458         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20459         (libc_cv_cc_sse4): Do not AC_SUBST.
20460         (libc_cv_cc_avx): Likewise.
20461         (libc_cv_cc_sse2avx): Likewise.
20462         (libc_cv_cc_novzeroupper): Likewise.
20463         (libc_cv_cc_fma4): Likewise.
20464         (libc_cv_as_i686): Likewise.
20465         (libc_cv_sparc_as_vis3): Likewise.
20466         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20467         LIBC_CONFIG_VAR.
20468         (config-asflags-i686): Likewise.
20469         (config-cflags-avx): Likewise.
20470         (config-cflags-sse2avx): Likewise.
20471         (have-mfma4): Likewise.
20472         (config-cflags-novzeroupper): Likewise.
20473         * sysdeps/mach/configure.in (MIG): Likewise.
20474         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20475         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20476         LIBC_CONFIG_VAR.
20477         (config-cflags-avx): Likewise.
20478         (config-cflags-sse2avx): Likewise.
20479         (have-mfma4): Likewise.
20480         (config-cflags-novzeroupper): Likewise.
20481         * configure: Regenerated.
20482         * sysdeps/i386/configure: Likewise.
20483         * sysdeps/mach/configure: Likewise.
20484         * sysdeps/sparc/configure: Likewise.
20485         * sysdeps/x86_64/configure: Likewise.
20486
20487 2013-03-20  Roland McGrath  <roland@hack.frob.com>
20488
20489         [BZ #14812]
20490         * locale/programs/localedef.c (options): Put N_ translation marker
20491         on argument names, not just descriptions.
20492
20493 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20494
20495         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20496
20497 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
20498
20499         [BZ #14176]
20500         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20501
20502 2013-03-19  Roland McGrath  <roland@hack.frob.com>
20503
20504         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20505         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20506         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20507         [!BEFORE_ABORT] (before_abort): New function.
20508         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20509         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20510         (writev_for_fatal): New function.
20511         (WRITEV_FOR_FATAL): New macro; call that.
20512         (backtrace_and_maps): New function.
20513         (BEFORE_ABORT): New macro; call that.
20514         (struct str_list): Type removed.
20515         (__libc_message, __libc_fatal): Functions removed.
20516         Include <sysdeps/posix/libc_fatal.c> instead.
20517
20518 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
20519
20520         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20521         constants.
20522         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20523         double constants.
20524
20525 2013-03-19  Andreas Schwab  <schwab@suse.de>
20526
20527         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20528         * sysdeps/gnu/configure: Regenerate.
20529
20530         * configure.in: Substitute libc_cv_rtlddir.
20531         * configure: Regenerate.
20532         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20533         * Makeconfig (rtlddir, inst_rtlddir): New variables.
20534         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20535         * elf/Makefile (install-others, CFLAGS-interp.c)
20536         (ldso_install, common-ldd-rewrite): Likewise.
20537         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20538         $(inst_slibdir)/$(rtld-installed-name).
20539         * scripts/rellns-sh: Add -p option.
20540         * Makerules (make-shlib-link): Use rellns-sh to get relative name
20541         for source.
20542
20543 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20544
20545         * manual/nptl.texi: Renamed to ...
20546         * manual/threads.texi: ... this.
20547         * manual/Makefile (chapters): Update.
20548
20549 2013-03-18  Roland McGrath  <roland@hack.frob.com>
20550
20551         [BZ #14812]
20552         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20553         on argument names, not just descriptions.
20554         * malloc/memusagestat.c (options): Likewise.
20555         * nss/getent.c (options): Likewise.
20556
20557 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
20558
20559         [BZ #14812]
20560         * iconv/iconv_prog.c (options): Put N_ translation marker
20561         on argument names, not just descriptions.
20562         * iconv/iconvconfig.c (options): Likewise.
20563
20564 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
20565
20566         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20567         implementation which is faster on all x86_64 architectures.
20568         Tested on AMD, Intel Nehalem, SNB, IVB.
20569         * sysdeps/x86_64/strnlen.S: Likewise.
20570
20571         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20572         Remove all multiarch strlen and strnlen versions.
20573         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20574         Remove strlen and strnlen related parts.
20575
20576         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20577         Inline strlen part.
20578         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20579
20580         * sysdeps/x86_64/multiarch/strlen.S: Remove.
20581         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20582         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20583         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20584         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20585         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20586
20587 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
20588
20589         * manual/memory.texi (Malloc Tunable Parameters):
20590         Sort parameters alphabetically. Add comments for missing entries.
20591
20592 2013-03-17  David S. Miller  <davem@davemloft.net>
20593
20594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20595
20596 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
20597
20598         [BZ #15283]
20599         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20600         for arguments at most half maximum finite value.
20601         * math/libm-test.inc (j0_test): Add more tests.
20602         (j1_test): Likewise.
20603         (y0_test): Likewise.
20604         (y1_test): Likewise.
20605         * sysdeps/i386/fpu/libm-test-ulps: Update.
20606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20607
20608         [BZ #14155]
20609         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20610         1 / x and functions P and Q for arguments above 0x1p256L.
20611         (__ieee754_y0l): Likewise.
20612         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20613         (__ieee754_y1l): Likewise.
20614         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20615         (j1_test): Likewise.
20616         (y0_test): Likewise.
20617         (y1_test): Likewise.
20618
20619 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
20620
20621         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20622         variable.
20623
20624 2013-03-15  Roland McGrath  <roland@hack.frob.com>
20625
20626         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20627         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20628         zero since it's initialized to EXEC_PAGESIZE.
20629
20630         * sysdeps/unix/sysv/linux/ldsodefs.h
20631         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20632         * sysdeps/generic/ldsodefs.h: ... here.
20633
20634 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
20635
20636         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20637
20638         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20639         math/test-snan.c.
20640         * math/test-snan.c: Renamed from
20641         sysdeps/powerpc/fpu/test-powerpc-snan.c.
20642         * math/Makefile (tests): Add test-snan.
20643         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20644         test-powerpc-snan.
20645
20646         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20647         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
20648         functions.
20649         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
20650         __builtin_nan family of functions.
20651         * math/libm-test.inc (initialize): Initialize qnan_value with
20652         __builtin_nan family of functions.
20653         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20654         Remove variables.
20655         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20656         Remove functions.
20657         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
20658         storage class.  Initialize qNaN_var and sNaN_var with
20659         __builtin_nan and __builtin_nans families of functions,
20660         respectively.
20661
20662         * math/libm-test.inc (acosh_test): Also test with qNaN input.
20663         (sqrt_test): Remove duplicate test with qNaN input.
20664         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20665         (round_test, signbit_test, significand_test): Note missing +/-Inf
20666         as well as qNaN tests.
20667
20668         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20669         qNaN_var.  Fix a few strings, too.
20670         * math/libm-test.inc (nan_value): Rename to qnan_value.
20671         * math/gen-libm-test.pl (%beautify): Adjust to that.
20672         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20673         * math/test-misc.c (main): Likewise.
20674         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20675         to __qnan_bytes, and __qnan_union, respectively.
20676         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20677         Likewise.
20678         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20679         and lqnanval, respectively.
20680         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20681         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20682         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20683         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20684
20685         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20686         * math/test-misc.c (main) [__x86_64__]: Enable test for long
20687         doubles.
20688
20689         * math/test-misc.c (main): Fix copy'n'pastos.
20690         * misc/tst-efgcvt.c (special): Likewise.
20691
20692         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20693         Remove declarations.
20694
20695 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20696
20697         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20698         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20699         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20700         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20701
20702 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20703
20704         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20705         macro to return vdso values correctly in IFUNC implementations.
20706         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20707         Optimization by using IFUNC.
20708
20709 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20710             Richard Henderson  <rth@redhat.com>
20711             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20712
20713         * Makefile.in (bench): New target.
20714         * NEWS: Mention the benchmark framework.
20715         * Rules (bench): Likewise.
20716         (binaries-bench): Generate binaries for functions to
20717         benchmark.
20718         * benchtests/Makefile: New makefile for benchmark tests.
20719         * benchtests/bench-skeleton.c: New skeleton file for benchmark
20720         programs.
20721         * benchtests/exp-inputs: New input file for EXP function.
20722         * benchtests/pow-inputs: New input file for POW function.
20723         * scripts/bench.pl: New script to generate source files for
20724         benchmark programs.
20725
20726 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20727
20728         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20729         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20730         computations on mantissa.  Use macros for rounding and
20731         division.
20732         (denorm): Likewise.
20733         (__dbl_mp): Likewise.
20734         (add_magnitudes): Likewise.
20735         (sub_magnitudes): Likewise.
20736         (__mul): Likewise.
20737         (__sqr): Likewise.
20738         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20739         powers of two in terms of TWOPOW macro.
20740         (mp_no): Make type of mantissa as MANTISSA_T.
20741         [!RADIXI]: Define RADIXI.
20742         [!TWO52]: Define TWO52.
20743         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20744
20745         * manual/nptl.texi (cindex): Modify threads to pthreads.
20746
20747 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
20748
20749         * sysdeps/x86_64/preconfigure: Regenerated.
20750
20751 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
20752
20753         [BZ #14155]
20754         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20755         0x1p28 and above.
20756         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20757         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20758         0x1p28 and above.
20759         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20760         * math/libm-test.inc (j0_test): Do not allow one spurious
20761         underflow exception.
20762         (y1_test): Likewise.
20763
20764 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20765
20766         * manual/Makefile (chapters): Add nptl.
20767         * manual/debug.texi (Debugging Support): Add link to Threads
20768         chapter.
20769         * manual/nptl.texi: New file.
20770
20771         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20772
20773 2013-03-14  Petr Baudis  <pasky@ucw.cz>
20774
20775         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20776         for non-NULL pointer before the memory validity test. Pointed
20777         out by Holger Brunck <holger.brunck@keymile.com>.
20778
20779 2013-03-13  Andreas Schwab  <schwab@suse.de>
20780
20781         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20782         instead of .os.
20783
20784 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
20785
20786         * timezone/zic.c: Update from tzcode 2013b.
20787
20788 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
20789
20790         * manual/install.texi (Configuring and compiling):
20791         Mention i686 and i586.
20792         * INSTALL: Regenerate.
20793
20794 2013-03-12  Roland McGrath  <roland@hack.frob.com>
20795
20796         * sysdeps/init_array/elf-init.c: New file.
20797         * csu/elf-init.c
20798         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20799         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20800
20801         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20802         __gmon_start__ as global, but as static with a .preinit_array pointer.
20803         * sysdeps/init_array/gmon-start.c: New file.  Use that.
20804         * sysdeps/init_array/crti.S: New file, empty except for comments.
20805         * sysdeps/init_array/crtn.S: Likewise.
20806
20807 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
20808
20809         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20810         definining bcopy.
20811         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20812         Remove Prefer_SSE_for_memop.
20813         * sysdeps/x86_64/multiarch/init-arch.h: Remove
20814         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20815         HAS_PREFER_SSE_FOR_MEMOP.
20816         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20817         memset-x86-64.
20818         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20819         Remove bzero, memset ifunc support.
20820         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20821         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20822         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20823         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20824
20825 2013-03-11  Andreas Schwab  <schwab@suse.de>
20826
20827         [BZ #15234]
20828         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20829         by SHLIB_COMPAT.
20830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20831         (GLIBC_2.16): Remove pthread_atfork.
20832
20833 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20834
20835         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20836         (ptestcases.h): Likewise.
20837
20838 2013-03-08  Roland McGrath  <roland@hack.frob.com>
20839
20840         * Makeconfig ($(common-objpfx)config.status): Depend on
20841         sysdeps/*/preconfigure{,.in} too.
20842
20843 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
20844
20845         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20846         (__free_hook): Use void * instead of __malloc_ptr_t.
20847         (__malloc_hook): Likewise.
20848         (__realloc_hook): Likewise.
20849         (__memalign_hook): Likewise.
20850         (__after_morecore_hook): Likewise.
20851         * malloc/arena.c (save_malloc_hook): Likewise.
20852         (save_free_hook): Likewise.
20853         * malloc/hooks.c (malloc_hook_ini): Likewise.
20854         (realloc_hook_ini): Likewise.
20855         (memalign_hook_ini): Likewise.
20856         * malloc/malloc.c (malloc_hook_ini): Likewise.
20857         (realloc_hook_ini): Likewise.
20858         (memalign_hook_ini): Likewise.
20859         (__free_hook): Likewise.
20860         (__malloc_hook): Likewise.
20861         (__realloc_hook): Likewise.
20862         (__memalign_hook): Likewise.
20863         (__libc_malloc): Likewise.
20864         (__libc_free): Likewise.
20865         (__libc_realloc): Likewise.
20866         (__libc_memalign): Likewise.
20867         (__libc_valloc): Likewise.
20868         (__libc_pvalloc): Likewise.
20869         (__libc_calloc): Likewise.
20870         (__posix_memalign): Likewise.
20871         * malloc/morecore.c (__sbrk): Likewise.
20872         (__default_morecore): Likewise.
20873
20874         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20875
20876         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20877         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20878         __malloc_ptrdiff_t.
20879
20880         * malloc/malloc.h (__malloc_size_t): Remove macro.
20881         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20882         __malloc_size_t.
20883         (old_memalign_hook): Likewise.
20884         (old_realloc_hook): Likewise.
20885         (struct hdr): Likewise.
20886         (flood): Likewise.
20887         (mallochook): Likewise.
20888         (memalignhook): Likewise.
20889         (reallochook): Likewise.
20890         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20891         (tr_old_realloc_hook): Likewise.
20892         (tr_old_memalign_hook): Likewise.
20893         (tr_mallochook): Likewise.
20894         (tr_reallochook): Likewise.
20895         (tr_memalignhook): Likewise.
20896
20897 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20898
20899         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20900         default_ldbl_pack and using as default implementation.
20901         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20902         implementation.
20903         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20904         redundant definition.
20905         (ldbl_insert_mantissa): Likewise.
20906         (ldbl_canonicalize): Likewise.
20907         (ldbl_nearbyint): Likewise.
20908         (ldbl_pack): Rename to ldbl_pack_ppc.
20909         (ldbl_unpack): Rename to ldbl_unpack_ppc.
20910         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20911         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20912
20913 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20914
20915         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20916         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20917         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20918         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20919         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20920         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20921         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20922         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20923
20924 2013-03-07  Andreas Jaeger  <aj@suse.de>
20925
20926         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20927         bits/mman-linux.h.
20928
20929 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20930
20931         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20932         Include mpa.h and declare __MPEXP.
20933         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20934         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20935         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20936         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20937         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20938         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20939         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20940
20941         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20942         (__slowpow): Use long double EXPL and LOGL functions to
20943         compute POW.
20944         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20945         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20946         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20947         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20948         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20949         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20950
20951         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20952         intermediate variable to calculate exponent.
20953         (__sqr): Likewise.
20954         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20955         Likewise.
20956         (__sqr): Likewise.
20957
20958         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20959         [!NO__SQR]: Define __sqr.
20960         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20961         and NO__SQR.  Remove all code except __mul and __sqr.  Include
20962         sysdeps/ieee754/dbl-64/mpa.c.
20963         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20964
20965         [BZ #12723]
20966         * posix/Makefile (tests): Add tst-pathconf.
20967         * posix/tst-pathconf.c: New test case.
20968         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20969         _PC_PIPE_BUF.
20970         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20971
20972 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
20973
20974         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20975
20976 2013-03-06  Andreas Jaeger  <aj@suse.de>
20977
20978         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20979         definition via __MAP_ANONYMOUS.
20980
20981         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20982         it's not part of Linux headers.
20983
20984         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20985         (MAP_HUGE_MASK): Define.
20986
20987         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20988         Define.
20989         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20990         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20991         Define.
20992         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20993         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20994         Define.
20995         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20996         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20997         Define.
20998         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20999
21000         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21001         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21002         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21003         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21004         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21005         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21006
21007         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21008         Handle f2fs.
21009
21010         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21011         Handle f2fs and efivarfs.
21012
21013         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21014         f2fs.
21015
21016         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21017         (EFIVARFS_MAGIC): Add.
21018         (F2FS_LINK_MAX): Add.
21019
21020 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21021
21022         * stdio-common/vfprintf.c: Replace __builtin_expect with
21023         __glibc_unlikely.
21024
21025 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21026
21027         [BZ #13550]
21028         * sysdeps/generic/bp-sym.h: Remove file.
21029         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21030         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21031         <bp-sym.h> and <bp-asm.h>.
21032         (__longjmp): Don't use BP_SYM.
21033         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21034         and <bp-asm.h>.
21035         (memcpy): Don't use BP_SYM.
21036         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21037         <bp-sym.h> and <bp-asm.h>.
21038         (memcpy): Don't use BP_SYM.
21039         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21040         <bp-asm.h>.
21041         (memcpy): Don't use BP_SYM.
21042         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21043         <bp-asm.h>.
21044         (memset): Don't use BP_SYM.
21045         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21046         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21047         (__bzero): Don't use BP_SYM.
21048         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21049         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21050         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21051         <bp-sym.h> and <bp-asm.h>.
21052         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21053         pointers.
21054         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21055         <bp-sym.h> and <bp-asm.h>.
21056         (memcpy): Don't use BP_SYM.
21057         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21058         <bp-sym.h> and <bp-asm.h>.
21059         (memset): Don't use BP_SYM.
21060         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21061         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21062         (__bzero): Don't use BP_SYM.
21063         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21064         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21065         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21066         <bp-sym.h> and <bp-asm.h>.
21067         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21068         pointers.
21069         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21070         <bp-sym.h> and <bp-asm.h>.
21071         (memcpy): Don't use BP_SYM.
21072         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21073         <bp-sym.h> and <bp-asm.h>.
21074         (memset): Don't use BP_SYM.
21075         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21076         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21077         (__bzero): Don't use BP_SYM.
21078         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21079         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21080         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21081         <bp-sym.h> and <bp-asm.h>.
21082         (__memchr): Don't use BP_SYM.
21083         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21084         <bp-sym.h> and <bp-asm.h>.
21085         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21086         pointers.
21087         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21088         <bp-sym.h> and <bp-asm.h>.
21089         (memcpy): Don't use BP_SYM.
21090         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21091         <bp-sym.h> and <bp-asm.h>.
21092         (__mempcpy): Don't use BP_SYM.
21093         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21094         <bp-sym.h> and <bp-asm.h>.
21095         (__memrchr): Don't use BP_SYM.
21096         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21097         <bp-sym.h> and <bp-asm.h>.
21098         (memset): Don't use BP_SYM.
21099         (__bzero): Likewise.
21100         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21101         <bp-sym.h> and <bp-asm.h>.
21102         (__rawmemchr): Don't use BP_SYM.
21103         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21104         <bp-sym.h> and <bp-asm.h>.
21105         (__STRCMP): Don't use BP_SYM.
21106         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21107         <bp-sym.h> and <bp-asm.h>.
21108         (strchr): Don't use BP_SYM.
21109         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21110         <bp-sym.h> and <bp-asm.h>.
21111         (__strchrnul): Don't use BP_SYM.
21112         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21113         <bp-sym.h> and <bp-asm.h>.
21114         (strlen): Don't use BP_SYM.
21115         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21116         <bp-sym.h> and <bp-asm.h>.
21117         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21118         pointers.
21119         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21120         <bp-sym.h> and <bp-asm.h>.
21121         (__strnlen): Don't use BP_SYM.
21122         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21123         <bp-sym.h> and <bp-asm.h>.
21124         (__GI__setjmp): Don't use BP_SYM.
21125         (_setjmp): Likewise.
21126         (__sigsetjmp): Likewise.
21127         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21128         (L(start_addresses)): Don't use BP_SYM.
21129         (_start): Likewise.
21130         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21131         <bp-asm.h>.
21132         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21133         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21134         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21135         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21136         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21137         <bp-asm.h>.
21138         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21139         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21140         about bounded pointers.
21141         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21142         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21143         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21144         <bp-asm.h>.
21145         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21146         about bounded pointers.  Remove GKM FIXME comments.
21147         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21148         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21149         <bp-asm.h>.
21150         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21151         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21152         Remove GKM FIXME comments.
21153         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21154         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21155         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21156         <bp-asm.h>.
21157         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21158         about bounded pointers.  Remove GKM FIXME comment.
21159         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21160         and <bp-asm.h>.
21161         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21162         pointers.
21163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21164         <bp-sym.h> and <bp-asm.h>.
21165         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21167         <bp-sym.h> and <bp-asm.h>.
21168         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21169         comment.
21170
21171 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21172
21173         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21174         call free(NULL).
21175
21176 2013-03-05  David S. Miller  <davem@davemloft.net>
21177
21178         * po/es.po: Update from translation team.
21179
21180 2013-03-05  Andreas Jaeger  <aj@suse.de>
21181
21182         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21183         <bits/mman-linux.h>.
21184         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21185         is fine.
21186         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21187         <bits/mman-linux.h> to end of file.
21188         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21189         is fine.
21190         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21191         <bits/mman-linux.h> to end of file.
21192         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21193         is fine.
21194         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21195         <bits/mman-linux.h> to end of file.
21196
21197         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21198         (MCL_CURRENT, MCL_FUTURE): Define here.
21199
21200 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21201
21202         [BZ #15232]
21203         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21204         attribute_hidden.
21205         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21206
21207 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21208
21209         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21210         fourth parameter needed for rt_sigprocmask syscall.
21211         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21212         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21213         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21214         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21215         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21216         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21217
21218 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
21219
21220         [BZ #13550]
21221         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21222         comment about bounded pointers.
21223         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21224         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21225
21226 2013-03-04  Andreas Jaeger  <aj@suse.de>
21227
21228         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21229         common definitions.
21230
21231         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21232         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21233         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21234         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21235         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21236         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21237
21238 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21239
21240         [BZ #15055]
21241         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21242         __ieee754_sqrl instead of __sqrl.
21243
21244 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
21245
21246         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21247         * sysdeps/powerpc/fpu_control.h: ... here.
21248         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21249         * sysdeps/powerpc/bits/fenvinline.h: ... here.
21250         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21251         * sysdeps/powerpc/bits/mathinline.h: ... here.
21252
21253 2013-03-01  Roland McGrath  <roland@hack.frob.com>
21254
21255         * elf/dl-hwcaps.c (_dl_important_hwcaps):
21256         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21257         to just [NEED_DL_SYSINFO_DSO].
21258         * elf/dl-support.c: Likewise.
21259         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21260         * elf/rtld.c (dl_main): Likewise.
21261         * elf/setup-vdso.h (setup_vdso): Likewise.
21262         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21263         * sysdeps/unix/sysv/linux/dl-sysdep.c
21264         (_dl_discover_osversion): Likewise.
21265
21266 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
21267
21268         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21269         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21270
21271 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21272
21273         * NEWS: Mention libm performance improvements and non-x86 PI
21274         futex support.
21275
21276         * csu/libc-start.c (__pthread_initialize_minimal): Change
21277         function arguments.
21278         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21279
21280 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
21281
21282         [BZ #13550]
21283         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21284         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21285         <bp-sym.h> and <bp-asm.h>.
21286         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21287         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21288         and <bp-asm.h>.
21289         (memcpy): Don't use BP_SYM.
21290         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21291         <bp-asm.h>.
21292         (__mpn_add_n): Don't use BP_SYM.
21293         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21294         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21295         and <bp-asm.h>.
21296         (__mpn_addmul_1): Don't use BP_SYM.
21297         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21298         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21299         <bp-sym.h>.
21300         (_setjmp): Don't use BP_SYM.
21301         (__novmx_setjmp): Likewise.
21302         (__GI__setjmp): Likewise.
21303         (__vmx_setjmp): Likewise.
21304         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21305         <bp-sym.h>.
21306         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21307         (__bzero): Don't use BP_SYM.
21308         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21309         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21310         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21311         <bp-sym.h> and <bp-asm.h>.
21312         (memcpy): Don't use BP_SYM.
21313         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21314         <bp-sym.h> and <bp-asm.h>.
21315         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21316         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21317         <bp-sym.h> and <bp-asm.h>.
21318         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21319         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21320         <bp-asm.h>.
21321         (__mpn_lshift): Don't use BP_SYM.
21322         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21323         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21324         <bp-asm.h>.
21325         (memset): Don't use BP_SYM.
21326         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21327         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21328         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21329         <bp-asm.h>.
21330         (__mpn_mul_1): Don't use BP_SYM.
21331         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21332         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21333         <bp-sym.h> and <bp-asm.h>.
21334         (memcmp): Don't use BP_SYM.
21335         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21336         <bp-sym.h> and <bp-asm.h>.
21337         (memcpy): Don't use BP_SYM.
21338         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21339         <bp-sym.h> and <bp-asm.h>.
21340         (memset): Don't use BP_SYM.
21341         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21342         <bp-sym.h> and <bp-asm.h>.
21343         (strncmp): Don't use BP_SYM.
21344         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21345         <bp-sym.h> and <bp-asm.h>.
21346         (memcpy): Don't use BP_SYM.
21347         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21348         <bp-sym.h> and <bp-asm.h>.
21349         (memset): Don't use BP_SYM.
21350         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21351         <bp-sym.h> and <bp-asm.h>.
21352         (__memchr): Don't use BP_SYM.
21353         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21354         <bp-sym.h> and <bp-asm.h>.
21355         (memcmp): Don't use BP_SYM.
21356         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21357         <bp-sym.h> and <bp-asm.h>.
21358         (memcpy): Don't use BP_SYM.
21359         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21360         <bp-sym.h> and <bp-asm.h>.
21361         (__mempcpy): Don't use BP_SYM.
21362         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21363         <bp-sym.h> and <bp-asm.h>.
21364         (__memrchr): Don't use BP_SYM.
21365         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21366         <bp-sym.h> and <bp-asm.h>.
21367         (memset): Don't use BP_SYM.
21368         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21369         <bp-sym.h> and <bp-asm.h>.
21370         (__rawmemchr): Don't use BP_SYM.
21371         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21372         <bp-sym.h> and <bp-asm.h>.
21373         (__STRCMP): Don't use BP_SYM.
21374         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21375         <bp-sym.h> and <bp-asm.h>.
21376         (strchr): Don't use BP_SYM.
21377         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21378         <bp-sym.h> and <bp-asm.h>.
21379         (__strchrnul): Don't use BP_SYM.
21380         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21381         <bp-sym.h> and <bp-asm.h>.
21382         (strlen): Don't use BP_SYM.
21383         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21384         <bp-sym.h> and <bp-asm.h>.
21385         (strncmp): Don't use BP_SYM.
21386         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21387         <bp-sym.h> and <bp-asm.h>.
21388         (__strnlen): Don't use BP_SYM.
21389         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21390         <bp-asm.h>.
21391         (__mpn_rshift): Don't use BP_SYM.
21392         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21393         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21394         <bp-sym.h> and <bp-asm.h>.
21395         (__sigsetjmp): Don't use BP_SYM.
21396         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21397         (L(start_addresses)): Don't use BP_SYM.
21398         (_start): Likewise.
21399         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21400         <bp-asm.h>.
21401         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21402         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21403         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21404         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21405         <bp-asm.h>.
21406         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21407         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21408         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21409         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21410         <bp-asm.h>.
21411         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21412         comments.
21413         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21414         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21415         <bp-asm.h>.
21416         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
21417         FIXME comments.
21418         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21419         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21420         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21421         <bp-asm.h>.
21422         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21423         comment.
21424         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21425         and <bp-asm.h>.
21426         (strncmp): Don't use BP_SYM,
21427         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21428         <bp-asm.h>.
21429         (__mpn_sub_n): Don't use BP_SYM.
21430         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21431         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21432         and <bp-asm.h>.
21433         (__mpn_submul_1): Don't use BP_SYM.
21434         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21436         <bp-sym.h> and <bp-asm.h>.
21437         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21439         <bp-sym.h> and <bp-asm.h>.
21440         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21441         comment.
21442
21443 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21444
21445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21446         Use ZK to minimize writes to Z.
21447         (sub_magnitudes): Simplify code a bit.
21448         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21449         Use ZK to minimize writes to Z.
21450         (sub_magnitudes): Simplify code a bit.
21451
21452 2013-02-27  Roland McGrath  <roland@hack.frob.com>
21453
21454         * csu/gmon-start.c: Add special exception to license text.
21455
21456 2013-02-27  Richard Henderson  <rth@redhat.com>
21457
21458         * scripts/config.guess: Update from config.git.
21459         * scripts/config.sub: Likewise.
21460
21461 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21462
21463         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21464
21465         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21466
21467         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21468
21469         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21470
21471         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21472
21473 2013-02-26  Roland McGrath  <roland@hack.frob.com>
21474
21475         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21476         [$(build-shared = yes].
21477
21478 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21479
21480         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21481         (__mul): Reduce iterations for calculating mantissa.
21482
21483         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21484         MPTWO.
21485         (__mpranred): Likewise.
21486
21487         [BZ #15160]
21488         * malloc/memusagestat.c (main): Draw graphs for heap and stack
21489         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21490
21491 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
21492
21493         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21494         Define __attribute__.
21495
21496 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21497
21498         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21499         unused.
21500         * posix/regex_internal.h (__attribute): Remove.
21501         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21502         (re_string_context_at): Likewise.
21503         (bitset_not): Use __attribute__ and mark function as possibly
21504         unused.
21505         (bitset_merge): Likewise.
21506         (bitset_mask): Likewise.
21507         (re_string_char_size_at): Likewise.
21508         (re_string_wchar_at): Likewise.
21509         (re_string_elem_size_at): Likewise.
21510
21511 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21512
21513         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21514         code.
21515         (cc32): Likewise.
21516
21517         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21518         (__acr): Likewise.
21519         (__cpy): Likewise.
21520         (norm): Likewise.
21521         (denorm): Likewise.
21522         (__dbl_mp): Likewise.
21523         (add_magnitudes): Likewise.
21524         (sub_magnitudes): Likewise.
21525         (__mul): Likewise.
21526         (__inv): Likewise.
21527
21528         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21529         style.
21530
21531         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21532         style.
21533
21534         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21535         code.
21536
21537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21538         up changes with default code.
21539         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21540         Likewise.
21541
21542 2013-02-24  Allan McRae  <allan@archlinux.org>
21543
21544         * manual/socket.texi (The Internet Namespace): Order menu items
21545         to match that in the file.
21546
21547         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21548         node listing of the info page menu.
21549
21550 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
21551
21552         [BZ #13550]
21553         * sysdeps/i386/bp-asm.h: Remove file.
21554         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21555         (PARMS): Do not use macros from bp-asm.h.
21556         (S1): Likewise.
21557         (S2): Likewise.
21558         (SIZE): Likewise.
21559         (__mpn_add_n): Do not use BP_SYM
21560         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21561         "bp-asm.h".
21562         (PARMS): Do not use macros from bp-asm.h.
21563         (S1): Likewise.
21564         (SIZE): Likewise.
21565         (__mpn_addmul_1): Do not use BP_SYM
21566         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21567         "bp-asm.h".
21568         (PARMS): Do not use macros from bp-asm.h.
21569         (SIGMSK): Likewise.
21570         (_setjmp): Likewise.  Do not use BP_SYM.
21571         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21572         "bp-asm.h".
21573         (PARMS): Do not use macros from bp-asm.h.
21574         (SIGMSK): Likewise.
21575         (setjmp): Likewise.  Do not use BP_SYM.
21576         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21577         "bp-asm.h".
21578         (PARMS): Do not use macros from bp-asm.h.
21579         (__frexp): Do not use BP_SYM.
21580         (frexp): Likewise.
21581         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21582         "bp-asm.h".
21583         (PARMS): Do not use macros from bp-asm.h.
21584         (__frexpf): Do not use BP_SYM.
21585         (frexpf): Likewise.
21586         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21587         "bp-asm.h".
21588         (PARMS): Do not use macros from bp-asm.h.
21589         (__frexpl): Do not use BP_SYM.
21590         (frexpl): Likewise.
21591         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21592         "bp-asm.h".
21593         (PARMS): Do not use macros from bp-asm.h.
21594         (__remquo): Do not use BP_SYM.
21595         (remquo): Likewise.
21596         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21597         "bp-asm.h".
21598         (PARMS): Do not use macros from bp-asm.h.
21599         (__remquof): Do not use BP_SYM.
21600         (remquof): Likewise.
21601         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21602         "bp-asm.h".
21603         (PARMS): Do not use macros from bp-asm.h.
21604         (__remquol): Do not use BP_SYM.
21605         (remquol): Likewise.
21606         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21607         "bp-asm.h".
21608         (PARMS): Do not use macros from bp-asm.h.
21609         (DEST): Likewise.
21610         (SRC): Likewise.
21611         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
21612         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21613         "bp-asm.h".
21614         (PARMS): Do not use macros from bp-asm.h.
21615         (strlen): Do not use BP_SYM.
21616         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21617         "bp-asm.h".
21618         (PARMS): Do not use macros from bp-asm.h.
21619         (S1): Likewise.
21620         (S2): Likewise.
21621         (SIZE): Likewise.
21622         (__mpn_add_n): Do not use BP_SYM.
21623         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21624         "bp-asm.h".
21625         (PARMS): Do not use macros from bp-asm.h.
21626         (S1): Likewise.
21627         (SIZE): Likewise.
21628         (__mpn_addmul_1): Do not use BP_SYM.
21629         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21630         weak_alias.
21631         (bzero): Likewise.
21632         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21633         "bp-asm.h".
21634         (PARMS): Do not use macros from bp-asm.h.
21635         (S): Likewise.
21636         (SIZE): Likewise.
21637         (__mpn_lshift): Do not use BP_SYM.
21638         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21639         "bp-asm.h".
21640         (PARMS): Do not use macros from bp-asm.h.
21641         (DEST): Likewise.
21642         (SRC): Likewise.
21643         (LEN): Likewise.
21644         (memcpy): Likewise.  Do not use BP_SYM.
21645         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21646         libc_hidden_def and weak_alias.
21647         (mempcpy): Do not use BP_SYM in weak_alias.
21648         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21649         "bp-asm.h".
21650         (PARMS): Do not use macros from bp-asm.h.
21651         (DEST): Likewise.
21652         (LEN): Likewise.
21653         [!BZERO_P] (CHR): Likewise.
21654         (memset): Likewise.  Do not use BP_SYM.
21655         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21656         "bp-asm.h".
21657         (PARMS): Do not use macros from bp-asm.h.
21658         (S1): Likewise.
21659         (SIZE): Likewise.
21660         (__mpn_mul_1): Do not use BP_SYM.
21661         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21662         "bp-asm.h".
21663         (PARMS): Do not use macros from bp-asm.h.
21664         (S): Likewise.
21665         (SIZE): Likewise.
21666         (__mpn_rshift): Do not use BP_SYM.
21667         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21668         "bp-asm.h".
21669         (PARMS): Do not use macros from bp-asm.h.
21670         (STR): Likewise.
21671         (CHR): Likewise.
21672         (strchr): Likewise.  Do not use BP_SYM.
21673         (index): Do not use BP_SYM in weak_alias.
21674         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21675         "bp-asm.h".
21676         (PARMS): Do not use macros from bp-asm.h.
21677         (DEST): Likewise.
21678         (SRC): Likewise.
21679         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
21680         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21681         "bp-asm.h".
21682         (PARMS): Do not use macros from bp-asm.h.
21683         (strlen): Do not use BP_SYM.
21684         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21685         "bp-asm.h".
21686         (PARMS): Do not use macros from bp-asm.h.
21687         (S1): Likewise.
21688         (S2): Likewise.
21689         (SIZE): Likewise.
21690         (__mpn_sub_n): Do not use BP_SYM.
21691         * sysdeps/i386/i586/submul_1.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         (SIZE): Likewise.
21696         (__mpn_submul_1): Do not use BP_SYM.
21697         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21698         "bp-asm.h".
21699         (PARMS): Do not use macros from bp-asm.h.
21700         (S1): Likewise.
21701         (S2): Likewise.
21702         (SIZE): Likewise.
21703         (__mpn_add_n): Do not use BP_SYM.
21704         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21705         weak_alias.
21706         (bzero): Likewise.
21707         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21708         "bp-asm.h".
21709         (PARMS): Do not use macros from bp-asm.h.
21710         (BLK2): Likewise.
21711         (LEN): Likewise.
21712         (memcmp): Do not use BP_SYM.
21713         (bcmp): Do not use BP_SYM in weak_alias.
21714         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21715         "bp-asm.h".
21716         (PARMS): Do not use macros from bp-asm.h.
21717         (DEST): Likewise.
21718         (SRC): Likewise.
21719         (LEN): Likewise.
21720         (memcpy): Likewise.  Do not use BP_SYM.
21721         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21722         "bp-asm.h".
21723         (PARMS): Do not use macros from bp-asm.h.
21724         (DEST): Likewise.
21725         (SRC): Likewise.
21726         (LEN): Likewise.
21727         (memmove): Likewise.  Do not use BP_SYM.
21728         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21729         "bp-asm.h".
21730         (PARMS): Do not use macros from bp-asm.h.
21731         (DEST): Likewise.
21732         (SRC): Likewise.
21733         (LEN): Likewise.
21734         (__mempcpy): Likewise.  Do not use BP_SYM.
21735         (mempcpy): Do not use BP_SYM in weak_alias.
21736         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21737         "bp-asm.h".
21738         (PARMS): Do not use macros from bp-asm.h.
21739         (DEST): Likewise.
21740         (LEN): Likewise.
21741         [!BZERO_P] (CHR): Likewise.
21742         (memset): Likewise.  Do not use BP_SYM.
21743         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21744         "bp-asm.h".
21745         (PARMS): Do not use macros from bp-asm.h.
21746         (STR2): Likewise.
21747         (strcmp): Do not use BP_SYM.
21748         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21749         "bp-asm.h".
21750         (PARMS): Do not use macros from bp-asm.h.
21751         (STR): Likewise.
21752         (DELIM): Likewise.
21753         [USE_AS_STRTOK_R] (SAVE): Likewise.
21754         (FUNCTION): Likewise.  Do not use BP_SYM.
21755         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21756         aliases.
21757         (strtok_r): Likewise.
21758         (__GI___strtok_r): Likewise.
21759         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21760         (PARMS): Do not use macros from bp-asm.h.
21761         (S): Likewise.
21762         (SIZE): Likewise.
21763         (__mpn_lshift): Do not use BP_SYM.
21764         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21765         (PARMS): Do not use macros from bp-asm.h.
21766         (STR): Likewise.
21767         (CHR): Likewise.
21768         (__memchr): Do not use BP_SYM.
21769         (memchr): Do not use BP_SYM in weak_alias.
21770         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21771         (PARMS): Do not use macros from bp-asm.h.
21772         (BLK2): Likewise.
21773         (LEN): Likewise.
21774         (memcmp): Do not use BP_SYM.
21775         (bcmp): Do not use BP_SYM in weak_alias.
21776         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21777         (PARMS): Do not use macros from bp-asm.h.
21778         (S1): Likewise.
21779         (SIZE): Likewise.
21780         (__mpn_mul_1): Do not use BP_SYM.
21781         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21782         "bp-asm.h".
21783         (PARMS): Do not use macros from bp-asm.h.
21784         (STR): Likewise.
21785         (CHR): Likewise.
21786         (__rawmemchr): Do not use BP_SYM.
21787         (rawmemchr): Do not use BP_SYM in weak_alias.
21788         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21789         (PARMS): Do not use macros from bp-asm.h.
21790         (S): Likewise.
21791         (SIZE): Likewise.
21792         (__mpn_rshift): Do not use BP_SYM.
21793         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21794         (PARMS): Do not use macros from bp-asm.h.
21795         (SIGMSK): Likewise.
21796         (__sigsetjmp): Likewise.  Do not use BP_SYM.
21797         * sysdeps/i386/start.S: Do not include "bp-sym.h".
21798         (_start): Do not use BP_SYM.
21799         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21800         (PARMS): Do not use macros from bp-asm.h.
21801         (DEST): Likewise.
21802         (SRC): Likewise.
21803         (__stpcpy): Likewise.  Do not use BP_SYM.
21804         (stpcpy): Do not use BP_SYM in weak_alias.
21805         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21806         "bp-asm.h".
21807         (PARMS): Do not use macros from bp-asm.h.
21808         (DEST): Likewise.
21809         (SRC): Likewise.
21810         (LEN): Likewise.
21811         (__stpncpy): Likewise.  Do not use BP_SYM.
21812         (stpncpy): Do not use BP_SYM in weak_alias.
21813         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21814         (PARMS): Do not use macros from bp-asm.h.
21815         (STR): Likewise.
21816         (CHR): Likewise.
21817         (strchr): Likewise.  Do not use BP_SYM.
21818         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21819         "bp-asm.h".
21820         (PARMS): Do not use macros from bp-asm.h.
21821         (STR): Likewise.
21822         (CHR): Likewise.
21823         (__strchrnul): Likewise.  Do not use BP_SYM.
21824         (strchrnul): Do not use BP_SYM in weak_alias.
21825         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21826         "bp-asm.h".
21827         (PARMS): Do not use macros from bp-asm.h.
21828         (STOP): Likewise.
21829         (strcspn): Do not use BP_SYM.
21830         * sysdeps/i386/strpbrk.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         (STOP): Likewise.
21835         (strpbrk): Likewise.  Do not use BP_SYM.
21836         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21837         "bp-asm.h".
21838         (PARMS): Do not use macros from bp-asm.h.
21839         (STR): Likewise.
21840         (CHR): Likewise.
21841         (strrchr): Likewise.  Do not use BP_SYM.
21842         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21843         (PARMS): Do not use macros from bp-asm.h.
21844         (SKIP): Likewise.
21845         (strspn): Do not use BP_SYM.
21846         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21847         (PARMS): Do not use macros from bp-asm.h.
21848         (STR): Likewise.
21849         (DELIM): Likewise.
21850         (SAVE): Likewise.
21851         (FUNCTION): Likewise.  Do not use BP_SYM.
21852         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21853         aliases.
21854         (strtok_r): Likewise.
21855         (__GI___strtok_r): Likewise.
21856         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21857         (PARMS): Do not use macros from bp-asm.h.
21858         (S1): Likewise.
21859         (S2): Likewise.
21860         (SIZE): Likewise.
21861         (__mpn_sub_n): Do not use BP_SYM.
21862         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21863         "bp-asm.h".
21864         (PARMS): Do not use macros from bp-asm.h.
21865         (S1): Likewise.
21866         (SIZE): Likewise.
21867         (__mpn_submul_1): Do not use BP_SYM.
21868         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21869         <bp-sym.h>.
21870         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21871         and <bp-asm.h>.
21872         (PARMS): Do not use macros from bp-asm.h.
21873         (FLAGS): Likewise.
21874         (PTID): Likewise.
21875         (TLS): Likewise.
21876         (CTID): Likewise.
21877         (__clone): Do not use BP_SYM.
21878         (clone): Do not use BP_SYM in weak_alias.
21879         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21880         and <bp-asm.h>.
21881         (PARMS): Do not use macros from bp-asm.h.
21882         (LEN): Likewise.
21883         (__mmap64): Do not use BP_SYM.
21884         (mmap64): Do not use BP_SYM in weak_alias.
21885         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21886         <bp-sym.h> and <bp-asm.h>.
21887         (PARMS): Do not use macros from bp-asm.h.
21888         (__posix_fadvise64_l64): Do not use BP_SYM.
21889         * sysdeps/unix/sysv/linux/i386/semtimedop.S
21890         (PARMS): Do not use macros from bp-asm.h.
21891         (NSOPS): Likewise.
21892         (semtimedop): Do not use BP_SYM.
21893         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21894         and <bp-asm.h>.
21895
21896 2013-02-21  Allan McRae  <allan@archlinux.org>
21897
21898         * manual/message.texi (Charset conversion in gettext):
21899         Move @end statement to beginning of line.
21900
21901 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21902
21903         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21904         static.
21905         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21906         Likewise.
21907
21908         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21909         (denorm): Likewise.
21910         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21911         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21912
21913 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21914
21915         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21916         tail-call to the resolved function if pltexit isn't needed.
21917
21918 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21919
21920         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21921         or Y being zero as being unlikely.
21922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21923         Likewise.
21924
21925 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
21926
21927         * manual/nss.texi (System Databases and Name Service Switch):
21928         Remove frobnicate @pxref.
21929
21930 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21931
21932         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21933         __attribute__ ((unused)) to __attribute__ ((__unused__)).
21934
21935 2013-02-20  Petr Machata  <pmachata@redhat.com>
21936
21937         * elf/elf.h (R_ARM_TARGET1): New macro.
21938         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21939         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21940         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21941         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21942         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21943         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21944         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21945         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21946         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21947         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21948         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21949         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21950         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21951         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21952         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21953         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21954         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21955         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21956         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21957         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21958         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21959         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21960         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21961         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21962         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21963         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21964         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21965         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21966         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21967         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21968         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21969         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21970         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21971         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21972         (R_ARM_THM_GOT_BREL12): Likewise.
21973         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21974         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21975         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21976         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21977         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21978         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21979         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21980         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21981         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21982
21983 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21984
21985         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21986         __attribute_used__ to __attribute__ ((unused)).
21987
21988 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21989
21990         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21991         powerpc mpa.c.
21992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21993         comment formatting.
21994         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21995
21996 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
21997
21998         [BZ #13550]
21999         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22000         Remove macro.
22001         (ENTER): Remove both macro definitions.
22002         (LEAVE): Likewise.
22003         (CHECK_BOUNDS_LOW): Likewise.
22004         (CHECK_BOUNDS_HIGH): Likewise.
22005         (CHECK_BOUNDS_BOTH): Likewise.
22006         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22007         (RETURN_BOUNDED_POINTER): Likewise.
22008         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22009         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22010         (POP_ERRNO_LOCATION_RETURN): Likewise.
22011         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22012         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22013         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22014         macros.
22015         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22016         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22017         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22018         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22019         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22020         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22021         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22022         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22023         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22024         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22025         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22026         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22027         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22028         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22029         removed macros.
22030         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22031         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22032         macros.
22033         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22034         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22035         * sysdeps/i386/i586/memset.S (memset): Likewise.
22036         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22037         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22038         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22039         macros.
22040         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22041         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22042         Change uses of L(2) to L(out).
22043         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22044         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22045         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22046         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22047         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22048         removed macros.
22049         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22050         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22051         macros.
22052         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22053         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22054         (RETURN): Do not use macro LEAVE.
22055         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22056         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22057         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22058         * sysdeps/i386/i686/memset.S (memset): Likewise.
22059         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22060         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22061         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22062         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22063         Likewise.
22064         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22065         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22066         L(1_2) and L(1_3) into L(1).
22067         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22068         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22069         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22070         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22071         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22072         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22073         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22074         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22075         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22076         macros.
22077         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22078         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22079         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22080         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22081         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22082         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22083         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22084         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22085         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22086         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22087         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22088         * sysdeps/i386/strspn.S (strspn): Likewise.
22089         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22090         conditional code.
22091         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22092         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22093         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22094         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22095         L(1_3) into L(1_1).
22096         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22097         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22098         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22099         macros.
22100         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22101
22102 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22103
22104         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22105         macro.
22106
22107 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22108
22109         * math/atest-exp.c (exp_mpn): Remove ROUND.
22110         * math/atest-exp2.c (exp_mpn): Likewise.
22111         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22112
22113         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22114         * stdlib/tst-tls-atexit-lib.c: Likewise.
22115         * stdlib/tst-tls-atexit.c: Likewise.
22116
22117 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22118
22119         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22120         and __attribute_alloc_size__.
22121
22122 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22123
22124         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22125         __attribute_alloc_size__.
22126         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22127         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22128
22129 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22130
22131         * include/programs/xmalloc.h: New file.
22132         * catgets/gencat.c: Include it.
22133         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22134         * elf/pldd.c: Likewise.
22135         * iconv/iconv_charmap.c: Likewise.
22136         * iconv/iconvconfig.c: Likewise.
22137         * iconv/strtab.c: Likewise.
22138         * locale/programs/locale.c: Likewise.
22139         * locale/programs/localedef.h: Likewise.
22140         * locale/programs/simple-hash.c: Likewise.
22141         * nscd/nscd.h: Likewise.
22142         * nss/makedb.c: Likewise.
22143         * sysdeps/generic/ldconfig.h: Likewise.
22144
22145 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22146
22147         * Versions.def: Add GLIBC_2.18.
22148         * include/link.h (struct link_map): New member l_tls_dtor_count.
22149         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22150         (__call_tls_dtors): Likewise.
22151         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22152         __cxa_thread_atexit_impl.
22153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22154         Likewise.
22155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22156         Likewise.
22157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22158         Likewise.
22159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22160         Likewise.
22161         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22163         Likewise.
22164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22165         Likewise.
22166         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22168         Likewise.
22169         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22170         (tests): Add test case tst-tls-atexit.
22171         (modules-names): Add shared library for tst-tls-atexit.
22172         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22173         (GLIBC_PRIVATE): Add __call_tls_dtors.
22174         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22175         for libstdc++.
22176         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22177         * stdlib/tst-tls-atexit.c: New test case.
22178         * stdlib/tst-tls-atexit-lib.c: New test case.
22179
22180         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22181
22182         * elf/Versions (ld): Add _dl_find_dso_for_object.
22183         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22184         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22185         (dl_open_worker): Use _dl_find_dso_for_object.
22186         * elf/dl-sym.c (do_sym): Likewise.
22187         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22188
22189 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22190
22191         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22192         Syntactic changes only.
22193         (_dl_runtime_profile): Do a tail-call to the resolved function.
22194
22195 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
22196
22197         [BZ #13550]
22198         * sysdeps/x86_64/bp-asm.h: Remove file.
22199         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22200         <bp-sym.h> and <bp-asm.h>.
22201         (__clone): Do not use BP_SYM.
22202         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22203         <bp-sym.h> and <bp-asm.h>.
22204         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22205         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22206         "bp-asm.h".
22207         (_setjmp): Do not use BP_SYM.
22208         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22209         "bp-asm.h".
22210         (setjmp): Do not use BP_SYM.
22211         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22212         libc_hidden_def.
22213         (mempcpy): Do not use BP_SYM in weak_alias.
22214         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22215         "bp-asm.h".
22216         (strchr): Do not use BP_SYM.
22217         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22218         "bp-asm.h".
22219         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22220         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22221         (_start): Do not use BP_SYM.
22222         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22223         "bp-asm.h".
22224         (strcat): Do not use BP_SYM.
22225         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22226         "bp-asm.h".
22227         (STRCMP): Do not use BP_SYM.
22228         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22229         "bp-asm.h".
22230         (STRCPY): Do not use BP_SYM.
22231         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22232         "bp-asm.h".
22233         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22234         "bp-asm.h".
22235         (FUNCTION): Do not use BP_SYM.
22236         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22237         weak_alias.
22238         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22239
22240 2013-02-17  Andreas Jaeger  <aj@suse.de>
22241
22242         * time/Versions: Sort entries.
22243         * string/Versions: Likewise.
22244         * resolv/Versions: Likewise.
22245         * posix/Versions: Likewise.
22246         * iconv/Versions: Likewise.
22247         * elf/Versions: Likewise.
22248         * wcsmbs/Versions: Likewise.
22249
22250 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22251
22252         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22253         loop termination condition.
22254
22255         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22256         variable to calculate EZ.
22257         (__sqr): Likewise.
22258
22259         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22260         the lower precision input.
22261
22262 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
22263
22264         [BZ #13550]
22265         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22266         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22267         (run-via-rtld-prefix): Do not handle %-bp tests.
22268         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22269         (all-object-suffixes): Remove .ob.
22270         (bppfx): Remove variable.
22271         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22272         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22273         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22274         [$(build-bounded) = yes] (libtype.ob): Likewise.
22275         * Makerules (elide-routines.ob): Remove variable.
22276         (do-tests-clean): Do not handle *-bp.out.
22277         (common-mostlyclean): Do not handle *-bp and *-bp.out.
22278         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22279         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22280         (tests): Do not include $(tests-bp.out).
22281         (xtests): Do not include $(xtests-bp.out).
22282         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22283         [$(build-bounded) = yes] ($(addprefix
22284         $(objpfx),$(binaries-bounded))): Remove rule.
22285         ($(objpfx)%-bp.out): Remove rule.
22286         * config.make.in (build-bounded): Remove variable.
22287         * crypt/Makefile [$(build-bounded) = yes]
22288         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22289         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22290         append to variable.
22291         [$(build-bounded) = yes] (install-lib): Likewise.
22292         [$(build-bounded) = yes] (generated): Likewise.
22293         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22294         Remove rule.
22295         * intl/Makefile [$(build-bounded) = yes]
22296         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22297         * math/Makefile [$(build-bounded) = yes]
22298         ($(tests:%=$(objpfx)%-bp): Likewise.
22299         * misc/Makefile [$(build-bounded) = yes]
22300         ($(objpfx)tst-tsearch-bp): Likewise.
22301         * nptl/Makeconfig (bounded-thread-library): Remove variable.
22302         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22303         Remove dependency.
22304         * string/Makefile (o-objects.ob): Remove variable.
22305         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22306         (CFLAGS-.ob): Remove variable.
22307         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22308         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22309         both definitions of variable.
22310         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22311         (ASFLAGS-.ob): Remove variable.
22312
22313 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
22314
22315         [BZ #13550]
22316         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22317         Remove __BOUNDED_POINTERS__ from condition.
22318         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22319         * string/bits/string2.h [!__NO_STRING_INLINES &&
22320         !__BOUNDED_POINTERS__]: Likewise.
22321         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22322         Likewise.
22323         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22324         Remove conditional code.
22325         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22326         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22327         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22328         condition.
22329
22330         [BZ #13550]
22331         * csu/libc-start.c: Do not include <bp-sym.h>.
22332         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22333         * elf/dl-open.c: Do not include <bp-sym.h>.
22334         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22335         * math/fegetenv.c: Do not include <bp-sym.h>.
22336         (fegetenv): Do not use BP_SYM in versioned symbols.
22337         * nptl/sysdeps/pthread/bits/libc-lockP.h
22338         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22339         <bp-sym.h>.
22340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22341         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22342         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22343         (__pthread_mutex_destroy): Likewise.
22344         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22345         (__pthread_mutex_lock): Likewise.
22346         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22347         (__pthread_mutex_trylock): Likewise.
22348         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22349         (__pthread_mutex_unlock): Likewise.
22350         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22351         (__pthread_mutexattr_init): Likewise.
22352         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22353         (__pthread_mutexattr_destroy): Likewise.
22354         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22355         (__pthread_mutexattr_settype): Likewise.
22356         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22357         (__pthread_rwlock_init): Likewise.
22358         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22359         (__pthread_rwlock_destroy): Likewise.
22360         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22361         (__pthread_rwlock_rdlock): Likewise.
22362         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22363         (__pthread_rwlock_tryrdlock): Likewise.
22364         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22365         (__pthread_rwlock_wrlock): Likewise.
22366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22367         (__pthread_rwlock_trywrlock): Likewise.
22368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22369         (__pthread_rwlock_unlock): Likewise.
22370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22371         (__pthread_key_create): Likewise.
22372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22373         (__pthread_setspecific): Likewise.
22374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22375         (__pthread_getspecific): Likewise.
22376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22377         Likewise.
22378         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22379         (_pthread_cleanup_push_defer): Likewise.
22380         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22381         (_pthread_cleanup_pop_restore): Likewise.
22382         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22383         (pthread_setcancelstate): Likewise.
22384         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22385         <bp-sym.h>.
22386         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22387         (memchr): Do not use BP_SYM in weak_alias.
22388         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22389         (fegetenv): Do not use BP_SYM in versioned symbols.
22390         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22391         (fesetenv): Do not use BP_SYM in versioned symbols.
22392         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22393         (feupdateenv): Do not use BP_SYM in versioned symbols.
22394         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22395         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22396         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22397         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22398         (open64): Do not use BP_SYM in weak_alias.
22399         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22400         (fegetenv): Do not use BP_SYM in versioned symbols.
22401         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22402         (fesetenv): Do not use BP_SYM in versioned symbols.
22403         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22404         (feupdateenv): Do not use BP_SYM in versioned symbols.
22405         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22406         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22407         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22408         (feraiseexcept): Do not use BP_SYM in versioned symbols.
22409         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22410         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22411         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22412         <bp-sym.h>.
22413         (__libc_start_main): Do not use BP_SYM.
22414
22415 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22416
22417         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22418         redundant return line.
22419         (norm): Likewise.
22420         (denorm): Likewise.
22421         (dbl_mp): Likewise.
22422         (sub_magnitudes): Likewise.
22423         (__add): Likewise.
22424         (__sub): Likewise.
22425         (__mul): Likewise.
22426         (__inv): Likewise.
22427         (__dvd): Likewise.
22428         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22429         (norm): Likewise.
22430         (denorm): Likewise.
22431         (dbl_mp): Likewise.
22432         (sub_magnitudes): Likewise.
22433         (__add): Likewise.
22434         (__sub): Likewise.
22435         (__mul): Likewise.
22436         (__inv): Likewise.
22437         (__dvd): Likewise.
22438
22439         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22440         instead of __mul.
22441         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22442         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22443         (cc32): Likewise.
22444
22445         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22446         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22447         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22448         of __mul for squares.
22449         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22450         function
22451         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22452         Likewise.
22453         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22454         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22455
22456 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
22457
22458         [BZ #13550]
22459         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22460         code.
22461         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22462         prototype or function definition.  Rename ubp_* variables and
22463         parameters.  Remove argv definitions conditional on
22464         [__BOUNDED_POINTERS__].
22465         * debug/backtrace.c (__backtrace): Do not use __unbounded.
22466         * elf/dl-runtime.c (_dl_fixup): Likewise.
22467         * include/set-hooks.h (RUN_HOOK): Likewise.
22468         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22469         definition.
22470         * string/strcpy.c (strcpy): Do not use __unbounded.
22471         * sysdeps/generic/frame.h (struct layout): Likewise.
22472         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22473         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22474         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22475         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22476         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22477         (__backtrace): Likewise.
22478         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22479         use __ptrvalue.
22480         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22481         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22482         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22483         Likewise.
22484         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22485         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22486         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22487         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22488         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22489         Do not use __unbounded.
22490         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22491         Rename __unboundedrlimits parameter to rlimits in prototype.
22492         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22493         Do not use __unbounded.
22494         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22495         not use __ptrvalue.
22496         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22497         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22498         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22499         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22500         __ptrvalue or __unbounded.
22501         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22502         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22503         use __unbounded.
22504         (__new_msgctl): Do not use __ptrvalue.
22505         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22506         __unbounded.
22507         (__libc_msgrcv): Do not use __ptrvalue.
22508         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22509         startup_info): Do not use __unbounded.
22510         (__libc_start_main): Likewise.  Rename ubp_* variables and
22511         parameters.  Remove argv definitions conditional on
22512         [__BOUNDED_POINTERS__].
22513         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22514         __ptrvalue.
22515         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22516         use __unbounded.
22517         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22518         or __ptrvalue.
22519         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22520         use __unbounded.
22521         (__new_shmctl): Do not use __ptrvalue.
22522         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22523         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22524         Likewise.
22525         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22526         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22527         (__libc_sigaction): Likewise.
22528         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22529         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22530         Likewise.
22531         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22532
22533 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
22534
22535         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22536
22537         * string/mempcpy.c: Implement by calling memcpy.
22538
22539 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22540
22541         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22542
22543         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22544         evaluation.
22545
22546         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22547         values in the mantissa.
22548
22549         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22550         minimize writes to Z.
22551         (sub_magnitudes): Simplify code a bit.
22552
22553 2013-02-12  Roland McGrath  <roland@hack.frob.com>
22554
22555         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22556         from the message.  The linker prefixes all warnings with that already.
22557
22558 2013-02-12  Andreas Schwab  <schwab@suse.de>
22559
22560         [BZ #15078]
22561         * posix/regexec.c (extend_buffers): Add parameter min_len.
22562         (check_matching): Pass minimum needed length.
22563         (clean_state_log_if_needed): Likewise.
22564         (get_subexp): Likewise.
22565         * posix/Makefile (tests): Add bug-regex34.
22566         (bug-regex34-ENV): Define.
22567         * posix/bug-regex34.c: New file.
22568
22569         [BZ #11561]
22570         * posix/regcomp.c (parse_bracket_exp): When looking up collating
22571         elements compare against the byte sequence of it, not its name.
22572         * posix/Makefile (tests): Add bug-regex35.
22573         (bug-regex35-ENV): Define.
22574         * posix/bug-regex35.c: New file.
22575
22576 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22577
22578         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
22579         comment.
22580         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22581         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22582         (CHECK_EOL): Add undef.
22583
22584 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
22585
22586         * bits/stdlib-bsearch.h: New file.
22587         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22588         * stdlib/stdlib.h: Likewise.
22589
22590 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22591
22592         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22593         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22594         declaration.
22595         * manual/search.texi (Array Search Function): Add missing const in
22596         lfind prototype.
22597         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22598         declaration to use rlim_t.
22599         (Basic Scheduling Functions): Remove erroneous const from
22600         sched_getparam prototype.  Remove erroneous * from
22601         sched_get_priority_max and sched_get_priority_min prototypes.
22602         (Resource Usage): Fix summary @comment on vtimes to refer to
22603         sys/vtimes.h rather than vtimes.h.
22604         Add missing *s in vtimes prototype.
22605         (Limits on Resources): Fix ulimit prototype to return long int.
22606         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22607         prototypes to use long int rather than double.
22608         (BSD Random): Fix initstate and setstate to use char *, not void *.
22609         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22610         prototype to make second argument 'struct aiocb64 *const[]'.
22611         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22612         (Status of AIO Operations): Remove erroneous const in aio_return and
22613         aio_return64 prototypes.
22614         (Synchronizing I/O): Fix sync prototype to return void.
22615         * manual/startup.texi (Suboptions): Remove an erroneous const in
22616         getsubopt prototype.
22617         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22618         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22619         use size_t rather than int.
22620         (Scanning All Users): Likewise for getpwent_r.
22621         (Setting Groups): Add missing const to setgroups prototype.
22622         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22623         * manual/socket.texi (Host Names): Fix gethostbyaddr and
22624         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22625         'const void *' rather than 'const char *'.
22626         (Host Address Functions): Likewise for inet_ntop.
22627         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22628         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22629         ssize_t for return value.
22630         (Sending Data): Likewise for send, sendto, sendmsg.
22631         (Socket Option Functions): Add a missing const in setsockopt prototype.
22632         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22633         use wchar_t for the argument.
22634         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22635         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22636         take no arguments.
22637         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22638         double/float/long double for second argument.
22639         Fix return types of significand, significandf, significandl.
22640         * manual/filesys.texi (Setting Permissions): Use mode_t for second
22641         argument in fchmod prototype.
22642         (File Owner): Use uid_t and gid_t in fchown prototype.
22643         (File Times): Add const to utimes, futimes, and lutimes prototypes.
22644         (Making Special Files): Use mode_t and dev_t in mknod prototype.
22645         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22646         use 'const struct dirent **' as argument types to CMP function pointer
22647         argument.
22648         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22649         (File Times): Fix summary magic @comment for struct utimbuf and utime
22650         to refer to utime.h, not time.h.
22651         * manual/string.texi (Argz Functions): Add missing const in
22652         argz_extract and argz_next prototypes.
22653         (Finding Tokens in a String): Likewise for basename.
22654         (String/Array Comparison): Fix typo in wcscasecmp prototype.
22655         (Copying and Concatenation): Fix typo in wmemmove prototype.
22656         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22657         (Signal Stack): Remove erroneous const in sigstack prototype.
22658         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22659         prototype.
22660         (Simple Calendar Time): Likewise for stime.
22661         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22662         prototype.
22663         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22664         say sys/sysctl.h instead.
22665         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22666         and vsyslog prototypes.
22667
22668 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22669
22670         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22671         Remove.
22672
22673 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22674
22675         * misc/sys/mman.h: Fix typo in mremap comment.
22676
22677 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22678
22679         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22680         the '\0' terminator.
22681
22682 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22683
22684         [BZ #13550]
22685         * debug/segfault.c: Don't include <bp-checks.h>.
22686         * sysdeps/generic/bp-checks.h: Remove file.
22687         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22688         (__GETDENTS): Don't use CHECK_N.
22689         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22690         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22691         (__getgroups): Don't use CHECK_N.
22692         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22693         (setgroups): Don't use CHECK_N.
22694         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22695         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22696         (__libc_msgrcv): Don't use CHECK_N.
22697         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22698         (__libc_msgsnd): Don't use CHECK_N.
22699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22700         <bp-checks.h>.
22701         (__libc_pread): Don't use CHECK_N.
22702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22703         include <bp-checks.h>.
22704         (__libc_pread64): Don't use CHECK_N.
22705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22706         include <bp-checks.h>.
22707         (__libc_pwrite): Don't use CHECK_N.
22708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22709         include <bp-checks.h>.
22710         (__libc_pwrite64): Don't use CHECK_N.
22711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22712         <bp-checks.h>.
22713         (__libc_pread): Don't use CHECK_N.
22714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22715         include <bp-checks.h>.
22716         (__libc_pread64): Don't use CHECK_N.
22717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22718         include <bp-checks.h>.
22719         (__libc_pwrite): Don't use CHECK_N.
22720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22721         include <bp-checks.h>.
22722         (__libc_pwrite64): Don't use CHECK_N.
22723         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22724         (do_pread): Don't use CHECK_N.
22725         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22726         (do_pread64): Don't use CHECK_N.
22727         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22728         (do_pwrite): Don't use CHECK_N.
22729         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22730         (do_pwrite64): Don't use CHECK_N.
22731         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22732         (__libc_readv): Don't use CHECK_N.
22733         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22734         (semop): Don't use CHECK_N.
22735         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22736         <bp-checks.h>.
22737         (semtimedop): Don't use CHECK_N.
22738         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22739         (__libc_pread): Don't use CHECK_N.
22740         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22741         <bp-checks.h>.
22742         (__libc_pread64): Don't use CHECK_N.
22743         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22744         <bp-checks.h>.
22745         (__libc_pwrite): Don't use CHECK_N.
22746         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22747         <bp-checks.h>.
22748         (__libc_pwrite64): Don't use CHECK_N.
22749         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22750         <bp-checks.h>.
22751         (__libc_msgrcv): Don't use CHECK_N.
22752         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22753         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
22754         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22755         (__libc_writev): Don't use CHECK_N.
22756
22757 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22758
22759         * string/strcpy.c: Removed unused variable.
22760
22761         * Makeconfig (+sysdep-includes): Define with := rather than =.
22762         Use an existing include/ subdir of each sysdeps dir before it.
22763
22764 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22765
22766         * nscd/connection.c (register_traced_file): Comment function.
22767         [HAVE_INOTIFY] (union __inev): Define.
22768         [HAVE_INOTIFY] (inotify_check_files): New function.
22769         [HAVE_INOTIFY] (clear_db_cache): Likewise.
22770         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22771         clear_db_cache.
22772         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22773
22774 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22775
22776         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22777         loaded if not already and that a failure is permanent.
22778
22779 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22780
22781         [BZ #15006]
22782         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22783         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22784
22785 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22786
22787         [BZ #13550]
22788         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22789         (CHECK_1_NULL_OK): Likewise.
22790         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22791         (__fxstat): Do not use CHECK_1.
22792         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22793         <bp-checks.h>.
22794         (___fxstat64): Do not use CHECK_1.
22795         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22796         <bp-checks.h>.
22797         (__fxstatat): Do not use CHECK_1.
22798         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22799         <bp-checks.h>.
22800         (__fxstatat64): Do not use CHECK_1.
22801         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22802         <bp-checks.h>.
22803         (__fxstat): Do not use CHECK_1.
22804         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22805         <bp-checks.h>.
22806         (__fxstatat): Do not use CHECK_1.
22807         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22808         <bp-checks.h>.
22809         (__getresgid): Do not use CHECK_1.
22810         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22811         <bp-checks.h>.
22812         (__getresuid): Do not use CHECK_1.
22813         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22814         <bp-checks.h>.
22815         (__lxstat): Do not use CHECK_1.
22816         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22817         <bp-checks.h>.
22818         (__old_msgctl): Do not use CHECK_1.
22819         (__new_msgctl): Likewise.
22820         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22821         <bp-checks.h>.
22822         (__new_setrlimit): Do not use CHECK_1.
22823         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22824         <bp-checks.h>.
22825         (__old_shmctl): Do not use CHECK_1.
22826         (__new_shmctl): Likewise.
22827         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22828         <bp-checks.h>.
22829         (__xstat): Do not use CHECK_1.
22830         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22831         (__lxstat): Do not use CHECK_1.
22832         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22833         <bp-checks.h>.
22834         (___lxstat64): Do not use CHECK_1.
22835         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22836         (__old_msgctl): Do not use CHECK_1.
22837         (__new_msgctl): Likewise.
22838         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22839         <bp-checks.h>.
22840         (__gettimeofday): Do not use CHECK_1.
22841         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22842         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22843         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22844         <bp-checks.h>.
22845         (__gettimeofday): Do not use CHECK_1.
22846         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22847         (__old_shmctl): Do not use CHECK_1_NULL_OK.
22848         (__new_shmctl): Do not use CHECK_1.
22849         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22850         <bp-checks.h>.
22851         (do_sigtimedwait): Do not use CHECK_1.
22852         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22853         <bp-checks.h>.
22854         (do_sigwaitinfo): Do not use CHECK_1.
22855         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22856         <bp-checks.h>.
22857         (msgctl): Do not use CHECK_1.
22858         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22859         <bp-checks.h>.
22860         (shmctl): Do not use CHECK_1.
22861         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22862         (ustat): Do not use CHECK_1.
22863         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22864         <bp-checks.h>.
22865         (__fxstat): Do not use CHECK_1.
22866         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22867         <bp-checks.h>.
22868         (__fxstatat): Do not use CHECK_1.
22869         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22870         <bp-checks.h>.
22871         (__lxstat): Do not use CHECK_1.
22872         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22873         <bp-checks.h>.
22874         (__xstat): Do not use CHECK_1.
22875         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22876         (__xstat): Do not use CHECK_1.
22877         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22878         (___xstat64): Do not use CHECK_1.
22879
22880         [BZ #13550]
22881         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22882         definitions.
22883         (CHECK_BOUNDS_HIGH): Likewise.
22884         * string/strcpy.c: Do not include <bp-checks.h>.
22885         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22886
22887 2013-02-07  Roland McGrath  <roland@hack.frob.com>
22888
22889         * nscd/nscd-client.h (__nscd_drop_map_ref):
22890         Add __attribute__ ((unused)).
22891         * nis/nss-nisplus.h (niserr2nss): Likewise.
22892
22893         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22894         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22895
22896         * csu/libc-tls.c (init_static_tls, init_slotinfo):
22897         Remove inline keyword.
22898         * include/rounding-mode.h (round_away): Likewise.
22899         * libio/wfileops.c (adjust_wide_data): Likewise.
22900         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22901         (__m128i_strloadu_tolower): Likewise.
22902         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22903         (__m128i_strloadu_tolower): Likewise.
22904         * time/mktime.c (ydhms_diff): Likewise.
22905         * locale/elem-hash.h (elem_hash): Likewise.
22906         * locale/setlocale.c (setdata): Likewise.
22907         * posix/regex_internal.h (re_string_char_size_at): Likewise.
22908         (re_string_wchar_at): Likewise.
22909         (bitset_not, bitset_merge, bitset_mask): Likewise.
22910         [!(__GNUC__ > 3)] (inline): Remove macro.
22911         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22912         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22913         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22914         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22915         * string/memcmp.c (memcmp_bytes): Likewise.
22916         * locale/programs/locarchive.c (compute_hashval): Likewise.
22917         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22918         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22919         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22920         * nss/getent.c (print_rpc, print_protocols): Likewise.
22921         (print_passwd, print_group, print_aliases): Likewise.
22922         * nis/nss-nisplus.h (niserr2nss): Likewise.
22923         * nscd/connections.c (restart_p): Likewise.
22924         Change return type to bool.
22925
22926 2013-02-05  Roland McGrath  <roland@hack.frob.com>
22927
22928         * Makeconfig (all-Depend-files): Add existing
22929         $(sorted-subdirs:=/Depend) files.
22930         (all-subdirs): Remove nss.
22931         * sysdeps/unix/inet/Subdirs: Add it here instead.
22932         * hesiod/Depend: New file.
22933
22934         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22935         instead of calling alloca.
22936
22937         * io/lseek.c (__lseek): Rename to __libc_lseek.
22938         Define __lseek as an alias.
22939
22940         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22941
22942 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
22943
22944         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22945         else clause and remove check for non-standard endianness.
22946
22947 2013-02-04  David S. Miller  <davem@davemloft.net>
22948
22949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22950
22951 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
22952
22953         [BZ #13550]
22954         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22955         (__ubp_memchr): Remove prototype.
22956         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22957         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22958         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22959         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22960         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22961         Remove alias.
22962         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22963         (__ubp_memchr): Likewise.
22964         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22965         (__ubp_memchr): Likewise.
22966         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22967         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22968         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22969         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22970         CHECK_STRING.
22971         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22972         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22973         (__getcwd): Do not use CHECK_STRING.
22974         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22975         <bp-checks.h>.
22976         (__real_chown): Do not use CHECK_STRING.
22977         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22978         <bp-checks.h>.
22979         (fchownat): Do not use CHECK_STRING.
22980         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22981         CHECK_STRING.
22982         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22983         <bp-checks.h>.
22984         (__lchown): Do not use CHECK_STRING.
22985         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22986         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22987         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22988         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22990         include <bp-checks.h>.
22991         (truncate64): Do not use CHECK_STRING.
22992         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22993         <bp-checks.h>.
22994         (__real_chown): Do not use CHECK_STRING.
22995         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22996         <bp-checks.h>.
22997         (__lchown): Do not use CHECK_STRING.
22998         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22999         <bp-checks.h>.
23000         (__chown): Do not use CHECK_STRING.
23001         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23002         <bp-checks.h>.
23003         (truncate64): Do not use CHECK_STRING.
23004         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23005         Likewise.
23006         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23007         (__xmknod): Do not use CHECK_STRING.
23008         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23009         <bp-checks.h>.
23010         (__xmknodat): Do not use CHECK_STRING.
23011         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23012         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23013
23014 2013-02-04  Andreas Schwab  <schwab@suse.de>
23015
23016         [BZ #14142]
23017         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23018         * include/netdb.h: Likewise for h_errno.
23019         * elf/tst-stackguard1.c: Include <tls.h>.
23020
23021 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23022
23023         * elf/link.h (struct link_map): Extend the l_addr comment.
23024         * include/link.h (struct link_map): Likewise.
23025
23026 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23027
23028         [BZ #13550]
23029         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23030         (BOUNDED_1): Remove macro.
23031         * debug/backtrace.c: Don't include <bp-checks.h>.
23032         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23033         (__backtrace): Likewise.
23034         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23035         <bp-checks.h>.
23036         (__backtrace): Don't use BOUNDED_1.
23037         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23038         <bp-checks.h>.
23039         (__backtrace): Don't use BOUNDED_1.
23040         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23041         (__backtrace): Don't use BOUNDED_1.
23042         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23043         (shmat): Don't use BOUNDED_N.
23044
23045 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23046
23047         [BZ #13550]
23048         * sysdeps/generic/bp-start.h: Remove file.
23049         * csu/libc-start.c: Don't include <bp-start.h>.
23050         (LIBC_START_MAIN): Set up __environ directly instead of using
23051         INIT_ARGV_and_ENVIRON.
23052         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23053         <bp-start.h>.
23054
23055         [BZ #13550]
23056         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23057         definitions.
23058         (CHECK_FCNTL): Likewise.
23059         (CHECK_N_PAGES): Likewise.
23060
23061         [BZ #13550]
23062         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23063         definitions.
23064         (CHECK_SIGSET_NULL_OK): Likewise.
23065         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23066         <bp-checks.h>.
23067         (sigpending): Don't use CHECK_SIGSET.
23068         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23069         <bp-checks.h>.
23070         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23071         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23072         <bp-checks.h>.
23073         (do_sigsuspend): Don't use CHECK_SIGSET.
23074         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23075         use CHECK_SIGSET.
23076         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23077         (do_sigwait): Don't use CHECK_SIGSET.
23078         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23079         use CHECK_SIGSET.
23080         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23081         include <bp-checks.h>.
23082         (sigpending): Don't use CHECK_SIGSET.
23083         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23084         include <bp-checks.h>.
23085         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23086         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23087         <bp-checks.h>.
23088         (sigpending): Don't use CHECK_SIGSET.
23089         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23090         <bp-checks.h>.
23091         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23092
23093         [BZ #13550]
23094         * sysdeps/generic/bp-semctl.h: Remove file.
23095         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23096         <bp-checks.h> and <bp-semctl.h>.
23097         (__old_semctl): Don't use CHECK_SEMCTL.
23098         (__new_semctl): Likewise.
23099         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23100         and <bp-semctl.h>.
23101         (__old_semctl): Don't use CHECK_SEMCTL.
23102         (__new_semctl): Likewise.
23103         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23104         <bp-checks.h> and <bp-semctl.h>.
23105         (__old_semctl): Don't use CHECK_SEMCTL.
23106         (__new_semctl): Likewise.
23107         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23108         <bp-checks.h> and <bp-semctl.h>.
23109         (semctl): Don't use CHECK_SEMCTL.
23110
23111         [BZ #13550]
23112         * Makerules (elide-bp-thunks): Remove variable.
23113         (elide-routines.oS): Don't use $(elide-bp-thunks).
23114         (elide-routines.os): Likewise.
23115         (elide-routines.o): Likewise.
23116         (elide-routines.op): Likewise.
23117         (elide-routines.og): Likewise.
23118         (objects): Don't use $(bp-thunks).
23119         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23120         include.
23121         (common-generated): Do not add s-proto-bp.d.
23122         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23123         (int): Likewise.
23124         (typ): Likewise.
23125         Do not generate makefile rules for bounded-pointer thunks.
23126         * sysdeps/generic/bp-thunks.h: Remove file.
23127         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23128         * sysdeps/unix/s-proto-bp.S: Likewise.
23129
23130         [BZ #15062]
23131         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23132         parts of result separately when argument is not close to line from
23133         -i to i and one part of argument is small.
23134         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23135         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23136         * math/libm-test.inc (cacos_test): Add more tests.
23137         (casin_test): Likewise.
23138         (casinh_test): Likewise.
23139         * sysdeps/i386/fpu/libm-test-ulps: Update.
23140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23141
23142 2013-01-31  David S. Miller  <davem@davemloft.net>
23143
23144         * po/de.po: Update from translation team.
23145
23146 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23147
23148         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23149
23150 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23151
23152         * configure.in (_AC_PROG_CC_C89): New definition.
23153         * configure: Regenerate.
23154
23155         * configure.in (AC_PROG_CPP): New definition.
23156         * configure: Regenerate.
23157
23158 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23159
23160         * debug/tst-backtrace.h: New file.
23161         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23162         (ret): Remove variable.
23163         (x): Likewise.
23164         (FAIL): Remove macro.
23165         (NO_INLINE): Likewise.
23166         (fn1): Use match function instead of strstr.
23167         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23168         (ret): Remove variable.
23169         (x): Likewise.
23170         (FAIL): Remove macro.
23171         (NO_INLINE): Likewise.
23172         (fn): Use match function instead of strstr.
23173         * debug/tst-backtrace4.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.
23179         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23180         (ret): Remove variable.
23181         (x): Likewise.
23182         (FAIL): Remove macro.
23183         (NO_INLINE): Likewise.
23184         (handle_signal): Use match function instead of strstr.
23185
23186 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23187
23188         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23189
23190 2013-01-23  David S. Miller  <davem@davemloft.net>
23191
23192         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23193         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23194         argument of CAS if possible.
23195         * sysdeps/sparc/sparc64/bits/atomic.h
23196         (__arch_compare_and_exchange_val_32_acq): Likewise.
23197         (__arch_compare_and_exchange_val_64_acq): Likewise.
23198
23199 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
23200
23201         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23202         * sysdeps/posix/ulimit.c: ... this.
23203         Include <limits.h>.
23204         * sysdeps/unix/bsd/ulimit.c: Remove file.
23205
23206 2013-01-23  Adam Conrad  <adconrad@0c3.net>
23207
23208         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23209         (LDFLAGS-tst-array5): Likewise.
23210
23211 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23212
23213         [BZ #15036]
23214         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23215         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23216         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23217         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23218
23219 2013-01-21  David S. Miller  <davem@davemloft.net>
23220
23221         * sysdeps/sparc/backtrace.c: New file.
23222         * sysdeps/sparc/sparc32/backtrace.h: New file.
23223         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23224         * sysdeps/sparc/sparc64/backtrace.h: New file.
23225         * sysdeps/sparc/sparc64/backtrace.c: Delete.
23226         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23227         -funwind-tables.
23228
23229 2013-01-21  Andreas Schwab  <schwab@suse.de>
23230
23231         [BZ #15020]
23232         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23233         closed its stdout.
23234
23235 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
23236
23237         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23238         "mpa2.h".
23239         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23240
23241 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
23242             Mark Mitchell  <mark@codesourcery.com>
23243             Tom de Vries  <tom@codesourcery.com>
23244             Paul Pluzhnikov  <ppluzhnikov@google.com>
23245
23246         * debug/tst-backtrace2.c: New file.
23247         * debug/tst-backtrace3.c: Likewise.
23248         * debug/tst-backtrace4.c: Likewise.
23249         * debug/tst-backtrace5.c: Likewise.
23250         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23251         (CFLAGS-tst-backtrace3.c): Likewise.
23252         (CFLAGS-tst-backtrace4.c): Likewise.
23253         (CFLAGS-tst-backtrace5.c): Likewise.
23254         (LDFLAGS-tst-backtrace2): Likewise.
23255         (LDFLAGS-tst-backtrace3): Likewise.
23256         (LDFLAGS-tst-backtrace4): Likewise.
23257         (LDFLAGS-tst-backtrace5): Likewise.
23258         (tests): Add new tests tst-backtrace2, tst-backtrace3,
23259         tst-backtrace4 and tst-backtrace5.
23260
23261 2013-01-18  Anton Blanchard  <anton@samba.org>
23262             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23263
23264         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23265         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23266         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23267         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23269         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23270         "+r" and remove output regs list as redundant.  Add explicit inline
23271         asm to specify register of return val to work around compiler codegen
23272         bug.  Remove (int) cast on return value.  Add return type parameter to
23273         use in macro so that this macro does not truncate return value for
23274         64-bit values.
23275         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23276         pass to INTERNAL_VSYSCALL_NCS.
23277         (INLINE_VSYSCALL): Add 'long int' as return type to
23278         INTERNAL_VSYSCALL_NCS macro invocation.
23279         (INTERNAL_VSYSCALL): Add 'long int' as return type to
23280         INTERNAL_VSYSCALL_NCS macro invocation.
23281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23282
23283 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23284
23285         [BZ #14496]
23286         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23287         Fix application of SIMD FP exception mask.
23288
23289         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23290         mp_no from a power of two.
23291         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23292         __mpexp_twomm1.  Use __pow_mp.
23293
23294         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23295         multiplication.
23296
23297 2013-01-17  David S. Miller  <davem@davemloft.net>
23298
23299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23300
23301 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23302
23303         [BZ #15023]
23304         * include/complex.h: Condition contents on [!_COMPLEX_H].
23305         (__kernel_casinhf): New prototype.
23306         (__kernel_casinh): Likewise.
23307         (__kernel_casinhl): Likewise.
23308         * math/Makefile (libm_calls): Add k_casinh.
23309         * math/k_casinh.c: New file.
23310         * math/k_casinhf.c: Likewise.
23311         * math/k_casinhl.c: Likewise.
23312         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23313         finite nonzero arguments.
23314         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23315         finite nonzero arguments.
23316         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23317         finite nonzero arguments.
23318         * math/s_casinh.c: Do not include <float.h>.
23319         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23320         * math/s_casinhf.c: Do not include <float.h>.
23321         (__casinhf): Move code for finite nonzero arguments to
23322         k_casinhf.c.
23323         * math/s_casinhl.c: Do not include <float.h>.
23324         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23325         redefine.
23326         (__casinhl): Move code for finite nonzero arguments to
23327         k_casinhl.c.
23328         * math/libm-test.inc (cacos_test): Add more tests.
23329         * sysdeps/i386/fpu/libm-test-ulps: Update.
23330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23331
23332 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
23333
23334         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23335         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23336         [!HAVE_MREMAP]: Remove [defined linux] case.
23337         * malloc/arena.c: Do not include <malloc-sysdep.h>.
23338
23339 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23340
23341         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23342
23343 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
23344
23345         * elf/elf.h (R_386_SIZE32): New relocation.
23346         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23347         R_386_SIZE32.
23348         (elf_machine_rela): Likewise.
23349         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23350         R_X86_64_SIZE64 and R_X86_64_SIZE32.
23351
23352 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23353
23354         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23355         (FP_FAST_FMA): Do not define.
23356         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23357         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23358         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23359         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23360         !_SOFT_FLOAT]: Likewise.
23361         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23362         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23363         value.
23364         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23365         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23366         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23367         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23368         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23369         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23370         file.
23371
23372 2013-01-16  Andreas Schwab  <schwab@suse.de>
23373
23374         [BZ #14327]
23375         * include/stdlib.h (__mktemp): Add declaration.
23376         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23377         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23378
23379 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23380
23381         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23382         definitions.
23383         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23384         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23385         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23386         definitions here.
23387         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23388         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23389         definitions.
23390         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23391         and ONE.
23392         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23393         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23394         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23395         definitions.
23396         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23397         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23398         definitions.
23399         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23400
23401         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23402
23403 2013-01-15  David S. Miller  <davem@davemloft.net>
23404
23405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23406         trunc{,f} to libm-sysdep_routes.
23407         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23409         file.
23410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23412         file.
23413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23414         file.
23415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23417         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23418         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23419         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23420         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23421         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23422         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23423
23424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23425         nearbyint{,f} to libm-sysdep_routes.
23426         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23428         New file.
23429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23430         file.
23431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23432         New file.
23433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23434         file.
23435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23437         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23438         file.
23439         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23440         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23441         file.
23442         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23443         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23444         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23445
23446         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23447         libc_feholdexcept and libc_fesetenv.
23448
23449 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
23450
23451         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23452
23453 2013-01-14  David S. Miller  <davem@davemloft.net>
23454
23455         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23456         (SPARC_ASM_VIS2_IFUNC): Likewise.
23457         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23459         use of 'siam' instruction.
23460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23461         Likewise.
23462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23463         Likewise.
23464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23465         Likewise.
23466         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23467         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23468         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23469         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23471         file.
23472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23473         file.
23474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23475         file.
23476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23477         file.
23478         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23479         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23480         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23481         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23483         new VIS2 routines.
23484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23487         Likewise.
23488         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23489         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23490         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23491         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23493         routines to libm-sysdep_routines.
23494         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23495
23496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23497         fdim/fdimf to libm-sysdep_routines.
23498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23499         file.
23500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23502         file.
23503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23506         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23507         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23508         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23509         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23510
23511 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23512
23513         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23514         to optimize copies.
23515
23516         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23517         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23518         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23519
23520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23521         local variable MPTWO.
23522         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23523         Likewise.
23524
23525 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23526
23527         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23528         GLOB_NOESCAPE.
23529
23530 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23531
23532         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23533
23534 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23535
23536         * manual/pattern.texi (glob_t): Document gl_flags.
23537         (glob64_t): Likewise.
23538
23539 2013-01-11  David S. Miller  <davem@davemloft.net>
23540
23541         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23542         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23543         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
23544         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23545         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23546         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23547         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23548         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23549         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23550         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23551         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23552         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23553         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23554
23555         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23556         sparc V9 rather than using V8 code.
23557         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23558         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23559
23560         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23561         Move to...
23562         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23563         Here.
23564
23565 2013-01-11  Roland McGrath  <roland@hack.frob.com>
23566
23567         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23568         not in the main loop.
23569         * configure: Regenerated.
23570
23571 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
23572
23573         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23574         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23575         to just #else.
23576         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
23577         [!__GLIBC_HAVE_LONG_LONG] case.
23578         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23579         condition to just #else.
23580         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23581         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23582         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23583         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23584         unconditional.
23585         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23586         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23587         #elif condition to just #else.
23588         * sysdeps/unix/sysv/linux/sys/sysmacros.h
23589         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23590         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23591         #elif condition to just #else.
23592
23593 2013-01-11  Steve Ellcey  <sellcey@mips.com>
23594
23595         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23596         (EF_MIPS_ARCH_64): Fix value.
23597         (EF_MIPS_ARCH_32R2): New.
23598         (EF_MIPS_ARCH_64R2): New.
23599
23600 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
23601
23602         * Makeconfig (+link-pie-before-libc): New.
23603         (+link-pie-after-libc): Likewise.
23604         (+link-pie-tests): Likewise.
23605         (+link-pie): Rewritten.
23606         (link-before-libc): Remove $(config-LDFLAGS).
23607         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23608         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23609         (config-LDFLAGS): Renamed to ...
23610         (rtld-LDFLAGS): This.
23611         (rtld-tests-LDFLAGS): New macro.
23612         (link-libc-rpath-link): Likewise.
23613         (link-libc-tests-rpath-link): Likewise.
23614         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23615         (link-libc): Prepand $(link-libc-rpath-link).
23616         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23617         (test-program-prefix): New macro.
23618         (test-via-rtld-prefix): Likewise.
23619         (test-program-cmd): Likewise.
23620         (host-test-program-cmd): Likewise.
23621         * Makefile ($(common-objpfx)testrun.sh): Replace
23622         $(run-program-prefix) with $(test-program-prefix).
23623         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23624         $(rtld-LDFLAGS).
23625         ($(common-objpfx)shlib.lds): Likewise.
23626         (build-module-helper): Likewise.
23627         ($(common-objpfx)format.lds): Likewise.
23628         * Rules (binaries-pie-tests): New.
23629         (binaries-pie-notests): Likewise.
23630         (binaries-pie): Rewritten.
23631         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23632         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23633         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23634         (make-test-out): Replace $(host-built-program-cmd) with
23635         $(host-test-program-cmd).
23636         * config.make.in (build-hardcoded-path-in-tests): New variable.
23637         * configure.in (--enable-hardcoded-path-in-tests): New configure
23638         option.
23639         (hardcoded_path_in_tests): New AC_SUBST.
23640         * configure: Regenerated.
23641         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23642         $(built-program-cmd) with $(test-program-cmd).
23643         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23644         (test_program_cmd): This.
23645         * elf/Makefile ($(objpfx)order.out): Run test with
23646         $(test-program-prefix).
23647         ($(objpfx)order2.out): Likewise.
23648         ($(objpfx)tst-initorder.out): Likewise.
23649         ($(objpfx)tst-initorder2.out): Likewise.
23650         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23651         $(test-program-cmd).
23652         ($(objpfx)tst-array1-static.out): Likewise.
23653         ($(objpfx)tst-array2.out): Likewise.
23654         ($(objpfx)tst-array3.out): Likewise.
23655         ($(objpfx)tst-array4.out): Likewise.
23656         ($(objpfx)tst-array5.out): Likewise.
23657         ($(objpfx)tst-array5-static.out): Likewise.
23658         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23659         $(test-program-cmd).
23660         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23661         $(run-program-prefix) with $(test-program-prefix).
23662         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23663         (test_program_prefix): This.
23664         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23665         $(run-program-prefix) with $(test-program-prefix).
23666         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23667         (test_program_prefix): This.
23668         * iconvdata/tst-tables.sh: Likewise.
23669         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23670         $(run-program-prefix) with $(test-program-prefix).
23671         ($(objpfx)tst-translit.out): Likewise.
23672         ($(objpfx)tst-gettext2.out): Likewise.
23673         ($(objpfx)tst-gettext4.out): Likewise.
23674         ($(objpfx)tst-gettext6.out): Likewise.
23675         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23676         (test_program_prefix): This.
23677         * intl/tst-gettext2.sh: Likewise.
23678         * intl/tst-gettext4.sh  Likewise.
23679         * intl/tst-gettext6.sh: Likewise.
23680         * intl/tst-translit.sh: Likewise.
23681         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23682         with $(test-program-cmd).
23683         * libio/Makefile ($(objpfx)test-freopen.out): Replace
23684         $(run-program-prefix) with $(test-program-prefix).
23685         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23686         (test_program_prefix): This.
23687         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23688         $(run-program-prefix) with $(test-program-prefix).
23689         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23690         (test_program_prefix): This.
23691         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23692         * posix/Makefile ($(objpfx)globtest.out): Replace
23693         $(run-via-rtld-prefix) and $(test-wrapper) with
23694         $(test-program-prefix) and $(test-via-rtld-prefix).
23695         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23696         $(test-program-prefix).
23697         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23698         $(host-test-program-cmd).
23699         (tst-spawn-ARGS): Likewise.
23700         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23701         $(test-program-prefix).
23702         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23703         (test_via_rtld_prefix): This.
23704         (test_wrapper): Renamed to ...
23705         (test_program_prefix): This.
23706         (run_program_prefix): Replaced by test_program_prefix.
23707         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23708         (test_program_prefix): This.
23709         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23710         with $(host-test-program-cmd).
23711         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23712         $(run-program-prefix) with $(test-program-prefix).
23713         ($(objpfx)tst-printf.out): Likewise.
23714         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23715         $(test-program-cmd).
23716         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23717         (test_program_prefix): This.
23718         * stdio-common/tst-unbputc.sh: Likewise.
23719         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23720         $(run-program-prefix) with $(test-program-prefix).
23721         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23722         (test_program_prefix): This.
23723         * string/Makefile ($(objpfx)tst-svc.out):  Replace
23724         $(built-program-cmd) with $(test-program-cmd).
23725
23726 2013-01-11  Andreas Jaeger  <aj@suse.de>
23727
23728         [BZ #15003]
23729         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23730         value. Sync with Linux 3.7.
23731
23732 2013-01-10  David S. Miller  <davem@davemloft.net>
23733
23734         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23735         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23736         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23737
23738 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23739
23740         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23741         never set.
23742         * configure: Regenerated.
23743
23744 2013-01-10  David S. Miller  <davem@davemloft.net>
23745
23746         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23747         sparc V9 rather than using V8 code.
23748         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23749         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23750
23751 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23752
23753         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23754         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23755         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23756         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23757         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23758         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23759         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23760         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23761         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23762         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23763         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23764         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23765         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23766         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23767         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23768         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23769         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23770         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23771         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23772         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23773         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23774         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23775         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23776         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23777         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23778         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23779         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23780
23781 2013-01-10  David S. Miller  <davem@davemloft.net>
23782
23783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23784
23785 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23786
23787         * posix/Makefile (tests-static): New variable.
23788         (tests): Add $(tests-static).
23789         (tst-exec-static-ARGS): New variable.
23790         (tst-spawn-static-ARGS): Likewise.
23791         * posix/tst-exec-static.c: New file.
23792         * posix/tst-spawn-static.c: Likewise.
23793         * posix/tst-exec.c: Support run directly.
23794         * posix/tst-spawn.c: Likewise.
23795
23796 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
23797
23798         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23799         long.
23800         * math/bits/mathcalls.h (llrint): Likewise.
23801         (llround): Likewise.
23802         * stdlib/stdlib.h (struct drand48_data): Likewise.
23803         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23804         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23805         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23806         Likewise.
23807         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23808         Likewise.
23809         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23810         (elf_greg_t): Likewise.
23811         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23812         (__jmp_buf): Likewise.
23813         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23814         definitions.
23815         (llrint): Likewise, for all definitions.
23816         (llrintl): Likewise.
23817
23818         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23819         Remove [__GNUC__] condition.
23820         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23821         condition to just [__USE_ISOC99].
23822         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23823
23824 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23825
23826         [BZ #14200]
23827         * sysdeps/unix/sysv/linux/x86/bits/environments.h
23828         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23829         defined.
23830         (_POSIX_V6_ILP32_OFF32): Likewise.
23831         (_XBS5_ILP32_OFF32): Likewise.
23832         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23833         (__ILP32_OFFBIG_LDFLAGS): Likewise.
23834
23835 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23836
23837         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23838
23839         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23840         doubles __mpexp_twomm1.  Adjust usage.
23841         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23842         Remove.
23843
23844 2013-01-10  Andreas Schwab  <schwab@suse.de>
23845
23846         [BZ #14964]
23847         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23848         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23849
23850 2013-01-09  David S. Miller  <davem@davemloft.net>
23851
23852         [BZ #15003]
23853         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23854         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23855         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23856         (TCP_FASTOPEN): Define.
23857         (tcp_repair_opt): New structure.
23858         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23859         enum values.
23860         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23861         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23862         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23863         (tcp_cookie_transactions): New structure.
23864
23865 2013-01-09  Anton Blanchard  <anton@samba.org>
23866
23867         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23868         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23869         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23870         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23871
23872 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
23873
23874         * include/features.h (__USE_ANSI): Remove.
23875
23876 2013-01-09  Roland McGrath  <roland@hack.frob.com>
23877
23878         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23879
23880         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23881
23882 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23883
23884         * sysdeps/s390/fpu/libm-test-ulps: Update.
23885
23886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23887
23888         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23889         (__acr): Likewise.
23890         (__cpy): Likewise.
23891         (norm): Likewise.
23892         (denorm): Likewise.
23893         (__mp_dbl): Likewise.
23894         (__dbl_mp): Likewise.
23895         (add_magnitudes): Likewise.
23896         (sub_magnitudes): Likewise.
23897         (__add): Likewise.
23898         (__sub): Likewise.
23899         (__mul): Likewise.
23900         (__inv): Likewise.
23901         (__dvd): Likewise.
23902         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23903         (__acr): Likewise.
23904         (__cpy): Likewise.
23905         (norm): Likewise.
23906         (denorm): Likewise.
23907         (__mp_dbl): Likewise.
23908         (__dbl_mp): Likewise.
23909         (add_magnitudes): Likewise.
23910         (sub_magnitudes): Likewise.
23911         (__add): Likewise.
23912         (__sub): Likewise.
23913         (__mul): Likewise.
23914         (__inv): Likewise.
23915         (__dvd): Likewise.
23916         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23917         (__acr): Likewise.
23918         (__cpy): Likewise.
23919         (norm): Likewise.
23920         (denorm): Likewise.
23921         (__mp_dbl): Likewise.
23922         (__dbl_mp): Likewise.
23923         (add_magnitudes): Likewise.
23924         (sub_magnitudes): Likewise.
23925         (__add): Likewise.
23926         (__sub): Likewise.
23927         (__mul): Likewise.
23928         (__inv): Likewise.
23929         (__dvd): Likewise.
23930
23931 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
23932
23933         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23934         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23935         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23936         2 && __USE_EXTERN_INLINES]: Likewise.
23937
23938 2013-01-08  Andreas Jaeger  <aj@suse.de>
23939
23940         [BZ# 14985]
23941         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23942         Remove.
23943         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23944         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23945
23946 2013-01-07  Anton Blanchard  <anton@samba.org>
23947
23948         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23949         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23950         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23951         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23952         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23953         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23954         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23955         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23956         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23957         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23958         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23959         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23960         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23961         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23962         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23963         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23964         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23965         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23966         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23967         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23968         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23969         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23970         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23971         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23972         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23973         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23974         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23975         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23976         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23977         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23978         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23979         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23980         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23981         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23982         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23983         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23984         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23985         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23986         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23987         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23988         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23989         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23990         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23991
23992 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
23993
23994         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23995         (__MALLOC_PMT): Likewise.
23996         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23997         [__GNUC__], only on [_LIBC].
23998         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23999         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24000         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24001         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24002         forward declaration.
24003         (realloc_hook_ini): Likewise.
24004         (memalign_hook_ini): Likewise.
24005         (__libc_memalign): Do not use __MALLOC_PMT in variable
24006         declaration.
24007         (__libc_valloc): Likewise.
24008         (__libc_pvalloc): Likewise.
24009         (__libc_calloc): Likewise.
24010         (__posix_memalign): Likewise.
24011
24012         [BZ #14996]
24013         * math/s_casinh.c: Include <float.h>.
24014         (__casinh): Do not do computation with squaring and square root
24015         for large arguments.
24016         * math/s_casinhf.c: Include <float.h>.
24017         (__casinhf): Do not do computation with squaring and square root
24018         for large arguments.
24019         * math/s_casinhl.c: Include <float.h>.
24020         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24021         (__casinhl): Do not do computation with squaring and square root
24022         for large arguments.
24023         * math/libm-test.inc (casin_test): Add more tests.
24024         (casinh_test): Likewise.
24025         * sysdeps/i386/fpu/libm-test-ulps: Update.
24026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24027
24028 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24029
24030         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24031         (__x86_64_raw_data_cache_size): Likewise.
24032         (__x86_64_data_cache_size_half): Likewise.
24033         (__x86_64_raw_data_cache_size_half): Likewise.
24034         (__x86_64_shared_cache_size): Likewise.
24035         (__x86_64_raw_shared_cache_size): Likewise.
24036         (__x86_64_shared_cache_size_half): Likewise.
24037         (__x86_64_raw_shared_cache_size_half): Likewise.
24038         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24039         to ...
24040         (__x86_data_cache_size): This.
24041         (__x86_64_raw_data_cache_size): Renamed to ...
24042         (__x86_raw_data_cache_size): This.
24043         (__x86_64_data_cache_size_half): Renamed to ...
24044         (__x86_data_cache_size_half): This.
24045         (__x86_64_raw_data_cache_size_half): Renamed to ...
24046         (__x86_raw_data_cache_size_half): This.
24047         (__x86_64_shared_cache_size): Renamed to ...
24048         (__x86_shared_cache_size): This.
24049         (__x86_64_raw_shared_cache_size): Renamed to ...
24050         (__x86_raw_shared_cache_size): This.
24051         (__x86_64_shared_cache_size_half): Renamed to ...
24052         (__x86_shared_cache_size_half): This.
24053         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24054         (__x86_raw_shared_cache_size_half): This.
24055         * sysdeps/x86_64/memcpy.S: Updated.
24056         * sysdeps/x86_64/memset.S: Likewise.
24057         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24058         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24059         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24060
24061 2013-01-04  David S. Miller  <davem@davemloft.net>
24062
24063         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24064
24065 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24066
24067         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24068         1 to avoid redefinition warning.
24069         (__USE_GNU): Don't define.
24070         (init_signaling_nan): Protoize.
24071
24072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24073
24074 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24075
24076         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24078         (__cpymn): Likewise.
24079         (norm): Remove commented code.
24080         (denorm): Likewise.
24081         (__mp_dbl): Likewise.
24082         (__inv): Likewise.
24083         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24084         (__cpymn): Likewise.
24085         (norm): Remove commented code.
24086         (denorm): Likewise.
24087         (__mp_dbl): Likewise.
24088         (__inv): Likewise.
24089
24090         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24091         mp_no value for 1.0 and 2.0.
24092         (norm): Use RADIXI instead of radixi.d.
24093         (denorm): Likewise.
24094         (__mul): Use 0.0 instead of zero.d.
24095         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24096         mp_no value for 1.0 and 2.0.
24097         (norm): Use RADIXI instead of radixi.d.
24098         (denorm): Likewise.
24099         (__mul): Use 0.0 instead of zero.d.
24100
24101 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24102
24103         [BZ #14994]
24104         * math/s_casinh.c (__casinh): Reduce finite argument to first
24105         quadrant then set signs of results at the end.
24106         * math/s_casinhf.c (__casinhf): Likewise.
24107         * math/s_casinhl.c (__casinhl): Likewise.
24108         * math/libm-test.inc (casin_test): Add more tests.
24109         (casinh_test): Likewise.
24110         * sysdeps/i386/fpu/libm-test-ulps: Update.
24111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24112
24113 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24114
24115         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24116
24117         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24118
24119         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24120         declarations.
24121         (denorm): Likewise.
24122         (__mp_dbl): Likewise.
24123         (__inv): Likewise.
24124
24125         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24126         and adjust the header comment.
24127
24128         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24129         variable name from declaration.
24130
24131 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24132
24133         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24134         Initialize COMMON_CPUID_INDEX_7 element.
24135         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24136         (CPUID_RTM): Likewise.
24137         (HAS_RTM): Likewise.
24138         (COMMON_CPUID_INDEX_7): New enum.
24139
24140 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24141
24142         [BZ #14981]
24143         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24144         size is zero, record memory as freed.
24145
24146 2013-01-03  Andreas Jaeger  <aj@suse.de>
24147
24148         * po/ia.po: Add new Interlingua translation.
24149
24150 2012-01-03  Allan McRae  <allan@archlinux.org>
24151
24152         * locale/programs/localedef.c: Fix description of '--posix' flag.
24153
24154 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24155
24156         * NEWS: Update dates in second copyright notice.
24157         * README: Update copyright dates in example.
24158         * manual/libc.texinfo: Update copyright dates.
24159         * scripts/test-installation.pl: Update copyright date in --version
24160         output.
24161
24162         * hurd/ctty-input.c: Fix copyright notice formatting.
24163         * hurd/ctty-output.c: Likewise.
24164         * hurd/dtable.c: Likewise.
24165         * hurd/hurd-raise.c: Likewise.
24166         * hurd/hurdprio.c: Likewise.
24167         * hurd/msgportdemux.c: Likewise.
24168         * misc/sys/file.h: Likewise.
24169         * misc/sys/ioctl.h: Likewise.
24170         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24171         * sysdeps/mach/hurd/chdir.c: Likewise.
24172         * sysdeps/mach/hurd/fchdir.c: Likewise.
24173         * sysdeps/mach/hurd/rename.c: Likewise.
24174         * sysdeps/mach/hurd/rmdir.c: Likewise.
24175         * sysdeps/mach/hurd/seekdir.c: Likewise.
24176         * sysdeps/mach/hurd/setsid.c: Likewise.
24177         * sysdeps/posix/wait3.c: Likewise.
24178
24179         * All files with FSF copyright notices: Update copyright dates
24180         using scripts/update-copyrights.
24181         * intl/plural.c: Regenerated.
24182         * locale/programs/charmap-kw.h: Likewise.
24183         * locale/programs/locfile-kw.h: Likewise.
24184
24185 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24186
24187         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24188         four values.
24189
24190         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24191         calculation loop and add branch prediction.
24192
24193         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24194         check access beyond bounds of m1np.
24195
24196         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24197         MPTWO.
24198         (__inv): Remove local variable MPTWO to use the global
24199         constant.
24200         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24201         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24202         variable MPTWO.
24203         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24204         MP3HALFS static const.
24205
24206 2013-01-01  David S. Miller  <davem@davemloft.net>
24207
24208         * po/ca.po: Update from translation team.
24209
24210 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
24211
24212         * scripts/update-copyrights: New file.
24213         * Makeconfig: Reformat copyright notice.
24214         * ctype/ctype.h: Likewise.
24215         * debug/swprintf_chk.c: Likewise.
24216         * elf/dl-cache.c: Likewise.
24217         * elf/dl-debug.c: Likewise.
24218         * elf/dl-object.c: Likewise.
24219         * grp/initgroups.c: Likewise.
24220         * hurd/Makefile: Likewise.
24221         * hurd/hurd/signal.h: Likewise.
24222         * hurd/hurdfault.c: Likewise.
24223         * hurd/hurdioctl.c: Likewise.
24224         * hurd/hurdlookup.c: Likewise.
24225         * hurd/intr-msg.c: Likewise.
24226         * iconv/gconv_open.c: Likewise.
24227         * libio/swprintf.c: Likewise.
24228         * locale/lc-ctype.c: Likewise.
24229         * locale/nl_langinfo.c: Likewise.
24230         * mach/Machrules: Likewise.
24231         * mach/Makefile: Likewise.
24232         * malloc/obstack.h: Likewise.
24233         * manual/Makefile: Likewise.
24234         * manual/tsort.awk: Likewise.
24235         * misc/bits/stab.def: Likewise.
24236         * nis/nis_print_group_entry.c: Likewise.
24237         * nis/nis_table.c: Likewise.
24238         * nis/nss_compat/compat-pwd.c: Likewise.
24239         * nis/nss_compat/compat-spwd.c: Likewise.
24240         * po/Makefile: Likewise.
24241         * posix/fnmatch.c: Likewise.
24242         * posix/regex.h: Likewise.
24243         * resolv/Makefile: Likewise.
24244         * resolv/nss_dns/dns-network.c: Likewise.
24245         * resolv/res_hconf.c: Likewise.
24246         * scripts/gen-sorted.awk: Likewise.
24247         * soft-fp/soft-fp.h: Likewise.
24248         * stdio-common/printf.h: Likewise.
24249         * stdlib/monetary.h: Likewise.
24250         * stdlib/random.c: Likewise.
24251         * stdlib/random_r.c: Likewise.
24252         * sysdeps/generic/Makefile: Likewise.
24253         * sysdeps/gnu/Makefile: Likewise.
24254         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24255         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24256         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24257         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24258         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24259         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24260         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24261         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24262         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24263         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24264         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24265         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24266         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24267         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24268         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24269         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24270         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24271         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24272         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24273         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24274         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24275         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24276         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24277         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24278         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24279         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24280         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24281         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24282         * sysdeps/mach/hurd/errnos.awk: Likewise.
24283         * sysdeps/mach/hurd/fork.c: Likewise.
24284         * sysdeps/mach/hurd/getcwd.c: Likewise.
24285         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24286         * sysdeps/mach/hurd/mmap.c: Likewise.
24287         * sysdeps/mach/hurd/utimes.c: Likewise.
24288         * sysdeps/mach/hurd/xmknod.c: Likewise.
24289         * sysdeps/posix/profil.c: Likewise.
24290         * sysdeps/posix/readdir_r.c: Likewise.
24291         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24292         * sysdeps/powerpc/bits/setjmp.h: Likewise.
24293         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24294         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24295         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24296         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24297         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24298         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24299         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24300         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24301         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24302         * sysdeps/pthread/lio_listio.c: Likewise.
24303         * sysdeps/sparc/dl-procinfo.h: Likewise.
24304         * sysdeps/unix/i386/sysdep.S: Likewise.
24305         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24306         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24307         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24308         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24310         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24311         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24312         * sysdeps/unix/sysv/linux/speed.c: Likewise.
24313         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24314         * sysdeps/wordsize-32/divdi3.c: Likewise.
24315         * time/sys/time.h: Likewise.
24316         * wcsmbs/Makefile: Likewise.
24317
24318 2013-01-01  David S. Miller  <davem@davemloft.net>
24319
24320         * po/fr.po: Update from translation team.
24321
24322         * catgets/gencat.c: Update copyright year.
24323         * csu/version.c: Likewise.
24324         * debug/catchsegv.sh: Likewise.
24325         * debug/pcprofiledump.c: Likewise.
24326         * debug/xtrace.sh: Likewise.
24327         * elf/ldconfig.c: Likewise.
24328         * elf/ldd.bash.in: Likewise.
24329         * elf/pldd.c: Likewise.
24330         * elf/sotruss.ksh: Likewise.
24331         * elf/sprof.c: Likewise.
24332         * iconv/iconv_prog.c: Likewise.
24333         * iconv/iconvconfig.c: Likewise.
24334         * locale/programs/locale.c: Likewise.
24335         * locale/programs/localedef.c: Likewise.
24336         * login/programs/pt_chown.c: Likewise.
24337         * malloc/memusage.sh: Likewise.
24338         * malloc/memusagestat.c: Likewise.
24339         * malloc/mtrace.pl: Likewise.
24340         * nscd/nscd.c: Likewise.
24341         * nss/getent.c: Likewise.
24342         * nss/makedb.c: Likewise.
24343         * posix/getconf.c: Likewise.
24344
24345 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24346
24347         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24348         numbers.
24349
24350 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
24351
24352         * math/bits/mathcalls.h (modf): Use __nonnull.
24353
24354 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24355
24356         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24357         (split): Use macro CN instead of the bare value.
24358         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24359         could be used.
24360         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24361         instead of the bare value.
24362         (power1): Likewise.
24363
24364 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24365
24366         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24367         __ATAN_TWOM.
24368         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24369
24370         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24371         their values.
24372         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24373         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24374         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24375         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24376
24377 2012-12-28  Andreas Jaeger  <aj@suse.de>
24378
24379         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
24380         values are from Linux 3.7.
24381
24382         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24383         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
24384
24385 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24386
24387         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24388         TRUE case.
24389
24390         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24391         (norm): Likewise.
24392         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24393         variables with preprocessor constants.
24394         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24395         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24396         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24397
24398 2012-12-27  Bruno Haible  <bruno@clisp.org>
24399
24400         [BZ #14317]
24401         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24402         only if needed.
24403
24404 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24405
24406         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24407         and use variable directly.
24408         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24409
24410         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24411         MPONE.
24412         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24413         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24414         variable MPONE.
24415         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24416         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24417         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24418         include directive.  Remove local variable MPONE.
24419         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24420         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24421         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24422
24423 2012-12-25  David S. Miller  <davem@davemloft.net>
24424
24425         * version.h (RELEASE): Set to "development".
24426         (VERSION): Set to "2.17.90".
24427         * NEWS: Add 2.18 section.
24428
24429 2012-12-21  David S. Miller  <davem@davemloft.net>
24430
24431         * po/hr.po: Update from translation team.
24432
24433 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24434
24435         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24436
24437 2012-12-19  Steve Ellcey  <sellcey@mips.com>
24438
24439         * NEWS:  Mention new memcpy for MIPS.
24440
24441 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24442
24443         * manual/contrib.texi (Contributors): Spelling correction.
24444
24445 2012-12-15  David S. Miller  <davem@davemloft.net>
24446
24447         * po/ru.po: Update from translation team.
24448
24449 2012-12-13  David S. Miller  <davem@davemloft.net>
24450
24451         * NEWS: Mention IFUNC testsuite enhancements.
24452
24453         * po/pl.po: Update from translation team.
24454         * po/bg.po: Likewise.
24455
24456         * manual/contrib.texi (Contributors): Update entries for Hongjiu
24457         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
24458
24459 2012-12-11  David S. Miller  <davem@davemloft.net>
24460
24461         * po/sv.po: Update from translation team.
24462
24463         * po/vi.po: Update from translation team.
24464
24465         * po/cs.po: Update from translation team.
24466
24467         * po/de.po: Update from translation team.
24468         * po/eo.po: Likewise.
24469         * po/nl.po: Likewise.
24470
24471 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24472
24473         [BZ #14246]
24474         * manual/argp.texi (Argp Helper Functions): Move node to follow
24475         Argp Parsing State.
24476
24477         [BZ #14872]
24478         * manual/conf.texi (Limits on File System Capacity): Mention if
24479         terminating null is included in the max size.
24480
24481 2012-12-10  Andreas Jaeger  <aj@suse.de>
24482
24483         * po/cs.po: Update from translation team.
24484
24485 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24486
24487         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24488         void pointer and cast to uintptr_t.
24489         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24490         path.
24491         * sysdeps/s390/s390-64/memcpy.S: Likewise.
24492         * sysdeps/s390/s390-64/memset.S: Likewise.
24493
24494 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
24495
24496         [BZ #14833]
24497         * menual/message.texi (Message Translation): Fix typos.
24498         (Helper programs for gettext): Likewise.
24499
24500 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
24501
24502         [BZ #14898]
24503         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24504         Change to -1.
24505
24506 2012-12-07  David S. Miller  <davem@davemloft.net>
24507
24508         * po/libc.pot: Update.
24509
24510 2012-12-07  Richard Henderson  <rth@redhat.com>
24511
24512         [BZ #10114]
24513         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24514         normal/normal case to before the switch.
24515         (_FP_DIV): Likewise.
24516
24517 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
24518             Mike Frysinger  <vapier@gentoo.org>
24519
24520         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24521         check for __NR_fadvise64_64.
24522
24523 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
24524
24525         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24526         0, not just to plain "0" as a statement.
24527         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24528         with cw.
24529
24530 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
24531
24532         * NEWS: Use sourceware.org in Bugzilla URL.
24533
24534 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24535
24536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24537         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24538
24539         * stdio-common/tst-put-error.c (do_test): Add newline to the
24540         padded test to ensure flush.
24541
24542 2012-12-05  Jeff Law  <law@redhat.com>
24543
24544         * sunrpc/etc.rpc (fedfs_admin): Add entry.
24545
24546 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
24547
24548         * README: Don't refer to ports add-on as distributed separately.
24549         Mention AArch64 in list of systems supported in the ports add-on.
24550
24551         * LICENSES: Add more non-FSF copyright and license notices.
24552
24553         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24554         ((unused)).
24555
24556         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24557
24558         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24559         10000 as width of padded output.
24560
24561 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24562
24563         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24564
24565         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24566         variable LX with __attribute__ ((unused)).
24567         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24568         Likewise.
24569         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24570         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24571         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24572         with __attribute__ ((unused)).
24573
24574 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
24575
24576         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24577
24578 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24579
24580         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24581         (CFLAGS-nldbl-acos.c): New variable.
24582         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24583         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24584         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24585         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24586         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24587         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24588         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24589         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24590         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24591         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24592         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24593         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24594         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24595         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24596         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24597         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24598         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24599         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24600         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24601         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24602         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24603         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24604         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24605         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24606         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24607         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24608         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24609         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24610         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24611         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24612         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24613         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24614         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24615         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24616         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24617         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24618         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24619         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24620         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24621         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24622         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24623         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24624         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24625         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24626         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24627         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24628         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24629         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24630         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24631         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24632         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24633         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24634         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24635         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24636         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24637         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24638         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24639         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24640         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24641         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24642         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24643         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24644         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24645         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24646         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24647         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24648         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24649         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24650         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24651         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24652         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24653         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24654         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24655         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24656         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24657         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24658         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24659         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24660         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24661         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24662         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24663         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24664         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24665         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24666         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24667         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24668         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24669         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24670         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24671         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24672         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24673         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24674         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24675         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24676         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24677         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24678         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24679
24680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24681         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24682
24683         [BZ #14914]
24684         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24685         whole low double instead of just low 47 bits when splitting values
24686         into two parts.
24687
24688 2012-12-03  Allan McRae  <allan@archlinux.org>
24689
24690         * manual/stdio.texi (Predefined Printf Handlers): Remove
24691         @hsep and @vsep usage.
24692
24693 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
24694
24695         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24696         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24697
24698 2012-12-03  Jeff Law  <law@redhat.com>
24699
24700         * time/sys/time.h (settimeofday): Do not mark TV argument
24701         as __nonnull.
24702
24703 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
24704
24705         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24706         when currently writing and seek to current position when not.
24707         * libio/Makefile (tests): Remove bug-fclose1.
24708         * libio/bug-fclose1.c: Delete.
24709
24710 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
24711
24712         * manual/arith.texi (feenableexcept): Fix typo.
24713         (fedisableexcept): Likewise.
24714
24715 2012-11-30  Roland McGrath  <roland@hack.frob.com>
24716
24717         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24718         second, differently-typed declaration, rather than a cast.
24719
24720 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24721
24722         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24723         * include/rpc/svc.h: ... here.
24724
24725 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
24726
24727         [BZ #13013]
24728         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24729         depending n and resplen2 to catch cases where answer
24730         equals answerp2.
24731
24732 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
24733
24734         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24735         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24736
24737 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
24738
24739         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24740
24741 2012-11-29  Roland McGrath  <roland@hack.frob.com>
24742
24743         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24744
24745 2012-11-28  Jeff Law  <law@redhat.com>
24746
24747         [BZ #13761]
24748         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24749         dataset_temporary.  Track alloca usage into alloca_used.
24750         If dataset is large allocate and release it via malloc/free.
24751
24752 2012-06-04  Florian Weimer  <fweimer@redhat.com>
24753
24754         [BZ #14197]
24755         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24756
24757 2012-11-28  David S. Miller  <davem@davemloft.net>
24758
24759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24760
24761 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24762
24763         [BZ #14803]
24764         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24765         of pi/2 rounded to nearest to 64 bits.
24766         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24767         nearest to 64 bits.
24768         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24769         bits.
24770
24771 2012-11-28  Jeff Law <law@redhat.com>
24772             Martin Osvald <mosvald@redhat.com>
24773
24774         [BZ #14889]
24775         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24776         * sunrpc/svc.c: Include time.h.
24777         (__svc_accept_failed): New function.
24778         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24779         any reason other than EINTR, call __svc_accept_failed.
24780         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24781         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24782
24783 2012-11-28  Andreas Schwab  <schwab@suse.de>
24784
24785         * scripts/abilist.awk: Also handle indirect functions in .opd
24786         section.
24787
24788 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24789
24790         [BZ #13881]
24791         * sysdeps/x86/fpu/powl_helper.c: New file.
24792         * sysdeps/x86/fpu/Makefile: Likewise.
24793         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24794         (p3): New object.
24795         (__ieee754_powl): Use __powl_helper for finite arguments except
24796         integer exponents below 8.
24797         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24798         (p3): New object.
24799         (__ieee754_powl): Use __powl_helper for finite arguments except
24800         integer exponents below 8.
24801         * math/libm-test.inc (pow_test): Add more tests and enable some
24802         previously disabled tests.
24803         * sysdeps/i386/fpu/libm-test-ulps: Update.
24804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24805
24806 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24807             Carlos O'Donell  <carlos_odonell@mentor.com>
24808
24809         * nss/makedb.c (is_prime): Assert that input is odd and greater
24810         than 4.  Note that fact in a comment too.
24811         (next_prime): Add 4 to input.
24812
24813 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24814
24815         [BZ #11741]
24816         * libio/Makefile (tests): Add test case tst-fwrite-error.
24817         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24818         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24819         * libio/tst-fwrite-error.c: New test case.
24820
24821 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
24822
24823         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24824         before casting to void *.
24825         * include/libc-internal.h (__pointer_type): New macro.
24826         (__integer_if_pointer_type_sub): Likewise.
24827         (__integer_if_pointer_type): Likewise.
24828         (cast_to_integer): Likewise.
24829         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24830         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24831         before casting to atomic64_t.
24832         (atomic_exchange_acq): Likewise.
24833         (__arch_exchange_and_add_body): Likewise.
24834         (__arch_add_body): Likewise.
24835         (atomic_add_negative): Likewise.
24836         (atomic_add_zero): Likewise.
24837
24838 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
24839
24840         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24841         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24842         (add_fdes): Likewise.
24843         (linear_search_fdes): Likewise.
24844         (binary_search_unencoded_fdes): Likewise.
24845
24846 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
24847
24848         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24849
24850 2012-11-24  Adam Conrad  <adconrad@0c3.net>
24851
24852         * configure.in: Autodetect C++ header directories.
24853         * configure: Regenerated.
24854
24855 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
24856
24857         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24858
24859 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
24860
24861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24862
24863 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
24864
24865         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24866         LDBL_MANT_DIG == 106]: Disable some tests.
24867         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24868         Likewise.
24869         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24870         Likewise.
24871
24872         [BZ #14871]
24873         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24874         input for small inputs.  Return +/- pi/2 for large inputs.
24875         * math/libm-test.inc (atan_test): Add more tests.
24876
24877         * sysdeps/generic/unwind-dw2-fde-glibc.c
24878         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24879         __attribute__ ((unused)).
24880
24881         [BZ #14645]
24882         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24883         x * y if x and y are nonzero and z is zero.
24884
24885         [BZ #14811]
24886         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24887         nonzero exponents with absolute value below 0x1p-117 to +/-
24888         0x1p-117.
24889
24890         [BZ #14869]
24891         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24892         up arguments below 2**-450, not just those below 2**-500.
24893         * math/libm-test.inc (hypot_test): Add another test.
24894
24895         [BZ #14868]
24896         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24897         Return a+b for ratio over 2**120, not 2**60.
24898         * math/libm-test.inc (hypot_test): Add another test.
24899
24900         * math/libm-test.inc (clog_test): Use
24901         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24902         (clog10_test): Likewise.
24903
24904         [BZ #6778]
24905         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24906
24907 2012-11-22  Andreas Schwab  <schwab@suse.de>
24908
24909         * sysdeps/i386/fpu/libm-test-ulps: Update.
24910
24911 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
24912
24913         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24914         printf output with newline.
24915
24916 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
24917
24918         [BZ #14865]
24919         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24920         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24921         -z nodlopen, -z initfirst and -z execstack support.
24922         * configure: Regenerated.
24923
24924         * elf/elf.h (DF_1_NODIRECT): New macro.
24925         (DF_1_IGNMULDEF): Likewise.
24926         (DF_1_NOKSYMS): Likewise.
24927         (DF_1_NOHDR): Likewise.
24928         (DF_1_EDITED): Likewise.
24929         (DF_1_NORELOC): Likewise.
24930         (DF_1_SYMINTPOSE): Likewise.
24931         (DF_1_GLOBAUDIT): Likewise.
24932         (DF_1_SINGLETON): Likewise.
24933         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24934         DT_1_SUPPORTED_MASK bits.
24935         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24936
24937 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
24938
24939         * sysdeps/unix/make-syscalls.sh: Document prefixes.
24940
24941 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
24942
24943         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24944         macro.
24945
24946         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24947         (sendmmsg): Move declarations...
24948         * socket/sys/socket.h: ... here.
24949         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24950         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24951         include it from...
24952         * socket/recvmmsg.c: ... this new file.
24953         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24954         (sendmmsg): Rename to __sendmmsg, create weak alias and make
24955         definition of __sendmmsg hidden.
24956         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24957         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24958         Move ENOSYS stub into and include it from...
24959         * socket/sendmmsg.c: ... this new file.
24960         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24961         (sysdep_routines): Move recvmmsg and sendmmsg...
24962         * socket/Makefile (routines): ... here.
24963         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24964         (GLIBC_PRIVATE): Add __sendmmsg.
24965         * include/sys/socket.h (__sendmmsg): Add declarations.
24966         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24967         sendmmsg.
24968
24969 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
24970
24971         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24972         variable I1 with __attribute__ ((unused)).
24973         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24974
24975 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24976
24977         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24978         DUMMY variables with __attribute__ ((unused)).
24979
24980         * bits/byteswap.h: Include <bits/types.h>.
24981         (__bswap_64): Use __uint64_t instead of unsigned long long int.
24982
24983 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24984
24985         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24986         string_t.  Do not manually set errno.
24987         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24988         length with __strnlen.  Make sure to both set errno and return it on
24989         failure.
24990
24991 2012-11-19  David S. Miller  <davem@davemloft.net>
24992
24993         With help from Joseph Myers.
24994         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24995         very large arguments properly.
24996         * math/libm-test.inc (atan_test): New tests.
24997         (atan2_test): New tests.
24998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24999         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25000
25001 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25002
25003         [BZ #14856]
25004         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25005         Define to 3.
25006
25007         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25008         [POSIX] (EADDRNOTAVAIL): Likewise.
25009         [POSIX] (EAFNOSUPPORT): Likewise.
25010         [POSIX] (EALREADY): Likewise.
25011         [POSIX] (ECONNABORTED): Likewise.
25012         [POSIX] (ECONNREFUSED): Likewise.
25013         [POSIX] (ECONNRESET): Likewise.
25014         [POSIX] (EDESTADDRREQ): Likewise.
25015         [POSIX] (EDQUOT): Likewise.
25016         [POSIX] (EHOSTUNREACH): Likewise.
25017         [POSIX] (EIDRM): Likewise.
25018         [POSIX] (EISCONN): Likewise.
25019         [POSIX] (ELOOP): Likewise.
25020         [POSIX] (EMULTIHOP): Likewise.
25021         [POSIX] (ENETDOWN): Likewise.
25022         [POSIX] (ENETUNREACH): Likewise.
25023         [POSIX] (ENOBUFS): Likewise.
25024         [POSIX] (ENODATA): Likewise.
25025         [POSIX] (ENOLINK): Likewise.
25026         [POSIX] (ENOMSG): Likewise.
25027         [POSIX] (ENOPROTOOPT): Likewise.
25028         [POSIX] (ENOSR): Likewise.
25029         [POSIX] (ENOSTR): Likewise.
25030         [POSIX] (ENOTCONN): Likewise.
25031         [POSIX] (ENOTSOCK): Likewise.
25032         [POSIX] (EOPNOTSUPP): Likewise.
25033         [POSIX] (EOVERFLOW): Likewise.
25034         [POSIX] (EPROTO): Likewise.
25035         [POSIX] (EPROTONOSUPPORT): Likewise.
25036         [POSIX] (EPROTOTYPE): Likewise.
25037         [POSIX] (ESTALE): Likewise.
25038         [POSIX] (ETIME): Likewise.
25039         [POSIX] (ETXTBSY): Likewise.
25040         [POSIX] (EWOULDBLOCK): Likewise.
25041         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25042         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25043         [POSIX] (SEEK_CUR): Likewise.
25044         [POSIX] (SEEK_END): Likewise.
25045         [POSIX || UNIX98] (mode_t): Do not require.
25046         [POSIX] (off_t): Likewise.
25047         [POSIX] (pid_t): Likewise.
25048         [POSIX] (sys/stat.h): Do not allow header.
25049         [POSIX] (unistd.h): Likewise.
25050         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25051         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25052         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25053         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25054         require.
25055         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25056         sigevent): Specify elements.
25057         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25058         entry.
25059         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25060         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25061
25062         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25063         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25064         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25065         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25066         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25067         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25068         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25069         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25070         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25071         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25072         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25073         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25074         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25075         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25076         Likewise.
25077         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25078         Likewise.
25079         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25080         Likewise.
25081         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25082         Likewise.
25083         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25084         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25085         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25086         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25087         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25088         Specify lower bound on value.
25089         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25090         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25091         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25092         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25093         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25094         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25095         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25096         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25097         value.
25098         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25099         as optional.
25100         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25101         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25102         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25103         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25104         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25105         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25106         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25107         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25108         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25109         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25110         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25111         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25112         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25113         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25114         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25115         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25116         entry.
25117         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25118         optional.
25119         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25120         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25121         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25122         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25123         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25124         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25125         Likewise.
25126         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25127         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25128         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25129         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25130         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25131         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25132         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25133         as optional.
25134         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25135         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25136         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25137         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25138         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25139         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25140         specify as optional.
25141         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25142         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25143         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25144         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25145         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25146         [XPG3] (NL_LANGMAX): Likewise.
25147         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25148         [POSIX || XPG3] (NL_NMAX): Likewise.
25149         [POSIX || XPG3] (NL_SETMAX): Likewise.
25150         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25151         [XPG3] (NZERO): Likewise.
25152         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25153         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25154         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25155         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25156         (REG_ERANGE): Expect.
25157         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25158         optional-constant.
25159         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25160         Use (void) in prototype.
25161         [POSIX] (*_t): Allow.
25162         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25163         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25164         (WRDE_BADVAL): Expect.
25165
25166         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25167         expect.
25168         [XPG3 || XPG4] (O_RSYNC): Likewise.
25169         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25170         Likewise.
25171         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25172         [XPG3 || XPG4] (sigqueue): Likewise.
25173         [XPG3 || XPG4] (sigtimedwait): Likewise.
25174         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25175         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25176         [XPG3 || XPG4] (vsnprintf): Likewise.
25177         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25178         Likewise.
25179         [XPG3 || XPG4] (blksize_t): Likewise.
25180         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25181         Likewise.
25182         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25183         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25184         [XPG3 || XPG4] (struct itimerspec): Likewise.
25185         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25186         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25187         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25188         [XPG3 || XPG4] (clockid_t): Likewise.
25189         [XPG3 || XPG4] (timer_t): Likewise.
25190         [XPG3 || XPG4] (clock_getres): Likewise.
25191         [XPG3 || XPG4] (clock_gettime): Likewise.
25192         [XPG3 || XPG4] (clock_settime): Likewise.
25193         [XPG3 || XPG4] (nanosleep): Likewise.
25194         [XPG3 || XPG4] (timer_create): Likewise.
25195         [XPG3 || XPG4] (timer_delete): Likewise.
25196         [XPG3 || XPG4] (timer_gettime): Likewise.
25197         [XPG3 || XPG4] (timer_getoverrun): Likewise.
25198         [XPG3 || XPG4] (timer_settime): Likewise.
25199         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25200         [XPG3 || XPG4] (getlogin_r): Likewise.
25201         [XPG3 || XPG4] (pread): Likewise.
25202         [XPG3 || XPG4] (pthread_atfork): Likewise.
25203         [XPG3 || XPG4] (pwrite): Likewise.
25204
25205         [BZ #14835]
25206         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25207         <bits/siginfo.h>.
25208
25209 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25210
25211         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25212         finalizing MALLSTREAM.
25213
25214         * sysdeps/mach/hurd/syncfs.c: New file.
25215
25216 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25217
25218         [BZ #14719]
25219         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25220         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25221         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25222         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25223         (_nss_dns_gethostbyname4_r): Likewise.
25224         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25225         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25226
25227 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
25228
25229         [BZ #13763]
25230         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25231
25232 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
25233
25234         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25235         * elf/cache.c (print_entry): Print ",AArch64" for
25236         FLAG_AARCH64_LIB64
25237
25238         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25239         * elf/cache.c (print_entry): Print ",hard-float" for
25240         FLAG_ARM_LIBHF.
25241
25242 2012-11-18  David S. Miller  <davem@davemloft.net>
25243
25244         With help from Joseph Myers.
25245         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25246         cutoff to 2**-13.
25247         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25248         cutoff to 2**-25.
25249         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25250         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25251         small.
25252         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25253         * math/libm-test.inc (y0_test): New tests.
25254         (y1_test): New tests.
25255         * sysdeps/i386/fpu/libm-test-ulps: Update.
25256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25258
25259 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
25260
25261         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25262         64-bit targets.
25263         * configure: Regenerated.
25264
25265 2012-11-17  David S. Miller  <davem@davemloft.net>
25266
25267         [BZ #14811]
25268         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25269         nonzero exponents with absolute value below 0x1p-128 to +/-
25270         0x1p-128.
25271
25272 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
25273
25274         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25275
25276         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25277
25278         * posix/getconf-speclist.c: New file.
25279         * posix/posix-envs.def: Likewise.
25280         * posix/confstr.c (START_ENV_GROUP): New macro.
25281         (END_ENV_GROUP): Likewise.
25282         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25283         (KNOWN_PRESENT_ENV_STRING): Likewise.
25284         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25285         (UNKNOWN_ENVIRONMENT): Likewise.
25286         (confstr): Include posix-envs.def instead of handling
25287         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25288         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25289         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25290         (END_ENV_GROUP): Likewise.
25291         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25292         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25293         (UNKNOWN_ENVIRONMENT): Likewise.
25294         (__sysconf): Include posix-envs.def instead of handling associated
25295         cases directly here.
25296         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25297         preprocessing getconf-speclist.c rather than running getconf or
25298         generating empty file.
25299
25300 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
25301
25302         * scripts/check-local-headers.sh: Ignore 'mach' headers.
25303
25304 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
25305
25306         [BZ #14672]
25307         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25308
25309 2012-11-16  David S. Miller  <davem@davemloft.net>
25310
25311         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25312         smaller than LDBL_EPSILON/2.0L, just return xm1.
25313
25314 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
25315
25316         * elf/tst-array1.c (init): Set constructor priority to 1000.
25317         (fini): Set destructor priority to 1000.
25318         * elf/tst-array2dep.c: Likewise.
25319
25320 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25321
25322         [BZ #11741]
25323         * libio/fileops.c (_IO_new_file_write): Correctly return error.
25324         (_IO_new_file_xsputn): Also return EOF if none of the input
25325         data was written when overflow failed.
25326         * libio/iopadn.c (_IO_padn): Likewise.
25327         * libio/iowpadn.c (_IO_wpadn): Likewise.
25328         * stdio-common/tst-put-error.c: Add copyright notice.
25329         (do_test): Add case for printing padded string.
25330         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25331         _IO_padn returned error.
25332         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25333         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25334         return EOF.
25335
25336 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25337
25338         * libio/libioP.h: Add comment note that the references to C++
25339         bits are now obsolete.
25340
25341 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25342
25343         * math/libm-test.inc (check_complex): Use asprintf.
25344
25345 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
25346
25347         * debug/pcprofiledump.c (print_version): Update copyright year.
25348         * malloc/memusagestat.c (print_version): Likewise.
25349
25350 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25351
25352         [BZ #14831]
25353         * elf/Makefile (tests): Add tst-audit8.
25354         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25355         ($(objpfx)tst-audit8.out): New target.
25356         (tst-audit8-ENV): New variable.
25357         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25358         audit if l_reloc_result is NULL.
25359         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25360         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25361         * elf/tst-audit8.c: New file.
25362
25363 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25364
25365         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25366         * misc/Makefile (CFLAGS-select.c): Define.
25367         * posix/Makefile (CFLAGS-pause.c): Define.
25368
25369 2012-11-13  David S. Miller  <davem@davemloft.net>
25370
25371         * crypt/Makefile: Move test targets after toplevel Rules
25372         inclusion.  Grab any necessary sysdep routines when linking.
25373         * crypt/md5.c (md5_process_block): Remove define, we will always
25374         name it __md5_process_block.
25375         (md5_finish_ctx): Update md5_process_block call.
25376         (md5_stream): Likewise.
25377         (md5_process_bytes): Likewise.
25378         (md5_process_block): Rename to __md5_process_block and move to ...
25379         * crypt/md5-block.c: ... here.
25380         * crypt/sha256.c (sha256_process_block): Move to ...
25381         * crypt/sha256-block.c: ... here.
25382         * crypt/sha512.c (sha512_process_block): Move to ...
25383         * crypt/sha512-block.c: ... here.
25384         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25385         path.
25386         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25387         * sysdeps/sparc/sparc64/multiarch/Makefile
25388         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25389         crypt subdir.
25390         (localedef-aux): Add md5 crypto assembler when in locale subdir.
25391         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25392         multiarch changes.
25393         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25394         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25395         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25396         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25397         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25398         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25399         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25400         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25401         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25402         file.
25403         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25404         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25405         file.
25406         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25407
25408 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
25409
25410         * timezone/tzselect.ksh: Update from tzcode git revision
25411         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25412         * timezone/zdump.c: Likewise.
25413         * timezone/zic.c: Likewise.
25414         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25415         in TZVERSION setting, not $(PKGVERSION).
25416         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
25417         REPORT_BUGS_TO settings.
25418
25419         [BZ #14838]
25420         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25421         macro.
25422
25423 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25424
25425         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25426         detection to immediately after _FP_ROUND().
25427         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25428         bits are 0.
25429
25430 2012-11-11  David S. Miller  <davem@davemloft.net>
25431
25432         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25433         inttypes.h
25434         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25435         __close rather than their public counterparts.
25436
25437 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
25438
25439         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25440         file.
25441         [UNIX98] (sem_timedwait): Do not expect.
25442         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25443         [XPG4 || UNIX98] (sockatmark): Do not expect.
25444         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25445         (clock_getcpuclockid): Do not expect.
25446         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25447         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25448         Do not expect.
25449         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25450         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25451         [UNIX98] (vwscanf): Likewise.
25452         [UNIX98] (vswscanf): Likewise.
25453
25454 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
25455
25456         * timezone/version.h: Remove file.
25457         * timezone/README: Do not refer to version.h.
25458         * timezone/Makefile ($(objpfx)zic.o): New dependency on
25459         $(objpfx)version.h.
25460         ($(objpfx)zdump.o): Likewise.
25461         ($(objpfx)version.h): New target.
25462
25463         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25464         2012i.
25465         * timezone/README: Don't mention modification to tzselect.ksh.
25466         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25467         work on unmodified tzselect.ksh.  Substitute version numbers in
25468         tzselect.ksh.
25469
25470         * Makefile (format-me): Remove.
25471         (INSTALL): Adjust indentation.  Use commands directly instead of
25472         using $(format-me).
25473
25474         * aclocal.m4 (ACX_PKGVERSION): New macro.
25475         (ACX_BUGURL): Likewise.
25476         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25477         (PKGVERSION): New AC_DEFINE_UNQUOTED.
25478         (REPORT_BUGS_TO): Likewise.
25479         * configure: Regenerated.
25480         * config.h.in (PKGVERSION): New macro.
25481         (REPORT_BUGS_TO): Likewise.
25482         * config.make.in (PKGVERSION): New variable.
25483         (PKGVERSION_TEXI): Likewise.
25484         (REPORT_BUGS_TO): Likewise.
25485         (REPORT_BUGS_TEXI): Likewise.
25486         * Makefile (format-me): Use -I$(common-objpfx)manual.
25487         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25488         ($(common-objpfx)manual/%): New target.
25489         (manual/%): Remove target.
25490         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25491         (print_version): Use PKGVERSION.
25492         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25493         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25494         and REPORT_BUGS_TO.
25495         ($(objpfx)xtrace): Likewise.
25496         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25497         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25498         (print_version): Use PKGVERSION.
25499         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25500         (do_version): Use PKGVERSION.
25501         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25502         REPORT_BUGS_TO.
25503         (common-ldd-rewrite): Likewise.
25504         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25505         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25506         (print_version): Use PKGVERSION.
25507         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25508         * elf/pldd.c (argp_program_bug_address): Remove variable.
25509         (more_help): New function.
25510         (argp): Use more_help.
25511         (print_version): Use PKGVERSION.
25512         * elf/sln.c (main): Use PKGVERSION.
25513         (usage): Use REPORT_BUGS_TO.
25514         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25515         (top level): Use PKGVERSION.
25516         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25517         (print_version): Use PKGVERSION.
25518         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25519         (print_version): Use PKGVERSION.
25520         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25521         (print_version): Use PKGVERSION.
25522         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25523         (print_version): Use PKGVERSION.
25524         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25525         (print_version): Use PKGVERSION.
25526         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25527         (print_version): Use PKGVERSION.
25528         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25529         and BUGURL.
25530         ($(objpfx)memusage): Likewise.
25531         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25532         (do_version): Use PKGVERSION.
25533         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25534         (print_version): Use PKGVERSION.
25535         * malloc/mtrace.pl ($PACKAGE): Remove variable.
25536         ($PKGVERSION): New variable.
25537         ($REPORT_BUGS_TO): Likewise.
25538         (usage): Use $REPORT_BUGS_TO.
25539         (top level): Use $PKGVERSION.
25540         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25541         ($(objpfx)pkgvers.texi): New rule.
25542         ($(objpfx)stamp-pkgvers): Likewise.
25543         * manual/install.texi: Include pkgvers.texi.
25544         (--with-pkgversion): Document new configure option.
25545         (--with-bugurl): Likewise.
25546         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25547         than necessarily for this particular distribution.  Use
25548         REPORT_BUGS_TO for where to report bugs.
25549         * INSTALL: Regenerated.
25550         * manual/libc.texinfo: Include pkgvers.texi.
25551         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25552         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25553         (print_version): Use PKGVERSION.
25554         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25555         (print_version): Use PKGVERSION.
25556         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25557         (print_version): Use PKGVERSION.
25558         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25559         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25560         macro.
25561         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25562         (print_version): Use PKGVERSION.
25563         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25564         (print_version): Use PKGVERSION.
25565         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25566         and PKGVERSION.
25567
25568         * timezone/checktab.awk: Update from tzcode 2012i.
25569         * timezone/ialloc.c: Likewise.
25570         * timezone/private.h: Likewise.
25571         * timezone/scheck.c: Likewise.
25572         * timezone/tzfile.h: Likewise.
25573         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25574         (TZVERSION): Hardcode tzcode version number.
25575         * timezone/zdump.c: Update from tzcode 2012i.
25576         * timezone/zic.c: Likewise.
25577         * timezone/version.h: New file.
25578         * timezone/README: Describe version.h.  Update upstream location.
25579
25580         [BZ #14824]
25581         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25582         (mktemp): Enable declaration.
25583         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25584         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25585         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25586         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25587         Likewise.
25588         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25589         Likewise.
25590         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25591         Likewise.
25592         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25593         Likewise.
25594         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25595         Likewise.
25596         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25597         Likewise.
25598
25599         [BZ #14821]
25600         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25601         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
25602         for copies of such integer values.
25603         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25604         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25605
25606 2012-11-09  Andreas Jaeger  <aj@suse.de>
25607
25608         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25609         definitions and declarations that are provided by
25610         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25611
25612 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25613
25614         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25615         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25616         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25617         definition.
25618
25619 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25620
25621         * elf/elf.h: Update comment before AArch64 relocations.
25622
25623 2012-11-07  David S. Miller  <davem@davemloft.net>
25624
25625         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25626         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25627         (__start_context): Declare.
25628         (__makecontext_ret): Delete.
25629         (__makecontext): Hook up __start_context instead of
25630         __makecontext_ret.
25631         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25632         (sysdep_routines): Add __start_context when in stdlib.
25633
25634 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25635
25636         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25637         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25638         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
25639         hardcoded "nm".
25640         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
25641         (READELF): New variable.  Use it instead of hardcoded "readelf".
25642
25643 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25644
25645         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25646         * sysdeps/x86/Makefile: Here.
25647         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25648         * sysdeps/x86/tst-xmmymm.sh: This.
25649
25650 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25651
25652         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25653         expectations.
25654         [UNIX98] (pthread_barrier_t): Do not expect.
25655         [UNIX98] (pthread_barrierattr_t): Likewise.
25656         [UNIX98] (pthread_spinlock_t): Likewise.
25657         [UNIX98] (pthread_barrier_destroy): Likewise.
25658         [UNIX98] (pthread_barrier_init): Likewise.
25659         [UNIX98] (pthread_barrier_wait): Likewise.
25660         [UNIX98] (pthread_barrierattr_destroy): Likewise.
25661         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25662         [UNIX98] (pthread_barrierattr_init): Likewise.
25663         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25664         [UNIX98] (pthread_getcpuclockid): Likewise.
25665         [UNIX98] (pthread_mutex_timedlock): Likewise.
25666         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25667         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25668         [UNIX98] (pthread_sigmask): Likewise.
25669         [UNIX98] (pthread_spin_destroy): Likewise.
25670         [UNIX98] (pthread_spin_init): Likewise.
25671         [UNIX98] (pthread_spin_lock): Likewise.
25672         [UNIX98] (pthread_spin_trylock): Likewise.
25673         [UNIX98] (pthread_spin_unlock): Likewise.
25674         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25675         Do not expect.
25676         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25677         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25678         [XPG3 || XPG4] (pthread_cond_t): Likewise.
25679         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25680         [XPG3 || XPG4] (pthread_key_t): Likewise.
25681         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25682         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25683         [XPG3 || XPG4] (pthread_once_t): Likewise.
25684         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25685         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25686         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25687         [XPG3 || XPG4] (pthread_t): Likewise.
25688
25689         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25690         not expect.
25691         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25692
25693         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25694         Change function return type to int.
25695
25696         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25697         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25698         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25699         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25700         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25701         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25702         [!POSIX] (posix_madvise): Likewise.
25703         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25704         && !UNIX98].
25705         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25706         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25707         (mode_t): Likewise.
25708         (posix_mem_offset): Likewise.
25709         (posix_typed_mem_get_info): Likewise.
25710         (posix_typed_mem_open): Likewise.
25711
25712         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25713         Change condition to [XOPEN2K8].
25714
25715         * conform/conformtest.pl: Preprocess allow-header data with -x c
25716         instead of from stdin.
25717         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25718         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25719         [C99-based standards] (cerfc): Likewise.
25720         [C99-based standards] (cexp2): Likewise.
25721         [C99-based standards] (cexpm1): Likewise.
25722         [C99-based standards] (clog10): Likewise.
25723         [C99-based standards] (clog1p): Likewise.
25724         [C99-based standards] (clog2): Likewise.
25725         [C99-based standards] (clgamma): Likewise.
25726         [C99-based standards] (ctgamma): Likewise.
25727         [C99-based standards] (cerff): Likewise.
25728         [C99-based standards] (cerfcf): Likewise.
25729         [C99-based standards] (cexp2f): Likewise.
25730         [C99-based standards] (cexpm1f): Likewise.
25731         [C99-based standards] (clog10f): Likewise.
25732         [C99-based standards] (clog1pf): Likewise.
25733         [C99-based standards] (clog2f): Likewise.
25734         [C99-based standards] (clgammaf): Likewise.
25735         [C99-based standards] (ctgammaf): Likewise.
25736         [C99-based standards] (cerfl): Likewise.
25737         [C99-based standards] (cerfcl): Likewise.
25738         [C99-based standards] (cexp2l): Likewise.
25739         [C99-based standards] (cexpm1l): Likewise.
25740         [C99-based standards] (clog10l): Likewise.
25741         [C99-based standards] (clog1pl): Likewise.
25742         [C99-based standards] (clog2l): Likewise.
25743         [C99-based standards] (clgammal): Likewise.
25744         [C99-based standards] (ctgammal): Likewise.
25745         * conform/data/inttypes.h-data [C99-based standards]: Include
25746         stdint.h-data.  Remove all expectations for stdint.h contents.
25747         [C99-based standards] (PRI*): Do not allow.
25748         [C99-based standards] (SCN*): Likewise.
25749         [C99-based standards] (*_t): Likewise.
25750         [C99-based-standards] (PRId8): Expect macro.
25751         [C99-based-standards] (PRIi8): Likewise.
25752         [C99-based-standards] (PRIo8): Likewise.
25753         [C99-based-standards] (PRIu8): Likewise.
25754         [C99-based-standards] (PRIx8): Likewise.
25755         [C99-based-standards] (PRIX8): Likewise.
25756         [C99-based-standards] (SCNd8): Likewise.
25757         [C99-based-standards] (SCNi8): Likewise.
25758         [C99-based-standards] (SCNo8): Likewise.
25759         [C99-based-standards] (SCNu8): Likewise.
25760         [C99-based-standards] (SCNx8): Likewise.
25761         [C99-based-standards] (PRIdLEAST8): Likewise.
25762         [C99-based-standards] (PRIiLEAST8): Likewise.
25763         [C99-based-standards] (PRIoLEAST8): Likewise.
25764         [C99-based-standards] (PRIuLEAST8): Likewise.
25765         [C99-based-standards] (PRIxLEAST8): Likewise.
25766         [C99-based-standards] (PRIXLEAST8): Likewise.
25767         [C99-based-standards] (SCNdLEAST8): Likewise.
25768         [C99-based-standards] (SCNiLEAST8): Likewise.
25769         [C99-based-standards] (SCNoLEAST8): Likewise.
25770         [C99-based-standards] (SCNuLEAST8): Likewise.
25771         [C99-based-standards] (SCNxLEAST8): Likewise.
25772         [C99-based-standards] (PRIdFAST8): Likewise.
25773         [C99-based-standards] (PRIiFAST8): Likewise.
25774         [C99-based-standards] (PRIoFAST8): Likewise.
25775         [C99-based-standards] (PRIuFAST8): Likewise.
25776         [C99-based-standards] (PRIxFAST8): Likewise.
25777         [C99-based-standards] (PRIXFAST8): Likewise.
25778         [C99-based-standards] (SCNdFAST8): Likewise.
25779         [C99-based-standards] (SCNiFAST8): Likewise.
25780         [C99-based-standards] (SCNoFAST8): Likewise.
25781         [C99-based-standards] (SCNuFAST8): Likewise.
25782         [C99-based-standards] (SCNxFAST8): Likewise.
25783         [C99-based-standards] (PRId16): Likewise.
25784         [C99-based-standards] (PRIi16): Likewise.
25785         [C99-based-standards] (PRIo16): Likewise.
25786         [C99-based-standards] (PRIu16): Likewise.
25787         [C99-based-standards] (PRIx16): Likewise.
25788         [C99-based-standards] (PRIX16): Likewise.
25789         [C99-based-standards] (SCNd16): Likewise.
25790         [C99-based-standards] (SCNi16): Likewise.
25791         [C99-based-standards] (SCNo16): Likewise.
25792         [C99-based-standards] (SCNu16): Likewise.
25793         [C99-based-standards] (SCNx16): Likewise.
25794         [C99-based-standards] (PRIdLEAST16): Likewise.
25795         [C99-based-standards] (PRIiLEAST16): Likewise.
25796         [C99-based-standards] (PRIoLEAST16): Likewise.
25797         [C99-based-standards] (PRIuLEAST16): Likewise.
25798         [C99-based-standards] (PRIxLEAST16): Likewise.
25799         [C99-based-standards] (PRIXLEAST16): Likewise.
25800         [C99-based-standards] (SCNdLEAST16): Likewise.
25801         [C99-based-standards] (SCNiLEAST16): Likewise.
25802         [C99-based-standards] (SCNoLEAST16): Likewise.
25803         [C99-based-standards] (SCNuLEAST16): Likewise.
25804         [C99-based-standards] (SCNxLEAST16): Likewise.
25805         [C99-based-standards] (PRIdFAST16): Likewise.
25806         [C99-based-standards] (PRIiFAST16): Likewise.
25807         [C99-based-standards] (PRIoFAST16): Likewise.
25808         [C99-based-standards] (PRIuFAST16): Likewise.
25809         [C99-based-standards] (PRIxFAST16): Likewise.
25810         [C99-based-standards] (PRIXFAST16): Likewise.
25811         [C99-based-standards] (SCNdFAST16): Likewise.
25812         [C99-based-standards] (SCNiFAST16): Likewise.
25813         [C99-based-standards] (SCNoFAST16): Likewise.
25814         [C99-based-standards] (SCNuFAST16): Likewise.
25815         [C99-based-standards] (SCNxFAST16): Likewise.
25816         [C99-based-standards] (PRId32): Likewise.
25817         [C99-based-standards] (PRIi32): Likewise.
25818         [C99-based-standards] (PRIo32): Likewise.
25819         [C99-based-standards] (PRIu32): Likewise.
25820         [C99-based-standards] (PRIx32): Likewise.
25821         [C99-based-standards] (PRIX32): Likewise.
25822         [C99-based-standards] (SCNd32): Likewise.
25823         [C99-based-standards] (SCNi32): Likewise.
25824         [C99-based-standards] (SCNo32): Likewise.
25825         [C99-based-standards] (SCNu32): Likewise.
25826         [C99-based-standards] (SCNx32): Likewise.
25827         [C99-based-standards] (PRIdLEAST32): Likewise.
25828         [C99-based-standards] (PRIiLEAST32): Likewise.
25829         [C99-based-standards] (PRIoLEAST32): Likewise.
25830         [C99-based-standards] (PRIuLEAST32): Likewise.
25831         [C99-based-standards] (PRIxLEAST32): Likewise.
25832         [C99-based-standards] (PRIXLEAST32): Likewise.
25833         [C99-based-standards] (SCNdLEAST32): Likewise.
25834         [C99-based-standards] (SCNiLEAST32): Likewise.
25835         [C99-based-standards] (SCNoLEAST32): Likewise.
25836         [C99-based-standards] (SCNuLEAST32): Likewise.
25837         [C99-based-standards] (SCNxLEAST32): Likewise.
25838         [C99-based-standards] (PRIdFAST32): Likewise.
25839         [C99-based-standards] (PRIiFAST32): Likewise.
25840         [C99-based-standards] (PRIoFAST32): Likewise.
25841         [C99-based-standards] (PRIuFAST32): Likewise.
25842         [C99-based-standards] (PRIxFAST32): Likewise.
25843         [C99-based-standards] (PRIXFAST32): Likewise.
25844         [C99-based-standards] (SCNdFAST32): Likewise.
25845         [C99-based-standards] (SCNiFAST32): Likewise.
25846         [C99-based-standards] (SCNoFAST32): Likewise.
25847         [C99-based-standards] (SCNuFAST32): Likewise.
25848         [C99-based-standards] (SCNxFAST32): Likewise.
25849         [C99-based-standards] (PRId64): Likewise.
25850         [C99-based-standards] (PRIi64): Likewise.
25851         [C99-based-standards] (PRIo64): Likewise.
25852         [C99-based-standards] (PRIu64): Likewise.
25853         [C99-based-standards] (PRIx64): Likewise.
25854         [C99-based-standards] (PRIX64): Likewise.
25855         [C99-based-standards] (SCNd64): Likewise.
25856         [C99-based-standards] (SCNi64): Likewise.
25857         [C99-based-standards] (SCNo64): Likewise.
25858         [C99-based-standards] (SCNu64): Likewise.
25859         [C99-based-standards] (SCNx64): Likewise.
25860         [C99-based-standards] (PRIdLEAST64): Likewise.
25861         [C99-based-standards] (PRIiLEAST64): Likewise.
25862         [C99-based-standards] (PRIoLEAST64): Likewise.
25863         [C99-based-standards] (PRIuLEAST64): Likewise.
25864         [C99-based-standards] (PRIxLEAST64): Likewise.
25865         [C99-based-standards] (PRIXLEAST64): Likewise.
25866         [C99-based-standards] (SCNdLEAST64): Likewise.
25867         [C99-based-standards] (SCNiLEAST64): Likewise.
25868         [C99-based-standards] (SCNoLEAST64): Likewise.
25869         [C99-based-standards] (SCNuLEAST64): Likewise.
25870         [C99-based-standards] (SCNxLEAST64): Likewise.
25871         [C99-based-standards] (PRIdFAST64): Likewise.
25872         [C99-based-standards] (PRIiFAST64): Likewise.
25873         [C99-based-standards] (PRIoFAST64): Likewise.
25874         [C99-based-standards] (PRIuFAST64): Likewise.
25875         [C99-based-standards] (PRIxFAST64): Likewise.
25876         [C99-based-standards] (PRIXFAST64): Likewise.
25877         [C99-based-standards] (SCNdFAST64): Likewise.
25878         [C99-based-standards] (SCNiFAST64): Likewise.
25879         [C99-based-standards] (SCNoFAST64): Likewise.
25880         [C99-based-standards] (SCNuFAST64): Likewise.
25881         [C99-based-standards] (SCNxFAST64): Likewise.
25882         [C99-based-standards] (PRIdMAX): Likewise.
25883         [C99-based-standards] (PRIiMAX): Likewise.
25884         [C99-based-standards] (PRIoMAX): Likewise.
25885         [C99-based-standards] (PRIuMAX): Likewise.
25886         [C99-based-standards] (PRIxMAX): Likewise.
25887         [C99-based-standards] (PRIXMAX): Likewise.
25888         [C99-based-standards] (SCNdMAX): Likewise.
25889         [C99-based-standards] (SCNiMAX): Likewise.
25890         [C99-based-standards] (SCNoMAX): Likewise.
25891         [C99-based-standards] (SCNuMAX): Likewise.
25892         [C99-based-standards] (SCNxMAX): Likewise.
25893         [C99-based-standards] (PRIdPTR): Likewise.
25894         [C99-based-standards] (PRIiPTR): Likewise.
25895         [C99-based-standards] (PRIoPTR): Likewise.
25896         [C99-based-standards] (PRIuPTR): Likewise.
25897         [C99-based-standards] (PRIxPTR): Likewise.
25898         [C99-based-standards] (PRIXPTR): Likewise.
25899         [C99-based-standards] (SCNdPTR): Likewise.
25900         [C99-based-standards] (SCNiPTR): Likewise.
25901         [C99-based-standards] (SCNoPTR): Likewise.
25902         [C99-based-standards] (SCNuPTR): Likewise.
25903         [C99-based-standards] (SCNxPTR): Likewise.
25904         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25905         allow.
25906         * conform/data/stdint.h-data: Update comments to clarify
25907         requirements.
25908         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
25909         type.
25910         [C99-based standards] (INT8_MAX): Likewise.
25911         [C99-based standards] (INT16_MIN): Likewise.
25912         [C99-based standards] (INT16_MAX): Likewise.
25913         [C99-based standards] (INT32_MIN): Likewise.
25914         [C99-based standards] (INT32_MAX): Likewise.
25915         [C99-based standards] (INT64_MIN): Likewise.
25916         [C99-based standards] (INT64_MAX): Likewise.
25917         [C99-based standards] (UINT8_MAX): Likewise.
25918         [C99-based standards] (UINT16_MAX): Likewise.
25919         [C99-based standards] (UINT32_MAX): Likewise.
25920         [C99-based standards] (UINT64_MAX): Likewise.
25921         [C99-based standards] (INT_LEAST8_MIN): Likewise.
25922         [C99-based standards] (INT_LEAST8_MAX): Likewise.
25923         [C99-based standards] (INT_LEAST16_MIN): Likewise.
25924         [C99-based standards] (INT_LEAST16_MAX): Likewise.
25925         [C99-based standards] (INT_LEAST32_MIN): Likewise.
25926         [C99-based standards] (INT_LEAST32_MAX): Likewise.
25927         [C99-based standards] (INT_LEAST64_MIN): Likewise.
25928         [C99-based standards] (INT_LEAST64_MAX): Likewise.
25929         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25930         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25931         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25932         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25933         [C99-based standards] (INT_FAST8_MIN): Likewise.
25934         [C99-based standards] (INT_FAST8_MAX): Likewise.
25935         [C99-based standards] (INT_FAST16_MIN): Likewise.
25936         [C99-based standards] (INT_FAST16_MAX): Likewise.
25937         [C99-based standards] (INT_FAST32_MIN): Likewise.
25938         [C99-based standards] (INT_FAST32_MAX): Likewise.
25939         [C99-based standards] (INT_FAST64_MIN): Likewise.
25940         [C99-based standards] (INT_FAST64_MAX): Likewise.
25941         [C99-based standards] (UINT_FAST8_MAX): Likewise.
25942         [C99-based standards] (UINT_FAST16_MAX): Likewise.
25943         [C99-based standards] (UINT_FAST32_MAX): Likewise.
25944         [C99-based standards] (UINT_FAST64_MAX): Likewise.
25945         [C99-based standards] (INTPTR_MIN): Likewise.
25946         [C99-based standards] (INTPTR_MAX): Likewise.
25947         [C99-based standards] (UINTPTR_MAX): Likewise.
25948         [C99-based standards] (INTMAX_MIN): Likewise.
25949         [C99-based standards] (INTMAX_MAX): Likewise.
25950         [C99-based standards] (UINTMAX_MAX): Likewise.
25951         [C99-based standards] (PTRDIFF_MIN): Likewise.
25952         [C99-based standards] (PTRDIFF_MAX): Likewise.
25953         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25954         [C99-based standards] (SIZE_MAX): Likewise.
25955         [C99-based standards] (WCHAR_MAX): Likewise.
25956         [C99-based standards] (WINT_MAX): Likewise.
25957         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
25958         constraint on value.
25959         [C99-based standards] (WCHAR_MIN): Likewise.
25960         [C99-based standards] (WINT_MIN): Likewise.
25961         [C99-based standards] (*_t): Allow.
25962         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25963         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25964         Include math.h-data and complex.h-data.  Remove all expectations
25965         of math.h and complex.h contents.
25966         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25967         at end of line.
25968         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25969         (struct tm): Expect tag.
25970         [C99-based-standards] (wcstof): Expect function.
25971         [C99-based-standards] (wcstold): Likewise.
25972         [C99-based-standards] (wcstoll): Likewise.
25973         [C99-based-standards] (wcstoull): Likewise.
25974         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25975         macro-int-constant.  Specify type.
25976         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
25977         constraint on value.
25978         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25979         Specify type.
25980         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25981         Specify value.
25982         [ISO C standards]: Do not allow headers.
25983         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25984         wcs[abcdefghijklmnopqrstuvwxyz]*.
25985         [ISO C standards] (*_t): Do not allow.
25986         * conform/data/wctype.h-data [C99-based standards] (iswblank):
25987         Expect function.
25988         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25989         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25990         Specify type.
25991         [ISO C standards]: Do not allow headers.
25992         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25993         is[abcdefghijklmnopqrstuvwxyz]*.
25994         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25995         to[abcdefghijklmnopqrstuvwxyz]*.
25996         [ISO C standards] (*_t): Do not allow.
25997         * conform/data/stdalign.h-data: New file.
25998         * conform/data/stdbool.h-data: Likewise.
25999         * conform/data/stdnoreturn.h-data: Likewise.
26000
26001 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26002
26003         [BZ #14815]
26004         * manual/filesys.texi (Directory Entries): Typo fix.
26005         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26006
26007 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26008
26009         * elf/elf.h (EM_AARCH64): New macro.
26010         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26011         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26012         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26013         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26014         (R_AARCH64_TLSDESC): Likewise.
26015         (NT_ARM_TLS): Likewise.
26016         (NT_ARM_HW_BREAK): Likewise.
26017         (NT_ARM_HW_WATCH): Likewise.
26018
26019 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26020
26021         [BZ #14811]
26022         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26023         (__ieee754_powl): Saturate nonzero exponents with absolute value
26024         below 0x1p-79 to +/- 0x1p-79.
26025         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26026         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26027         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26028         nonzero exponents with absolute value below 0x1p-32 to +/-
26029         0x1p-32.
26030         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26031         (__ieee754_powl): Saturate nonzero exponents with absolute value
26032         below 0x1p-79 to +/- 0x1p-79.
26033         * math/libm-test.inc (pow_test): Add more tests.
26034
26035 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26036
26037         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26038         _dl_s390_cap_flags with kernel. Increase string length.
26039         (_dl_s390_platforms): Add z196 and zEC12.
26040
26041 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26042
26043         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26044         Change XOPEN21K to XOPEN2K.
26045
26046 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26047
26048         * string/memmove.c: Use memcpy when possible.
26049
26050 2012-11-06  Andreas Jaeger  <aj@suse.de>
26051
26052         * po/eo.po: Update from translation team.
26053
26054 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26055
26056         [BZ #14793]
26057         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26058         exponent and small x and y exponents, scale x or y up.  Increase
26059         by 2 the exponent used in scaling up.
26060         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26061         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26062         * math/libm-test.inc (fma_test): Add more tests.
26063         (fma_test_towardzero): Likewise.
26064         (fma_test_downward): Likewise.
26065         (fma_test_upward): Likewise.
26066
26067 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26068
26069         [BZ #14805]
26070         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26071         fenv_t *.
26072
26073         [BZ #14801]
26074         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26075         namespace for names of struct fields.
26076         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26077         fenv_t fields.
26078         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26079         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26080
26081 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26082
26083         [BZ #3665]
26084         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26085
26086 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26087
26088         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26089         PTR_DEMANGLE.
26090
26091         [BZ #5246]
26092         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26093         PTR_DEMANGLE.
26094
26095 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26096
26097         [BZ #14797]
26098         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26099         definitely overflow as x * y not x * y + z.
26100         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26101         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26102         * math/libm-test.inc (fma_test): Add more tests.
26103         (fma_test_towardzero): Likewise.
26104         (fma_test_downward): Likewise.
26105         (fma_test_upward): Likewise.
26106
26107 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26108
26109         [BZ #157]
26110
26111         * include/stub-tag.h: Remove file.
26112         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26113         '#include' of it.
26114         * manual/maint.texi (Porting): Don't reference it.
26115         * Makerules ($(objpfx)stubs): Likewise.
26116         * dirent/closedir.c: Don't include <stub-tag.h>.
26117         * dirent/dirfd.c: Likewise.
26118         * dirent/fdopendir.c: Likewise.
26119         * dirent/getdents.c: Likewise.
26120         * dirent/getdents64.c: Likewise.
26121         * dirent/opendir.c: Likewise.
26122         * dirent/readdir.c: Likewise.
26123         * dirent/readdir64.c: Likewise.
26124         * dirent/readdir64_r.c: Likewise.
26125         * dirent/readdir_r.c: Likewise.
26126         * dirent/rewinddir.c: Likewise.
26127         * dirent/seekdir.c: Likewise.
26128         * dirent/telldir.c: Likewise.
26129         * gmon/profil.c: Likewise.
26130         * grp/setgroups.c: Likewise.
26131         * inet/if_index.c: Likewise.
26132         * io/access.c: Likewise.
26133         * io/chdir.c: Likewise.
26134         * io/chmod.c: Likewise.
26135         * io/chown.c: Likewise.
26136         * io/close.c: Likewise.
26137         * io/dup.c: Likewise.
26138         * io/dup2.c: Likewise.
26139         * io/dup3.c: Likewise.
26140         * io/euidaccess.c: Likewise.
26141         * io/faccessat.c: Likewise.
26142         * io/fchdir.c: Likewise.
26143         * io/fchmod.c: Likewise.
26144         * io/fchmodat.c: Likewise.
26145         * io/fchown.c: Likewise.
26146         * io/fchownat.c: Likewise.
26147         * io/fcntl.c: Likewise.
26148         * io/flock.c: Likewise.
26149         * io/fstatfs.c: Likewise.
26150         * io/fstatfs64.c: Likewise.
26151         * io/fstatvfs.c: Likewise.
26152         * io/fstatvfs64.c: Likewise.
26153         * io/futimens.c: Likewise.
26154         * io/fxstat.c: Likewise.
26155         * io/fxstat64.c: Likewise.
26156         * io/fxstatat.c: Likewise.
26157         * io/fxstatat64.c: Likewise.
26158         * io/getcwd.c: Likewise.
26159         * io/isatty.c: Likewise.
26160         * io/lchmod.c: Likewise.
26161         * io/lchown.c: Likewise.
26162         * io/link.c: Likewise.
26163         * io/linkat.c: Likewise.
26164         * io/lseek.c: Likewise.
26165         * io/lseek64.c: Likewise.
26166         * io/lxstat64.c: Likewise.
26167         * io/mkdir.c: Likewise.
26168         * io/mkdirat.c: Likewise.
26169         * io/mkfifo.c: Likewise.
26170         * io/mkfifoat.c: Likewise.
26171         * io/open.c: Likewise.
26172         * io/open64.c: Likewise.
26173         * io/openat.c: Likewise.
26174         * io/openat64.c: Likewise.
26175         * io/pipe.c: Likewise.
26176         * io/pipe2.c: Likewise.
26177         * io/poll.c: Likewise.
26178         * io/posix_fadvise.c: Likewise.
26179         * io/posix_fadvise64.c: Likewise.
26180         * io/posix_fallocate.c: Likewise.
26181         * io/posix_fallocate64.c: Likewise.
26182         * io/read.c: Likewise.
26183         * io/readlink.c: Likewise.
26184         * io/readlinkat.c: Likewise.
26185         * io/rmdir.c: Likewise.
26186         * io/sendfile.c: Likewise.
26187         * io/sendfile64.c: Likewise.
26188         * io/statfs.c: Likewise.
26189         * io/statfs64.c: Likewise.
26190         * io/statvfs.c: Likewise.
26191         * io/statvfs64.c: Likewise.
26192         * io/symlink.c: Likewise.
26193         * io/symlinkat.c: Likewise.
26194         * io/ttyname.c: Likewise.
26195         * io/ttyname_r.c: Likewise.
26196         * io/umask.c: Likewise.
26197         * io/unlink.c: Likewise.
26198         * io/unlinkat.c: Likewise.
26199         * io/utime.c: Likewise.
26200         * io/utimensat.c: Likewise.
26201         * io/write.c: Likewise.
26202         * io/xmknod.c: Likewise.
26203         * io/xmknodat.c: Likewise.
26204         * io/xstat.c: Likewise.
26205         * io/xstat64.c: Likewise.
26206         * login/getpt.c: Likewise.
26207         * login/grantpt.c: Likewise.
26208         * login/unlockpt.c: Likewise.
26209         * math/e_acoshl.c: Likewise.
26210         * math/e_acosl.c: Likewise.
26211         * math/e_asinl.c: Likewise.
26212         * math/e_atan2l.c: Likewise.
26213         * math/e_atanhl.c: Likewise.
26214         * math/e_coshl.c: Likewise.
26215         * math/e_expl.c: Likewise.
26216         * math/e_fmodl.c: Likewise.
26217         * math/e_gammal_r.c: Likewise.
26218         * math/e_hypotl.c: Likewise.
26219         * math/e_j0l.c: Likewise.
26220         * math/e_j1l.c: Likewise.
26221         * math/e_jnl.c: Likewise.
26222         * math/e_lgammal_r.c: Likewise.
26223         * math/e_log10l.c: Likewise.
26224         * math/e_log2l.c: Likewise.
26225         * math/e_logl.c: Likewise.
26226         * math/e_powl.c: Likewise.
26227         * math/e_rem_pio2l.c: Likewise.
26228         * math/e_sinhl.c: Likewise.
26229         * math/e_sqrtl.c: Likewise.
26230         * math/fclrexcpt.c: Likewise.
26231         * math/fedisblxcpt.c: Likewise.
26232         * math/feenablxcpt.c: Likewise.
26233         * math/fegetenv.c: Likewise.
26234         * math/fegetexcept.c: Likewise.
26235         * math/fegetround.c: Likewise.
26236         * math/feholdexcpt.c: Likewise.
26237         * math/fesetenv.c: Likewise.
26238         * math/fesetround.c: Likewise.
26239         * math/feupdateenv.c: Likewise.
26240         * math/fgetexcptflg.c: Likewise.
26241         * math/fraiseexcpt.c: Likewise.
26242         * math/fsetexcptflg.c: Likewise.
26243         * math/ftestexcept.c: Likewise.
26244         * math/k_cosl.c: Likewise.
26245         * math/k_rem_pio2l.c: Likewise.
26246         * math/k_sinl.c: Likewise.
26247         * math/k_tanl.c: Likewise.
26248         * math/s_asinhl.c: Likewise.
26249         * math/s_atanl.c: Likewise.
26250         * math/s_cbrtl.c: Likewise.
26251         * math/s_erfl.c: Likewise.
26252         * math/s_expm1l.c: Likewise.
26253         * math/s_log1pl.c: Likewise.
26254         * math/s_tanhl.c: Likewise.
26255         * misc/acct.c: Likewise.
26256         * misc/brk.c: Likewise.
26257         * misc/chflags.c: Likewise.
26258         * misc/chroot.c: Likewise.
26259         * misc/fchflags.c: Likewise.
26260         * misc/fgetxattr.c: Likewise.
26261         * misc/flistxattr.c: Likewise.
26262         * misc/fremovexattr.c: Likewise.
26263         * misc/fsetxattr.c: Likewise.
26264         * misc/fsync.c: Likewise.
26265         * misc/ftruncate.c: Likewise.
26266         * misc/futimes.c: Likewise.
26267         * misc/futimesat.c: Likewise.
26268         * misc/getdomain.c: Likewise.
26269         * misc/getdtsz.c: Likewise.
26270         * misc/gethostid.c: Likewise.
26271         * misc/gethostname.c: Likewise.
26272         * misc/getloadavg.c: Likewise.
26273         * misc/getpagesize.c: Likewise.
26274         * misc/getsysstats.c: Likewise.
26275         * misc/getxattr.c: Likewise.
26276         * misc/gtty.c: Likewise.
26277         * misc/ioctl.c: Likewise.
26278         * misc/lgetxattr.c: Likewise.
26279         * misc/listxattr.c: Likewise.
26280         * misc/llistxattr.c: Likewise.
26281         * misc/lremovexattr.c: Likewise.
26282         * misc/lsetxattr.c: Likewise.
26283         * misc/lutimes.c: Likewise.
26284         * misc/madvise.c: Likewise.
26285         * misc/mincore.c: Likewise.
26286         * misc/mlock.c: Likewise.
26287         * misc/mlockall.c: Likewise.
26288         * misc/mmap.c: Likewise.
26289         * misc/mprotect.c: Likewise.
26290         * misc/msync.c: Likewise.
26291         * misc/munlock.c: Likewise.
26292         * misc/munlockall.c: Likewise.
26293         * misc/munmap.c: Likewise.
26294         * misc/preadv.c: Likewise.
26295         * misc/preadv64.c: Likewise.
26296         * misc/ptrace.c: Likewise.
26297         * misc/pwritev.c: Likewise.
26298         * misc/pwritev64.c: Likewise.
26299         * misc/readv.c: Likewise.
26300         * misc/reboot.c: Likewise.
26301         * misc/remap_file_pages.c: Likewise.
26302         * misc/removexattr.c: Likewise.
26303         * misc/revoke.c: Likewise.
26304         * misc/select.c: Likewise.
26305         * misc/setdomain.c: Likewise.
26306         * misc/setegid.c: Likewise.
26307         * misc/seteuid.c: Likewise.
26308         * misc/sethostid.c: Likewise.
26309         * misc/sethostname.c: Likewise.
26310         * misc/setregid.c: Likewise.
26311         * misc/setreuid.c: Likewise.
26312         * misc/setxattr.c: Likewise.
26313         * misc/sstk.c: Likewise.
26314         * misc/stty.c: Likewise.
26315         * misc/swapoff.c: Likewise.
26316         * misc/swapon.c: Likewise.
26317         * misc/sync.c: Likewise.
26318         * misc/syncfs.c: Likewise.
26319         * misc/syscall.c: Likewise.
26320         * misc/truncate.c: Likewise.
26321         * misc/ualarm.c: Likewise.
26322         * misc/usleep.c: Likewise.
26323         * misc/ustat.c: Likewise.
26324         * misc/utimes.c: Likewise.
26325         * misc/vhangup.c: Likewise.
26326         * misc/writev.c: Likewise.
26327         * posix/_exit.c: Likewise.
26328         * posix/alarm.c: Likewise.
26329         * posix/execve.c: Likewise.
26330         * posix/fexecve.c: Likewise.
26331         * posix/fork.c: Likewise.
26332         * posix/fpathconf.c: Likewise.
26333         * posix/getaddrinfo.c: Likewise.
26334         * posix/getegid.c: Likewise.
26335         * posix/geteuid.c: Likewise.
26336         * posix/getgid.c: Likewise.
26337         * posix/getgroups.c: Likewise.
26338         * posix/getlogin.c: Likewise.
26339         * posix/getlogin_r.c: Likewise.
26340         * posix/getpgid.c: Likewise.
26341         * posix/getpid.c: Likewise.
26342         * posix/getppid.c: Likewise.
26343         * posix/getresgid.c: Likewise.
26344         * posix/getresuid.c: Likewise.
26345         * posix/getsid.c: Likewise.
26346         * posix/getuid.c: Likewise.
26347         * posix/glob64.c: Likewise.
26348         * posix/nanosleep.c: Likewise.
26349         * posix/pathconf.c: Likewise.
26350         * posix/pause.c: Likewise.
26351         * posix/posix_madvise.c: Likewise.
26352         * posix/pread.c: Likewise.
26353         * posix/pread64.c: Likewise.
26354         * posix/pwrite.c: Likewise.
26355         * posix/pwrite64.c: Likewise.
26356         * posix/sched_getaffinity.c: Likewise.
26357         * posix/sched_getp.c: Likewise.
26358         * posix/sched_gets.c: Likewise.
26359         * posix/sched_primax.c: Likewise.
26360         * posix/sched_primin.c: Likewise.
26361         * posix/sched_rr_gi.c: Likewise.
26362         * posix/sched_setaffinity.c: Likewise.
26363         * posix/sched_setp.c: Likewise.
26364         * posix/sched_sets.c: Likewise.
26365         * posix/sched_yield.c: Likewise.
26366         * posix/setgid.c: Likewise.
26367         * posix/setlogin.c: Likewise.
26368         * posix/setpgid.c: Likewise.
26369         * posix/setresgid.c: Likewise.
26370         * posix/setresuid.c: Likewise.
26371         * posix/setsid.c: Likewise.
26372         * posix/setuid.c: Likewise.
26373         * posix/sleep.c: Likewise.
26374         * posix/spawni.c: Likewise.
26375         * posix/sysconf.c: Likewise.
26376         * posix/times.c: Likewise.
26377         * posix/wait.c: Likewise.
26378         * posix/wait3.c: Likewise.
26379         * posix/wait4.c: Likewise.
26380         * posix/waitpid.c: Likewise.
26381         * resolv/gai_sigqueue.c: Likewise.
26382         * resource/getpriority.c: Likewise.
26383         * resource/getrlimit.c: Likewise.
26384         * resource/getrusage.c: Likewise.
26385         * resource/nice.c: Likewise.
26386         * resource/setpriority.c: Likewise.
26387         * resource/setrlimit.c: Likewise.
26388         * resource/ulimit.c: Likewise.
26389         * rt/aio_cancel.c: Likewise.
26390         * rt/aio_fsync.c: Likewise.
26391         * rt/aio_read.c: Likewise.
26392         * rt/aio_sigqueue.c: Likewise.
26393         * rt/aio_suspend.c: Likewise.
26394         * rt/aio_write.c: Likewise.
26395         * rt/clock_getres.c: Likewise.
26396         * rt/clock_gettime.c: Likewise.
26397         * rt/clock_nanosleep.c: Likewise.
26398         * rt/clock_settime.c: Likewise.
26399         * rt/lio_listio.c: Likewise.
26400         * rt/mq_close.c: Likewise.
26401         * rt/mq_getattr.c: Likewise.
26402         * rt/mq_notify.c: Likewise.
26403         * rt/mq_open.c: Likewise.
26404         * rt/mq_receive.c: Likewise.
26405         * rt/mq_send.c: Likewise.
26406         * rt/mq_setattr.c: Likewise.
26407         * rt/mq_timedreceive.c: Likewise.
26408         * rt/mq_timedsend.c: Likewise.
26409         * rt/mq_unlink.c: Likewise.
26410         * rt/shm_open.c: Likewise.
26411         * rt/shm_unlink.c: Likewise.
26412         * rt/timer_create.c: Likewise.
26413         * rt/timer_delete.c: Likewise.
26414         * rt/timer_getoverr.c: Likewise.
26415         * rt/timer_gettime.c: Likewise.
26416         * rt/timer_settime.c: Likewise.
26417         * setjmp/__longjmp.c: Likewise.
26418         * setjmp/setjmp.c: Likewise.
26419         * signal/kill.c: Likewise.
26420         * signal/killpg.c: Likewise.
26421         * signal/raise.c: Likewise.
26422         * signal/sigaction.c: Likewise.
26423         * signal/sigaltstack.c: Likewise.
26424         * signal/sigblock.c: Likewise.
26425         * signal/sigignore.c: Likewise.
26426         * signal/sigintr.c: Likewise.
26427         * signal/signal.c: Likewise.
26428         * signal/sigpause.c: Likewise.
26429         * signal/sigpending.c: Likewise.
26430         * signal/sigqueue.c: Likewise.
26431         * signal/sigreturn.c: Likewise.
26432         * signal/sigset.c: Likewise.
26433         * signal/sigsetmask.c: Likewise.
26434         * signal/sigstack.c: Likewise.
26435         * signal/sigsuspend.c: Likewise.
26436         * signal/sigtimedwait.c: Likewise.
26437         * signal/sigvec.c: Likewise.
26438         * signal/sigwait.c: Likewise.
26439         * signal/sigwaitinfo.c: Likewise.
26440         * signal/sysv_signal.c: Likewise.
26441         * socket/accept.c: Likewise.
26442         * socket/accept4.c: Likewise.
26443         * socket/bind.c: Likewise.
26444         * socket/connect.c: Likewise.
26445         * socket/getpeername.c: Likewise.
26446         * socket/getsockname.c: Likewise.
26447         * socket/getsockopt.c: Likewise.
26448         * socket/isfdtype.c: Likewise.
26449         * socket/listen.c: Likewise.
26450         * socket/recv.c: Likewise.
26451         * socket/recvfrom.c: Likewise.
26452         * socket/recvmsg.c: Likewise.
26453         * socket/send.c: Likewise.
26454         * socket/sendmsg.c: Likewise.
26455         * socket/sendto.c: Likewise.
26456         * socket/setsockopt.c: Likewise.
26457         * socket/shutdown.c: Likewise.
26458         * socket/sockatmark.c: Likewise.
26459         * socket/socket.c: Likewise.
26460         * socket/socketpair.c: Likewise.
26461         * stdio-common/ctermid.c: Likewise.
26462         * stdio-common/cuserid.c: Likewise.
26463         * stdio-common/remove.c: Likewise.
26464         * stdio-common/rename.c: Likewise.
26465         * stdio-common/renameat.c: Likewise.
26466         * stdio-common/tempname.c: Likewise.
26467         * stdlib/getcontext.c: Likewise.
26468         * stdlib/makecontext.c: Likewise.
26469         * stdlib/setcontext.c: Likewise.
26470         * stdlib/swapcontext.c: Likewise.
26471         * stdlib/system.c: Likewise.
26472         * streams/fattach.c: Likewise.
26473         * streams/fdetach.c: Likewise.
26474         * streams/getmsg.c: Likewise.
26475         * streams/getpmsg.c: Likewise.
26476         * streams/putmsg.c: Likewise.
26477         * streams/putpmsg.c: Likewise.
26478         * sysdeps/unix/bsd/getpt.c: Likewise.
26479         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26480         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26481         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26483         Likewise.
26484         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26485         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26486         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26487         * sysvipc/msgctl.c: Likewise.
26488         * sysvipc/msgget.c: Likewise.
26489         * sysvipc/msgrcv.c: Likewise.
26490         * sysvipc/msgsnd.c: Likewise.
26491         * sysvipc/semctl.c: Likewise.
26492         * sysvipc/semget.c: Likewise.
26493         * sysvipc/semop.c: Likewise.
26494         * sysvipc/semtimedop.c: Likewise.
26495         * sysvipc/shmat.c: Likewise.
26496         * sysvipc/shmctl.c: Likewise.
26497         * sysvipc/shmdt.c: Likewise.
26498         * sysvipc/shmget.c: Likewise.
26499         * termios/tcdrain.c: Likewise.
26500         * termios/tcflow.c: Likewise.
26501         * termios/tcflush.c: Likewise.
26502         * termios/tcgetattr.c: Likewise.
26503         * termios/tcgetpgrp.c: Likewise.
26504         * termios/tcsendbrk.c: Likewise.
26505         * termios/tcsetattr.c: Likewise.
26506         * termios/tcsetpgrp.c: Likewise.
26507         * time/adjtime.c: Likewise.
26508         * time/clock.c: Likewise.
26509         * time/getitimer.c: Likewise.
26510         * time/gettimeofday.c: Likewise.
26511         * time/setitimer.c: Likewise.
26512         * time/settimeofday.c: Likewise.
26513         * time/stime.c: Likewise.
26514         * time/time.c: Likewise.
26515
26516 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
26517
26518         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26519         /usr/old/bin.
26520
26521         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26522         instead of spaces.
26523         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26524
26525 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
26526
26527         [BZ #14796]
26528         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26529         FE_TONEAREST before applying Dekker multiplication and Knuth
26530         addition.  Clear inexact exceptions and check for exact zero
26531         results afterwards.
26532         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26533         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26534         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26535         * math/libm-test.inc (fma_test): Add more tests.
26536         (fma_test_towardzero): Likewise.
26537         (fma_test_downward): Likewise.
26538         (fma_test_upward): Likewise.
26539         * sysdeps/generic/math_private.h (default_libc_fesetround): New
26540         function.
26541         (libc_fesetround): New macro.
26542         (libc_fesetroundf): Likewise.
26543         (libc_fesetroundl): Likewise.
26544         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26545         function.
26546         (libc_fesetround_387): Likewise.
26547         (libc_fesetroundf): New macro.
26548         (libc_fesetround): Likewise.
26549         (libc_fesetroundl): Likewise.
26550         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26551         function.
26552         (libc_fesetroundf): New macro.
26553         (libc_fesetround): Likewise.
26554         (libc_fesetroundl): Likewise.
26555         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26556         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26557         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26558         libm_hidden_ver.
26559         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26560         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26561         libm_hidden_def.
26562         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26563         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26564         libm_hidden_ver.
26565         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26566         libm_hidden_def.
26567
26568         [BZ #3439]
26569         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26570         integer constant usable in #if and use that to give value to enum
26571         constant.
26572         (FE_DIVBYZERO): Likewise.
26573         (FE_UNDERFLOW): Likewise.
26574         (FE_OVERFLOW): Likewise.
26575         (FE_INVALID): Likewise.
26576         (FE_INVALID_SNAN): Likewise.
26577         (FE_INVALID_ISI): Likewise.
26578         (FE_INVALID_IDI): Likewise.
26579         (FE_INVALID_ZDZ): Likewise.
26580         (FE_INVALID_IMZ): Likewise.
26581         (FE_INVALID_COMPARE): Likewise.
26582         (FE_INVALID_SOFTWARE): Likewise.
26583         (FE_INVALID_SQRT): Likewise.
26584         (FE_INVALID_INTEGER_CONVERSION): Likewise.
26585         (FE_TONEAREST): Likewise.
26586         (FE_TOWARDZERO): Likewise.
26587         (FE_UPWARD): Likewise.
26588         (FE_DOWNWARD): Likewise.
26589         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26590         (FE_DIVBYZERO): Likewise.
26591         (FE_OVERFLOW): Likewise.
26592         (FE_UNDERFLOW): Likewise.
26593         (FE_INEXACT): Likewise.
26594         (FE_TONEAREST): Likewise.
26595         (FE_DOWNWARD): Likewise.
26596         (FE_UPWARD): Likewise.
26597         (FE_TOWARDZERO): Likewise.
26598         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26599         (FE_UNDERFLOW): Likewise.
26600         (FE_OVERFLOW): Likewise.
26601         (FE_DIVBYZERO): Likewise.
26602         (FE_INVALID): Likewise.
26603         (FE_TONEAREST): Likewise.
26604         (FE_TOWARDZERO): Likewise.
26605         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26606         (FE_OVERFLOW): Likewise.
26607         (FE_UNDERFLOW): Likewise.
26608         (FE_DIVBYZERO): Likewise.
26609         (FE_INEXACT): Likewise.
26610         (FE_TONEAREST): Likewise.
26611         (FE_TOWARDZERO): Likewise.
26612         (FE_UPWARD): Likewise.
26613         (FE_DOWNWARD): Likewise.
26614         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26615         (FE_DIVBYZERO): Likewise.
26616         (FE_OVERFLOW): Likewise.
26617         (FE_UNDERFLOW): Likewise.
26618         (FE_INEXACT): Likewise.
26619         (FE_TONEAREST): Likewise.
26620         (FE_DOWNWARD): Likewise.
26621         (FE_UPWARD): Likewise.
26622         (FE_TOWARDZERO): Likewise.
26623
26624 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
26625
26626         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26627
26628 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
26629
26630         * scripts/cross-test-ssh.sh (command): Use newlines to separate
26631         commands.  Quote $PWD.
26632         (blacklist_exports): Don't use remove_newlines.  Replace "declare
26633         -x" by "export".
26634         (remove_newlines): Remove.
26635
26636 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
26637
26638         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26639         * stdlib/stdlib.h (atof): Moved to ...
26640         * include/bits/stdlib-float.h: Here.  New file.
26641         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26642         * stdlib/bits/stdlib-float.h: New file.
26643         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26644         -mno-sse -mno-mmx.
26645         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26646         <xmmintrin.h>.
26647
26648 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26649
26650         * conform/conformtest.pl (@headers): Add fenv.h.
26651         * conform/data/fenv.h-data: New file.
26652         * include/fenv.h [_ISOMAC]: Disable all contents of file except
26653         include of <math/fenv.h>.
26654
26655         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26656         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26657         && !UNIX98].  Enables tests for XOPEN2K8.
26658         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26659         POSIX2008]: Likewise.
26660
26661         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26662         (struct rusage): Do not expect type or its members.
26663
26664         [BZ #3439]
26665         * math/math.h (FP_NAN): Define macro to integer constant usable in
26666         #if and use that to give value to enum constant.
26667         (FP_INFINITE): Likewise.
26668         (FP_ZERO): Likewise.
26669         (FP_SUBNORMAL): Likewise.
26670         (FP_NORMAL): Likewise.
26671
26672 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
26673
26674         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26675         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26676         arguments.
26677
26678 2012-11-02  Roland McGrath  <roland@hack.frob.com>
26679
26680         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26681         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26682         autoconf-time if not.
26683         * configure.in: Remove AC_PREREQ.
26684
26685 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26686
26687         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26688         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26689         of the internal implementation.
26690
26691 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26692
26693         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26694         except include of <misc/sys/syslog.h>.
26695
26696 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26697
26698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26699         function returns with a NULL context exit with zero.
26700
26701 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26702
26703         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26704
26705 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
26706
26707         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26708         (run_program_cmd): This.
26709         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26710         (tst_langinfo): New variable.  Use it.
26711
26712 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
26713
26714         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26715         floating point opcodes.
26716
26717 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26718
26719         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26720         variable.
26721
26722         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26723
26724         * sysdeps/mach/hurd/powerpc: Remove directory.
26725         * sysdeps/mach/powerpc: Likewise.
26726
26727 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26728
26729         * scripts/check-local-headers.sh: Ignore c++ headers.
26730
26731 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26732
26733         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26734         __libc_cleanup_region_start argument.
26735
26736 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
26737
26738         [BZ #14784]
26739         [BZ #14785]
26740         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26741         x * y using scaling, not as x * y + z.
26742         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26743         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26744         * math/libm-test.inc (fma_test): Add more tests.
26745         (fma_test_towardzero): Likewise.
26746         (fma_test_downward): Likewise.
26747         (fma_test_upward): Likewise.
26748
26749 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26750
26751         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26752
26753 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26754
26755         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26756         New variable.
26757
26758 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
26759
26760         * rt/tst-shm.c (worker): Correct checking for mmap failure.
26761
26762 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26763
26764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26765         Fix sort order.
26766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26767         Likewise.
26768
26769 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26770
26771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26772         Fix the order of the list for glibc 2.17.
26773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26774         Likewise.
26775
26776 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26777
26778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26779
26780 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26781
26782         [BZ #14610]
26783         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26784         for low part of x being zero before using __atanl (y).
26785         * math/libm-test.inc (atan2_test): Add another test.
26786
26787         * manual/install.texi (Configuring and compiling): Document
26788         general use of test-wrapper and test-wrapper-env.
26789         * INSTALL: Regenerated.
26790
26791         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26792         (__fma): Do not extract and scale down low bits on after-rounding
26793         systems when result rounded to normal precision would have normal
26794         exponent.
26795         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26796         (__fmal): Do not extract and scale down low bits on after-rounding
26797         systems when result rounded to normal precision would have normal
26798         exponent.
26799         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26800         (__fmal): Do not extract and scale down low bits on after-rounding
26801         systems when result rounded to normal precision would have normal
26802         exponent.
26803         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26804         macro.
26805         (fma_test): Add more tests.
26806         (fma_test_towardzero): Likewise.
26807         (fma_test_downward): Likewise.
26808         (fma_test_upward): Likewise.
26809
26810 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
26811
26812         * sysdeps/i386/tininess.h: Renamed to ...
26813         * sysdeps/x86/tininess.h: This.
26814         * sysdeps/x86_64/tininess.h: Removed.
26815
26816 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
26817
26818         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26819         input.  Use $(build-program-cmd).
26820         ($(objpfx)tst-array1-static.out): Likewise.
26821         ($(objpfx)tst-array2.out): Likewise.
26822         ($(objpfx)tst-array3.out): Likewise.
26823         ($(objpfx)tst-array4.out): Likewise.
26824         ($(objpfx)tst-array5.out): Likewise.
26825         ($(objpfx)tst-array5-static.out): Likewise.
26826
26827 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
26828
26829         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26830         if defined.
26831
26832         * nss/nsswitch.h (nss_interface_function): Provide new
26833         macro for use with NSS functions.
26834         * grp/initgroups.c: Use new macro.
26835         * nss/getXXbyYY.c: Likewise.
26836         * nss/getXXbyYY_r.c: Likewise.
26837         * nss/getXXent.c: Likewise.
26838         * nss/getXXent_r.c: Likewise.
26839         * sysdeps/posix/getaddrinfo.c: Likewise.
26840
26841 2012-10-30  Andreas Jaeger  <aj@suse.de>
26842
26843         * po/ru.po: Update Russion translation from translation project.
26844
26845 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
26846
26847         [BZ #14152]
26848         [BZ #14783]
26849         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26850         result and shift together with sticky bit instead of replicating
26851         round-to-nearest rounding.
26852         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26853         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26854         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
26855         missing underflow exceptions.
26856         (fma_test_towardzero): Add more tests.
26857         (fma_test_downward): Likewise.
26858         (fma_test_upward): Likewise.
26859
26860         [BZ #14047]
26861         * sysdeps/generic/tininess.h: New file.
26862         * sysdeps/i386/tininess.h: Likewise.
26863         * sysdeps/sh/tininess.h: Likewise.
26864         * sysdeps/x86_64/tininess.h: Likewise.
26865         * stdlib/tst-strtod-underflow.c: Likewise.
26866         * stdlib/tst-tininess.c: Likewise.
26867         * stdlib/strtod_l.c: Include <tininess.h>.
26868         (round_and_return): Do not set errno for exact underflow cases.
26869         Force an underflow exception when setting errno for underflow.
26870         Determine underflow based on rounding to normal precision if
26871         TININESS_AFTER_ROUNDING.
26872         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26873         ERANGE for exact underflow cases.
26874         * stdlib/Makefile (tests): Add tst-tininess and
26875         tst-strtod-underflow.
26876         ($(objpfx)tst-tininess): Use $(link-libm).
26877         ($(objpfx)tst-strtod-underflow): Likewise.
26878
26879 2012-10-30  Andreas Jaeger  <aj@suse.de>
26880
26881         [BZ#14767]
26882         * elf/Makefile (tests): Remove conditional for have-initfini-array
26883         since this is now always required and the variable does not exist
26884         anymore.
26885         (tests-static): Likewise.
26886         (modules-names): Likewise.
26887
26888         * po/eo.po: Add Esperanto translation from translation project.
26889
26890         * elf/tst-array1.c (fini_array): Make writeable so that it can be
26891         merged with constructor/destructor.
26892         (init_array): Likewise.
26893         * elf/tst-array2dep.c (fini_array): Likewise.
26894         (init_array): Likewise.
26895
26896 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
26897
26898         * manual/message.texi: Delete @cartouche tags.
26899
26900 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
26901
26902         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26903         EOPNOTSUPP.
26904         * sysdeps/mach/hurd/fsync.c: Likewise.
26905
26906         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26907         [_POSIX_REALTIME_SIGNALS]: Change condition to
26908         [_POSIX_REALTIME_SIGNALS > 0].
26909
26910 2012-10-27  Andreas Jaeger  <aj@suse.de>
26911
26912         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26913         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26914         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26915         [__WORDSIZE != 64]: Likewise.
26916
26917 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
26918
26919         *  iconvdata/tst-table.sh: Remove ${SHELL}.
26920         *  iconvdata/tst-tables.sh: Likewise.
26921
26922 2012-10-25  David S. Miller  <davem@davemloft.net>
26923
26924         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26925         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26926         of strtoull.
26927
26928         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26929         ifunc-impl-list.c
26930         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26931         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26932         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26933         file.
26934
26935 2012-10-25  Roland McGrath  <roland@hack.frob.com>
26936
26937         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26938         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26939         __getdirentries.
26940
26941 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26942             Jim Blandy  <jimb@codesourcery.com>
26943
26944         * scripts/cross-test-ssh.sh: New file.
26945         * manual/install.texi (Configuring and compiling): Document use of
26946         cross-test-ssh.sh.
26947         * INSTALL: Regenerated.
26948
26949 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
26950
26951         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26952         EOPNOTSUPP.
26953
26954 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26955
26956         * Makeconfig (run-program-prefix): Fix comment.
26957
26958 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26959             Jim Blandy  <jimb@codesourcery.com>
26960
26961         * Makeconfig (test-wrapper): New variable,
26962         (test-wrapper-env): Likewise.
26963         [$(cross-compiling) = yes && $(test-wrapper) != ""]
26964         (run-built-tests): Define to yes.
26965         (run-program-prefix): Use $(test-wrapper).
26966         (built-program-cmd): Likewise.
26967         * Rules (make-test-out): Use $(test-wrapper-env) and
26968         $(host-built-program-cmd).
26969         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26970         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26971         tst-pathopt.sh.
26972         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26973         $(test-wrapper-env) to tst-rtld-load-self.sh.
26974         ($(objpfx)order2.out): Use $(test-wrapper).
26975         ($(objpfx)tst-initorder.out): Likewise.
26976         ($(objpfx)tst-initorder2.out): Likewise.
26977         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26978         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26979         (test_wrapper_env): New variable.  Use it to run ld.so.
26980         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26981         Use it to run ld.so.
26982         (test_wrapper_env): Likewise.
26983         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26984         $(test-wrapper) to run-iconv-test.sh.
26985         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26986         (ICONV): Use $test_wrapper.
26987         * posix/Makefile ($(objpfx)globtest.out): Pass
26988         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26989         globtest.sh, not $(run-program-prefix).
26990         * posix/globtest.sh (run_via_rtld_prefix): New variable.
26991         (test_wrapper): Likewise.
26992         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
26993         set together with run_via_rtld_prefix.
26994         (run_program_prefix): Define in terms of test_wrapper and
26995         run_via_rtld_prefix.
26996
26997 2012-10-24  Roland McGrath  <roland@hack.frob.com>
26998
26999         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27000         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27001         Targets removed.
27002
27003         [BZ #14743]
27004         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27005         Declare __clock_getres, __clock_gettime, __clock_settime,
27006         __clock_nanosleep, and __clock_getcpuclockid.
27007         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27008         Remove librt_hidden_def (clock_gettime).
27009         * sysdeps/unix/clock_gettime.c: Likewise.
27010         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27011         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27012         * rt/clock_getres.c: Define __clock_getres as an alias.
27013         * sysdeps/posix/clock_getres.c: Likewise.
27014         * rt/clock_settime.c: Define __clock_settime as an alias.
27015         * sysdeps/unix/clock_settime.c: Likewise.
27016         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27017         * sysdeps/unix/clock_nanosleep.c: Likewise.
27018         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27019         * rt/clock-compat.c: New file.
27020         * rt/Makefile (librt-routines): Add clock-compat and move
27021         $(clock-routines) to ...
27022         (routines): ... here, new variable.
27023         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27024         Don't add get_clockfreq here.
27025         * rt/Versions (libc: GLIBC_2.17): New version set.
27026         Add clock_* symbols here.
27027         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27028         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27029         (GLIBC_2.17): Add clock_* symbols.
27030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27032         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27034         Likewise.
27035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27036         Likewise.
27037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27039         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27041         * NEWS: Mention the move.
27042
27043         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27044         Use __open, __read, __close rather than their public counterparts.
27045         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27046         (__get_clockfreq_via_cpuinfo): Likewise.
27047         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27048         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27049
27050         * config.h.in (HAVE_IFUNC): New #undef.
27051         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27052         was successful.
27053         * configure: Regenerated.
27054
27055 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27056
27057         * configure.in: Move READELF check to start of file.
27058         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27059         libc_cv_asm_gnu_indirect_function in the process.
27060         * configure: Regenerated.
27061
27062 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27063
27064         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27065         send the output to /dev/null.
27066         (libc_cv_cc_with_libunwind): Likewise.
27067         (libc_cv_as_noexecstack): Likewise.
27068         * configure: Regenerate.
27069
27070 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27071
27072         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27073
27074         * posix/globtest.sh (TMPDIR): Do not set.
27075         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27076         (testout): Likewise.
27077
27078 2012-10-24  Andreas Jaeger  <aj@suse.de>
27079
27080         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27081         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27082         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27083         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27084         posix_fadvise64, posix_fallocate64.
27085
27086         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27087         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27088         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27089         Likewise.
27090         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27091         Likewise.
27092         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27093
27094         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27095         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27096         <bits/fcntl-linux.h>.
27097         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27098
27099         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27100         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27101         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27102         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27103         [__WORDSIZE != 64]: Likewise.
27104
27105 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27106
27107         * Makeconfig (run-built-tests): New variable.
27108         * Rules [$(cross-compiling) = yes]: Change condition to
27109         [$(run-built-tests) = no].
27110         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27111         to [$(run-built-tests) = yes].
27112         * elf/Makefile [$(cross-compiling) = no]: Likewise
27113         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27114         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27115         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27116         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27117         * io/Makefile [$(cross-compiling) = no]: Likewise.
27118         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27119         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27120         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27121         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27122         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27123         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27124         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27125         * string/Makefile [$(cross-compiling) = no]: Likewise.
27126
27127         * posix/Makefile ($(objpfx)globtest.out): Pass
27128         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27129         $(rtld-installed-name).
27130         * posix/globtest.sh (elf_objpfx): Remove variable.
27131         (rtld_installed_name): Likewise.
27132         (library_path): Likewise.
27133         (run_program_prefix): New variable.  Use for running globtest
27134         binary.
27135
27136 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27137             Joseph Myers  <joseph@codesourcery.com>
27138
27139         * Makeconfig (host-built-program-cmd): New variable.
27140         * elf/Makefile (tst-stackguard1-ARGS): Use
27141         $(host-built-program-cmd).
27142         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27143         (tst-spawn-ARGS): Likewise.
27144         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27145
27146 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27147             Jim Blandy  <jimb@codesourcery.com>
27148
27149         * Makeconfig (run-via-rtld-prefix): New variable.
27150         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27151         (built-program-cmd): Likewise.
27152
27153 2012-10-22  Andreas Jaeger  <aj@suse.de>
27154
27155         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27156         __O_RSYNC if it exists, otherwise to O_SYNC.
27157
27158 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27159             Joseph Myers  <joseph@codesourcery.com>
27160
27161         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27162         /dev/null.
27163         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27164         from /dev/null
27165         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27166         /dev/null.
27167
27168 2012-10-22  Andreas Jaeger  <aj@suse.de>
27169
27170         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27171         Define always.
27172         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27173
27174         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27175         bits/fcntl-linux.h.
27176
27177         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27178         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27179
27180         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27181         to __O_LARGEFILE.
27182         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27183         to __O_LARGEFILE.
27184
27185 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27186             Joseph Myers  <joseph@codesourcery.com>
27187
27188         * config.make.in (NM): New variable.
27189
27190 2012-10-21  Andreas Jaeger  <aj@suse.de>
27191
27192         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27193         definitions and declarations that are provided by
27194         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27195
27196 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27197
27198         [BZ #14683]
27199         * elf/Makefile (tests-static): Add tst-leaks1-static.
27200         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27201         ($(objpfx)tst-leaks1-static): New rule.
27202         ($(objpfx)tst-leaks1-static-mem): Likewise.
27203         (tst-leaks1-static-ENV): New macro.
27204         * elf/dl-open.c (dl_open_worker): Check the main application
27205         only if SHARED is defined.
27206         * elf/tst-leaks1-static.c: New file.
27207
27208 2012-10-20  Andreas Jaeger  <aj@suse.de>
27209
27210         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27211         generic values for Linux.
27212         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27213         and declarations that are provided by <bits/fcntl-linux.h> and
27214         include <bits/fcntl-linux.h>.
27215         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27216         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27217
27218 2012-10-20  Roland McGrath  <roland@hack.frob.com>
27219
27220         * io/fcntl.h: Move include of <bits/types.h> to the top and
27221         include it unconditionally.
27222
27223 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27224
27225         * wcsmbs/Makefile (tests-ifunc): New variable.
27226         (tests): Add $(tests-ifunc).
27227         * wcsmbs/test-wcschr-ifunc.c: New file.
27228         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27229         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27230         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27231         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27232         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27233
27234         * string/Makefile (tests-ifunc): New variable.
27235         (tests): Add $(tests-ifunc).
27236         * string/test-memccpy.c (TEST_NAME): New macro.
27237         * string/test-memchr.c (TEST_NAME): Likewise.
27238         * string/test-memcmp.c (TEST_NAME): Likewise.
27239         * string/test-memcpy.c (TEST_NAME): Likewise.
27240         * string/test-memmem.c (TEST_NAME): Likewise.
27241         * string/test-memmove.c (TEST_NAME): Likewise.
27242         * string/test-memset.c (TEST_NAME): Likewise.
27243         * string/test-rawmemchr.c (TEST_NAME): Likewise.
27244         * string/test-stpcpy.c (TEST_NAME): Likewise.
27245         * string/test-stpncpy.c (TEST_NAME): Likewise.
27246         * string/test-strcasecmp.c (TEST_NAME): Likewise.
27247         * string/test-strcasestr.c (TEST_NAME): Likewise.
27248         * string/test-strcat.c (TEST_NAME): Likewise.
27249         * string/test-strchr.c (TEST_NAME): Likewise.
27250         * string/test-strcmp.c(TEST_NAME): Likewise.
27251         * string/test-strcpy.c (TEST_NAME): Likewise.
27252         * string/test-strcspn.c (TEST_NAME): Likewise.
27253         * string/test-strlen.c (TEST_NAME): Likewise.
27254         * string/test-strncasecmp.c (TEST_NAME): Likewise.
27255         * string/test-strncmp.c (TEST_NAME): Likewise.
27256         * string/test-strncpy.c (TEST_NAME): Likewise.
27257         * string/test-strnlen.c (TEST_NAME): Likewise.
27258         * string/test-strpbrk.c (TEST_NAME): Likewise.
27259         * string/test-strrchr.c (TEST_NAME): Likewise.
27260         * string/test-strspn.c (TEST_NAME): Likewise.
27261         * string/test-strstr.c (TEST_NAME): Likewise.
27262         * string/test-bcopy-ifunc.c: New file.
27263         * string/test-bzero-ifunc.c: Likewise.
27264         * string/test-memccpy-ifunc.c: Likewise.
27265         * string/test-memchr-ifunc.c: Likewise.
27266         * string/test-memcmp-ifunc.c: Likewise.
27267         * string/test-memcpy-ifunc.c: Likewise.
27268         * string/test-memmem-ifunc.c: Likewise.
27269         * string/test-memmove-ifunc.c: Likewise.
27270         * string/test-mempcpy-ifunc.c: Likewise.
27271         * string/test-memset-ifunc.c: Likewise.
27272         * string/test-rawmemchr-ifunc.c: Likewise.
27273         * string/test-stpcpy-ifunc.c: Likewise.
27274         * string/test-stpncpy-ifunc.c: Likewise.
27275         * string/test-strcasecmp-ifunc.c: Likewise.
27276         * string/test-strcasestr-ifunc.c: Likewise.
27277         * string/test-strcat-ifunc.c: Likewise.
27278         * string/test-strchr-ifunc.c: Likewise.
27279         * string/test-strchrnul-ifunc.c: Likewise.
27280         * string/test-strcmp-ifunc.c: Likewise.
27281         * string/test-strcpy-ifunc.c: Likewise.
27282         * string/test-strcspn-ifunc.c: Likewise.
27283         * string/test-strlen-ifunc.c: Likewise.
27284         * string/test-strncasecmp-ifunc.c: Likewise.
27285         * string/test-strncat-ifunc.c: Likewise.
27286         * string/test-strncmp-ifunc.c: Likewise.
27287         * string/test-strncpy-ifunc.c: Likewise.
27288         * string/test-strnlen-ifunc.c: Likewise.
27289         * string/test-strpbrk-ifunc.c: Likewise.
27290         * string/test-strrchr-ifunc.c: Likewise.
27291         * string/test-strspn-ifunc.c: Likewise.
27292         * string/test-strstr-ifunc.c: Likewise.
27293
27294         * debug/Makefile (tests-ifunc): New variable.
27295         (tests): Add $(tests-ifunc).
27296         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27297         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27298         * debug/test-stpcpy_chk-ifunc.c: New file.
27299         * debug/test-strcpy_chk-ifunc.c: Likewise.
27300
27301 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27302
27303         [BZ #13601]
27304         * elf/dl-load.c (open_verify): Retry read if the entire ELF
27305         header is not read in.
27306
27307 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
27308
27309         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
27310         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
27311         directly.  Pass built executable to script as
27312         $(built-program-cmd).
27313         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
27314         $testprogram without using LD_LIBRARY_PATH and $ldso.
27315
27316         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27317         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27318         $(rtld-installed-name).
27319         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27320         (rtld_installed_name): Likewise.
27321         (library_path): Likewise.
27322         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
27323         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27324         $(run-program-prefix) to tst-tables.sh.
27325         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
27326         it to run tst-table-from and tst-table-to.
27327         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27328         Pass it to tst-table.sh.
27329         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27330         $(run-program-prefix) to tst-gettext.sh.
27331         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27332         tst-translit.sh.
27333         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27334         tst-gettext2.sh.
27335         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
27336         to run tst-gettext.
27337         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
27338         to run tst-gettext2.
27339         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
27340         to run tst-translit.
27341         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27342         $(run-program-prefix) to tst-mtrace.sh.
27343         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
27344         to run tst-mtrace.
27345         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27346         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27347         $(rtld-installed-name).
27348         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27349         (rtld_installed_name): Likewise.
27350         (run_program_prefix): New variable.  Use it to run wordexp-test.
27351
27352         * Makeconfig (ARCH): Remove all definitions.
27353         (machine): Likewise.
27354         [ARCH]: Remove conditional code.
27355         [!objdir]: Give error.
27356         [!objdir] (objpfx): Remove.
27357         [!objdir] (common-objpfx): Likewise.
27358         [!objdir] (common-objdir): Likewise.
27359         * configure.in (config_makefile): Remove.  Hardcode Makefile in
27360         AC_CONFIG_FILES call.
27361         * configure: Regenerated.
27362
27363         [BZ #13888]
27364         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27365         or TMPDIR.
27366         (testout): Likewise.
27367
27368         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27369         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27370         $(rtld-installed-name).
27371         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27372         (rtld_installed_name): Likwise.
27373         (runit): Remove function.
27374         (run_getconf): New variable,  Use it for running getconf binary.
27375
27376 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
27377
27378         [BZ #14716]
27379         * string/test-memmem.c (check_result): New function.
27380         (do_one_test): Use it.
27381         (check1): New function.
27382         (test_main): Use it.
27383
27384 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
27385
27386         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27387
27388 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
27389
27390         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27391         (_G_LSEEK64): Likewise.
27392         (_G_MMAP64): Likewise.
27393         (_G_FSTAT64): Likewise.
27394         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27395         (_G_LSEEK64): Likewise.
27396         (_G_MMAP64): Likewise.
27397         (_G_FSTAT64): Likewise.
27398         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27399         unconditional.  Call __mmap64 directly.
27400         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27401         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
27402         __lseek64 directly.
27403         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27404         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
27405         __mmap64 directly.
27406         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27407         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27408         __lseek64 directly.
27409         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27410         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27411         __lseek64 directly.
27412         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27413         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
27414         __lseek64 directly.
27415         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27416         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
27417         __fxstat64 directly.
27418         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27419         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27420         unconditional.
27421         (freopen64) [!_G_OPEN64]: Remove conditional code.
27422         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27423         unconditional.
27424         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27425         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27426         unconditional.
27427         (ftello64) [!_G_LSEEK64]: Remove conditional code.
27428         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27429         unconditional.
27430         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27431         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27432         unconditional.
27433         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27434         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27435         unconditional.
27436         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27437         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27438         unconditional.
27439         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27440         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27441         unconditional.
27442         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27443
27444 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27445
27446         [BZ #12140]
27447         * manual/memory.texi (Malloc Tunable Parameters): Add note
27448         about free list pointers overwriting some perturb bytes.
27449         Wording suggested by Roland McGrath.
27450
27451 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
27452
27453         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27454         (lgamma_test): Likewise.
27455         (tgamma_test): Likewise.
27456
27457 2012-10-16  Florian Weimer  <fweimer@redhat.com>
27458
27459         [BZ #14700]
27460         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27461         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27462
27463 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
27464
27465         * NEWS: Mention BZ #14716.
27466         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27467         when removing AVAILABLE1_USES_J macro.
27468
27469 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
27470
27471         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27472         (__bswap_64): __uint64_t for unsigned 64-bit int.
27473
27474 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
27475
27476         * include/string.h (memmem): Declare libc hidden alias.
27477         * string/memmem.c (memmem): Define libc hidden alias.
27478         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27479         __read, __close instead of open, read, close.
27480
27481 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
27482
27483         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27484         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27485         global and hidden.
27486         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27487         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27488         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27489         Likewise.
27490         (__rawmemchr_sse2): Likewise.
27491         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27492         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27493         (__strchr_sse2): Likewise.
27494         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27495         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27496         (__strcasecmp_sse2): Likewise.
27497         (__strncasecmp_sse2): Likewise.
27498         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27499         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27500         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27501         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27502         (__strrchr_sse2): Likewise.
27503         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27504         ifunc-impl-list.c.
27505         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27506         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27507         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27508         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27509         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27510         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27511         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27512         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27513         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27514         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27515         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27516         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27517         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27518         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27519         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27520         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27521         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27522         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27523         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27524         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27525         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27526         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27527         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27528         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27529         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27530         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27531         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27532         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27533         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27534         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27535
27536         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27537         global and hidden.
27538         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27539         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27540         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27541         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27542         Likewise.
27543         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27544         Likewise.
27545         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27546         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27547         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27548         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27549         ifunc-impl-list.c.
27550         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27551         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27552         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27553         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27554         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27555         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27556         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27557         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27558         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27559         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27560         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27561         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27562         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27563         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27564         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27565         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27566         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27567         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27568         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27569         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27570         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27571         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27572         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27573         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27574         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27575         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27576         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27577         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27578         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27579         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27580         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27581         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27582         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27583         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27584         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27585         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27586         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27587         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27588         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27589         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27590         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27591
27592         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27593         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27594         * include/ifunc-impl-list.h: New file.
27595         * misc/ifunc-impl-list.c: Likewise.
27596         * misc/Makefile (routines): Add ifunc-impl-list.
27597         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27598         * string/test-string.h: Include <ifunc-impl-list.h>.
27599         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27600         TEST_NAME]: New variables.
27601         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27602         are defined.
27603         (test_init): Call __libc_ifunc_impl_list to initialize
27604         func_list if TEST_IFUNC and TEST_NAME are defined.
27605
27606         * string/Makefile (strop-tests): Add bcopy and bzero.
27607         * string/test-bcopy.c: New file.
27608         * string/test-bzero.c: Likewise.
27609         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27610         defined.
27611         * string/test-memset.c: Support bzero test if TEST_BZERO is
27612         defined.
27613         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27614         __libc_memmove.
27615         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27616         __libc_memset.
27617         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27618         of memset.
27619
27620 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
27621
27622         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27623         * configure: Regenerated.
27624
27625         * Makeconfig (+link-static-before-libc): Don't include
27626         $(link-static-libc).
27627
27628         * libio/libio.h (_IO_pos_t): Remove.
27629
27630 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27631
27632         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
27633         McGrath.
27634
27635 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27636
27637         * crypt/crypt-entry.c: Include fips-private.h.
27638         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27639         * crypt/md5c-test.c (main): Tolerate disabled MD5.
27640         * sysdeps/unix/sysv/linux/fips-private.h: New file.
27641         * sysdeps/generic/fips-private.h: New file, dummy fallback.
27642
27643 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27644
27645         * crypt/crypt-private.h: Include stdbool.h.
27646         (_ufc_setup_salt_r): Return bool.
27647         * crypt/crypt-entry.c: Include errno.h.
27648         (__crypt_r): Return NULL with EINVAL for bad salt.
27649         * crypt/crypt_util.c (bad_for_salt): New.
27650         (_ufc_setup_salt_r): Check that salt is long enough and within
27651         the specified alphabet.
27652         * crypt/badsalttest.c: New file.
27653         * crypt/Makefile (tests): Add it.
27654         ($(objpfx)badsalttest): New.
27655
27656 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
27657
27658         * NEWS: Add entry for BZ #14602.
27659
27660 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27661
27662         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27663         type-generic.
27664         * math/libm-test.inc: Update comment listing what functions and
27665         macros are tested.
27666         (isgreater_test): New function.
27667         (isgreaterequal_test): Likewise.
27668         (isless_test): Likewise.
27669         (islessequal_test): Likewise.
27670         (islessgreater_test): Likewise.
27671         (isunordered_test): Likewise.
27672         (main): Call the new functions.
27673
27674 2012-10-09  Roland McGrath  <roland@hack.frob.com>
27675
27676         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27677         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27678         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27679         * sysdeps/i386/configure: Regenerated.
27680         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27681         * sysdeps/mach/configure: Regenerated.
27682         * sysdeps/mach/hurd/configure: Regenerated.
27683         * sysdeps/powerpc/configure: Regenerated.
27684         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27685         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27686         * sysdeps/s390/s390-32/configure: Regenerated.
27687         * sysdeps/s390/s390-64/configure: Regenerated.
27688         * sysdeps/sh/configure: Regenerated.
27689         * sysdeps/sparc/configure: Regenerated.
27690         * sysdeps/unix/sysv/linux/configure: Regenerated.
27691         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27692         * sysdeps/x86_64/configure: Regenerated.
27693
27694         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27695         defined.  Don't check if MAP is NULL.
27696
27697 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27698
27699         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27700         (_G_stat64): Likewise.
27701         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27702         (_G_stat64): Likewise.
27703         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27704         instead of struct _G_stat64.
27705         * libio/fileops.c (mmap_remap_check): Likewise.
27706         (decide_maybe_mmap): Likewise.
27707         (_IO_new_file_seekoff): Likewise.
27708         (_IO_file_stat): Likewise.
27709         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27710         _G_off64_t.
27711         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27712         instead of struct _G_stat64.
27713         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27714
27715 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
27716
27717         [BZ #14602]
27718         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27719         Replace with ...
27720         (CHECK_EOL): New macro.
27721         (two_way_short_needle): Check beginning of haystack for EOL.  Use
27722         CHECK_EOL.
27723         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27724         Replace with CHECK_EOL.
27725         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27726         Replace with CHECK_EOL.
27727
27728 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
27729
27730         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27731         type-generic.
27732         * math/libm-test.inc: Update comment listing what functions and
27733         macros are tested.
27734         (finite_test): New function.
27735         (isinf_test): Likewise.
27736         (isnan_test): Likewise.
27737         (fpclassify_test): Test subnormal input.
27738         (isfinite_test): Likewise.
27739         (isnormal_test): Likewise.
27740         (main): Call the new functions.
27741
27742 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
27743
27744         [BZ #14660]
27745         * Makerules (%.dynsym): Force C locale when running
27746         $(OBJDUMP) --dynamic-syms.
27747
27748 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
27749
27750         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27751         <stdint.h>.
27752
27753 2012-10-06  David S. Miller  <davem@davemloft.net>
27754
27755         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27756         upper 32-bits of the length value in %o2 since we use branch-on-register
27757         tests which consider the entire 64-bit register.
27758
27759 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
27760
27761         * string/test-strstr.c (check2): Add a test for page boundary.
27762
27763 2012-10-05  David S. Miller  <davem@davemloft.net>
27764
27765         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27766         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27767         file.
27768         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27769         sysdep_routines.
27770         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27771         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27772         and bzero when HWCAP_SPARC_CRYPTO is present.
27773
27774 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
27775
27776         [BZ #14602]
27777         * string/test-strstr.c (check2): New function.
27778         (test_main): Call check2.
27779
27780         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27781         and bug-strchr1.
27782         * string/bug-strcasestr1.c (do_test): Moved to ...
27783         * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
27789         * string/test-strchr.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-strstr1.c (main): Moved to ...
27795         * string/test-strstr.c (check1): Here.  New function.
27796         (do_one_test): Break out result checking code into ...
27797         (check_result): This.  New function.
27798         (do_one_test): Call check_result.
27799         (test_main): Call check1.
27800         * string/bug-strcasestr1.c: Removed.
27801         * string/bug-strchr1.c: Likewise.
27802         * string/bug-strstr1.c: Likewise.
27803
27804         * elf/Makefile (dl-routines): Add hwcaps.
27805         * elf/dl-support.c (_dl_important_hwcaps): Removed.
27806         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27807         (_dl_important_hwcaps): Moved to ...
27808         * elf/dl-hwcaps.c: Here.  New file.
27809         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27810
27811         [BZ #14557]
27812         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27813         if IS_IN_rtld isn't defined.
27814
27815         * elf/dl-support.c (_dl_sysinfo_map): New.
27816         Include "get-dynamic-info.h" and "setup-vdso.h".
27817         (_dl_non_dynamic_init): Call setup_vdso.
27818         * elf/dynamic-link.h: Don't include <assert.h>.
27819         (elf_get_dynamic_info): Moved to ...
27820         * elf/get-dynamic-info.h: Here.  New file.
27821         * elf/dynamic-link.h: Include "get-dynamic-info.h".
27822         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27823         * elf/setup-vdso.h: Here.  New file.
27824         * elf/rtld.c: Include "setup-vdso.h".
27825         (dl_main): Call setup_vdso.
27826
27827 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
27828
27829         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27830         creal in comment listing functions tested.  List finite, isinf,
27831         isnan, isless, islessequal, isgreater, isgreaterequal,
27832         islessgreater, isunordered, lgamma_r and pow10 as functions and
27833         macros not tested.  Mention which functions not tested are aliases
27834         for other functions.  Fix typo.  Note that signs of NaNs are not
27835         tested.
27836
27837         * scripts/config.guess: Update from config.git.
27838         * scripts/config.sub: Likewise.
27839
27840 2012-10-04  Roland McGrath  <roland@hack.frob.com>
27841
27842         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27843         * misc/madvise.c (madvise): Renamed to __madvise.
27844         Make madvise a weak alias.
27845         * include/sys/mman.h: Declare __madvise.
27846         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27847         * sysdeps/unix/syscalls.list
27848         (madvise): Make __madvise the strong name, and madvise a weak alias.
27849         * sysdeps/unix/sysv/linux/syscalls.list
27850         (madvise, mmap): Remove redundant entries.
27851         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27852         * malloc/malloc.c (mtrim): Likewise.
27853         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27854
27855 2012-10-03  Roland McGrath  <roland@hack.frob.com>
27856
27857         * sysdeps/mach/hurd/dl-cache.c: File removed.
27858         * config.h.in (USE_LDCONFIG): New #undef.
27859         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27860         * configure: Regenerated.
27861         * elf/Makefile (dl-routines): Add dl-cache only under
27862         [$(use-ldconfig) = yes].
27863         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27864         cache on [USE_LDCONFIG].
27865         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27866         [USE_LDCONFIG].
27867         * elf/rtld.c (dl_main): Likewise.
27868
27869 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
27870
27871         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27872         _SC_LEVEL4_CACHE_LINESIZE.
27873
27874 2012-10-03  Roland McGrath  <roland@hack.frob.com>
27875
27876         * sysdeps/unix/bsd/confstr.h: File removed.
27877
27878 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
27879
27880         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27881         sys/sdt-config.h.
27882
27883 2012-10-02  Roland McGrath  <roland@hack.frob.com>
27884
27885         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27886         Make 'mapoff' field ElfW(Off) rather than off_t.
27887
27888 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
27889
27890         * nscd/Makefile: Remove nscd-cflags and all its users.
27891         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27892         (CFLAGS-nonlib): Add compiler flags for nscd modules.
27893
27894         [BZ #10631]
27895         * malloc.c (malloc_printerr): Clarify error message.
27896
27897 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
27898
27899         [BZ #14648]
27900         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27901         Set bit_FMA_Usable if FMA is supported.
27902         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27903         macro.
27904         (bit_FMA4_Usable): Updated.
27905         (index_FMA_Usable): New macro.
27906         (CPUID_FMA): Likewise
27907         (HAS_FMA): Defined with bit_FMA_Usable.
27908
27909 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27910
27911         * bits/types.h (__swblk_t): Type removed.
27912         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27913         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27914         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27915         (__SWBLK_T_TYPE): Likewise.
27916         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27917         (__SWBLK_T_TYPE): Likewise.
27918         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27919         (__SWBLK_T_TYPE): Likewise.
27920         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27921         (__SWBLK_T_TYPE): Likewise.
27922
27923 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
27924             Honza Horak <hhorak@redhat.com>
27925
27926         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27927         (xdr_mapname): Use YPMAXMAP as maxsize.
27928         (xdr_peername): Use YPMAXPEER as maxsize.
27929         (xdr_keydat): Use YPAXRECORD as maxsize.
27930         (xdr_valdat): Use YPMAXRECORD as maxsize.
27931
27932 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27933
27934         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27935
27936         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27937         * csu/init-first.c: ... here.
27938         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27939         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27940         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27941         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27942         * sysdeps/i386/init-first.c: File removed.
27943         * sysdeps/sh/init-first.c: File removed.
27944
27945 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
27946
27947         [BZ #14645]
27948         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27949         if x * y might underflow to zero and z is zero.
27950         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27951         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27952         * math/libm-test.inc (min_subnorm_value): New variable.
27953         (fma_test): Add more tests.
27954         (fma_test_towardzero): Likewise.
27955         (fma_test_downward): Likewise
27956         (fma_test_upward): Likewise.
27957         (initialize): Set min_subnorm_value.
27958
27959 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
27960
27961         [BZ #14638]
27962         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27963         0 + 0.
27964         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27965         mode for addition resulting in exact zero.
27966         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27967         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27968         exact 0 + 0.
27969         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27970         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27971         * math/libm-test.inc (fma_test): Add more tests.
27972         (fma_test_towardzero): New function.
27973         (fma_test_downward): Likewise.
27974         (fma_test_upward): Likewise.
27975         (main): Call the new functions.
27976
27977 2012-09-28  David S. Miller  <davem@davemloft.net>
27978
27979         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27980
27981 2012-09-28  Roland McGrath  <roland@hack.frob.com>
27982
27983         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27984         instead of SIGALRM.
27985
27986         * sysdeps/gnu/_G_config.h: Moved to ...
27987         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27988         * sysdeps/mach/hurd/_G_config.h: Moved to ...
27989         * sysdeps/generic/_G_config.h: ... here.
27990
27991         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
27992
27993         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27994
27995         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27996         Conditionalize target on [libnss_test1.so-version].
27997
27998         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27999
28000         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28001         (elfobjdir): Move out of conditionals.
28002
28003         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28004         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28005         (__nss_lookup_function): Conditionalize label remove_from_tree on
28006         [!DO_STATIC_NSS || SHARED], matching its only use.
28007
28008 2012-09-28  David S. Miller  <davem@davemloft.net>
28009
28010         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28011         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28012         file.
28013         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28014         sysdep_routines.
28015         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28016         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28017         when HWCAP_SPARC_CRYPTO is present.
28018
28019 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28020
28021         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28022
28023 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28024
28025         [BZ #6530]
28026         * stdio-common/vfprintf.c (process_string_arg): Revert
28027         2000-07-22 change.
28028
28029 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28030
28031         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28032         for testcase.
28033         * stdio-common/tst-sprintf.c: Include <locale.h>
28034         (main): Test sprintf's handling of incomplete multibyte
28035         characters.
28036
28037 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28038
28039         * elf/dl-runtime.c (VERSYMIDX): Removed.
28040         * elf/dl-version.c (VERSYMIDX): Likewise.
28041         * elf/do-rel.h (VERSYMIDX): Likewise.
28042         (VALIDX): Likewise.
28043         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28044         * elf/rtld.c (VALIDX): Likewise.
28045         (ADDRIDX): Likewise.
28046         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28047         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28048         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28049         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28050         (VALIDX): Likewise.
28051         (ADDRIDX): Likewise.
28052
28053 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28054
28055         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28056
28057 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28058
28059         [BZ #11438]
28060         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28061         to global scope.
28062         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28063         addresses are in the same scope as 192.0.2/24.
28064         * posix/gai.conf: Document new scope table defaults.
28065
28066 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28067
28068         [BZ #5298]
28069         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28070         for ftell.  Compute offsets from write pointers instead.
28071         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28072
28073 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28074
28075         [BZ #14543]
28076         * libio/Makefile (tests): New test case tst-fseek.
28077         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28078         combination works in wide mode.
28079         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28080         state when the external buffer state changes.
28081
28082 2012-09-27  David S. Miller  <davem@davemloft.net>
28083
28084         [BZ #14376]
28085         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28086         pass reloc->r_addend in as the 'high' argument to
28087         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28088
28089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28090
28091 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28092
28093         * rt/tst-aio2.c: Include <pthread.h>.
28094         * rt/tst-aio3.c: Likewise.
28095
28096 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28097
28098         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28099
28100 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28101
28102         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28103         contents on [SHARED].
28104
28105 2012-09-26  Marek Polacek  <polacek@redhat.com>
28106
28107         [BZ #14530]
28108         [BZ #13741]
28109         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28110         for C++ and GCC <4.3 as well as for non GCC compilers.
28111
28112 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28113
28114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28115
28116 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28117
28118         * Makefile.in (all, install): Declare with .PHONY.
28119         Reported by Michael Hope <michael.hope@linaro.org>.
28120
28121 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28122
28123         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28124         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28125         system header.
28126         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28127         Likewise.
28128         (sydep_routines): Add the new and the internal functions.
28129         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28130         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28132         (GLIBC_2.17): Add the new function.
28133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28134         (GLIBC_2.17): Likewise.
28135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28136         (GLIBC_2.17): Likewise.
28137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28138         (GLIBC_2.17): Likewise.
28139         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28140
28141 2012-09-25  Alan Modra  <amodra@gmail.com>
28142
28143         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28144         Add release barrier before setting once_control to say
28145         initialisation is done.  Add hints on lwarx.  Use macro in
28146         place of isync.
28147         (clear_once_control): Add release barrier.
28148
28149 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28150
28151         [BZ #13629]
28152         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28153         specially.
28154         * math/s_clog10.c (__clog10): Likewise.
28155         * math/s_clog10f.c (__clog10f): Likewise.
28156         * math/s_clog10l.c (__clog10l): Likewise.
28157         * math/s_clogf.c (__clogf): Likewise.
28158         * math/s_clogl.c (__clogl): Likewise.
28159         * math/Makefile (libm-calls): Add x2y2m1.
28160         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28161         (__x2y2m1): Likewise.
28162         (__x2y2m1l): Likewise.
28163         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28164         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28165         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28166         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28167         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28168         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28169         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28170         * sysdeps/i386/fpu/libm-test-ulps: Update.
28171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28172
28173         [BZ #14621]
28174         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28175         int as type of variable DEPTH.
28176         (glob): Use size_t instead of int as type of variables NEWCOUNT
28177         and OLD_PATHC.
28178
28179 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28180
28181         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28182         Add s_sincosf-sse2.
28183         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28184         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28185         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28186         macros for using routine as __sincosf_ia32.
28187         Use macro for function declaration and weak_alias.
28188         * sysdeps/i386/fpu/libm-test-ulps: Update.
28189
28190         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28192
28193         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28194         subnormal argument.
28195         * math/s_cexpf.c (__cexpf): Likewise.
28196         * math/s_csinf.c (__csinf): Likewise.
28197         * math/s_csinhf.c (__csinhf): Likewise.
28198         * math/s_ctanf.c (__ctanf): Likewise.
28199         * math/s_ctanhf.c (__ctanhf): Likewise.
28200         * math/s_ccosh.c (__ccoshf): Likewise.
28201         * math/s_cexp.c (__cexpl): Likewise.
28202         * math/s_csin.c (__csin): Likewise.
28203         * math/s_csinh.c (__csinh): Likewise.
28204         * math/s_ctan.c (__ctan): Likewise.
28205         * math/s_ctanh.c (ctanh): Likewise.
28206         * math/s_ccoshl.c (__ccoshl): Likewise.
28207         * math/s_cexpl.c (__cexpl): Likewise.
28208         * math/s_csinl.c (__csinl): Likewise.
28209         * math/s_csinhl.c (__csinhl): Likewise.
28210         * math/s_ctanl.c (__ctanl): Likewise.
28211         * math/s_ctanhl.c (__ctanhl): Likewise.
28212
28213 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28214
28215         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28216         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28217         (_IO_off_t): Define to __off_t, not _G_off_t.
28218         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28219         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28220         (_IO_wint_t): Define to wint_t, not _G_wint_t.
28221         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28222         type of __dummy and __dummy2 fields.
28223         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28224         (_G_ssize_t): Likewise.
28225         (_G_off_t): Likewise.
28226         (_G_pid_t): Likewise.
28227         (_G_uid_t): Likewise.
28228         (_G_wchar_t): Likewise.
28229         (_G_wint_t): Likewise.
28230         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28231         (_G_ssize_t): Likewise.
28232         (_G_off_t): Likewise.
28233         (_G_pid_t): Likewise.
28234         (_G_uid_t): Likewise.
28235         (_G_wchar_t): Likewise.
28236         (_G_wint_t): Likewise.
28237         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28238         (_G_ssize_t): Likewise.
28239         (_G_off_t): Likewise.
28240         (_G_pid_t): Likewise.
28241         (_G_uid_t): Likewise.
28242         (_G_wchar_t): Likewise.
28243         (_G_wint_t): Likewise.
28244
28245 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28246
28247         * malloc/arena.c: Include malloc-sysdep.h.
28248         (shrink_heap): Use check_may_shrink_heap to decide if madvise
28249         is sufficient to shrink the heap or an unmap is needed.
28250         * sysdeps/generic/malloc-sysdep.h: New file.  Define
28251         new function check_may_shrink_heap.
28252         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
28253         new function check_may_shrink_heap.
28254
28255 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28256
28257         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28258         comments.
28259
28260 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
28261
28262         * catgets/test-gencat.sh: Add "set -e".
28263         * elf/tst-pathopt.sh: Likewise.
28264         * grp/tst_fgetgrent.sh: Likewise.
28265         * iconvdata/run-iconv-test.sh: Likewise.
28266         * intl/tst-gettext.sh: Likewise.
28267         * intl/tst-gettext2.sh: Likewise.
28268         * intl/tst-gettext4.sh: Likewise.
28269         * intl/tst-gettext6.sh: Likewise.
28270         * intl/tst-translit.sh: Likewise.
28271         * io/ftwtest-sh: Likewise.
28272         * libio/test-freopen.sh: Likewise.
28273         * malloc/tst-mtrace.sh: Likewise.
28274         * posix/globtest.sh: Likewise.
28275         * posix/tst-getconf.sh: Likewise.
28276         * posix/wordexp-tst.sh: Likewise.
28277         * stdio-common/tst-printf.sh: Likewise.
28278         * stdio-common/tst-unbputc.sh: Likewise.
28279         * stdlib/tst-fmtmsg.sh: Likewise.
28280         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28281         * catgets/Makefile: Do not specify -e option when running
28282         testsuite shell scripts.
28283         * elf/Makefile: Likewise.
28284         * grp/Makefile: Likewise.
28285         * iconvdata/Makefile: Likewise.
28286         * intl/Makefile: Likewise.
28287         * io/Makefile: Likewise.
28288         * libio/Makefile: Likewise.
28289         * malloc/Makefile: Likewise.
28290         * posix/Makefile: Likewise.
28291         * stdio-common/Makefile: Likewise.
28292         * stdlib/Makefile: Likewise.
28293         * sysdeps/x86_64/Makefile: Likewise.
28294
28295         * io/ftwtest-sh: Add copyright header.
28296         * posix/globtest.sh: Likewise.
28297         * posix/tst-getconf.sh: Likewise.
28298         * posix/wordexp-tst.sh: Likewise.
28299         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28300
28301 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
28302
28303         [BZ #13679]
28304         * Makeconfig (+link): Defined as $(+link-static) if
28305         $(build-shared) isn't yes.
28306         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28307         isn't yes.
28308         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28309
28310         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28311
28312         [BZ #14562]
28313         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28314         new chunk size with MALLOC_ALIGN_MASK.
28315
28316 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
28317
28318         [BZ #5044]
28319         * stdio-common/printf_fphex.c: Include <stdbool.h> and
28320         <rounding-mode.h>.
28321         (__printf_fphex): Determine rounding using get_rounding_mode and
28322         round_away.
28323         * stdio-common/tst-printf-round.c (struct hex_test): New
28324         structure.
28325         (hex_tests): New variable.
28326         (test_hex_in_one_mode): New function.
28327         (do_test): Also run tests for hex float output.
28328
28329 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
28330
28331         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28332         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28333         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28334         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28335         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28336         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28337         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28338         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28339
28340 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
28341
28342         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28343         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28344         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28345         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28346
28347 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
28348
28349         [BZ #14579]
28350         * elf/rtld.c (dl_main): Limit the check for self loading to normal
28351         mode only.
28352         * elf/tst-rtld-load-self.sh: New test.
28353         * elf/Makefile: Run it.
28354
28355 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
28356
28357         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28358         (tst-writev-ENV): Remove.
28359         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28360
28361 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
28362
28363         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28364
28365 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
28366
28367         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28368         unconditional.
28369         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28370         Likewise.
28371         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28372         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28373         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28374         Likewise.
28375
28376 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
28377
28378         [BZ #14587]
28379         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28380         * config.make.in (have-cpp-asm-debuginfo): Removed.
28381         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28382         * configure: Regenerated.
28383
28384 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
28385
28386         [BZ #5044]
28387         * stdio-common/printf_fp.c: Include <stdbool.h> and
28388         <rounding-mode.h>.
28389         (___printf_fp): Determine rounding using get_rounding_mode and
28390         round_away.
28391         * stdio-common/tst-printf-round.c: New file.
28392         * stdio-common/Makefile (tests): Add tst-printf-round.
28393         (link-libm): New variable.
28394         ($(objpfx)tst-printf-round): Depend in $(link-libm).
28395
28396 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
28397
28398         [BZ #14576]
28399         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28400         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28401         Likewise.
28402         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28403         Likewise.
28404
28405 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
28406
28407         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28408         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28409         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28410         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28411
28412 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
28413
28414         [BZ #14518]
28415         * include/rounding-mode.h: New file.
28416         * sysdeps/generic/get-rounding-mode.h: Likewise.
28417         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28418         * stdlib/strtod_l.c: Include <rounding-mode.h>.
28419         (MAX_VALUE): New macro.
28420         (MIN_VALUE): Likewise.
28421         (overflow_value): New function.
28422         (underflow_value): Likewise.
28423         (round_and_return): Use overflow_value and underflow_value to
28424         determine return values in overflow and underflow cases.  Use
28425         round_away to determine rounding depending on rounding mode.
28426         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28427         determine return values in overflow and underflow cases.
28428         * stdlib/tst-strtod-round.c: Include <fenv.h>.
28429         (struct test_results): New structure.
28430         (struct test): Use struct test_results to store expected results
28431         for all rounding modes.
28432         (TEST): Include expected results for all rounding modes.
28433         (test_in_one_mode): New function.
28434         (do_test): Use test_in_one_mode to compute and check results.
28435         Check results for all rounding modes.
28436         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28437         $(link-libm).
28438
28439 2012-12-09  Allan McRae  <allan@archlinux.org>
28440
28441         * sysdeps/i386/fpu/libm-test-ulps: Update
28442
28443 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
28444
28445         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28446         (_G_int32_t): Likewise.
28447         (_G_uint16_t): Likewise.
28448         (_G_uint32_t): Likewise.
28449         (_G_HAVE_BOOL): Likewise.
28450         (_G_HAVE_ATEXIT): Likewise.
28451         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28452         (_G_HAVE_IO_FILE_OPEN): Likewise.
28453         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28454         (_G_int32_t): Likewise.
28455         (_G_uint16_t): Likewise.
28456         (_G_uint32_t): Likewise.
28457         (_G_HAVE_BOOL): Likewise.
28458         (_G_HAVE_ATEXIT): Likewise.
28459         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28460         (_G_HAVE_IO_FILE_OPEN): Likewise.
28461         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28462         (_G_int32_t): Likewise.
28463         (_G_uint16_t): Likewise.
28464         (_G_uint32_t): Likewise.
28465         (_G_HAVE_BOOL): Likewise.
28466         (_G_HAVE_ATEXIT): Likewise.
28467         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28468         (_G_HAVE_IO_FILE_OPEN): Likewise.
28469
28470 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
28471
28472         * csu/libc-tls.c: Update copyright years.
28473
28474 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
28475
28476         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28477         [!_G_USING_THUNKS]: Remove conditional code.
28478         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28479         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28480
28481         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28482         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28483         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28484         (_G_VTABLE_LABEL_PREFIX): Likewise.
28485         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28486         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28487         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28488         (_G_VTABLE_LABEL_PREFIX): Likewise.
28489         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28490         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28491         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28492         (_G_VTABLE_LABEL_PREFIX): Likewise.
28493         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28494
28495 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
28496
28497         * libio/Makefile: Include ../Makeconfig before tests.
28498         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28499         only if $(build-shared) is yes.
28500
28501         * iconv/gconv_db.c: Update copyright years.
28502
28503 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28504
28505         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28506         unwind info if defined PIC. Fix special cases description.
28507         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28508
28509         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28510         DP_HI_MASK entry.
28511         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28512
28513 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
28514
28515         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28516
28517         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28518         is NULL.
28519
28520         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28521         (LDLIBS-tst-chk4): This.
28522         (LDFLAGS-tst-chk5): Renamed to ...
28523         (LDLIBS-tst-chk5): This.
28524         (LDFLAGS-tst-chk6): Renamed to ...
28525         (LDLIBS-tst-chk6): This.
28526         (LDFLAGS-tst-lfschk4): Renamed to ...
28527         (LDLIBS-tst-lfschk4): This.
28528         (LDFLAGS-tst-lfschk5): Renamed to ...
28529         (LDLIBS-tst-lfschk5): This.
28530         (LDFLAGS-tst-lfschk6): Renamed to ...
28531         (LDLIBS-tst-lfschk6): This.
28532
28533         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28534         on $(common-objpfx)soversions.mk.
28535
28536 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
28537
28538         [BZ #10014]
28539         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28540         example host name.
28541
28542 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28543
28544         * malloc/arena.c (arena_get_retry): New function that gets
28545         another arena for the caller to try its request on.
28546         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28547         current arena cannot fulfill the request.
28548         (__libc_memalign): Likewise.
28549         (__libc_memalign): Likewise.
28550         (__libc_pvalloc): Likewise.
28551         (__libc_calloc): Likewise.
28552
28553 2012-09-05  John Tobey  <john.tobey@gmail.com>
28554
28555         [BZ #13542]
28556         * manual/arith.texi (Operations on Complex): Fix description
28557         of carg branch cut.
28558
28559 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28560
28561         [BZ #10014]
28562         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28563         host name.
28564
28565         [BZ #10038]
28566         * manual/memory.texi (Memory): Make order of menu items match
28567         order of sections.
28568
28569 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28570
28571         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28572         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
28573         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28574
28575 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28576
28577         * csu/libc-tls.c (static_dtv): Renamed to ...
28578         (_dl_static_dtv): This.  Make it global.
28579         (_dl_initial_dtv): Removed.
28580         (__libc_setup_tls): Updated.
28581         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28582         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28583         DL_INITIAL_DTV.
28584
28585 2012-09-06  Petr Machata  <pmachata@redhat.com>
28586
28587         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28588         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28589         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28590         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28591
28592 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28593
28594         [BZ #14545]
28595         * csu/libc-tls.c (_dl_initial_dtv): New variable.
28596         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28597         freeing dtv[-1].
28598
28599 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28600
28601         [BZ #14544]
28602         * Makeconfig (link-static-before-libc): Replace $(+prector)
28603         with $(+prectorT).
28604         (link-static-after-libc): Replace $(+postctor) with
28605         $(+postctorT).
28606         (link-bounded): Replace $(+prector)/$(+postctor) with
28607         $(+prectorT)/$(+postctorT).
28608         (+prectorT): New macro.
28609         (+postctorT): Likewise.
28610
28611 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28612
28613         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28614         (round_str): Handle values above the maximum for IBM long double
28615         as inexact.
28616         * stdlib/tst-strtod-round.c (tests): Regenerated.
28617
28618 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28619
28620         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28621         assembler flag.
28622         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28623         zarch_nohighgprs around the zarch optimized routines.
28624         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28625         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28626         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28627         for zarch.
28628
28629 2012-09-05  David S. Miller  <davem@davemloft.net>
28630
28631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28632
28633         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28634         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28635         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28636         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28637         entries.
28638
28639 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28640
28641         * malloc/arena.c: Fold copyright years.
28642         * malloc/mcheck.c, malloc/memusage.c: Likewise.
28643
28644 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28645
28646         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28647
28648 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28649
28650         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
28651
28652 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28653
28654         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28655         change internal state upon failure.
28656
28657 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28658
28659         * malloc/mcheck.c (mcheck_check_all): Fix typo.
28660         * malloc/memusage.c (mmap): Likewise.
28661         (mmap64, mremap): Likewise.  Adjust name in comment.
28662
28663 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28664
28665         * libio/fileops.c: Fix typos in comments.
28666         * libio/oldfileops.c: Likewise.
28667         * libio/wfileops.c: Likewise.
28668
28669 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28670
28671         [BZ #1349]
28672         * malloc/Makefile (tests): Add tst-malloc-usable test case.
28673         (tst-malloc-usable-ENV): Set environment for test case.
28674         * malloc/hooks.c (malloc_check_get_size): New function to get
28675         requested size.
28676         * malloc/malloc.c (musable): Use malloc_check_get_size.
28677         * malloc/tst-malloc-usable.c: New test case.
28678
28679 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28680
28681         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28682
28683 2012-09-05  Allan McRae  <allan@archlinux.org>
28684
28685         [BZ #13966]
28686         * configure.in (CXX_SYSINCLUDES): Use compiler output to
28687         determine header location.
28688         * configure: Regenerated.
28689
28690 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28691
28692         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28693         float format.
28694         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28695         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28696         format.
28697         (test): Regenerate.
28698
28699 2012-09-04  David S. Miller  <davem@davemloft.net>
28700
28701         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28702         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28703         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28704
28705 2012-09-04  Florian Weimer  <fweimer@redhat.com>
28706
28707         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28708         failures.
28709
28710         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28711
28712 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
28713
28714         [BZ #9914]
28715         * libio/iogetdelim.c: Include <limits.h>.
28716         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28717         + len + 1 would overflow.
28718
28719 2012-09-03  Andreas Jaeger  <aj@suse.de>
28720
28721         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28722         * sysdeps/i386/fpu/libm-test-ulps: Update.
28723
28724 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28725
28726         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28727         Add s_sinf-sse2, s_conf-sse2.
28728
28729         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28730         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28731         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28732         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28733
28734         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28735         for using routine as __sinf_ia32.
28736         Use macro for function declaration and weak_alias.
28737         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28738         for using routine as __cosf_ia32.
28739         Use macro for function declaration and weak_alias.
28740
28741         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28742         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28743
28744         * sysdeps/x86_64/fpu/s_sinf.S: New file.
28745         * sysdeps/x86_64/fpu/s_cosf.S: New file.
28746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28747
28748         * math/libm-test.inc (cos_test): Add more test cases.
28749         (sin_test): Likewise.
28750         (sincos_test): Likewise.
28751
28752 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28753
28754         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28755         (IFUNC_RESOLVE): Make pointers to the specialized implementations
28756         hidden.
28757         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28758
28759 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
28760
28761         [BZ #14538]
28762         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28763         first element of the GOT.
28764         (elf_machine_load_address): Return the difference between
28765         the runtime address of _DYNAMIC and elf_machine_dynamic ().
28766
28767 2012-09-01  Allan McRae  <allan@archlinux.org>
28768
28769         [BZ #13412]
28770         * configure.in (AWK): Require gawk version 3.0 or later.
28771         * configure: Regenerated.
28772
28773 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
28774
28775         * sysdeps/unix/sysv/linux/kernel-features.h
28776         (__ASSUME_POSIX_CPU_TIMERS): Remove.
28777         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28778         [__NR_clock_getres]: Make code unconditional.
28779         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28780         (clock_getcpuclockid): Remove code left unreachable by removal of
28781         conditionals.
28782         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28783         code unconditional.
28784         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28785         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28786         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28787         Make code unconditional.
28788         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28789         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28790         * sysdeps/unix/sysv/linux/clock_settime.c
28791         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28792         conditional code.
28793         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28794         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28795
28796 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
28797
28798         [BZ #14476]
28799         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28800         scripts/test-installation.pl.
28801
28802         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28803         and $ld_so_version if it is set.
28804
28805 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28806
28807         [BZ #14516]
28808         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28809         failure if reading from procfs failed.
28810         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28811
28812 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
28813
28814         * sysdeps/unix/sysv/linux/kernel-features.h
28815         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28816         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28817         Remove conditional code.
28818         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28819         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28820         Remove conditional code.
28821         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28822         * sysdeps/unix/sysv/linux/i386/fxstat.c
28823         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28824         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28825         * sysdeps/unix/sysv/linux/i386/fxstatat.c
28826         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28827         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28828         * sysdeps/unix/sysv/linux/i386/lxstat.c
28829         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28830         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28831         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28832         Remove conditional code.
28833         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28834         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28835         Remove conditional code.
28836         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28837         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28838         <kernel-features.h>.
28839         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28840         Remove.
28841         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28842         Remove conditional code.
28843         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28844         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28845         Remove conditional.
28846
28847 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
28848
28849         [BZ #5400]
28850         * NEWS: Add fixed bug number.
28851
28852 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
28853
28854         [BZ #14519]
28855         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28856         underflowing exponent in case of negative sign.
28857         * stdlib/tst-strtod-round-data: Add more tests.
28858         * stdlib/tst-strtod-round.c (tests): Regenerated.
28859
28860         [BZ #3479]
28861         * stdlib/strtod_l.c (NDIG): Remove.
28862         (HEXNDIG): Likewise.
28863         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28864         smallest representable value.
28865         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28866         lie within an exact representation of 1/2 ulp of the result.
28867         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28868         unconditionally.
28869         (TENS_P9_IDX): Define unconditionally.
28870         (TENS_P9_SIZE): Likewise.
28871         (TENS_P10_IDX): Likewise.
28872         (TENS_P10_SIZE): Likewise.
28873         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28874         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28875         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28876         entries for 10^2^13 and 10^2^14.
28877         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28878         (TENS_P13_IDX): Define.
28879         (TENS_P13_SIZE): Likewise.
28880         (TENS_P14_IDX): Likewise.
28881         (TENS_P14_SIZE): Likewise.
28882         (_fpioconst_pow10): Change array size to
28883         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
28884         unconditional.
28885         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28886         1024]: Add entries for 10^2^13 and 10^2^14.
28887         [LAST_POW10 > _LAST_POW10]: Remove #error.
28888         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28889         (_fpioconst_pow10): Change array size to
28890         FPIOCONST_POW10_ARRAY_SIZE.
28891         * stdlib/gen-fpioconst.c: New file.
28892         * stdlib/gen-tst-strtod-round.c: Likewise.
28893         * stdlib/tst-strtod-round-data: Likewise.
28894         * stdlib/tst-strtod-round.c: Likewise.
28895         * stdlib/Makefile (tests): Add tst-strtod-round.
28896
28897         [BZ #14459]
28898         * stdlib/strtod_l.c: Include <stdint.h>.
28899         (NDEBUG): Do not define.
28900         (round_and_return): Change EXPONENT parameter to type intmax_t.
28901         Rearrange calculations to avoid internal overflow possibilities.
28902         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28903         Rearrange calculations to avoid internal overflow possibilities.
28904         Assert that number fits inside MPNSIZE limbs.
28905         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28906         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
28907         calculations and add assertions to avoid internal overflow
28908         possibilities.  Add casts to avoid signed/unsigned operations.
28909         * stdlib/tst-strtod-overflow.c: New file.
28910         * stdlib/Makefile (tests): Add tst-strtod-overflow.
28911
28912 2012-08-25  Marek Polacek  <polacek@redhat.com>
28913
28914         * time/time.h: Fix some typos in comments.
28915
28916 2012-08-23  Roland McGrath  <roland@hack.frob.com>
28917
28918         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28919         * posix/tst-rfc3484-2.c: Likewise.
28920         * posix/tst-rfc3484-3.c: Likewise.
28921
28922 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
28923
28924         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28925         (EF_ARM_ABI_FLOAT_HARD): Likewise.
28926
28927 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
28928
28929         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28930         #include of fxstatat64.c.
28931
28932 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28933
28934         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28935         * shadow/getspent_r.c: Likewise.
28936         * shadow/getspnam.c: Likewise.
28937         * shadow/getspnam_r.c: Likewise.
28938         * gshadow/getsgent.c: Likewise.
28939         * gshadow/getsgent_r.c: Likewise.
28940         * gshadow/getsgnam.c: Likewise.
28941         * gshadow/getsgnam_r.c: Likewise.
28942         * inet/getnetbyad.c: Likewise.
28943         * inet/getnetbyad_r.c: Likewise.
28944         * inet/getnetbynm.c: Likewise.
28945         * inet/getnetbynm_r.c: Likewise.
28946         * inet/getnetent.c: Likewise.
28947         * inet/getnetent_r.c: Likewise.
28948         * inet/getproto.c: Likewise.
28949         * inet/getproto_r.c: Likewise.
28950         * inet/getprtent.c: Likewise.
28951         * inet/getprtent_r.c: Likewise.
28952         * inet/getprtname.c: Likewise.
28953         * inet/getprtname_r.c: Likewise.
28954         * inet/getrpcbyname.c: Likewise.
28955         * inet/getrpcbyname_r.c: Likewise.
28956         * inet/getrpcbynumber.c: Likewise.
28957         * inet/getrpcbynumber_r.c: Likewise.
28958         * inet/getrpcent.c: Likewise.
28959         * inet/getrpcent_r.c: Likewise.
28960         * inet/getaliasent.c: Likewise.
28961         * inet/getaliasent_r.c: Likewise.
28962         * inet/getaliasname.c: Likewise.
28963         * inet/getaliasname_r.c: Likewise.
28964         * nscd/getgrgid_r.c: Likewise.
28965         * nscd/getgrnam_r.c: Likewise.
28966         * nscd/gethstbyad_r.c: Likewise.
28967         * nscd/gethstbynm3_r.c: Likewise.
28968         * nscd/getpwnam_r.c: Likewise.
28969         * nscd/getpwuid_r.c: Likewise.
28970         * nscd/getsrvbynm_r.c: Likewise.
28971         * nscd/getsrvbypt_r.c: Likewise.
28972         * nscd/gai.c: Likewise.
28973
28974         * configure.in (build_nscd): New substituted variable, set
28975         by --disable-build-nscd and defaults to $use_nscd.
28976         * configure: Regenerated.
28977         * config.make.in (build-nscd): New substituted variable.
28978         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28979         Change conditional to require [$(build-nscd) = yes] as well.
28980         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28981
28982         [BZ# 13696]
28983         * configure.in (use_nscd): New substituted variable, set by
28984         --disable-nscd.  If enabled, define USE_NSCD.
28985         * configure: Regenerated.
28986         * config.h.in: Add USE_NSCD.
28987         * config.make.in (use-nscd): New substituted variable.
28988         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28989         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28990         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28991         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28992         (CFLAGS-getgrnam_r.c): Likewise.
28993         (CFLAGS-initgroups.c): Likewise.
28994         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28995         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28996         Variables removed.
28997         * inet/getnetgrent_r.c
28998         (nscd_setnetgrent): New function, broken out of ...
28999         (setnetgrent): ... here.  Call it.
29000         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29001         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29002         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29003         * nscd/Makefile (routines, aux): Move definitions after include of
29004         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29005         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29006         Conditionalize on [USE_NSCD].
29007         (is_nscd, nscd_init_cb): Likewise.
29008         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29009         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29010         * nss/nss_db/db-init.c: Likewise.
29011         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29012         [USE_NSCD].
29013         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29014         (make_request): Use it.
29015         (cache_valid_p): New function.
29016         (__check_pf): Use it.
29017         * NEWS: Add item for --disable-nscd.
29018
29019 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29020
29021         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29022         to support sed >= 4.2.1-20-ga9bf076.
29023         * configure: Regenerated.
29024
29025 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29026
29027         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29028         Conditionalize whole body on [IREL].
29029
29030 2012-08-22  Jeff Law <law@redhat.com>
29031
29032         [BZ #14505]
29033         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29034         if the family is PF_UNSPEC.
29035
29036 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29037
29038         * Makerules (lib-version): Rename from V.
29039         (install-lib-nosubdir): Change V to lib-version.
29040
29041 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29042
29043         [BZ #14252]
29044         * powerpc32/power6/wcschr.c: New file.
29045         * powerpc32/power6/wcscpy.c: New file.
29046         * powerpc32/power6/wcsrchr.c: New file.
29047         * powerpc64/power6/wcschr.c: New file.
29048         * powerpc64/power6/wcscpy.c: New file.
29049         * powerpc64/power6/wcsrchr.c: New file.
29050
29051 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29052
29053         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29054         (two_way_short_needle): Use it.
29055         * string/strstr.c (AVAILABLE1_USES_J): Define.
29056         * string/strcasestr.c: Likewise.
29057
29058         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29059         array references.
29060         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29061
29062         [BZ #11607]
29063         * NEWS: Add an entry.
29064         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29065         define their defaults.
29066         (two_way_short_needle): Detect end-of-string on-the-fly.
29067         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29068         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29069         * string/bug-strcasestr1.c: New test.
29070         * string/Makefile: Run it.
29071
29072 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29073
29074         [BZ #11607]
29075         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29076         the first character.
29077
29078 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29079
29080         * csu/elf-init.c (__libc_csu_irel): Function removed.
29081         * csu/libc-start.c (apply_irel): New function.
29082         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29083
29084 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29085
29086         * sysdeps/unix/sysv/linux/kernel-features.h
29087         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29088         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29089         <kernel-features.h>.
29090         [__NR_fadvise64_64]: Make code unconditional.
29091         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29092         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29093         !__NR_fadvise64_64)]: Likewise.
29094         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29095         !__NR_fadvise64_64))]: Likewise.
29096         [__NR_fadvise64]: Make code unconditional.
29097         [!__NR_fadvise64]: Remove conditional code.
29098         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29099         <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/powerpc/powerpc32/posix_fadvise64.c: Do
29105         not 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.
29110         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29111         include <kernel-features.h>.
29112         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29113         unconditional.
29114         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29115         conditional code.
29116
29117 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29118
29119         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29120         slight instruction rearrangements per scrollpipe analysis.
29121         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29122
29123 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29124
29125         * manual/syslog.texi (syslog; vsyslog, closelog):
29126         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29127         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29128
29129         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29130         DSOCAPS to match condition on defining it.
29131
29132 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29133
29134         * sysdeps/unix/sysv/linux/kernel-features.h
29135         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29137         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29138         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29140         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29141         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29143         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29144         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29145
29146         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29147         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29148
29149         * sysdeps/unix/sysv/linux/kernel-features.h
29150         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29151         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29152         unconditional.
29153         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29154         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29155         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29156         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29157         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29158         Make code unconditional.
29159         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29160         (__mmap64) [!__NR_mmap2]: Likewise.
29161         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29162         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29163         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29164         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29165         [__NR_mmap2]: Make code unconditional.
29166         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29167         (__mmap64) [!__NR_mmap2]: Likewise.
29168
29169 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29170
29171         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29172
29173 2012-08-18  Andreas Jaeger  <aj@suse.de>
29174
29175         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29176
29177 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29178
29179         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29180         * include/unistd.h (__have_sock_cloexec): Likewise.
29181         (__have_pipe2): Likewise.
29182         (__have_dup3): Likewise.
29183
29184 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29185
29186         [BZ #9685]
29187         * include/unistd.h (__have_pipe2): Change define into an extern int.
29188         (__have_dup3): Likewise.
29189         * socket/have_sock_cloexec.c: Include fcntl.h.
29190         (__have_pipe2): New variable.
29191         (__have_dup3): Likewise.
29192
29193 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29194
29195         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29196
29197 2012-08-17  Marek Polacek  <polacek@redhat.com>
29198
29199         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29200         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29201
29202 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29203
29204         * configure.in: Add AC_SUBST for sysheaders.
29205         * configure: Regenerated.
29206         * config.make.in (sysheaders): New substituted variable.
29207
29208         * sysdeps/unix/mkfifo.c: Moved ...
29209         * sysdeps/posix/mkfifo.c: ... here.
29210         * sysdeps/unix/mkfifoat.c: Moved ...
29211         * sysdeps/posix/mkfifoat.c: ... here.
29212
29213         * sysdeps/unix/utime.c: Moved ...
29214         * sysdeps/posix/utime.c: ... here.
29215
29216         * sysdeps/unix/time.c: Moved ...
29217         * sysdeps/posix/time.c: ... here.
29218         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29219         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29220
29221         * sysdeps/unix/nice.c: Moved ...
29222         * sysdeps/posix/nice.c: ... here.
29223
29224         * sysdeps/unix/alarm.c: Moved ...
29225         * sysdeps/posix/alarm.c: ... here.
29226
29227         * intl/Makefile ($(codeset_mo)): Depend on the input file.
29228
29229 2012-08-17  Jeff Law <law@redhat.com>
29230
29231         * intl/Makefile (codeset_mo): New variable.
29232         ($(codeset_mo)): New target.
29233         (tst-codeset.out): Depend on that.  Remove explicit rule.
29234         (tst-gettext3.out, tst-gettext5.out): Likewise.
29235         (LOCPATH-ENV, tst-codeset-ENV): New variables.
29236         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29237         * intl/tst-codeset.sh: Remove.
29238         * intl/tst-gettext3.sh: Likewise.
29239         * intl/tst-gettext5.sh: Likewise.
29240
29241 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29242
29243         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
29244         * sysdeps/unix/syscalls.list: ... here.
29245
29246         * sysdeps/posix/getaddrinfo.c
29247         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29248         (gaiconf_init, gaiconf_reload): Use them.
29249         [!_STATBUF_ST_NSEC]
29250         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29251         Define using time_t rather than struct timespec.
29252
29253         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29254         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29255         Macros removed.
29256         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29257         [!NO_THREADS].
29258         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29259         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29260         Likewise.
29261
29262         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29263         __libc_cleanup_push argument.
29264
29265         * bits/param.h: New file.
29266         * misc/sys/param.h: New file.
29267         * include/sys/param.h: New file.
29268         * misc/Makefile (headers): Add bits/param.h.
29269         * sysdeps/generic/sys/param.h: File removed.
29270         * sysdeps/unix/sysv/linux/bits/param.h: New file.
29271         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29272         * sysdeps/mach/hurd/bits/param.h: New file.
29273         * sysdeps/mach/hurd/sys/param.h: File removed.
29274
29275         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29276         last change.
29277
29278         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29279         [_IO_MTSAFE_IO].
29280         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29281         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29282         New macros.
29283
29284         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29285         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29286         rather than -D_IO_MTSAFE_IO conditionally.
29287         * stdio-common/Makefile (CPPFLAGS): Likewise.
29288         * wcsmbs/Makefile (CPPFLAGS): Likewise.
29289         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29290         Use $(libio-mtsafe).
29291         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29292         of -D_IO_MTSAFE_IO.
29293         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29294         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29295         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29296         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29297         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29298         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29299         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29300         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29301         (CFLAGS-fread_u_chk.c): Likewise.
29302         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29303         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29304         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29305         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29306         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29307         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29308         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29309         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29310         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29311
29312         * libio/Makefile: Test [$(libc-reentrant) = yes]
29313         instead of [$(filter %REENTRANT, $(defines)) nonempty].
29314
29315         * Makeconfig
29316         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29317         * sysdeps/pthread/configure: File removed.
29318         * sysdeps/pthread/Makeconfig: New file.
29319         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29320         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29321
29322 2012-08-16  Gary Benson  <gbenson@redhat.com>
29323
29324         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29325         unmapping the first object in a namespace.
29326
29327 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29328
29329         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29330         (__internal_setnetgrent): ... this.  Add internal_function to
29331         definition.  Add libc_hidden_def.
29332         (setnetgrent): Update caller.
29333         (internal_endnetgrent): Renamed to ...
29334         (__internal_endnetgrent): ... this.  Add internal_function to
29335         definition.  Add libc_hidden_def.
29336         (endnetgrent): Update caller.
29337         (internal_getnetgrent_r): Renamed to ...
29338         (__internal_getnetgrent_r): ... this.  Add internal_function to
29339         definition.  Add libc_hidden_def.
29340         (__getnetgrent_r): Update caller.
29341         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
29342
29343 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29344
29345         * stdlib/longlong.h: Update from GCC.
29346
29347 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29348
29349         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29350         on _QL, which is set by umul_ppmm but never used.
29351         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29352         variables, which are set by GMP macros but never used.
29353         * stdio-common/_itowa.c (_itowa): Likewise.
29354         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29355         * stdlib/mod_1.c (mpn_mod_1): Likewise.
29356
29357 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
29358
29359         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29360         struct La_sh_regs is not constant.
29361         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29362         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29363         and struct La_sparc64_regs are not constant.
29364
29365 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29366
29367         * sysdeps/unix/sysv/linux/kernel-features.h
29368         (__ASSUME_POSIX_TIMERS): Remove.
29369         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29370         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29371         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29372         Make code unconditional.
29373         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29374         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29375         Make code unconditional.
29376         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29377         * sysdeps/unix/sysv/linux/clock_nanosleep.c
29378         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29379         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29380         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29381         Make code unconditional.
29382         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29383         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29384         (__libc_missing_posix_timers): Remove.
29385
29386 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29387
29388         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29389         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29390
29391         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29392
29393         * elf/dl-sym.c: Include <stdlib.h>.
29394
29395         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29396         constants, which avoids warnings in 32-bit builds.
29397
29398         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29399         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29400
29401         * misc/lseek.c: File moved to ...
29402         * io/lseek.c: ... here.
29403
29404         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29405
29406         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29407         shifting LEN more than 31 bits at once.
29408
29409 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29410
29411         [BZ #14195]
29412         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29413         segmentation fault for a case of two empty input strings.
29414         * string/test-strncasecmp.c (check1): Renamed to...
29415         (bz12205): ...this.
29416         (bz14195): Add new testcase for two empty input strings and N > 0.
29417         (test_main): Call new testcase, adapt for renamed function.
29418
29419 2012-08-15  Andreas Jaeger  <aj@suse.de>
29420
29421         [BZ #14090]
29422         * crypt/md5test2.c: New test, based on test supplied by Serge
29423         Belyshev <belyshev@depni.sinp.msu.ru>.
29424         * crypt/Makefile (xtests): Add md5test-giant..
29425         * crypt/Makefile ($(objpfx)md5test-giant): Add.
29426
29427 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
29428
29429         [BZ #14090]
29430         * crypt/md5.c (md5_process_block): Don't assume the buffer
29431         length is less than 2**32.
29432         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29433         length is less than 2**64.
29434
29435 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29436
29437         * string/str-two-way.h: Include <sys/param.h>.
29438         (MAX): Macro removed.
29439
29440         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29441         Move #define and #undef of memmove to just before and after
29442         including <string.h>.
29443
29444         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29445         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29446         and after including <string.h>.  Move declarations of
29447         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29448         to before #include "string/memmove.c".
29449
29450         * include/dirent.h: Declare __getdirentries.
29451
29452         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29453         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29454
29455 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
29456
29457         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29458         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29459         * sysdeps/i386/configure: Regenerated.
29460         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29461         STABS_CURRENT_FILE, and STABS_FUN.
29462         (END): Remove call to STABS_FUN_END.
29463         (STABS_CURRENT_FILE1): Delete.
29464         (STABS_CURRENT_FILE): Likewise.
29465         (STABS_FUN): Likewise.
29466         (STABS_FUN_END): Likewise.
29467         (STABS_FUN2): Likewise.
29468         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29469         * sysdeps/x86_64/configure: Regenerated.
29470
29471 2012-08-14  Roland McGrath  <roland@hack.frob.com>
29472
29473         * elf/dl-open.c: Include <atomic.h>.
29474         * elf/dl-lookup.c: Likewise.
29475
29476 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
29477
29478         * sysdeps/unix/sysv/linux/kernel-features.h
29479         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29480         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29481         unconditionally.
29482         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29483         unconditionally.
29484         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29485         condition on __ASSUME_CLONE_THREAD_FLAGS.
29486
29487 2012-08-14  Andreas Jaeger  <aj@suse.de>
29488
29489         * sysdeps/i386/fpu/libm-test-ulps: Update.
29490
29491 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
29492
29493         * include/atomic.h (atomic_exchange_and_add): Split into ...
29494         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29495         New atomic macros.
29496
29497 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
29498
29499         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29500
29501 2012-08-13  Jeff Law <law@redhat.com>
29502
29503         * manual/stdio.texi (snprintf): Clarify handling of the trailing
29504         null byte in the output string.
29505
29506 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
29507
29508         * sysdeps/unix/sysv/linux/kernel-features.h
29509         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29510         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29511         (__ASSUME_ARG_MAX_STACK_BASED): Define.
29512         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29513         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29514         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
29515         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29516
29517 2012-08-09  Jeff Law <law@redhat.com>
29518
29519         [BZ #13939]
29520         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29521         When avoid_arena is set, don't retry in the that arena.  Pick the
29522         next one, whatever it might be.
29523         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29524         (arena_lock): Pass in new parameter to arena_get2.
29525         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29526         arena_get2.
29527         (__libc_malloc): Unify retrying after main arena failure with
29528         __libc_memalign version.
29529         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29530
29531 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29532
29533         [BZ #14166]
29534         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29535         to __redirect_strstr.
29536         (__strstr_sse42): Use typeof __redirect_strstr.
29537         (__strstr_ia32): Likewise.
29538         (__libc_strstr): New prototype.
29539         (strstr): Renamed to ...
29540         (__libc_strstr): This.
29541         (strstr): New strong alias of __libc_strstr.
29542         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29543         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29544         __redirect_time.
29545         Include <time.h>.
29546         (__libc_time): New prototype.
29547         (time_ifunc): Replace time with __libc_time.
29548         (time): New strong alias and hidden definition of __libc_time.
29549         (__GI_time): Remove strong alias.
29550         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29551         Include <stddef.h>.
29552         (memmove): Redefined to __redirect_memmove.
29553         (__memmove_sse2): Use typeof __redirect_memmove.
29554         (__memmove_ssse3): Likewise.
29555         (__memmove_ssse3_back): Likewise.
29556         (__libc_memmove): New prototype.
29557         (memmove): Renamed to ...
29558         (__libc_memmove): This.
29559         (memmove): New strong alias of __libc_memmove.
29560
29561 2012-08-08  Mark Salter  <msalter@redhat.com>
29562
29563         * elf/elf.h
29564         (R_MN10300_TLS_GD): Define.
29565         (R_MN10300_TLS_LD): Likewise.
29566         (R_MN10300_TLS_LDO): Likewise.
29567         (R_MN10300_TLS_GOTIE): Likewise.
29568         (R_MN10300_TLS_IE): Likewise.
29569         (R_MN10300_TLS_LE): Likewise.
29570         (R_MN10300_TLS_DTPMOD): Likewise.
29571         (R_MN10300_TLS_DTPOFF): Likewise.
29572         (R_MN10300_TLS_TPOFF): Likewise.
29573         (R_MN10300_SYM_DIFF): Likewise.
29574         (R_MN10300_ALIGN): Likewise.
29575         (R_MN10300_NUM): Update.
29576
29577 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
29578
29579         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29580         Remove.
29581
29582 2012-08-08  Roland McGrath  <roland@hack.frob.com>
29583
29584         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29585
29586         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29587         sysdeps/unix -> sysdeps/posix move.
29588         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29589
29590 2012-08-07      Allan McRae     <allan@archlinux.org>
29591
29592         [BZ #14303]
29593         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29594         (SUNOS_CPP): Likewise.
29595         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29596         not found.
29597         (open_input): Call CPP using execvp.
29598
29599 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29600
29601         * sysdeps/unix/sysv/linux/kernel-features.h
29602         (__ASSUME_PROT_GROWSUPDOWN): Remove.
29603         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29604         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29605         (__ASSUME_WAITID_SYSCALL): Likewise.
29606         * sysdeps/unix/sysv/linux/dl-execstack.c
29607         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29608         code unconditional.
29609         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29610         conditional code.
29611         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29612         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29613         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29614         code.
29615         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29616         unconditional.
29617         [__ASSUME_WAITID_SYSCALL]: Likewise.
29618         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29619
29620 2012-08-07  Roland McGrath  <roland@hack.frob.com>
29621
29622         * sysdeps/unix/closedir.c: Renamed to ...
29623         * sysdeps/posix/closedir.c: ... here.
29624         * sysdeps/unix/dirfd.c: Renamed to ...
29625         * sysdeps/posix/dirfd.c: ... here.
29626         * sysdeps/unix/dirstream.h: Renamed to ...
29627         * sysdeps/posix/dirstream.h: ... here.
29628         * sysdeps/unix/fdopendir.c: Renamed to ...
29629         * sysdeps/posix/fdopendir.c: ... here.
29630         * sysdeps/unix/opendir.c: Renamed to ...
29631         * sysdeps/posix/opendir.c: ... here.
29632         * sysdeps/unix/readdir.c: Renamed to ...
29633         * sysdeps/posix/readdir.c: ... here.
29634         * sysdeps/unix/readdir_r.c: Renamed to ...
29635         * sysdeps/posix/readdir_r.c: ... here.
29636         * sysdeps/unix/rewinddir.c: Renamed to ...
29637         * sysdeps/posix/rewinddir.c: ... here.
29638         * sysdeps/unix/seekdir.c: Renamed to ...
29639         * sysdeps/posix/seekdir.c: ... here.
29640         * sysdeps/unix/telldir.c: Renamed to ...
29641         * sysdeps/posix/telldir.c: ... here.
29642         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29643         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29644         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29645         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29646
29647         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29648         * bits/fcntl.h: ... here.
29649
29650         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29651         not 0.
29652         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29653         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29654         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29655         (struct flock): Move l_start, l_len to the beginning.
29656         Use __pid_t for l_pid.
29657         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29658         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29659         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29660         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29661         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29662         [__USE_LARGEFILE64] (struct flock64): New type.
29663         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29664
29665         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29666         * bits/dirent.h: ... here.
29667
29668         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29669         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29670
29671 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29672
29673         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29674         Change from 2.6.0 to 2.6.16.
29675         * sysdeps/unix/sysv/linux/configure: Regenerated.
29676         * sysdeps/unix/sysv/linux/kernel-features.h
29677         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29678         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29679         version.
29680         (__ASSUME_UTIMES): Likewise.
29681         (__ASSUME_CLONE_STOPPED): Remove.
29682         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29683         architectures, not kernel version.
29684         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29685         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29686         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29687         (__ASSUME_WAITID_SYSCALL): Likewise.
29688         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29689         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29690         * README: State 2.6.16 as minimum Linux kernel version.  Do not
29691         refer to older versions.
29692
29693 2012-08-06  Roland McGrath  <roland@hack.frob.com>
29694
29695         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29696         Define alphasort64 as an alias.
29697         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29698         Define versionsort64 as an alias.
29699         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29700         Define scandir64 as an alias.
29701         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29702         Define scandirat64 as an alias.
29703         * dirent/alphasort64.c (alphasort64):
29704         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29705         * dirent/versionsort64.c: Likewise.
29706         * dirent/scandir64.c: Likewise.
29707         * dirent/scandirat64.c: Likewise.
29708         * sysdeps/wordsize-64/alphasort.c: File removed.
29709         * sysdeps/wordsize-64/alphasort64.c: File removed.
29710         * sysdeps/wordsize-64/scandir.c: File removed.
29711         * sysdeps/wordsize-64/scandir64.c: File removed.
29712         * sysdeps/wordsize-64/scandirat.c: File removed.
29713         * sysdeps/wordsize-64/scandirat64.c: File removed.
29714         * sysdeps/wordsize-64/versionsort.c: File removed.
29715         * sysdeps/wordsize-64/versionsort64.c: File removed.
29716         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29717         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29718         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29719         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29720         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29721         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29722         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29723         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29724
29725         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29726         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29727         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29728         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29729         [defined __arch64__ || defined __sparcv9]
29730         (__INO_T_MATCHES_INO64_T): New macro.
29731         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29732         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29733         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29734         * sysdeps/unix/sysv/linux/bits/dirent.h
29735         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29736         (_DIRENT_MATCHES_DIRENT64): New macro.
29737
29738         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29739         Define lockf64 as an alias.
29740         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29741         Define fseeko64 as an alias.
29742         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29743         Define ftello64 as an alias.
29744         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29745         Define _IO_fgetpos64 and fgetpos64 as aliases.
29746         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29747         Define _IO_fsetpos64 and fsetpos64 as aliases.
29748         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29749         Conditionalize body on this.
29750         * libio/fseeko64.c: Likewise.
29751         * libio/ftello64.c: Likewise.
29752         * libio/iofgetpos64.c: Likewise.
29753         * libio/iofsetpos64.c: Likewise.
29754         * sysdeps/wordsize-64/lockf.c: File removed.
29755         * sysdeps/wordsize-64/lockf64.c: File removed.
29756         * sysdeps/wordsize-64/fseeko.c: File removed.
29757         * sysdeps/wordsize-64/fseeko64.c: File removed.
29758         * sysdeps/wordsize-64/ftello.c: File removed.
29759         * sysdeps/wordsize-64/ftello64.c: File removed.
29760         * sysdeps/wordsize-64/iofgetpos.c: File removed.
29761         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29762         * sysdeps/wordsize-64/iofsetpos.c: File removed.
29763         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29764         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29765         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29766         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29767         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29768         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29769         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29770         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29771         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29772         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29773         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29774
29775         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29776         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29777         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29778         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29779         [defined __arch64__ || defined __sparcv9]
29780         (__OFF_T_MATCHES_OFF64_T): New macro.
29781         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29782         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29783         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29784         (__OFF_T_MATCHES_OFF64_T): New macro.
29785
29786 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
29787
29788         * stdlib/secure-getenv.c (__secure_getenv): Replace
29789         GLIBC_2_16 with GLIBC_2_17.
29790
29791 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
29792
29793         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29794         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29795
29796 2012-08-03  David S. Miller  <davem@davemloft.net>
29797
29798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29799
29800 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
29801
29802         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29803         Remove.
29804         (__ASSUME_CORRECT_SI_PID): Likewise.
29805         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29806         (__ASSUME_TMPFS_NAME): Likewise.
29807         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29808         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29809         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29810         (HAVE_AUX_SECURE): Make definition unconditional.
29811         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29812         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29813
29814 2012-08-03  Roland McGrath  <roland@hack.frob.com>
29815
29816         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29817         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29818         * sysdeps/mach/hurd/eloop-threshold.h: New file.
29819         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29820         __eloop_threshold instead of SYMLOOP_MAX.
29821
29822         * sysdeps/generic/eloop-threshold.h: New file.
29823         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29824         of MAXSYMLINKS.
29825         * elf/chroot_canon.c (chroot_canon): Likewise.
29826
29827 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
29828
29829         [BZ #13717]
29830         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29831         Change to 2.6.0 everywhere.
29832         * sysdeps/unix/sysv/linux/configure: Regenerated.
29833         * sysdeps/unix/sysv/linux/kernel-features.h
29834         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29835         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29836         kernel versions.
29837         (__ASSUME_POSIX_TIMERS): Define unconditionally.
29838         (__ASSUME_FUTEX_REQUEUE): Remove.
29839         (__ASSUME_STATFS64): Define unconditionally.
29840         (__ASSUME_AT_SECURE): Likewise.
29841         (__ASSUME_CORRECT_SI_PID): Likewise.
29842         (__ASSUME_TGKILL): Define without depending on kernel version for
29843         i386.
29844         (__ASSUME_UTIMES): Likewise.
29845         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29846         kernel version.
29847         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29848         (__ASSUME_TMPFS_NAME): Likewise.
29849         * README: Update reference to Linux kernel versions.
29850
29851 2012-08-02  Marek Polacek  <polacek@redhat.com>
29852
29853         [BZ# 14150]
29854         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
29855         libc_cv_asm_type_prefix with %.
29856         * configure: Regenerated.
29857         * include/libc-symbols.h: Remove comment about
29858         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29859         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29860         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29861         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29862         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29863         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29864         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29865         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29866         * elf/tst-unique2mod1.c: Likewise.
29867         * elf/tst-unique1mod2.c: Likewise.
29868         * elf/tst-unique1mod1.c: Likewise.
29869         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29870         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29871         Replace ASM_TYPE_DIRECTIVE with .type.
29872         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29873         * sysdeps/i386/sysdep.h: Likewise.
29874         * sysdeps/x86_64/sysdep.h: Likewise.
29875         * sysdeps/sh/sysdep.h: Likewise.
29876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29877         Do not define ASM_TYPE_DIRECTIVE.
29878         * sysdeps/powerpc/sysdep.h: Likewise.
29879         * sysdeps/powerpc/powerpc32/sysdep.h:
29880         Replace ASM_TYPE_DIRECTIVE with .type.
29881         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29882         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29883         * sysdeps/i386/fpu/e_powf.S: Likewise.
29884         * sysdeps/i386/fpu/e_expl.S: Likewise.
29885         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29886         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29887         * sysdeps/i386/fpu/e_pow.S: Likewise.
29888         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29889         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29890         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29891         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29892         * sysdeps/i386/fpu/e_log2.S: Likewise.
29893         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29894         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29895         * sysdeps/i386/fpu/e_powl.S: Likewise.
29896         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29897         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29898         * sysdeps/i386/fpu/e_logl.S: Likewise.
29899         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29900         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29901         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29902         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29903         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29904         * sysdeps/i386/fpu/e_log.S: Likewise.
29905         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29906         * sysdeps/i386/fpu/e_logf.S: Likewise.
29907         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29908         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29909         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29910         * sysdeps/i386/fpu/e_log10.S: Likewise.
29911         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29912         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29913         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29914         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29915         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29916         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29917         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29918         * sysdeps/i386/i686/strtok.S: Likewise.
29919         * sysdeps/i386/i386-mcount.S: Likewise.
29920         * sysdeps/i386/strtok.S: Likewise.
29921         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29922         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29923         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29924         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29925         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29926         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29927         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29928         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29929         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29930         * sysdeps/x86_64/_mcount.S: Likewise.
29931         * sysdeps/x86_64/strtok.S: Likewise.
29932         * sysdeps/sh/_mcount.S: Likewise.
29933
29934 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29935
29936         * libio/iofopen.c: Include <fcntl.h>.
29937         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29938         (_IO_fopen64, fopen64): Define as aliases.
29939         * libio/iofopen64.c: Include <fcntl.h>.
29940         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29941         Conditionalize body on this.
29942         * sysdeps/wordsize-64/iofopen.c: File removed.
29943         * sysdeps/wordsize-64/iofopen64.c: File removed.
29944
29945 2012-08-01  Marek Polacek  <polacek@redhat.com>
29946
29947         * libc/Makeconfig: Use elf in place of binfmt-subdir.
29948         Use dlfcn directly instead of a variable.
29949         (binfmt-subdir): Do not define.
29950         (dlfcn): Likewise.
29951
29952 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
29953
29954         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29955         Remove all definitions.
29956         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29957         <kernel-features.h>.
29958         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29959         (miss_F_GETOWN_EX): Remove all definitions.
29960         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29961         macro definition.
29962         [!__ASSUME_FCNTL64]: Remove conditional code.
29963         [__ASSUME_FCNTL64]: Make code unconditional.
29964         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29965         <kernel-features.h>.
29966         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29967         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29968         (lockf64) [__NR_fcntl64]: Make code unconditional.
29969         (lockf64) [__ASSUME_FCNTL64]: Likewise.
29970
29971         * sysdeps/unix/sysv/linux/kernel-features.h
29972         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29973         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29974         Make code unconditional.
29975         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29976         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29978         [__NR_vfork]: Make code unconditional.
29979         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29980         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29982         [__NR_vfork]: Make code unconditional.
29983         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29984         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29985
29986 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29987
29988         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29989         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29990
29991         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29992         Define mkstemp64 as an alias.
29993         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29994         Define mkstemps64 as an alias.
29995         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29996         Define mkostemp64 as an alias.
29997         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29998         Define mkostemps64 as an alias.
29999         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30000         Conditionalize body on this.
30001         * misc/mkostemp64.c: Likewise.
30002         * misc/mkostemps64.c: Likewise.
30003         * misc/mkstemps64.c: Likewise.
30004         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30005         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30006         * sysdeps/wordsize-64/mkostemp.c: File removed.
30007         * sysdeps/wordsize-64/mkstemp.c: File removed.
30008         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30009         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30010         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30011         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30012
30013         [BZ #14138]
30014         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30015         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30016         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30017         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30018
30019         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30020         compat_symbol macros from <shlib-compat.h> rather than the underlying
30021         default_symbol_version and symbol_version macros, so that DEFAULT
30022         lines in shlib-versions are respected.
30023         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30024
30025 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30026
30027         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30028         Declare with warn_unused_result.
30029         (setgid, setregid, setegid, setresgid): Likewise.
30030         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30031         Likewise.
30032         * WUR-REPORT: Remove set*id functions.
30033
30034 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30035
30036         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30037
30038 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30039
30040         [BZ #10191]
30041         * include/sys/socket.h (__libc_accept, __libc_accept4):
30042         Add attribute_hidden.
30043         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30044
30045         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30046         use of PTR_MANGLE.
30047         * inet/getnetgrent_r.c (setup): Likewise.
30048
30049         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30050
30051 2012-07-31  David S. Miller  <davem@davemloft.net>
30052
30053         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30054
30055 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30056
30057         [BZ #13629]
30058         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30059         value between 1.0 and 2.0 and smaller part has absolute value less
30060         than 1.0.
30061         * math/s_clog10.c (__clog10): Likewise.
30062         * math/s_clog10f.c (__clog10f): Likewise.
30063         * math/s_clog10l.c (__clog10l): Likewise.
30064         * math/s_clogf.c (__clogf): Likewise.
30065         * math/s_clogl.c (__clogl): Likewise.
30066         * math/libm-test.inc (clog_test): Add more tests.
30067         (clog10_test): Likewise.
30068         * sysdeps/i386/fpu/libm-test-ulps: Update.
30069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30070
30071 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30072
30073         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30074         Exit with zero in case no suitable GID is found, and write a
30075         message to standard error.
30076
30077 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30078
30079         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30080         rather than to 1.
30081         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30082         (MAXPATHLEN): Removed.
30083         (NOGROUP, NODEV): New macros.
30084         (setbit, clrbit, isset, isclr): New macros.
30085         (howmany, roundup, powerof2): New macros.
30086         (DEV_BSIZE): New macro.
30087
30088         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30089         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30090
30091         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30092         definition on [!__NO_LONG_DOUBLE_MATH].
30093
30094         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30095         PTR_MANGLE and PTR_DEMANGLE.
30096
30097         * socket/accept4.c (accept4): Rename to __libc_accept4.
30098         Define accept4 as a weak alias.
30099
30100         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30101         on [_DIRENT_HAVE_D_TYPE].
30102         * io/ftw.c (ftw_dir): Likewise.
30103
30104         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30105
30106         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30107
30108         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30109         Use the BSD numbers rather than the arbitrary ones we had.
30110         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30111         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30112         (SIGXCPU, SIGXFSZ): New macros.
30113         (_NSIG): Now 32.
30114
30115         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30116         initializer on [_LIBC_REENTRANT].
30117
30118         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30119         definitions inside [_POSIX_MAPPED_FILES].
30120
30121         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30122
30123         * dirent/opendir.c: Include <fcntl.h>.
30124
30125         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30126         (__libc_getspecific): Likewise.
30127         (__libc_key_create): Likewise.
30128
30129         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30130         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30131         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30132         (tmpfile64): Define as alias.
30133         * sysdeps/wordsize-64/tmpfile.c: File removed.
30134         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30135         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30136         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30137
30138         * stdio-common/vfscanf.c: Include <stdbool.h>.
30139         * nss/makedb.c: Likewise.
30140         * stdio-common/_i18n_number.h: Likewise.
30141         * argp/argp-help.c: Likewise.
30142         * posix/wordexp.c: Likewise.
30143         * sysdeps/posix/spawni.c: Likewise.
30144         * nss/nss_files/files-initgroups.c: Likewise.
30145         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30146         * nss/nss_files/files-initgroups.c: Likewise.
30147         * nss/nss_db/db-netgrp.c: Likewise.
30148         * nss/nss_db/db-initgroups.c: Likewise.
30149         * io/fchmodat.c: Include <sys/stat.h>.
30150
30151         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30152         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30153
30154         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30155         [HAVE_MMAP].
30156
30157         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30158         Add multiple inclusion protection.
30159
30160 2012-07-27  David S. Miller  <davem@davemloft.net>
30161
30162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30163
30164 2012-07-27  Gary Benson  <gbenson@redhat.com>
30165
30166         [BZ #14298]
30167         * elf/rtld.c: Include <stap-probe.h>.
30168         (dl_main): Added static probes "init_start" and "init_complete".
30169         * elf/dl-load.c: Include <stap-probe.h>.
30170         (lose): Take new parameter "nsid".
30171         Added static probe "map_failed".
30172         (_dl_map_object_from_fd): Pass namespace id to lose.
30173         Added static probe "map_start".
30174         (open_verify): Pass namespace id to lose.
30175         * elf/dl-open.c: Include <stap-probe.h>.
30176         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30177         and "reloc_complete".
30178         * elf/dl-close.c: Include <stap-probe.h>.
30179         (_dl_close_worker): Added static probes "unmap_start" and
30180         "unmap_complete".
30181         * elf/rtld-debugger-interface.txt: New file documenting the above.
30182
30183 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30184
30185         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30186         rather than a string variable.
30187         * sunrpc/rpc_main.c (h_output): Likewise.
30188         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30189
30190 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30191
30192         * inet/check_native.c: New file.
30193
30194 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
30195
30196         [BZ #13629]
30197         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30198         if larger part has absolute value 1.0.
30199         * math/s_clog10.c (__clog10): Likewise.
30200         * math/s_clog10f.c (__clog10f): Likewise.
30201         * math/s_clog10l.c (__clog10l): Likewise.
30202         * math/s_clogf.c (__clogf): Likewise.
30203         * math/s_clogl.c (__clogl): Likewise.
30204         * math/libm-test.inc (clog_test): Add more tests.
30205         (clog10_test): Likewise.
30206         * sysdeps/i386/fpu/libm-test-ulps: Update.
30207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30208
30209         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30210         (pltexit): Likewise.
30211         (La_regs): Likewise.
30212         (La_retval): Likewise.
30213         (int_retval): Likewise.
30214         Update #error for removed macros to refer only to definitions in
30215         tst-audit.h.
30216         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.c (pltenter): Remove all definitions of
30241         macro.
30242         (pltexit): Likewise.
30243         (La_regs): Likewise.
30244         (La_retval): Likewise.
30245         (int_retval): Likewise.
30246         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30247         macro.
30248         (pltexit): Likewise.
30249         (La_regs): Likewise.
30250         (La_retval): Likewise.
30251         (int_retval): Likewise.
30252         * sysdeps/generic/tst-audit.h: Update comment to refer only to
30253         macro definitions in tst-audit.h.
30254         * sysdeps/i386/tst-audit.h: New file.
30255         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30256         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30257         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30258         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30259         * sysdeps/sh/tst-audit.h: Likewise.
30260         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30261         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30262         * sysdeps/x86_64/tst-audit.h: Likewise.
30263
30264 2012-07-26  Andreas Jaeger  <aj@suse.de>
30265
30266         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30267         ptrace.
30268
30269         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30270         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30271         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30272         PTRACE_O_MASK.
30273         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30274         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30275         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30276
30277         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30278         value.
30279
30280         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30281         _sigsys.
30282         (si_call_addr, si_syscall, si_arch): Define new macro.
30283         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30284         _sigsys.
30285         (si_call_addr, si_syscall, si_arch): Define new marcro.
30286         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30287         _sigsys.
30288         (si_call_addr, si_syscall, si_arch): Define new macro.
30289         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30290         _sigsys.
30291         (si_call_addr, si_syscall, si_arch): Define new macro.
30292
30293 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30294
30295         [BZ #13717]
30296         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30297         Change to 2.4.21 where previously 2.4.1.
30298         * sysdeps/unix/sysv/linux/configure: Regenerated.
30299         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30300         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30301         Linux kernel version.
30302         (__ASSUME_STD_AUXV): Remove.
30303         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30304         kernel version.
30305         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30306         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30307         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30308         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30309         (__ASSUME_NETLINK_SUPPORT): Likewise.
30310         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30311         (__no_netlink_support): Remove conditional definition.
30312         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30313         Remove.
30314         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30315         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30316         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30317         (if_nameindex_ioctl): Remove.
30318         (if_nameindex_netlink): Do not handle __no_netlink_support.
30319         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30320         code.
30321         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30322         Remove conditional code.
30323         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30324         code.
30325         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30326         unconditional.
30327         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30328         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30329         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30330         Remove.
30331         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30332         [!__ASSUME_STD_AUXV]: Remove conditional code.
30333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30334         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30335         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30337         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30338         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30339         code.
30340         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30342         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30343         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30344         conditional code.
30345         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30347         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30348         code.
30349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30350         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30351         conditional code.
30352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30353         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30354         code unconditional.
30355         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30356         conditional code.
30357         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30358         unconditional.
30359         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30360         conditional code.
30361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30362         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30363         unconditional.
30364         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30365         conditional code.
30366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30367         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30368         code unconditional.
30369         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30370         conditional code.
30371         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30372         unconditional.
30373         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30374         conditional code.
30375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30376         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30377         code unconditional.
30378         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30379         conditional code.
30380         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30381         unconditional.
30382         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30383         conditional code.
30384
30385 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
30386
30387         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30388         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30389         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30390         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30391         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30392         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30393         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30394         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30395         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30396         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30397         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30398         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30399         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30400         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30401         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30402         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30403         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30404         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30405         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30406         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30407         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30408         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30409         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30410
30411 2012-07-25  Florian Weimer  <fweimer@redhat.com>
30412
30413         * Versions.def: Add GLIBC_2.17.
30414         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30415         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30416         Introduce __libc_secure_getenv.
30417         * stdlib/Versions (2.17): Add secure_getenv
30418         (GLIBC_PRIVATE): Add __libc_secure_getenv.
30419         * stdlib/secure-getenv.c: Rename __secure_getenv to
30420         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
30421         symbol __secure_getenv for GLIBC_2.0.
30422         * stdlib/tst-secure-getenv.c: New.
30423         * stdlib/Makefile (tests): Add testcase.
30424         * manual/startup.texi (Environment Access): Document
30425         secure_getenv.
30426         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30427         __libc_secure_getenv.
30428         * inet/ruserpass.c (ruserpass): Likewise.
30429         * malloc/mtrace.c (mtrace): Likewise.
30430         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30431         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30432         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30433         * sysdeps/posix/tempname.c: Likewise.  Evaluate
30434         HAVE_SECURE_GETENV.
30435         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30436         __secure_getenv to __libc_secure_getenv.
30437         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30439         Likewise.
30440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30441         Likewise.
30442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30444         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30446         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30449
30450 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30451
30452         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30453         (struct La_i86_retval): Likewise.
30454         (struct La_x86_64_regs): Likewise.
30455         (struct La_x86_64_retval): Likewise.
30456         (struct La_x32_regs): Likewise.
30457         (struct La_x32_retval): Likewise.
30458         (struct La_ppc32_regs): Likewise.
30459         (struct La_ppc32_retval): Likewise.
30460         (struct La_ppc64_regs): Likewise.
30461         (struct La_ppc64_retval): Likewise.
30462         (struct La_sh_regs): Likewise.
30463         (struct La_sh_retval): Likewise.
30464         (struct La_s390_32_regs): Likewise.
30465         (struct La_s390_32_retval): Likewise.
30466         (struct La_s390_64_regs): Likewise.
30467         (struct La_s390_64_retval): Likewise.
30468         (struct La_sparc32_regs): Likewise.
30469         (struct La_sparc32_retval): Likewise.
30470         (struct La_sparc64_regs): Likewise.
30471         (struct La_sparc64_retval): Likewise.
30472         (struct audit_ifaces): Remove architecture-specific pltenter and
30473         pltexit members.
30474         * sysdeps/i386/ldsodefs.h: New file.
30475         * sysdeps/powerpc/ldsodefs.h: Likewise.
30476         * sysdeps/s390/ldsodefs.h: Likewise.
30477         * sysdeps/sh/ldsodefs.h: Likewise.
30478         * sysdeps/sparc/ldsodefs.h: Likewise.
30479         * sysdeps/x86_64/ldsodefs.h: Likewise.
30480
30481 2012-07-25  Marek Polacek  <polacek@redhat.com>
30482
30483         [BZ #6808]
30484         * math/libm-test.inc (yn_test): Add another test.
30485         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30486         to ERANGE when the result is +-Inf.
30487         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30488         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30489         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30490         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30491
30492 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
30493
30494         * conform/data/time.h-data (NULL): Use macro-constant.  Require
30495         equal to 0.
30496         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
30497         clock_t.
30498         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
30499
30500 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
30501
30502         * configure.in <sysdeps resolving>: Correct printing
30503         Implies_before.
30504         * configure: Regenerate.
30505
30506 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
30507
30508         * math/w_ilogb.c: Include <limits.h>.
30509         * math/w_ilogbl.c: Likewise.
30510
30511 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30512
30513         * manual/lang.texi (__va_copy): Document primarily as ISO C99
30514         va_copy.  Document allowing for unavailable va_copy only as
30515         pre-C99 compatibility.
30516         * manual/string.texi (Copying and Concatenation): Use va_copy
30517         instead of __va_copy in concat example.
30518
30519 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
30520
30521         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30522         (__sendto): Use create_address_port.  Initialize APORT and deallocate
30523         it if not null.
30524
30525         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30526         with O_NOLINK passed to __file_name_lookup.
30527
30528         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30529         with O_NOLINK passed to __file_name_lookup.
30530
30531         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30532         negative N or less than NGIDS.
30533
30534         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30535         type to string_t.  Set ERANGE as errno and return it if NAME is not big
30536         enough.  Use memcpy instead of strncpy.
30537
30538 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30539
30540         * elf/Makefile (check-data): Remove.
30541         (localplt.data): New vpath directive.
30542         ($(objpfx)check-localplt.out): Use localplt.data from vpath
30543         instead of $(check-data).
30544         * scripts/data/localplt-generic.data: Move to ...
30545         * sysdeps/generic/localplt.data: ... here.
30546         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30547         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30548         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30550         ... here.
30551         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30553         ... here.
30554         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30556         ... here.
30557         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30559         ... here.
30560         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30562         ... here.
30563         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30565         ... here.
30566
30567 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30568
30569         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30570         PPC32 and PPC64 files.
30571         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30572         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30573
30574 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30575
30576         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30577         __makecontext_ret to ...
30578         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30579         ... here and call exit if uc_link is NULL.  New file.
30580         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30581         __makecontext_ret.S.
30582         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30583         __makecontext_ret to ...
30584         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30585         ... here and call exit if uc_link is NULL.  New file.
30586         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30587         __makecontext_ret.S.
30588
30589 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30590
30591         * elf/elf.h (R_390_IRELATIVE): New definition.
30592         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30593         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
30594         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30595         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30596         (elf_machine_lazy_rel): Likewise.
30597         * sysdeps/s390/dl-irel.h: New file.
30598         * sysdeps/s390/s390-64/memcpy.S: New asm code.
30599         * sysdeps/s390/s390-64/memset.S: New asm code.
30600         * sysdeps/s390/s390-64/memcmp.S: New asm code.
30601         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30602         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30603         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30604         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30605         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30606         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30607         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30608         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30609         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30610         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30611         * sysdeps/s390/s390-32/memcpy.S: New asm code.
30612         * sysdeps/s390/s390-32/memset.S: New asm code.
30613         * sysdeps/s390/s390-32/memcmp.S: New asm code.
30614
30615 2012-07-17  Marek Polacek  <polacek@redhat.com>
30616
30617         [BZ #14349]
30618         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30619         * sysdeps/s390/s390-64/configure.in: Likewise.
30620         * sysdeps/sparc/configure.in: Likewise.
30621         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30622         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30623         * sysdeps/i386/configure.in: Likewise.
30624         * sysdeps/x86_64/configure.in: Likewise.
30625         * sysdeps/sh/configure.in: Likewise.
30626         * sysdeps/s390/s390-32/configure: Regenerated.
30627         * sysdeps/s390/s390-64/configure: Likewise.
30628         * sysdeps/x86_64/configure: Likewise.
30629         * sysdeps/sh/configure: Likewise.
30630         * sysdeps/powerpc/powerpc64/configure: Likewise.
30631         * sysdeps/powerpc/powerpc32/configure: Likewise.
30632         * sysdeps/sparc/configure: Likwise.
30633         * sysdeps/i386/configure: Likewise.
30634
30635         * elf/dl-open.c: Comment fixes.
30636
30637 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
30638
30639         * Makefile [CXX] (check-data): Remove.
30640         [CXX] (c++-types.data): New vpath directive.
30641         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30642         vpath.  Do not allow for C++ type data being missing.
30643         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30644         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30645         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30646         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30647         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30648         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30649         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30651         ... here.
30652         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30654         ... here.
30655         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30657         ... here.
30658         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30659         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30660         ... here.
30661         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30663         ... here.
30664         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30666         ... here.
30667         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30668         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30669         ... here.
30670         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30672
30673         * elf/tls-macros.h (TLS_LE): Move architecture-specific
30674         definitions to architecture-specific files.
30675         (TLS_IE): Likewise.
30676         (TLS_LD): Likewise.
30677         (TLS_GD): Likewise.
30678         * sysdeps/i386/tls-macros.h: New file.
30679         * sysdeps/powerpc/tls-macros.h: Likewise.
30680         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30681         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30682         * sysdeps/sh/tls-macros.h: Likewise.
30683         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30684         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30685         * sysdeps/x86_64/tls-macros.h: Likewise.
30686
30687 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30688
30689         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30690         zero value for regular exit case.
30691
30692         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30693         (__start_context): Preserve zero value for regular exit case.
30694
30695 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30696             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30697
30698         * manual/setjmp.texi (setcontext): Clarify normal process
30699         termination when uc_link is the null pointer.
30700         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30701         exit call.
30702
30703 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
30704
30705         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30706         preprocessor.  Test for each exception mask separately.
30707
30708 2012-07-16  Andreas Jaeger  <aj@suse.de>
30709
30710         * po/ru.po: Update from translation team.
30711
30712 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
30713
30714         * conform/data/string.h-data (NULL): Use macro-constant.  Require
30715         equal to 0.
30716         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30717         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30718         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30719         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30720         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30721
30722 2012-07-13  Andreas Jaeger  <aj@suse.de>
30723
30724         * po/fr.po: Update from translation team.
30725
30726 2012-07-12  Marek Polacek  <polacek@redhat.com>
30727
30728         [BZ #14173]
30729         * math/libm-test.inc (yn_test): Add test for BZ #14173.
30730         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30731         loop condition.
30732
30733 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
30734
30735         [BZ #13717]
30736         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30737         Change to 2.4.1 where previously 2.4.0.
30738         * sysdeps/unix/sysv/linux/configure: Regenerated.
30739         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30740         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30741         version.
30742         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30743         (__ASSUME_AT_CLKTCK): Remove.
30744         (__ASSUME_AT_PAGESIZE): Likewise.
30745         (__ASSUME_AT_XID): Likewise.
30746         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30747         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30748         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30749         unconditionally.
30750         (HAVE_AUX_PAGESIZE): Likewise.
30751         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30752         [__ASSUME_AT_CLKTCK]: Make code unconditional.
30753         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30754
30755 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
30756
30757         [BZ #14307]
30758         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30759         the temporary buffer used to invoke __gethostbyname2_r,
30760         __gethostbyaddr_r and gethostbyname4_r to make room for struct
30761         host_data / struct gaih_addrtuple.
30762         * resolv/nss_dns/dns-host.c (global scope): Move definition of
30763         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30764         header file nss/nsswitch.h.
30765         * nss/nsswitch.h (global scope): Add definition of implementation
30766         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30767         resolv/nss_dns/dns-host.c).
30768
30769 2012-07-11  Andreas Jaeger  <aj@suse.de>
30770
30771         * po/fr.po: Update from translation team.
30772
30773         * po/sv.po: Update from translation team
30774         * po/fr.po: Another update from translation team.
30775
30776 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30777
30778         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30779         for subnormals or multiply small sinh result by itself.
30780         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30782
30783 2012-07-11  David S. Miller  <davem@davemloft.net>
30784
30785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30786
30787 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
30788
30789         [BZ #14347]
30790         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30791         (INTERNAL_MARK): Shift it here.
30792
30793 2012-07-10  Marek Polacek  <polacek@redhat.com>
30794
30795         [BZ #14151]
30796         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
30797         libc_cv_asm_global_directive with .globl.
30798         * configure: Regenerated.
30799         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30800         with .globl.
30801         * sysdeps/i386/configure: Regenerated.
30802         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30803         with .globl.
30804         * sysdeps/x86_64/configure: Regenerated.
30805         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30806         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30807         * elf/tst-unique2mod2.c: Likewise.
30808         * elf/tst-unique2mod1.c: Likewise.
30809         * elf/tst-unique1mod2.c: Likewise.
30810         * elf/tst-unique1mod1.c: Likewise.
30811         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30812         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30813         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30814         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30815         * sysdeps/mach/sysdep.h: Likewise.
30816         * sysdeps/i386/sysdep.h: Likewise.
30817         * sysdeps/i386/i386-mcount.S: Likewise.
30818         * sysdeps/x86_64/_mcount.S: Likewise.
30819         * sysdeps/x86_64/sysdep.h: Likewise.
30820         * sysdeps/sh/_mcount.S: Likewise.
30821         * sysdeps/sh/sysdep.h: Likewise.
30822         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30823         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30824         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30825         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30826         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30827         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30828         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30829         * locale/localeinfo.h: Likewise.
30830         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30831         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30832
30833 2012-07-09  Roland McGrath  <roland@hack.frob.com>
30834
30835         [BZ #14336]
30836         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30837         system".
30838         * manual/message.texi (The Uniforum approach): Likewise.
30839         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30840         (glibc iconv Implementation): Likewise.
30841
30842 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
30843
30844         [BZ #14337]
30845         * math/s_clog.c (__clog): Avoid scaling a value down where that
30846         could result in underflow.
30847         * math/s_clog10.c (__clog10): Likewise.
30848         * math/s_clog10f.c (__clog10f): Likewise.
30849         * math/s_clog10l.c (__clog10l): Likewise.
30850         * math/s_clogf.c (__clogf): Likewise.
30851         * math/s_clogl.c (__clogl): Likewise.
30852         * math/libm-test.inc (clog_test): Add more tests.
30853         (clog10_test): Likewise.
30854         * sysdeps/i386/fpu/libm-test-ulps: Update.
30855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30856
30857 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
30858
30859         [BZ #14283]
30860         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30861         by 7 not 8 to examine high bit of fractional part.
30862
30863         [BZ #14042]
30864         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30865         for call to __mcount_internal.
30866         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30867         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30868         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30869
30870 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
30871
30872         [BZ #14154]
30873         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30874         approximation for values within 0x1p-13f of an odd multiple of
30875         pi/4.
30876         * math/libm-test.inc (tan_test): Do not allow spurious underflow
30877         exception.  Add more tests.
30878         * sysdeps/i386/fpu/libm-test-ulps: Update.
30879
30880         [BZ #6778]
30881         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30882         inputs and return -1 for them.  Do not check for +Inf in case not
30883         reachable for +Inf.
30884         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30885         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30886         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30887         and return -1 for them.  Do not check for +Inf in case not
30888         reachable for +Inf.
30889         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30890         define.
30891         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30892         and return -1 for them.  Do not check for +Inf in case not
30893         reachable for +Inf.
30894         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
30895         spurious underflow.
30896         * sysdeps/i386/fpu/libm-test-ulps: Update.
30897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30898
30899 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
30900
30901         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30902
30903 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
30904
30905         [BZ #14157]
30906         [BZ #14331]
30907         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30908         could result in spurious underflow.  Scale down values above
30909         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30910         * math/s_csqrtf.c (__csqrtf): Likewise.
30911         * math/s_csqrtl.c (__csqrtl): Likewise.
30912         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
30913         spurious underflow.
30914         * sysdeps/i386/fpu/libm-test-ulps: Update.
30915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30916
30917 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
30918
30919         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30920         xopen-msg.sed.
30921         * catgets/xopen-msg.awk: New file.
30922         * catgets/xopen-msg.sed: Removed.
30923
30924         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30925         po2text.sed.
30926         * intl/po2test.awk: New file.
30927         * intl/po2test.sed: Removed.
30928
30929 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
30930
30931         [BZ #14328]
30932         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30933         or multiply small sinh result by itself.
30934         * math/s_ctanf.c (__ctanf): Likewise.
30935         * math/s_ctanh.c (__ctanh): Likewise.
30936         * math/s_ctanhf.c (__ctanhf): Likewise.
30937         * math/s_ctanhl.c (__ctanhl): Likewise.
30938         * math/s_ctanl.c (__ctanl): Likewise.
30939         * math/libm-test.inc (ctan_test_tonearest): New function.
30940         (ctan_test_towardzero): Likewise.
30941         (ctan_test_downward): Likewise.
30942         (ctan_test_upward): Likewise.
30943         (ctanh_test_tonearest): Likewise.
30944         (ctanh_test_towardzero): Likewise.
30945         (ctanh_test_downward): Likewise.
30946         (ctanh_test_upward): Likewise.
30947         (main): Call these new functions.
30948         * sysdeps/i386/fpu/libm-test-ulps: Update.
30949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30950
30951 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
30952
30953         * .gitignore: Delete /ports entry.
30954
30955 2012-07-03  Andreas Jaeger  <aj@suse.de>
30956
30957         * po/bg.po: Update from translation team.
30958         * po/cs.po: Likewise.
30959         * po/de.po: Likewise.
30960         * po/hr.po: Likewise.
30961         * po/nl.pl: Likewise.
30962         * po/pl.po: Likewise.
30963         * po/vi.po: Likewise.
30964
30965 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
30966
30967         * Makeconfig [!+link] (+link-before-libc): New variable.
30968         [!+link] (+link-after-libc): Likewise.
30969         [!+link] (+link-tests): Likewise.
30970         [!+link] (+link): Define in terms of $(+link-before-libc) and
30971         $(+link-after-libc).
30972         [!+link-static] (+link-static-before-libc): New variable.
30973         [!+link-static] (+link-static-after-libc): Likewise.
30974         [!+link-static] (+link-static-tests): Likewise.
30975         [!+link-static] (+link-static): Define in terms of
30976         $(+link-static-before-libc) and $(+link-static-after-libc).
30977         [build-shared] (link-libc-before-gnulib): New variable.
30978         [build-shared] (link-libc-tests): Likewise.
30979         [build-shared] (link-libc): Define in terms of
30980         $(link-libc-before-gnulib).
30981         [!build-shared] (link-libc-tests): New variable.
30982         (link-libc-static-tests): New variable.
30983         [!gnulib] (gnulib-arch): New variable.
30984         [!gnulib] (gnulib-tests): Likewise.
30985         [!gnulib] (static-gnulib-arch): Likewise.
30986         [!gnulib] (static-gnulib-tests): Likewise.
30987         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
30988         Define with "=" instead of ":=".
30989         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
30990         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
30991         * Rules (binaries-all-notests): New variable.
30992         (binaries-all-tests): Likewise.
30993         (binaries-static-notests): Likewise.
30994         (binaries-static-tests): Likewise.
30995         (binaries-all): Define using $(binaries-all-notests) and
30996         $(binaries-all-tests).
30997         (binaries-static): Define using $(binaries-static-notests) and
30998         $(binaries-static-tests).
30999         (binaries-shared-tests): New variable.
31000         (binaries-shared-notests): Likewise.
31001         (binaries-shared): Remove variable.
31002         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31003         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31004         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31005         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31006         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31007         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31008         * elf/Makefile (sln-modules): New variable.
31009         (extra-objs): Add $(sln-modules:=.o).
31010         (ldconfig-modules): Add static-stubs.
31011         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31012         * elf/static-stubs.c: New file.
31013
31014         [BZ #14283]
31015         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31016         by 7 not 8 to examine high bit of fractional part.  Use volatile
31017         variables when splitting into final array of floats if
31018         __FLT_EVAL_METHOD__ != 0.
31019         * math/libm-test.inc (cos_test): Add another test.
31020         (sin_test): Likewise.
31021         * sysdeps/i386/fpu/libm-test-ulps: Update.
31022
31023         [BZ #14273]
31024         * math/libm-test.inc (cosh_test): Add more tests.
31025
31026         * version.h (RELEASE): Set to "development".
31027         (VERSION): Set to "2.16.90".
31028
31029 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31030
31031         * NEWS: Update copyright. Remove last-updated date.
31032         Mention math library bug fixes and timezone data changes.
31033         * README: Mention GNU/Hurd, x32, and HPPA support status.
31034
31035 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31036
31037         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31038
31039 2012-06-27  Andreas Jaeger  <aj@suse.de>
31040
31041         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31042
31043 2012-06-25  Andreas Jaeger  <aj@suse.de>
31044
31045         * sysdeps/s390/fpu/libm-test-ulps: Update.
31046
31047 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31048             Thomas Schwinge  <thomas@codesourcery.com>
31049
31050         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31051         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31052         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31053         fanotify_mark.
31054
31055 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31056
31057         * sysdeps/mach/start.c: Remove file.
31058         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31059         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31060         * sysdeps/sh/init-first.c: Likewise.
31061
31062         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31063         registers for frame unwinding purposes, add CFI directives.
31064         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31065         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31066         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31067         Likewise.
31068
31069         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31070         __fortify_fail returning.
31071         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31072
31073         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31074         sysdeps/sh/____longjmp_chk.S.
31075         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31076         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31077         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31078         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31079
31080         * sysdeps/sh/abort-instr.h: New file.
31081         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31082         process in case exit returns.
31083
31084         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31085         initialize the GOT register before use.
31086
31087         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31088         calculation of ARGC > 4.
31089
31090         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31091         meaningful names to some local labels.
31092
31093 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31094             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31095
31096         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31097         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31098         (__arch_compare_and_exchange_val_16_acq): Likewise.
31099         (__arch_compare_and_exchange_val_32_acq): Likewise.
31100         (atomic_exchange_and_add): Fix gUSA sequence.
31101         (atomic_add): Likewise.
31102         (atomic_add_negative): Likewise.
31103         (atomic_add_zero): Likewise.
31104         (atomic_bit_test_set): Likewise.
31105
31106 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31107
31108         [BZ #13579]
31109         * include/link.h (struct link_map): Add l_free_initfini.
31110         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31111         l_initfini.
31112         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31113         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31114         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31115         set.
31116
31117 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31118
31119         * configure.in: Use AC_LANG_SOURCE.
31120         * configure: Regenerate.
31121
31122 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31123
31124         * configure.in (libc_cv_localstatedir): New substituted variable.
31125         * configure: Regenerated.
31126         * config.make.in (localstatedir): New variable, substituted from
31127         libc_cv_localstatedir.
31128         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31129         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31130         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31131         * sysdeps/gnu/configure: Regenerated.
31132
31133 2012-06-21  Jeff Law  <law@redhat.com>
31134
31135         [BZ #14277]
31136         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31137         free.  Simplify list management for _LIBC case.
31138
31139 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31140
31141         [BZ #14273]
31142         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31143         Clear sign bit of 64-bit integer value before comparing against
31144         overflow value.
31145
31146         * sysdeps/mach/configure: Regenerated.
31147
31148 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31149
31150         [BZ #14278]
31151         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31152
31153 2012-06-21  Jeff Law  <law@redhat.com>
31154
31155         [BZ #13882]
31156         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31157         uint16_t for elements in the "seen" array to avoid char overflows.
31158         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31159         * elf/dl-open.c (dl_open_worker): Likewise.
31160
31161 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31162
31163         * scripts/list-sources.sh: Scan PORTS for translations.
31164         * po/libc.pot: Regenerated.
31165
31166 2012-06-21  Andreas Jaeger  <aj@suse.de>
31167
31168         [BZ #12194]
31169         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31170         warning.
31171         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31172         * bits/byteswap-16.h (__bswap_16): Likewise.
31173         * bits/byteswap.h (__bswap_constant_16): Likewise.
31174
31175 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31176
31177         [BZ #14117]
31178         * sysdeps/i386/fpu_control.h: Removed.
31179         * sysdeps/x86_64/fpu_control.h: Moved to ...
31180         * sysdeps/x86/fpu_control.h: Here.
31181
31182         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31183         (_FPU_SETCW): Likewise.
31184
31185 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31186
31187         [BZ #14117]
31188         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31189         * sysdeps/x86/fpu/bits/mathinline.h: This.
31190         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31191
31192         [BZ #14050]
31193         [BZ #14117]
31194         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31195         functions if __x86_64__ is defined.
31196
31197 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
31198
31199         * string/endian.h: Add !__ASSEMBLER__ condition for including
31200         conversion interfaces.
31201
31202 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
31203
31204         [BZ #14241]
31205         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31206         of ABS(x) in calculating zero to negative powers other than odd
31207         integers.
31208         * math/libm-test.inc (pow_test): Add more tests.
31209
31210 2012-06-15  Andreas Jaeger  <aj@suse.de>
31211
31212         * manual/contrib.texi (Contributors): Update entry of Liubov
31213         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31214         Machado Filho.
31215
31216 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
31217
31218         * string/string.h: Add __wur to GNU version of strerror_r.
31219
31220 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
31221
31222         [BZ #14229]
31223         * string/Makefile (tests): Add tst-strtok_r.
31224         * string/tst-strtok_r.c: New file.
31225         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31226         RAX_LP/RDX_LP on SAVE_PTR.
31227
31228 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31229
31230         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31231
31232 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
31233
31234         * libm_test.inc (csqrt_test): Allow more spurious underflow
31235         exceptions.
31236         (j0_test): Likewise.
31237         (j1_test): Likewise.
31238         (y0_test): Likewise.
31239         (y1_test): Likewise.
31240
31241 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
31242
31243         * po/Makefile (libc.pot): Use UTF-8 charset.
31244
31245 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
31246
31247         [BZ #14210]
31248         Suppress sign-conversion warning from FD_SET.
31249         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31250         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31251         not unsigned long int.
31252         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31253
31254 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
31255
31256         [BZ #14050]
31257         [BZ #14117]
31258         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31259         __extern_always_inline instead of __extern_inline.
31260         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31261         (__signbit): Likewise.
31262         (__signbitl): Support C++ namespace.
31263         (lrintf): New inline function.
31264         (lrint): Likewise.
31265         (llrintf): Likewise.
31266         (llrint): Likewise.
31267         (fmaxf): Likewise.
31268         (fmax): Likewise.
31269         (fminf): Likewise.
31270         (fmin): Likewise.
31271         (rint): Likewise.
31272         (rintf): Likewise.
31273         (ceil): Likewise.
31274         (ceilf): Likewise.
31275         (floor): Likewise.
31276         (floorf): Likewise.
31277         (nearbyint): Likewise.
31278         (nearbyintf): Likewise.
31279
31280 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
31281
31282         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31283         non-default versions.
31284
31285 2012-06-11  Roland McGrath  <roland@hack.frob.com>
31286
31287         [BZ #14218]
31288         * manual/argp.texi (Argp): Reword argp_parse description slightly.
31289
31290 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
31291
31292         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31293         (FE_UPWARD, FE_DOWNWARD): Don't define.
31294         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31295         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31296
31297         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31298         reading it.
31299         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31300         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31301
31302 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31303
31304         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31305         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31306         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31307         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31308
31309 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
31310
31311         [BZ #14117]
31312         * sysdeps/i386/fpu/bits/fenv.h: Removed.
31313         * sysdeps/i386/fpu/Implies: New file.
31314         * sysdeps/x86_64/fpu/Implies: Likewise.
31315         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31316         * sysdeps/x86/fpu/bits/fenv.h: This.
31317
31318         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31319         __SSE_MATH__.
31320
31321 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31322
31323         [BZ #14134]
31324         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31325         character 0xffff that matches the last element of the
31326         conversion table.
31327
31328 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31329
31330         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31331         fmodl commit.
31332
31333 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31334
31335         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31336         values higher than 25.6283.
31337
31338 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31339
31340         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31341         subnormal exponent extraction and add some __builtin_expect.
31342         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31343         Fix for subnormal mantissa calculation.
31344
31345 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
31346
31347         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31348         cpu2 is -1 and errno is not ENOSYS.
31349
31350 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
31351
31352         [BZ #14117]
31353         * sysdeps/i386/i486/bits/string.h: Renamed to ...
31354         * sysdeps/x86/bits/string.h: This.
31355         * sysdeps/x86_64/bits/string.h: Removed.
31356
31357         * sysdeps/i386/i486/bits/string.h: Define inline functions only
31358         if not compiling for x86-64, but compiling for >= i486.
31359
31360         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31361         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31362
31363         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31364         New macro from Linux kernel 3.4.0.
31365         (FP_XSTATE_MAGIC2): Likewise.
31366         (FP_XSTATE_MAGIC2_SIZE): Likewise.
31367         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31368         (struct _fpx_sw_bytes): New struct.
31369         (struct _xsave_hdr): Likewise.
31370         (struct _ymmh_state): Likewise.
31371         (struct _xstate): Likewise.
31372
31373         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31374         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31375         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31376         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31377         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31378         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31379
31380         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31381         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31382         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31383         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31384         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31385         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31386
31387 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31388
31389         [BZ #13743]
31390         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31391         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31392         (sysdep_headers): Include sys/platform/ppc.h.
31393         * sysdeps/powerpc/test-gettimebase.c: Test for
31394         __ppc_get_timebase() to catch future ISA opcode/insn changes.
31395         * manual/Makefile (appendices): Include platform.texi.
31396         * manual/contrib.texi (Contributors): Update @node pointers.
31397         * manual/maint.texi (Maintenance): Likewise.
31398         (Platform): New node.
31399         * manual/platform.texi: New file.  Document the new features.
31400
31401 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31402             Jakub Jelinek  <jakub@redhat.com>
31403
31404         [BZ #14188]
31405         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31406         where __builtin_expect is unavailable.
31407
31408 2012-06-03  David S. Miller  <davem@davemloft.net>
31409
31410         * stdlib/longlong.h: Updated from GCC.
31411
31412 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
31413
31414         [BZ #14042]
31415         * sysdeps/powerpc/powerpc32/mcount.c: New file.
31416         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31417         __mcount_internal.
31418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31419         (GLIBC_2.16): Likewise.
31420
31421 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31422
31423         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31424
31425 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31426
31427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31428         (default-abi): New variable.
31429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31430         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31431         variable.
31432         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31433         Likewise.
31434         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31435         Likewise.
31436         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31437         Likewise.
31438
31439         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31440         definition.  Document in comment.
31441
31442 2012-06-01  David S. Miller  <davem@davemloft.net>
31443
31444         * stdlib/longlong.h: Updated from GCC.
31445
31446 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31447
31448         [BZ #14117]
31449         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31450         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31451         sys/debugreg.h sys/io.h here.
31452         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31453         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31454         sys/io.h.
31455         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31456         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31457         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31458         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31459         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31460         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31461
31462         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31463         Define only if __x86_64__ is defined.
31464
31465 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31466
31467         [BZ #14048]
31468         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31469         Use int64_t for variable i.
31470         * math/libm-test.inc (fmod_test): Add more tests.
31471
31472         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31473         z computation is not scheduled after fetestexcept.
31474         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31475         Use math_force_eval instead of asm to ensure calculation scheduled
31476         before exception test.
31477         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31478         Ensure a1 + u.d computation is not scheduled after fetestexcept.
31479
31480 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
31481
31482         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31483         computation is not scheduled after fetestexcept.
31484
31485 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31486
31487         [BZ #14117]
31488         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31489         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31490
31491 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31492
31493         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31494         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31495
31496 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31497
31498         [BZ #14117]
31499         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31500         <bits/wordsize.h>.
31501         (__WCHAR_MIN): Support __WORDSIZE == 64.
31502         (__WCHAR_MAX): Likewise.
31503
31504         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31505         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31506
31507         [BZ #14183]
31508         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31509         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31510
31511         [BZ #14117]
31512         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31513         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31514
31515         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31516         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31517
31518         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31519         Defined to 1 if __x86_64__ isn't defined.
31520         (_STAT_VER_LINUX_OLD): New.
31521         (st_atime): Remove duplicate.
31522         (st_mtime): Likewise.
31523         (st_ctime): Likewise.
31524
31525 2012-05-31  David S. Miller  <davem@davemloft.net>
31526
31527         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31528         entries.
31529
31530 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
31531
31532         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31533         gen-libm-test.pl.
31534
31535         [BZ #14132]
31536         * elf/dl-reloc.c: Include <_itoa.h>.
31537         (_dl_reloc_bad_type): Remove use of INTUSE.
31538         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31539         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31540         * stdio-common/psiginfo.c (psiginfo): Likewise.
31541         * stdio-common/psignal.c (psignal): Likewise.
31542         * string/strsignal.c (strsignal): Likewise.
31543         * include/signal.h (_sys_siglist): Declare hidden proto.
31544         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
31545         INTVARDEF with libc_hidden_data_def.
31546         * stdio-common/itoa-udigits.c: Likewise.
31547         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31548         (_itoa_lower_digits_internal): Remove declaration.
31549         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31550         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31551         (_sys_sigabbrev_internal): Remove aliases.
31552         (_sys_siglist): Define hidden alias.
31553
31554 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
31555
31556         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31557         bits/sysctl.h.
31558
31559 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31560
31561         [BZ #14117]
31562         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31563         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31564
31565         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31566         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31567         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31568         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31569         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31570         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31571
31572         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31573         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31574         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31575
31576         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31577         with __addr.
31578         (insw): Likewise.
31579         (insl): Likewise.
31580         (outsb): Likewise.
31581         (outsw): Likewise.
31582         (outsl): Likewise.
31583
31584         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31585         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31586         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31587
31588         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31589         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31590         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31591         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31592         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31593         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31594
31595         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31596         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31597
31598         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31599         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31600
31601         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31602         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31603         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31604
31605         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31606         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31607         to ...
31608         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31609
31610         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31611         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31612         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31613
31614         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31615         for x86-64.
31616         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31617
31618 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
31619
31620         * math/math.h (M_El): Use two more decimal places.
31621         (M_LOG2El): Likewise.
31622         (M_LOG10El): Likewise.
31623         (M_LN2l): Likewise.
31624         (M_LN10l): Likewise.
31625         (M_PIl): Likewise.
31626         (M_PI_2l): Likewise.
31627         (M_PI_4l): Likewise.
31628         (M_1_PIl): Likewise.
31629         (M_2_PIl): Likewise.
31630         (M_2_SQRTPIl): Likewise.
31631         (M_SQRT2l): Likewise.
31632         (M_SQRT1_2l): Likewise.
31633
31634 2012-05-31  David S. Miller  <davem@davemloft.net>
31635
31636         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31637         values between float registers.
31638         * sysdeps/sparc/sparc64/memset.S: Likewise.
31639         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31640
31641 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
31642
31643         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31644         -D_FORTIFY_SOURCE=1.
31645         (CPPFLAGS-tst-longjmp_chk.c): Define.
31646         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31647         (CPPFLAGS-tst-longjmp_chk2.c): Define.
31648         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31649         CFLAGS-tst-wchar-h.c.
31650
31651 2012-05-31  Marek Polacek  <polacek@redhat.com>
31652
31653         [BZ #14132]
31654         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31655         __endmntent_internal): Remove declaration.
31656         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31657         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31658         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31659
31660 2012-05-30  David S. Miller  <davem@davemloft.net>
31661
31662         * sysdeps/sparc/sparc32/soft-fp/q_util.c
31663         (___Q_simulate_exceptions): Use real FP ops rather than writing
31664         into the %fsr.
31665         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31666         Likewise.
31667
31668 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31669
31670         [BZ #14117]
31671         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31672         * sysdeps/x86/bits/xtitypes.h: This.
31673
31674         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31675         * sysdeps/x86/bits/wordsize.h: This.
31676
31677         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31678         * sysdeps/x86/bits/huge_vall.h: This.
31679
31680         * sysdeps/i386/bits/select.h: Removed.
31681         * sysdeps/x86_64/bits/select.h: Renamed to ...
31682         * sysdeps/x86/bits/select.h: This.
31683
31684         * sysdeps/i386/bits/setjmp.h: Removed.
31685         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31686         * sysdeps/x86/bits/setjmp.h: This.
31687
31688         * sysdeps/i386/bits/mathdef.h: Removed.
31689         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31690         * sysdeps/x86/bits/mathdef.h: This.
31691
31692 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
31693
31694         [BZ #14132]
31695         * include/sys/socket.h (__connect_internal)
31696         (__libc_sa_len_internal): Remove declaration.
31697         (__connect, __libc_sa_len): Declare hidden_proto.
31698         (SA_LEN): Remove use of INTUSE.
31699         * socket/connect.c: Add libc_hidden_def.
31700         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31701         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31702         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31703         alias.
31704         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31705         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31706         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31707         of adding _internal alias.
31708
31709 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31710
31711         [BZ #14117]
31712         * sysdeps/i386/bits/link.h: Removed.
31713         * sysdeps/i386/bits/linkmap.h: Likewise.
31714         * sysdeps/x86_64/bits/link.h: Renamed to ...
31715         * sysdeps/x86/bits/link.h: This.
31716         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31717         * sysdeps/x86/bits/linkmap.h: This.
31718
31719         * sysdeps/i386/bits/endian.h: Removed.
31720         * sysdeps/x86_64/bits/endian.h: Renamed to ...
31721         * sysdeps/x86/bits/endian.h: This.
31722
31723         * sysdeps/i386/bits/byteswap.h: Removed.
31724         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31725         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31726         * sysdeps/x86/bits/byteswap.h: This.
31727         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31728         * sysdeps/x86/bits/byteswap-16.h: This.
31729         * sysdeps/i386/Implies: Add x86.
31730         * sysdeps/x86_64/Implies: Likewise.
31731
31732 2012-05-30  David S. Miller  <davem@davemloft.net>
31733
31734         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31735         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31736         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31737         (FP_TRAPPING_EXCEPTIONS): Define.
31738         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31739         (FP_TRAPPING_EXCEPTIONS): Define.
31740         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31741         subnormals only when inexact has been signalled or underflow
31742         exceptions are enabled.
31743         (_FP_PACK_CANONICAL): Likewise.
31744
31745 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31746
31747         [BZ #14183]
31748         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31749         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31750
31751 2012-05-30  Richard Henderson  <rth@twiddle.net>
31752
31753         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31754         with #ifndef NOT_IN_libc.
31755
31756         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
31757         marked to avoid plt entry.
31758
31759 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31760
31761         [BZ #14112]
31762         * Makeconfig (default-abi): New macro.
31763         (abi-includes): Likewise.
31764         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
31765         $(abi-$(default-abi)-lib-soname) for soname if defined.
31766         ($(common-objpfx)gnu/lib-names.stmp): Generate from
31767         abi-variants.
31768         * Makefile (installed-stubs): Likewise.
31769         * include/stubs-biarch.h: Removed.
31770         * scripts/lib-names.awk: Only handle one library at a time.
31771         * scripts/soversions.awk: Remove WORDSIZE support.
31772         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31773         entries.
31774         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31775         Removed.
31776         (syscall-list-default-condition): Likewise.
31777         (syscall-list-default-condition): Likewise.
31778         (syscall-list-includes): Likewise.
31779         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31780         syscall-list-* with abi-*.  Handle undefined abi-variants.
31781         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31782         * sysdeps/unix/sysv/linux/i386/Implies: New file.
31783         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31784         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31785         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31786         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31787         Removed.
31788         (syscall-list-32-options): Likewise.
31789         (syscall-list-32-condition): Likewise.
31790         (syscall-list-64-options): Likewise.
31791         (syscall-list-64-condition): Likewise.
31792         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31793         macro.
31794         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31795         Renamed to ...
31796         (abi-*): This.
31797         (abi-64-ld-soname): New macro.
31798         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31799         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31800         Renamed to ...
31801         (abi-*): This.
31802         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31803         * sysdeps/x86_64/x32/shlib-versions: Likewise.
31804
31805 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
31806
31807         * sysdeps/unix/sysv/linux/kernel-features.h
31808         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31809         * sysdeps/unix/sysv/linux/ftruncate64.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/truncate64.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/ftruncate64.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.
31827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31828         include <kernel-features.h>.
31829         [!__NR_ftruncate64]: Remove conditional code.
31830         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31831         [__NR_ftruncate64]: Make code unconditional.
31832         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31833
31834         * configure.in (libc_cv_fpie): Weaken to a compile test using
31835         LIBC_TRY_CC_OPTION.
31836         * configure: Regenerated.
31837
31838 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31839
31840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31844         Refreshed.
31845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31851         Refreshed.
31852
31853 2012-05-27  David S. Miller  <davem@davemloft.net>
31854
31855         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31856         (___Q_zero): New.
31857         (__Q_simulate_exceptions): Return void.  Change to simulate
31858         exceptions by writing into the %fsr.
31859         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31860         (__Qp_handle_exceptions): Likewise.
31861         (numbers): Delete.
31862         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31863         __Qp_handle_exceptions.
31864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31865         __Qp_handle_exceptions.
31866         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31867         as unused and give dummy FP_RND_NEAREST initializer.
31868         (FP_INHIBIT_RESULTS): Define.
31869         (___Q_simulate_exceptions): Update declaration.
31870         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31871         formatting.
31872         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31873         as unused and give dummy FP_RND_NEAREST initializer.
31874         (__Qp_handle_exceptions): Update declaration.
31875         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31876         formatting.
31877
31878 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
31879
31880         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31881         the temporary FPU control word.
31882         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31883         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31884         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31885         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31886         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31887         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31888         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31889         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31890         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31891         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31892         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31893
31894 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31895
31896         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31897         fields.
31898
31899 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
31900
31901         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31902         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31903         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31904         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31905         Likewise.
31906         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31907         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31908         Likewise.
31909
31910 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
31911
31912         * po/h.po: Update from translation team.
31913
31914 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
31915
31916         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31917
31918         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31919         handling of denormals.
31920         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31921         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31922         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31923         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31924         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31925         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31926         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31927         Likewise.
31928
31929 2012-05-26  Marek Polacek  <polacek@redhat.com>
31930
31931         [BZ #14152]
31932         * math/libm-test.inc (fma_test): Don't always expect underflow
31933         exception.
31934
31935 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31936
31937         [BZ #12416]
31938         * elf/tst-execstack.c: Include stackinfo.h.
31939         (do_test): Adjust test case to ensure that pthread_getattr_np
31940         behaviour remains the same after marking stack executable.
31941
31942 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31943
31944         * sysdeps/unix/sysv/linux/kernel-features.h
31945         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31946         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31947         kernel-features.h.
31948         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31949         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31950         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31951         kernel-features.h.
31952         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31953         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31954
31955 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
31956
31957         * configure.in: Define the default includes to being none.
31958         * configure: Regenerated.
31959
31960 2012-05-25  Roland McGrath  <roland@hack.frob.com>
31961
31962         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31963         * sysdeps/x86_64/setjmp.S: Likewise.
31964         * sysdeps/i386/bsd-setjmp.S: Likewise.
31965         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31966         * sysdeps/i386/setjmp.S: Likewise.
31967         * sysdeps/i386/__longjmp.S: Likewise.
31968         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31969         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31970
31971         * include/stap-probe.h: New file.
31972         * configure.in: Handle --enable-systemtap.
31973         * configure: Regenerated.
31974         * config.h.in (USE_STAP_PROBE): New #undef.
31975         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31976         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31977         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31978
31979 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31980
31981         [BZ #13717]
31982         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31983         to 2.4.0 where earlier.
31984         * sysdeps/unix/sysv/linux/configure: Regenerated.
31985         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31986         <kernel-features.h>.
31987         [__ASSUME_32BITUIDS]: Make code unconditional.
31988         [!__ASSUME_32BITUIDS]: Remove conditional code.
31989         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31990         <kernel-features.h>.
31991         [__ASSUME_32BITUIDS]: Make code unconditional.
31992         [!__ASSUME_32BITUIDS]: Remove conditional code.
31993         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31994         [__ASSUME_32BITUIDS]: Make code unconditional.
31995         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31996         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31997         <kernel-features.h>.
31998         [__ASSUME_32BITUIDS]: Make code unconditional.
31999         [!__ASSUME_32BITUIDS]: Remove conditional code.
32000         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32001         <kernel-features.h>.
32002         [__ASSUME_32BITUIDS]: Make code unconditional.
32003         [!__ASSUME_32BITUIDS]: Remove conditional code.
32004         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32005         <kernel-features.h>.
32006         [__ASSUME_32BITUIDS]: Make code unconditional.
32007         [!__ASSUME_32BITUIDS]: Remove conditional code.
32008         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32009         <kernel-features.h>.
32010         [__ASSUME_32BITUIDS]: Make code unconditional.
32011         [!__ASSUME_32BITUIDS]: Remove conditional code.
32012         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32013         <kernel-features.h>.
32014         [__ASSUME_32BITUIDS]: Make code unconditional.
32015         [!__ASSUME_32BITUIDS]: Remove conditional code.
32016         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32017         <kernel-features.h>.
32018         [__ASSUME_32BITUIDS]: Make code unconditional.
32019         [!__ASSUME_32BITUIDS]: Remove conditional code.
32020         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32021         <kernel-features.h>.
32022         [__ASSUME_32BITUIDS]: Make code unconditional.
32023         [!__ASSUME_32BITUIDS]: Remove conditional code.
32024         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32025         <kernel-features.h>.
32026         [__ASSUME_32BITUIDS]: Make code unconditional.
32027         [!__ASSUME_32BITUIDS]: Remove conditional code.
32028         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32029         <kernel-features.h>.
32030         [__ASSUME_32BITUIDS]: Make code unconditional.
32031         [!__ASSUME_32BITUIDS]: Remove conditional code.
32032         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32033         <kernel-features.h>.
32034         [__ASSUME_32BITUIDS]: Make code unconditional.
32035         [!__ASSUME_32BITUIDS]: Remove conditional code.
32036         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32037         <kernel-features.h>.
32038         [__NR_setresgid] (__setresgid): Do not declare.
32039         [__ASSUME_32BITUIDS]: Make code unconditional.
32040         [!__ASSUME_32BITUIDS]: Remove conditional code.
32041         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32042         <kernel-features.h>.
32043         [__NR_setresuid] (__setresuid): Do not declare.
32044         [__ASSUME_32BITUIDS]: Make code unconditional.
32045         [!__ASSUME_32BITUIDS]: Remove conditional code.
32046         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32047         <kernel-features.h>.
32048         [__ASSUME_32BITUIDS]: Make code unconditional.
32049         [!__ASSUME_32BITUIDS]: Remove conditional code.
32050         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32051         <kernel-features.h>.
32052         [__ASSUME_32BITUIDS]: Make code unconditional.
32053         [!__ASSUME_32BITUIDS]: Remove conditional code.
32054         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32055         <kernel-features.h>.
32056         [__ASSUME_32BITUIDS]: Make code unconditional.
32057         [!__ASSUME_32BITUIDS]: Remove conditional code.
32058         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32059         <kernel-features.h>.
32060         [__ASSUME_32BITUIDS]: Make code unconditional.
32061         [!__ASSUME_32BITUIDS]: Remove conditional code.
32062         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32063         <kernel-features.h>.
32064         [__ASSUME_32BITUIDS]: Make code unconditional.
32065         [!__ASSUME_32BITUIDS]: Remove conditional code.
32066         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32067         <kernel-features.h>.
32068         [__ASSUME_32BITUIDS]: Make code unconditional.
32069         [!__ASSUME_32BITUIDS]: Remove conditional code.
32070         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32071         <kernel-features.h>.
32072         [__ASSUME_32BITUIDS]: Make code unconditional.
32073         [!__ASSUME_32BITUIDS]: Remove conditional code.
32074         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32075         <kernel-features.h>.
32076         [__ASSUME_32BITUIDS]: Make code unconditional.
32077         [!__ASSUME_32BITUIDS]: Remove conditional code.
32078         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32079         <kernel-features.h>.
32080         [__ASSUME_32BITUIDS]: Make code unconditional.
32081         [!__ASSUME_32BITUIDS]: Remove conditional code.
32082         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32083         <kernel-features.h>.
32084         [__ASSUME_32BITUIDS]: Make code unconditional.
32085         [!__ASSUME_32BITUIDS]: Remove conditional code.
32086         * sysdeps/unix/sysv/linux/kernel-features.h
32087         (__ASSUME_SETRESUID_SYSCALL): Remove.
32088         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32089         (__ASSUME_32BITUIDS): Likewise.
32090         (__ASSUME_LDT_WORKS): Likewise.
32091         (__ASSUME_O_DIRECTORY): Likewise.
32092         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32093         architecture but not kernel version.
32094         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32095         (__ASSUME_MMAP2_SYSCALL): Likewise.
32096         (__ASSUME_STAT64_SYSCALL): Likewise.
32097         (__ASSUME_IPC64): Likewise.
32098         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32099         <kernel-features.h>.
32100         [__ASSUME_32BITUIDS]: Make code unconditional.
32101         [!__ASSUME_32BITUIDS]: Remove conditional code.
32102         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32103         <kernel-features.h>.
32104         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32105         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32106         132096]: Remove conditional code.
32107         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32108         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32109         <kernel-features.h>.
32110         [__ASSUME_32BITUIDS]: Make code unconditional.
32111         [!__ASSUME_32BITUIDS]: Remove conditional code.
32112         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32113         <kernel-features.h>.
32114         [__ASSUME_32BITUIDS]: Make code unconditional.
32115         [!__ASSUME_32BITUIDS]: Remove conditional code.
32116         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32117         <kernel-features.h>.
32118         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32119         unconditional.
32120         (__setresgid): Do not declare.
32121         [__ASSUME_32BITUIDS]: Make code unconditional.
32122         [!__ASSUME_32BITUIDS]: Remove conditional code.
32123         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32124         <kernel-features.h>.
32125         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32126         unconditional.
32127         (__setresuid): Do not declare.
32128         [__ASSUME_32BITUIDS]: Make code unconditional.
32129         [!__ASSUME_32BITUIDS]: Remove conditional code.
32130         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32131         <kernel-features.h>.
32132         [__ASSUME_32BITUIDS]: Make code unconditional.
32133         [!__ASSUME_32BITUIDS]: Remove conditional code.
32134         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32135         <kernel-features.h>.
32136         [__ASSUME_32BITUIDS]: Make code unconditional.
32137         [!__ASSUME_32BITUIDS]: Remove conditional code.
32138
32139 2012-05-25  Richard Henderson  <rth@twiddle.net>
32140
32141         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32142         dl_hwcap to ifunc resolver.
32143         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32144         elf_ifunc_invoke.
32145         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32146         dl_hwcap to ifunc resolver.
32147         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32148
32149 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32150
32151         [BZ #14153]
32152         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32153         for |x| <= 2**-26, not 2**-57.
32154         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32155         exception.
32156
32157 2012-05-24  Jeff Law  <law@redhat.com>
32158
32159         * stdio-common/Makefile (tests): Add bug25.
32160         * stdio-common/bug25.c: New test.
32161
32162 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32163
32164         [BZ #13576]
32165         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32166         multiple of MALLOC_ALIGNMENT in size.
32167         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32168
32169 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32170
32171         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32172         Require >= 256.
32173         (FILENAME_MAX): Use macro-int-constant.
32174         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32175         (_IOFBF): Use macro-int-constant.
32176         (_IOLBF): Likewise.
32177         (_IONBF): Likewise.
32178         (SEEK_CUR): Likewise.
32179         (SEEK_END): Likewise.
32180         (SEEK_SET): Likewise.
32181         (TMP_MAX): Likewise.
32182         (EOF): Use macro-int-constant.  Require < 0.
32183         (NULL): Use macro-constant.  Require == 0.
32184         (stdin): Require type to be FILE *.
32185         (stdout): Likewise.
32186         (stderr): Likewise.
32187         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32188         macro-int-constant.
32189         (EXIT_SUCCESS): Likewise.
32190         (NULL): Use macro-constant.  Require == 0.
32191         (RAND_MAX): Use macro-int-constant.
32192         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32193         [C99-based standards] (strtof): Require function.
32194         [C99-based standards] (strtold): Likewise.
32195         [C99-based standards] (strtoll): Likewise.
32196         [C99-based standards] (strtoull): Likewise.
32197         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32198         [ISO || ISO99 || ISO11] (limits.h): Likewise.
32199         [ISO || ISO99 || ISO11] (math.h): Likewise.
32200         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32201         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32202         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32203
32204 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
32205
32206         [BZ #14132]
32207         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32208         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32209         * intl/dgettext.c (DCGETTEXT): Likewise.
32210         * intl/gettext.c (DCGETTEXT): Likewise.
32211         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32212         * posix/regex_internal.h (gettext): Likewise.
32213         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32214         Remove declaration.
32215         * include/argz.h (__argz_count_internal)
32216         (__argz_stringify_internal): Remove declaration.
32217         (__argz_count, __argz_stringify): Declare hidden proto.
32218         * intl/dcgettext.c: Remove use of INTDEF.
32219         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32220         * string/argz-stringify.c: Likewise.
32221         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32222         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32223         Declare hidden proto.
32224         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32225         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32226         Declare hidden proto.
32227         * include/stdio.h (__asprintf_internal): Don't declare.
32228         (__asprintf): Don't define as macro.  Declare hidden proto.
32229         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32230         (__fsetlocking): Declare hidden proto.
32231         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32232         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32233         hidden proto.
32234         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32235         (_IO_setlinebuf): Remove use of INTUSE.
32236         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32237         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32238         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32239         Remove declaration.
32240         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32241         (_IO_do_flush): Remove use of INTUSE.
32242         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32243         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32244         (_IO_adjust_column, _IO_least_wmarker)
32245         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32246         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32247         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32248         (_IO_default_doallocate, _IO_wdefault_doallocate)
32249         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32250         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32251         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32252         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32253         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32254         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32255         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32256         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32257         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32258         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32259         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32260         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32261         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32262         proto.
32263         (_IO_flush_all_internal, _IO_adjust_column_internal)
32264         (_IO_default_uflow_internal, _IO_default_finish_internal)
32265         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32266         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32267         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32268         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32269         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32270         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32271         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32272         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32273         (_IO_file_close_internal, _IO_file_close_it_internal)
32274         (_IO_file_underflow_internal, _IO_file_overflow_internal)
32275         (_IO_file_init_internal, _IO_file_attach_internal)
32276         (_IO_file_fopen_internal, _IO_file_read_internal)
32277         (_IO_file_sync_internal, _IO_file_seek_internal)
32278         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32279         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32280         (_IO_str_underflow_internal, _IO_str_overflow_internal)
32281         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32282         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32283         (_IO_list_all_internal, _IO_link_in_internal)
32284         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32285         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32286         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32287         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32288         (_IO_do_write_internal, _IO_padn_internal)
32289         (_IO_getline_info_internal, _IO_getline_internal)
32290         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32291         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32292         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32293         (_IO_vfscanf_internal, _IO_vfprintf_internal)
32294         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32295         (_IO_init_internal, _IO_un_link_internal): Don't declare.
32296         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32297         with libc_hidden_ver, remove use of INTUSE.
32298         * libio/genops.c: Likewise.
32299         * libio/freopen.c: Likewise.
32300         * libio/freopen64.c: Likewise.
32301         * libio/iofclose.c: Likewise.
32302         * libio/iofdopen.c: Likewise.
32303         * libio/iofflush.c: Likewise.
32304         * libio/iofflush_u.c: Likewise.
32305         * libio/iofgets.c: Likewise.
32306         * libio/iofgets_u.c: Likewise.
32307         * libio/iofopen.c: Likewise.
32308         * libio/iofopncook.c: Likewise.
32309         * libio/iofread.c: Likewise.
32310         * libio/iofread_u.c: Likewise.
32311         * libio/ioftell.c: Likewise.
32312         * libio/iofwrite.c: Likewise.
32313         * libio/iogetline.c: Likewise.
32314         * libio/iogets.c: Likewise.
32315         * libio/iogetwline.c: Likewise.
32316         * libio/iopadn.c: Likewise.
32317         * libio/iopopen.c: Likewise.
32318         * libio/ioseekoff.c: Likewise.
32319         * libio/ioseekpos.c: Likewise.
32320         * libio/iosetbuffer.c: Likewise.
32321         * libio/iosetvbuf.c: Likewise.
32322         * libio/ioungetc.c: Likewise.
32323         * libio/ioungetwc.c: Likewise.
32324         * libio/iovdprintf.c: Likewise.
32325         * libio/iovsprintf.c: Likewise.
32326         * libio/iovsscanf.c: Likewise.
32327         * libio/memstream.c: Likewise.
32328         * libio/obprintf.c: Likewise.
32329         * libio/oldfileops.c: Likewise.
32330         * libio/oldiofclose.c: Likewise.
32331         * libio/oldiofdopen.c: Likewise.
32332         * libio/oldiofopen.c: Likewise.
32333         * libio/oldiopopen.c: Likewise.
32334         * libio/oldstdfiles.c: Likewise.
32335         * libio/putc.c: Likewise.
32336         * libio/setbuf.c: Likewise.
32337         * libio/setlinebuf.c: Likewise.
32338         * libio/stdfiles.c: Likewise.
32339         * libio/strops.c: Likewise.
32340         * libio/vasprintf.c: Likewise.
32341         * libio/vscanf.c: Likewise.
32342         * libio/vsnprintf.c: Likewise.
32343         * libio/vswprintf.c: Likewise.
32344         * libio/wfiledoalloc.c: Likewise.
32345         * libio/wfileops.c: Likewise.
32346         * libio/wgenops.c: Likewise.
32347         * libio/wmemstream.c: Likewise.
32348         * libio/wstrops.c: Likewise.
32349         * libio/__fpurge.c: Likewise.
32350         * libio/__fsetlocking.c: Likewise.
32351         * assert/assert.c: Likewise.
32352         * debug/fgets_chk.c: Likewise.
32353         * debug/fgets_u_chk.c: Likewise.
32354         * debug/fread_chk.c: Likewise.
32355         * debug/fread_u_chk.c: Likewise.
32356         * debug/gets_chk.c: Likewise.
32357         * debug/obprintf_chk.c: Likewise.
32358         * debug/vasprintf_chk.c: Likewise.
32359         * debug/vdprintf_chk.c: Likewise.
32360         * debug/vsnprintf_chk.c: Likewise.
32361         * debug/vsprintf_chk.c: Likewise.
32362         * malloc/mtrace.c: Likewise.
32363         * misc/error.c: Likewise.
32364         * misc/syslog.c: Likewise.
32365         * stdio-common/asprintf.c: Likewise.
32366         * stdio-common/fxprintf.c: Likewise.
32367         * stdio-common/getw.c: Likewise.
32368         * stdio-common/isoc99_fscanf.c: Likewise.
32369         * stdio-common/isoc99_scanf.c: Likewise.
32370         * stdio-common/isoc99_vfscanf.c: Likewise.
32371         * stdio-common/isoc99_vscanf.c: Likewise.
32372         * stdio-common/isoc99_vsscanf.c: Likewise.
32373         * stdio-common/printf-prs.c: Likewise.
32374         * stdio-common/printf_fp.c: Likewise.
32375         * stdio-common/printf_fphex.c: Likewise.
32376         * stdio-common/printf_size.c: Likewise.
32377         * stdio-common/putw.c: Likewise.
32378         * stdio-common/scanf.c: Likewise.
32379         * stdio-common/sprintf.c: Likewise.
32380         * stdio-common/tmpfile.c: Likewise.
32381         * stdio-common/vfprintf.c: Likewise.
32382         * stdio-common/vfscanf.c: Likewise.
32383         * stdlib/strfmon_l.c: Likewise.
32384         * sunrpc/openchild.c: Likewise.
32385         * sunrpc/xdr_stdio.c: Likewise.
32386         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32387         * sysdeps/mach/hurd/tmpfile.c: Likewise.
32388
32389 2012-05-24  Roland McGrath  <roland@hack.frob.com>
32390
32391         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32392
32393         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32394         in the third column, to generate for the shared library an IFUNC
32395         that uses _dl_vdso_vsym.
32396         * Makerules (COMPILE.c, compile-stdin.c): New variables.
32397         * Makeconfig (object-suffixes-noshared): New variable.
32398
32399         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32400         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32401         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32402         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32403
32404         [BZ #14132]
32405         * include/sys/time.h (__gettimeofday): Remove macro.
32406         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32407         * time/gettimeofday.c (__gettimeofday): Remove #undef.
32408         Remove INTDEF.
32409         (__gettimeofday): Add libc_hidden_def.
32410         (gettimeofday): Add libc_hidden_weak.
32411         * sysdeps/mach/gettimeofday.c: Likewise.
32412         * sysdeps/posix/gettimeofday.c: Likewise.
32413         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32414         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32415         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32416         (__gettimeofday_internal): Remove strong_alias.
32417         (__gettimeofday): Add libc_hidden_def.
32418         (gettimeofday): Add libc_hidden_weak.
32419         * sysdeps/unix/syscalls.list (gettimeofday):
32420         Remove __gettimeofday_internal alias.
32421
32422 2012-05-24  Daniel Jacobowitz  <drow@false.org>
32423             H.J. Lu  <hongjiu.lu@intel.com>
32424
32425         [BZ #12495]
32426         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32427         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32428         (largebin_index_32_big): New.
32429         (largebin_index): Use it for 16-byte alignment.
32430         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
32431         correction with front_misalign.
32432
32433 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32434
32435         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32437         Likewise.
32438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32439         Likewise.
32440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32441         Likewise.
32442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32443         Likewise.
32444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32445         Likewise.
32446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32447         Likewise.
32448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32449         Likewise.
32450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32451         Likewise.
32452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32453         Likewise.
32454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32455         Likewise.
32456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32457         Likewise.
32458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32459         Likewise.
32460
32461         * scripts/data/c++-types-x32-linux-gnu.data: New file.
32462         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32463
32464 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32465
32466         [BZ #10846]
32467         [BZ #14036]
32468         * math/libm-test.inc (exp_test): Add test from bug 14036.
32469         (pow_test): Add test from bug 10846.
32470
32471         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32472         and other flags.
32473         (special_function): Do not include flags in test name.
32474         (parse_args): Likewise.
32475         * sysdeps/i386/fpu/libm-test-ulps: Update.
32476         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32477         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32478         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32480
32481         * math/gen-libm-test.pl (%beautify): Add entries for underflow
32482         exceptions.
32483         * math/libm-test.inc ("Philosophy"): Update comment about
32484         exception testing.
32485         (UNDERFLOW_EXCEPTION): New macro.
32486         (UNDERFLOW_EXCEPTION_OK): Likewise.
32487         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32488         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32489         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32490         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32491         (INVALID_EXCEPTION_OK): Update value.
32492         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32493         (OVERFLOW_EXCEPTION_OK): Likewise.
32494         (IGNORE_ZERO_INF_SIGN): Likewise.
32495         (test_exceptions): Handle underflow exceptions.
32496         (acos_test): Update for underflow exception expectations.
32497         (cexp_test): Likewise.
32498         (clog_test): Likewise.
32499         (clog10_test): Likewise.
32500         (csqrt_test): Likewise.
32501         (ctan_test): Likewise.
32502         (ctanh_test): Likewise.
32503         (exp_test): Likewise.
32504         (exp10_test): Likewise.
32505         (exp2_test): Likewise.
32506         (expm1_test): Likewise.
32507         (fma_test): Likewise.
32508         (j0_test): Likewise.
32509         (jn_test): Likewise.
32510         (nexttoward_test): Likewise.
32511         (pow_test): Likewise.
32512         (scalbn_test): Likewise.
32513         (scalbln_test): Likewise.
32514         (tan_test): Likewise.
32515         (y1_test): Likewise.
32516         * sysdeps/i386/fpu/libm-test-ulps: Update.
32517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32518
32519 2012-05-23  David S. Miller  <davem@davemloft.net>
32520
32521         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32522         (__libc_sigaction): Remove unused local variables.
32523
32524 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32525
32526         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32527
32528 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
32529
32530         mktime: avoid signed integer overflow
32531         * time/mktime.c (__mktime_internal): Do not mishandle the case
32532         where diff == INT_MIN.
32533
32534         mktime: simplify computation of average
32535         * time/mktime.c (ranged_convert): Use new time_t_avg function
32536         instead of rolling our own (probably-slower) code.
32537
32538         mktime: do not assume signed right shift propagates sign bit
32539         * time/mktime.c (isdst_differ): New static function.
32540         (__mktime_internal): No need to normalize tm_isdst now.
32541         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32542         tm_isdst values.
32543
32544         mktime: merge another wrapv change from gnulib
32545         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32546         from some compilers.
32547
32548         mktime: remove incorrect attempt at unusual arithmetics
32549         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32550         The code didn't really work on such machines anyway.
32551         (TYPE_MINIMUM): Assume two's complement.
32552         (twos_complement_arithmetic): Verify that long_int and time_t
32553         are two's complement (or unsigned, in the latter case).
32554
32555         mktime: check signed shifts on long_int and time_t, too
32556         * time/mktime.c (SHR): Check that shifts work as desired
32557         on the types long_int and time_t too, as SHR is used on
32558         such types.
32559
32560         mktime: do not assume 'long' is wide enough
32561         * time/mktime.c (verify): Move decl up.
32562         (long_int): New type.
32563         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32564         to remove assumption in the code that 'long' is wide enough to
32565         store year values.  This assumption is not true on x32 and on
32566         some non-glibc platforms.
32567
32568         mktime: merge wrapv change from gnulib
32569         * time/mktime.c (WRAPV): New macro.
32570         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32571         (guess_time_tm, __mktime_internal): Do not assume that signed
32572         integer overflow wraps around; modern compilers generate code
32573         where this assumption is no longer valid.
32574
32575 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32576
32577         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32578         Replace "jmp L(pseudo_end)" with "ret".
32579         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32580         Likewise.
32581
32582 2012-05-23  Andreas Jaeger  <aj@suse.de>
32583
32584         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32585         * sysdeps/unix/sysv/linux/poll.c: Remove file.
32586
32587 2012-05-23  Andreas Jaeger  <aj@suse.de>
32588             Maximilian Attems  <max@stro.at>
32589
32590         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32591         New macros.
32592
32593 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32594
32595         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32596         code so that pseudo_end is just ret and the stack pointer is
32597         correct also for static library in error case.
32598
32599 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
32600
32601         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32602         move to syscalls.list.
32603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32607
32608         * manual/install.texi (Running make install): Do not mention Linux
32609         kernel version for which pt_chown is not needed.
32610         (Linux): Do not mention problems with nscd with 2.0 kernels.
32611         * INSTALL: Regenerated.
32612
32613 2012-05-23  Andreas Jaeger  <aj@suse.de>
32614
32615         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32616         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32617         macro.
32618         * sysdeps/unix/sysv/linux/s390/bits/mman.h
32619         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32620         * sysdeps/unix/sysv/linux/sh/bits/mman.h
32621         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32622         * sysdeps/unix/sysv/linux/i386/bits/mman.h
32623         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32624         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32625         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32626         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32627         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32628         * sysdeps/unix/sysv/linux/bits/in.h
32629         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32630
32631 2012-05-22  Roland McGrath  <roland@hack.frob.com>
32632
32633         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32634         (PREPARE_VERSION): Just use assert instead, it will be elided
32635         under [NDEBUG] anyway.
32636
32637 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32638
32639         * sysdeps/unix/sysv/linux/Makefile: Include
32640         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32641         (sysdep_routines): Remove sysctl.
32642         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32643         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32644         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32645         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32646         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32647
32648 2012-05-22  Andreas Jaeger  <aj@suse.de>
32649
32650         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32651         that pseudo_end is just ret and the stack pointer is correct also
32652         for static library in error case.
32653
32654 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32655
32656         [BZ #14122]
32657         * nss/nsswitch.c (defconfig_entries): New variable.
32658         (__nss_database_lookup): Don't leak defconfig entries.
32659         (nss_parse_service_list): Don't leak on error paths.
32660         (free_database_entries): New function.
32661         (free_defconfig): New function.
32662         (free_mem): Move common code to free_database_entries.
32663
32664 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32665
32666         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32667         Add arch_prctl.
32668         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32669
32670         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32671         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32672         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32673         New macro.
32674         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32675         (INTERNAL_SYSCALL_TYPES): Likewise.
32676         (LOAD_ARGS_TYPES_[1-6]): Likewise.
32677         (LOAD_REGS_TYPES_[1-6]): Likewise.
32678         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32679         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32680
32681 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32682
32683         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32684         copysignl for GLIBC_2_0.
32685         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32686         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32687         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32688         logbl for GLIBC_2_0.
32689         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32690         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32691
32692 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32693
32694         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32695         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32696
32697         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32698         Use "neg %eax".
32699
32700         * time/mktime.c: Update copyright years.
32701
32702 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32703
32704         mktime: merge comment-quoting-style change from gnulib
32705         * time/mktime.c: Quote 'like this' in comments.
32706         The GNU coding standards suggest that we no longer quote `like this',
32707         as "`" and "'" are typically rendered asymmetrically nowadays.
32708         The typical gnulib style is to quote 'like this' when quoting
32709         code, and "like this" when quoting English.
32710
32711         * time/mktime.c (compile-command): Add "-I.".
32712
32713         mktime: merge mktime-internal.h change from gnulib
32714         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32715
32716         mktime: merge time_r change from gnulib
32717         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32718
32719         mktime: merge DEBUG change from gnulib
32720         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32721         case system <time.h> has a #define.
32722
32723         mktime: merge <sys/types.h> change from gnulib
32724         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32725         since <time.t> is now guaranteed to define time_t.
32726
32727         mktime: merge HAVE_CONFIG_H change from gnulib
32728         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32729
32730 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32731
32732         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32733         Use "neg %eax".
32734
32735         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32736         __rlim_t cast.
32737         (struct rusage): Use anonymous union to pad each field to
32738         __syscall_slong_t.
32739
32740 2012-05-21  David S. Miller  <davem@davemloft.net>
32741
32742         * Makefules (o-iterator): Remove .s cases.
32743         (compile-command.s): Delete.
32744         (COMPILE.s): Delete.
32745         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32746
32747 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
32748
32749         * configure.in (libc_cv_predef_stack_protector): Only consider
32750         "foobar" and "__stack_chk_fail" lines in libc_undefs.
32751         * configure: Regenerated.
32752
32753 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32754
32755         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32756         New macro.  Use R*LP on int and pointer.
32757         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32758         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32759         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32760         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32761
32762         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32763         [__WORDSIZE_TIME64_COMPAT32] instead of
32764         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32765         (struct utmp): Likewise.
32766         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32767         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32768         Renamed to ...
32769         (__WORDSIZE_TIME64_COMPAT32): This.
32770         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32771         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32772         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32773         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32774         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32775         (__WORDSIZE_TIME64_COMPAT32): New macro.
32776
32777 2012-05-21  Andreas Jaeger  <aj@suse.de>
32778
32779         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32780         only if [SHARED]. Add prototype for __wcschr_ia32.
32781
32782 2012-05-21  Roland McGrath  <roland@hack.frob.com>
32783
32784         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32785         of %rbp unmolested in the jmp_buf while mangling the low bits.
32786         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32787         unmolested high bits of %rbp while demangling the low bits.
32788         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32789
32790 2012-05-21  Andreas Jaeger  <aj@suse.de>
32791
32792         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32793         * sunrpc/svc_simple.c: Use it for registerrpc.
32794         * sunrpc/xcrypt.c: Use it for passwd2des.
32795
32796         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32797
32798 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32799
32800         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32801         Don't define if [__SYSCALL_WORDSIZE != 32].
32802         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32803         New macro.
32804
32805 2012-05-21  Bruno Haible  <bruno@clisp.org>
32806             Andreas Jaeger  <aj@suse.de>
32807
32808         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32809         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32810         inptr and inend for must_buffer_ch.
32811         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32812         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32813         * stdio-common/Makefile (tests): Remove bug15.
32814         (bug15-ENV): Remove macro.
32815         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32816         anymore.
32817
32818 2012-05-19  Andreas Jaeger  <aj@suse.de>
32819             Roland McGrath  <roland@hack.frob.com>
32820
32821         * manual/contrib.texi: Completely rewritten. It contains now an
32822         alphabetical list of contributors and their contributions.
32823
32824 2012-05-21  Richard Henderson  <rth@twiddle.net>
32825
32826         * misc/getauxval.c (__getauxval): Use unsigned long int.
32827         * misc/sys/auxv.h: Include <sys/cdefs.h>.
32828         (getauxval): Use unsigned long int.
32829
32830 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32831
32832         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32833
32834 2012-05-21  Roland McGrath  <roland@hack.frob.com>
32835
32836         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32837         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32838         __alignof__ (long double).
32839
32840 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32841
32842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32843
32844 2012-05-20  Richard Henderson  <rth@twiddle.net>
32845
32846         * misc/getauxval.c: New file.
32847         * misc/sys/auxv.h: New file.
32848         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32849         (routines): Add getauxval.
32850         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32851         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32852         * elf/dl-sysdep.c (_dl_auxv): Remove.
32853         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32854         * elf/dl-support.c (_dl_auxv): New variable.
32855         (_dl_aux_init): Initialize it.
32856         * manual/startup.texi (Auxiliary Vector): New node.
32857         * sysdeps/generic/bits/hwcap.h: New file.
32858         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32859         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
32860         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32861         * sysdeps/sparc/sysdep.h: ... here.  Include it.
32862         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32863         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32865         Update.
32866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32869         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32873         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32874
32875 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32876
32877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32878
32879 2012-05-19  David S. Miller  <davem@davemloft.net>
32880
32881         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32882
32883 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32884
32885         [BZ #14123]
32886         * math/s_ccosh.c: Include <float.h>
32887         (__ccosh): Avoid internal overflow calculating sinh and cosh
32888         values before multiplying by sin and cos values.
32889         * math/s_ccoshf.c: Likewise.
32890         * math/s_ccoshl.c: Likewise.
32891         * math/s_csin.c: Likewise.
32892         * math/s_csinf.c: Likewise.
32893         * math/s_csinl.c: Likewise.
32894         * math/s_csinh.c: Likewise.
32895         * math/s_csinhf.c: Likewise.
32896         * math/s_csinhl.c: Likewise.
32897         * math/libm-test.inc (ccos_test): Add more tests.
32898         (ccosh_test): Likewise.
32899         (csin_test): Likewise.
32900         (csinh_test): Likewise.
32901         * sysdeps/i386/fpu/libm-test-ulps: Update.
32902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32903
32904 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
32905
32906         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32907         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32908
32909         * sysdeps/x86_64/x32/_itoa.h: Add comment.
32910
32911 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32912
32913         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32914         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32915         * sysdeps/powerpc/soft-fp/Versions: Likewise.
32916         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32917         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32918         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32919         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32920         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32921         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32922         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32923         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32924         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32925         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32926         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32927         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32928         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32929         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32930         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32931         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32932         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32933         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32934         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32935         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32936         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32937         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32938         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32939         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32940         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32941         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32942         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32943         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32944
32945 2012-05-18  Andreas Jaeger  <aj@suse.de>
32946
32947         * csu/.gitignore: Delete.
32948
32949 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32950
32951         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32952         (timex): Use __syscall_slong_t.
32953
32954 2012-05-18  Andreas Jaeger  <aj@suse.de>
32955             Carlos O'Donell  <carlos_odonell@mentor.com>
32956
32957         * manual/install.texi (Configuring and compiling): Update
32958         description about files modified in the source directory.
32959         * INSTALL: Regenerated.
32960
32961 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32962
32963         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32964         value.  Use "or" to set return value to -1.
32965         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32966         negate return value.
32967
32968 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32969
32970         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32971         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32972         failure if the compiler has Graphite support disabled.
32973         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32974         Likewise.
32975         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32976         (CFLAGS-memmove.c): Likewise.
32977         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32978         Likewise.
32979
32980 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32981
32982         * sysdeps/x86_64/x32/_itoa.h: New file.
32983
32984         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32985         getdents system call only if kernel and user dirents have the
32986         same d_ino and d_off.
32987
32988         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32989         LLONG_MAX != LONG_MAX.
32990         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32991         (_fitoa_word): Likewise.
32992
32993         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32994         years.
32995         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32996         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32997         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32998
32999         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33000         include <bits/wordsize.h>.  Check __x86_64__ instead of
33001         __WORDSIZE.
33002         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33003         if __x86_64__ is defined.  Use anonymous union on fpstate.
33004
33005         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33006         anonymous union.
33007
33008 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33009
33010         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33011         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33012         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33013         Refer to _rtld_local_ro instead of _rtld_global_ro.
33014         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33015         Likewise.
33016         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33017         Likewise.
33018         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33019         Likewise.
33020         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33021         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33022         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33023
33024         * sysdeps/powerpc/powerpc32/dl-machine.c
33025         (__elf_machine_runtime_setup) [PROF]: Don't reference
33026         _dl_prof_resolve.
33027
33028 2012-05-18  Andreas Jaeger  <aj@suse.de>
33029
33030         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33031         function only available for GCCs before 3.4 since GCC 3.4
33032         introduced a builtin.
33033         (lrint): Likewise.
33034         (llrintf): Likewise.
33035         (llrint): Likewise.
33036         (fmaxf): Likewise.
33037         (fmax): Likewise.
33038         (fminf): Likewise.
33039         (fmin): Likewise.
33040         (rint): Likewise.
33041         (rintf): Likewise.
33042         (nearbyint): Likewise.
33043         (nearbyintf): Likewise.
33044         (ceil): Likewise.
33045         (ceilf): Likewise.
33046         (floor): Likewise.
33047         (floorf): Likewise.
33048
33049 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33050
33051         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33052         on both fields and cast pointer to __syscall_ulong_t.
33053
33054         * bits/types.h (__fsword_t): New type.
33055         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33056         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33057         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33058         (__FSWORD_T_TYPE): Likewise.
33059         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33060         (__FSWORD_T_TYPE): Likewise.
33061         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33062         (__FSWORD_T_TYPE): Likewise.
33063         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33064         (__FSWORD_T_TYPE): Likewise.
33065         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33066         __SWORD_TYPE with __fsword_t.
33067         (statfs64): Likewise.
33068
33069 2012-05-17  David S. Miller  <davem@davemloft.net>
33070
33071         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33072
33073 2012-05-17  Andreas Jaeger  <aj@suse.de>
33074
33075         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33076         warning.
33077
33078 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33079
33080         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33081
33082 2012-05-17  Andreas Jaeger  <aj@suse.de>
33083
33084         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33085         when it is used.
33086
33087 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33088
33089         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33090
33091 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33092
33093         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33094         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33095
33096 2012-05-17  Andreas Jaeger  <aj@suse.de>
33097             Carlos O'Donell  <carlos_odonell@mentor.com>
33098
33099         [BZ #14059]
33100         * sysdeps/x86_64/multiarch/init-arch.h
33101         (bit_YMM_Usable): Rename to...
33102         (bit_AVX_Usable): ... this.
33103         (bit_FMA4_Usable): New macro.
33104         (bit_XMM_state): New macro.
33105         (bit_YMM_state): New macro.
33106         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33107         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33108         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33109         (CPUID_OSXSAVE): New macro.
33110         (CPUID_AVX): New macro.
33111         (CPUID_FMA4): New macro.
33112         (index_YMM_Usable): Rename to...
33113         (index_AVX_Usable): ... this.
33114         (HAS_AVX): Use HAS_ARCH_FEATURE.
33115         (HAS_FMA4): Likewise.
33116         (HAS_YMM_USABLE): Remove.
33117         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33118         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33119         are present.
33120         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33121         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33122         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33123         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33124         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33125
33126 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33127
33128         * math/libm-test.c: Support platforms without multiple rounding modes.
33129         * math/bug-nextafter.c: Support platforms without FP exceptions.
33130         * math/bug-nexttoward.c: Likewise.
33131         * math/test-fenv.c: Likewise.
33132         * math/test-misc.c: Likewise.
33133         * stdlib/bug-getcontext.c: Likewise.
33134
33135 2012-05-17  Andreas Jaeger  <aj@suse.de>
33136
33137         * manual/examples/search.c (critter_cmp): Change signature to
33138         avoid warnings.
33139         * manual/string.texi (Collation Functions): Likewise.
33140
33141 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33142
33143         * bits/types.h: Fold copyright years.
33144         * bits/typesizes.h: Likewise.
33145         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33146         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33147         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33148         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33149         * time/time.h: Likewise.
33150
33151 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33152
33153         [BZ #208]
33154         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33155         in instead of returning them.  Return void.
33156         (__libc_mallinfo): Accumulate over all arenas.
33157         (__malloc_stats): Adjust for change in int_mallinfo interface.
33158
33159 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33160
33161         [BZ #10375]
33162         * configure.in (NM): Add AC_CHECK_TOOL for it.
33163         (libc_extra_cflags): New substituted variable.
33164         Check for -fstack-protector being used implicitly.
33165         * configure: Regenerated.
33166         * config.make.in (config-extra-cflags): New variable,
33167         gets @libc_extra_cflags@.
33168         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33169
33170         [BZ #10375]
33171         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33172         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33173         * configure: Regenerated.
33174         * config.make.in (CPPUNDEFS): New substituted variable.
33175         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33176         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33177         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33178
33179 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33180
33181         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33182         (mq_attr): Use __syscall_slong_t.
33183
33184 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33185
33186         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33187         Check __x86_64__ instead of __WORDSIZE.
33188         (_STAT_VER_LINUX): Likewise.
33189         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33190         __syscall_ulong_t and __syscall_slong_t.
33191         (stat64): Likewise.
33192
33193 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33194
33195         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33196
33197 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33198
33199         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33200
33201 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33202
33203         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33204         __syscall_ulong_t.
33205
33206         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33207         include <bits/wordsize.h>.  Check __x86_64__ instead of
33208         __WORDSIZE.
33209         (greg_t): Use "__extension__ long long int" if __x86_64__ is
33210         defined.
33211         (mcontext_t): Replace "unsigned long" with "unsigned long long".
33212
33213         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33214         include <bits/wordsize.h>.  Check __x86_64__ instead of
33215         __WORDSIZE.
33216         (user_regs_struct): Use "__extension__ unsigned long long"
33217         instead of "unsigned long" if __x86_64__ is defined.
33218         (user): Likewise.  Pad after pointer field if __ILP32__ is
33219         defined.
33220
33221 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
33222
33223         * configure.in (makeinfo): Require version 4.5 or later.  Allow
33224         versions 5 to 9.
33225         * configure: Regenerated.
33226         * manual/install.texi (texinfo): Increase version requirement to
33227         4.5 or later.
33228         * INSTALL: Regenerated.
33229
33230         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33231
33232 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33233
33234         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33235
33236         * sysdeps/x86_64/x32/ffs.c: New file.
33237
33238         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33239         __syscall_ulong_t.
33240         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33241         defined.  Use __syscall_ulong_t.
33242         (shminfo): Use __syscall_ulong_t.
33243         (shm_info): Likewise.
33244
33245         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33246         __syscall_ulong_t.
33247
33248         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33249         <bits/wordsize.h>.
33250         (msgqnum_t): Use __syscall_ulong_t.
33251         (msglen_t): Likewise.
33252         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
33253         __syscall_ulong_t.
33254
33255         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33256         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33257
33258         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33259
33260         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33261         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33262
33263         * sysvipc/sys/msg.h (msgbuf): Replace long int with
33264         __syscall_slong_t.
33265
33266         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33267         include <bits/wordsize.h>.  Check __x86_64__ instead of
33268         __WORDSIZE.
33269
33270         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33271         "unsigned long long int" if __x86_64__ is defined.
33272         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33273
33274         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33275         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33276         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33277
33278         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33279         <stdint.h>.
33280         (GET_PC): Cast to uintptr_t first.
33281         (GET_FRAME): Likewise.
33282         (GET_STACK): Likewise.
33283
33284         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33285         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33286         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33287         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33288         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33289         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33290         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33291         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33292         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33293         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33294         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33295         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33296         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33297         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33298         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33299         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33300         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33301         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33302         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33303         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33304         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33305         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33306         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33307         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33308         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33309         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33310         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33311         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33312         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33313
33314 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
33315
33316         * Makerules (+depfiles): Also collect depfiles from .oS in
33317         $(extra-objs).
33318         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33319         .oS, $(libnldbl-routines)).
33320
33321         * Makerules (native-compile-mkdep-flags): Define.
33322         * sunrpc/Makefile (extra-objs): Add $(addprefix
33323         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33324         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33325         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
33326         calling $(make-target-directory).
33327
33328 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33329
33330         * bits/types.h (__snseconds_t): Removed.
33331         * time/time.h (struct timespec): Replace __snseconds_t with
33332         __syscall_slong_t.
33333         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33334         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33335         Likewise.
33336         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33337         (__SNSECONDS_T_TYPE): Likewise.
33338         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33339         (__SNSECONDS_T_TYPE): Likewise.
33340         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33341         (__SNSECONDS_T_TYPE): Likewise.
33342
33343 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33344
33345         * sysdeps/mach/hurd/bits/typesizes.h
33346         (__SYSCALL_SLONG_TYPE): New macro.
33347         (__SYSCALL_ULONG_TYPE): Likewise.
33348
33349 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33350
33351         * bits/types.h (__syscall_slong_t): New type.
33352         (__syscall_ulong_t): Likewise.
33353
33354         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33355         (__SYSCALL_ULONG_TYPE): Likewise.
33356         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33357         (__SYSCALL_SLONG_TYPE): Likewise.
33358         (__SYSCALL_ULONG_TYPE): Likewise.
33359         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33360         (__SYSCALL_SLONG_TYPE): Likewise.
33361         (__SYSCALL_ULONG_TYPE): Likewise.
33362         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33363         (__SYSCALL_SLONG_TYPE): Likewise.
33364         (__SYSCALL_ULONG_TYPE): Likewise.
33365
33366 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33367
33368         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33369         Add sigaltstack-offsets.sym.
33370         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33371         <sigaltstack-offsets.h>.
33372         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
33373         longjmp_msg pointer.
33374         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
33375         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33376         signal stack.
33377         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33378
33379 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33380
33381         * elf/stackguard-macros.h: Remove file.
33382         * sysdeps/generic/stackguard-macros.h: New file.
33383         * sysdeps/i386/stackguard-macros.h: Likewise.
33384         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33385         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33386         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33387         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33388         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33389         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33390         * sysdeps/x86_64/stackguard-macros.h: Likewise.
33391         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33392         <elf/stackguard-macros.h>.
33393
33394         [BZ #14109]
33395         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33396         __aligned__ in attribute.
33397         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33398         (gregset_t): Likewise.
33399
33400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33401
33402         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33403         * sysdeps/x86_64/64/Implies-after: Here.  New file.
33404         * sysdeps/x86_64/x32/Implies-after: New file.
33405
33406 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33407
33408         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33409         and access return value for _dl_profile_fixup.  Use R10_LP to
33410         load frame size.
33411
33412 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33413
33414         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33415
33416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33417
33418         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33419         * sysdeps/x86_64/x32/sysdep.h: New file.
33420
33421 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33422
33423         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33424         * sysdeps/x86_64/setjmp.S: Likewise.
33425
33426 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33427
33428         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33429         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33430         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33431         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33432         remove unused global constant.
33433
33434 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
33435
33436         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33437         include of <not-cancel.h>.
33438
33439 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33440
33441         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33442
33443 2012-05-15  Jeff Law  <law@redhat.com>
33444             Andreas Jaeger  <aj@suse.de>
33445
33446         [BZ #13594]
33447         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33448         out from...
33449         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33450         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33451         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33452         code changing __hst_map_handle.map.
33453
33454 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33455
33456         * configure.in (sysnames): Look for Implies-before and Implies-after
33457         files.
33458         * configure: Regenerated.
33459
33460 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33461
33462         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33463         8-byte data alignment with LP_SIZE alignment.
33464
33465 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33466
33467         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33468         into R10_LP.
33469
33470 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33471
33472         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33473
33474 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33475
33476         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33477         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33478         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33479         Likewise.
33480         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33481
33482 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33483
33484         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33485         (stackinfo_sub_sp): Likewise.
33486
33487 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33488
33489         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33490         RAX_LP.
33491
33492 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33493
33494         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33495         into R*_LP.
33496
33497 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33498
33499         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33500         sizes into R*_LP.
33501
33502 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33503
33504         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33505
33506 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33507
33508         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33509         into R11_LP and load __x86_64_shared_cache_size_half into
33510         R8_LP.
33511
33512 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33513
33514         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33515         R8_LP.
33516
33517 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33518
33519         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33520         logb for POWER7.
33521         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33522         logbf for POWER7.
33523         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33524         logbl for POWER7.
33525         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33526         powerpc32/power7/fpu/s_logb.c via #include.
33527         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33528         powerpc32/power7/fpu/s_logbf.c via #include.
33529         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33530         powerpc32/power7/fpu/s_logbl.c via #include.
33531
33532 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33533
33534         * README.libm: Remove file.
33535
33536 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33537
33538         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33539         count for x32.  Use R*_LP and omit operand-size suffix.
33540
33541 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33542
33543         * shlib-versions: Move x86_64-.*-linux.* entries to ...
33544         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
33545         * sysdeps/x86_64/x32/shlib-versions: New file.
33546
33547 2012-05-14  Roland McGrath  <roland@hack.frob.com>
33548
33549         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33550         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33551         Use _dl_fatal_printf instead.
33552
33553 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33554
33555         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33556         set if not set by the user.  Do not allow for being unset.
33557         * sysdeps/unix/sysv/linux/configure: Regenerated.
33558
33559 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33560
33561         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33562         the `q' suffix from lea and replace .quad with ASM_ADDR.
33563
33564 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33565
33566         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33567         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
33568         instead of $17.
33569         (PTR_DEMANGLE): Likewise.
33570
33571 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33572
33573         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33574         (LP_OP): Likewise.
33575         (ASM_ADDR): Likewise.
33576         (RAX_LP): Likewise.
33577         (RBP_LP): Likewise.
33578         (RBX_LP): Likewise.
33579         (RCX_LP): Likewise.
33580         (RDI_LP): Likewise.
33581         (RSI_LP): Likewise.
33582         (RSP_LP): Likewise.
33583         (R8_LP): Likewise.
33584         (R9_LP): Likewise.
33585         (R10_LP): Likewise.
33586         (R10_LP): Likewise.
33587         (R11_LP): Likewise.
33588         (R12_LP): Likewise.
33589         (R13_LP): Likewise.
33590         (R14_LP): Likewise.
33591         (R15_LP): Likewise.
33592
33593 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33594
33595         * sysdeps/x86_64/x32/dl-machine.h: New file.
33596
33597 2012-05-14  Andreas Jaeger  <aj@suse.de>
33598
33599         * manual/Makefile (subdir): Remove export of subdir.
33600         (all): Remove target.
33601         (.PHONY): Remove all from list.
33602         (mkinstalldirs): Remove.
33603         (.PHONY): Remove installdirs from list.
33604         ($(inst_infodir)/libc.info): Use make-target-directory.
33605         (installdirs): Remove.
33606         (subdir_%): Remove.
33607         (glibc-targets): Remove.
33608         (lib): Remove.
33609         (stubs): Remove.
33610         ($(objpfx)stubs ../po/manual.pot): Remove.
33611         ($(objpfx)stamp%): Remove.
33612         (make-target-directory): Remove.
33613         (subdir_install): Remove.
33614         (routines): Remove.
33615         (aux): Remove.
33616         (sources): Remove.
33617         (objects): Remove.
33618         (headers): Remove.
33619
33620         [BZ #13750]
33621         * manual/.gitignore: Remove, it's not needed anymore.
33622         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33623         all files in it.
33624         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33625         directory.
33626         (texis): Renamed to $(objpfx)texis.
33627         (texis-path): New, contains path to generated files.
33628         (chapters.%): Use texis-path for complete path, add extra argument
33629         libc-texinfo.sh.
33630         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33631         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33632         (summary,texi, stamp-summary): Use complete path of
33633         files. Generate files in build dir.
33634         (dir-add.texi): Build in build dir.
33635         (libm-err.texi,stamp-libm-err): Likewise.
33636         (version.texi, stamp-version): Likewise.
33637         (.%c.texi): Likewise.
33638         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33639         (mostlyclean): Remove target.
33640         (realclean): Remove target.
33641         (generated): Add new variable with contents from mostlyclean and
33642         realclean, remove entries duplicated in common-mostlyclean, add
33643         stamp-libm-err and stamp-version.
33644         (generated-dirs): Add libc directory.
33645         ($(inst_infodir)/libc.info): Install files from build dir.
33646
33647         * manual/install.texi (Configuring and compiling): Adjust since
33648         the info files are not part of the tar ball anymore.
33649
33650 2012-05-14  Andreas Jaeger  <aj@suse.de>
33651
33652         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33653         variable.
33654
33655 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33656
33657         [BZ #13717]
33658         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33659         to 2.2.0 where earlier.
33660         * sysdeps/unix/sysv/linux/configure: Regenerated.
33661         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33662         Remove conditional code.
33663         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33664         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33665         Remove conditional code.
33666         [!__NR_lchown]: Likewise.
33667         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33668         [__NR_lchown]: Likewise.
33669         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33670         comment referencing __ASSUME_LCHOWN_SYSCALL.
33671         * sysdeps/unix/sysv/linux/i386/sigaction.c
33672         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33673         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33674         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33675         Remove conditional code.
33676         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33677         (__protocol_available): Remove #if 0 code.
33678         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33679         conditional code.
33680         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33681         * sysdeps/unix/sysv/linux/kernel-features.h
33682         (__ASSUME_GETCWD_SYSCALL): Don't define.
33683         (__ASSUME_REALTIME_SIGNALS): Likewise.
33684         (__ASSUME_PREAD_SYSCALL): Likewise.
33685         (__ASSUME_PWRITE_SYSCALL): Likewise.
33686         (__ASSUME_POLL_SYSCALL): Likewise.
33687         (__ASSUME_LCHOWN_SYSCALL): Likewise.
33688         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33689         non-SPARC.
33690         (__ASSUME_SIOCGIFNAME): Don't define.
33691         (__ASSUME_MSG_NOSIGNAL): Likewise.
33692         (__ASSUME_SENDFILE): Define unconditionally.
33693         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33694         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33695         conditional code.
33696         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33697         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33698         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33699         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33700         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33701         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33702         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33704         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33705         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33707         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33708         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33710         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33711         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33713         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33714         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33716         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33717         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33719         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33720         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33722         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33723         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33725         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33726         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33727         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33728         Remove conditional code.
33729         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33730         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33731         Remove conditional code.
33732         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33733         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33734         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33735         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33736         Remove conditional code.
33737         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33738         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33739         Remove conditional code.
33740         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33741         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33742         Remove conditional code.
33743         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33744         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33745         Remove conditional code.
33746         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33747         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33748         Remove conditional code.
33749         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33750         * sysdeps/unix/sysv/linux/sh/pwrite64.c
33751         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33752         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33753         * sysdeps/unix/sysv/linux/sigaction.c
33754         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33755         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33756         * sysdeps/unix/sysv/linux/sigpending.c
33757         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33758         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33759         * sysdeps/unix/sysv/linux/sigprocmask.c
33760         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33761         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33762         * sysdeps/unix/sysv/linux/sigsuspend.c
33763         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33764         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33765         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33766         (__libc_missing_rt_sigs): Remove.
33767         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33768         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33769         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33770         Remove conditional code.
33771         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33772         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33773         return 1.
33774         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33775         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33776         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33777         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33778
33779 2012-05-14  Andreas Jaeger  <aj@suse.de>
33780
33781         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33782         it's not used in glibc.
33783         (__coshm1): Likewise.
33784         (__acosh1p): Likewise.
33785         (__sgn): Likewise.
33786
33787         * manual/string.texi (Copying and Concatenation): Add missing
33788         variable in concat example.
33789         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33790
33791 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33792
33793         [BZ #14103]
33794         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33795         __builtin_clzl with __builtin_clzll.
33796
33797 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33798
33799         [BZ #14104]
33800         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33801         libc_freeres_ptr.
33802
33803 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33804
33805         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33806         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33807         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33808         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33809
33810 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
33811
33812         * NEWS: Update ia64 info.
33813
33814 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
33815
33816         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33817         used as bcopy.
33818
33819 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
33820
33821         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33822         * sysdeps/unix/syscalls.list (dup3): Likewise.
33823         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33824         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33825
33826 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
33827
33828         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33829         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33830
33831 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
33832
33833         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33834         thread pointer.
33835         (TLS_IE): Use mov/add instead of movq/addq to load thread
33836         pointer.
33837         (TLS_GD_PREFIX): New.
33838         (TLS_GD): Use it.
33839
33840 2012-05-11  David S. Miller  <davem@davemloft.net>
33841
33842         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33843         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33844         (_FPU_SETCW): Likewise.
33845
33846 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33847
33848         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33849         is 32-byte aligned.
33850
33851 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
33852
33853         [BZ #11837]
33854         * iconvdata/gb18030.c: Update tables.
33855         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
33856         characters specially.
33857         (BODY for TO_LOOP): Add encoding of missing ranges.
33858
33859 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
33860
33861         [BZ #13673]
33862         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33863         * sysdeps/mach/hurd/dup3.c: Likewise.
33864         * sysdeps/mach/hurd/readlinkat.c: Likewise.
33865         * sysdeps/powerpc/memmove.c:: Likewise.
33866
33867 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33868
33869         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33870         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33871
33872 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33873
33874         * elf/elf.h (R_X86_64_RELATIVE64): New.
33875         (R_X86_64_NUM): Updated.
33876         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33877         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
33878         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33879         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33880         tst-quad1pie tst-quad2pie
33881         (modules-names): Add tst-quadmod1 tst-quadmod2.
33882         ($(objpfx)tst-quad1): New dependency.
33883         ($(objpfx)tst-quad2): Likewise.
33884         ($(objpfx)tst-quad1pie): Likewise.
33885         ($(objpfx)tst-quad2pie): Likewise.
33886         * sysdeps/x86_64/tst-quad1.c: New file.
33887         * sysdeps/x86_64/tst-quad1pie.c: New file.
33888         * sysdeps/x86_64/tst-quad2.c: Likewise.
33889         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33890         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33891         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33892         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33893         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33894
33895 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33896
33897         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33898         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33899         * streams/stropts.h (t_scalar_t): Define type.
33900
33901         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33902         (_PATH_PRESERVE): Set to "/var/lib".
33903         (_PATH_RWHODIR): Set to "/var/spool/rwho".
33904
33905         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33906         instead of int.
33907
33908         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33909         if __dir_mkfile succeeded.
33910
33911         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33912         checking for _hurd_dtablesize.  Unlock it right after having
33913         finished _hurd_dtable allocation.
33914
33915 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33916
33917         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33918         * sysdeps/mach/hurd/configure: Regenerated.
33919         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33920         special-casing to...
33921         * sysdeps/gnu/configure.in: ... this new file.
33922         * sysdeps/unix/sysv/linux/configure: Regenerated.
33923         * sysdeps/gnu/configure: New generated file.
33924
33925         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33926         for Linux: use nsec instead of usec, as well as:
33927         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33928         members of type struct timespec.
33929         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33930         New macros.
33931         (struct stat64): Likewise.
33932         (_STATBUF_ST_NSEC): New macro.
33933         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33934
33935         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33936         __strtoul_internal rather than strtoul.
33937
33938 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33939
33940         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33941         and reject them.
33942
33943 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33944
33945         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33946         which preserves existing values.
33947         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33948
33949 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33950
33951         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33952         TIMEOUT values.  Return EINVAL for NFDS values either negative or
33953         greater than FD_SETSIZE.
33954
33955 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33956
33957         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33958         allocated, call __vm_protect to finish enabling the existing space, and
33959         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33960         allocate the remainder.
33961
33962 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33963
33964         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33965         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
33966
33967 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33968
33969         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33970         sysdeps/mach/hurd/readlink.c.
33971
33972         * posix/tst-sysconf.c (posix_options): Only use
33973         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33974         _POSIX_SYNCHRONIZED_IO when they are defined
33975         * sysdeps/mach/hurd/bits/posix_opt.h:
33976         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33977         (_XOPEN_REALTIME): Undefine macro.
33978         (_XOPEN_REALTIME_THREADS): Undefine macro.
33979         (_XOPEN_SHM): Undefine macro.
33980         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33981         macro to -1.
33982         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33983         macro to -1.
33984         (_POSIX_ASYNC_IO): Undefine macro.
33985         (_POSIX_PRIORITIZED_IO): Undefine macro.
33986         (_POSIX_SPIN_LOCKS): Define macro to -1.
33987
33988         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33989         SA_NODEFER, SA_RESETHAND.
33990         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33991         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33992         F_DUPFD_CLOEXEC.
33993
33994 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33995
33996         * elf/Makefile (pldd-modules): Define unconditionally.
33997
33998 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33999
34000         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34001
34002 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34003
34004         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34005         Return ENOENT when name is empty.
34006         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34007
34008 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34009
34010         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34011
34012         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34013
34014 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34015
34016         Fix mlock in all cases except non-readable pages.
34017         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34018         instead of VM_PROT_ALL as parameter to __vm_wire function.
34019
34020         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34021         (__mkdir): When path is `/', just fail with EEXIST.
34022         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34023
34024 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34025
34026         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34027         <sys/uio.h> (for writev).
34028         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34029         and <sys/param.h> (for MIN).
34030
34031 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34032
34033         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34034         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34035         if interrupted.
34036
34037 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34038
34039         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34040         Depend on against $(link-rpcuserlibs).
34041
34042 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34043
34044         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34045         (__libc_stack_end): Do not use attribute_relro.
34046         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34047         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34048         to libthread-provided value.
34049         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34050         attribute_relro.
34051
34052 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34053
34054         [BZ #3748]
34055         * bits/libc-lock.h (__libc_once_get): New macro.
34056         * sysdeps/mach/bits/libc-lock.h: Likewise.
34057         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34058         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34059         instead of using implementation details.
34060
34061         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34062         * libio/freopen.c: Likewise.
34063         * libio/freopen64.c: Likewise.
34064         * misc/syslog.c: Likewise.
34065         * nscd/connections.c: Likewise.
34066         * nscd/netgroupcache.c: Likewise.
34067         * sysdeps/posix/getcwd.c: Likewise.
34068
34069 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34070
34071         * math/w_ilogbf.c: Add #include <limits.h>.
34072
34073 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34074
34075         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34076         path instead of returning without unlocking.
34077
34078         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34079         immediate-write ioctls.
34080         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34081
34082 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34083
34084         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34085         __builtin_frame_address instead of making assumptions about the
34086         location of the return address relative to DATA.  Force early load of
34087         the return address.
34088         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34089         __builtin_frame_address.
34090
34091         dup3 for GNU Hurd.
34092         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34093         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34094         implement dup3 and do some further code clean-ups.
34095         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34096         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34097
34098 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34099
34100         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34101
34102         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34103         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34104         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34105         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34106         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34107         d->port.lock.
34108
34109         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34110         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34111         when handler == SIG_ERR, not when handler != SIG_ERR.
34112
34113 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34114
34115         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34116         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34117         definitions.
34118
34119         accept4 for GNU Hurd.
34120         * include/sys/socket.h (__libc_accept4): New prototype.
34121         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34122         to implement __libc_accept4.
34123         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34124         __libc_accept4.
34125         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34126
34127         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34128         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34129         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34130         signal-defines.sym.
34131
34132 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34133
34134         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34135
34136 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34137
34138         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34139         assertion on O_CLOEXEC flag.
34140         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34141         * hurd/intern-fd.c: Likewise.
34142         * hurd/port2fd.c: Likewise.
34143
34144 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34145
34146         [BZ #3906]
34147         * bits/in.h (IPV6_PKTINFO): Define new macro.
34148         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34149
34150 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34151
34152         [BZ #13954]
34153         [BZ #13955]
34154         [BZ #13956]
34155         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34156         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34157         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34158         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34159         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34160         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34161         * math/libm-test.inc (logb_test) : Additional logb tests.
34162
34163 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34164             Andreas Jaeger  <aj@suse.de>
34165
34166         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34167         * configure: Regenerated.
34168         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34169         * config.make.in (link-obsolete-rpc): New substituted variable.
34170         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34171         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34172         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34173         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34174         so that libc.a contains the symbols.
34175         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34176         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34177         * sunrpc/auth_none.c: Likewise.
34178         * sunrpc/auth_unix.c: Likewise.
34179         * sunrpc/authdes_prot.c: Likewise.
34180         * sunrpc/authuxprot.c: Likewise.
34181         * sunrpc/clnt_gen.c: Likewise.
34182         * sunrpc/clnt_perr.c: Likewise.
34183         * sunrpc/clnt_raw.c: Likewise.
34184         * sunrpc/clnt_simp.c: Likewise.
34185         * sunrpc/clnt_tcp.c: Likewise.
34186         * sunrpc/clnt_udp.c: Likewise.
34187         * sunrpc/clnt_unix.c: Likewise.
34188         * sunrpc/des_crypt.c: Likewise.
34189         * sunrpc/des_soft.c: Likewise.
34190         * sunrpc/get_myaddr.c: Likewise.
34191         * sunrpc/key_call.c: Likewise.
34192         * sunrpc/key_prot.c: Likewise.
34193         * sunrpc/netname.c: Likewise.
34194         * sunrpc/pm_getmaps.c: Likewise.
34195         * sunrpc/pm_getport.c: Likewise.
34196         * sunrpc/pmap_clnt.c: Likewise.
34197         * sunrpc/pmap_prot.c: Likewise.
34198         * sunrpc/pmap_prot2.c: Likewise.
34199         * sunrpc/pmap_rmt.c: Likewise.
34200         * sunrpc/publickey.c: Likewise.
34201         * sunrpc/rpc_cmsg.c: Likewise.
34202         * sunrpc/rpc_common.c: Likewise.
34203         * sunrpc/rpc_dtable.c: Likewise.
34204         * sunrpc/rpc_prot.c: Likewise.
34205         * sunrpc/rpc_thread.c: Likewise.
34206         * sunrpc/rtime.c: Likewise.
34207         * sunrpc/svc.c: Likewise.
34208         * sunrpc/svc_auth.c: Likewise.
34209         * sunrpc/svc_raw.c: Likewise.
34210         * sunrpc/svc_run.c: Likewise.
34211         * sunrpc/svc_tcp.c: Likewise.
34212         * sunrpc/svc_udp.c: Likewise.
34213         * sunrpc/svc_unix.c: Likewise.
34214         * sunrpc/svcauth_des.c: Likewise.
34215         * sunrpc/xcrypt.c: Likewise.
34216         * sunrpc/xdr.c: Likewise.
34217         * sunrpc/xdr_array.c: Likewise.
34218         * sunrpc/xdr_float.c: Likewise.
34219         * sunrpc/xdr_intXX_t.c: Likewise.
34220         * sunrpc/xdr_mem.c: Likewise.
34221         * sunrpc/xdr_rec.c: Likewise.
34222         * sunrpc/xdr_ref.c: Likewise.
34223         * sunrpc/xdr_sizeof.c: Likewise.
34224         * sunrpc/xdr_stdio.c: Likewise.
34225
34226 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34227
34228         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34229         change.  Update copyright years.
34230
34231 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34232
34233         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34234
34235 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
34236             Joseph Myers  <joseph@codesourcery.com>
34237             Paul Pluzhnikov  <ppluzhnikov@google.com>
34238
34239         [BZ #14012]
34240         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34241         requiring rpcgen.
34242         [cross-compiling] (extra-libs): Likewise.
34243         [cross-compiling] (extra-libs-others): Likewise.
34244         [cross-compiling] (librpcsvc-routines): Likewise.
34245         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34246         [cross-compiling] (omit-deps): Likewise.
34247         (sunrpc-CPPFLAGS): New variable.
34248         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34249         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34250         (cross-rpcgen-objs): New variable.
34251         (extra-objs): Append $(cross-rpcgen-objs).
34252         ($(cross-rpcgen-objs)): New rule.
34253         ($(objpfx)cross-rpcgen): Likewise.
34254         (rpcgen-cmd): Define to use $(built-program-file).  Expand
34255         comment.
34256         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34257         ($(objpfx)x%.stmp): Likewise.
34258         * sunrpc/proto.h [IS_IN_build] (_): Define.
34259         [IS_IN_build] (_libc_intl_domainname): Likewise.
34260
34261 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34262
34263         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34264         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34265         and R_X86_64_TPOFF64.
34266
34267 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34268
34269         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34270         sysdeps/unix/sysv/syscalls.list.
34271         (stime): Likewise.
34272         (utime): Likewise.
34273         * sysdeps/unix/sysv/syscalls.list: Remove file.
34274
34275 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
34276
34277         [BZ #3440]
34278         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34279         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34280         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34281         (__LC_IDENTIFICATION): Make these macros useful in #if
34282         expressions, as required by C99.
34283
34284 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
34285
34286         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34287         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
34288         after this.
34289
34290 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
34291
34292         * stdlib/longlong.h: Updated from GCC.
34293
34294 2012-05-09  Andreas Jaeger  <aj@suse.de>
34295
34296         * nscd/nscd.c (run_modes): Make named enum, reorder so that
34297         default is first entry.
34298         (run_mode): Set type.
34299         (main): Remove informal message about syslog.
34300         (options): Fix typo.
34301
34302         [BZ #14053]
34303         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34304         to asm.
34305         (lrint): Likewise.
34306         (llrintf): Likewise.
34307         (llrint): Likewise.
34308         (rint): Likewise.
34309         (rintf): Likewise.
34310         (nearbyint): Likewise.
34311         (nearbyintf): Likewise.
34312
34313 2012-05-09  Andreas Jaeger  <aj@suse.de>
34314             Pedro Alves  <palves@redhat.com>
34315
34316         * nscd/nscd.c (run_mode): Use enum.
34317         (main): Cleanup coding style issue.
34318
34319 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
34320             Andreas Jaeger  <aj@suse.de>
34321
34322         * nscd/nscd.c (go_background): Replaced with...
34323         (run_mode): ... this.
34324         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34325         (options): Add -F --foreground.
34326         (main): Implement it.
34327         (parse_opt): Parse it.
34328
34329 2012-05-09  Andreas Jaeger  <aj@suse.de>
34330
34331         [BZ #14083]
34332         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34333         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34334         -Wconversion warning.
34335         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34336         Likewise.
34337
34338 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
34339
34340         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
34341         == 0.
34342         (LC_ALL): Use macro-int-constant.
34343         (LC_COLLATE): Likewise.
34344         (LC_CTYPE): Likewise.
34345         (LC_MESSAGES): Likewise.
34346         (LC_MONETARY): Likewise.
34347         (LC_NUMERIC): Likewise.
34348         (LC_TIME): Likewise.
34349         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34350         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34351         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34352         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34353         Specify type.
34354         [C99-based standards] (float_t): Expect type.
34355         [C99-based standards] (double_t): Expect type.
34356         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
34357         type.
34358         [C99-based standards] (HUGE_VALL): Likewise.
34359         [C99-based standards] (INFINITY): Likewise.
34360         [C99-based standards] (NAN): Likewise.
34361         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34362         [C99-based standards] (FP_NAN): Likewise.
34363         [C99-based standards] (FP_NORMAL): Likewise.
34364         [C99-based standards] (FP_SUBNORMAL): Likewise.
34365         [C99-based standards] (FP_ZERO): Likewise.
34366         [C99-based standards] (FP_FAST_FMA): Use
34367         optional-macro-int-constant.  Specify type.  Require == 1.
34368         [C99-based standards] (FP_FAST_FMAF): Likewise.
34369         [C99-based standards] (FP_FAST_FMAL): Likewise.
34370         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34371         [C99-based standards] (FP_ILOGBNAN): Likewise.
34372         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34373         Specify type.
34374         [C99-based standards] (MATH_ERREXCEPT): Likewise.
34375         [C99-based standards] (math_errhandling): Specify type.
34376         [ISO99 || ISO11] (signgam): Do not allow.
34377         [non-C99-based standards] (copysignf): Do not allow.
34378         [non-C99-based standards] (exp2f): Likewise.
34379         [non-C99-based standards] (log2f): Likewise.
34380         [non-C99-based standards] (modff): Allow.
34381         [non-C99-based standards] (erff): Do not allow.
34382         [non-C99-based standards] (erfcf): Likewise.
34383         [non-C99-based standards] (gammaf): Likewise.
34384         [non-C99-based standards] (hypotf): Likewise.
34385         [non-C99-based standards] (j0f): Likewise.
34386         [non-C99-based standards] (j1f): Likewise.
34387         [non-C99-based standards] (jnf): Likewise.
34388         [non-C99-based standards] (lgammaf): Likewise.
34389         [non-C99-based standards] (tgammaf): Likewise.
34390         [non-C99-based standards] (y0f): Likewise.
34391         [non-C99-based standards] (y1f): Likewise.
34392         [non-C99-based standards] (ynf): Likewise.
34393         [non-C99-based standards] (isnanf): Likewise.
34394         [non-C99-based standards] (acoshf): Likewise.
34395         [non-C99-based standards] (asinhf): Likewise.
34396         [non-C99-based standards] (atanhf): Likewise.
34397         [non-C99-based standards] (cbrtf): Likewise.
34398         [non-C99-based standards] (expm1f): Likewise.
34399         [non-C99-based standards] (ilogbf): Likewise.
34400         [non-C99-based standards] (log1pf): Likewise.
34401         [non-C99-based standards] (logbf): Likewise.
34402         [non-C99-based standards] (nextafterf): Likewise.
34403         [non-C99-based standards] (remainderf): Likewise.
34404         [non-C99-based standards] (rintf): Likewise.
34405         [non-C99-based standards] (scalbf): Likewise.
34406         [non-C99-based standards] (copysignl): Likewise.
34407         [non-C99-based standards] (exp2l): Likewise.
34408         [non-C99-based standards] (log2l): Likewise.
34409         [non-C99-based standards] (modfl): Allow.
34410         [non-C99-based standards] (erfl): Do not allow.
34411         [non-C99-based standards] (erfcl): Likewise.
34412         [non-C99-based standards] (gammal): Likewise.
34413         [non-C99-based standards] (hypotl): Likewise.
34414         [non-C99-based standards] (j0l): Likewise.
34415         [non-C99-based standards] (j1l): Likewise.
34416         [non-C99-based standards] (jnl): Likewise.
34417         [non-C99-based standards] (lgammal): Likewise.
34418         [non-C99-based standards] (tgammal): Likewise.
34419         [non-C99-based standards] (y0l): Likewise.
34420         [non-C99-based standards] (y1l): Likewise.
34421         [non-C99-based standards] (ynl): Likewise.
34422         [non-C99-based standards] (isnanl): Likewise.
34423         [non-C99-based standards] (acoshl): Likewise.
34424         [non-C99-based standards] (asinhl): Likewise.
34425         [non-C99-based standards] (atanhl): Likewise.
34426         [non-C99-based standards] (cbrtl): Likewise.
34427         [non-C99-based standards] (expm1l): Likewise.
34428         [non-C99-based standards] (ilogbl): Likewise.
34429         [non-C99-based standards] (log1pl): Likewise.
34430         [non-C99-based standards] (logbl): Likewise.
34431         [non-C99-based standards] (nextafterl): Likewise.
34432         [non-C99-based standards] (remainderl): Likewise.
34433         [non-C99-based standards] (rintl): Likewise.
34434         [non-C99-based standards] (scalbl): Likewise.
34435         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34436         [non-C99-based standards] (FP_*): Do not allow.
34437         [C99-based standards] (FP_*): Change to
34438         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34439         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34440         allow.
34441         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34442         (SIG_ERR): Likewise.
34443         [X/Open-based standards] (SIG_HOLD): Likewise.
34444         (SIG_IGN): Likewise.
34445         (SIGABRT): Use macro-int-constant.  Specify type.  Require
34446         positive value.
34447         (SIGFPE): Likewise.
34448         (SIGILL): Likewise.
34449         (SIGINT): Likewise.
34450         (SIGSEGV): Likewise.
34451         (SIGTER): Likewise.
34452         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34453         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34454         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34455         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34456         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34457         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34458         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34459         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34460         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34461         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34462         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34463         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34464         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34465         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34466         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34467         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34468         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34469         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34470         [X/Open-based standards] (SIGTRAP): Likewise.
34471         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34472         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34473         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34474         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34475         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34476         allow.
34477
34478 2012-05-08  Ian Wienand  <ianw@vmware.com>
34479
34480         [BZ #14080]
34481         * time/tzset.c (__tzset_parse_tz): Update default rules for
34482         daylight time changes in the Energy Policy Act of 2005.
34483
34484 2012-05-09  Andreas Jaeger  <aj@suse.de>
34485
34486         [BZ #13983]
34487         * elf/ldconfig.c (parse_conf): Change string to make clear that
34488         ldconfig only issued a warning if ld.so.conf does not exist.
34489
34490 2012-05-08  David S. Miller  <davem@davemloft.net>
34491
34492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34493         movxtod instead of popping the value on the stack.
34494
34495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34496
34497 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
34498
34499         * config.h.in: Add HAVE_ARM_PCS_VFP.
34500
34501 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
34502
34503         [BZ #13979]
34504         * include/features.h: Warn if user requests __FORTIFY_SOURCE
34505         checking but the checks are disabled for any reason.
34506
34507 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
34508
34509         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34510         and ELF64_R_TYPE with ELFW(R_TYPE).
34511
34512 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
34513
34514         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34515         (ulimit): Likewise.
34516
34517         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34518         (settimeofday): Likewise.
34519
34520 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
34521
34522         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
34523         a struct th_u2 inside the union, and move tu_block/tu_code into
34524         a new th_u3 union of tu_block/tu_code inside of that.  Move
34525         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
34526         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
34527         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34528         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34529         (th_stuff): Change to th_u1.tu_stuff.
34530         (th_data): Define.
34531         (th_msg): Change to th_u1.th_u2.tu_data.
34532
34533 2012-05-07  David S. Miller  <davem@davemloft.net>
34534
34535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34536
34537         [BZ #14074]
34538         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34539         (SETUP_PIC_REG): Use it.
34540         (SETUP_PIC_REG_LEAF): Use it.
34541
34542 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
34543
34544         [BZ #13885]
34545         [BZ #13923]
34546         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34547         USE_AS_EXPM1L.
34548         (EXPL_FINITE): Likewise.
34549         (FLDLOG): Likewise.
34550         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34551         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34552         e_expl.S.
34553         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34554         USE_AS_EXPM1L.
34555         (EXPL_FINITE): Likewise.
34556         (FLDLOG): Likewise.
34557         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34558         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34559         e_expl.S.
34560         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
34561         test of -max_value argument for long double.
34562         * sysdeps/i386/fpu/libm-test-ulps: Update.
34563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34564
34565 2012-05-06  David S. Miller  <davem@davemloft.net>
34566
34567         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34568         quad soft-float symbols whose references which are compiler
34569         generated.
34570         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34571
34572 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
34573
34574         [BZ #13884]
34575         [BZ #13914]
34576         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34577         USE_AS_EXP10L.
34578         (EXPL_FINITE): Likewise.
34579         (FLDLOG): Likewise.
34580         (c0): Likewise.
34581         (c1): Likewise.
34582         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34583         Adjust comments for base varying.
34584         (__expl_finite): Change alias to EXPL_FINITE.
34585         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34586         e_expl.S.
34587         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34588         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34589         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34590         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34591         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34592         USE_AS_EXP10L.
34593         (EXPL_FINITE): Likewise.
34594         (FLDLOG): Likewise.
34595         (c0): Likewise.
34596         (c1): Likewise.
34597         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34598         Adjust comments for base varying.
34599         (__expl_finite): Change alias to EXPL_FINITE.
34600         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
34601         tests for bugs.
34602         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34603
34604         [BZ #14064]
34605         * math/libm-test.inc (check_float_internal): Correct ulp
34606         calculation for subnormal expected results.
34607
34608 2012-05-06  Andreas Jaeger  <aj@suse.de>
34609
34610         * Makeconfig (+math-flags): New, set to -frounding-math.
34611         (+cflags): Add +math-flags so that all of glibc gets compiled with
34612         it.
34613
34614         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34615
34616 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
34617
34618         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34619         Disable one test.
34620
34621         [BZ #13787]
34622         [BZ #13922]
34623         [BZ #14036]
34624         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34625         (__ieee754_expl): Allow for and saturate large arguments.
34626         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34627         (u_threshold): Likewise.
34628         (__exp): Call __ieee754_exp before checking for overflow and
34629         underflow.
34630         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34631         (u_threshold): Likewise.
34632         (__expf): Call __ieee754_expf before checking for overflow and
34633         underflow.
34634         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34635         (u_threshold): Likewise.
34636         (__expl): Call __ieee754_expl before checking for overflow and
34637         underflow.
34638         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34639         (__ieee754_expl): Allow for and saturate large arguments.
34640         * math/libm-test.inc (exp_test): Add another test.  Do not allow
34641         missing overflow exception on overflow.
34642         (expm1_test): Do not allow missing overflow exception on overflow.
34643
34644         * sysdeps/i386/fpu/e_expl.c: Move to ...
34645         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
34646         rather than using inline asm.
34647         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34648         * sysdeps/x86_64/fpu/e_expl.S: Copy from
34649         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34650
34651         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34652         (nice): Likewise.
34653         (poll): Likewise.
34654         (signal): Likewise.
34655         (time): Likewise.
34656         (times): Likewise.
34657
34658 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34659
34660         * sysdeps/unix/syscalls.list (adjtime): Add entry from
34661         sysdeps/unix/common/syscalls.list.
34662         (fchmod): Likewise.
34663         (fchown): Likewise.
34664         (ftruncate): Likewise.
34665         (getrusage): Likewise.
34666         (gettimeofday): Likewise.
34667         (setpgid): Likewise.
34668         (setregid): Likewise.
34669         (setreuid): Likewise.
34670         (sigaction): Likewise.
34671         (truncate): Likewise.
34672         (vhangup): Likewise.
34673         * sysdeps/unix/common/syscalls.list: Remove file.
34674         * sysdeps/unix/bsd/Implies: Don't include unix/common.
34675         * sysdeps/unix/sysv/linux/Implies: Likewise.
34676
34677 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
34678
34679         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34681         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34682         Moved to ...
34683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34684         Here.
34685         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34686         to ...
34687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34688         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34689         to ...
34690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34691         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34692         to ...
34693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34694         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34695         to ...
34696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34697         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34698         to ...
34699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34700         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34701         to ...
34702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34703         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34704         to ...
34705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34706         Here.
34707         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34708         to ...
34709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34710         Here.
34711         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34712         to ...
34713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34714         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34715         Moved to ...
34716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34717         Here.
34718         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34719         to ...
34720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34721
34722 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34723
34724         * sysdeps/unix/common/bits/dirent.h: Remove file.
34725         * sysdeps/unix/common/bits/fcntl.h: Likewise.
34726
34727         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34728         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34729         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34730         * sysdeps/unix/bsd/isatty.c: Likewise.
34731         * sysdeps/unix/bsd/tcdrain.c: Likewise.
34732         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34733         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34734
34735 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34736
34737         [BZ #13563]
34738         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34739         long double comparison inaccuracies.
34740         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34742
34743 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
34744
34745         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34746         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34747
34748 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34749
34750         [BZ #14049]
34751         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34752         nonzero digits before rounding a hex value.
34753         * stdlib/tst-strtod.c (tests): Add another test.
34754
34755 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34756
34757         * sysdeps/s390/fpu/libm-test-ulps: Update.
34758
34759 2012-05-03  Andreas Jaeger  <aj@suse.de>
34760
34761         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34762         does not get optimized out.
34763         (malloc_opt_barrier): New.
34764
34765 2012-05-03  Andreas Jaeger  <aj@suse.de>
34766             Roland McGrath  <roland@hack.frob.com>
34767
34768         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34769         intermediate file deletion.
34770         (generated): Add .symlist files.
34771
34772 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
34773
34774         [BZ #13775]
34775         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34776         Redirect under this condition.
34777         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34778         [__USE_GNU] (__dprintf_chk): Not under this condition.
34779         [__USE_GNU] (__vdprintf_chk): Likewise.
34780         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34781         under this condition.
34782         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34783         [__USE_XOPEN2K8] (dprintf): Define under this condition.
34784         [__USE_XOPEN2K8] (vdprintf): Likewise.
34785         [__USE_GNU] (__dprintf_chk): Not under this condition.
34786         [__USE_GNU] (__vdprintf_chk): Likewise.
34787         [__USE_GNU] (dprintf): Likewise.
34788         [__USE_GNU] (vdprintf): Likewise.
34789
34790 2012-05-03  Roland McGrath  <roland@hack.frob.com>
34791
34792         * elf/Makefile (common-generated): Set this instead of generated for
34793         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
34794         $(all-built-dso)-derived lists.
34795
34796 2012-05-03  Andreas Jaeger  <aj@suse.de>
34797
34798         * sysdeps/i386/fpu/libm-test-ulps: Update.
34799
34800         * FAQ: Removed.
34801         * FAQ.in: Likewise.
34802         * scripts/gen-FAQ.pl: Likewise.
34803         * manual/install.texi (Installation): Point to online location of
34804         FAQ.
34805         * Makefile (files-for-dist): Remove FAQ.
34806         (FAQ): Remove.
34807
34808 2012-05-02  Allan McRae  <allan@archlinux.org>
34809
34810         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34811         (LDFLAGS-reldepmod5.so): Likewise.
34812         (LDFLAGS-reldep6mod1.so): Likewise.
34813         (LDFLAGS-reldep6mod4.so): Likewise.
34814         (LDFLAGS-reldep8mod3.so): Likewise.
34815         (LDFLAGS-unload4mod1.so): Likewise.
34816         (LDFLAGS-unload4mod2.so): Likewise.
34817         (LDFLAGS-tst-initorder): Likewise.
34818         (LDFLAGS-tst-initordera2.so): Likewise.
34819         (LDFLAGS-tst-initordera3.so): Likewise.
34820         (LDFLAGS-tst-initordera4.so): Likewise.
34821         (LDFLAGS-tst-initorderb2.so): Likewise.
34822         (LDFLAGS-noload): Likewise.
34823         (LDFLAGS-next): Likewise.
34824         (LDFLAGS-order2mod1.so): Likewise.
34825         (LDFLAGS-order2mod2.so): Likewise.
34826         (LDFLAGS-tst-initorder2): Likewise.
34827         (LDFLAGS-tst-initorder2a.so): Likewise.
34828         (LDFLAGS-tst-initorder2b.so): Likewise.
34829         (LDFLAGS-tst-initorder2c.so): Likewise.
34830         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34831
34832 2012-05-02  David S. Miller  <davem@davemloft.net>
34833
34834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34835
34836 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
34837
34838         [BZ #14055]
34839         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34840
34841 2012-05-02  Andreas Jaeger  <aj@suse.de>
34842
34843         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34844         since we manipulate rounding mode.
34845         (CPPFLAGS-test-idouble.c): Likewise.
34846         (CPPFLAGS-test-ifloat.c): Likewise.
34847         (CFLAGS-test-ldouble.c): Likewise.
34848         (CFLAGS-test-double.c): Likewise.
34849         (CFLAGS-test-float.c): Likewise.
34850         (CFLAGS-test-misc.c): Likewise.
34851         (CFLAGS-test-test-fenv.c): Likewise.
34852
34853 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34854
34855         [BZ #2550]
34856         [BZ #2570]
34857         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34858         comparisons to determine direction to adjust input.
34859
34860 2012-05-01  Roland McGrath  <roland@hack.frob.com>
34861
34862         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34863         output to the target.
34864
34865         * scripts/localplt.awk: New file.
34866         * elf/Makefile ($(objpfx)check-localplt): Target removed.
34867         (check-localplt-CFLAGS): Variable removed.
34868         ($(all-built-dso:=.jmprel)): New static pattern rule.
34869         (generated): Add those targets.
34870         (localplt-built-dso): New variable.
34871         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34872
34873         * elf/check-localplt.c: File removed.
34874
34875         * scripts/check-execstack.awk: New file.
34876         * elf/Makefile ($(objpfx)check-execstack): Target removed.
34877         (check-execstack-CFLAGS): Variable removed.
34878         ($(objpfx)check-execstack.h): Target removed.
34879         ($(objpfx)execstack-default): New target.
34880         (generated): Add that instead of check-execstack.h.
34881         ($(all-built-dso:=.phdr)): New static pattern rule.
34882         (generated): Add those targets.
34883         * elf/check-execstack.c: File removed.
34884
34885         * scripts/check-textrel.awk: New file.
34886         * elf/Makefile ($(objpfx)check-textrel): Target removed.
34887         (check-textrel-CFLAGS): Variable removed.
34888         (all-built-dso): Use := to define.o
34889         ($(all-built-dso:=.dyn)): New static pattern rule.
34890         (generated): Add those targets.
34891         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34892         * config.make.in (READELF): New substituted variable.
34893         * elf/check-textrel.c: File removed.
34894
34895 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34896
34897         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34898         allow.
34899         * conform/data/ctype.h-data [C99-based standards] (isblank):
34900         Expect function.
34901         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34902         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34903         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34904         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34905         Specify type.  Require positive value.
34906         (EILSEQ): Likewise.
34907         (ERANGE): Likewise.
34908         [ISO || POSIX] (EILSEQ): Do not expect.
34909         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34910         Specify type.  Require positive value.
34911         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34912         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34913         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34914         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34915         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34916         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34917         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34918         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34919         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34920         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34921         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34922         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34923         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34924         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34925         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34926         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34927         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34928         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34929         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34930         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34931         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34932         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34933         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34934         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34935         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34936         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34937         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34938         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34939         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34940         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34941         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34942         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34943         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34944         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34945         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34946         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34947         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34948         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34949         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34950         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34951         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34952         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34953         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34954         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34955         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34956         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34957         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34958         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34959         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34960         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34961         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34962         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34963         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34964         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34965         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34966         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34967         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34968         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34969         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34970         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34971         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34972         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34973         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34974         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34975         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34976         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34977         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34978         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34979         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34980         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34981         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34982         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34983         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34984         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34985         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34986         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34987         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34988         Require >= 2.
34989         (FLT_ROUNDS): Expect as macro, not constant.
34990         (FLT_MANT_DIG): Use macro-int-constant.
34991         (DBL_MANT_DIG): Likewise.
34992         (LDBL_MANT_DIG): Likewise.
34993         (FLT_DIG): Likewise.
34994         (DBL_DIG): Likewise.
34995         (LDBL_DIG): Likewise.
34996         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
34997         (DBL_MIN_EXP): Likewise.
34998         (LDBL_MIN_EXP): Likewise.
34999         (FLT_MAX_EXP): Use macro-int-constant.
35000         (DBL_MAX_EXP): Likewise.
35001         (LDBL_MAX_EXP): Likewise.
35002         (FLT_MAX_10_EXP): Likewise.
35003         (DBL_MAX_10_EXP): Likewise.
35004         (LDBL_MAX_10_EXP): Likewise.
35005         (FLT_MAX): Use macro-constant.
35006         (DBL_MAX): Likewise.
35007         (LDBL_MAX): Likewise.
35008         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35009         (DBL_EPSILON): Likewise.
35010         (LDBL_EPSILON): Likewise.
35011         (FLT_MIN): Likewise.
35012         (DBL_MIN): Likewise.
35013         (LDBL_MIN): Likewise.
35014         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35015         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35016         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35017         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35018         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35019         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35020         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35021         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35022         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35023         [ISO11] (FLT_TRUE_MIN): Likewise.
35024         [ISO11] (LDBL_TRUE_MIN): Likewise.
35025         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35026         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35027         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35028         (SCHAR_MAX): Likewise.
35029         (UCHAR_MAX): Likewise.
35030         (CHAR_MIN): Likewise.
35031         (CHAR_MAX): Likewise.
35032         (MB_LEN_MAX): Use macro-int-constant.
35033         (SHRT_MIN): Use macro-int-constant.  Specify type.
35034         (SHRT_MAX): Likewise.
35035         (USHRT_MAX): Likewise.
35036         (INT_MAX): Likewise.
35037         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35038         bound negative.
35039         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35040         bound with "U".
35041         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35042         bound with "L".
35043         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35044         bound negative.  Suffix upper bound with "L".
35045         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35046         bound with "UL".
35047         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35048         Specify type.
35049         [C99-based standards] (LLONG_MAX): Likewise.
35050         [C99-based standards] (ULLONG_MAX): Likewise.
35051         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35052         == 0.
35053         [ISO11] (max_align_t): Require type.
35054         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35055
35056         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35057         from $CFLAGS, without defining away __attribute__ calls.
35058         (checknamespace): Use $CFLAGS_namespace.
35059
35060         * conform/conformtest.pl (@keywords): Only include C99 keywords
35061         for standards based on C99 or C11.
35062
35063         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35064         Disable tests.
35065         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35066         UNIX98]: Likewise.
35067
35068         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35069         usability of symbols in #if.
35070
35071         * conform/conformtest.pl: If macro or constant types start
35072         "promoted:", expect the symbol to be of the following type
35073         promoted by the integer promotions.
35074
35075         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35076         in one place.  Also handle "macro-constant".
35077
35078         * conform/conformtest.pl: Only accept expected macro values with
35079         "==".  Parse all "macro" lines in one place.
35080         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35081
35082         * conform/conformtest.pl: Handle braced types on "constant" lines
35083         instead of handling "typed-constant".
35084         * conform/data/signal.h-data: Use "constant" instead of
35085         "typed-constant".
35086
35087         * conform/conformtest.pl: Handle "optional-" at start of lines in
35088         one place rather than duplicating several cases.  Handle each
35089         format of "macro" line with initial "optional-".
35090
35091         * conform/conformtest.pl: Only accept expected constant or
35092         optional-constant values with "==".  Parse all "constant" lines in
35093         one place.  Parse all "optional-constant" lines in one place.
35094         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35095         * conform/data/fmtmsg.h-data: Likewise.
35096         * conform/data/netinet/in.h-data: Likewise.
35097         * conform/data/tar.h-data: Likewise.
35098         * conform/data/limits.h-data: Use "==" form on "constant" and
35099         "optional-constant" lines.
35100
35101         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35102         Use -std=c99 for XOPEN2K.
35103         (@knownproblems): Remove.
35104         (newtoken): Don't check %isknown.
35105
35106         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35107         Do not expect macro.
35108         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35109         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35110         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35111         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35112         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35113         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35114         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35115         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35116         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35117         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35118         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35119         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35120         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35121         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35122         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35123         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35124         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35125         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35126         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35127         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35128         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35129         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35130         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35131         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35132         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35133         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35134         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35135         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35136         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35137         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35138         [XPG3] (acosh): Likewise.
35139         [XPG3] (asinh): Likewise.
35140         [XPG3] (atanh): Likewise.
35141         [XPG3] (cbrt): Likewise.
35142         [XPG3] (expm1): Likewise.
35143         [XPG3] (ilogb): Likewise.
35144         [XPG3] (log1p): Likewise.
35145         [XPG3] (logb): Likewise.
35146         [XPG3] (nextafter): Likewise.
35147         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35148         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35149         [XPG3] (remainder): Likewise.
35150         [XPG3] (rint): Likewise.
35151         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35152         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35153         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35154         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35155         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35156         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35157         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35158         [UNIX98 || XOPEN2K] (scalb): Expect.
35159         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35160         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35161         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35162         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35163         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35164         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35165         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35166         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35167         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35168         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35169         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35170         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35171         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35172         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35173         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35174         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35175         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35176         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35177         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35178         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35179         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35180         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35181         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35182         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35183         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35184         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35185         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35186         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35187         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35188         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35189         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35190         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35191         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35192         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35193         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35194         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35195         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35196         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35197         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35198         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35199         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35200         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35201         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35202         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35203         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35204         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35205         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35206         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35207         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35208         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35209         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35210         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35211         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35212         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35213         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35214         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35215         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35216         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35217         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35218         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35219         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35220         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35221         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35222         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35223         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35224         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35225         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35226         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35227         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35228         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35229         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35230         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35231         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35232         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35233         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35234         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35235         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35236         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35237         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35238         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35239         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35240         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35241         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35242         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35243         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35244         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35245         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35246         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35247         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35248         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35249         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35250         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35251         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35252         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35253         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35254         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35255         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35256         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35257         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35258         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35259         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35260         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35261         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35262         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35263         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35264         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35265         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35266         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35267         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35268         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35269         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35270         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35271         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35272         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35273         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35274         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35275         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35276         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35277         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35278         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35279         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35280         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35281         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35282         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35283         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35284         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35285         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35286         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35287         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35288         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35289         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35290         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35291         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35292         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35293         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35294         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35295         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35296
35297         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35298         _XOPEN_SOURCE_EXTENDED for XPG4.
35299
35300         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35301
35302         * Makeconfig (localtime): Remove variable.
35303         (inst_localtime-file): Likewise.
35304
35305 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35306
35307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35308         Update.
35309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35310         Update.
35311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35312         Update.
35313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35314         Update.
35315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35316         Update.
35317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35318         Update.
35319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35320         Update.
35321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35322         Update.
35323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35324         Update.
35325
35326 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35327
35328         [BZ #2550]
35329         [BZ #2570]
35330         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35331         comparisons to determine direction to adjust input.
35332         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35333         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35334         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35335         Likewise.
35336         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35337         Likewise.
35338         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35339         Likewise.
35340         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35341         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35342         Likewise.
35343         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35344         Likewise.
35345         * math/libm-test.inc (nexttoward_test): Add more tests.
35346
35347 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35348
35349         [BZ #14040]
35350         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35351         in version GLIBC_2.1, not GLIBC_2.0.
35352         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35353         Likewise.
35354
35355 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
35356
35357         [BZ #13942]
35358         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35359         (1 - x) * (1 + x).
35360         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35361         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35362         * math/libm-test.inc (acos_test): Add more tests.
35363         (asin_test): Likewise.
35364         * sysdeps/i386/fpu/libm-test-ulps: Update.
35365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35366
35367         [BZ #14034]
35368         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35369         of square root.
35370         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35371         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35372         * math/libm-test.inc (acos_test_tonearest): New function.
35373         (acos_test_towardzero): Likewise.
35374         (acos_test_downward): Likewise.
35375         (acos_test_upward): Likewise.
35376         (asin_test_tonearest): Likewise.
35377         (asin_test_towardzero): Likewise.
35378         (asin_test_downward): Likewise.
35379         (asin_test_upward): Likewise.
35380         (main): Call the new functions.
35381         * sysdeps/i386/fpu/libm-test-ulps: Update.
35382         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35383
35384         [BZ #13884]
35385         [BZ #13924]
35386         * math/e_exp10.c: Include <float.h>.
35387         (__ieee754_exp10): Handle underflow here rather than multiplying
35388         large negative argument by M_LN10.
35389         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35390         of __ieee754_expf.
35391         * math/e_exp10l.c: Include <float.h>.
35392         (__ieee754_exp10l): Handle underflow here rather than multiplying
35393         large negative argument by M_LN10l.
35394         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
35395         spurious overflow exception on underflow.
35396
35397 2012-04-29  Marek Polacek  <polacek@redhat.com>
35398
35399         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35400         (__fortify_function): New macro.
35401         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35402         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35403         __extern_always_inline.
35404         * libio/bits/stdio2.h: Likewise.
35405         * libio/bits/stdio.h: Likewise.
35406         * string/string.h: Likewise.
35407         * string/bits/string3.h: Likewise.
35408         * include/stdio.h: Likewise.
35409         * stdlib/bits/stdlib.h: Likewise.
35410         * stdlib/stdlib.h: Likewise.
35411         * rt/bits/mqueue2.h: Likewise.
35412         * rt/mqueue.h: Likewise.
35413         * posix/bits/unistd.h: Likewise.
35414         * posix/unistd.h: Likewise.
35415         * io/bits/poll2.h: Likewise.
35416         * io/bits/fcntl2.h: Likewise.
35417         * io/fcntl.h: Likewise.
35418         * io/sys/poll.h: Likewise.
35419         * misc/bits/syslog.h: Likewise.
35420         * misc/bits/syslog-ldbl.h: Likewise.
35421         * misc/sys/syslog.h: Likewise.
35422         * socket/bits/socket2.h: Likewise.
35423         * socket/sys/socket.h: Likewise.
35424         * debug/tst-chk1.c: Likewise.
35425         * wcsmbs/bits/wchar2.h: Likewise.
35426         * wcsmbs/bits/wchar-ldbl.h: Likewise.
35427         * wcsmbs/wchar.h: Likewise.
35428
35429 2012-04-29  Andreas Jaeger  <aj@suse.de>
35430
35431         * Makerules (tests): Remove enable-check-abi protection.
35432         (check-abi-warn): Remove.
35433         (check-abi-%): Remove check-abi-warn usage.
35434
35435         * configure.in: Remove check-abi configure option.
35436         * configure: Regenerated.
35437         * config.make.in (enable-check-abi): Remove.
35438
35439 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
35440
35441         [BZ #14033]
35442         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35443         double functions to double *_finite functions.
35444
35445         [BZ #13941]
35446         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35447         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35448         LDBL_MIN_EXP.
35449         * stdio-common/Makefile (tests): Add tst-sprintf3.
35450         * stdio-common/tst-sprintf3.c: New file.
35451
35452         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35453         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35454
35455 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35456
35457         * conform/conformtest.pl: Remove duplicate typed-constant
35458         handling.
35459
35460 2012-04-28  David S. Miller  <davem@davemloft.net>
35461
35462         * Makerules (%.abilist): Add vpath on sysdep_dirs.
35463         (check-abi-%): Remove AWK script prerequisite and explicit
35464         abilist directory.
35465         (check-abi): Rewrite to just diff the symlist with the abilist.
35466         (config-tls, config-abi-config): Delete, no longer used.
35467         (update-abi-%): Remove AWK script and explicit abilist directory.
35468         (update-abi): Rewrite to simply compare and conditionally copy the
35469         symlist and the sysdep abilist file.  Remove update-abi-config
35470         checks.
35471         * abilist/ld.abilist: Remove.
35472         * abilist/libBrokenLocale.abilist: Remove.
35473         * abilist/libanl.abilist: Remove.
35474         * abilist/libcrypt.abilist: Remove.
35475         * abilist/libdl.abilist: Remove.
35476         * abilist/librt.abilist: Remove.
35477         * abilist/libthread_db.abilist: Remove.
35478         * abilist/libutil.abilist: Remove.
35479         * scripts/extract-abilist.awk: Remove.
35480         * scripts/merge-abilist.awk: Remove.
35481         * sysdeps/generic/libcidn.abilist: New file.
35482         * sysdeps/generic/libnss_compat.abilist: New file.
35483         * sysdeps/generic/libnss_db.abilist: New file.
35484         * sysdeps/generic/libnss_dns.abilist: New file.
35485         * sysdeps/generic/libnss_files.abilist: New file.
35486         * sysdeps/generic/libnss_hesiod.abilist: New file.
35487         * sysdeps/generic/libnss_nis.abilist: New file.
35488         * sysdeps/generic/libnss_nisplus.abilist: New file.
35489         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35490         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35491         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35492         file.
35493         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35494         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35495         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35496         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35497         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35498         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35499         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35500         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35501         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35502         file.
35503         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35504         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35505         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35506         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35507         file.
35508         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35509         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35510         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35511         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35512         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35513         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35514         file.
35515         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35516         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35517         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35518         file.
35519         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35520         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35521         New file.
35522         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35523         New file.
35524         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35525         New file.
35526         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35527         New file.
35528         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35529         New file.
35530         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35531         New file.
35532         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35533         New file.
35534         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35535         New file.
35536         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35537         New file.
35538         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35539         New file.
35540         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35541         New file.
35542         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35543         New file.
35544         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35545         New file.
35546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35547         file.
35548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35549         New file.
35550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35551         New file.
35552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35553         file.
35554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35555         New file.
35556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35557         New file.
35558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35559         file.
35560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35561         New file.
35562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35563         New file.
35564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35565         New file.
35566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35567         New file.
35568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35569         New file.
35570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35571         New file.
35572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35574         file.
35575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35576         New file.
35577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35578         file.
35579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35580         file.
35581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35582         file.
35583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35584         file.
35585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35586         file.
35587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35588         New file.
35589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35590         file.
35591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35592         file.
35593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35594         New file.
35595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35596         file.
35597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35599         file.
35600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35601         New file.
35602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35603         file.
35604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35605         file.
35606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35607         file.
35608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35609         file.
35610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35611         file.
35612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35613         New file.
35614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35615         file.
35616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35617         file.
35618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35619         New file.
35620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35621         file.
35622         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35623         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35624         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35625         file.
35626         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35627         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35628         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35629         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35630         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35631         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35632         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35633         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35634         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35635         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35637         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35638         file.
35639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35640         New file.
35641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35642         file.
35643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35644         file.
35645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35646         file.
35647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35648         file.
35649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35650         file.
35651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35652         New file.
35653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35654         New file.
35655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35656         file.
35657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35658         New file.
35659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35660         file.
35661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35663         file.
35664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35665         New file.
35666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35667         file.
35668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35669         file.
35670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35671         file.
35672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35673         file.
35674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35675         file.
35676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35677         New file.
35678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35679         New file.
35680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35681         file.
35682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35683         New file.
35684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35685         file.
35686
35687 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35688
35689         * conform/conformtest.pl: Fix typo in handling typed-constant from
35690         allow-header.
35691
35692 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35693
35694         * README: Cut down references to pre-2.6 Linux kernels and
35695         Linuxthreads.  Update lists of configurations in libc and ports
35696         and sort alphabetically.  Say "or newer" with Linux kernel version
35697         requirements.
35698
35699         * config.h.in [IS_IN_build]: Allow compiling without optimization.
35700
35701 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35702
35703         [BZ #887]
35704         * math/libm-test.inc (logb_test_downward): New test to expose
35705         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35706         rounding mode.
35707
35708 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35709
35710         [BZ #14027]
35711         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35712         to be done.
35713         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35714         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35715
35716 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
35717
35718         * sysdeps/unix/i386/brk.S: Remove file.
35719         * sysdeps/unix/i386/dl-brk.S: Likewise.
35720         * sysdeps/unix/i386/pipe.S: Likewise.
35721         * sysdeps/unix/i386/sigreturn.S: Likewise.
35722         * sysdeps/unix/i386/syscall.S: Likewise.
35723         * sysdeps/unix/i386/vfork.S: Likewise.
35724         * sysdeps/unix/i386/wait.S: Likewise.
35725
35726         * sysdeps/unix/common/tcsendbrk.c: Move to ...
35727         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35728
35729         * configure.in (arm*-none*): Do not allow without
35730         --enable-hacker-mode.
35731         (netbsd*): Remove case setting base_os.
35732         (386bsd*): Likewise.
35733         (freebsd*): Likewise.
35734         (bsdi*): Likewise.
35735         (osf*): Likewise.
35736         (sunos*): Likewise.
35737         (ultrix*): Likewise.
35738         (newsos*): Likewise.
35739         (dynix*): Likewise.
35740         (*bsd*): Likewise.
35741         (sysv*): Likewise.
35742         (isc*): Likewise.
35743         (esix*): Likewise.
35744         (sco*): Likewise.
35745         (minix*): Likewise.
35746         (irix4*): Likewise.
35747         (irix6*): Likewise.
35748         (solaris[2-9]*): Likewise.
35749         (none): Likewise.
35750         * configure: Regenerated.
35751
35752 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35753
35754         [BZ #11521]
35755         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35756         overflow or cancellation in calculating denominator.
35757         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35758         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35759         down expression to avoid unexpected rounding in newer GCCs.
35760         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35761
35762 2012-04-26  David S. Miller  <davem@davemloft.net>
35763
35764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35765         long-double compat symbols.
35766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35779
35780 2012-04-25  David S. Miller  <davem@davemloft.net>
35781
35782         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35783         HWCAP_* values only after the memory barriers have been defined.
35784         (atomic_full_barrier): Define.
35785         (atomic_read_barrier): Define.
35786         (atomic_write_barrier): Define.
35787
35788 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35789
35790         * shlib-versions: Add libgcc_s version information.
35791         * sysdeps/generic/libgcc_s.h: Remove.
35792         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35793         libgcc_s.h.
35794         * sysdeps/gnu/unwind-resume.c: Likewise.
35795         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35796
35797 2012-04-25  David S. Miller  <davem@davemloft.net>
35798
35799         * sysdeps/unix/sparc/brk.S: Delete.
35800         * sysdeps/unix/sparc/dl-brk.S: Delete.
35801         * sysdeps/unix/sparc/pipe.S: Delete.
35802         * sysdeps/unix/sparc/sysdep.S: Delete.
35803         * sysdeps/unix/sparc/sysdep.h: Delete.
35804         * sysdeps/unix/sparc/vfork.S: Delete.
35805         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35806         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35807         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35808         (ret_ERRVAL, r0, r1, MOVE): Define.
35809         (JUMPTARGET): Remove.
35810         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35811         sysdeps/unix/sparc/sysdep.h
35812         (ENTRY, END): Remove.
35813         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35814
35815 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
35816
35817         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35818         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35819         -DIS_IN_build.
35820
35821         * timezone/README: Update upstream location and email address for
35822         tzcode and tzdata.
35823         * timezone/zdump.c: Update from tzcode 2012b.
35824         * timezone/zic.c: Likewise.
35825
35826         * configure.in (libc_cv_as_needed): Remove test.
35827         * configure: Regenerated.
35828         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35829         conditional definition.
35830         [$(have-as-needed) != yes] (no-as-needed): Likewise.
35831         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35832         * config.make.in (have-as-needed): Remove variable.
35833
35834 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35835             Paul Pluzhnikov  <ppluzhnikov@google.com>
35836
35837         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35838         strings correctly.
35839
35840 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
35841
35842         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35843         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35844         * sysdeps/sh/strlen.S: Likewise.
35845
35846 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35847
35848         * sysdeps/unix/fork.S: Remove file.
35849         * sysdeps/unix/i386/fork.S: Likewise.
35850         * sysdeps/unix/sparc/fork.S: Likewise.
35851
35852         * sysdeps/unix/system.c: Remove file.
35853         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35854
35855         * sysdeps/unix/getegid.S: Remove file.
35856         * sysdeps/unix/geteuid.S: Likewise.
35857
35858 2012-04-24  Roland McGrath  <roland@hack.frob.com>
35859
35860         * scripts/check-localplt.awk: New file.
35861         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35862         of diff.
35863         * scripts/data/localplt-generic.data: Add a comment.
35864
35865         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35866         NODE when __dir_mkfile failed.
35867         * sysdeps/mach/hurd/symlinkat.c: Likewise.
35868         Reported by Ludovic Courtès <ludo@gnu.org>.
35869
35870 2012-04-24  Andreas Jaeger  <aj@suse.de>
35871
35872         * Makerules (common-clean): Also remove gen-as-const-headers
35873         files.
35874
35875 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35876
35877         * Makerules (native-compile): Do not change working directory for
35878         build.  Use $(OUTPUT_OPTION) in command.
35879         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35880
35881 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35882
35883         [BZ #13886]
35884         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35885         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35886         * math/libm-test.inc (floor_test): Add more tests.
35887         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35888
35889 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35890
35891         * sysdeps/unix/getdents.c: Remove file.
35892         * sysdeps/unix/sysv/getdents.c: Likewise.
35893         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35894
35895         * sysdeps/unix/syscalls.list (madvise): Add syscall from
35896         sysdeps/unix/mman/syscalls.list.
35897         (mmap): Likewise.
35898         (mprotect): Likewise.
35899         (msync): Likewise.
35900         (munmap): Likewise.
35901         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35902         * sysdeps/unix/mman/syscalls.list: Remove.
35903         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35904
35905         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35906         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35907         * configure: Regenerated.
35908         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35909         $(libgcc_s_suffix).
35910         * config.make.in (libgcc_s_suffix): Remove variable.
35911
35912 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
35913
35914         * sysdeps/unix/sysv/gethostname.c: Move to ...
35915         * sysdeps/posix/gethostname.c: ... here.
35916
35917         * sysdeps/unix/execve.S: Remove file.
35918
35919         * sysdeps/unix/_exit.S: Remove file.
35920
35921 2012-04-23  Andreas Jaeger  <aj@suse.de>
35922
35923         [BZ #13739]
35924         * manual/Makefile: Remove make dist support, there's no
35925         need for a stand-alone documentation tar ball.
35926         (TEXI2DVI): Define always, it's not in Makeconfig.
35927         (dist): Removed.
35928         (tar-it): Removed.
35929         (edition): Removed.
35930         (glibc-doc-$(edition).tar): Removed
35931         (%.Z): Removed.
35932         (%.gz): Removed.
35933         (%.uu): Removed.
35934         (ETAGS): Remove, it's in Makeconfig.
35935         (move-if-change): Remove, it's in Makeconfig.
35936
35937 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
35938
35939         [BZ #13970]
35940         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35941         (strtod, strtof, strtold, strtol, strtoul, strtoq)
35942         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35943         (strtod_l, strtof_l, strtold_l): Remove __wur.
35944         It is not necessarily an error to ignore strtol's return value.
35945         One can reliably look at the stored endptr to decide whether
35946         the number had valid syntax.
35947
35948 2012-04-21  Andreas Jaeger  <aj@suse.de>
35949
35950         [BZ #13739]
35951         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35952
35953 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
35954
35955         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35956         * sysdeps/unix/sysv/Versions: Remove file.
35957
35958 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
35959
35960         [BZ #13927]
35961         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35962
35963 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
35964
35965         [BZ #7064]
35966         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35967         version from __vm86.
35968
35969 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
35970
35971         * sysdeps/unix/common/lxstat.c: Remove file.
35972         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35973
35974         * sysdeps/unix/sysv/Makefile: Remove file.
35975
35976         * sysdeps/unix/sysv/direct.h: Remove file.
35977
35978         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35979         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35980         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35981         * sysdeps/unix/sysv/bits/signum.h: Likewise.
35982         * sysdeps/unix/sysv/bits/stat.h: Likewise.
35983         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35984         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35985
35986         * sysdeps/unix/sysv/setrlimit.c: Remove file.
35987
35988         * sysdeps/unix/xmknod.c: Remove file.
35989         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35990
35991         * sysdeps/unix/sysv/settimeofday.c: Remove file.
35992
35993         * sysdeps/unix/sysv/i386/time.S: Remove file.
35994
35995         * sysdeps/unix/fxstat.c: Remove file.
35996         * sysdeps/unix/xstat.c: Likewise.
35997         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35998
35999         * sysdeps/unix/sysv/sigaction.c: Remove file.
36000
36001         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36002         (sysdep_headers): Remove variable.
36003         [termio.h not in sysdep_headers] (generated): Likewise.
36004         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36005         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36006         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36007         * sysdeps/unix/sysv/tcflow.c: Likewise.
36008         * sysdeps/unix/sysv/tcflush.c: Likewise.
36009         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36010         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36011         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36012         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36013         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36014
36015         * sysdeps/unix/siglist.c: Remove file.
36016
36017         * sysdeps/unix/getppid.S: Remove file.
36018
36019         * sysdeps/unix/mkdir.c: Remove file.
36020         * sysdeps/unix/rmdir.c: Likewise.
36021
36022 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36023
36024         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36025         ERR_MAX value.
36026         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36027         errlist-compat value.
36028
36029 2012-04-18  David S. Miller  <davem@davemloft.net>
36030
36031         * sysdeps/generic/memcopy.h (reg_char): Delete.
36032         * debug/strcat_chk.c: Use char, not reg_char.
36033         * debug/strcpy_chk.c: Likewise.
36034         * debug/strncat_chk.c: Likewise.
36035         * debug/strncpy_chk.c: Likewise.
36036         * string/memchr.c: Likewise.
36037         * string/memrchr.c: Likewise.
36038         * string/rawmemchr.c: Likewise.
36039         * string/strcat.c: Likewise.
36040         * string/strchr.c: Likewise.
36041         * string/strchrnul.c: Likewise.
36042         * string/strcmp.c: Likewise.
36043         * string/strcpy.c: Likewise.
36044         * string/strncat.c: Likewise.
36045         * string/strncmp.c: Likewise.
36046         * string/strncpy.c: Likewise.
36047
36048 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36049
36050         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36051         __builtin_memcopy is called when src and dest ranges are known to not
36052         overlap.
36053
36054 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36055
36056         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36057         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36058         fwd_align_merge macro call.
36059         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36060         bwd_align_merge macro call.
36061         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36062
36063 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36064
36065         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36066         bwd_align_merge macros.
36067         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36068         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36069         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36070
36071 2012-04-18  David S. Miller  <davem@davemloft.net>
36072
36073         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36074
36075 2012-04-18  Andreas Jaeger  <aj@suse.de>
36076
36077         [BZ# 6794]
36078         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36079         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36080         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36081
36082         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36083         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36084         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36085
36086         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36087         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36088         Adjust for changed ldbl-128 files.
36089
36090         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36091         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36092         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36093
36094 2012-04-17  David S. Miller  <davem@davemloft.net>
36095
36096         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36097
36098 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36099
36100         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36101         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36102         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36103         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36104         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36105         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36106
36107 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36108
36109         [BZ #6794]
36110         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36111         * math/libm-test.inc: Add ilogb errno and exception tests.
36112         * math/w_ilogb.c: New file: ilogb wrapper.
36113         * math/w_ilogbf.c: New file: ilogbf wrapper.
36114         * math/w_ilogbl.c: New file: ilogbl wrapper.
36115         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36116         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36117         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36118         exception being thrown with 0.0 as argument.
36119         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36120         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36121         exception being thrown with 0.0 as argument.
36122         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36123         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36124         exception being thrown with 0.0 as argument.
36125         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36126         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36127         exception being thrown with 0.0 as argument.
36128         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36129         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36130         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36131         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36132         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36133         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36134         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36135         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36136         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36137
36138 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36139
36140         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36141         with altivec.
36142
36143 2012-04-16  Marek Polacek  <polacek@redhat.com>
36144
36145         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36146
36147 2012-04-16  Marek Polacek  <polacek@redhat.com>
36148
36149         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36150         operands of fdivp instruction.
36151
36152 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36153
36154         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36155         * elf/tst-auditmod3b.c: Likewise.
36156         * elf/tst-auditmod4b.c: Likewise.
36157         * elf/tst-auditmod5b.c: Likewise.
36158         * elf/tst-auditmod6b.c: Likewise.
36159         * elf/tst-auditmod6c.c: Likewise.
36160         * elf/tst-auditmod7b.c: Likewise.
36161         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36162         * sysdeps/x86_64/preconfigure.in: Likewise.
36163         * sysdeps/x86_64/preconfigure: Regenerated.
36164
36165 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36166
36167         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36168         __ILP32__.
36169
36170 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36171
36172         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36173         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36174
36175 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36176
36177         [BZ #13973]
36178         * locale/iso-639.def: Fix gl language name. Spotted by
36179         Yaron Shahrabani.
36180
36181 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36182
36183         [BZ #2074]
36184         * libio/libio.h (__io_write_fn): Update comment.
36185
36186 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36187
36188         [BZ #2074]
36189         * stdio.texi (Hook Functions): The user provided writer function
36190         is not allowed to return -1.
36191
36192 2012-04-11  David S. Miller  <davem@davemloft.net>
36193
36194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36195
36196 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
36197
36198         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36199         Add a leading slash to rtkaio.
36200
36201 2012-04-11  Jim Meyering  <meyering@redhat.com>
36202
36203         [BZ #11959]
36204         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36205         It is not necessarily an error to ignore fwrite's return
36206         value.  One can reliably use ferror to test for errors after
36207         the fact.
36208
36209 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36210
36211         * bits/types.h (__snseconds_t): New type.
36212         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36213
36214         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36215         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36216         (__SNSECONDS_T_TYPE): Likewise.
36217         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36218         (__SNSECONDS_T_TYPE): Likewise.
36219         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36220         (__SNSECONDS_T_TYPE): Likewise.
36221
36222 2012-04-10  Andreas Jaeger  <aj@suse.de>
36223
36224         [BZ #2636]
36225         * manual/time.texi (Processor Time): Return type of times is
36226         elapsed real time since an arbitrary point in the past.
36227         (CPU Time): Move CLK_TCK from here...
36228         (Processor Time): ...to here.  Correct description.
36229         * manual/conf.texi (Constants for Sysconf): Correct description of
36230         _SC_CLK_TCK.
36231
36232 2012-04-10  David S. Miller  <davem@davemloft.net>
36233
36234         [BZ #13967]
36235         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36236         where the is a gap between DT_REL(A) and DT_JMPREL.
36237
36238 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36239
36240         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36241         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36242         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36243
36244 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36245
36246         * elf/dl-support.c (_dl_inhibit_cache): New variable.
36247         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36248         (dl_main): Handle --inhibit-cache.
36249         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36250         _dl_inhibit_cache.
36251         * elf/dl-load.c (_dl_map_object): Use it.
36252         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36253
36254 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36255
36256         [BZ #13872]
36257         * sysdeps/i386/fpu/e_powl.S (p78): New object.
36258         (__ieee754_powl): Saturate large exponents rather than testing for
36259         overflow of y*log2(x).
36260         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36261         * math/libm-test.inc (pow_test): Do not permit spurious overflow
36262         exceptions.
36263
36264         [BZ #11521]
36265         * math/s_ctan.c: Include <float.h>.
36266         (__ctan): Avoid internal overflow or cancellation in calculating
36267         denominator.
36268         * math/s_ctanf.c: Likewise.
36269         * math/s_ctanl.c: Likewise.
36270         * math/s_ctanh.c: Likewise.
36271         * math/s_ctanhf.c: Likewise.
36272         * math/s_ctanhl.c: Likewise.
36273         * math/libm-test.inc (ctan_test): Add more tests.
36274         (ctanh_test): Likewise.
36275         * sysdeps/i386/fpu/libm-test-ulps: Update.
36276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36277
36278 2012-04-09  Andreas Jaeger  <aj@suse.de>
36279
36280         [BZ #6894]
36281         * manual/filesys.texi (Directory Entries): Mention that d_namlen
36282         is an optional BSD extension.
36283
36284         [BZ #10254]
36285         * manual/stdio.texi (Opening Streams): Document additional fopen
36286         parameters.
36287
36288 2012-04-09  Roland McGrath  <roland@hack.frob.com>
36289
36290         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36291         %eax without telling the compiler.
36292
36293 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
36294
36295         [BZ # 13963]
36296         * manual/install.texi: Use sourceware.org.
36297
36298 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36299
36300         [BZ #13873]
36301         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36302         (__ieee754_pow): Generate overflow and underflow using huge*huge
36303         and tiny*tiny rather than just returning constant infinity or zero
36304         for large exponents.
36305         * math/libm-test.inc (pow_test): Require overflow exceptions for
36306         applicable cases of large exponents.
36307
36308         [BZ #706]
36309         * sysdeps/i386/fpu/e_pow.S (p10): New object.
36310         (__ieee754_pow): Use iterative multiplication algorithm only for
36311         integer exponents with absolute value below 1024.  Check for odd
36312         integer exponents when using algorithm for real exponents.
36313         * math/libm-test.inc (pow_test): Add more tests.
36314         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36315
36316 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
36317
36318         [BZ #13705]
36319         * math/libm-test.inc (exp_test): Do not allow overflow exception
36320         on underflow test.
36321
36322 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
36323
36324         [BZ #13705]
36325         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36326         instead of __kernel_standard_f.
36327
36328 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
36329
36330         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36331         * sysdeps/x86_64/memset_chk.S: Likewise.
36332
36333 2012-04-08  Andreas Jaeger  <aj@suse.de>
36334
36335         [BZ #10153]
36336         * manual/startup.texi (Environment Access): Describe return value
36337         for putenv and setenv.
36338
36339         [BZ #6895]
36340         * manual/filesys.texi (Directory Entries): Add description for
36341         DT_LNK.
36342
36343         [BZ #6890]
36344         * manual/filesys.texi (Directory Entries): Clarify that it's file
36345         system not operating system in the description of DT_UNKNOWN.
36346
36347         [BZ #6578]
36348         * manual/syslog.texi (closelog): Fix reference, it's openlog.
36349
36350 2012-04-08  Stephen Compall  <s11@member.fsf.org>
36351
36352         [BZ #6649]
36353         * manual/llio.texi (Opening and Closing Files): Add cross
36354         reference to explain mode argument.
36355
36356 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
36357
36358         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36359         * sysdeps/x86_64/memset_chk.S: Likewise.
36360
36361 2012-04-07  David S. Miller  <davem@davemloft.net>
36362
36363         * elf/elf.h (R_SPARC_WDISP10): Define.
36364         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36365         R_SPARC_SIZE32.
36366         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36367         R_SPARC_SIZE64 and R_SPARC_H34.
36368
36369 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
36370
36371         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36372         conditions and remove no longer applicable assertion.
36373
36374 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36375
36376         * bits/byteswap.h: Include <features.h>.
36377         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36378         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36379
36380 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36381
36382         * bits/byteswap.h (__bswap_16): Removed.
36383         Include <bits/byteswap-16.h> to get __bswap_16.
36384         * sysdeps/i386/bits/byteswap.h: Likewise.
36385         * sysdeps/s390/bits/byteswap.h: Likewise.
36386         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36387         * bits/byteswap-16.h: New file.
36388         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36389         * sysdeps/s390/bits/byteswap-16.h: Likewise.
36390         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36391         * string/Makefile (headers): Add bits/byteswap-16.h.
36392
36393 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36394
36395         [BZ #13895]
36396         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36397         extra indirection.
36398         * nss/Makefile (tests-static, tests): Add tst-nss-static.
36399         * nss/tst-nss-static.c: New.
36400
36401 2012-04-06  Robert Millan  <rmh@gnu.org>
36402
36403         [BZ #6486]
36404         * manual/llio.texi (File Position Primitive): lseek
36405         refers to WHENCE when it really means OFFSET.
36406
36407 2012-04-06  Andreas Jaeger  <aj@suse.de>
36408
36409         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36410         strncmp declarations.
36411
36412         * abilist/libc.abilist: Add __poll and __ppoll.
36413
36414 2012-04-05  David S. Miller  <davem@davemloft.net>
36415
36416         * scripts/check-local-headers.sh: Accept a host triplet in the
36417         path matched by the exclude regexp.
36418
36419         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36420         definition.
36421         * sysdeps/powerpc/powerpc32/dl-machine.h
36422         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36423         * sysdeps/s390/s390-32/dl-machine.h
36424         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36425         * sysdeps/sparc/sparc32/dl-machine.h
36426         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36427         * sysdeps/sparc/sparc64/dl-machine.h
36428         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36429
36430         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36431         lazy binding.
36432         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36433         undefined symbol errors.
36434
36435         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36436         DT_NEEDED entries.
36437
36438 2012-04-05  Michael Matz  <matz@suse.de>
36439
36440         [BZ #13592]
36441         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36442
36443 2012-04-05  Andreas Jaeger  <aj@suse.de>
36444
36445         [BZ #13908]
36446         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36447         comment.
36448
36449 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36450
36451         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36452         which ROUND is no valid rounding mode.
36453
36454 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36455
36456         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36457         read again.
36458         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36459
36460 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36461
36462         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36463         an exception using FPU order intentionally.
36464
36465 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36466
36467         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36468         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36469         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36470         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36471
36472 2012-04-05  Simon Josefsson  <simon@josefsson.org>
36473
36474         [BZ #12340]
36475         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36476         EINVAL when BUFLEN is too smal.
36477
36478 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36479
36480         [BZ #13553]
36481         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36482         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36483
36484 2012-04-03  Andreas Jaeger  <aj@suse.de>
36485
36486         [BZ #13938]
36487         * manual/setjmp.texi (System V contexts): Fix sentence.
36488
36489         [BZ #13926]
36490         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36491         New macro for this case.
36492         [!__GNUC__] (__bswap_64): New inline function for this case.
36493         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36494         * bits/byteswap.h: Likewise.
36495         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36496         ull, guard with __GLIBC_HAVE_LONG_LONG.
36497
36498         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36499         __GLIBC_HAVE_LONG_LONG.
36500
36501         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36502         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36503
36504 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36505
36506         [BZ #13691]
36507         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36508         inptr and inend, rather than using last_ch.
36509
36510 2012-04-02  David S. Miller  <davem@davemloft.net>
36511
36512         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36513         * stdio-common/printf-parse.h (read_int): Change return type to
36514         'int', return -1 on INT_MAX overflow.
36515         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36516         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
36517         overflows INT_MAX.  Check for overflow of in-format-string precision
36518         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
36519         SIZE_MAX not INT_MAX for integer overflow test.
36520         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36521         skip the construct in the format string but do not record anything.
36522         * stdio-common/bug22.c: Adjust to test both width/prevision
36523         INT_MAX overflow as well as total length INT_MAX overflow.  Check
36524         explicitly for proper errno values.
36525
36526 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36527
36528         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36529         CHAR_MAX.
36530         * string/test-strcmp.c [! WIDE]: Likewise.
36531         * time/tst-mktime2.c: Likewise for INT_MAX.
36532         * string/test-string.h: #include <sys/param.h> for MIN.
36533
36534         * csu/init-first.c (__libc_init_first): Call __ctype_init.
36535         * sysdeps/i386/init-first.c (init): Likewise.
36536         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36537         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36538         * sysdeps/sh/init-first.c (init): Likewise.
36539
36540 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
36541
36542         * po/ru.po: Update from translation team.
36543         * po/vi.po: Likewise.
36544
36545 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36546
36547         * resolv/nss_dns/dns-host.c: Merge copyright years.
36548
36549 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36550
36551         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36552         Optimize memcpy with prefetch if
36553         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
36554         src, dst pointers have unequal 16 byte alignments.
36555
36556 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36557
36558         [BZ #13928]
36559         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36560         from a CNAME entry and return the minimum ttl for the query.
36561         (gaih_getanswer_slice): Likewise.
36562
36563 2012-03-30  Jeff Law  <law@redhat.com>
36564
36565         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36566         due to long keys.
36567         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36568         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36569
36570         * resolv/nss_dns/dns-host.c: Update copyright year.
36571
36572 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
36573
36574         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36575         requests to save a system call.  Fix check that all bytes are sent.
36576
36577         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36578         comments for sendmmsg.
36579
36580 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36581
36582         [BZ #13691]
36583         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36584         with only 1 character between 0x0041 and 0x01b0.
36585         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36586         * wcsmbs/tst-mbsnrtowcs.c: New file.
36587
36588 2012-03-29  David S. Miller  <davem@davemloft.net>
36589
36590         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36591         small copies by hand.
36592
36593 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36594
36595         [BZ #13761]
36596         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36597         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36598         group memberships.
36599
36600 2012-03-28  David S. Miller  <davem@davemloft.net>
36601
36602         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36603         that branches into memcpy.
36604         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36605         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36606         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36607         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36608         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36609         bits.
36610         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36611         implementation too.
36612         * sysdeps/sparc/mempcpy.S: New file.
36613
36614         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36615         the IFUNC routine in the libc case.
36616         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36617
36618         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36619         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36620         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36621         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36622         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36623         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36624         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36625         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36626
36627         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36628         loop to 256 bytes instead of 64 bytes and fix test signedness.
36629
36630         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36631         * sysdeps/sparc/sparc32/Makefile: rather than here...
36632         * sysdeps/sparc/sparc64/Makefile: and here.
36633
36634 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
36635
36636         * malloc/mallocbug.c: Avoid warnings about unused variables.
36637
36638 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36639
36640         [BZ #13760]
36641         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36642         in the right place. Discard and retry query if response is
36643         larger than input buffer size.
36644
36645 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
36646
36647         [BZ #369]
36648         [BZ #2678]
36649         [BZ #3866]
36650         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36651         x for large integer exponent.
36652         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36653         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
36654         sign of result as needed afterwards.
36655         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36656         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36657         result for underflowing pow the same as for overflow.
36658         (__kernel_standard_l): Handle powl overflow and underflow here
36659         rather than calling __kernel_standard.
36660         * math/libm-test.inc (pow_test): Add more tests.
36661
36662         [BZ #3868]
36663         [BZ #13879]
36664         [BZ #13910]
36665         [BZ #13911]
36666         [BZ #13912]
36667         [BZ #13913]
36668         [BZ #13915]
36669         [BZ #13916]
36670         [BZ #13917]
36671         [BZ #13918]
36672         [BZ #13919]
36673         [BZ #13920]
36674         [BZ #13921]
36675         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36676         * sysdeps/ieee754/k_standard.c: Include <float.h>.
36677         (__kernel_standard_l): New function.
36678         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36679         __kernel_standard.
36680         * math/w_acosl.c (__acosl): Likewise.
36681         * math/w_asinl.c (__asinl): Likewise.
36682         * math/w_atan2l.c (__atan2l): Likewise.
36683         * math/w_atanhl.c (__atanhl): Likewise.
36684         * math/w_coshl.c (__coshl): Likewise.
36685         * math/w_exp10l.c (__exp10l): Likewise.
36686         * math/w_exp2l.c (__exp2l): Likewise.
36687         * math/w_fmodl.c (__fmodl): Likewise.
36688         * math/w_hypotl.c (__hypotl): Likewise.
36689         * math/w_j0l.c (__j0l, __y0l): Likewise.
36690         * math/w_j1l.c (__j1l, __y1l): Likewise.
36691         * math/w_jnl.c (__jnl, __ynl): Likewise.
36692         * math/w_lgammal.c (__lgammal): Likewise.
36693         * math/w_log10l.c (__log10l): Likewise.
36694         * math/w_log2l.c (__log2l): Likewise.
36695         * math/w_logl.c (__logl): Likewise.
36696         * math/w_powl.c (__powl): Likewise.
36697         * math/w_remainderl.c (__remainderl): Likewise.
36698         * math/w_scalbl.c (sysv_scalbl): Likewise.
36699         * math/w_sinhl.c (__sinhl): Likewise.
36700         * math/w_sqrtl.c (__sqrtl): Likewise.
36701         * math/w_tgammal.c (__tgammal): Likewise.
36702         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36703         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36704         * math/libm-test.inc (acos_test): Add more tests.
36705         (acosh_test): Likewise.
36706         (asin_test): Likewise.
36707         (atanh_test): Likewise.
36708         (exp_test): Likewise.
36709         (exp10_test): Likewise.
36710         (exp2_test): Likewise.
36711         (expm1_test): Likewise.
36712         (lgamma_test): Likewise.
36713         (log_test): Likewise.
36714         (log10_test): Likewise.
36715         (log1p_test): Likewise.
36716         (log2_test): Likewise.
36717         (pow_test): Do not allow some spurious overflow exceptions.
36718         (sqrt_test): Add more tests.
36719         (tgamma_test): Likewise.
36720         (y0_test): Likewise.
36721         (y1_test): Likewise.
36722         (yn_test): Likewise.
36723
36724 2012-03-27  Anton Blanchard  <anton@samba.org>
36725
36726         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36727         MAP_HUGETLB.
36728         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36729         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36730         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36731
36732 2012-03-27  David S. Miller  <davem@davemloft.net>
36733
36734         * conform/Makefile: Run run-conformtest.sh using $(BASH).
36735
36736         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36737         have-as-vis3 check.
36738
36739 2012-03-27  Andreas Jaeger  <aj@suse.de>
36740
36741         * sysdeps/x86_64/elf/configure.in: Moved to ...
36742         * sysdeps/x86_64/configure.in: ... here.
36743         * sysdeps/x86_64/elf/start.S: Moved to ...
36744         * sysdeps/x86_64/start.S: ... here.
36745         * sysdeps/x86_64/elf/configure: Delete.
36746
36747         * sysdeps/x86_64/configure.in: Merge contents from
36748         sysdeps/i386/configure.in (without i686 check).
36749
36750         * sysdeps/i386/elf/Versions: Merge into ...
36751         * sysdeps/i386/Versions: ... this.
36752         * sysdeps/i386/elf/Versions: Delete file.
36753         * sysdeps/i386/elf/start.S: Moved to ...
36754         * sysdeps/i386/start.S: ...here.
36755         * sysdeps/i386/elf/configure.in: Merge into...
36756         * sysdeps/i386/configure.in: ...here.
36757         * sysdeps/i386/elf/configure.in: Delete file.
36758         * sysdeps/i386/elf/configure: Delete file.
36759
36760         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36761         * debug/backtracesyms.c: ... here.
36762         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36763         * debug/backtracesymsfd.c: ... here.
36764         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36765         * sysdeps/generic/ifunc-sel.h: ... here.
36766
36767         * sysdeps/unix/i386/start.c: Delete file.
36768         * sysdeps/unix/sparc/start.c: Delete file.
36769         * sysdeps/unix/start.c: Delete file.
36770
36771         * sysdeps/sh/elf/configure.in: Moved to ...
36772         * sysdeps/sh/configure.in: ... here.
36773         * sysdeps/sh/elf/start.S: Moved to ...
36774         * sysdeps/sh/start.S: ... here.
36775         * sysdeps/sh/elf/configure: Delete file.
36776
36777         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36778         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36779         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36780         * sysdeps/powerpc/powerpc64/entry.h: ... here.
36781         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36782         * sysdeps/powerpc/powerpc64/start.S: here.
36783         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36784         * sysdeps/powerpc/powerpc64/Makefile: ... this.
36785         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36786         * sysdeps/powerpc/powerpc64/configure.in: ... this.
36787         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36788
36789         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36790         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36791         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36792         * sysdeps/powerpc/powerpc32/start.S: ... here.
36793         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36794         * sysdeps/powerpc/powerpc32/configure.in: ... this.
36795         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36796
36797         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36798         * sysdeps/powerpc/ifunc-sel.h: ... here.
36799         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36800         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36801
36802         * sysdeps/sparc/elf/configure.in: Moved to ...
36803         * sysdeps/sparc/configure.in: ... here.
36804         * sysdeps/sparc/elf/configure: Delete file.
36805         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36806         * sysdeps/sparc/sparc32/start.S: ... here.
36807         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36808         * sysdeps/sparc/sparc64/start.S: ... here.
36809         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36810         * sysdeps/sparc/sparc32/Makefile: ... this.
36811         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36812         * sysdeps/sparc/sparc64/Makefile: ... this.
36813
36814         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36815         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36816         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36817         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36818         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36819         * sysdeps/s390/s390-32/setjmp.S: ... here.
36820         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36821         * sysdeps/s390/s390-32/configure.in: ... here.
36822         * sysdeps/s390/s390-32/elf/configure: Delete file.
36823         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36824         * sysdeps/s390/s390-32/start.S: ... here.
36825
36826         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36827         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36828         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36829         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36830         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36831         * sysdeps/s390/s390-64/setjmp.S: ... here.
36832         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36833         * sysdeps/s390/s390-64/configure.in: ... here
36834         * sysdeps/s390/s390-64/elf/configure: Delete file.
36835         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36836         * sysdeps/s390/s390-64/start.S: ... here.
36837         * sysdeps/s390/s390-64/elf/configure: Delete.
36838
36839         * configure.in: Remove support for elf directories in sysdeps.
36840
36841         * configure: Regenerated.
36842         * sysdeps/i386/configure: Regenerated.
36843         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36844         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36845         * sysdeps/s390/s390-32/configure: Regenerated.
36846         * sysdeps/s390/s390-64/configure: Regenerated.
36847         * sysdeps/sh/configure: Regenerated.
36848         * sysdeps/sparc/configure: Regenerated.
36849         * sysdeps/x86_64/configure: Regenerated.
36850
36851 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
36852
36853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36854
36855         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36856         denormal result into account.
36857
36858 2012-03-25  Roland McGrath  <roland@hack.frob.com>
36859
36860         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36861         Reported by Allan McRae <allan@archlinux.org>.
36862
36863 2012-03-23  Jeff Law  <law@redhat.com>
36864
36865         * nss/getnssent.c (__nss_getent): Fix typo.
36866
36867 2012-03-23  David S. Miller  <davem@davemloft.net>
36868
36869         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36870
36871 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
36872
36873         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36874         to pad to uint64_t for each field.
36875         (dl_tls_index): Replace unsigned long with uint64_t.
36876
36877 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
36878         Paul Pluzhnikov  <ppluzhnikov@google.com>
36879
36880         [BZ #6528]
36881         * grp/Makefile (otherlibs): Don't set it.
36882         * inet/Makefile (otherlibs): Likewise.
36883         * login/Makefile (otherlibs): Likewise.
36884         * nscd/Makefile (otherlibs): Likewise.
36885         * posix/Makefile (otherlibs): Likewise.
36886         * pwd/Makefile (otherlibs): Likewise.
36887         * rt/Makefile (otherlibs): Likewise.
36888         * sunrpc/Makefile (otherlibs): Likewise.
36889         * nss/Makefile (otherlibs): Likewise.
36890         Add libnss_files to routines and static-only-routines.
36891         ($(objpfx)getent): Remove rule.
36892         * resolv/Makefile: Add libnss_dns and libresolv to routines and
36893         static-only-routines.
36894
36895 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36896
36897         [BZ #13892]
36898         * math/s_cexp.c: Include <float.h>.
36899         (__cexp): Handle exp result overflowing not necessarily
36900         overflowing both real and imaginary parts of result.
36901         * math/s_cexpf.c: Likewise.
36902         * math/s_cexpl.c: Likewise.
36903         * math/libm-test.inc (cexp_test): Add more tests.
36904         * sysdeps/i386/fpu/libm-test-ulps: Update.
36905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36906
36907 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36908
36909         * include/link.h (ELFW): New macro.
36910         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36911         Replace ELF64_R_TYPE with ELFW(R_TYPE).
36912
36913 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36914
36915         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36916         with uint64_t.
36917
36918 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36919
36920         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36921         declaration.
36922         (struct La_x32_retval): Likewise.
36923
36924 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36925
36926         * sysdeps/x86_64/preconfigure.in: New file.
36927         * sysdeps/x86_64/preconfigure: New generated file.
36928
36929 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36930
36931         [BZ #13824]
36932         * math/e_exp2l.c: Include <float.h>.
36933         (__ieee754_exp2l): Handle overflow and underflow cases
36934         separately.  Only pass fractional part of argument to
36935         __ieee754_expl.
36936         * math/libm-test.inc (exp2_test): Add more tests.
36937
36938         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36939         negating x to take absolute value.
36940         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36941         Likewise.
36942         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36943         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36944         Likewise.
36945         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36946         computing low part if x was negated.
36947         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36948
36949 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36950
36951         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36952         la_x32_gnu_pltexit.
36953         (pltexit): Cast int_retval to ptrdiff_t.
36954         * elf/tst-auditmod3b.c: Likewise.
36955         * elf/tst-auditmod4b.c: Likewise.
36956         * elf/tst-auditmod5b.c: Likewise.
36957         * elf/tst-auditmod6b.c: Likewise.
36958         * elf/tst-auditmod6c.c: Likewise.
36959         * elf/tst-auditmod7b.c: Likewise.
36960
36961         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36962         and x32_gnu_pltexit.
36963
36964         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36965         __ELF_NATIVE_CLASS.
36966         (La_x32_regs): New macro.
36967         (La_x32_retval): Likewise.
36968         (la_x32_gnu_pltenter): New function prototype.
36969         (la_x32_gnu_pltexit): Likewise.
36970
36971 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
36972
36973         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36974         exponent.
36975
36976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36977
36978         * configure.in (libc_cv_cc_nofma): Check for option to disable
36979         generation of FMA instructions.
36980         * configure: Regenerate.
36981         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36982         * sysdeps/ieee754/dbl-64/Makefile: New file.
36983         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36984         Remove brandred-fma4.
36985         (CFLAGS-brandred-fma4.c): Remove.
36986         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36987         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36988         define.
36989         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36990         define.
36991
36992 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36993
36994         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36995         LLONG_MAX != LONG_MAX.
36996         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36997         (_fitoa_word): Likewise.
36998         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36999         LLONG_MAX != LONG_MAX.
37000         * stdio-common/_itowa.h: Include <_itoa.h>.
37001         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37002         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37003         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37004         only if not defined.
37005         (_ITOA_WORD_TYPE): Likewise.
37006         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37007         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37008
37009 2012-03-21  David S. Miller  <davem@davemloft.net>
37010
37011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37012
37013 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37014
37015         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37016         of x86_64 when setting libc_cv_slibdir, libdir and
37017         libc_cv_localedir.
37018         * sysdeps/unix/sysv/linux/configure: Regenerated.
37019
37020 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37021
37022         * manual/lang.texi (Old Varargs): Remove section.
37023         (How Variadic): Update menu.
37024         (va_start): Do not mention varargs.h.
37025
37026 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37027             Joseph Myers  <joseph@codesourcery.com>
37028
37029         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37030         link test.
37031         * configure: Regenerated.
37032
37033 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37034
37035         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37036         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37037         conformtest.pl
37038
37039 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37040
37041         * NOTES: Remove.
37042         * Makefile (files-for-dist): Remove NOTES.
37043         (NOTES): Remove rule.
37044         * README: Don't refer to NOTES.
37045         * manual/creature.texi: Don't include macros.texi.
37046         * manual/intro.texi (creature.texi): Remove comment referring to
37047         NOTES.
37048
37049         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37050         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37051         * configure: Regenerated.
37052         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37053         LIBC_TRY_CC_OPTION.
37054         (libc_cv_as_i686): Likewise.
37055         (libc_cv_cc_avx): Likewise.
37056         (libc_cv_cc_sse2avx): Likewise.
37057         (libc_cv_cc_fma4): Likewise.
37058         (libc_cv_cc_novzeroupper): Likewise.
37059         * sysdeps/i386/configure: Regenerated.
37060
37061         [BZ #13883]
37062         * sysdeps/i386/fpu/s_cexp.S: Remove.
37063         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37064         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37065         * math/libm-test.inc (cexp_test): Add more tests.
37066         * sysdeps/i386/fpu/libm-test-ulps: Update.
37067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37068
37069 2012-03-21  Allan McRae  <allan@archlinux.org>
37070
37071         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37072
37073 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37074
37075         [BZ #13871]
37076         * math/w_exp2.c: Do not include <float.h>.
37077         (o_threshold, u_threshold): Remove.
37078         (__exp2): Calculate result before checking finiteness and calling
37079         __kernel_standard.
37080         * math/w_exp2f.c: Likewise.
37081         * math/w_exp2l.c: Likewise.
37082         * math/libm-test.inc (exp2_test): Require overflow exception for
37083         1e6 input.
37084
37085         [BZ #3866]
37086         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37087         range of signed 64-bit integers before using fistpll.  Remove
37088         checks for whether integers fit in mantissa bits.
37089         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37090         the range of signed 32-bit integers before using fistpl.  Remove
37091         checks for whether integers fit in mantissa bits.
37092         * sysdeps/i386/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         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37097         divide-by-zero is raised for zero to large negative powers.
37098         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37099         (__ieee754_powl): Test for y outside the range of signed 64-bit
37100         integers before using fistpll.  Reduce 64-bit values to 63-bit
37101         ones as needed.
37102         * math/libm-test.inc (pow_test): Add more tests.
37103
37104 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37105
37106         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37107         <stdio-common/_itoa.h>.
37108         * debug/segfault.c: Likewise.
37109         * elf/dl-cache.c: Likewise.
37110         * elf/dl-minimal.c: Likewise.
37111         * elf/dl-misc.c: Likewise.
37112         * elf/dl-sysdep.c: Likewise.
37113         * elf/dl-version.c: Likewise.
37114         * elf/rtld.c: Likewise.
37115         * hurd/hurdsock.c: Likewise.
37116         * hurd/lookup-retry.c: Likewise.
37117         * malloc/malloc.c: Likewise.
37118         * malloc/mtrace.c: Likewise.
37119         * nscd/nscd_getgr_r.c: Likewise.
37120         * nscd/nscd_getpw_r.c: Likewise.
37121         * nscd/nscd_getserv_r.c: Likewise.
37122         * posix/getopt_init.c: Likewise.
37123         * posix/wordexp.c: Likewise.
37124         * stdio-common/_itoa.c: Likewise.
37125         * stdio-common/printf_fphex.c: Likewise.
37126         * stdio-common/vfprintf.c: Likewise.
37127         * string/_strerror.c: Likewise.
37128         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37129         * sysdeps/i386/i686/hp-timing.h: Likewise.
37130         * sysdeps/mach/_strerror.c: Likewise.
37131         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37132         * sysdeps/mach/hurd/sethostid.c: Likewise.
37133         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37134         * sysdeps/mach/xpg-strerror.c: Likewise.
37135         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37136         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37137         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37138         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37139         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37140         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37141         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37142         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37143         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37144         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37145         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37146         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37147         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37148         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37149         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37150         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37151         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37152         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37153         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37154         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37155         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37156
37157         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37158
37159         * stdio-common/_itoa.h: Moved to ...
37160         * sysdeps/generic/_itoa.h: Here.
37161
37162         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37163
37164         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37165         instead of "_itoa.h" and "_itowa.h".
37166         * stdio-common/vfprintf.: Likewise.
37167
37168 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37169
37170         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37171         <bits/wordsize.h>.
37172         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37173         (__signbit): Likwise.
37174         (llrintf): Likwise.
37175         (llrint): Likwise.
37176
37177 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37178
37179         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37180         __WORDSIZE != 64.
37181
37182 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37183
37184         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37185         OVERFLOW_EXCEPTION_OK.
37186         * math/libm-test.inc ("Philosophy"): Update comment about
37187         exception testing.
37188         (OVERFLOW_EXCEPTION): Define.
37189         (OVERFLOW_EXCEPTION_OK): Likewise.
37190         (INVALID_EXCEPTION_OK): Renumber.
37191         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37192         (IGNORE_ZERO_INF_SIGN): Likewise.
37193         (test_exceptions): Handle FE_OVERFLOW.
37194         (exp10_test): Expect overflow exceptions.
37195         (exp2_test): Likewise.
37196         (expm1_test): Likewise.
37197         (nextafter_test): Likewise.
37198         (pow_test): Likewise.
37199         (scalbn_test): Likewise.
37200         (scalbln_test): Likewise.
37201
37202 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37203
37204         * sysdeps/x86_64/bits/atomic.h
37205         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37206         64bit integer.
37207         (atomic_exchange_acq): Likewise.
37208         (__arch_exchange_and_add_body): Likewise.
37209         (__arch_add_body): Likewise.
37210         (atomic_add_negative): Likewise.
37211         (atomic_add_zero): Likewise.
37212
37213 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37214
37215         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37216         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37217
37218 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37219
37220         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37221         Check __x86_64__ instead of __WORDSIZE.
37222
37223 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37224
37225         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37226
37227 2012-03-19  David S. Miller  <davem@davemloft.net>
37228
37229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37230
37231         * sysdeps/sparc/fpu/fenv_private.h: New file.
37232         * sysdeps/sparc/fpu/math_private.h: Use it.
37233         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37234         Remove.
37235         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37236         (libc_feholdexcept_setroundl): Remove.
37237         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37238         Remove.
37239         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37240         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37241
37242 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37243
37244         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37245         int64_t instead of long int.
37246         (INSERT_WORDS64): Likwise.
37247
37248 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37249
37250         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37251         _Unwind_GetCFA return to _Unwind_Ptr first.
37252
37253 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
37254
37255         [BZ #13629]
37256         * math/s_clog.c: Include <float.h>.
37257         (__clog): Scale large or subnormal inputs.
37258         * math/s_clogf.c: Likewise.
37259         * math/s_clogl.c: Likewise.
37260         * math/s_clog10.c: Include <float.h>.
37261         (M_LOG10_2): Define.
37262         (__clog10): Scale large or subnormal inputs.
37263         * math/s_clog10f.c: Likewise.
37264         * math/s_clog10l.c: Likewise.
37265         * math/libm-test.inc (clog_test): Add more tests.
37266         (clog10_test): Likewise.
37267         * sysdeps/i386/fpu/libm-test-ulps: Update.
37268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37269
37270         [BZ #11451]
37271         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37272         x and y.
37273         * math/libm-test.inc (atan2_test): Add another test.
37274
37275         * Makerules (common-objdir-compile): Remove.
37276         * sysdeps/unix/Makefile (config-generated): Do not add
37277         $(unix-generated) to variable.
37278         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37279         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37280         Remove rule.
37281         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37282         Likewise.
37283         [generic bits/local_lim.h] (before-compile): Do not append to
37284         variable.
37285         [generic bits/local_lim.h] (common-generated): Likewise.
37286         [generic sys/param.h] (before-compile): Do not append to variable.
37287         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37288         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37289         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37290         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37291         include.
37292         [generic sys/param.h] (sys/param.h-includes): Remove variable.
37293         [generic sys/param.h] (sys/param.h-includes): Remove rule.
37294         [generic sys/param.h] ($(addprefix
37295         $(common-objpfx),$(sys/param.h-includes))): Likewise.
37296         [generic sys/param.h] (common-generated): Do not append to
37297         variable.
37298         [generic sys/param.h] (sysdep_headers): Likewise.
37299         [generic bits/errno.h] (before-compile): Do not append to
37300         variable.
37301         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37302         rule.
37303         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37304         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37305         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37306         [generic bits/errno.h] (common-generated): Do not append to
37307         variable.
37308         [generic bits/ioctls.h] (before-compile): Do not append to
37309         variable.
37310         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37311         rule.
37312         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37313         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37314         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37315         rule.
37316         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37317         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37318         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37319         [generic bits/ioctls.h] (common-generated): Do not append to
37320         variable.
37321         [generic sys/syscall.h] (syscall.h): Remove variable.
37322         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37323         rule.
37324         [generic sys/syscall.h] (before-compile): Do not append to
37325         variable.
37326         [generic sys/syscall.h] (common-generated): Likewise.
37327         * sysdeps/unix/errnos-tmpl.c: Remove file.
37328         * sysdeps/unix/errnos.awk: Likewise.
37329         * sysdeps/unix/ioctls-tmpl.c: Likewise.
37330         * sysdeps/unix/ioctls.awk: Likewise.
37331         * sysdeps/unix/mk-local_lim.c: Likewise.
37332         * sysdeps/unix/snarf-ioctls: Likewise.
37333
37334 2012-03-19  Richard Henderson  <rth@twiddle.net>
37335
37336         * sysdeps/i386/fpu/fenv_private.h: New file.
37337         * sysdeps/i386/fpu/math_private.h: Use it.
37338         (math_opt_barrier, math_force_eval): Remove.
37339         (libc_feholdexcept_setround_53bit): Remove.
37340         (libc_feupdateenv_53bit): Remove.
37341         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37342         (math_opt_barrier, math_force_eval): Remove.
37343         (libc_feholdexcept): Remove.
37344         (libc_feholdexcept_setround): Remove.
37345         (libc_fetestexcept, libc_fesetenv): Remove.
37346         (libc_feupdateenv_test): Remove.
37347         (libc_feupdateenv, libc_feholdsetround): Remove.
37348         (libc_feresetround): Remove.
37349
37350         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37351         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37352
37353         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37354         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37355         (libc_feupdateenv_testl): New.
37356         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37357         (libc_feupdateenv_testf): New.
37358         (libc_feupdateenv): Use libc_feupdateenv_test.
37359         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37360         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37361
37362         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37363         (libc_feholdsetroundf, libc_feholdsetroundl): New.
37364         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37365         (libc_feresetround_noex): New.
37366         (libc_feresetround_noexf): New.
37367         (libc_feresetround_noexl): New.
37368         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37369         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37370         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37371         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37372         SET_RESTORE_ROUND.
37373         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37374         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37375         (__cos): Likewise.
37376         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37377         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37378         SET_RESTORE_ROUND_NOEX.
37379         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37380         SET_RESTORE_ROUND_NOEXF.
37381         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37382         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37383         (libc_feholdsetroundf): New.
37384         (libc_feresetround, libc_feresetroundf): New.
37385
37386         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37387         (libc_feholdexcept_setround_53bit): Convert from macro to function.
37388         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
37389
37390         * sysdeps/generic/math_private.h: Include <fenv.h>.
37391         (default_libc_feholdexcept): New.
37392         (default_libc_feholdexcept_setround): New.
37393         (default_libc_fesetenv, default_libc_feupdateenv): New.
37394         (libc_feholdexcept): Only define if undefined.
37395         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37396         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37397         (libc_feholdexcept_setroundl): Likewise.
37398         (libc_feholdexcept_setround_53bit): Likewise.
37399         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37400         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37401         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37402         (libc_feupdateenv_53bit): Likewise.
37403         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37404         (libc_feholdexcept): Convert from macro to inline function.
37405         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37406         (libc_fesetenv, libc_feupdateenv): Likewise.
37407
37408         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37409         not previously defined.
37410         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37411         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37412         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37413         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37414         * sysdeps/ieee754/flt-32/math_private.h: New file.
37415         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37416         math_private.h below SET_FLOAT_WORD.
37417         (__isnan, __isinf_ns, __finite): Remove.
37418         (__isnanf, __isinf_nsf, __finitef): Remove.
37419
37420 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
37421
37422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37423
37424 2012-03-17  David S. Miller  <davem@davemloft.net>
37425
37426         [BZ #6471]
37427         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37428         for 2.16.
37429
37430 2012-03-16  David S. Miller  <davem@davemloft.net>
37431
37432         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37433         warnings.
37434
37435         [BZ #6471]
37436         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37437         properly.
37438         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37439         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37440         sysdep_routines when subdir is sysvipc.
37441         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37442         __getshmlba helper.
37443
37444         * sysdeps/sparc/fpu/libm-test/ulps: Update.
37445
37446 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37447
37448         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37449         [__LP64__].
37450
37451 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37452
37453         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37454         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37455         (__lround): Renamed to ...
37456         (__llround): This.  Replace long int with long long int.
37457         Define lround functions as aliases of llround functions.
37458         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37459
37460 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37461
37462         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37463         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
37464         adresses to uintptr_t.  Replace "long int" and "unsigned long
37465         int" with "greg_t" on va_arg.
37466
37467 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37468
37469         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37470         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37471
37472         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37473         Move e_machine check before EI_CLASS check.  Handle x32
37474         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37475         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37476         SKIP_EM_IA_64 and include
37477         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37478
37479         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37480         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37481         (add_system_dir): New macro.
37482
37483         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37484         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37485
37486 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37487
37488         [BZ #2551]
37489         [BZ #2552]
37490         [BZ #2553]
37491         [BZ #2554]
37492         [BZ #2562]
37493         [BZ #2563]
37494         [BZ #2565]
37495         [BZ #2566]
37496         [BZ #2576]
37497         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37498         (y0): Likewise.
37499         * math/w_j0f.c (j0f): Likewise.
37500         (y0f): Likewise.
37501         * math/w_j0l.c (__j0l): Likewise.
37502         (__y0l): Likewise.
37503         * math/w_j1.c (j1): Likewise.
37504         (y1): Likewise.
37505         * math/w_j1f.c (j1f): Likewise.
37506         (y1f): Likewise.
37507         * math/w_j1l.c (__j1l): Likewise.
37508         (__y1l): Likewise.
37509         * math/w_jn.c (jn): Likewise.
37510         (yn): Likewise.
37511         * math/w_jnf.c (jnf): Likewise.
37512         (ynf): Likewise.
37513         * math/w_jnl.c (__jnl): Likewise.
37514         (__ynl): Likewise.
37515         * math/libm-test.inc (j0_test): Add more tests.
37516         (j1_test): Likewise.
37517         (jn_test): Likewise.  Add trailing semicolon to existing test.
37518         (y0_test): Likewise.
37519         (y1_test): Likewise.
37520         * sysdeps/i386/fpu/libm-test-ulps: Update.
37521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37522
37523         [BZ #13851]
37524         [BZ #13854]
37525         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37526         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37527         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37528         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37529         (__tanl): Set errno for infinite argument.
37530         * sysdeps/i386/fpu/mptan.c: Remove.
37531         * sysdeps/i386/fpu/s_tan.S: Likewise.
37532         * sysdeps/i386/fpu/s_tanl.S: Likewise.
37533         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37534         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37535         * math/libm-test.inc (tan_test): Add more tests and enable more
37536         tests for double and long double.
37537         * sysdeps/i386/fpu/libm-test-ulps: Update.
37538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37539
37540 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
37541
37542         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37543         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37544
37545 2012-03-16  Roland McGrath  <roland@hack.frob.com>
37546
37547         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37548         * configure.in: Use it for both main tree and add-ons.
37549         * configure: Regenerated.
37550
37551 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37552
37553         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37554
37555 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37556
37557         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37558         in comment.
37559
37560         [BZ #13851]
37561         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37562         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37563         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37564         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37565         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37566         infinite argument.
37567         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37568         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37569         != 0 for prec == 2.
37570         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37571         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37572         * sysdeps/i386/fpu/s_cosl.S: Likewise.
37573         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37574         * sysdeps/i386/fpu/s_sinl.S: Likewise.
37575         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37576         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37577         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37578         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37579         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37580         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37581         * math/libm-test.inc (cos_test): Add more tests and enable more
37582         tests for long double.
37583         (sin_test): Likewise.
37584         (sincos_test): Likewise.
37585         * sysdeps/i386/fpu/libm-test-ulps: Update.
37586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37587
37588 2012-03-16  David S. Miller  <davem@davemloft.net>
37589
37590         * sysdeps/sparc/fpu/math_private.h: New file.
37591
37592 2012-03-15  David S. Miller  <davem@davemloft.net>
37593
37594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37595         file.
37596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37598         file.
37599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37600         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37601         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37602         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37603         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37604         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37605         sysdep routines.
37606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37607
37608         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37609         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37610
37611         * sysdeps/sparc/sparc-ifunc.h: New file.
37612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37613         sparc-ifunc.h
37614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37616         Likewise.
37617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37618         Likewise.
37619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37623         Likewise.
37624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37629         Likewise.
37630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37631         Likewise.
37632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37636         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37637         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37638         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37639         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37640         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37641         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37642         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37643         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37644         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37645         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37646         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37647         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37648         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37649         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37650         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37651         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37652         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37653         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37654         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37655         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37656
37657 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37658
37659         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37660         scaling.
37661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37662
37663 2012-03-15  Andreas Jaeger  <aj@suse.de>
37664
37665         [BZ #13852]
37666         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37667         ieee754/flt-32 implementation for sin, cos and sincos.
37668         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37669         * sysdeps/i386/fpu/s_cosf.S: Likewise.
37670         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37671         * sysdeps/i386/fpu/s_sinf.S: Likewise.
37672         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37673         ieee754/flt-32 implementation for tan.
37674
37675         * math/libm-test.inc (cos_test): Enable some large input tests for
37676         float as well
37677         (sin_test): Likewise.
37678         (sincos_test): Likewise.
37679         (tan_test): Add tests for large input.
37680
37681         * sysdeps/i386/fpu/libm-test-ulps: Update.
37682
37683 2012-03-15  Andreas Jaeger  <aj@suse.de>
37684
37685         [BZ #13658]
37686         * math/libm-test.inc (cos_test): Add more test cases.
37687         (sin_test): Likewise.
37688         (sincos_test): Likewise.
37689
37690 2012-03-15  Andreas Jaeger  <aj@suse.de>
37691
37692         [BZ #13837]
37693         * math/libm-test.inc (cos_test): Add a test case for large input
37694         value.
37695         (sin_test): Likewise.
37696         (sincos_test): Likewise.
37697
37698 2012-03-15  Andreas Jaeger  <aj@suse.de>
37699             Joseph Myers  <joseph@codesourcery.com>
37700
37701         [BZ #13658]
37702         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37703         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37704         * sysdeps/i386/fpu/branred.c: Likewise.
37705         * sysdeps/i386/fpu/dosincos.c: Likewise.
37706         * sysdeps/i386/fpu/mpa.c: Likewise.
37707         * sysdeps/i386/fpu/s_cos.S: Likewise.
37708         * sysdeps/i386/fpu/s_sin.S: Likewise.
37709         * sysdeps/i386/fpu/s_sincos.S: Likewise.
37710         * sysdeps/i386/fpu/sincos32.c: Likewise.
37711
37712         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37713         Define.
37714         (libc_feupdateenv_53bit): Define.
37715         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37716         Define.
37717         (libc_feupdateenv_53bit): Define.
37718
37719         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37720         53 bit (without extend i386 double precision).
37721
37722         * math/libm-test.inc (sincos_test): Add tests for large input.
37723         (sin): Likewise.
37724         (cos): Likewise.
37725
37726         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37727
37728 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37729
37730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37731
37732 2012-03-15  David S. Miller  <davem@davemloft.net>
37733
37734         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37735         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37736         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37737         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37742         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37748         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37750         file.
37751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37753         file.
37754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37756         file.
37757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37759         file.
37760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37761         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37762         fmin/fmax sysdep routines.
37763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37764
37765 2012-03-14  David S. Miller  <davem@davemloft.net>
37766
37767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37769         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37770         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37771         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37772         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37773         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37774         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37775         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37776         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37777         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37778         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37779         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37780         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37781         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37784         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37785         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37786         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37787         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37788         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37789         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37790         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37791         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37792         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37793         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37794         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37795         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37796         routines.
37797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37798         file.
37799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37801         file.
37802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37804         file.
37805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37807         file.
37808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37810         file.
37811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37813         file.
37814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37815         file.
37816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37817         file.
37818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37819         file.
37820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37821         New file.
37822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37823         file.
37824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37825         file.
37826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37828         file.
37829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37831         file.
37832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37834         file.
37835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37837         VIS3 routines.
37838
37839         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37840         New file.
37841
37842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37843
37844         * sysdeps/sparc/configure.in: New file.
37845         * sysdeps/sparc/configure: Generate.
37846         * configure.in (libc_cv_sparc_as_vis3): Substitute.
37847         * configure: Regenerate.
37848         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37849         * config.make.in (have-as-vis3): New.
37850         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37851         available use -Av9d instead of -Av9a.
37852         * sysdeps/sparc/sparc64/Makefile: Likewise.
37853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37855         New file.
37856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37857         file.
37858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37859         New file.
37860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37861         file.
37862         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37863         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37864         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37865         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37866         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37867
37868         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37869         fzeros/fnegs to load 0x80000000 into a float register instead of
37870         using the stack.
37871         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37872
37873 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37874
37875         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37876         bits/syscall.h.
37877         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37878         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37879         ($(inst_includedir)/bits/syscall.h): Remove rule.
37880         ($(objpfx)bits/syscall.d): Include instead of
37881         $(objpfx)syscall-list.d.
37882         (generated): Change syscall-list.h and syscall-list.d to
37883         bits/syscall.h and bits/syscall.d.
37884
37885 2012-03-14  Roland McGrath  <roland@hack.frob.com>
37886
37887         [BZ #13846]
37888         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37889
37890 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37891
37892         [BZ #13841]
37893         * math/s_csqrt.c: Include <float.h>.
37894         (__csqrt): Scale large or subnormal inputs.
37895         * math/s_csqrtf.c: Likewise.
37896         * math/s_csqrtl.c: Likewise.
37897         * math/libm-test.inc (csqrt_test): Add more tests.
37898         * sysdeps/i386/fpu/libm-test-ulps: Update.
37899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37900
37901         [BZ #13840]
37902         * math/libm-test.inc (hypot_test): Add more tests.
37903
37904 2012-03-13  David S. Miller  <davem@davemloft.net>
37905
37906         [BZ #13840]
37907         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37908         double-precision for the calculation instead of scaling.
37909
37910 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
37911
37912         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37913         manipulate bits before adding and subtracting TWO52[sx].
37914         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37915         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37916         Likewise.
37917         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37918
37919 2012-03-13  David S. Miller  <davem@davemloft.net>
37920
37921         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37922         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37923         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37924         rtld-global-offsets.h
37925         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37926
37927         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37928         large parameters.
37929
37930         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37931
37932         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37933         'err' in the ifdef scope in which it is actually used.
37934
37935         * nss/nss_db/db-init.c: Include string.h
37936
37937 2012-03-12  David S. Miller  <davem@davemloft.net>
37938
37939         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37940         masking out of the most significant byte of random value used.
37941         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37942         Fix coding style in previous change.
37943
37944         * sysdeps/unix/sysv/linux/kernel-features.h
37945         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37946         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37947         expression.
37948         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37949         later.
37950
37951 2012-03-11  David S. Miller  <davem@davemloft.net>
37952
37953         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37954         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37955         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37956         for 'resultvar' otherwise things get truncated on 64-bit.
37957
37958         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37959         Fix masking out of the most significant byte of random value used.
37960
37961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37962
37963 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
37964
37965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37966
37967 2012-03-09  David S. Miller  <davem@davemloft.net>
37968
37969         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37970         variables with appropriate CPP guards.
37971         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37972         from the frame pointer, not the stack pointer.  Correct layout
37973         comments.  Fix test on resulting framesize and the management of
37974         the outregs buffer for pltexit.  Preserve floating point return
37975         values across _dl_call_pltexit call.
37976         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37977         framesize and the management of the outregs buffer for pltexit.
37978         Preserve floating point return values across _dl_call_pltexit
37979         call.
37980         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37981         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37982         (la_sparc64_gnu_pltexit): New functions.
37983         (print_exit): Fix format string for return register value.
37984
37985 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
37986
37987         * sunrpc/Makefile (others): Add rpcgen.
37988         ($(objpfx)rpcgen): Remove special build rule and dependency on
37989         libc.
37990         * sunrpc/rpcgen.c: New file.
37991
37992 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
37993
37994         [BZ #13673]
37995         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37996         * stdio-common/bug-vfprintf-nargs.c: Likewise.
37997         * sysdeps/i386/crti.S: Likewise.
37998         * sysdeps/i386/crtn.S: Likewise.
37999         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38000         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38001         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38002         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38003         * sysdeps/sh/crti.S: Likewise.
38004         * sysdeps/sh/crtn.S: Likewise.
38005         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38006
38007         [BZ #13673]
38008         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38009         with URL.
38010         * locale/programs/locfile-kw.gperf: Likewise.
38011         * locale/programs/charmap-kw.h: Regenerated.
38012         * locale/programs/locfile-kw.h: Likewise.
38013
38014         [BZ #13673]
38015         * intl/plural.y: Replace FSF snail mail address with URL.
38016         * intl/plural.c: Regenerated.
38017
38018 2012-03-09  Richard Henderson  <rth@twiddle.net>
38019
38020         * include/math_private.h: Remove file.
38021         * math/math_private.h: Move file ...
38022         * sysdeps/generic/math_private.h: ... here.
38023
38024         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38025         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38026         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38027
38028         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38029         and <math_private.h>.
38030         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38031         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38032         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38033         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38034         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38035         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38036         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38037         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38038         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38039         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38040         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38041         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38042         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38043         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38044         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38045         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38046         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38047         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38048         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38049         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38050         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38051         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38052         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38053         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38054         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38055         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38056         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38057         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38058         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38059         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38060         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38061         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38062         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38063         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38064         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38065         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38066         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38067         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38068         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38069         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38070         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38071         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38072         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38073         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38074         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38075         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38076         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38077         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38078         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38079         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38080         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38081         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38082         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38083         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38084         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38085         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38086         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38087         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38088         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38089         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38090         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38091         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38092         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38093         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38094         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38095         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38096         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38097         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38098         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38099         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38100         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38101         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38102         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38103         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38104         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38105         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38106         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38107         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38108         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38109         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38110         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38111         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38112         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38113         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38114         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38115         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38116         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38117         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38118         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38119         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38120         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38121         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38122         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38123         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38124         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38125         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38126         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38127         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38128         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38129         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38130         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38131         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38132         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38133         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38134         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38135         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38136         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38137         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38138         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38139         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38140         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38141         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38142         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38143         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38144         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38145         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38146         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38147         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38148         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38149         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38150         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38151         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38152         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38153         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38154         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38155         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38156         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38157         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38158         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38159         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38160         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38161         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38162         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38163         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38164         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38165         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38166         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38167         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38168         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38169         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38170         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38171         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38172         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38173         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38174         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38175         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38176         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38177         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38178         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38179         * sysdeps/ieee754/k_standard.c: Likewise.
38180         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38181         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38182         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38183         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38184         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38185         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38186         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38187         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38188         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38189         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38190         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38191         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38192         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38193         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38194         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38195         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38196         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38197         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38198         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38199         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38200         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38201         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38202         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38203         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38204         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38205         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38206         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38207         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38208         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38209         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38210         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38211         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38212         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38213         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38214         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38215         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38216         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38217         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38218         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38219         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38220         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38221         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38222         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38223         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38224         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38225         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38226         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38227         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38228         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38229         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38230         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38231         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38232         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38233         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38234         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38235         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38236         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38237         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38238         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38239         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38240         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38241         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38242         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38243         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38244         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38245         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38246         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38247         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38248         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38249         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38250         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38251         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38252         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38253         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38254         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38255         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38256         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38257         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38258         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38259         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38260         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38261         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38262         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38263         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38264         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38265         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38266         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38267         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38268         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38269         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38270         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38271         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38272         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38273         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38274         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38275         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38276         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38277         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38278         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38279         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38280         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38281         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38282         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38283         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38284         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38285         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38286         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38287         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38288         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38289         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38290         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38291         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38292         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38293         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38294         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38295         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38296         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38297         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38298         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38299         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38300         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38301         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38302         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38303         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38304         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38305         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38306         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38307         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38308         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38309         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38310         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38311         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38312         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38313         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38314         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38315         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38316         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38317         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38318         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38319         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38320         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38321         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38322         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38323         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38324         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38325         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38326         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38327         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38328         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38329         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38330         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38331         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38332         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38333         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38334         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38335         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38336         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38337         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38338         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38339         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38340         * sysdeps/ieee754/s_lib_version.c: Likewise.
38341         * sysdeps/ieee754/s_matherr.c: Likewise.
38342         * sysdeps/ieee754/s_signgam.c: Likewise.
38343         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38344         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38345         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38346         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38347         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38348         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38349         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38350         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38351         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38352         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38353         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38354         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38355         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38356         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38357         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38358         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38359         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38360         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38361         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38362         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38363         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38364
38365 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38366
38367         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38368         * sunrpc/rpc_main.c: Likewise.
38369         * sunrpc/rpc_svcout.c: Likewise.
38370
38371 2012-03-09  David S. Miller  <davem@davemloft.net>
38372
38373         * include/math_private.h: New file.
38374
38375 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38376
38377         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38378         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38379         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38380         from <bits/socket_type.h>.
38381         (enum __socket_type): Don't define here.
38382         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38383         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38384         bits/socket_type.h.
38385
38386         [BZ #13566]
38387         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38388         checking __USE_GNU.
38389
38390         * Makerules ($(inst_includedir)/%.h): New rule.
38391         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38392         (install-others): Remove variable setting.
38393         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38394
38395 2012-03-08  Richard Henderson  <rth@twiddle.net>
38396
38397         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38398         from macro to inline function; merge with the
38399         !__LIBC_INTERNAL_MATH_INLINES version.
38400         (__ieee754_sqrtf): Likewise.
38401
38402         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38403         to inline function.
38404         (__rintf, __floor, __floorf): Likewise.
38405
38406         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38407         macro to inline function.
38408         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38409
38410         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38411         not <math/math_private.h>.
38412
38413 2012-03-08  David S. Miller  <davem@davemloft.net>
38414
38415         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38416         copyright year.
38417         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38418
38419 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
38420
38421         * resolv/gai_misc.c (handle_requests): Fix struct timespec
38422         normalization.
38423         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38424         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38425
38426 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
38427
38428         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
38429         be defined individually, they must be defined as a block.  Define
38430         S for printing a string instead of hidint the different by using a
38431         macro for adding the 'l'.
38432         * stdio-common/tst-fphex-wide.c: Adjust.
38433
38434 2012-03-07  Marek Polacek  <polacek@redhat.com>
38435
38436         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38437
38438 2012-03-08  Marek Polacek  <polacek@redhat.com>
38439
38440         [BZ #13806]
38441         * stdio-common/Makefile (tests): Add tst-fphex-wide.
38442         * stdio-common/tst-fphex.c: Define a few macros to make the
38443         test reusable.  Use them.
38444         * stdio-common/tst-fphex-wide.c: New file.
38445
38446 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
38447
38448         [BZ #6911]
38449         * manual/macros.texi (gnusystems): New macro.
38450         (nongnusystems): Likewise.
38451         (gnulinuxhurdsystems): Likewise.
38452         (gnuhurdsystems): Likewise..
38453         (gnulinuxsystems): Likewise.
38454         * manual/charset.texi: Use new macros or @theglibc{} to refer to
38455         variants of the GNU system, not "GNU system".
38456         * manual/conf.texi: Likewise.
38457         * manual/errno.texi: Likewise.  Update example of errno macro
38458         expansion.
38459         * manual/filesys.texi: Likewise.
38460         (getumask): Document as specific to GNU/Hurd.
38461         * manual/install.texi: Likewise.  Reword some references to
38462         GNU/Linux.
38463         * manual/intro.texi: Likewise.
38464         * manual/io.texi: Likewise.
38465         (File Name Portability): Detail which constraints are inapplicable
38466         to all GNU systems and which are only inapplicable to GNU/Hurd.
38467         * manual/job.texi: Likewise.
38468         * manual/llio.texi: Likewise.
38469         (O_NOCTTY): Document as present on GNU/Linux.
38470         * manual/maint.texi: Likewise.
38471         * manual/memory.texi: Likewise.
38472         * manual/pattern.texi: Likewise.
38473         * manual/pipe.texi: Likewise.
38474         * manual/process.texi: Likewise.
38475         * manual/resource.texi: Likewise.
38476         (RUSAGE_CHILDREN): Remove statement about specifying a particular
38477         child on GNU/Hurd.
38478         * manual/setjmp.texi: Likewise.
38479         * manual/signal.texi: Likewise.
38480         * manual/startup.texi: Likewise.
38481         * manual/stdio.texi: Likewise.
38482         * manual/terminal.texi: Likewise.
38483         (ONLCR): Document as POSIX.
38484         (OXTABS): Document availability on GNU/Linux as XTABS.
38485         (ONOEOT): Document availability separately from other bits.
38486         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38487         * manual/time.texi: Likewise.
38488         * manual/users.texi: Likewise.
38489         * INSTALL: Regenerated.
38490         * sysdeps/gnu/errlist.c: Regenerated.
38491
38492         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38493         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38494         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
38495         puts.
38496         * configure: Regenerated.
38497
38498 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
38499
38500         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38501         default includes instead of AC_HEADER_CHECK.
38502         * sysdeps/i386/configure: Regenerated.
38503
38504         [BZ #10716]
38505         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38506         * math/s_cacoshf.c (__cacoshf): Likewise.
38507         * math/s_cacoshl.c (__cacoshl): Likewise.
38508         * math/s_casinh.c (__casinh): Set signs of result from argument.
38509         * math/s_casinhf.c (__casinhf): Likewise.
38510         * math/s_casinhl.c (__casinhl): Likewise.
38511         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38512         (casinh_test): Add more tests.
38513         * sysdeps/i386/fpu/libm-test-ulps: Update.
38514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38515
38516 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
38517
38518         * po/zh_TW.po: Update from translation team.
38519
38520         * login/Makefile (distribute): Remove variable.
38521         * catgets/Makefile: Likewise.
38522         * mach/Makefile: Likewise.
38523         * malloc/Makefile: Likewise.
38524         * misc/Makefile: Likewise.
38525         * iconv/Makefile: Likewise.
38526         * nscd/Makefile: Likewise.
38527         * hurd/Makefile: Likewise.
38528         * manual/Makefile: Likewise.
38529         * locale/Makefile: Likewise.
38530         * intl/Makefile: Likewise.
38531         * conform/Makefile: Likewise.
38532         * nss/Makefile: Likewise.
38533         * time/Makefile: Likewise.
38534         * soft-fp/Makefile: Likewise.
38535         * dirent/Makefile: Likewise.
38536         * gmon/Makefile: Likewise.
38537         * po/Makefile: Likewise.
38538         * rt/Makefile: Likewise.
38539         * socket/Makefile: Likewise.
38540         * math/Makefile: Likewise.
38541         * signal/Makefile: Likewise.
38542         * debug/Makefile: Likewise.
38543         * elf/Makefile: Likewise.
38544         * timezone/Makefile: Likewise.
38545         * stdlib/Makefile: Likewise.
38546         * iconvdata/Makefile: Likewise.
38547         * sunrpc/Makefile: Likewise.
38548         * io/Makefile: Likewise.
38549         * argp/Makefile: Likewise.
38550         * inet/Makefile: Likewise.
38551         * hesiod/Makefile: Likewise.
38552         * grp/Makefile: Likewise.
38553         * csu/Makefile: Likewise.
38554         * wctype/Makefile: Likewise.
38555         * crypt/Makefile: Likewise.
38556         * libio/Makefile: Likewise.
38557         * string/Makefile: Likewise.
38558         * nis/Makefile: Likewise.
38559         * resolv/Makefile: Likewise.
38560         * stdio-common/Makefile: Likewise.
38561         * wcsmbs/Makefile: Likewise.
38562         * dlfcn/Makefile: Likewise.
38563         * posix/Makefile: Likewise.
38564
38565         [BZ #6959]
38566         * timezone/Makefile: Don't install timezone files, just the programs
38567         and scripts.
38568
38569 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
38570
38571         * nss/databases.def: Add missing gshadow entry.
38572
38573         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
38574
38575 2012-03-06  Marek Polacek  <polacek@redhat.com>
38576
38577         [BZ #13726]
38578         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38579         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38580         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38581         * stdio-common/tst-long-dbl-fphex.c: New file.
38582
38583 2012-03-06  David S. Miller  <davem@davemloft.net>
38584
38585         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38586         (set_obp_int): New function.
38587         (get_obp_int): New function.
38588         (__get_clockfreq_via_dev_openprom): Likewise.
38589         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38590         Avoid unused variable warnings on 'val' and use builtin_expect.
38591         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38592         __builtin_expect.
38593         (INLINE_CLONE_SYSCALL): Likewise.
38594
38595 2012-03-05  David S. Miller  <davem@davemloft.net>
38596
38597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38598
38599 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
38600
38601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38602
38603         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38604         only for |x| >= 40.
38605         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38606
38607 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38608
38609         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38610         Replace gettimeofday with __vdso_gettimeofday.
38611
38612         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38613         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38614         __vdso_clock_gettime and __vdso_getcpu.
38615
38616         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38617         time with __vdso_time.
38618
38619 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38620
38621         * manual/lang.texi (size_t): Note types to which size_t may be
38622         equivalent with the GNU C Library, but do not describe when
38623         differences between them are significant.
38624
38625 2012-03-05  Andreas Jaeger  <aj@suse.de>
38626
38627         * sysdeps/i386/fpu/libm-test-ulps: Update.
38628
38629 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38630
38631         [BZ #3976]
38632         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38633         (__ieee754_pow): Save and restore rounding mode and use
38634         round-to-nearest for main computations.
38635         * math/libm-test.inc (pow_test_tonearest): New function.
38636         (pow_test_towardzero): Likewise.
38637         (pow_test_downward): Likewise.
38638         (pow_test_upward): Likewise.
38639         (main): Call the new functions.
38640         * sysdeps/i386/fpu/libm-test-ulps: Update.
38641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38642
38643         [BZ #3976]
38644         * math/libm-test.inc (cosh_test_tonearest): New function.
38645         (cosh_test_towardzero): Likewise.
38646         (cosh_test_downward): Likewise.
38647         (cosh_test_upward): Likewise.
38648         (sinh_test_tonearest): Likewise.
38649         (sinh_test_towardzero): Likewise.
38650         (sinh_test_downward): Likewise.
38651         (sinh_test_upward): Likewise.
38652         (main): Call the new functions.
38653         * sysdeps/i386/fpu/libm-test-ulps: Update.
38654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38655
38656 2012-03-05  Tom de Vries  <tom@codesourcery.com>
38657
38658         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38659         default stack guard is set in last bytes.
38660         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38661
38662 2012-03-05  Kees Cook  <keescook@chromium.org>
38663
38664         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38665
38666         [BZ #13656]
38667         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38668         possibly allocate from heap instead of stack.
38669         * stdio-common/bug-vfprintf-nargs.c: New file.
38670         * stdio-common/Makefile (tests): Add nargs overflow test.
38671
38672 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
38673
38674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38675
38676 2012-03-03  Marek Polacek  <polacek@redhat.com>
38677
38678         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38679         * math/math_private.h: Likewise.
38680         * stdlib/tst-strtod.c: Likewise.
38681         * sysdeps/i386/i486/bits/atomic.h: Likewise.
38682         * sysdeps/x86_64/bits/atomic.h: Likewise.
38683
38684 2012-03-02  David S. Miller  <davem@davemloft.net>
38685
38686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38690         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38691         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38692         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38693         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38694
38695 2012-03-02  Roland McGrath  <roland@hack.frob.com>
38696
38697         [BZ #13792]
38698         * manual/examples/README: New file, says the example source files
38699         can be used under GPL>=2.
38700         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38701         line containing just "*/".
38702         * manual/examples/add.c: Add copyright header (GPL>=2).
38703         * manual/examples/argp-ex1.c: Likewise.
38704         * manual/examples/argp-ex2.c: Likewise.
38705         * manual/examples/argp-ex3.c: Likewise.
38706         * manual/examples/argp-ex4.c: Likewise.
38707         * manual/examples/atexit.c: Likewise.
38708         * manual/examples/db.c: Likewise.
38709         * manual/examples/dir.c: Likewise.
38710         * manual/examples/dir2.c: Likewise.
38711         * manual/examples/execinfo.c: Likewise.
38712         * manual/examples/filecli.c: Likewise.
38713         * manual/examples/filesrv.c: Likewise.
38714         * manual/examples/fmtmsgexpl.c: Likewise.
38715         * manual/examples/genpass.c: Likewise.
38716         * manual/examples/inetcli.c: Likewise.
38717         * manual/examples/inetsrv.c: Likewise.
38718         * manual/examples/isockad.c: Likewise.
38719         * manual/examples/longopt.c: Likewise.
38720         * manual/examples/memopen.c: Likewise.
38721         * manual/examples/memstrm.c: Likewise.
38722         * manual/examples/mkfsock.c: Likewise.
38723         * manual/examples/mkisock.c: Likewise.
38724         * manual/examples/mygetpass.c: Likewise.
38725         * manual/examples/pipe.c: Likewise.
38726         * manual/examples/popen.c: Likewise.
38727         * manual/examples/rprintf.c: Likewise.
38728         * manual/examples/search.c: Likewise.
38729         * manual/examples/select.c: Likewise.
38730         * manual/examples/setjmp.c: Likewise.
38731         * manual/examples/sigh1.c: Likewise.
38732         * manual/examples/sigusr.c: Likewise.
38733         * manual/examples/stpcpy.c: Likewise.
38734         * manual/examples/strdupa.c: Likewise.
38735         * manual/examples/strftim.c: Likewise.
38736         * manual/examples/strncat.c: Likewise.
38737         * manual/examples/subopt.c: Likewise.
38738         * manual/examples/swapcontext.c: Likewise.
38739         * manual/examples/termios.c: Likewise.
38740         * manual/examples/testopt.c: Likewise.
38741         * manual/examples/testpass.c: Likewise.
38742         * manual/examples/timeval_subtract.c: Likewise.
38743
38744         [BZ #13792]
38745         * manual/time.texi (Elapsed Time): Move timeval_subtract example
38746         function to ...
38747         * manual/timeval_subtract.c.texi: ... here, new file.
38748
38749 2012-03-02  David S. Miller  <davem@davemloft.net>
38750
38751         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38752
38753 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
38754
38755         [BZ #3976]
38756         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38757         (__sin): Save and restore rounding mode and use round-to-nearest
38758         for all computations.
38759         (__cos): Save and restore rounding mode and use round-to-nearest
38760         for all computations.
38761         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38762         <fenv.h>.
38763         (tan): Save and restore rounding mode and use round-to-nearest for
38764         all computations.
38765         * math/libm-test.inc (cos_test_tonearest): New function.
38766         (cos_test_towardzero): Likewise.
38767         (cos_test_downward): Likewise.
38768         (cos_test_upward): Likewise.
38769         (sin_test_tonearest): Likewise.
38770         (sin_test_towardzero): Likewise.
38771         (sin_test_downward): Likewise.
38772         (sin_test_upward): Likewise.
38773         (tan_test_tonearest): Likewise.
38774         (tan_test_towardzero): Likewise.
38775         (tan_test_downward): Likewise.
38776         (tan_test_upward): Likewise.
38777         (main): Call the new functions.
38778         * sysdeps/i386/fpu/libm-test-ulps: Update.
38779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38780
38781         [BZ #10135]
38782         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38783         small n, then large n, before computing and testing k+n.
38784         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38785         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38786         Likewise.
38787         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38788         Likewise.
38789         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38790         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38791         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38792         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38793         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38794         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38795         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38796         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38797         * math/libm-test.inc (scalbn_test): Add more tests.
38798         (scalbln_test): Likewise.
38799
38800         * manual/filesys.texi (mode_t): Describe constraints on size and
38801         signedness, not exact equivalence to a particular type.
38802         (ino_t): Likewise.
38803         (ino64_t): Likewise.
38804         (dev_t): Likewise.
38805         (nlink_t): Likewise.
38806         (blkcnt_t): Likewise.
38807         (blkcnt64_t): Likewise.
38808         * manual/llio.texi (off_t): Likewise.
38809
38810         [BZ #3976]
38811         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38812         (__ieee754_exp): Save and restore rounding mode and use
38813         round-to-nearest for all computations.
38814         * math/libm-test.inc (exp_test_tonearest): New function.
38815         (exp_test_towardzero): Likewise.
38816         (exp_test_downward): Likewise.
38817         (exp_test_upward): Likewise.
38818         (main): Call the new functions.
38819         * sysdeps/i386/fpu/libm-test-ulps: Update.
38820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38821
38822 2012-03-01  Chris Demetriou  <cgd@google.com>
38823
38824         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38825         have predictable order.
38826
38827 2012-03-01  David S. Miller  <davem@davemloft.net>
38828
38829         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38830
38831         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38832         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38833         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38834         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38835
38836         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38837         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38838         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38840         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38841         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38842         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38843         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38844         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38845
38846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38847
38848         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38849         * sysdeps/sparc/fpu/libm-test-ulps: to here.
38850         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38851
38852         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38853         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38854         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38855         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38856         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38857         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38858         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38859         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38860         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38861         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38862         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38863         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38864         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38865         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38866         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38867         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38868         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38869         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38870         * sysdeps/sparc/elf/configure: Regenerated.
38871
38872 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
38873
38874         * configure.in (AS, LD): Require binutils 2.20 or later.
38875         * configure: Regenerated.
38876         * manual/install.texi (Tools for Compilation): Give binutils 2.20
38877         as required minimum version.
38878         * INSTALL: Regenerated.
38879
38880         [BZ #2541]
38881         [BZ #4108]
38882         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38883         before squaring exponent.
38884         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38885         bottom long double and 27 bits of top long double before squaring
38886         exponent.
38887         * math/libm-test.inc (erfc_test): Add more tests.
38888         * sysdeps/i386/fpu/libm-test-ulps: Update.
38889         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38891
38892 2012-03-01  Kai Tietz  <ktietz@redhat.com>
38893
38894         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38895         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38896         containing bit-fields.
38897         * soft-fp/extended.h (_FP_UNION_E): Likewise.
38898         * soft-fp/single.h (_FP_UNION_S): Likewise.
38899         * soft-fp/double.h (_FP_UNION_D): Likewise.
38900
38901 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38902
38903         [BZ #13786]
38904         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38905         not include ../strcmp.S.
38906         [USE_AS_STRNCASECMP_L]: Likewise.
38907         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38908         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38909         * sysdeps/i386/i686/multiarch/strncase_l-c.c
38910         (__strncasecmp_l_ia32): Define as alias to
38911         __strncasecmp_l_nonascii.
38912
38913         [BZ #5794]
38914         * math/libm-test.inc (expm1_test): Add test for bug 5794.
38915         * sysdeps/i386/fpu/libm-test-ulps: Update.
38916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38917
38918         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38920
38921 2012-02-29  Jeff Law  <law@redhat.com>
38922
38923         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38924         out of bounds read.
38925
38926 2012-02-29  Marek Polacek  <polacek@redhat.com>
38927
38928         [BZ #13706]
38929         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38930         * elf/Makefile: Add rules to run tst-unused-dep.out.
38931
38932 2012-02-28  David S. Miller  <davem@davemloft.net>
38933
38934         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38935         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38936         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38937         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38938         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38939         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38940
38941 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38942
38943         * math/libm-test.inc (llround_test): Move one test from
38944         lround_test.  Use TEST_f_L in moved test.
38945         (lround_test): Move misplaced test to llround_test.  Add testcase
38946         from bug 2561.
38947
38948 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
38949
38950         * sysdeps/x86_64/fpu/e_expf.S: New file.
38951         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38952
38953 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
38954
38955         [BZ #13637]
38956         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38957         of remain_len that may cause incomplete multi-byte character and
38958         false match.
38959         * posix/bug-regex33.c: New file.
38960         * posix/Makefile (tests): Add bug-regex33.
38961
38962 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
38963
38964         * manual/macros.texi: New file.
38965         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38966         * manual/libc.texinfo: Include macros.texi.
38967         * manual/creatute.texi: Likewise.
38968         * manual/install.texi: Likewise.
38969         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38970         @glibcadj{} in references to the GNU C Library.
38971         * manual/charset.texi: Likewise.
38972         * manual/conf.texi: Likewise.
38973         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
38974         when not using those macros.
38975         * manual/creature.texi: Likewise.
38976         * manual/crypt.texi: Likewise.
38977         * manual/errno.texi: Likewise.
38978         * manual/filesys.texi: Likewise.
38979         * manual/header.texi: Likewise.
38980         * manual/install.texi: Likewise.
38981         * manual/intro.texi: Likewise.
38982         * manual/io.texi: Likewise.
38983         * manual/job.texi: Likewise.
38984         * manual/lang.texi: Likewise.
38985         * manual/libc.texiinfo: Likewise.
38986         * manual/llio.texi: Likewise.
38987         * manual/locale.texi: Likewise.
38988         * manual/maint.texi: Likewise.
38989         * manual/math.texi: Likewise.
38990         * manual/memory.texi: Likewise.
38991         * manual/message.texi: Likewise.
38992         * manual/nss.texi: Likewise.
38993         * manual/pattern.texi: Likewise.
38994         * manual/process.texi: Likewise.
38995         * manual/resource.texi: Likewise.
38996         * manual/search.texi: Likewise.
38997         * manual/setjmp.texi: Likewise.
38998         * manual/signal.texi: Likewise.
38999         * manual/socket.texi: Likewise.
39000         * manual/startup.texi: Likewise.
39001         * manual/stdio.texi: Likewise.
39002         * manual/string.texi: Likewise.
39003         * manual/sysinfo.texi: Likewise.
39004         * manual/syslog.texi: Likewise.
39005         * manual/terminal.texi: Likewise.
39006         * manual/time.texi: Likewise.
39007         * manual/users.texi: Likewise.
39008         * INSTALL: Regenerated.
39009         * NOTES: Regenerated.
39010         * sysdeps/gnu/errlist.c: Regenerated.
39011
39012 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39013
39014         * include/dirent.h: Include <dirstream.h> before
39015         <dirent/dirent.h>.
39016
39017 2012-02-28  David S. Miller  <davem@davemloft.net>
39018
39019         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39020         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39021         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39022         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39023
39024 2012-02-27  David S. Miller  <davem@davemloft.net>
39025
39026         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39028         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39029         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39030
39031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39032         frame pointer instead of stack pointer relative arg slot.
39033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39034         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39035         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39036
39037 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39038
39039         [BZ #3992]
39040         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39041
39042 2012-02-27  David S. Miller  <davem@davemloft.net>
39043
39044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39046         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39048         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39049         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39050         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39051         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39052
39053 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39054
39055         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39056         later.  Allow versions 5-9.
39057         * configure: Regenerated.
39058         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39059         required minimum version and 4.6 as recommended version.  Do not
39060         mention bugs in GCC 2.7 and 2.8.
39061         * INSTALL: Regenerated.
39062
39063 2012-02-27  David S. Miller  <davem@davemloft.net>
39064
39065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39069         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39070         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39071         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39072         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39073
39074         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39075         manipulate bits before adding and subtracting TWO112[sx].
39076         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39077
39078 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39079
39080         [BZ #13775]
39081         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39082         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39083         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39084         being in POSIX, because they are in 1003.1-2008.
39085
39086         * rt/tst-aio.c: Include <fcntl.h>.
39087         * rt/tst-aio7.c: Likewise.
39088         * rt/tst-aio64.c: Likewise.
39089
39090         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39091
39092 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39093
39094         * manual/install.texi (--with-headers): Describe headers as
39095         interface headers, not private headers.
39096         (Specific advice for GNU/Linux systems): Describe use of headers
39097         from "make headers_install", not private headers from older
39098         kernels.
39099         * INSTALL: Regenerated.
39100         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39101         Change to 2.6.19.
39102         * sysdeps/unix/sysv/linux/configure: Regenerated.
39103
39104         * manual/llio.texi (fclean): Remove documentation.
39105
39106         * manual/Makefile (libc-texi-generated): New variable.  Include
39107         version.texi.
39108         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39109         $(libc-texi-generated), not duplicated list of files.
39110         (version.texi, stamp-version): New rules.
39111         (realclean): Remove $(libc-texi-generated), not individual files
39112         from that list.  Do not remove dir-add.texinfo.
39113         * manual/libc.texinfo: Comment out uses of edition numbers and
39114         references to printed manual.  Remove last-updated dates.
39115         (EDITION): Comment out.
39116         (ISBN): Likewise.
39117         (VERSION, UPDATED): Remove.
39118         (version.texi): Include.
39119
39120 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39121
39122         * sysdeps/posix/spawni.c: Include <signal.h>.
39123         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39124         * sysdeps/pthread/aio_fsync.c: Likewise.
39125
39126 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39127
39128         * conform/Makefile (tests): Run only when not cross-compiling and
39129         when fast-check is not defined.
39130
39131         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39132         * conform/data/limits.h-data: Fixes for POSIX2008.
39133         * conform/run-conformtest.sh: Run all tests.
39134         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39135         headers.
39136         * include/bits/dlfcn.h: Likewise.
39137         * include/langinfo.h: Likewise.
39138         * include/monetary.h: Likewise.
39139         * include/sys/poll.h: Likewise.
39140
39141         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39142         for __USE_GNU.
39143         * posix/spawn.h: Define __need_sigset_t.
39144         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39145         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39146         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39147         to get sigevent_t only.
39148         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39149         only for __USE_GNU.
39150         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39151         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39152         process_vm_writev only for __USE_GNU.
39153         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39154
39155         * conform/Makefile: For now ignore errors from run-conformtest.
39156         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39157         POSIX to avoid namespace pollution.  Don't prepend headers.
39158         * conform/data/aio.h-data: Fixes for POSIX testing.
39159         * conform/data/fcntl.h-data: Likewise.
39160         * conform/data/glob.h-data: Likewise.
39161         * conform/data/grp.h-data: Likewise.
39162         * conform/data/pthread.h-data: Likewise.
39163         * conform/data/pwd.h-data: Likewise.
39164         * conform/data/signal.h-data: Likewise.
39165         * conform/data/spawn.h-data: Likewise.
39166         * conform/data/stdio.h-data: Likewise.
39167         * conform/data/stdlib.h-data: Likewise.
39168         * conform/data/stropts.h-data: Likewise.
39169         * conform/data/sys/mman.h-data: Likewise.
39170         * conform/data/sys/stat.h-data: Likewise.
39171         * conform/data/sys/types.h-data: Likewise.
39172         * conform/data/sys/wait.h-data: Likewise.
39173         * conform/data/time.h-data: Likewise.
39174         * conform/data/unistd.h-data: Likewise.
39175         * conform/data/utime.h-data: Likewise.
39176
39177         * io/sys/stat.h: fchmod was always in POSIX.
39178         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39179         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39180         * rt/aio.h: Define __need_timespec before including <time.h>.
39181         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39182         struct.  Add forward declaration of pthread_attr_t and use it in
39183         sigevent.
39184         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39185         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39186         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39187         always remove CLK_TCK definition.
39188
39189 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39190
39191         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39192
39193 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39194
39195         * conform/run-conformtest.sh: New file.
39196         * conform/Makefile: Run run-conformtest for tests.
39197         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
39198         support.
39199
39200         * conform/data/uchar.h-data: New file.
39201         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39202         * conform/data/arpa/inet.h-data: Likewise.
39203         * conform/data/assert.h-data: Likewise.
39204         * conform/data/complex.h-data: Likewise.
39205         * conform/data/cpio.h-data: Likewise.
39206         * conform/data/ctype.h-data: Likewise.
39207         * conform/data/dirent.h-data: Likewise.
39208         * conform/data/dlfcn.h-data: Likewise.
39209         * conform/data/errno.h-data: Likewise.
39210         * conform/data/fcntl.h-data: Likewise.
39211         * conform/data/float.h-data: Likewise.
39212         * conform/data/fmtmsg.h-data: Likewise.
39213         * conform/data/fnmatch.h-data: Likewise.
39214         * conform/data/ftw.h-data: Likewise.
39215         * conform/data/glob.h-data: Likewise.
39216         * conform/data/grp.h-data: Likewise.
39217         * conform/data/iconv.h-data: Likewise.
39218         * conform/data/inttypes.h-data: Likewise.
39219         * conform/data/langinfo.h-data: Likewise.
39220         * conform/data/libgen.h-data: Likewise.
39221         * conform/data/limits.h-data: Likewise.
39222         * conform/data/locale.h-data: Likewise.
39223         * conform/data/math.h-data: Likewise.
39224         * conform/data/monetary.h-data: Likewise.
39225         * conform/data/mqueue.h-data: Likewise.
39226         * conform/data/ndbm.h-data: Likewise.
39227         * conform/data/net/if.h-data: Likewise.
39228         * conform/data/netdb.h-data: Likewise.
39229         * conform/data/netinet/in.h-data: Likewise.
39230         * conform/data/nl_types.h-data: Likewise.
39231         * conform/data/poll.h-data: Likewise.
39232         * conform/data/pthread.h-data: Likewise.
39233         * conform/data/pwd.h-data: Likewise.
39234         * conform/data/regex.h-data: Likewise.
39235         * conform/data/sched.h-data: Likewise.
39236         * conform/data/search.h-data: Likewise.
39237         * conform/data/semaphore.h-data: Likewise.
39238         * conform/data/setjmp.h-data: Likewise.
39239         * conform/data/signal.h-data: Likewise.
39240         * conform/data/spawn.h-data: Likewise.
39241         * conform/data/stdarg.h-data: Likewise.
39242         * conform/data/stdio.h-data: Likewise.
39243         * conform/data/stdlib.h-data: Likewise.
39244         * conform/data/string.h-data: Likewise.
39245         * conform/data/strings.h-data: Likewise.
39246         * conform/data/stropts.h-data: Likewise.
39247         * conform/data/sys/ipc.h-data: Likewise.
39248         * conform/data/sys/mman.h-data: Likewise.
39249         * conform/data/sys/msg.h-data: Likewise.
39250         * conform/data/sys/resource.h-data: Likewise.
39251         * conform/data/sys/select.h-data: Likewise.
39252         * conform/data/sys/sem.h-data: Likewise.
39253         * conform/data/sys/shm.h-data: Likewise.
39254         * conform/data/sys/socket.h-data: Likewise.
39255         * conform/data/sys/stat.h-data: Likewise.
39256         * conform/data/sys/statvfs.h-data: Likewise.
39257         * conform/data/sys/time.h-data: Likewise.
39258         * conform/data/sys/timeb.h-data: Likewise.
39259         * conform/data/sys/times.h-data: Likewise.
39260         * conform/data/sys/types.h-data: Likewise.
39261         * conform/data/sys/uio.h-data: Likewise.
39262         * conform/data/sys/un.h-data: Likewise.
39263         * conform/data/sys/utsname.h-data: Likewise.
39264         * conform/data/sys/wait.h-data: Likewise.
39265         * conform/data/syslog.h-data: Likewise.
39266         * conform/data/tar.h-data: Likewise.
39267         * conform/data/termios.h-data: Likewise.
39268         * conform/data/utime.h-data: Likewise.
39269         * conform/data/utmpx.h-data: Likewise.
39270         * conform/data/varargs.h-data: Likewise.
39271         * conform/data/wchar.h-data: Likewise.
39272         * conform/data/wctype.h-data: Likewise.
39273         * conform/data/wordexp.h-data: Likewise.
39274
39275         * include/stropts.h: New file.
39276         * include/uchar.h: New file.
39277         * include/aio.h: Changes to allow conformtest.pl to use the headers.
39278         * include/assert.h: Likewise.
39279         * include/ctype.h: Likewise.
39280         * include/dirent.h: Likewise.
39281         * include/dlfcn.h: Likewise.
39282         * include/fcntl.h: Likewise.
39283         * include/fnmatch.h: Likewise.
39284         * include/glob.h: Likewise.
39285         * include/grp.h: Likewise.
39286         * include/libio.h: Likewise.
39287         * include/locale.h: Likewise.
39288         * include/math.h: Likewise.
39289         * include/net/if.h: Likewise.
39290         * include/netdb.h: Likewise.
39291         * include/netinet/in.h: Likewise.
39292         * include/pthread.h: Likewise.
39293         * include/pwd.h: Likewise.
39294         * include/regex.h: Likewise.
39295         * include/sched.h: Likewise.
39296         * include/search.h: Likewise.
39297         * include/setjmp.h: Likewise.
39298         * include/signal.h: Likewise.
39299         * include/stdio.h: Likewise.
39300         * include/stdlib.h: Likewise.
39301         * include/string.h: Likewise.
39302         * include/sys/cdefs.h: Likewise.
39303         * include/sys/mman.h: Likewise.
39304         * include/sys/msg.h: Likewise.
39305         * include/sys/resource.h: Likewise.
39306         * include/sys/select.h: Likewise.
39307         * include/sys/socket.h: Likewise.
39308         * include/sys/stat.h: Likewise.
39309         * include/sys/statvfs.h: Likewise.
39310         * include/sys/time.h: Likewise.
39311         * include/sys/times.h: Likewise.
39312         * include/sys/uio.h: Likewise.
39313         * include/sys/utsname.h: Likewise.
39314         * include/sys/wait.h: Likewise.
39315         * include/termios.h: Likewise.
39316         * include/time.h: Likewise.
39317         * include/ulimit.h: Likewise.
39318         * include/unistd.h: Likewise.
39319         * include/utime.h: Likewise.
39320         * include/wchar.h: Likewise.
39321         * include/wctype.h: Likewise.
39322         * include/wordexp.h: Likewise.
39323
39324         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39325
39326         * time/time.h: TIME_UTC must be a macro.
39327         Make timespec_get available for ISO C11 only as well.
39328
39329 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
39330
39331         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39332         Reported by Peng Haitao <penght@cn.fujitsu.com>.
39333
39334 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39335
39336         * configure.in: Use -o not -a in test for unsupported multi-arch.
39337
39338 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39339
39340         * manual/texinfo.tex: Update to version 2012-01-19.16.
39341
39342 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39343
39344         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39345
39346 2012-02-24  Roland McGrath  <roland@hack.frob.com>
39347
39348         [BZ #13738]
39349         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39350         * manual/fdl-1.3.texi: New file.
39351         * manual/fdl-1.1.texi: File removed.
39352
39353         [BZ #13738]
39354         * manual/libc.texinfo (FDL_VERSION): New @set.
39355         Use it for mention of FDL in cover text.
39356         (Documentation License): Use it in @include file name.
39357
39358 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39359             Roland McGrath  <roland@hack.frob.com>
39360
39361         [BZ #5461]
39362         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39363         (not LONG_LONG_MAX and LONG_LONG_MIN.
39364         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39365         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
39366         name.
39367         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39368
39369 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39370
39371         [BZ #2547]
39372         [BZ #11365]
39373         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39374         manipulate bits before adding and subtracting TWO23[sx].
39375         * math/libm-test.inc (nearbyint_test): Add more tests.
39376
39377 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39378
39379         [BZ #2548]
39380         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39381         bits before adding and subtracting TWO23[sx].
39382         * math/libm-test.inc (rint_test): Add more tests.
39383         (rint_test_tonearest): Likewise.
39384         (rint_test_towardzero): Likewise.
39385         (rint_test_downward): Likewise.
39386         (rint_test_upward: Likewise.
39387
39388 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39389
39390         [BZ #10110]
39391         * include/stdc-predef.h: New file.  Extracted from features.h.
39392         * include/features.h: Include stdc-predef.h.
39393         * Makefile (headers): Add stdc-predef.h.
39394         * CONFORMANCE (Compiler limitations): Update.
39395
39396 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39397
39398         * manual/libc.texinfo (VERSION, UPDATED): Revert.
39399
39400 2012-02-21  David S. Miller  <davem@davemloft.net>
39401
39402         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39403         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39404
39405 2012-02-20  David S. Miller  <davem@davemloft.net>
39406
39407         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39408         using a normal save/restore sequence, rather than allocating a
39409         dummy stack frame just to store a frame pointer and restore.
39410         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39411
39412 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39413
39414         * manual/install.texi: Fix stray word in line-wrapped comment.
39415
39416 2012-02-20  David S. Miller  <davem@davemloft.net>
39417
39418         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39419         both binutils and gcc support GOTDATA.
39420
39421         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39422         "rd %pc" in the PIC register setup sequences.
39423
39424         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39425         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39426         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39427         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39428         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39429         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39430         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39431         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39432         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39433         (SYSCALL_ERROR_HANDLER): Likewise.
39434         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39435         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39436         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39437         (SYSCALL_ERROR_HANDLER): Likewise.
39438
39439         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39440         (HAVE_GCC_GOTDATA): New.
39441         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39442         relocation support in both binutils and gcc.
39443         * sysdeps/sparc/elf/configure: Regenerate.
39444
39445         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39446         * sysdeps/sparc/sparc32/elf/configure: Delete.
39447         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39448         * sysdeps/sparc/sparc64/elf/configure: Delete.
39449         * sysdeps/sparc/elf/configure.in: New file.
39450         * sysdeps/sparc/elf/configure: Generate.
39451
39452         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39453         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39454         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39455         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39456         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39457
39458 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39459
39460         * manual/install.texi: Do not mention specific glibc version
39461         numbers.
39462         * manual/libc.texinfo (VERSION, UPDATED): Update.
39463         (@copying): Use @copyright{} and range of years.
39464
39465 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39466
39467         [BZ #13695]
39468         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39469         [crti.S not in sysdirs] (generated): Do not append.
39470         [crti.S not in sysdirs] (omit-deps): Likewise.
39471         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39472         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39473         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39474         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39475         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39476         Likewise.
39477         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39478         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39479         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39480         * csu/defs.awk: Remove file.
39481         * sysdeps/generic/initfini.c: Likewise.
39482         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39483         variable.
39484         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39485         Likewise.
39486
39487 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39488
39489         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39490         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39491         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39492         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39493         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39494         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39495         <bits/epoll.h>.
39496         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39497         (__EPOLL_PACKED): Define to empty if not defined by
39498         <bits/epoll.h>.
39499         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39500         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39501         bits/epoll.h.
39502
39503 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39504
39505         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39506         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39507         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39508         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39509         <bits/timerfd.h>.
39510         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39511         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39512         bits/timerfd.h.
39513
39514 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39515
39516         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39517         in C locale.
39518         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39519         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39520         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39522
39523 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
39524
39525         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39526         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39527
39528 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
39529
39530         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39531         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39532         defined.
39533         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39534         Likewise.
39535         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39536         entry for 2.16.
39537
39538 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
39539
39540         * math/w_acos.c: Use non-signaling floating-point comparisons.
39541         * math/w_acosf.c: Likewise.
39542         * math/w_acosh.c: Likewise.
39543         * math/w_acoshf.c: Likewise.
39544         * math/w_acoshl.c: Likewise.
39545         * math/w_acosl.c: Likewise.
39546         * math/w_asin.c: Likewise.
39547         * math/w_asinf.c: Likewise.
39548         * math/w_asinl.c: Likewise.
39549         * math/w_atanh.c: Likewise.
39550         * math/w_atanhf.c: Likewise.
39551         * math/w_atanhl.c: Likewise.
39552         * math/w_exp2.c: Likewise.
39553         * math/w_exp2f.c: Likewise.
39554         * math/w_exp2l.c: Likewise.
39555         * math/w_j0.c: Likewise.
39556         * math/w_j0f.c: Likewise.
39557         * math/w_j0l.c: Likewise.
39558         * math/w_j1.c: Likewise.
39559         * math/w_j1f.c: Likewise.
39560         * math/w_j1l.c: Likewise.
39561         * math/w_jn.c: Likewise.
39562         * math/w_jnf.c: Likewise.
39563         * math/w_log.c: Likewise.
39564         * math/w_log10.c: Likewise.
39565         * math/w_log10f.c: Likewise.
39566         * math/w_log10l.c: Likewise.
39567         * math/w_log2.c: Likewise.
39568         * math/w_log2f.c: Likewise.
39569         * math/w_log2l.c: Likewise.
39570         * math/w_logf.c: Likewise.
39571         * math/w_logl.c: Likewise.
39572         * math/w_sqrt.c: Likewise.
39573         * math/w_sqrtf.c: Likewise.
39574         * math/w_sqrtl.c: Likewise.
39575         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39576         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39577         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39578         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39579         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39580
39581 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39582
39583         [BZ #9739]
39584         * manual/string.texi (strnlen): Use correct parameter name in
39585         equivalent expression.
39586
39587 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39588
39589         [BZ #11174]
39590         * manual/users.texi (seteuid): Consistently use neweuid for
39591         argument name.
39592
39593 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39594
39595         [BZ #13704]
39596         * manual/nss.texi (Services in the NSS configuration): Correct
39597         list of services in example configuration file.
39598
39599 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
39600
39601         [BZ #11322]
39602         * manual/arith.texi: Remove statements about negative zero
39603         behaving identically to zero.
39604
39605 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39606
39607         [BZ #5993]
39608         * manual/install.texi: Do not document upgrading from libc5.
39609
39610 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39611
39612         [BZ #4596]
39613         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39614
39615 2012-02-18  David S. Miller  <davem@davemloft.net>
39616
39617         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39618         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39619         %o7 across the call.
39620         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39621         instead.
39622         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39623         SETUP_PIC_REG_LEAF.
39624         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39625         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39626         * sysdeps/sparc/crtn.S: Likewise.
39627
39628 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
39629
39630         * aout/Makefile: Remove.
39631
39632 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
39633
39634         [BZ #13058]
39635         * manual/examples/argp-ex1.c (main): Format definition in GNU
39636         style.
39637         * manual/examples/argp-ex2.c (main): Likewise.
39638         * manual/examples/argp-ex3.c (main): Likewise.
39639         * manual/examples/argp-ex4.c (main): Likewise.
39640         * manual/examples/longopt.c (main): Use new-style prototype
39641         definition.
39642         * manual/examples/strncat.c (main): Specify return type and use
39643         (void) for arguments.
39644         * manual/examples/subopt.c (main): Use char **argv argument.
39645
39646 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39647
39648         [BZ #5077]
39649         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39650         rounding modes.
39651
39652 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
39653
39654         [BZ #6907]
39655         * manual/string.texi (strchr): Change when strchrnul is
39656         recommended.
39657
39658 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
39659
39660         [BZ #174]
39661         * manual/locale.texi (setlocale): Document LOCPATH.
39662
39663 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39664
39665         [BZ #10210]
39666         * manual/process.texi (execle): Move @dots{} before last argument.
39667
39668 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
39669
39670         [BZ #12047]
39671         * manual/charset.texi (Generic Charset Conversion): Fix typo
39672         (LC_TYPE -> LC_CTYPE).
39673
39674 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
39675
39676         [BZ #5805]
39677         * manual/arith.texi (scalbn): Use @var{} on parameter names.
39678         (scalbnf): Likewise.
39679         (scalbnl): Likewise.
39680         (scalbln): Likewise.
39681         (scalblnf): Likewise.
39682         (scalblnl): Likewise.
39683         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39684         (vwarnx): Likewise.
39685         (verr): Likewise.
39686         (verrx): Likewise.
39687         * manual/filesys.texi (telldir): Use braces around return type.
39688         * manual/llio.texi (mmap): Add space after comma.
39689         (mmap64): Likewise.
39690         * manual/math.texi (jn): Use @var{} on parameter names.
39691         (jnf): Likewise.
39692         (jnl): Likewise.
39693         (yn): Likewise.
39694         (ynf): Likewise.
39695         (ynl): Likewise.
39696         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39697         line.
39698         * manual/resource.texi (ulimit): Use @dots{} instead of literal
39699         "...".
39700         (sched_get_priority_min): Remove semicolon on @deftypefun line.
39701         (sched_get_priority_max): Likewise.
39702         * manual/signal.texi (sigvec): Add space after comma.
39703         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39704         names.
39705         (if_indextoname): Likewise.
39706         (if_freenameindex): Likewise.
39707         (sendto): Use ',' instead of '.' in prototype.
39708         * manual/startup.texi (syscall): Use @dots{} instead of literal
39709         "...".
39710         * manual/stdio.texi (__fpending): Separate initial words of
39711         paragraph from @deftypefun line.
39712         * manual/syslog.texi (syslog): Use @dots{} instead of literal
39713         "...".
39714         (vsyslog): Use @var{} on parameter names.
39715         * manual/terminal.texi (stty): Use @var{} on parameter names.
39716         * manual/users.texi (getutmp): Use @var{} on parameter names.
39717         (getutmpx): Likewise.
39718
39719 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39720
39721         [BZ #6884]
39722         * manual/stdio.texi (fopen): Fix typos in description of
39723         ",ccs=STRING".
39724
39725 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
39726
39727         [BZ #4026]
39728         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39729         get clock_id definition.
39730
39731 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
39732
39733         [BZ #4822]
39734         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39735         (madvise): Cast every argument to void on its own.
39736
39737 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39738
39739         [BZ #9902]
39740         * manual/startup.texi (Exit Status): Fix typo.
39741
39742 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39743
39744         [BZ #10140]
39745         * manual/examples/argp-ex1.c: Include <stdlib.h>.
39746         * manual/examples/argp-ex2.c: Likewise.
39747         * manual/examples/argp-ex3.c: Likewise.
39748
39749 2012-02-16  Richard Henderson  <rth@redhat.com>
39750
39751         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39752         * sysdeps/s390/s390-32/initfini.c: Remove.
39753         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39754         * sysdeps/s390/s390-64/initfini.c: Remove.
39755
39756 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39757
39758         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39759         compiler output for sysdeps/generic/initfini.c.
39760         * sysdeps/sh/elf/initfini.c: Remove file.
39761
39762 2012-02-16  David S. Miller  <davem@davemloft.net>
39763
39764         [BZ #11494]
39765         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39766
39767         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39768         * sysdeps/sparc/crti.S: New file.
39769         * sysdeps/sparc/crtn.S: New file.
39770         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39771         * sysdeps/sparc/sparc64/Makefile: Likewise.
39772
39773 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
39774
39775         [BZ #3335]
39776         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39777
39778 2012-02-15  Roland McGrath  <roland@hack.frob.com>
39779
39780         [BZ #4822]
39781         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39782
39783         * mach/devstream.c (cookie_io_functions_t): Macro removed.
39784         (write, read, close): Likewise.
39785         Patch by Aurelien Jarno <aurelien@aurel32.net>.
39786
39787 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
39788
39789         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39790         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39791         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39792         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39793         <bits/signalfd.h>.
39794         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39795         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39796         bits/signalfd.h.
39797
39798 2012-02-14  Marek Polacek  <polacek@redhat.com>
39799
39800         * sysdeps/x86_64/crti.S: New file.
39801         * sysdeps/x86_64/crtn.S: New file.
39802         * sysdeps/x86_64/elf/initfini.c: Remove file.
39803
39804 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
39805
39806         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39807         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39808         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39809         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39810         <bits/inotify.h>.
39811         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39812         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39813         bits/inotify.h.
39814
39815 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
39816
39817         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39818         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39819         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39820         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39821         <bits/eventfd.h>.
39822         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39823         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39824         bits/eventfd.h.
39825
39826 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
39827
39828         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39829         __feraiseexcept instead of feraiseexcept.
39830
39831         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39832         nanosleep invocations.
39833         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39834         strings, and add error checking for a nanosleep invocations.
39835
39836 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
39837
39838         Replace FSF snail mail address with URLs, as per GNU coding standards.
39839         Most of the snail mail addresses were wrong anyway, and omitting
39840         them makes the source code easier to maintain.  Almost all of the
39841         changes are to license notices and to locale LC_IDENTIFICATION
39842         addresses, except for this one:
39843         * manual/libc.texinfo: In "Published by", give the FSF's URL,
39844         not its snail mail address.
39845
39846 2012-02-09  Richard Henderson  <rth@twiddle.net>
39847
39848         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39849         of kernel-features.h.
39850
39851         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39852
39853 2012-02-08  Marek Polacek  <polacek@redhat.com>
39854
39855         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39856         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39857         * sysdeps/gnu/_G_config.h: Likewise.
39858         * sysdeps/generic/_G_config.h: Likewise.
39859
39860 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
39861
39862         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39863         tests.
39864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39865
39866         * sysdeps/powerpc/powerpc32/crti.S: New file.
39867         * sysdeps/powerpc/powerpc32/crtn.S: New file.
39868         * sysdeps/powerpc/powerpc64/crti.S: New file.
39869         * sysdeps/powerpc/powerpc64/crtn.S: New file.
39870
39871         * Makeconfig (have-initfini): Don't set.
39872         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39873         * configure.in (nopic_initfini): Don't substitute.
39874         * config.h.in (HAVE_INITFINI): Don't #undef.
39875         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39876         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39877
39878 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
39879
39880         Support crti.S and crtn.S provided directly by architectures.
39881         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39882         [crti.S in sysdirs] (omit-deps): Likewise.
39883         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39884         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39885         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39886         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39887         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39888         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39889         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39890         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39891         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39892         compiler output for sysdeps/generic/initfini.c.
39893         * sysdeps/i386/elf/Makefile: Remove file.
39894         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39895
39896 2012-02-07  Marek Polacek  <polacek@redhat.com>
39897
39898         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39899         * sysdeps/gnu/_G_config.h: Likewise.
39900         * sysdeps/mach/hurd/_G_config.h: Likewise.
39901
39902 2012-02-07  Marek Polacek  <polacek@redhat.com>
39903
39904         * math/Makefile (tests): Add tst-CMPLX2.
39905         * math/tst-CMPLX2.c: New file.
39906
39907 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
39908
39909         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39910
39911         * math/libm-test.inc (jn_test): Add missing L suffix.
39912
39913 2012-02-06  Marek Polacek  <polacek@redhat.com>
39914
39915         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39916         * sysdeps/i386/fpu/e_powf.S: Likewise.
39917         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39918         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39919         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39920         * sysdeps/i386/fpu/e_pow.S: Likewise.
39921         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39922         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39923         * sysdeps/i386/fpu/s_expm1.S: Likewise.
39924         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39925         * sysdeps/i386/fpu/e_log2.S: Likewise.
39926         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39927         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39928         * sysdeps/i386/fpu/e_powl.S: Likewise.
39929         * sysdeps/i386/fpu/s_log1p.S: Likewise.
39930         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39931         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39932         * sysdeps/i386/fpu/e_logl.S: Likewise.
39933         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39934         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39935         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39936         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39937         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39938         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39939         * sysdeps/i386/fpu/e_log.S: Likewise.
39940         * sysdeps/i386/fpu/s_cexp.S: Likewise.
39941         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39942         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39943         * sysdeps/i386/fpu/e_logf.S: Likewise.
39944         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39945         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39946         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39947         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39948         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39949         * sysdeps/i386/fpu/e_log10.S: Likewise.
39950         * sysdeps/i386/fpu/s_frexp.S: Likewise.
39951         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39952         * sysdeps/i386/fpu/s_asinh.S: Likewise.
39953         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39954         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39955         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39956         * sysdeps/i386/asm-syntax.h: Likewise.
39957         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39958         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39959         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39960         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39961         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39962         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39963         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39964         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39965         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39966         * sysdeps/powerpc/sysdep.h: Likewise.
39967         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39968         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39969
39970 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39971
39972         [BZ #411]
39973         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39974
39975 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39976
39977         * sysdeps/i386/sysdep.h: Include <features.h>.
39978         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39979         version.
39980
39981 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
39982
39983         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39984         Define.
39985         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39986         LOAD_PIC_REG_STR.
39987
39988 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39989
39990         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39991         (SETUP_PIC_REG): Use GET_PC_THUNK.
39992         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39993         macro.
39994
39995 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39996
39997         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39998         for non-PIC compilation.
39999         (SETUP_PIC_REG): Add .p2align directive.
40000         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40001         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40002         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40003         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40004         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40005         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40006         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40007         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40008         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40009         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40010         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40011         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40012         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40013         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40014         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40015         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40016         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40017         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40018         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40019         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40020         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40021         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40022         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40023         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40024         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40025         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40026         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40027         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40028         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40029         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40030         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40031         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40032         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40033         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40034         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40035         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40036         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40037         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40038         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40039         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40040         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40041
40042 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40043
40044         * math/tst-CMPLX.c: Include <stdio.h>.
40045
40046 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40047
40048         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40049         float.
40050         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40051         * sysdeps/sparc/bits/mathdef.h: Likewise.
40052
40053 2012-01-31  Marek Polacek  <polacek@redhat.com>
40054
40055         * libio/libio.h: Don't define _PARAMS.
40056         * locale/programs/config.h: Don't define PARAMS.
40057         * stdlib/strtol_l.c: Likewise.
40058         (__strtol_l): Remove PARAMS from the prototype.
40059
40060 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40061
40062         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40063         names.  Just use the correct names.  Remove unnecessary wrapper
40064         functions.
40065         * malloc/arena.c: Likewise.
40066         * malloc/hooks.c: Likewise.
40067
40068         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40069         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40070         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40071
40072 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40073
40074         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40075         into tail calls.
40076         (update_get_addr): New function.
40077         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40078         GET_ADDR_MODULE parameter.
40079
40080 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40081
40082         * crypt/cert.c: Remove __STDC__ conditionals.
40083         * crypt/crypt-entry.c: Likewise.
40084         * crypt/crypt_util.c: Likewise.
40085         * libio/filedoalloc.c: Likewise.
40086         * libio/fileops.c: Likewise.
40087         * libio/genops.c: Likewise.
40088         * libio/iofclose.c: Likewise.
40089         * libio/iofdopen.c: Likewise.
40090         * libio/iofopen.c: Likewise.
40091         * libio/iofopen64.c: Likewise.
40092         * libio/iogetdelim.c: Likewise.
40093         * libio/iopopen.c: Likewise.
40094         * libio/obprintf.c: Likewise.
40095         * libio/oldfileops.c: Likewise.
40096         * libio/oldiofclose.c: Likewise.
40097         * libio/oldiofdopen.c: Likewise.
40098         * libio/oldiofopen.c: Likewise.
40099         * libio/oldiopopen.c: Likewise.
40100         * libio/wfiledoalloc.c: Likewise.
40101         * libio/wgenops.c: Likewise.
40102         * locale/programs/xmalloc.c: Likewise.
40103         * misc/syslog.c: Likewise.
40104         * stdio-common/xbug.c: Likewise.
40105         * string/memchr.c: Likewise.
40106         * string/memcmp.c: Likewise.
40107         * string/memrchr.c: Likewise.
40108         * string/rawmemchr.c: Likewise.
40109         * sysdeps/posix/getcwd.c: Likewise.
40110         * time/strftime_l.c: Likewise.
40111
40112 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40113
40114         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40115         * config.make.in (config-cflags-sse2avx): Define.
40116         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40117         Fix typo.
40118
40119 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40120
40121         * scripts/config.guess: Update from upstream config git repository.
40122         * scripts/config.sub: Likewise.
40123
40124 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40125
40126         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40127         (EM_NUM): Update.
40128         (R_TILEPRO_*, R_TILEGX_*): New macros.
40129
40130         * scripts/firstversions.awk: Fix bug in version range handling.
40131
40132         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40133
40134         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40135
40136         * include/sys/epoll.h: New file.
40137         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40138         libc_hidden_def.
40139
40140 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40141
40142         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40143         Avoid unnecessary __WORDSIZE == 64 test.
40144         (fmaxf): Use VEX format if possible.
40145         (fmax): Likewise.
40146         (fminf): Likewise.
40147         (fmin): Likewise.
40148
40149         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40150         * math/math_private.h: Remove libc_fegetround* and
40151         libc_fesetround*.
40152         * sysdeps/i386/configure.in: Check for -msse2avx.
40153         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40154         also if SSE2AVX is defined.
40155         Remove libc_fegetround* and libc_fesetround*.
40156         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40157         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40158         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40159         of HAS_YMM_USABLE.
40160         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40161         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40162         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40163         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40164         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40165
40166         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40167
40168 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40169
40170         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40171         size is not set.
40172         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40173
40174 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40175
40176         [BZ #13618]
40177         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40178         relocation.
40179         * Makeconfig (libm): Define.
40180         * elf/Makefile: Add rules to build and run tst-relsort1.
40181         * elf/tst-relsort1.c: New file.
40182         * elf/tst-relsort1mod1.c: New file.
40183         * elf/tst-relsort1mod2.c: New file.
40184
40185 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40186
40187         * math/s_ldexp.c: Remove __STDC__ conditionals.
40188         * math/s_ldexpf.c: Likewise.
40189         * math/s_ldexpl.c: Likewise.
40190         * math/s_nextafter.c: Likewise.
40191         * math/s_nexttowardf.c: Likewise.
40192         * math/s_significand.c: Likewise.
40193         * math/s_significandf.c: Likewise.
40194         * math/s_significandl.c: Likewise.
40195         * math/w_jnl.c: Likewise.
40196         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40197         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40198         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40199         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40200         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40201         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40202         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40203         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40204         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40205         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40206         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40207         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40208         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40209         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40210         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40211         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40212         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40213         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40214         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40215         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40216         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40217         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40218         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40219         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40220         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40221         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40222         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40223         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40224         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40225         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40226         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40227         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40228         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40229         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40230         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40231         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40232         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40233         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40234         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40235         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40236         * sysdeps/ieee754/k_standard.c: Likewise.
40237         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40238         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40239         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40240         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40241         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40242         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40243         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40244         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40245         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40246         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40247         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40248         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40249         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40250         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40251         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40252         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40253         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40254         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40255         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40256         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40257         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40258         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40259         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40260         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40261         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40262         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40263         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40264         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40265         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40266         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40267         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40268         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40269         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40270         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40271         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40272         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40273         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40274         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40275         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40276         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40277         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40278         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40279         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40280         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40281         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40282         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40283         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40284         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40285         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40286         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40287         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40288         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40289         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40290         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40291         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40292         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40293         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40294         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40295         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40296         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40297         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40298         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40299         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40300         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40301         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40302         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40303         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40304         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40305         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40306         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40307         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40308         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40309         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40310         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40311         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40312         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40313         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40314         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40315         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40316         * sysdeps/ieee754/s_matherr.c: Likewise.
40317         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40318         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40319         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40320         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40321
40322 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40323
40324         * crypt/md5.h: Remove __STDC__ conditionals.
40325         * libio/libioP.h: Likewise.
40326         * locale/programs/config.h: Likewise.
40327         * sysdeps/generic/sysdep.h: Likewise.
40328         * sysdeps/i386/asm-syntax.h: Likewise.
40329         * sysdeps/s390/asm-syntax.h: Likewise.
40330         * sysdeps/unix/sysdep.h: Likewise.
40331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40333
40334 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40335
40336         * libio/libio.h: Remove __STDC__ conditionals.
40337         * malloc/obstack.h: Likewise.
40338         * math/complex.h: Likewise.
40339         * math/math.h: Likewise.
40340         * sysdeps/generic/_G_config.h: Likewise.
40341         * sysdeps/gnu/_G_config.h: Likewise.
40342         * sysdeps/mach/hurd/_G_config.h: Likewise.
40343         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40344         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40345         * sysdeps/sparc/bits/mathdef.h: Likewise.
40346
40347 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
40348
40349         [BZ #13583]
40350         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40351         Clean up HAS_* macros.
40352         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40353         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40354         possible.
40355         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40356         HAS_AVX.
40357         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40358         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40359         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40360         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40361         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40362
40363 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
40364
40365         * elf/tst-unique3.cc (gets): Remove declaration.
40366         * elf/tst-unique3lib.cc (gets): Likewise.
40367         * elf/tst-unique3lib2.cc (gets): Likewise.
40368         * elf/tst-unique4.cc (gets): Likewise.
40369
40370 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
40371
40372         * include/stdio.h: Add C++ protection.  Add gets declarations and
40373         definitions.
40374         * debug/tst-chk1.c: Don't declare gets here.
40375         * stdio-common/tst-gets.c: Likewise.
40376
40377 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40378
40379         * posix/glob: Remove directory.
40380
40381 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40382
40383         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40384
40385 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
40386
40387         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40388         of the non-standard EPFNOSUPPORT.
40389
40390 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40391
40392         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40393         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40394         ANYWHERE set to 1 only on KERN_NO_SPACE error.
40395
40396 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
40397
40398         * wcsmbs/uchar.h: Test __STDC_VERSION__.
40399
40400 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
40401
40402         * nscd/aicache.c (addhstaiX): Do not cache negative results of
40403         transient errors.
40404         * nscd/grpcache.c (cache_addgr): Likewise.
40405         * nscd/hstcache.c (cache_addhst): Likewise.
40406         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40407         * nscd/pwdcache.c (cache_addpw): Likewise.
40408         * nscd/servicescache.c (cache_addserv): Likewise.
40409
40410 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
40411
40412         * malloc/malloc.c: Various cleanups.
40413         * malloc/hooks.c: Likewise.
40414
40415         * stdlib/Makefile (tests): Add bug-fmtmsg1.
40416         * stdlib/bug-fmtmsg1.c: New file.
40417
40418         * stdlib/fmtmsg.c (init): Add missing unlock.
40419         Patch by Peng Haitao <penght@cn.fujitsu.com>.
40420
40421 2012-01-12  Marek Polacek  <polacek@redhat.com>
40422
40423         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40424         and _GNU_SOURCE.
40425
40426 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40427
40428         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40429         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40430         macro to ensure uniqueness of label name.
40431         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40432         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40433
40434 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
40435
40436         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40437
40438         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40439         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40440         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40441         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40442
40443 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
40444
40445         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40446
40447         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40448         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40449         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40450
40451         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40452
40453         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40454         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40455         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40456         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40457
40458         * math/bits/math-finite.h: Add ldexp support.
40459
40460 2012-01-10  Marek Polacek  <polacek@redhat.com>
40461
40462         * locale/programs/localedef.h (show_archive_content): Add noreturn
40463         attribute.
40464
40465 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
40466
40467         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40468
40469 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40470
40471         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40472
40473         * io/Makefile (headers): Add bits/poll2.h.
40474
40475 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
40476
40477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40478         typo #include statement.
40479
40480 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40481
40482         * include/sys/cdefs.h: Define __attribute_alloc_size.
40483         * catgets/gencat.c: Add alloc_size attribute and apply consistently
40484         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40485         * elf/pldd.c: Likewise.
40486         * iconv/iconv_charmap.c: Likewise.
40487         * iconv/iconvconfig.c: Likewise.
40488         * iconv/strtab.c: Likewise.
40489         * locale/programs/locale.c: Likewise.
40490         * locale/programs/localedef.h: Likewise.
40491         * locale/programs/simple-hash.c: Likewise.
40492         * nscd/nscd.h: Likewise.
40493         * nss/makedb.c: Likewise.
40494         * sysdeps/generic/ldconfig.h: Likewise.
40495         * locale/programs/localedef.c: Remove xmalloc prototype.
40496         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40497
40498 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40499
40500         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40501         appropriate.
40502
40503 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40504
40505         * math/Makefile (tests): Add tst-CMPLX.
40506         * math/tst-CMPLX.c: New file.
40507
40508         * math/complex.h (CMPLXL): Fix typo.
40509
40510         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40511         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40512         GLIBC_2.16.
40513         * debug/tst-chk1.c: Add poll and ppoll tests.
40514         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40515         * include/sys/poll.h: Add hidden proto for ppoll.
40516         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40517         * sysdeps/mach/hurd/ppoll.c: Likewise.
40518         * io/ppoll.c: Likewise.
40519         * debug/poll_chk.c: New file.
40520         * debug/ppoll_chk.c: New file.
40521         * include/bits/poll2.h: New file.
40522         * io/bits/poll2.h: New file.
40523
40524         [BZ #1350]
40525         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40526
40527         * configure.in: static is always set to yes.  Remove.
40528         * config.make.in: Don't set build-static.
40529         * Makeconfig: Remove use of build-static.
40530         * dlfcn/Makefile: Likewise.
40531         * elf/Makefile: Likewise.
40532         * math/Makefile: Likewise.
40533         * misc/Makefile: Likewise.
40534         * nptl/Makefile: Likewise.
40535         * sysdeps/mach/hurd/Makefile: Likewise.
40536
40537         * configure.in: PWD_P is not used anymore.
40538         * config.make.in: Remove PWD_P entry.
40539
40540         * configure.in: Remove last remnants of RANLIB.
40541         No need to check for signed size_t anymore.
40542         Don't set libc_commonpagesize and libc_relro_required here for Alpha
40543         and IA-64.
40544         Remove __builtin_expect test because we require at least gcc 3.4.
40545         * aclocal.m4: Likewise.
40546
40547         * wcsmbs/mbrtoc16.c: Implement using towc function.
40548         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40549         * wcsmbs/wcsmbsload.c: Likewise.
40550         * iconv/gconv_simple.c: Likewise.
40551         * iconv/gconv_int.h: Likewise.
40552         * iconv/gconv_builtin.h: Likewise.
40553         * iconv/iconv_prog.c: Remove CHAR16 handling.
40554
40555         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40556
40557         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40558
40559         * configure.in: Remove --with-elf and --enable-bounded options.
40560         Dont set base_machine for ia64.  More non-ELF conditions removed.
40561         Remove testing and setting of leading underscore information.
40562         * config.make.in (build-bounded): Set to no.
40563         * config.h.in: Remove NO_UNDERSCORES entry.
40564         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
40565         them.
40566         * csu/start.c: Remove !NO_UNDERSCORE code.
40567         * locale/localeinfo.h: Likewise.
40568         * sysdeps/generic/machine-gmon.h: Likewise.
40569         * sysdeps/generic/sysdep.h: Likewise.
40570         * sysdeps/i386/sysdep.h: Likewise.
40571         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40572         * sysdeps/mach/sysdep.h: Likewise.
40573         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40574         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40575         * sysdeps/sh/sysdep.h: Likewise.
40576         * sysdeps/sparc/sparc32/alloca.S: Likewise.
40577         * sysdeps/unix/i386/sysdep.S: Likewise.
40578         * sysdeps/unix/sparc/start.c: Likewise.
40579         * sysdeps/unix/sparc/sysdep.S: Likewise.
40580         * sysdeps/unix/sparc/sysdep.h: Likewise.
40581         * sysdeps/unix/start.c: Likewise.
40582         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40583         * sysdeps/x86_64/sysdep.h: Likewise.
40584
40585 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
40586
40587         [BZ #13553]
40588         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40589         for non-gcc.
40590         * argp/argp-fmtstream.h: Use const instead __const.
40591         * argp/argp.h: Likewise.
40592         * assert/assert.h: Likewise.
40593         * bits/fenv.h: Likewise.
40594         * bits/sched.h: Likewise.
40595         * bits/sigset.h: Likewise.
40596         * bits/sigthread.h: Likewise.
40597         * catgets/nl_types.h: Likewise.
40598         * conform/data/pthread.h-data: Likewise.
40599         * crypt/crypt-private.h: Likewise.
40600         * crypt/crypt.h: Likewise.
40601         * crypt/crypt_util.c: Likewise.
40602         * ctype/ctype.h: Likewise.
40603         * debug/execinfo.h: Likewise.
40604         * debug/mbsnrtowcs_chk.c: Likewise.
40605         * debug/mbsrtowcs_chk.c: Likewise.
40606         * debug/wcsnrtombs_chk.c: Likewise.
40607         * debug/wcsrtombs_chk.c: Likewise.
40608         * debug/wcstombs_chk.c: Likewise.
40609         * dirent/dirent.h: Likewise.
40610         * dlfcn/dlfcn.h: Likewise.
40611         * elf/neededtest4.c: Likewise.
40612         * grp/grp.h: Likewise.
40613         * gshadow/gshadow.h: Likewise.
40614         * iconv/gconv.h: Likewise.
40615         * iconv/gconv_int.h: Likewise.
40616         * iconv/gconv_simple.c: Likewise.
40617         * iconv/iconv.h: Likewise.
40618         * iconv/loop.c: Likewise.
40619         * iconv/skeleton.c: Likewise.
40620         * include/aio.h: Likewise.
40621         * include/aliases.h: Likewise.
40622         * include/argz.h: Likewise.
40623         * include/arpa/inet.h: Likewise.
40624         * include/assert.h: Likewise.
40625         * include/dirent.h: Likewise.
40626         * include/dlfcn.h: Likewise.
40627         * include/execinfo.h: Likewise.
40628         * include/fcntl.h: Likewise.
40629         * include/fenv.h: Likewise.
40630         * include/glob.h: Likewise.
40631         * include/grp.h: Likewise.
40632         * include/libintl.h: Likewise.
40633         * include/mntent.h: Likewise.
40634         * include/netdb.h: Likewise.
40635         * include/pwd.h: Likewise.
40636         * include/rpc/netdb.h: Likewise.
40637         * include/sched.h: Likewise.
40638         * include/search.h: Likewise.
40639         * include/shadow.h: Likewise.
40640         * include/signal.h: Likewise.
40641         * include/stdio.h: Likewise.
40642         * include/stdlib.h: Likewise.
40643         * include/string.h: Likewise.
40644         * include/sys/socket.h: Likewise.
40645         * include/sys/stat.h: Likewise.
40646         * include/sys/statfs.h: Likewise.
40647         * include/sys/statvfs.h: Likewise.
40648         * include/sys/syslog.h: Likewise.
40649         * include/sys/time.h: Likewise.
40650         * include/sys/uio.h: Likewise.
40651         * include/time.h: Likewise.
40652         * include/unistd.h: Likewise.
40653         * include/utmp.h: Likewise.
40654         * include/wchar.h: Likewise.
40655         * include/wctype.h: Likewise.
40656         * inet/aliases.h: Likewise.
40657         * inet/arpa/inet.h: Likewise.
40658         * inet/netinet/ether.h: Likewise.
40659         * inet/netinet/in.h: Likewise.
40660         * intl/libintl.h: Likewise.
40661         * io/bits/fcntl2.h: Likewise.
40662         * io/fcntl.h: Likewise.
40663         * io/ftw.h: Likewise.
40664         * io/sys/poll.h: Likewise.
40665         * io/sys/stat.h: Likewise.
40666         * io/sys/statfs.h: Likewise.
40667         * io/sys/statvfs.h: Likewise.
40668         * io/utime.h: Likewise.
40669         * libio/bits/stdio.h: Likewise.
40670         * libio/bits/stdio2.h: Likewise.
40671         * libio/libio.h: Likewise.
40672         * libio/libioP.h: Likewise.
40673         * libio/stdio.h: Likewise.
40674         * locale/lc-ctype.c: Likewise.
40675         * locale/locale.h: Likewise.
40676         * login/utmp.h: Likewise.
40677         * malloc/arena.c: Likewise.
40678         * malloc/malloc.c: Likewise.
40679         * malloc/malloc.h: Likewise.
40680         * malloc/mcheck.c: Likewise.
40681         * malloc/mtrace.c: Likewise.
40682         * math/bits/mathcalls.h: Likewise.
40683         * math/fenv.h: Likewise.
40684         * math/math_private.h: Likewise.
40685         * misc/bits/error.h: Likewise.
40686         * misc/bits/syslog.h: Likewise.
40687         * misc/err.h: Likewise.
40688         * misc/error.h: Likewise.
40689         * misc/fstab.h: Likewise.
40690         * misc/mntent.h: Likewise.
40691         * misc/regexp.h: Likewise.
40692         * misc/search.h: Likewise.
40693         * misc/sgtty.h: Likewise.
40694         * misc/sys/mman.h: Likewise.
40695         * misc/sys/syslog.h: Likewise.
40696         * misc/sys/uio.h: Likewise.
40697         * misc/sys/xattr.h: Likewise.
40698         * misc/ttyent.h: Likewise.
40699         * nis/rpcsvc/ypclnt.h: Likewise.
40700         * nss/nss.h: Likewise.
40701         * posix/bits/unistd.h: Likewise.
40702         * posix/fnmatch.h: Likewise.
40703         * posix/glob.h: Likewise.
40704         * posix/sched.h: Likewise.
40705         * posix/spawn.h: Likewise.
40706         * posix/sys/wait.h: Likewise.
40707         * posix/unistd.h: Likewise.
40708         * posix/wordexp.h: Likewise.
40709         * pwd/pwd.h: Likewise.
40710         * resolv/netdb.h: Likewise.
40711         * resource/sys/resource.h: Likewise.
40712         * rt/aio.h: Likewise.
40713         * rt/bits/mqueue2.h: Likewise.
40714         * rt/mqueue.h: Likewise.
40715         * shadow/shadow.h: Likewise.
40716         * signal/signal.h: Likewise.
40717         * socket/send.c: Likewise.
40718         * socket/sendto.c: Likewise.
40719         * socket/sys/socket.h: Likewise.
40720         * stdio-common/printf.h: Likewise.
40721         * stdlib/bits/stdlib.h: Likewise.
40722         * stdlib/fmtmsg.h: Likewise.
40723         * stdlib/monetary.h: Likewise.
40724         * stdlib/stdlib.h: Likewise.
40725         * stdlib/ucontext.h: Likewise.
40726         * streams/stropts.h: Likewise.
40727         * string/argz.h: Likewise.
40728         * string/bits/string2.h: Likewise.
40729         * string/string.h: Likewise.
40730         * string/strings.h: Likewise.
40731         * sunrpc/rpc/auth.h: Likewise.
40732         * sunrpc/rpc/auth_des.h: Likewise.
40733         * sunrpc/rpc/clnt.h: Likewise.
40734         * sunrpc/rpc/netdb.h: Likewise.
40735         * sunrpc/rpc/pmap_clnt.h: Likewise.
40736         * sunrpc/rpc/xdr.h: Likewise.
40737         * sysdeps/generic/inttypes.h: Likewise.
40738         * sysdeps/generic/net/if.h: Likewise.
40739         * sysdeps/generic/sys/swap.h: Likewise.
40740         * sysdeps/gnu/net/if.h: Likewise.
40741         * sysdeps/gnu/utmpx.h: Likewise.
40742         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40743         * sysdeps/i386/i486/bits/string.h: Likewise.
40744         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40745         * sysdeps/s390/bits/string.h: Likewise.
40746         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40747         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40748         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40749         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40750         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40751         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40752         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40753         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40754         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40755         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40756         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40757         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40758         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40759         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40760         * sysdeps/unix/sysv/linux/readv.c: Likewise.
40761         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40762         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40763         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40764         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40765         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40766         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40767         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40768         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40769         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40770         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40771         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40772         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40773         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40774         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40775         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40776         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40777         * sysvipc/sys/ipc.h: Likewise.
40778         * sysvipc/sys/msg.h: Likewise.
40779         * sysvipc/sys/sem.h: Likewise.
40780         * sysvipc/sys/shm.h: Likewise.
40781         * termios/termios.h: Likewise.
40782         * time/sys/time.h: Likewise.
40783         * time/time.h: Likewise.
40784         * wcsmbs/bits/wchar2.h: Likewise.
40785         * wcsmbs/uchar.h: Likewise.
40786         * wcsmbs/wchar.h: Likewise.
40787         * wctype/wctype.h: Likewise.
40788
40789         [BZ #13551]
40790         * Makeconfig: Remove all but ELF support including AIX support.
40791         * Makerules: Likewise.
40792         * config.h.in: Likewise.
40793         * config.make.in: Likewise.
40794         * configure: Likewise.
40795         * configure.in: Likewise.
40796         * csu/Makefile: Likewise.
40797         * csu/version.c: Likewise.
40798         * debug/Makefile: Likewise.
40799         * dlfcn/Makefile: Likewise.
40800         * elf/Makefile: Likewise.
40801         * extra-lib.mk: Likewise.
40802         * iconv/Makefile: Likewise.
40803         * include/libc-symbols.h: Likewise.
40804         * include/shlib-compat.h: Likewise.
40805         * resolv/Makefile: Likewise.
40806         * resolv/res_libc.c: Likewise.
40807         * rt/Makefile: Likewise.
40808         * sysdeps/i386/asm-syntax.h: Likewise.
40809         * sysdeps/i386/sysdep.h: Likewise.
40810         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40811         * sysdeps/mach/sysdep.h: Likewise.
40812         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40813         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40814         * sysdeps/s390/asm-syntax.h: Likewise.
40815         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40816         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40817         * sysdeps/sh/sysdep.h: Likewise.
40818         * sysdeps/unix/sparc/sysdep.h: Likewise.
40819         * sysdeps/wordsize-32/divdi3.c: Likewise.
40820         * sysdeps/x86_64/sysdep.h: Likewise.
40821
40822         * argp/Versions: Remove _argp_unlock_xxx.
40823
40824         [BZ #13559]
40825         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
40826         * abilist/libBrokenLocale.abilist: Likewise.
40827         * abilist/libanl.abilist: Likewise.
40828         * abilist/libc.abilist: Likewise.
40829         * abilist/libcrypt.abilist: Likewise.
40830         * abilist/libdl.abilist: Likewise.
40831         * abilist/libm.abilist: Likewise.
40832         * abilist/libnsl.abilist: Likewise.
40833         * abilist/libpthread.abilist: Likewise.
40834         * abilist/libresolv.abilist: Likewise.
40835         * abilist/librt.abilist: Likewise.
40836         * abilist/libthread_db.abilist: Likewise.
40837         * abilist/libutil.abilist: Likewise.
40838         * abilist/libnss_db.abilist: New file.
40839
40840         * scripts/abilist.awk: Add support for indirect functions.
40841
40842         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40843
40844         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40845
40846         * shlib-versions: Remove entries for ports architectures.
40847
40848         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
40849         files in ports.
40850         * elf/stackguard-macros.h: Remove support for IA-64.
40851         * elf/tst-auditmod1.c: Likewise.
40852         * sysdeps/generic/ldsodefs.h: Likewise.
40853
40854         * sysdeps/unix/sysv/linux/configure.in: Ports should define
40855         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40856         configure files.
40857
40858         [BZ #13552]
40859         * configure.in: Remove --enable-omitfp support.
40860         * FAQ.in: Adjust.
40861         * config.make.in: Likewise.
40862         * Makeconfig: Likewise.
40863         * manual/install.texi: Likewise.
40864
40865         In case anyone cares, the IA-64 architecture could move to ports.
40866         * sysdeps/ia64/*: Removed.
40867         * sysdeps/unix/sysv/linux/ia64/*: Removed.
40868         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40869
40870         [BZ #13555]
40871         * configure.in: Remove entries for unsupported architectures.
40872
40873         [BZ #13533]
40874         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40875         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
40876         routines.
40877         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40878         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40879         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
40880         fall back to using wcrtomb.
40881         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40882         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
40883         renaming.
40884         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40885         * wcsmbs/tst-c16c32-1.c: New file.
40886
40887         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40888         local variable.
40889
40890         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40891
40892         * elf/tst-unique3.cc: Add explicit declaration of gets.
40893         * elf/tst-unique3lib.cc: Likewise.
40894         * elf/tst-unique3lib2.cc: Likewise.
40895         * elf/tst-unique4.cc: Likewise.
40896
40897         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40898
40899 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
40900
40901         [BZ #13566]
40902         * assert/assert.h (static_assert): Don't define for C++.
40903         * libio/stdio.h (gets): Do declare for C++ <= C++11.
40904         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40905
40906 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
40907
40908         * iconv/loop.c (single loop): Fix assertion in storing of
40909         remaining bytes.
40910
40911         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40912
40913 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
40914
40915         * posix/getconf.c: Update copyright year.
40916         * nss/getent.c: Likewise.
40917         * nss/makedb.c: Likewise.
40918         * iconv/iconvconfig.c: Likewise.
40919         * iconv/iconv_prog.c: Likewise.
40920         * elf/ldconfig.c: Likewise.
40921         * elf/pldd.c: Likewise.
40922         * elf/sotruss.ksh: Likewise.
40923         * catgets/gencat.c: Likewise.
40924         * csu/version.c: Likewise.
40925         * elf/ldd.bash.in: Likewise.
40926         * elf/sprof.c (print_version): Likewise.
40927         * locale/programs/locale.c: Likewise.
40928         * locale/programs/localedef.c: Likewise.
40929         * login/programs/pt_chown.c: Likewise.
40930         * nscd/nscd.c (print_version): Likewise.
40931         * debug/xtrace.sh: Likewise.
40932         * malloc/memusage.sh: Likewise.
40933         * malloc/mtrace.pl: Likewise.
40934         * debug/catchsegv.sh: Likewise.
40935
40936 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
40937
40938         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40939         pure attribute.
40940
40941 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
40942
40943         [BZ #13533]
40944         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40945         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40946         transformations.
40947         * iconv/gconv_int.h: Likewise.
40948         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40949         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40950         from libc for GLIBC_2.16.
40951         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40952         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40953         * wcsmbs/uchar.h: Really define mbstate_t.
40954         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40955         * wcsmbs/c16rtomb.c: New file.
40956         * wcsmbs/mbrtoc16.c: New file.
40957         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40958         for C/POSIX locale.
40959         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40960         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40961
40962         * wcsmbs/wchar.h: Add missing __restrict.
40963
40964 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40965
40966         [BZ #13532]
40967         * time/Makefile (routines): Add timespec_get.
40968         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40969         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
40970         timespec for ISO C11.
40971         * time/timespec_get.c: New file.
40972         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40973         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40974
40975         [BZ #13531]
40976         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40977         * stdlib/stdlib.h: Declare aligned_alloc.
40978         * Versions.def: Add GLIBC_2.16 for libc.
40979         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40980
40981         [BZ 13527]
40982         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40983         ISO C11.
40984
40985         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40986         code.
40987
40988         [BZ #13528]
40989         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40990
40991         [BZ #13529]
40992         * assert/assert.h (static_assert): Define.
40993
40994         * version.h: Update for 2.16 development version.
40995
40996         [BZ #13526]
40997         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40998         _ISOC11_SOURCE.
40999
41000         * version.h (RELEASE): Bump for 2.15 release.
41001         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41002
41003         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41004         Patch by Marek Polacek <mpolacek@redhat.com>.
41005
41006         * bits/byteswap.h: Protect long long constants with __extension__.
41007         * sysdeps/i386/bits/byteswap.h: Likewise.
41008         * sysdeps/ia64/bits/byteswap.h: Likewise.
41009         * sysdeps/s390/bits/byteswap.h: Likewise.
41010         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41011
41012 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41013
41014         [BZ #13540]
41015         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41016         destination buffer.
41017         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41018
41019 2011-12-23  Marek Polacek  <polacek@redhat.com>
41020
41021         * elf/dl-addr.c (determine_info): Add inline keyword.
41022         * elf/tst-auditmod4b.c (check_avx): Likewise.
41023         * elf/tst-auditmod6b.c (check_avx): Likewise.
41024         * elf/tst-auditmod6c.c (check_avx): Likewise.
41025         * elf/tst-auditmod7b.c (check_avx): Likewise.
41026
41027 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41028
41029         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41030         !__SSE_MATH__.
41031
41032 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41033
41034         [BZ #13540]
41035         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41036         processing for last bytes.
41037
41038 2011-08-06  Bruno Haible  <bruno@clisp.org>
41039
41040         [BZ #13061]
41041         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41042         U+0385, not to U+1FEE.
41043
41044         [BZ #13062]
41045         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41046         entry for U+00A5 U+0301.
41047
41048 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41049
41050         [BZ #13166]
41051         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41052         buffer for the output is too small.
41053
41054         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41055         optimization.
41056
41057         [BZ #13185]
41058         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41059         SSE flags if possible.
41060
41061 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41062
41063         [BZ #13540]
41064         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41065         processing for last bytes.
41066
41067 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41068
41069         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41070         (syscall-list-default-options, syscall-list-default-condition)
41071         (syscall-list-includes): Define.
41072         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41073         list of ABIs and options and #if conditions for each ABI.  Do not
41074         handle common syscalls between ABIs specially.
41075         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41076         Remove.
41077         (syscall-list-variants, syscall-list-32bit-options)
41078         (syscall-list-32bit-condition, syscall-list-64bit-options)
41079         (syscall-list-64bit-condition): Define.
41080         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41081         (syscall-list-variants, syscall-list-32bit-options)
41082         (syscall-list-32bit-condition, syscall-list-64bit-options)
41083         (syscall-list-64bit-condition): Define.
41084         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41085         Remove.
41086         (syscall-list-variants, syscall-list-32bit-options)
41087         (syscall-list-32bit-condition, syscall-list-64bit-options)
41088         (syscall-list-64bit-condition): Define.
41089         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41090         Remove.
41091         (syscall-list-variants, syscall-list-32bit-options)
41092         (syscall-list-32bit-condition, syscall-list-64bit-options)
41093         (syscall-list-64bit-condition): Define.
41094
41095 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41096
41097         * locale/iso-639.def: Add brx entry.
41098
41099         [BZ #13328]
41100         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41101         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41102
41103         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41104         __feraiseexcept_renamed.
41105
41106 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41107
41108         [BZ #13538]
41109         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41110         EPOLLET with unsigned values.
41111         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41112         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41113
41114         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41115         to large cancellation.
41116         * math/s_cacoshf.c: Likewise.
41117         * math/s_cacoshl.c: Likewise.
41118
41119 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41120
41121         [BZ #13305]
41122         [BZ #12786]
41123         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41124         * math/s_cacoshf.c: Likewise.
41125         * math/s_cacoshl.c: Likewise.
41126
41127 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41128
41129         [BZ #13439]
41130         * iconv/gconv.h: Define __GCONV_SWAP.
41131         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41132         * iconvdata/utf-16.c: Likewise.
41133         * iconvdata/utf-32.c: Likewise.
41134
41135 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41136
41137         [BZ #13524]
41138         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41139         numerator after shifting it by one limb.
41140
41141 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41142
41143         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41144         under [__USE_EXTERN_INLINES].
41145
41146 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41147
41148         [BZ #13446]
41149         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41150
41151 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41152
41153         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41154         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41155         optimized code.
41156         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41157         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41158         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41159         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41160         for strncasecmp/strncasecmp_l compilation.
41161         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41162         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41163
41164 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41165
41166         [BZ #13484]
41167         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41168         of __asm__.
41169
41170 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41171
41172         [BZ #13506]
41173         * time/tzfile.c (__tzfile_read): Check values from file header.
41174
41175 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41176
41177         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41178         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41179         * powerpc/powerpc32/dl-start.S: Likewise.
41180         * powerpc/powerpc32/elf/start.S: Likewise.
41181         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41182         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41183         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41184         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41185         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41186         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41187         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41188         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41189         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41190         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41191         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41192         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41193         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41194         * powerpc/powerpc32/memset.S: Likewise.
41195         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41196         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41197         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41198         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41199         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41200         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41201         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41202         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41203         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41204         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41205         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41206         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41207         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41208
41209 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41210
41211         * math/libm-test.inc: Added more nearbyint tests.
41212         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41213         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41214         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41215         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41216
41217 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
41218
41219         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41220         FD_CLOEXEC.
41221
41222 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41223
41224         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41225         Add wcscpy-ssse3 wcscpy-c.
41226         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41227         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41228         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41229         * sysdeps/x86_64/wcschr.S: New file.
41230         * sysdeps/x86_64/wcsrchr.S: New file.
41231         * string/test-strcmp.c: Remove checking of wcscmp function for
41232         wrong alignments.
41233         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41234         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41235         wcsrchr-sse2 wcsrchr-c.
41236         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41237         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41238         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41239         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41240         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41241         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41242         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41243         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41244         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41245         * wcsmbc/wcschr.c (WCSCHR): New macro.
41246
41247 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41248
41249         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41250         * wcsmbs/test-wcsrchr.c: New file.
41251         * string/test-strrchr.c: Add wcsrchr support.
41252         (WIDE): New macro.
41253         * wcsmbs/test-wcscpy.c: New file.
41254         * string/test-strcpy.c: Add wcscpy support.
41255         (WIDE): New macro.
41256
41257 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
41258
41259         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41260         the inner loop.
41261
41262 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
41263
41264         [BZ #13472]
41265         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41266
41267 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
41268
41269         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41270         Minor optimizations.
41271
41272         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41273         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41274         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41275
41276 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
41277
41278         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41279         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41280         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41281         for gcc to avoid warnings.
41282         * inet/Makefile (tests): Add tst-checks.
41283         * inet/tst-checks.c: New file.
41284
41285         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41286         warning.
41287
41288         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41289         __wmemcmp_sse2.
41290
41291         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41292         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41293
41294         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41295
41296 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
41297
41298         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41299         problem.
41300
41301         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41302
41303 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
41304
41305         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41306         conditional on GCC version.
41307         (__arch_compare_and_exchange_val_8_acq)
41308         (__arch_compare_and_exchange_val_16_acq)
41309         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41310         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41311         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41312
41313 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
41314
41315         * sysdeps/sh/backtrace.c: New file.
41316
41317 2011-12-02  Andreas Schwab  <schwab@redhat.com>
41318
41319         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
41320         parenthesis.
41321
41322 2011-12-01  Andreas Schwab  <schwab@redhat.com>
41323
41324         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41325         falling back to utime.
41326
41327 2011-11-30  Andreas Schwab  <schwab@redhat.com>
41328
41329         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41330         expectations for float.
41331
41332 2011-11-29  Andreas Schwab  <schwab@redhat.com>
41333
41334         * locale/weight.h (findidx): Add parameter len.
41335         * locale/weightwc.h (findidx): Likewise.
41336         * posix/fnmatch_loop.c (FCT): Adjust caller.
41337         * posix/regcomp.c (build_equiv_class): Likewise.
41338         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41339         * posix/regexec.c (check_node_accept_bytes): Likewise.
41340         * string/strcoll_l.c (STRCOLL): Likewise.
41341         * string/strxfrm_l.c (STRXFRM): Likewise.
41342
41343 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
41344
41345         * Makefile.in: Remove CVSOPT handling.
41346         * configure.in: Remove use of AC_REVISION.
41347         * iconvdata/Makefile (distribute): No need to filter out CVS.
41348         * scripts/list-sources.sh: Remove CVS, subversion and monotone
41349         handling.
41350
41351 2011-11-16  Andreas Schwab  <schwab@redhat.com>
41352
41353         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41354         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41355         [USE_AS_STRNCASECMP_L]: Likewise.
41356         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41357         NO_TLS_DIRECT_SEG_REFS.
41358         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41359         Fix argument offsets for non-PIC.
41360         [USE_AS_STRNCASECMP_L]: Likewise.
41361         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41362         NO_TLS_DIRECT_SEG_REFS.
41363
41364 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41365
41366         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41367         O_CLOEXEC.
41368         * locale/loadlocale.c (_nl_load_locale): Likewise.
41369
41370 2011-11-15  Andreas Schwab  <schwab@redhat.com>
41371
41372         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41373         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41374         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41375         (SYSCALL_GETTIME): Set errno on error.
41376
41377         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41378         count references to noai6ai_cached.
41379
41380 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41381
41382         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41383
41384         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41385         FD_CLOEXEC for /proc/self/maps.
41386
41387         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41388         FD_CLOEXEC for /proc/meminfo.
41389
41390         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41391         gai.conf.
41392
41393         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
41394         FD_CLOEXEC for given file.
41395
41396         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41397
41398         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41399         FD_CLOEXEC for /etc/hosts.
41400         (_gethtent): Likewise.
41401
41402         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41403
41404         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41405         cancellation and set FD_CLOEXEC for /etc/netgroup.
41406
41407         * nss/nss_files/files-key.c (search): Don't allow cancellation when
41408         reading /etc/publickey.
41409
41410         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41411         allow cancellation when reading /etc/group.
41412
41413         * nss/nss_files/files-alias.c (internal_setent): Don't allow
41414         cancellation.
41415         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
41416
41417         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41418         when using data file.
41419
41420         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41421
41422         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41423         (write_nis_obj): Use "c" and "e" in fopen.
41424
41425         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41426
41427         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41428
41429         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41430
41431         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41432
41433         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41434         locale.alias.
41435
41436         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41437
41438         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41439
41440         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41441
41442         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41443         file parsing and set FD_CLOEXEC.
41444
41445 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41446
41447         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41448
41449 2011-11-14  Andreas Schwab  <schwab@redhat.com>
41450
41451         * malloc/arena.c (arena_get2): Don't call reused_arena when
41452         _int_new_arena failed.
41453
41454 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41455
41456         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41457         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41458         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41459         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41460         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41461         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41462         to compile strcasecmp and strncasecmp.
41463         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41464         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41465
41466         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41467
41468 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
41469
41470         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41471         locale-defines.sym to gen-as-const-headers.
41472         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41473         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41474         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41475         to compile strcasecmp and strncasecmp.
41476         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41477         strcasecmp_l and strncasecmp_l.
41478         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41479         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41480         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41481         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41482         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41483         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41484         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41485         * sysdeps/i386/i686/multiarch/strncase.S: New file.
41486         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41487         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41488         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41489
41490 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
41491
41492         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41493         result of SYSDEP_GETTIME_CPU to retval.
41494         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41495         parameter list to macro.  Remove trailing semicolon.  Adjust users.
41496
41497         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41498         variable.
41499
41500         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41501         mantissa words.
41502         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41503
41504         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41505         from unused variable.
41506
41507         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41508         DWARF definitions.
41509         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41510         for assembling.
41511
41512         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41513         over namespaces.
41514
41515         * sunrpc/rpc_prot.c (rejected): Fix case value.
41516
41517         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41518         unsigned long long int to avoid warnings in shift.
41519
41520         * posix/regex_internal.c (re_string_reconstruct): Actually use result
41521         of use of trans.
41522         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41523         variable tmp.
41524
41525         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41526         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41527         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41528
41529         * nis/nis_table.c (nis_list): Use variable of correct type for
41530         result of __follow_path call.
41531
41532 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41533
41534         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41535         of math functions ceil, trunc, floor, round, and sqrt, when
41536         avaliable on the platform.
41537         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41538         name clash.
41539         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41540         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41541         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41542
41543 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
41544
41545         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41546         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41547
41548 2011-11-11  Roland McGrath  <roland@hack.frob.com>
41549
41550         * include/unistd.h: Fix __readlink return type.
41551         Reported by Chris Metcalf <cmetcalf@tilera.com>.
41552
41553 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
41554
41555         * stdlib/ucontext.h: Undo last change for makecontext.
41556
41557 2011-11-11  Andreas Schwab  <schwab@redhat.com>
41558
41559         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41560
41561         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41562         * setjmp/setjmp.h: Mark functions as non-leaf.
41563         * setjmp/bits/setjmp2.h: Likewise.
41564         * stdlib/ucontext.h: Likewise.
41565
41566 2011-11-10  Andreas Schwab  <schwab@redhat.com>
41567
41568         * malloc/arena.c (_int_new_arena): Don't increment narenas.
41569         (reused_arena): Don't check arena limit.
41570         (arena_get2): Atomically check arena limit.
41571
41572 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
41573
41574         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41575         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41576
41577         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41578         instructions.
41579
41580 2011-11-07  Andreas Schwab  <schwab@redhat.com>
41581
41582         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41583         handler when locking.
41584
41585         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41586         Fix size of allocated buffer.
41587
41588 2011-11-04  Andreas Schwab  <schwab@redhat.com>
41589
41590         [BZ #10103]
41591         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41592         declarations for long double functions.
41593         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41594
41595         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41596
41597 2011-11-03  Andreas Schwab  <schwab@redhat.com>
41598
41599         * nscd/nscd.c (main): Don't start AVC thread until credentials are
41600         installed.
41601
41602         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41603         is disabled.
41604
41605 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41606
41607         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41608
41609 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41610
41611         * include/alloca.h (stackinfo_alloca_round): Define.
41612         (extend_alloca): Use it.
41613         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41614         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41615         here.
41616
41617         * scripts/check-local-headers.sh: Ignore libaudit.h.
41618
41619         * nscd/Makefile (extra-objs): Make recursively expanded.
41620
41621 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
41622
41623         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41624         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41625
41626         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41627         * posix/tst-rfc3484-2.c: Likewise.
41628         * posix/tst-rfc3484-3.c: Likewise.
41629
41630         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41631         process_vm_writev.
41632         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41633         process_vm_writev.
41634         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41635         process_vm_writev from libc using GLIBC_2.15 version.
41636
41637         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41638
41639 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
41640
41641         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41642         stack usage.
41643
41644 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
41645
41646         [BZ #13367]
41647         * nss/getent.c (initgroups_keys): Show error message in case no group
41648         names are given.
41649
41650         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41651         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41652         __bump_nl_timestamp.
41653         * nscd/connections (nscd_init): When host database is served open
41654         netlink socket and request notification about configuration changes.
41655         (main_loop_poll): Track netlink file descriptor and bump timestamp
41656         in case data becomes available.
41657         (main_loop_epoll): Likewise.
41658         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41659         (database_pers_head): Add extra_data fileds.
41660         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41661         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41662         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41663         Adjust caller.
41664         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41665         in6ai data, call __free_in6ai.
41666         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41667         Add -DHAVE_NETLINK.
41668         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
41669         interface information.  Reuse previous data if netlink timestamp
41670         is not changed.
41671         (__bump_nl_timestamp): New function.
41672         (__free_in6ai): New function.
41673
41674 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
41675
41676         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41677         close_not_cancel_no_status here.
41678         (__check_pf): Reorganize code a bit to not call close twice if OOM.
41679
41680 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41681
41682         [BZ #13276]
41683         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41684         return value.
41685
41686         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41687         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41688         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41689
41690 2011-07-03  Andreas Jaeger  <aj@suse.de>
41691
41692         [BZ #10709]
41693         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41694         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41695         * math/libm-test.inc (sin_test): Add test case.
41696
41697 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41698
41699         [BZ #13337]
41700         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41701         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41702
41703         * elf/chroot_canon.c (chroot_canon): Cleanups.
41704
41705         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41706
41707         [BZ #13335]
41708         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41709         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41710
41711         * string/test-strchr.c: Make usable for strchrnul testing.
41712         * string/test-strchrnul.c: New file.
41713         * string/Makefile (strop-tests): Add strchrnul.
41714
41715         * po/it.po: Update from translation team.
41716         * po/es.po: Likewise.
41717
41718 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
41719
41720         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41721         the three constants needed as parameters.  Drop the others.
41722         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41723         __m128i_strloadu_tolower.
41724         Create and initialize variable zero and use it in all the places
41725         where _mm_setzero_si128 was used.
41726
41727         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41728         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41729         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41730         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41731         anymore.
41732         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41733         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41734         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41735         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41736         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41737         __mpranred, __mptan.
41738         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41739         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41740         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41741         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41742         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41743         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41744         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41745         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41746         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41747
41748 2011-10-28  Andreas Schwab  <schwab@redhat.com>
41749
41750         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41751         redefine if SHARED.
41752         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41753
41754         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41755         wide char related routines to wcsmbs subdir.
41756
41757 2011-10-27  Andreas Schwab  <schwab@redhat.com>
41758
41759         [BZ #13344]
41760         * misc/sys/cdefs.h (__THROWNL): Define.
41761         * posix/unistd.h: Use __THREADNL instead of __THREAD
41762         for memory synchronization functions.
41763
41764 2011-10-26  Roland McGrath  <roland@hack.frob.com>
41765
41766         [BZ #13349]
41767         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41768         doesn't exist.
41769         * manual/stdio.texi (Obstack Streams): Node removed.
41770
41771 2011-10-26  Andreas Schwab  <schwab@redhat.com>
41772
41773         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41774         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41775         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41776
41777         * math/math_private.h (math_force_eval): Allow non-addressable
41778         arguments.
41779         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41780
41781 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41782
41783         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41784         file is not needed.
41785
41786         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41787         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41788         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41789         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41790         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41791         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41792         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41793         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41794         Add AVX variants.
41795         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41796         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41797         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41798         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41799         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41800         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41801         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41802         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41803         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41804         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41805         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41806         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41807         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41808         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41809         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41810         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41811         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41812         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41813         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41814
41815         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41816         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
41817
41818         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41819         place.  Use VEX encoding when compiling for AVX.
41820
41821 2011-10-25  Andreas Schwab  <schwab@redhat.com>
41822
41823         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41824         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41825
41826         * string/test-strchr.c (do_test): Don't generate NUL bytes.
41827
41828 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41829
41830         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41831         useless if() expression.
41832         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41833         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41834         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41835         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41836         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41837         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41838         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41839         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41840         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41841         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41842         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41843         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41844         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41845         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41846         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41847         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41848         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41849         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41850         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41851
41852         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41853
41854 2011-10-25  Andreas Schwab  <schwab@redhat.com>
41855
41856         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41857         condition.
41858         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41859
41860 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41861
41862         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41863         .text section.  Avoid duplicate constants.
41864         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41865         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41866         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41867         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41868         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41869         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41870         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41871         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41872         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41873         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41874         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41875         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41876         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41877         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41878         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41879         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41880         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41881         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41882         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41883         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41884         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41885         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41886         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41887         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41888         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41889         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41890         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41891         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41892         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41893         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41894         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41895         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41896         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41897         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41898         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41899         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41900         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41901         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41902         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41903         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41904         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41905         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41906         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41907         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41908         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41909
41910 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
41911
41912         * sysdeps/x86_64/dla.h: Move to ...
41913         * sysdeps/x86_64/fpu/dla.h: ...here.
41914         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41915         situations.  Use __builtin_fma only for gcc 4.6 and up.
41916
41917         * config.make.in: Add have-mfma4 entry.
41918         * configure.in: Substitute libc_cv_cc_fma4.
41919         * math/Makefile (dbl-only-routines): Add sincostab.
41920         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41921         Use __sincostab not sincos.
41922         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41923         name is a macro.
41924         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41925         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41926         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41927         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
41928         using __copysign.
41929         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
41930         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
41931         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41932         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41933         and __inv.
41934         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41935         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41936         __copysign.
41937         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
41938         define aliases when function name is a macro.
41939         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41940         sysdeps/ieee754/dbl-64/sincos.tbl.
41941         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41942         fma4-enabled routines.
41943         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41944         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41945         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41946         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41947         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41948         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41949         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41950         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41951         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41952         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41953         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41954         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41955         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41956         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41957         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41958         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41959         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41960         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41961         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41962         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41963         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41964         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41965         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41966         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41967         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41968         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41969         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41970         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41971         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41972         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41973
41974         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41975         rename.
41976         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41977         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41978         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41979         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41980         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41981         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41982         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41983         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41984
41985 2011-10-24  Andreas Schwab  <schwab@redhat.com>
41986
41987         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41988
41989 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41990
41991         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41992
41993         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41994         prediction.
41995         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41996
41997         * string/strnlen.c: Don't define STRNLEN, reverse logic.
41998         Remove unused variable magic_bits.
41999         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42000
42001         * string/strnlen.c: Define and use STRNLEN macro.
42002         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42003         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42004         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42005         * wcsmbs/wcslen.c: Define and use WCSLEN.
42006         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42007         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42008         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42009         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42010         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42011         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42012         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42013
42014 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42015
42016         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42017         strnlen-sse2-no-bsf.
42018         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42019         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42020         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42021         Add strnlen support.
42022         (USE_AS_STRNLEN): New macro.
42023         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42024         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42025         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42026         * sysdeps/x86_64/wcslen.S: New file.
42027
42028 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42029
42030         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42031         XMM-moves are used for copying on small sizes.
42032
42033 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42034
42035         * wcsmbs/Makefile (strop-tests): Add wcschr.
42036         * wcsmbs/test-wcschr.c: New file.
42037         * string/test-strchr.c: Update.
42038         Add wcschr support.
42039         (WIDE): New macro.
42040
42041 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42042
42043         * wcsmbs/Makefile (strop-tests): Add wcslen.
42044         * wcsmbs/test-wcslen.c: New file.
42045         * string/test-strlen.c: Update.
42046         Add wcslen support.
42047         (WIDE): New macro.
42048
42049 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42050
42051         * po/it.po: Update from translation team.
42052
42053 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42054
42055         * sysdeps/x86_64/wcscmp.S: Update.
42056         Fix wrong comparison semantics.
42057         wcscmp shall use signed comparison not unsigned.
42058         Don't use substraction to avoid overflow bug.
42059         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42060         * wcsmbc/wcscmp.c: Likewise.
42061         * string/test-strcmp.c: Likewise.
42062         Add new tests to check cases with negative values.
42063
42064 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42065
42066         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42067         * sysdeps/x86_64/dla.h: ...here.  New file.
42068         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42069         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42070         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42071         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42072         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42073         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42074         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42075         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42076         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42077
42078 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42079
42080         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42081         __ynl_finite aliases.
42082
42083 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42084
42085         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42086
42087         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42088         define DLA_FMA.
42089         [DLA_FMA] (EMULV): Use DLA_FMA.
42090         [DLA_FMA] (MUL12): Use EMULV.
42091         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42092         that are not needed.
42093         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42094         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42095         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42096         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42097         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42098         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42099         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42100
42101 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42102
42103         * math/s_nan.c: Undef __nan.
42104         * math/s_nanf.c: Undef __nanf.
42105         * math/s_nanl.c: Undef __nanl.
42106         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42107         "math_private.h".
42108
42109 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42110
42111         * math/s_catan.c: Add branch predictions.
42112         * math/s_catanf.c: Likewise.
42113         * math/s_catanh.c: Likewise.
42114         * math/s_catanhf.c: Likewise.
42115         * math/s_catanhl.c: Likewise.
42116         * math/s_catanl.c: Likewise.
42117         * math/s_cexp.c: Likewise.
42118         * math/s_cexpf.c: Likewise.
42119         * math/s_cexpl.c: Likewise.
42120         * math/s_clog.c: Likewise.
42121         * math/s_clog10.c: Likewise.
42122         * math/s_clog10f.c: Likewise.
42123         * math/s_clog10l.c: Likewise.
42124         * math/s_clogf.c: Likewise.
42125         * math/s_clogl.c: Likewise.
42126         * math/s_csqrt.c: Likewise.
42127         * math/s_csqrtf.c: Likewise.
42128         * math/s_csqrtl.c: Likewise.
42129         * math/s_ctanf.c: Likewise.
42130         * math/s_ctanh.c: Likewise.
42131         * math/s_ctanhf.c: Likewise.
42132         * math/s_ctanhl.c: Likewise.
42133         * math/s_ctanl.c: Likewise.
42134
42135         * math/math_private.h: Define __nan, __nanf, __nanl.
42136         * math/s_cacosh.c: Include <math_private.h>.
42137         * math/s_cacoshl.c: Likewise.
42138         * math/s_casinh.c: Likewise.
42139         * math/s_casinhf.c: Likewise.
42140         * math/s_casinhl.c: Likewise.
42141         * math/s_ccos.c: Rely entire on ccosh.
42142         * math/s_ccosf.c: Rely entire on ccoshf.
42143         * math/s_ccosl.c: Rely entirely on ccoshl.
42144         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42145         Remove tests for FE_INVALID.
42146         * math/s_ccoshf.c: Likewise.
42147         * math/s_ccoshl.c: Likewise.
42148         * math/s_csin.c: Likewise.
42149         * math/s_csinf.c: Likewise.
42150         * math/s_csinh.c Likewise.
42151         * math/s_csinhf.c: Likewise.
42152         * math/s_csinhl.c: Likewise.
42153         * math/s_csinl.c: Likewise.
42154         * math/s_ctan.c: Likewise.
42155         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42156         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42157         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42158
42159 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42160
42161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42162         compilation problems.
42163
42164         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42165         __builtin_expect.
42166
42167 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42168
42169         * sysdeps/i386/configure.in: Test for -mfma4 option.
42170         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42171         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42172         COMMON_CPUID_INDEX_80000001.
42173         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42174         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42175         use it if FMA3 is not supported.
42176         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42177
42178         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42179         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42180
42181 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42182
42183         [BZ #12892]
42184         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42185         it would create a cycle with a link time dependency.
42186
42187 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42188
42189         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42190         instruction.
42191         * string/Makefile (strop-tests): Add rawmemchr.
42192         * string/test-rawmemchr.c: New file.
42193
42194         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42195         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
42196         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
42197         when compiling str{,n}casecmp and when AVX is available.  Hook up
42198         new optimized code in initializers.
42199
42200 2011-10-19  Andreas Schwab  <schwab@redhat.com>
42201
42202         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42203         __feraiseexcept instead of feraiseexcept.
42204
42205 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
42206
42207         * math/math_private.h: Define defaults for libc_fetestexcept and
42208         libc_feupdateenv.
42209         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42210         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42211         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42212         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42213         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42214         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42215         libc_fetestexcept and libc_feupdateenv.
42216
42217         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42218         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42219         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42220         * sysdeps/x86_64/fpu/math_private.h: Define special version of
42221         libc_feholdexcept_setround.
42222
42223         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42224         Add s_nearbyint-c and s_nearbyintf-c.
42225         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42226         nearbyintf inlines.
42227         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42228         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42229         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42230         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42231
42232         * math/math_private.h: Define defaults for libc_fegetround,
42233         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42234         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42235         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42236         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42237         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42238         standard functions.
42239         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42240         Remove comments and hacks for old compiler versions.
42241         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42242         libc_fegetround, libc_fesetround, libc_feholdexcept, and
42243         libc_feholdexceptl.
42244
42245 2011-10-18  Andreas Schwab  <schwab@redhat.com>
42246
42247         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42248         (__feraiseexcept_renamed): Add __NTH.
42249         (feraiseexcept): Add __NTH.  Rename local variables to fix
42250         namespace violations.
42251
42252 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
42253
42254         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42255
42256         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42257
42258         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42259         recently added interfaces.
42260         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42261
42262         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42263         about macro parameter expansion.
42264
42265         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42266         __NO_MATH_INLINES is defined.  Cleanups.
42267
42268         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42269         and __floorf is target has SSE4.1.
42270         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42271         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42272         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42273         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42274
42275         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42276         name.
42277         (floorf): Likewise.
42278
42279         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42280
42281 2011-10-17  Andreas Schwab  <schwab@redhat.com>
42282
42283         * misc/sys/cdefs.h: Fix last change.
42284
42285         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42286         database lookup.
42287
42288 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
42289
42290         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42291
42292         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42293         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42294         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42295         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42296         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42297         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42298         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42299         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42300         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42301         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42302         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42303         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42304         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42305         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42306         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42307         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42308         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42309         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42310         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42311         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42312         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42313         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42314
42315         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42316         ceil, ceilf, floor, floorf.
42317
42318         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42319         Perform IRELATIVE relocations last.
42320
42321         * elf/do-rel.h: Add another parameter nrelative, replacing the
42322         local variable with the same name.  Change name of the function
42323         to end in Rel or Rela (uppercase).
42324         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42325         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
42326         elf_dynamic_do_##reloc function.
42327
42328 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42329
42330         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42331         is sufficient, at least on modern CPUs.
42332
42333         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42334
42335         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42336         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42337
42338         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42339         __expl_finite.
42340         * math/bits/math-finite.h: Add entries for exp.
42341         * math/e_expl.c: Add __*_finite alias.
42342         * sysdeps/i386/fpu/e_exp.S: Likewise.
42343         * sysdeps/i386/fpu/e_expf.S: Likewise.
42344         * sysdeps/i386/fpu/e_expl.c: Likewise.
42345         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42346         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42347         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42348         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42349         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42350         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42351         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42352
42353         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42354         is sufficient, at least on modern CPUs.
42355
42356         * ctype/ctype-info.c (__ctype_init): Define.
42357         * include/ctype.h (__ctype_init): Declare.
42358         (__ctype_b_loc): The variable is always initialized.
42359         (__ctype_toupper_loc): Likewise.
42360         (__ctype_tolower_loc): Likewise.
42361         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42362         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42363
42364 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
42365
42366         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42367
42368         * configure.in: Also look in $cxxmachine/include for C++ system
42369         headers.
42370
42371 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42372
42373         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42374         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42375         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42376         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
42377         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42378         (USE_AS_WMEMCMP): New macro.
42379         Fixing indents.
42380         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42381         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42382         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42383         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42384         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42385         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42386         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42387         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42388         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42389         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42390         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42391         (USE_AS_WMEMCMP): New macro.
42392         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42393         * sysdeps/string/test-memcmp.c: Update.
42394         Fix simple_wmemcmp.
42395         Add new tests.
42396         * wcsmbs/wmemcmp.c: Update.
42397         (WMEMCMP): New macro.
42398         Fix overflow bug.
42399
42400 2011-10-12  Andreas Jaeger  <aj@suse.de>
42401
42402         [BZ #13268]
42403         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42404
42405 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42406
42407         * libio/iofwide.c (do_length): Avoid warning.
42408
42409         * ctype/ctype.h (__isctype_f): Add missing __THROW.
42410
42411 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
42412
42413         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42414
42415         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42416         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42417         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42418         * sysdeps/i386/i686/fpu/e_log.S: New file.
42419         * sysdeps/i386/i686/fpu/e_logf.S: New file.
42420         * sysdeps/i386/i686/fpu/e_logl.S: New file.
42421
42422         * ctype/ctype.h: Add support for inlined isXXX functions when
42423         compiling C++ code.
42424
42425 2011-10-14  Andreas Schwab  <schwab@redhat.com>
42426
42427         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42428
42429         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42430
42431 2011-10-13  Roland McGrath  <roland@hack.frob.com>
42432
42433         [BZ #13291]
42434         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42435
42436 2011-10-13  Andreas Schwab  <schwab@redhat.com>
42437
42438         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42439         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42440         feraiseexcept.
42441
42442         * sysdeps/x86_64/memrchr.S: Check for zero size.
42443
42444         * string/stratcliff.c: Add memrchr tests.
42445
42446 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42447
42448         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42449         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42450         rawmemchr-sse2 rawmemchr-sse2-bsf.
42451         * sysdeps/i386/i686/multiarch/memchr.S: New file.
42452         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42453         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42454         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42455         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42456         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42457         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42458         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42459         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42460         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42461         * string/memrchr.c (MEMRCHR): New macro.
42462
42463 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
42464
42465         Add integration with gcc's -ffinite-math-only and optimize wrapper
42466         functions in libm.
42467         * Versions.def: Define GLIBC_2.15 version for libm.
42468         * math/Makefile (headers): Add bits/math-finite.h.
42469         * math/bits/math-finite.h: New file.
42470         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42471         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42472         * math/e_acoshl.c: Add __*_finite alias.
42473         * math/e_acosl.c: Likewise.
42474         * math/e_asinl.c: Likewise.
42475         * math/e_atan2l.c: Likewise.
42476         * math/e_atanhl.c: Likewise.
42477         * math/e_coshl.c: Likewise.
42478         * math/e_exp10.c: Likewise.
42479         * math/e_exp10f.c: Likewise.
42480         * math/e_exp10l.c: Likewise.
42481         * math/e_exp2l.c: Likewise.
42482         * math/e_fmodl.c: Likewise.
42483         * math/e_gammal_r.c: Likewise.
42484         * math/e_hypotl.c: Likewise.
42485         * math/e_j0l.c: Likewise.
42486         * math/e_j1l.c: Likewise.
42487         * math/e_jnl.c: Likewise.
42488         * math/e_lgammal_r.c: Likewise.
42489         * math/e_log10l.c: Likewise.
42490         * math/e_log2l.c: Likewise.
42491         * math/e_logl.c: Likewise.
42492         * math/e_powl.c: Likewise.
42493         * math/e_sinhl.c: Likewise.
42494         * math/e_sqrtl.c: Likewise.
42495         * math/e_scalb.c: Completely rewritten and optimized.
42496         * math/e_scalbf.c: Likewise.
42497         * math/e_scalbl.c: Likewise.
42498         * math/w_acos.c: Likewise.
42499         * math/w_acosf.c: Likewise.
42500         * math/w_acosl.c: Likewise.
42501         * math/w_acosh.c: Likewise.
42502         * math/w_acoshf.c: Likewise.
42503         * math/w_acoshl.c: Likewise.
42504         * math/w_asin.c: Likewise.
42505         * math/w_asinf.c: Likewise.
42506         * math/w_asinl.c: Likewise.
42507         * math/w_atan2.c: Likewise.
42508         * math/w_atan2f.c: Likewise.
42509         * math/w_atan2l.c: Likewise.
42510         * math/w_atanh.c: Likewise.
42511         * math/w_atanhf.c: Likewise.
42512         * math/w_atanhl.c: Likewise.
42513         * math/w_exp10.c: Likewise.
42514         * math/w_exp10f.c: Likewise.
42515         * math/w_exp10l.c: Likewise.
42516         * math/w_fmod.c: Likewise.
42517         * math/w_fmodf.c: Likewise.
42518         * math/w_fmodl.c: Likewise.
42519         * math/w_j0.c: Likewise.
42520         * math/w_j0f.c: Likewise.
42521         * math/w_j0l.c: Likewise.
42522         * math/w_j1.c: Likewise.
42523         * math/w_j1f.c: Likewise.
42524         * math/w_j1l.c: Likewise.
42525         * math/w_jn.c: Likewise.
42526         * math/w_jnf.c: Likewise.
42527         * math/w_log.c: Likewise.
42528         * math/w_logf.c: Likewise.
42529         * math/w_logl.c: Likewise.
42530         * math/w_log10.c: Likewise.
42531         * math/w_log10f.c: Likewise.
42532         * math/w_log10l.c: Likewise.
42533         * math/w_log2.c: Likewise.
42534         * math/w_log2f.c: Likewise.
42535         * math/w_log2l.c: Likewise.
42536         * math/w_pow.c: Likewise.
42537         * math/w_powf.c: Likewise.
42538         * math/w_powl.c: Likewise.
42539         * math/w_remainder.c: Likewise.
42540         * math/w_remainderf.c: Likewise.
42541         * math/w_remainderl.c: Likewise.
42542         * math/w_scalb.c: Likewise.
42543         * math/w_scalbf.c: Likewise.
42544         * math/w_scalbl.c: Likewise.
42545         * math/w_sqrt.c: Likewise.
42546         * math/w_sqrtf.c: Likewise.
42547         * math/w_sqrtl.c: Likewise.
42548         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42549         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
42550         used.
42551         * math/math_private.h: Declare __kernel_standard_f.
42552         * math/w_cosh.c: Remove cruft and optimize a bit.
42553         * math/w_coshf.c: Likewise.
42554         * math/w_coshl.c: Likewise.
42555         * math/w_exp2.c: Likewise.
42556         * math/w_exp2f.c: Likewise.
42557         * math/w_exp2l.c: Likewise.
42558         * math/w_hypot.c: Likewise.
42559         * math/w_hypotf.c: Likewise.
42560         * math/w_hypotl.c: Likewise.
42561         * math/w_lgamma.c: Likewise.
42562         * math/w_lgamma_r.c: Likewise.
42563         * math/w_lgammaf.c: Likewise.
42564         * math/w_lgammaf_r.c: Likewise.
42565         * math/w_lgammal.c: Likewise.
42566         * math/w_lgammal_r.c: Likewise.
42567         * math/w_sinh.c: Likewise.
42568         * math/w_sinhf.c: Likewise.
42569         * math/w_sinhl.c: Likewise.
42570         * math/w_tgamma.c: Likewise.
42571         * math/w_tgammaf.c: Likewise.
42572         * math/w_tgammal.c: Likewise.
42573         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42574         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42575         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42576         Minor optimizations.  Pretty printing.  Remove cruft.
42577         * sysdeps/i386/fpu/e_acosf.S: Likewise.
42578         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42579         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42580         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42581         * sysdeps/i386/fpu/e_acosl.c: Likewise.
42582         * sysdeps/i386/fpu/e_asin.S: Likewise.
42583         * sysdeps/i386/fpu/e_asinf.S: Likewise.
42584         * sysdeps/i386/fpu/e_atan2.S: Likewise.
42585         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42586         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42587         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42588         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42589         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42590         * sysdeps/i386/fpu/e_exp10.S: Likewise.
42591         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42592         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42593         * sysdeps/i386/fpu/e_exp2.S: Likewise.
42594         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42595         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42596         * sysdeps/i386/fpu/e_fmod.S: Likewise.
42597         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42598         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42599         * sysdeps/i386/fpu/e_hypot.S: Likewise.
42600         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42601         * sysdeps/i386/fpu/e_log.S: Likewise.
42602         * sysdeps/i386/fpu/e_log10.S: Likewise.
42603         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42604         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42605         * sysdeps/i386/fpu/e_log2.S: Likewise.
42606         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42607         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42608         * sysdeps/i386/fpu/e_logf.S: Likewise.
42609         * sysdeps/i386/fpu/e_logl.S: Likewise.
42610         * sysdeps/i386/fpu/e_pow.S: Likewise.
42611         * sysdeps/i386/fpu/e_powf.S: Likewise.
42612         * sysdeps/i386/fpu/e_powl.S: Likewise.
42613         * sysdeps/i386/fpu/e_remainder.S: Likewise.
42614         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42615         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42616         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42617         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42618         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42619         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42620         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42621         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42622         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42623         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42624         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42625         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42626         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42627         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42628         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42629         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42630         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42631         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42632         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42633         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42634         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42635         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42636         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42637         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42638         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42639         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42640         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42641         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42642         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42643         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42644         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42645         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42646         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42647         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42648         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42649         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42650         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42651         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42652         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42653         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42654         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42655         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42656         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42657         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42658         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42659         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42660         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42661         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42662         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42663         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42664         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42665         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42666         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42667         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42668         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42669         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42670         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42671         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42672         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42673         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42674         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42675         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42676         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42677         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42678         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42679         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42680         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42681         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42682         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42683         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42684         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42685         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42686         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42687         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42688         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42689         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42690         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42691         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42692         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42693         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42694         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42695         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42696         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42697         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42698         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42699         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42700         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42701         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42702         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42703         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42704         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42705         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42706         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42707         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42708         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42709         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42710         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42711         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42712         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42713         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42714         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42715         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42716         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42717         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42718         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42719         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42720         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42721         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42722         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42723         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42724         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42725         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42726         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42727         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42728         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42729         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42730         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42731         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42732         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
42733         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42734         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42735         (__isnanf): Likewise.
42736         (__isinf_ns): Likewise.
42737         (__isinf_nsf): Likewise.
42738         (__finite): Likewise.
42739         (__finitef): Likewise.
42740         (__ieee754_sqrt): Define as macro.
42741         (__ieee754_sqrtf): Define as macro.
42742         (__ieee754_sqrtl): Define as macro.
42743         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42744         inlined copy.
42745         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42746         __FINITE_MATH_ONLY__ consistent.
42747         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42748
42749 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
42750
42751         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42752         of rawmemchr.
42753
42754         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42755
42756 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
42757
42758         * po/ja.po: Update from translation team.
42759
42760 2011-10-08  Roland McGrath  <roland@hack.frob.com>
42761
42762         * locale/programs/locarchive.c (prepare_address_space): New function.
42763         (create_archive, enlarge_archive, open_archive): Use it.
42764
42765         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42766         inside [SHARED], where it is used.
42767
42768         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42769
42770         * nss/getent.c (netgroup_keys): Remove unused variable.
42771         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42772
42773 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
42774
42775         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42776         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42777         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42778         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42779         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42780         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42781         * math/Makefile (libm-calls): Add s_isinf_ns.
42782         * math/divtc3.c: Use __isinf_nsl instead of isinf.
42783         * math/multc3.c: Likewise.
42784         * math/s_casin.c: Likewise.
42785         * math/s_casinf.c: Likewise.
42786         * math/s_casinl.c: Likewise.
42787         * math/s_ccos.c: Likewise.
42788         * math/s_ccosf.c: Likewise.
42789         * math/s_ccosl.c: Likewise.
42790         * math/s_ctan.c: Likewise.
42791         * math/s_ctanf.c: Likewise.
42792         * math/s_ctanh.c: Likewise.
42793         * math/s_ctanhf.c: Likewise.
42794         * math/s_ctanhl.c: Likewise.
42795         * math/s_ctanl.c: Likewise.
42796         * math/w_fmod.c: Likewise.
42797         * math/w_fmodf.c: Likewise.
42798         * math/w_fmodl.c: Likewise.
42799         * math/w_remainder.c: Likewise.
42800         * math/w_remainderf.c: Likewise.
42801         * math/w_remainderl.c: Likewise.
42802         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42803         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42804         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42805         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42806         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42807         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42808         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42809         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42810
42811         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42812         of the number.
42813         * stdio-common/printf_fphex.c: Likewise.
42814         * stdio-common/printf_size.c: Likewise.
42815
42816         * math/e_exp10.c: Include math_private.h using <...> not "...".
42817         * math/e_exp10f.c: Likewise.
42818         * math/e_exp10l.c: Likewise.
42819         * math/e_exp2l.c: Likewise.
42820         * math/e_j0l.c: Likewise.
42821         * math/e_j1l.c: Likewise.
42822         * math/e_jnl.c: Likewise.
42823         * math/e_lgammal_r.c: Likewise.
42824         * math/e_rem_pio2l.c: Likewise.
42825         * math/e_scalb.c: Likewise.
42826         * math/e_scalbf.c: Likewise.
42827         * math/e_scalbl.c: Likewise.
42828         * math/k_cosl.c: Likewise.
42829         * math/k_sinl.c: Likewise.
42830         * math/k_tanl.c: Likewise.
42831         * math/s_cacoshf.c: Likewise.
42832         * math/s_catan.c: Likewise.
42833         * math/s_catanf.c: Likewise.
42834         * math/s_catanh.c: Likewise.
42835         * math/s_catanhf.c: Likewise.
42836         * math/s_catanhl.c: Likewise.
42837         * math/s_catanl.c: Likewise.
42838         * math/s_ccosh.c: Likewise.
42839         * math/s_ccoshf.c: Likewise.
42840         * math/s_ccoshl.c: Likewise.
42841         * math/s_cexp.c: Likewise.
42842         * math/s_cexpf.c: Likewise.
42843         * math/s_cexpl.c: Likewise.
42844         * math/s_clog.c: Likewise.
42845         * math/s_clog10.c: Likewise.
42846         * math/s_clog10f.c: Likewise.
42847         * math/s_clog10l.c: Likewise.
42848         * math/s_clogf.c: Likewise.
42849         * math/s_clogl.c: Likewise.
42850         * math/s_csin.c: Likewise.
42851         * math/s_csinf.c: Likewise.
42852         * math/s_csinh.c: Likewise.
42853         * math/s_csinhf.c: Likewise.
42854         * math/s_csinhl.c: Likewise.
42855         * math/s_csinl.c: Likewise.
42856         * math/s_csqrt.c: Likewise.
42857         * math/s_csqrtf.c: Likewise.
42858         * math/s_csqrtl.c: Likewise.
42859         * math/s_ctan.c: Likewise.
42860         * math/s_ctanf.c: Likewise.
42861         * math/s_ctanh.c: Likewise.
42862         * math/s_ctanhf.c: Likewise.
42863         * math/s_ctanhl.c: Likewise.
42864         * math/s_ctanl.c: Likewise.
42865         * math/s_ldexp.c: Likewise.
42866         * math/s_ldexpf.c: Likewise.
42867         * math/s_ldexpl.c: Likewise.
42868         * math/s_significand.c: Likewise.
42869         * math/s_significandf.c: Likewise.
42870         * math/s_significandl.c: Likewise.
42871         * math/w_acos.c: Likewise.
42872         * math/w_acosf.c: Likewise.
42873         * math/w_acosh.c: Likewise.
42874         * math/w_acoshf.c: Likewise.
42875         * math/w_acoshl.c: Likewise.
42876         * math/w_acosl.c: Likewise.
42877         * math/w_asin.c: Likewise.
42878         * math/w_asinf.c: Likewise.
42879         * math/w_asinl.c: Likewise.
42880         * math/w_atan2.c: Likewise.
42881         * math/w_atan2f.c: Likewise.
42882         * math/w_atan2l.c: Likewise.
42883         * math/w_atanh.c: Likewise.
42884         * math/w_atanhf.c: Likewise.
42885         * math/w_atanhl.c: Likewise.
42886         * math/w_cosh.c: Likewise.
42887         * math/w_coshf.c: Likewise.
42888         * math/w_coshl.c: Likewise.
42889         * math/w_dremf.c: Likewise.
42890         * math/w_exp10.c: Likewise.
42891         * math/w_exp10f.c: Likewise.
42892         * math/w_exp10l.c: Likewise.
42893         * math/w_exp2.c: Likewise.
42894         * math/w_exp2f.c: Likewise.
42895         * math/w_fmod.c: Likewise.
42896         * math/w_fmodf.c: Likewise.
42897         * math/w_fmodl.c: Likewise.
42898         * math/w_hypot.c: Likewise.
42899         * math/w_hypotf.c: Likewise.
42900         * math/w_hypotl.c: Likewise.
42901         * math/w_j0.c: Likewise.
42902         * math/w_j0f.c: Likewise.
42903         * math/w_j0l.c: Likewise.
42904         * math/w_j1.c: Likewise.
42905         * math/w_j1f.c: Likewise.
42906         * math/w_j1l.c: Likewise.
42907         * math/w_jn.c: Likewise.
42908         * math/w_jnf.c: Likewise.
42909         * math/w_jnl.c: Likewise.
42910         * math/w_lgamma.c: Likewise.
42911         * math/w_lgamma_r.c: Likewise.
42912         * math/w_lgammaf.c: Likewise.
42913         * math/w_lgammaf_r.c: Likewise.
42914         * math/w_lgammal.c: Likewise.
42915         * math/w_lgammal_r.c: Likewise.
42916         * math/w_log.c: Likewise.
42917         * math/w_log10.c: Likewise.
42918         * math/w_log10f.c: Likewise.
42919         * math/w_log10l.c: Likewise.
42920         * math/w_log2.c: Likewise.
42921         * math/w_log2f.c: Likewise.
42922         * math/w_log2l.c: Likewise.
42923         * math/w_logf.c: Likewise.
42924         * math/w_logl.c: Likewise.
42925         * math/w_pow.c: Likewise.
42926         * math/w_powf.c: Likewise.
42927         * math/w_powl.c: Likewise.
42928         * math/w_remainder.c: Likewise.
42929         * math/w_remainderf.c: Likewise.
42930         * math/w_remainderl.c: Likewise.
42931         * math/w_scalb.c: Likewise.
42932         * math/w_scalbf.c: Likewise.
42933         * math/w_scalbl.c: Likewise.
42934         * math/w_sinh.c: Likewise.
42935         * math/w_sinhf.c: Likewise.
42936         * math/w_sinhl.c: Likewise.
42937         * math/w_sqrt.c: Likewise.
42938         * math/w_sqrtf.c: Likewise.
42939         * math/w_sqrtl.c: Likewise.
42940         * math/w_tgamma.c: Likewise.
42941         * math/w_tgammaf.c: Likewise.
42942         * math/w_tgammal.c: Likewise.
42943
42944         * po/ja.po: Update from translation team.
42945
42946 2011-09-29  Andreas Jaeger  <aj@suse.de>
42947
42948         [BZ #13179]
42949         * sunrpc/netname.c (netname2host): Fix logic.
42950
42951         [BZ #6779]
42952         [BZ #6783]
42953         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42954         correctly.
42955         * math/w_remainder.c (__remainder): Likewise.
42956         * math/w_remainderf.c (__remainderf): Likewise.
42957         * math/libm-test.inc (remainder_test): Add test cases.
42958
42959 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42960
42961         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
42962         sdiv_qrnnd.
42963
42964 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42965
42966         * string/test-memcmp.c: Avoid unncessary #defines.
42967         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42968
42969 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42970
42971         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42972         Use new sse2 version for core i3 - i7 as it's faster
42973         than sse42 version.
42974         (bit_Prefer_PMINUB_for_stringop): New.
42975         * sysdeps/x86_64/rawmemchr.S: Update.
42976         Replace with faster SSE2 version.
42977         * sysdeps/x86_64/memrchr.S: New file.
42978         * sysdeps/x86_64/memchr.S: Update.
42979         Replace with faster SSE2 version.
42980
42981 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
42982
42983         * elf/dl-load.c (lose): Add cast to avoid warning.
42984
42985 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42986
42987         * po/ca.po: Update from translation team.
42988
42989         * inet/getnetgrent_r.c: Hook up nscd.
42990         * nscd/Makefile (routines): Add nscd_netgroup.
42991         (nscd-modules): Add netgroupcache.
42992         (CFLAGS-netgroupcache.c): Define.
42993         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42994         (cache_search): Add const to second parameter.
42995         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42996         INNETGR.
42997         (dbs): Add netgrdb entry.
42998         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42999         (verify_persistent_db): Handle netgrdb.
43000         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43001         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43002         GETFDNETGR.
43003         (netgroup_response_header): Define.
43004         (innetgroup_response_header): Define.
43005         (datahead): Add netgroup_response_header and innetgroup_response_header
43006         elements.
43007         * nscd/nscd.conf: Add entries for netgroup cache.
43008         * nscd/nscd.h (dbtype): Add netgrdb.
43009         (_PATH_NSCD_NETGROUP_DB): Define.
43010         (netgroup_iov_disabled): Declare.
43011         (xmalloc, xcalloc, xrealloc): Move declarations here.
43012         (cache_search): Adjust prototype.
43013         Add netgroup-related prototypes.
43014         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43015         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43016         (__nscd_innetgr): Declare.
43017         * nscd/selinux.c (perms): Use access_vector_t as element type and
43018         add netgroup-related initializers.
43019         * nscd/netgroupcache.c: New file.
43020         * nscd/nscd_netgroup.c: New file.
43021         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43022         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43023         For four parameters use innetgr.
43024         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43025         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43026         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43027         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43028
43029         * nscd/connections.c (register_traced_file): Don't register file
43030         for disabled databases.
43031
43032 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43033
43034         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43035
43036         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43037         from tree and freeing node.
43038
43039 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43040
43041         * nss/nsswitch.c (__nss_database_lookup): Handle
43042         nss_parse_service_list out of memory case.
43043
43044 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43045
43046         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43047         out of memory case.
43048
43049 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43050
43051         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43052         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43053         pass it down.
43054         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43055         elf_machine_rela, elf_machine_lazy_rel.
43056         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43057         (ELF_DYNAMIC_DO_REL): Likewise.
43058         (ELF_DYNAMIC_DO_RELA): Likewise.
43059         (ELF_DYNAMIC_RELOCATE): Likewise.
43060         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43061         to ELF_DYNAMIC_DO_REL.
43062         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43063         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43064         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43065         elf_machine_rela.
43066         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43067         skip_ifunc, don't call ifunc function if non-zero.
43068         (elf_machine_rela): Likewise.
43069         (elf_machine_lazy_rel): Likewise.
43070         (elf_machine_lazy_rela): Likewise.
43071         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43072         (elf_machine_lazy_rel): Likewise.
43073         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43074         Likewise.
43075         (elf_machine_lazy_rel): Likewise.
43076         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43077         Likewise.
43078         (elf_machine_lazy_rel): Likewise.
43079         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43080         (elf_machine_lazy_rel): Likewise.
43081         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43082         (elf_machine_lazy_rel): Likewise.
43083         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43084         (elf_machine_lazy_rel): Likewise.
43085         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43086         (elf_machine_lazy_rel): Likewise.
43087         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43088         (elf_machine_lazy_rel): Likewise.
43089         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43090         (elf_machine_lazy_rel): Likewise.
43091
43092 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43093
43094         * nss/nss_files/files-init.c (_nss_files_init): Use static
43095         initialization for all the *_traced_file variables.
43096
43097 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43098
43099         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43100
43101 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43102
43103         [BZ #13226]
43104         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43105
43106 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43107
43108         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43109         Reread the line before reparsing it.
43110
43111 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43112
43113         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43114
43115 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43116             Maxim Kuvyrkov  <maxim@codesourcery.com>
43117             Joseph Myers  <joseph@codesourcery.com>
43118
43119         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43120         if needed for __stack_chk_guard.
43121
43122 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43123
43124         * sysdeps/posix/spawni.c (script_execute): Always define it.
43125         It will be optimized away if unused.
43126         (maybe_script_execute): New function.
43127         (__spawni): Call it.
43128
43129         * Makerules: Don't include tls.make.
43130         (config-tls): Always set to thread.
43131         * tls.make.c: File removed.
43132
43133 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43134
43135         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43136         * config.make.in (CPPFLAGS-config): New substituted variable.
43137
43138 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43139
43140         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43141
43142         [BZ #13192]
43143         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43144         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43145
43146 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43147
43148         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43149         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43150         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43151         (CALL_FAIL): Likewise.
43152         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43153         (CALL_FAIL): Macro removed.
43154         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43155
43156 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43157
43158         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43159         for __FINITE_MATH_ONLY__ == 1.
43160
43161 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43162
43163         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43164         __ieee754_sqrt instead of sqrt.
43165         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43166         __ieee754_sqrtf instead of sqrtf.
43167         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43168         __floorf instead of floorf.
43169         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43170         __floorf, __truncf instead of floorf, truncf.
43171
43172 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43173
43174         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43175
43176         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43177         __extern_always_inline.
43178         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43179         32-bit.
43180
43181 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43182
43183         * elf/rtld.c (dl_main): Also relocate in dependency order when
43184         doing symbol dependency testing.
43185
43186 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43187
43188         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43189         Always define `refsym'.
43190
43191 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43192
43193         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43194         (__FD_ELT): Renamed from __FDELT.
43195         * misc/bits/select2.h (__FD_ELT): Likewise.
43196         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43197         __FD_MASK instead of __FDELT, __FDMASK.
43198         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43199         Likewise.
43200         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43201         Likewise.
43202
43203         * elf/Makefile (gen-ldd): Fix pattern.
43204
43205         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43206         (init_tls): Likewise.
43207
43208 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
43209
43210         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43211
43212 2011-09-12  Andreas Schwab  <schwab@redhat.com>
43213
43214         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43215         `struct cmsghdr *' instead of `void *'.
43216         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43217         Likewise.
43218
43219 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
43220
43221         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43222         if non-absolute.
43223         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43224         ldd_rewrite_script.
43225
43226 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
43227
43228         * configure.in: Remove --with-tls option.
43229         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43230         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43231         out in case it is missing.
43232         * sysdeps/ia64/elf/configure.in: Likewise.
43233         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43234         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43235         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43236         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43237         * sysdeps/sh/elf/configure.in: Likewise.
43238         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43239         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43240         * sysdeps/x86_64/elf/configure.in: Likewise.
43241         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43242         * sysdeps/mach/hurd/tls.h: Likewise.
43243
43244         [BZ #13067]
43245         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43246
43247         [BZ #13090]
43248         * configure.in: Fix use of AC_INIT.
43249
43250         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43251
43252 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
43253
43254         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43255         __set_errno.
43256         * malloc/hooks.c: Likewise.
43257
43258         [BZ #11929]
43259         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
43260         variables statically.
43261         (narenas): Initialize.
43262         (list_lock): Initialize.
43263         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
43264         initializtion of main_arena and list_lock.  Small cleanups.
43265         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43266         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
43267         Add initializers to main_arena and mp_.
43268         (malloc_state): Remove pagesize member.  Change all users to use
43269         GLRO(dl_pagesize).
43270
43271         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43272         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
43273         is always initialized.
43274
43275         * malloc/malloc.c: Removed unused configurations and dead code.
43276         * malloc/arena.c: Likewise.
43277         * malloc/hooks.c: Likewise.
43278         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43279
43280         * include/tls.h: Removed.  USE___THREAD must always be defined.
43281         * bits/libc-tsd.h: Don't handle !USE___THREAD.
43282         * elf/dl-libc.c: Likewise.
43283         * elf/dl-tsd.c: Likewise.
43284         * include/errno.h: Likewise.
43285         * include/netdb.h: Likewise.
43286         * include/resolv.h: Likewise.
43287         * inet/herrno-loc.c: Likewise.
43288         * inet/herrno.c: Likewise.
43289         * malloc/arena.c: Likewise.
43290         * malloc/hooks.c: Likewise.
43291         * malloc/malloc.c: Likewise.
43292         * resolv/res-state.c: Likewise.
43293         * resolv/res_libc.c: Likewise.
43294         * sysdeps/i386/dl-machine.h: Likewise.
43295         * sysdeps/ia64/dl-machine.h: Likewise.
43296         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43297         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43298         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43299         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43300         * sysdeps/sh/dl-machine.h: Likewise.
43301         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43302         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43303         * sysdeps/unix/i386/sysdep.S: Likewise.
43304         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43305         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43306         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43307         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43308         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43309         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43310         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43311         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43312         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43313         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43314         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43315         * sysdeps/x86_64/dl-machine.h: Likewise.
43316         * tls.make.c: Likewise.
43317
43318         * configure.in: Remove --with-__thread option.  Make tests for
43319         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43320         tls_model attribute fail if no support is available.  Remove
43321         USE_IN_LIBIO.
43322         * Makeconfig: Adjust for dropped configure option.  All features are
43323         now mandatory.
43324         * Makerules: Likewise.
43325         * Versions.def: Likewise.
43326         * argp/argp-fmtstream.c: Likewise.
43327         * argp/argp-fmtstream.h: Likewise.
43328         * argp/argp-help.c: Likewise.
43329         * assert/assert.c: Likewise.
43330         * config.h.in: Likewise.
43331         * config.make.in: Likewise.
43332         * configure: Likewise.
43333         * configure.in: Likewise.
43334         * csu/Versions: Likewise.
43335         * csu/init.c: Likewise.
43336         * elf/tst-audit2.c: Likewise.
43337         * elf/tst-tls10.c: Likewise.
43338         * elf/tst-tls10.h: Likewise.
43339         * elf/tst-tls11.c: Likewise.
43340         * elf/tst-tls12.c: Likewise.
43341         * elf/tst-tls14.c: Likewise.
43342         * elf/tst-tlsmod11.c: Likewise.
43343         * elf/tst-tlsmod12.c: Likewise.
43344         * elf/tst-tlsmod13.c: Likewise.
43345         * elf/tst-tlsmod13a.c: Likewise.
43346         * elf/tst-tlsmod14a.c: Likewise.
43347         * elf/tst-tlsmod15b.c: Likewise.
43348         * elf/tst-tlsmod16a.c: Likewise.
43349         * elf/tst-tlsmod16b.c: Likewise.
43350         * elf/tst-tlsmod7.c: Likewise.
43351         * elf/tst-tlsmod8.c: Likewise.
43352         * elf/tst-tlsmod9.c: Likewise.
43353         * gmon/gmon.c: Likewise.
43354         * grp/fgetgrent_r.c: Likewise.
43355         * grp/putgrent.c: Likewise.
43356         * hurd/fopenport.c: Likewise.
43357         * include/libc-symbols.h: Likewise.
43358         * include/tls.h: Likewise.
43359         * intl/gettextP.h: Likewise.
43360         * intl/loadinfo.h: Likewise.
43361         * locale/global-locale.c: Likewise.
43362         * locale/localeinfo.h: Likewise.
43363         * mach/devstream.c: Likewise.
43364         * malloc/arena.c: Likewise.
43365         * malloc/set-freeres.c: Likewise.
43366         * misc/err.c: Likewise.
43367         * misc/getttyent.c: Likewise.
43368         * misc/mntent_r.c: Likewise.
43369         * posix/getopt.c: Likewise.
43370         * posix/wordexp.c: Likewise.
43371         * pwd/fgetpwent_r.c: Likewise.
43372         * resolv/Versions: Likewise.
43373         * resolv/res_hconf.c: Likewise.
43374         * shadow/fgetspent_r.c: Likewise.
43375         * shadow/putspent.c: Likewise.
43376         * stdio-common/printf_fphex.c: Likewise.
43377         * stdio-common/tmpfile.c: Likewise.
43378         * stdlib/abort.c: Likewise.
43379         * stdlib/fmtmsg.c: Likewise.
43380         * sunrpc/auth_unix.c: Likewise.
43381         * sunrpc/clnt_perr.c: Likewise.
43382         * sunrpc/clnt_tcp.c: Likewise.
43383         * sunrpc/clnt_udp.c: Likewise.
43384         * sunrpc/clnt_unix.c: Likewise.
43385         * sunrpc/openchild.c: Likewise.
43386         * sunrpc/svc_simple.c: Likewise.
43387         * sunrpc/svc_tcp.c: Likewise.
43388         * sunrpc/svc_udp.c: Likewise.
43389         * sunrpc/svc_unix.c: Likewise.
43390         * sunrpc/xdr.c: Likewise.
43391         * sunrpc/xdr_array.c: Likewise.
43392         * sunrpc/xdr_rec.c: Likewise.
43393         * sunrpc/xdr_ref.c: Likewise.
43394         * sunrpc/xdr_stdio.c: Likewise.
43395
43396 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43397
43398         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43399
43400 2011-07-03  Andreas Jaeger  <aj@suse.de>
43401
43402         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43403         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43404         regenerate with gen-libm-tests.pl.
43405
43406 2010-05-12  Petr Baudis  <pasky@suse.cz>
43407
43408         [BZ #11589]
43409         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43410         around j0() zero points by switching to j1().
43411         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43412         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43413         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43414         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43415
43416 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43417
43418         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43419         instead of 0.
43420         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43421         instead of 0.
43422         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43423         Patch in part by Pavel Roskin <proski@gnu.org>.
43424
43425         [BZ #13138]
43426         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43427         realloc.
43428         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
43429         Free memory block if necessary.
43430
43431         [BZ #12847]
43432         * libio/genops.c (INTDEF): For string streams the _lock pointer can
43433         be NULL.  Don't lock in this case.
43434
43435 2011-09-09  Roland McGrath  <roland@hack.frob.com>
43436
43437         * elf/elf.h (ELFOSABI_GNU): New macro.
43438         (ELFOSABI_LINUX): Define to that.
43439
43440 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
43441
43442         * string/strncat.c (strncat): Undef the symbol in case it has been
43443         defined in bits/string.h.
43444
43445 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43446
43447         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43448
43449         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43450         link map.
43451
43452 2011-08-17  Andreas Jaeger  <aj@suse.de>
43453
43454         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43455
43456 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43457             Ian Lance Taylor  <iant@google.com>
43458
43459         * math/libm-test.inc (lround_test): New testcase.
43460         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43461
43462 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
43463
43464         * Makefile: Remove support for automatic cvs check-ins.
43465         * Makerules: Likewise.
43466         * config.make.in: Likewise.
43467         * configure.in: Likewise.
43468         * intl/Makefile: Likewise.
43469         * locale/Makefile: Likewise.
43470         * po/Makefile: Likewise.
43471         * posix/Makefile: Likewise.
43472         * sysdeps/gnu/Makefile: Likewise.
43473         * sysdeps/mach/hurd/Makefile: Likewise.
43474         * sysdeps/sparc/sparc32/Makefile: Likewise.
43475
43476         [BZ #13118]
43477         * posix/Makefile (bug-regex32-ENV): Define.
43478         Patch by John Stanley <jpsinthemix@verizon.net>.
43479
43480         * misc/Makefile (headers): Add bits/select2.h.
43481         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43482         * misc/bits/select2.h: New file.
43483         * include/bits/select2.h: New file.
43484         * debug/Makefile (routines): Add fdelt_chk.
43485         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43486         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43487         FD_ISSET.
43488         * debug/fdelt_chk.c: New file.
43489
43490         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
43491         * wcsmbs/test-wmemcmp.c: Likewise.
43492         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43493         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43494
43495 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43496
43497         * string/Makefile (strop-tests): Add memcmp.
43498         * string/test-wmemcmp.c: New file.
43499         * string/test-memcmp.c: Add wmemcmp support.
43500
43501 2011-09-08  Roland McGrath  <roland@hack.frob.com>
43502
43503         [BZ #13153]
43504         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43505         2011-07-19 change.
43506
43507         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43508         garbage value in a __mach_port_mod_refs call in the cases of the
43509         task-self and thread-self ports.
43510
43511 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43512
43513         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43514
43515 2011-09-08  Andreas Schwab  <schwab@redhat.com>
43516
43517         * elf/dl-load.c (lose): Check for non-null L.
43518
43519 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43520
43521         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43522
43523         * elf/dl-libc.c (dlerror_run): Pass back error code from
43524         dl_catch_error.
43525
43526         [BZ #13123]
43527         * elf/dl-load.c (lose): Free l_origin if it is valid.
43528
43529         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43530         names.
43531         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43532         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43533         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43534         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43535         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43536         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43537
43538 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43539
43540         * sysdeps/powerpc/fpu/e_hypot.c: New file.
43541         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43542         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43543         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43544         * sysdeps/powerpc/fpu/k_cosf.c: New file.
43545         * sysdeps/powerpc/fpu/k_sinf.c: New file.
43546         * sysdeps/powerpc/fpu/s_cosf.c: New file.
43547         * sysdeps/powerpc/fpu/s_sinf.c: New file.
43548         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43549         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43550
43551 2011-08-15  Alan Modra  <amodra@gmail.com>
43552
43553         [BZ #13092]
43554         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43555         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43556         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
43557         ppc_mcount to static-only-routines.
43558         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43559         __mcount_internal.
43560         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43561         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
43562
43563 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
43564
43565         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43566         for finite and infinity parameters.
43567
43568 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43569
43570         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43571         and add nop instructions for throughput optimization.
43572         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43573
43574 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
43575
43576         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43577         aligned copy for power7 with vector-scalar instructions.
43578         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43579
43580 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
43581
43582         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43583         AVX check.
43584
43585 2011-09-07  Andreas Schwab  <schwab@redhat.com>
43586
43587         [BZ #13144]
43588         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43589         last change.
43590
43591 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43592
43593         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43594         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43595         syscall wrapper around clock_gettime in __vdso_clock_gettime.
43596         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43597         clock_gettime.
43598
43599 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43600
43601         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43602         Forgot to demangle the pointer.
43603
43604         * sysdeps/i386/sysdep.h: Define atom_text_section.
43605         * sysdeps/x86_64/sysdep.h: Likewise.
43606         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43607         section with atom_text_section.
43608         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43609         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43610         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43611         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43612         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43613
43614         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43615         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43616         already be defined.  Change to take two parameters and don't assign
43617         result to variable.  Adjust all users.
43618         Define INTERNAL_GETTIME if not already defined.
43619         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43620         call.
43621         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43622         HAVE_CLOCK_GETTIME_VSYSCALL.
43623         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43624
43625         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43626         gettimeofday vsyscall, just use time.
43627
43628 2011-09-06  Andreas Schwab  <schwab@redhat.com>
43629
43630         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43631         <errno.h>.
43632
43633 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43634
43635         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43636         syscall on x86-64.
43637         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43638         syscall.
43639         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43640         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43641         syscall if possible.
43642
43643 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43644
43645         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43646         e_ident.  Don't pass to find_mapsXX.
43647         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43648
43649 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43650
43651         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43652         strchr-sse2-no-bsf strrchr-sse2-no-bsf
43653         * sysdeps/x86_64/multiarch/strchr.S: Update.
43654         Check bit_slow_BSF bit.
43655         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43656         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43657         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43658
43659 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43660
43661         [BZ #13134]
43662         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43663         before glibc 2.15.
43664         (tryshell): Define.
43665         (__spawni): Change last parameter to be flag.  Test
43666         SPAWN_XFLAGS_USE_PATH flag to use path or not.
43667         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43668         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43669         * posix/spawni.c: Likewise.
43670         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43671         * posix/spawnp.c: Likewise.  Change normal version to use
43672         SPAWN_XFLAGS_USE_PATH.
43673         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43674         SPAWN_XFLAGS_TRY_SHELL.
43675
43676         [BZ #13150]
43677         * posix/glob.h: Remove gcc 1.x support.
43678
43679         [BZ #13068]
43680         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43681
43682 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43683
43684         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43685         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43686         strrchr-sse2-bsf
43687         * sysdeps/i386/i686/multiarch/strchr.S: New file.
43688         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43689         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43690         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43691         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43692         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43693
43694 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43695
43696         * sysdeps/x86_64/wcscmp.S: New file.
43697
43698         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43699         wcscmp-c wcscmp-sse2
43700         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43701         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43702         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43703         * wcsmbs/wcscmp.c: Allow renaming.
43704
43705 2011-09-05  David S. Miller  <davem@davemloft.net>
43706
43707         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43708         stack slot, rather than the struct return pointer slot.
43709         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43710         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43712         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43713
43714 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43715
43716         * po/ja.po: Update from translation team.
43717
43718         [BZ #13144]
43719         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43720         kernel in 64-bit binaries.
43721
43722 2011-09-01  David S. Miller  <davem@davemloft.net>
43723
43724         * elf/elf.h (HWCAP_SPARC_*): Move to..
43725         * sysdeps/sparc/sysdep.h: this new file and add new values.
43726         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43727         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43728         _DL_HWCAP_COUNT to 24.
43729         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43730         entries.
43731         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43732         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43733         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43734         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43735         instead of magic constants.
43736         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43737
43738 2011-08-31  David S. Miller  <davem@davemloft.net>
43739
43740         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43741         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43742         Reimplement to do errno handling inline.
43743         (SYSCALL_ERROR_HANDLER): New macro.
43744         (__SYSCALL_STRING): Do not do errno handling in asm.
43745         (__CLONE_SYSCALL_STRING): Delete.
43746         (__INTERNAL_SYSCALL_STRING): Delete.
43747         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43748         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43749         (PSEUDO): Reimplement to do errno handling inline.
43750         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43751         (SYSCALL_ERROR_HANDLER): New macro.
43752         (__SYSCALL_STRING): Do not do errno handling in asm.
43753         (__CLONE_SYSCALL_STRING): Delete.
43754         (__INTERNAL_SYSCALL_STRING): Delete.
43755         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43756         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43757         i386.
43758         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43759         (inline_syscall*): Add 'err' argument.
43760         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43761         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43762         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43763         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43764
43765         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43766         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43767
43768 2011-08-30  Andreas Schwab  <schwab@redhat.com>
43769
43770         * elf/rtld.c (dl_main): Relocate objects in dependency order.
43771
43772 2011-08-29  Jiri Olsa <jolsa@redhat.com>
43773
43774         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43775         directive.
43776
43777 2011-08-24  David S. Miller  <davem@davemloft.net>
43778
43779         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43780
43781 2011-08-24  Andreas Schwab  <schwab@redhat.com>
43782
43783         * elf/Makefile: Add rules to build and run unload8 test.
43784         * elf/unload8.c: New file.
43785         * elf/unload8mod1.c: New file.
43786         * elf/unload8mod1x.c: New file.
43787         * elf/unload8mod2.c: New file.
43788         * elf/unload8mod3.c: New file.
43789
43790         * elf/dl-close.c (_dl_close_worker): Reset private search list if
43791         it wasn't used.
43792
43793 2011-08-23  David S. Miller  <davem@davemloft.net>
43794
43795         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43796         subtract stack bias.
43797         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43798         %sp not %fp in calculations.
43799         (_JMPBUF_UNWINDS_ADJ): Likewise.
43800
43801         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43802         (aio_suspend): Call it to force an exception region around the
43803         AIO_MISC_WAIT() invocation.
43804
43805 2011-08-23  Andreas Schwab  <schwab@redhat.com>
43806
43807         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43808         backslash.
43809
43810 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
43811
43812         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43813         protection macro.
43814         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43815         and <dl-machine.h>.
43816         (Elf64_FuncDesc): Remove.
43817
43818 2011-08-22  David S. Miller  <davem@davemloft.net>
43819
43820         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43821         sigaltstack check, add missing cfi directives.
43822         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43823         missing cfi directives, and sigaltstack handling.
43824
43825 2011-08-16  Andreas Schwab  <schwab@redhat.com>
43826
43827         [BZ #11724]
43828         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43829         object is seen twice.
43830         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43831
43832         * elf/Makefile (distribute): Add tst-initorder2.c.
43833         (tests): Add tst-initorder2.
43834         (modules-names): Add tst-initorder2a tst-initorder2b
43835         tst-initorder2c tst-initorder2d.  Add rules to build them.
43836         ($(objpfx)tst-initorder2.out): New rule.
43837         * elf/tst-initorder2.c: New file.
43838         * elf/tst-initorder2.exp: New file.
43839
43840 2011-08-22  Andreas Schwab  <schwab@redhat.com>
43841
43842         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43843
43844         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43845         dependencies back to end of function.
43846
43847         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43848         $(elfobjdir)/ld.so.
43849
43850 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
43851
43852         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43853         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43854         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43855         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43856         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43857         of __vdso_gettimeofday.
43858         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43859         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
43860         attribute_hidden.
43861         (_libc_vdso_platform_setup): Remove initialization of
43862         __vdso_gettimeofday and __vdso_time.
43863
43864 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
43865
43866         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43867         and fgetc_unlocked.
43868         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43869         getc_unlocked.
43870
43871         * elf/dl-open.c (add_to_global): Report additions to the global scope
43872         for LD_DEBUG=scopes.
43873         (dl_open_worker): Also print scope of newly loaded dependencies.
43874         (_dl_show_scope): Indicate if there is no scope.
43875
43876         [BZ #13114]
43877         * stdio-common/Makefile (tests): Add bug24.
43878         * stdio-common/bug24.c: New file.
43879
43880 2011-08-19  Andreas Jaeger  <aj@suse.de>
43881
43882         [BZ #13114]
43883         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43884         non-existant file when using close-on-exec mode.
43885
43886 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
43887
43888         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43889         the very first instruction.
43890
43891         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43892         the CFI state in the end.
43893         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43894         inclusion of dl-trampoline.h.
43895         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43896
43897 2011-08-19  Andreas Schwab  <schwab@redhat.com>
43898
43899         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43900         expectations for long double.
43901
43902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43903         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43904
43905 2011-08-14  David S. Miller  <davem@davemloft.net>
43906
43907         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43908         artificual limit depends upon the system page size.
43909
43910 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43911
43912         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43913         * resolv/Makefile: Define CFLAGS-libresolv.
43914
43915 2011-08-17  Andreas Schwab  <schwab@redhat.com>
43916
43917         * nss/makedb.c (compute_tables): Make variables used in nested
43918         function static.
43919
43920 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43921
43922         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43923         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43924         if buffer was too small.
43925
43926         * elf/pldd.c (main): Attach to all threads in the process.
43927         Rewrite /proc handling to use *at functions.
43928
43929 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
43930
43931         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43932         specifies first scope to show.
43933         (dl_open_worker): Update callers.  Move printing scope of new
43934         object to before the relocation.
43935         * elf/rtld.c (dl_main): Update _dl_show_scope call.
43936         * sysdeps/generic/ldsodefs.h: Update declaration.
43937
43938         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43939         string for the scope number.
43940
43941 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
43942
43943         * nscd/servicescache.c (cache_addserv): Make sure written is always
43944         initialized.
43945
43946 2011-08-14  Roland McGrath  <roland@hack.frob.com>
43947
43948         * sysdeps/i386/i486/bits/atomic.h
43949         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43950         statement expression, so as to suppress "set but not used" warning.
43951         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43952
43953         * string/strncat.c (STRNCAT): Use prototype definition.
43954
43955         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43956         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43957         -Iprograms here.
43958         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43959         (localedef-modules): Add localedef.
43960         (locale-modules): Add locale.
43961
43962         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43963         * elf/rtld.c (dl_main): Invert order of assignment in last change,
43964         to avoid a warning.
43965
43966 2011-08-14  David S. Miller  <davem@davemloft.net>
43967
43968         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43969         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43970
43971 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
43972
43973         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43974         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43975         * elf/rtld.c (dl_main): Set l_name of vDSO.
43976         Call _dl_show_scope when DL_DEBUG_SCOPES.
43977         (process_dl_debug): Recognize scopes flag and also set it for all.
43978         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43979         Declare _dl_show_scope.
43980
43981         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43982         (do_dlopen): Pass caller_dlopen to dl_open.
43983         (__libc_dlopen_mode): Initialize caller_dlopen.
43984
43985         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43986         of libc.  Make tolower call locale-independent.  Optimize a bit by
43987         using isdigit instead of isalnum.
43988         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43989
43990 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
43991
43992         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43993         was a dependency or dynamically loaded.
43994
43995 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
43996
43997         * intl/l10nflist.c: Allow architecture-specific pop function.
43998         * sysdeps/x86_64/l10nflist.c: New file.
43999
44000         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44001         classification.
44002
44003 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44004
44005         * include/dirent.h: Add libc_hidden_proto for scandirat and
44006         scandirat64.  Don't declare __scandirat64.
44007         * dirent/scandirat.c: Add libc_hidden_def.
44008         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44009         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44010
44011 2011-08-10  David S. Miller  <davem@davemloft.net>
44012
44013         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44014         enum.
44015         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44016         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44017         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44018
44019 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44020
44021         * Versions.def [libc]: Add GLIBC_2.15.
44022         * dirent/Makefile (routines): Add scandirat and scandirat64.
44023         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44024         GLIBC_2.15.
44025         * dirent/dirent.h: Declare scandirat and scandirat64.
44026         * dirent/scandirat.c: New file.
44027         * dirent/scandirat64.c: New file.
44028         * sysdeps/wordsize-64/scandirat.c: New file.
44029         * sysdeps/wordsize-64/scandirat64.c: New file.
44030         * dirent/opendir.c: Define opendirat.
44031         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44032         using scandirat.
44033         * dirent/scandir64.c: Adjust for scandir.c change.
44034         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44035         __scandirat64, and __scandir_cancel_handler.
44036         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44037         additional parameter and use openat instead of open (outside of ld.so).
44038         Add new __opendir as wrapper around __opendirat.
44039         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44040         here without requiring old scandirat implementation.
44041
44042 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44043
44044         * dirent/scandir.c (cancel_handler): Renamed to
44045         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44046         defined.  Adjust users.
44047         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44048         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44049
44050 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44051
44052         * string/test-string.h (IMPL): Use __STRING to expand name and then
44053         stringify it.
44054
44055         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44056         of cleanups.
44057
44058 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44059
44060         * string/Makefile: Update.
44061         (strop-tests): Append strncat.
44062         * string/test-wcscmp.c: New file.
44063         New comprehensive test for wcscmp.
44064         * string/test-strcmp.c: Update.
44065         (WIDE): New define.
44066
44067 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44068
44069         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44070         line.
44071
44072 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44073
44074         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44075         encoding to ACE if AI_IDN.
44076
44077 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44078
44079         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44080         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44081
44082 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44083
44084         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44085         Fix overflow bug in strncat.
44086         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44087
44088         * string/test-strncat.c: Update.
44089         Add new tests for checking overflow bugs.
44090
44091 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44092
44093         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44094         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44095         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44096         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44097         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44098         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44099         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44100         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44101         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44102
44103         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44104         (USE_AS_STRCAT): Define.
44105         Add strcat and strncat support.
44106         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44107
44108 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44109
44110         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44111         __n bigger than INT_MAX+1.
44112         (__strncmp_g): Likewise.
44113
44114 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44115
44116         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44117         * libio/stido.h: Likewise.
44118
44119         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44120         (AF_NFC): Define.
44121         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44122         (AF_NFC): Define.
44123
44124         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44125         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44126         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44127         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44128         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44129
44130         [BZ #13021]
44131         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44132         installed.
44133
44134         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44135         typo.
44136         (_dl_x86_64_save_sse): Likewise.
44137
44138 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44139
44140         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44141         OSXSAVE.
44142         (_dl_x86_64_save_sse): Likewise.
44143
44144         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44145
44146         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44147
44148 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44149
44150         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44151         change.
44152         (_dl_x86_64_save_sse): Use correct AVX check.
44153
44154 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44155
44156         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44157         bug in strncpy/strncat.
44158         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44159
44160 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44161
44162         * string/tester.c (test_strcat): Add tests for different alignments
44163         of source and destination.
44164         (test_strncat): Likewise.
44165
44166 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44167
44168         [BZ #12852]
44169         * posix/glob.c (glob): Check passed in values before using them in
44170         expressions to avoid some overflows.
44171         (glob_in_dir): Likewise.
44172
44173         [BZ #13007]
44174         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44175         check for AVX enablement so that we don't crash with old kernels and
44176         new hardware.
44177         * elf/tst-audit4.c: Add same checks here.
44178         * elf/tst-audit6.c: Likewise.
44179
44180         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44181
44182 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44183
44184         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44185
44186 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44187
44188         * po/cs.po: Update from translation team.
44189         * po/bg.po: Likewise.
44190
44191 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44192
44193         * misc/sys/cdefs.h: Add support for const attribute.
44194         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44195         to gnu_dev_{major,minor,makedev} functions.
44196
44197 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
44198
44199         * intl/dcigettext.c (get_output_charset): Add missing bracket.
44200
44201 2011-07-20  Andreas Schwab  <schwab@redhat.com>
44202
44203         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44204         strlen results.
44205
44206 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44207
44208         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44209         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44210         register in order to avoid conflicts with the soft frame pointer
44211         being held in r11 when necessary.
44212         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44213         (INTERNAL_VSYSCALL_NCS): Likewise.
44214
44215 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
44216
44217         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44218         * elf/dl-fini.c (_dl_fini): Adjust caller.
44219         * elf/dl-close.c (_dl_close_worker): Likewise.
44220         * sysdeps/generic/ldsodefs.h: Adjust declaration.
44221
44222 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44223
44224         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44225         "aux_cache->nlibs < 0".
44226
44227         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44228         in the reload-count case.
44229
44230 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44231
44232         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44233         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44234         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44235         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44236         * sysdeps/x86_64/multiarch/strcat.S: New file.
44237         * sysdeps/x86_64/multiarch/strncat.S: New file.
44238         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44239         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44240         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44241         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44242         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44243         (USE_AS_STRCAT): Define.
44244         Add strcat and strncat support.
44245         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44246         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44247         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44248         * string/strncat.c: Update.
44249         (USE_AS_STRNCAT): Define.
44250         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44251         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44252         and i7.
44253         * sysdeps/x86_64/multiarch/init-arch.h
44254         (bit_Prefer_PMINUB_for_stringop): New.
44255         (index_Prefer_PMINUB_for_stringop): Likewise.
44256         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44257         bit_Prefer_PMINUB_for_stringop.
44258
44259 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44260
44261         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44262         buffer64.
44263         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44264         of casting of buffer.
44265         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44266         buffer32 and buffer64.
44267         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44268         writes instead of casting of buffer.
44269         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44270         buffer32.
44271         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44272         casting of buffer.
44273
44274 2011-07-19  Andreas Schwab  <schwab@redhat.com>
44275
44276         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44277
44278 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44279
44280         * nscd/nscd.c (termination_handler): Don't do anything for a database
44281         if it has not yet been initialized.
44282
44283 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44284
44285         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44286
44287 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44288
44289         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44290
44291 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44292
44293         * po/nl.po: Update from translation team.
44294         * po/sv.po: Likewise.
44295
44296 2011-07-16  Roland McGrath  <roland@hack.frob.com>
44297
44298         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44299         now disallowed by GCC.
44300
44301         * configure.in (use-default-link): Default to yes if a test -shared
44302         link meets our qualifications.
44303         * configure: Regenerated.
44304
44305         * config.make.in (output-format): New variable.
44306         * configure.in: Check for ld --print-output-format support.
44307         * configure: Regenerated.
44308         * Makerules ($(common-objpfx)format.lds)
44309         [$(output-format) != unknown]: Just use $(output-format),
44310         instead of the linker-script munging.
44311
44312 2011-07-14  Roland McGrath  <roland@hack.frob.com>
44313
44314         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44315         of $(common-objpfx)shlib.lds.
44316         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44317
44318         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44319         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44320
44321         * configure.in (-z relro check): Adjust test code to add a large
44322         writable data section after it.
44323         * configure: Regenerated.
44324
44325 2011-07-11  Roland McGrath  <roland@hack.frob.com>
44326
44327         * configure.in (-z relro check): Fix test code to make the variable
44328         truly const.
44329         * configure: Regenerated.
44330
44331 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
44332
44333         * nscd/nscd.h (struct traced_file): Define.
44334         (struct database_dyn): Remove inotify_descr, reset_res, and filename
44335         elements.  Add traced_files.
44336         (inotify_fd): Declare.
44337         (register_traced_file): Declare.
44338         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44339         (inotify_fd): Export.
44340         (resolv_conf_descr): Remove.
44341         (nscd_init): Move inotify descriptor creation to main.
44342         Don't register files for notification here.
44343         (register_traced_file): New function.
44344         (invalidate_cache): Don't use reset_res to determine whether to call
44345         res_init, go through the list of registered files.
44346         (main_loop_poll): The inotify descriptors are now stored in the
44347         structures for the traced files.
44348         (main_loop_epoll): Likewise
44349         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
44350         to __nss_disable_nscd.
44351         * nscd/cache.c (prune_cache): There is no single inotify descriptor
44352         for a database anymore.  Check the records for all the registered
44353         files instead.
44354         * nss/Makefile (libnss_files-routines): Add files-init.
44355         (libnss_db-routines): Add db-init.
44356         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44357         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44358         * nss/nss_db/db-init.c: New file.
44359         * nss/nss_files/files-init.c: New file.
44360         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
44361         __nss_lookup_function.
44362         (__nss_lookup_function): Call nss_load_library.
44363         (nss_load_all_libraries): New function.
44364         (__nss_disable_nscd): Take parameter with callback function for files
44365         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
44366         used for the cached services.
44367         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44368         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44369         options for features to all the files in nscd.
44370
44371         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44372
44373 2011-07-10  Roland McGrath  <roland@hack.frob.com>
44374
44375         * csu/elf-init.c (__libc_csu_init): Comment typo.
44376
44377 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
44378
44379         * po/pl.po: Update from translation team.
44380         * po/ja.po: Likewise.
44381         * po/ru.po: Likewise.
44382         * po/ko.po: Likewise.
44383         * po/fr.po: Likewise.
44384
44385 2011-07-09  Roland McGrath  <roland@hack.frob.com>
44386
44387         * configure.in (.ctors/.dtors header and trailer check):
44388         Use an empirical test on a built program.
44389         * configure: Regenerated.
44390
44391         * configure.in (-z relro check): Use an empirical test on a built DSO.
44392         Detect, but do not require, on ia64.
44393         * configure: Regenerated.
44394
44395         * configure.in (READELF): Find it with AC_CHECK_TOOL.
44396         Update tests that use readelf to use $READELF instead.
44397         * configure: Regenerated.
44398
44399 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
44400
44401         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44402         if the result is not used.
44403
44404 2011-07-05  Andreas Jaeger  <aj@suse.de>
44405
44406         [BZ#9696]
44407         * stdlib/tst-strtod.c: Add testcase.
44408
44409 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
44410
44411         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44412         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44413         The latter has a higher limit.  Take additional parameter to pass to
44414         the new function.
44415         (__pathconf): Pass file to __statfs_link_max.
44416         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44417         __statfs_link_max.
44418         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44419         __statfs_link_max.
44420
44421         [BZ #12868]
44422         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44423         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44424         Handle Lustre.
44425         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44426         (__statfs_filesize_max): Likewise.
44427         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44428
44429 2011-07-05  Andreas Jaeger  <aj@suse.de>
44430
44431         * resolv/res_comp.c (dn_skipname): Remove unused variable.
44432
44433 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
44434
44435         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44436         `status' variable.
44437         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44438         Likewise.
44439
44440 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
44441
44442         * Makefile (strop-tests): Add strncat.
44443         * string/test-strncat.c: New file.
44444
44445 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
44446
44447         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44448
44449 2011-06-21  Andreas Jaeger  <aj@suse.de>
44450
44451         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44452         Copy rule from iconvdata/Makefile.
44453
44454 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44455
44456         [BZ #12922]
44457         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44458         but no long options are defined, just return 'W'.
44459
44460 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
44461
44462         [BZ #9696]
44463         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44464
44465 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44466
44467         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44468         netgroups to read.
44469         (innetgr): Likewise.
44470
44471 2011-07-05  Roland McGrath  <roland@hack.frob.com>
44472
44473         * config.make.in (install_root): Default to $(DESTDIR).
44474
44475 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
44476
44477         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44478
44479 2011-07-02  Roland McGrath  <roland@hack.frob.com>
44480
44481         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44482
44483         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44484         containing directory rather than embedding absolute directory names.
44485
44486         * scripts/check-local-headers.sh: Rewritten using awk.
44487         Match by word, not by line.  Print error messages for matches.
44488         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44489
44490         * Makerules [shlib-lds-flags empty]:
44491         ($(common-objpfx)libc_pic.opts): New target.
44492         ($(common-objpfx)libc_pic.os.clean): New target.
44493         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44494
44495         * config.make.in (OBJCOPY): New variable.
44496         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44497         * configure: Regenerated.
44498
44499         * config.make.in (use-default-link): New variable.
44500         * configure.in (use_default_link): Grok --with-default-link to set it.
44501         * configure: Regenerated.
44502         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44503         (shlib-lds, shlib-lds-flags): Define to empty.
44504
44505         * Makerules (shlib-lds): New variable.
44506         (shlib-lds-flags): New variable.
44507         (build-shlib, build-moduile, build-module-asneeded): Use it.
44508         ($(common-objpfx)libc.so): Use $(shlib-lds).
44509         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44510         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44511
44512         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44513         DT_FLAGS/DT_FLAGS_1 with zero flags.
44514
44515         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44516         linker script munging.
44517
44518 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
44519
44520         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44521         as 128-bit value.
44522         * crypt/sha512.c (sha512_process_block): Perform total addition using
44523         128-bit if possible.
44524         (__sha512_finish_ctx): Likewise.
44525         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44526         as 64-bit value.
44527         * crypt/sha256.c (SWAP64): Define.
44528         (sha256_process_block): Perform total addition using 64-bit if
44529         possible.
44530         (__sha256_finish_ctx): Likewise.
44531
44532 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
44533
44534         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
44535         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44536         * nscd/hstcache.c (cache_addhst): Likewise.
44537         * nscd/grpcache.c (cache_addgr): Likewise.
44538         * nscd/aicache.c (addhstaiX): Likewise
44539         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44540
44541 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
44542
44543         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44544         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44545         * nscd/hstcache.c (cache_addhst): Likewise.
44546         * nscd/grpcache.c (cache_addgr): Likewise.
44547         * nscd/aicache.c (addhstaiX): Likewise
44548
44549 2011-07-01  Andreas Schwab  <schwab@redhat.com>
44550
44551         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44552         domain only when needed.
44553
44554 2011-06-30  Andreas Schwab  <schwab@redhat.com>
44555
44556         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44557         is always restored.
44558
44559 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
44560
44561         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44562         are re-adding the entry.
44563         * nscd/servicescache.c (cache_addserv): Likewise.
44564
44565 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
44566
44567         * sysdeps/generic/dl-irel.h: fix protection against multiple
44568         inclusions.
44569         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44570
44571 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
44572
44573         [BZ #12935]
44574         * malloc/memusage.sh: Fix quoting in message.
44575         * debug/xtrace.sh: Likewise.
44576
44577         * configure.in: Remove support for --experimental-malloc option, make
44578         it the default.
44579         * config.make.in: Likewise.
44580         * malloc/Makefile: Likewise.
44581
44582 2011-06-27  Andreas Schwab  <schwab@redhat.com>
44583
44584         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44585         two-byte characters.
44586
44587 2011-06-27  Roland McGrath  <roland@hack.frob.com>
44588
44589         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44590         AC_CACHE_CHECK invocation.
44591         * configure: Regenerated.
44592
44593         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44594
44595 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
44596
44597         [BZ #12350]
44598         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
44599         bit from old_res_options.
44600
44601         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44602
44603         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44604         value type for setfct.
44605
44606 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
44607
44608         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44609         __gettimeofday instead of gettimeofday.
44610
44611 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
44612
44613         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44614
44615 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
44616
44617         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44618
44619         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44620         info.
44621
44622 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44623
44624         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44625         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44626         strcpy-sse2-unaligned strncpy-sse2-unaligned
44627         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44628         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44629         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44630         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44631         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44632         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44633         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44634         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44635         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44636         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44637         (STRCPY): Support SSE2 and SSSE3 versions.
44638
44639 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
44640
44641         [BZ #12874]
44642         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44643         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44644         kernels which artificially limit size of requests.
44645
44646 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44647
44648         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44649         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44650         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44651         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44652         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44653         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44654         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44655         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44656         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44657         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44658         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44659         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44660         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44661         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44662         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44663         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44664         Enable unaligned load optimization for Intel Core i3, i5 and i7
44665         processors.
44666         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44667         Define.
44668         (index_Fast_Unaligned_Load): Define.
44669         (HAS_FAST_UNALIGNED_LOAD): Define.
44670
44671 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
44672
44673         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44674
44675 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44676
44677         [BZ #12907]
44678         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44679         until it is clear that the information is realy needed.
44680         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44681
44682 2011-06-22  Andreas Schwab  <schwab@redhat.com>
44683
44684         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44685
44686 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44687
44688         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44689         /sys/devices/system/cpu/online if it is usable.
44690
44691         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44692         reading the information from the /proc filesystem to once a second.
44693
44694 2011-06-21  Andreas Jaeger  <aj@suse.de>
44695
44696         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44697         NULL after inclusion of kernel headers.
44698
44699 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
44700
44701         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44702         calls to internal_setent.
44703
44704         [BZ #12885]
44705         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44706         addresses using gethostbyname4_r ignore IPv4 addresses.
44707
44708         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44709         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
44710
44711         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44712
44713 2011-06-20  David S. Miller  <davem@davemloft.net>
44714
44715         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44716         inclusions.
44717         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44718
44719         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44720         (elf_irel): Use it.
44721         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44722         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44723         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44724         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44725         * sysdeps/x86_64/dl-irel.h: Likewise.
44726
44727         * elf/dl-runtime.c: Use elf_ifunc_invoke.
44728         * elf/dl-sym.c: Likewise.
44729
44730 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44731
44732         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
44733         need to dereference resplen2.
44734
44735 2011-06-14  Andreas Schwab  <schwab@redhat.com>
44736
44737         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44738
44739 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44740
44741         * Makeconfig: Define vardbdir and inst_vardbdir.
44742         * nss/Makefile: Add rules to install db-Makefile.
44743
44744         * nss/nss_db/db-XXX.c: Cleanup.
44745
44746         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44747         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44748         GLIBC_PRIVATE.
44749         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44750         * nss/makedb.c: Implement -g option to specify that value strings
44751         are generated and should not be added to table iterated over for
44752         get*ent calls.
44753         * nss/nss_db/db-initgroups.c: New file.
44754
44755         * nss/getent.c: Add support for initgroups lookups through getgrouplist
44756         interface.
44757
44758         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44759         (internal_getgrouplist): Adjust to name change.
44760         Update use_initgroups_entry if this is not the first call.
44761         * nss/databases.def: Add initgroups entry.
44762
44763         * nss/makedb.c (compute_tables): Check result of multiple hash table
44764         sizes to minimize maximum chain length.
44765
44766 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
44767
44768         * Versions.def: Add entry for libnss_db.
44769         * shlib-versions: Likewise.
44770         * nss/Makefile: Add rules to build libnss_db.
44771         * nss/Versions: Add libnss_db information.  Organize libnss_files
44772         entries better.
44773         * nss/db-Makefile: Add gshadow support.  Change rules for the new
44774         makedb progra.  Some minor improvements to generate smaller files.
44775         * nss/nss_db/nss_db.h: Move NSS database header data structures to
44776         here from...
44777         * nss/makedb.c: ...here.
44778         Improve database format to be smaller and require less memory at
44779         runtime.
44780         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
44781         db anymore.
44782         * nss/nss_db/db-netgrp.c: Likewise.
44783         * nss/nss_db/db-open.c: Likewise.
44784         * nss/nss_files/flies-XXX.x: Adjust comments.
44785         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44786         * nss/nss_files/files-grp.c: Likewise.
44787         * nss/nss_files/files-hosts.c: Likewise.
44788         * nss/nss_files/files-network.c: Likewise.
44789         * nss/nss_files/files-proto.c: Likewise.
44790         * nss/nss_files/files-pwd.c: Likewise.
44791         * nss/nss_files/files-rpc.c: Likewise.
44792         * nss/nss_files/files-service.c: Likewise.
44793         * nss/nss_files/files-sgrp.c: Likewise.
44794         * nss/nss_files/files-spwd.c: Likewise.
44795         * nss/nss_db/db-alias.c: Removed.
44796         * nss/nss_db/dummy-db.h: Removed.
44797
44798 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
44799
44800         * nss/makedb.c: Rewritten to not use database library.
44801         * nss/Makefile: Update to build new makedb program.
44802
44803 2011-06-14  Andreas Jaeger  <aj@suse.de>
44804
44805         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44806         memset declaration.
44807
44808 2011-06-10  Andreas Schwab  <schwab@redhat.com>
44809
44810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44811         tmpbuf.
44812
44813 2011-06-10  Roland McGrath  <roland@hack.frob.com>
44814
44815         * Makerules (shlib.lds): Fail if the linker script comes out empty.
44816         * elf/Makefile ($(objpfx)ld.so): Likewise.
44817
44818         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44819         Don't list ld.so twice in dependencies.
44820
44821         * posix/bug-regex31.c: Include <stdlib.h>.
44822
44823         * nscd/hstcache.c (cache_addhst): Remove unused variable.
44824
44825         * nis/nss_compat/compat-spwd.c
44826         (getspent_next_nss_netgr): Remove unused variable.
44827         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44828
44829         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44830         nonmembers" output to use the right array.
44831
44832         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44833
44834         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44835
44836         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44837         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44838         * catgets/gencat.c (read_input_file): Likewise.
44839         * locale/programs/locarchive.c (enlarge_archive): Likewise.
44840
44841         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44842         variable definition inside #if's controlling its use.
44843
44844         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44845
44846         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44847
44848         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44849
44850         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44851         unreachable code.
44852
44853         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44854
44855         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44856         * configure: Regenerated.
44857
44858         * Makerules: Revert last change.
44859         * elf/Makefile: Likewise.
44860
44861 2011-06-09  Roland McGrath  <roland@hack.frob.com>
44862
44863         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44864         * elf/Makefile ($(objpfx)librtld.os): Likewise.
44865         (reloc-link): Likewise.
44866
44867 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
44868
44869         * elf/Makefile: Add rules to build pldd.
44870         * elf/pldd.c: New file.
44871         * elf/pldd-xx.c: New file.
44872
44873 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
44874
44875         * version.h: Update for 2.15 development version.
44876
44877 2011-06-07  David S. Miller  <davem@davemloft.net>
44878
44879         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44880         ifuncs.
44881         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44882         elf_machine_lazy_rel): Likewise.
44883         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44884         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44885         elf_machine_lazy_rel): Likewise.
44886         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44887         dl_hwcap via passed in argument.
44888         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44889         Likewise.
44890
44891 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44892
44893         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
44894
44895 2011-06-06  Roland McGrath  <roland@hack.frob.com>
44896
44897         [BZ #12849]
44898         * manual/fdl-1.1.texi: New file, verbatim from:
44899         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44900         * manual/lgpl-2.1.texi: New file, verbatim from:
44901         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44902         * manual/Makefile (licenses): New variable, list those new file names.
44903         (texis): Use it.
44904         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44905
44906         * manual/fdl.texi: File removed.
44907         * manual/lesser.texi: File removed.
44908         * manual/libc.texinfo (Copying, Documentation License):
44909         Use new @include file names, put @appendix directive before @include.
44910
44911 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
44912
44913         [BZ #12841]
44914         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44915         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44916         (mq_open): Add __NTH.
44917
44918 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
44919
44920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44921         Assume Intel Core i3/i5/i7 processor if AVX is available.
44922
44923 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44924
44925         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44926         typo.
44927
44928 2011-05-31  Andreas Schwab  <schwab@redhat.com>
44929
44930         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44931         memory.  Use alloca_account.  Fix memory leak when retrying.
44932
44933 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44934
44935         * version.h (RELEASE): Bump for 2.14 release.
44936         * include/features.h (__GLIBC_MINOR__): Bump to 14.
44937
44938         * config.make.in (RANLIB): Remove entry.
44939
44940 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
44941
44942         * po/Makefile (po-sed-cmd): Add ksh to extensions.
44943         (libc.pot): Work around missing support for .ksh extension in xgettext.
44944
44945         [BZ #12684]
44946         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44947         if both request failed.
44948         (send_dg): In case of server errors clear resplen or *resplen2.
44949
44950         [BZ #12454]
44951         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44952         when there are multiple maps.
44953         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44954         (_dl_fini): Remove test here.
44955
44956         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44957
44958 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
44959
44960         [BZ #12350]
44961         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44962         bit from old_res_options.
44963         (gaih_inet): Likewise.
44964
44965         [BZ #11099]
44966         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44967         as signed.
44968
44969         * resolv/res_init.c (res_setoptions): Make the code more compact.
44970
44971         [BZ #11558]
44972         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44973         set RES_USEVC.
44974
44975         [BZ #11634]
44976         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44977
44978         * malloc/malloc.h: Mark malloc hook variables as deprecated.
44979
44980         [BZ #11781]
44981         * malloc/malloc.h: Declare malloc hook variables as volatile.
44982
44983         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44984         in last patch.
44985
44986         [BZ #11799]
44987         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44988         raise in the comment.
44989         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44990         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44991         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44992
44993 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
44994
44995         [BZ #12811]
44996         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44997         grow the buffers more if it already has to be sufficient.
44998         (build_wcs_upper_buffer): Likewise.
44999         * posix/regexec.c (check_matching): Likewise.
45000         (clean_state_log_if_needed): Likewise.
45001         (extend_buffers): Don't enlarge buffers beyond size of the input
45002         buffer.
45003         Patches mostly by Emil Wojak <emil@wojak.eu>.
45004         * posix/bug-regex32.c: New file.
45005         * posix/Makefile (tests): Add bug-regex32.
45006
45007         * locale/findlocale.c (_nl_find_locale): Return right away if
45008         _nl_explode_name failed.
45009         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45010
45011         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45012
45013         * debug/xtrace.sh: Unify messages.
45014         * malloc/memusage.sh: Likewise.
45015
45016         [BZ #12813]
45017         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45018         time symbol from vDSO.  Substitute with vsyscall if not available.
45019         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45020         __vdso_time.
45021
45022         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45023         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45024         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45025         Add sendmmsg and internal_sendmmsg.
45026         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45027         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45028         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45029
45030         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45031         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45032         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45033
45034 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45035
45036         [BZ #12813]
45037         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45038         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45039         available.
45040         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45041         __vdso_getcpu.
45042
45043         [BZ #12814]
45044         * iconvdata/Makefile (tests): Add bug-iconv9.
45045         * iconvdata/bug-iconv9.c: New file.
45046
45047 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45048
45049         [BZ #12814]
45050         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45051
45052 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45053
45054         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45055         (struct user_regs_struct): Change intcs field back to cs.
45056
45057 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45058
45059         * po/ja.po: Update from translation team.
45060
45061 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45062
45063         [BZ #12795]
45064         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45065         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45066
45067 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45068
45069         * stdlib/longlong.h: Update from GCC.
45070
45071 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45072
45073         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45074         parameter name.
45075         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45076         Add parameter name.
45077         (__sysconf): Pass it down.
45078
45079 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45080
45081         [BZ #12671]
45082         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45083         some situations.
45084         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45085         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45086         add in in __libc_use_alloca calls.  Adjust callers.
45087         (glob): Use malloc in some situations.
45088
45089         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45090         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45091         pltexit.
45092
45093 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45094
45095         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45096         and CLOCK_BOOTTIME_ALARM.
45097
45098         [BZ #12782]
45099         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45100         is returned.
45101
45102         * string/_strerror.c (__strerror_r): Print negative errors as signed
45103         numbers.
45104
45105         [BZ #12777]
45106         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45107         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45108         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45109
45110         * configure.in: Fix typo in redirection and correct removal of test
45111         files in two cases.
45112
45113         [BZ #12788]
45114         * locale/setlocale.c (new_composite_name): Fix test to check for
45115         identical name of all categories.
45116
45117         [BZ #12792]
45118         * libio/filedoalloc.c (local_isatty): New function.
45119         (_IO_file_doallocate): Use local_isatty.
45120         * stdio-common/perror.c (perror): In case a new stream is used
45121         forward the stream error.
45122         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45123         error flag.
45124
45125 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45126
45127         [BZ #11869]
45128         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45129         alloca.
45130         * include/alloca.h (extend_alloca_account): Define.
45131
45132         [BZ #11857]
45133         * posix/regex.h: Fix comments with documentation of user-accessible
45134         fields after compilation and describe correct free'ing of pattern
45135         after re_compile_pattern.
45136         Patch by Reuben Thomas <rrt@sc3d.org>.
45137
45138 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45139
45140         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45141         and -mno-altivec to prevent the compiler from using Altivec and/or
45142         VSX instructions when the corresponding registers are not available.
45143
45144 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45145
45146         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45147
45148 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45149
45150         * libio/freopen.c (freopen): Use __dup2, not dup2.
45151         * libio/freopen64.c (freopen64): Likewise.
45152
45153 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45154
45155         [BZ #12775]
45156         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45157         * math/Makefile (tests): Add test-powl.
45158         (CFLAGS-test-powl.c): Define.
45159         * math/test-powl.c: New file.
45160
45161 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45162
45163         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45164
45165 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45166
45167         [BZ #11837]
45168         * iconvdata/gb18030.c: Update to GB18020-2005.
45169
45170 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45171
45172         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45173         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45174         Patch by Aharon Robbins <arnold@skeeve.com>.
45175
45176         [BZ #11892]
45177         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45178         on the stack.
45179
45180         [BZ #11895]
45181         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45182         through underflows.
45183
45184         [BZ #12766]
45185         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45186         point to strings before performing equality test for error_one_per_line
45187         mode.
45188
45189         [BZ #11697]
45190         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45191
45192         [BZ #11820]
45193         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45194         (struct user_fpregs_struct): Avoid __uint*_t types.
45195
45196         [BZ #6420]
45197         * malloc/mtrace.c (tr_where): Add additional parameter to point to
45198         symbol info.  Use it instead of calling _dl_addr locally.
45199         (lock_and_info): New function.
45200         (tr_freehook): Call lock_and_info and pass symbol info as additional
45201         parameter to tr_where.
45202         (tr_mallochook): Likewise.
45203         (tr_reallochook): Likewise.
45204         (tr_memalignhook): Likewise.
45205
45206         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
45207         used and couldn't be at all thread-safe.
45208
45209 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
45210
45211         * libio/freopen.c (freopen): Don't close old file descriptor
45212         before the new one is opened.  Instead dup the new file descriptor
45213         to the old one after the new stream is created.
45214         * libio/freopen64.c (freopen64): Likewise.
45215         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45216         * libio/fileops.c (_IO_new_file_close_it): Handle new
45217         _IO_FLAGS2_NOCLOSE flag.
45218         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45219         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45220         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45221         _IO_FLAGS2_NOCLOSE flag.
45222         * include/unistd.h: Add hidden_proto for dup3.
45223         Define __have_dup3.
45224         * io/dup3.c: Define hidden symbol.
45225         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45226
45227         [BZ #7101]
45228         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45229         when an incomplete long option is used.
45230         * posix/tst-getopt_long1.c: New file.
45231         * posix/Makefile (tests): Add tst-getopt_long1.
45232
45233         [BZ #10138]
45234         * scripts/config.guess: Update from autoconf-2.68.
45235         * scripts/config.sub: Likewise.
45236
45237         [BZ #10157]
45238         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45239         tests into ...
45240         (has_cpuclock): ...this.  New function.
45241         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45242         macro here based on has_cpuclock code.
45243
45244         [BZ #10149]
45245         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45246         First byte (not low byte) is now always NUL.
45247         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45248
45249         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45250         Use non-cancelable interfaces.
45251
45252         [BZ #9809]
45253         * locale/iso-639.def: Add entry for Sorani.
45254
45255         [BZ #11901]
45256         * include/stdlib.h: Move include protection to the right place.
45257         Define abort_msg_s.  Declare __abort_msg with it.
45258         * stdlib/abort.c (__abort_msg): Adjust type.
45259         * assert/assert.c (__assert_fail_base): New function.  Majority
45260         of code from __assert_fail.  Allocate memory for __abort_msg with
45261         mmap.
45262         (__assert_fail): Now call __assert_fail_base.
45263         * assert/assert-perr.c: Remove bulk of implementation.  Use
45264         __assert_fail_base.
45265         * include/assert.hL Declare __assert_fail_base.
45266         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45267         mmap.
45268         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45269
45270 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
45271
45272         [BZ #11952]
45273         [BZ #12453]
45274         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45275         until all modules are registered in the DTV.
45276         * elf/Makefile: Add rules to build and run tst-tls19.
45277         * elf/tst-tls19.c: New file.
45278         * elf/tst-tls19mod1.c: New file.
45279         * elf/tst-tls19mod2.c: New file.
45280         * elf/tst-tls19mod3.c: New file.
45281         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45282
45283         [BZ #12083]
45284         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45285         correctly.
45286
45287         [BZ #12601]
45288         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45289         two-byte sequence errors.
45290         * iconvdata/Makefile (tests): Add bug-iconv8.
45291         * iconvdata/bug-iconv8.c: New file.
45292
45293         [BZ #12626]
45294         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45295         buf2 definition.
45296
45297         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45298
45299         [BZ #12432]
45300         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45301         (dummy_getcfa): New function.
45302         (init): Get _Unwind_GetCFA address, use dummy if not found.
45303         (backtrace_helper): In recursion check, also check whether CFA changes.
45304         (__backtrace): Completely initialize arg.
45305
45306         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45307         storing incomplete byte sequence in state object.  Avoid testing for
45308         guaranteed too small input if we know there is enough data available.
45309
45310 2011-05-11  Andreas Schwab  <schwab@redhat.com>
45311
45312         * Makeconfig (+link-pie): Indent.
45313         * Rules (binaries-pie): Define if $(have-fpie) and
45314         $(build-shared).
45315         (binaries-shared): Also filter out $(binaries-pie).
45316         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45317         * nscd/Makefile (others-pie): Add nscd.
45318         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45319         ($(objpfx)nscd): Remove command override.
45320         * login/Makefile (others-pie): Add pt_chown.
45321         ($(objpfx)pt_chown): Remove command override.
45322         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45323         remove command overrides.
45324
45325 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
45326
45327         * libio/tst_putwc.c: Fix error messages.
45328
45329         [BZ #12724]
45330         * libio/fileops.c (_IO_new_file_close_it): Always flush when
45331         currently writing and seek to current position when not.
45332         * libio/Makefile (tests): Add bug-fclose1.
45333         * libio/bug-fclose1.c: New file.
45334
45335 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
45336
45337         [BZ #12511]
45338         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45339         don't set DF_1_NODELETE here.
45340         (do_lookup_x): When entering new entry test for copy relocation
45341         and if necessary set DF_1_NODELETE flag.
45342         * elf/tst-unique4.cc: New file.
45343         * elf/tst-unique4.h: New file.
45344         * elf/tst-unique4lib.cc: New file.
45345         * elf/Makefile: Add rules to build and run tst-unique4.
45346         Patch by Piotr Bury <pbury@goahead.com>.
45347
45348 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
45349
45350         [BZ #12052]
45351         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45352
45353         [BZ #12625]
45354         * misc/mntent_r.c (addmntent): Flush the stream after the output
45355
45356         [BZ #12393]
45357         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45358         (is_trusted_path_normalize): Skip initial colon.  Append slash
45359         to empty buffer.  Duplicate is_trusted_path code but allow
45360         constructed patch to be prefix.
45361         (is_dst): Allow $ORIGIN followed by /.
45362         (_dl_dst_substitute): Correct clearing of check_for_trusted.
45363         Correct testing of result of is_trusted_path_normalize
45364         (decompose_rpath): Fix warning.
45365
45366 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
45367
45368         [BZ #11257]
45369         * grp/initgroups.c (internal_getgrouplist): When we found the service
45370         list through the initgroups entry in nsswitch.conf do not always
45371         continue on a successful lookup.  Don't always use the
45372         __nss_group_database value if it is set.
45373         * nss/nsswitch.conf (initgroups): Change action for successful db
45374         lookup to continue for compatibility.
45375
45376 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
45377
45378         [BZ #11532]
45379         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45380         and CP774 modules.
45381         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45382         and CP774 modules.
45383         * iconvdata/tst-tables.sh: Likewise.
45384         * iconvdata/cp770.c: New file.
45385         * iconvdata/cp771.c: New file.
45386         * iconvdata/cp772.c: New file.
45387         * iconvdata/cp773.c: New file.
45388         * iconvdata/cp774.c: New file.
45389         * iconvdata/testdata/CP770: New file.
45390         * iconvdata/testdata/CP770..UTF8: New file.
45391         * iconvdata/testdata/CP771: New file.
45392         * iconvdata/testdata/CP771..UTF8: New file.
45393         * iconvdata/testdata/CP772: New file.
45394         * iconvdata/testdata/CP772..UTF8: New file.
45395         * iconvdata/testdata/CP773: New file.
45396         * iconvdata/testdata/CP773..UTF8: New file.
45397         * iconvdata/testdata/CP774: New file.
45398         * iconvdata/testdata/CP774..UTF8: New file.
45399
45400         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45401         END CHARMAP line.
45402         * iconvdata/gen-8bit-gap.sh: Likewise.
45403         * iconvdata/gen-8bit.sh: Likewise.
45404
45405         * locale/iso-639.def: Add ary entry.
45406
45407         [BZ #11258]
45408         * locale/C-translit.h.in: Add U20A1 transliteration.
45409
45410         [BZ #12178]
45411         * locale/iso-639.def: Add wae entry.
45412         Patch by Kevin Bortis <bortis@translate-wae.ch>.
45413
45414         [BZ #12545]
45415         * locale/programs/localedef.c (construct_output_path): Use ssize_t
45416         for n.
45417
45418         [BZ #12711]
45419         * locale/C-translit.h.in: Add entry for U20B9.
45420         Patch by pravin.d.s@gmail.com.
45421
45422 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
45423
45424         [BZ #12713]
45425         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45426         ENAMETOOLONG use generic getcwd.
45427         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
45428         in rtld.  Use *stat64.
45429         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45430         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45431         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45432         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45433         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45434         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45435         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45436         __fstatat64 macros.
45437         * include/dirent.h: Add libc_hidden_proto for rewinddir.
45438         * dirent/rewinddir.c: Add libc_hidden_def.
45439         * sysdeps/mach/hurd/rewinddir.c: Likewise.
45440         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
45441
45442         * include/dirent.h (__alloc_dir): Add flags parameter.
45443         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45444         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45445         __alloc_dir.
45446         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
45447         from fdopendir if O_CLOEXEC is already set.
45448
45449 2011-03-15  Alan Modra  <amodra@gmail.com>
45450
45451         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45452         l_tls_firstbyte_offset non-zero.  Save padding offset in
45453         l_tls_firstbyte_offset for later use.
45454         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45455         freeing static tls block.
45456
45457 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
45458
45459         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45460         where #ifdef was intended.  The intent is to prevent ARG_MAX from
45461         being defined by the kernel headers.
45462
45463 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
45464
45465         [BZ #12734]
45466         * resolv/resolv.h: Define RES_NOTLDQUERY.
45467         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45468         no-tld-query and set RES_NOTLDQUERY.
45469         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45470         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45471         modern BIND to search name as TLD unless forbidden.
45472
45473 2011-05-07  Petr Baudis  <pasky@suse.cz>
45474             Ulrich Drepper  <drepper@gmail.com>
45475
45476         [BZ #12393]
45477         * elf/dl-load.c (fillin_rpath): Move trusted path check...
45478         (is_trusted_path): ...to here.
45479         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45480         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45481         using is_trusted_path_normalize() in setuid scripts.
45482
45483 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45484
45485         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45486         __BEGIN/__END_DECLS.
45487
45488 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
45489
45490         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45491         NSS_STATUS_NOTFOUND if no record was found.
45492
45493 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45494
45495         * sunrpc/Makefile (headers): Add rpc/netdb.h.
45496         (headers-not-in-tirpc): Remove rpc/netdb.h
45497         * resolv/netdb.h: Revert last change.
45498
45499 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45500
45501         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45502         circular dependency between libgcc.a and libc.a.
45503
45504 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45505
45506         * resolv/netdb.h: Don't include <rpc/netdb.h>.
45507         * nis/Makefile: Don't install rpcsvc/*.
45508         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45509         instead of <rpc/types.h>.
45510         (MAXHOSTNAMELEN): Define.
45511
45512 2011-05-03  Andreas Schwab  <schwab@redhat.com>
45513
45514         * elf/ldconfig.c (add_dir): Don't crash on empty path.
45515
45516 2011-04-28  Maciej Babinski  <mbabinski@google.com>
45517
45518         [BZ #12714]
45519         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45520         gethostbyname4_r when IPv6 results are possible.
45521
45522 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
45523
45524         [BZ #12723]
45525         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45526         _PC_PIPE_BUF handling.
45527
45528 2011-04-30  Bruno Haible  <bruno@clisp.org>
45529
45530         [BZ #12717]
45531         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45532         * resolv/netdb.h (getnameinfo): Change type of flags parameter
45533         to 'int'.
45534         * inet/getnameinfo.c (getnameinfo): Likewise.
45535
45536 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
45537
45538         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45539         to groups setting in database lookup.
45540         * nss/nsswitch.conf: Add initgroups entry.
45541
45542 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
45543
45544         [BZ #12685]
45545         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45546         mode string.
45547         Patch by Eric Blake <eblake@redhat.com>.
45548
45549 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
45550
45551         * sunrpc/Makefile (need-export-routines): Add svc_run.
45552         (routines): Remove svc_run.
45553         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45554         * sunrpc/clnt_perr.c (clnt_perrno): Export.
45555         * sunrpc/svc_run.c (svc_run): Likewise.
45556         * sunrpc/svc_udp.c (svcudp_create): Likewise.
45557
45558 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
45559
45560         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45561         problem in reallocation in last patch.
45562
45563 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
45564
45565         * sunrpc/Makefile: Move inclusion of Rules.
45566
45567 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45568
45569         * nss/nss_files/files-initgroups.c: New file.
45570         * nss/Makefile (libnss_files-routines): Add files-initgroups.
45571         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45572         _nss_files_initgroups_dyn.
45573
45574 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
45575
45576         * elf/elf.h (R_ARM_IRELATIVE): Define.
45577
45578 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45579
45580         * po/ru.po: Update from translation team.
45581
45582 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45583
45584         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45585         dependencies.
45586
45587 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
45588
45589         [BZ #12653]
45590         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45591         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45592         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45593         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45594         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45595
45596 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
45597
45598         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45599         differing bytes.
45600         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45601         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45602         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45603
45604 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45605
45606         [BZ #12420]
45607         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45608         storing it.
45609         * stdlib/bug-getcontext.c: New file.
45610         * stdlib/Makefile: Add rules to build and run bug-getcontext.
45611
45612 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45613
45614         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45615         instructions into .machine "z9-109".
45616         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45617         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45618
45619 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45620
45621         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45622         between environment variables and auxiliary vector.
45623
45624 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
45625
45626         * Makefile: Add rules to build linkobj/libc.so.
45627         * include/libc-symbols.h: Define libc_hidden_nolink.
45628         * include/rpc/auth.h: Mark functions which are to be hidden.
45629         * include/rpc/auth_des.h: Likewise.
45630         * include/rpc/auth_unix.h: Likewise.
45631         * include/rpc/clnt.h: Likewise.
45632         * include/rpc/des_crypt.h: Likewise.
45633         * include/rpc/key_prot.h: Likewise.
45634         * include/rpc/pmap_clnt.h: Likewise.
45635         * include/rpc/pmap_prot.h: Likewise.
45636         * include/rpc/pmap_rmt.h: Likewise.
45637         * include/rpc/rpc_msg.h: Likewise.
45638         * include/rpc/svc.h: Likewise.
45639         * include/rpc/svc_auth.h: Likewise.
45640         * include/rpc/xdr.h: Likewise.
45641         * nis/Makefile: Link all DSOs against linkobj/libc.so.
45642         * nss/Makefile: Likewise.
45643         * sunrpc/Makefile: Don't install headers.  Build library with normal
45644         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
45645         * sunrpc/auth_des.c: Hide exported symbols by default, export some
45646         for the compat linking library.  Remove use of INTDEF/INTUSE.
45647         * sunrpc/auth_none.c: Likewise.
45648         * sunrpc/auth_unix.c: Likewise.
45649         * sunrpc/authdes_prot.c: Likewise.
45650         * sunrpc/authuxprot.c: Likewise.
45651         * sunrpc/clnt_gen.c: Likewise.
45652         * sunrpc/clnt_perr.c: Likewise.
45653         * sunrpc/clnt_raw.c: Likewise.
45654         * sunrpc/clnt_simp.c: Likewise.
45655         * sunrpc/clnt_tcp.c: Likewise.
45656         * sunrpc/clnt_udp.c: Likewise.
45657         * sunrpc/clnt_unix.c: Likewise.
45658         * sunrpc/des_crypt.c: Likewise.
45659         * sunrpc/des_soft.c: Likewise.
45660         * sunrpc/get_myaddr.c: Likewise.
45661         * sunrpc/key_call.c: Likewise.
45662         * sunrpc/key_prot.c: Likewise.
45663         * sunrpc/netname.c: Likewise.
45664         * sunrpc/pm_getmaps.c: Likewise.
45665         * sunrpc/pm_getport.c: Likewise.
45666         * sunrpc/pmap_clnt.c: Likewise.
45667         * sunrpc/pmap_prot.c: Likewise.
45668         * sunrpc/pmap_prot2.c: Likewise.
45669         * sunrpc/pmap_rmt.c: Likewise.
45670         * sunrpc/publickey.c: Likewise.
45671         * sunrpc/rpc_cmsg.c: Likewise.
45672         * sunrpc/rpc_common.c: Likewise.
45673         * sunrpc/rpc_dtable.c: Likewise.
45674         * sunrpc/rpc_prot.c: Likewise.
45675         * sunrpc/rpc_thread.c: Likewise.
45676         * sunrpc/rtime.c: Likewise.
45677         * sunrpc/svc.c: Likewise.
45678         * sunrpc/svc_auth.c: Likewise.
45679         * sunrpc/svc_authux.c: Likewise.
45680         * sunrpc/svc_raw.c: Likewise.
45681         * sunrpc/svc_run.c: Likewise.
45682         * sunrpc/svc_simple.c: Likewise.
45683         * sunrpc/svc_tcp.c: Likewise.
45684         * sunrpc/svc_udp.c: Likewise.
45685         * sunrpc/svc_unix.c: Likewise.
45686         * sunrpc/svcauth_des.c: Likewise.
45687         * sunrpc/xcrypt.c: Likewise.
45688         * sunrpc/xdr.c: Likewise.
45689         * sunrpc/xdr_array.c: Likewise.
45690         * sunrpc/xdr_float.c: Likewise.
45691         * sunrpc/xdr_intXX_t.c: Likewise.
45692         * sunrpc/xdr_mem.c: Likewise.
45693         * sunrpc/xdr_rec.c: Likewise.
45694         * sunrpc/xdr_ref.c: Likewise.
45695         * sunrpc/xdr_sizeof.c: Likewise.
45696         * sunrpc/xdr_stdio.c: Likewise.
45697
45698 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
45699
45700         [BZ #12650]
45701         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45702         * sysdeps/ia64/dl-tls.h: Likewise.
45703         * sysdeps/powerpc/dl-tls.h: Likewise.
45704         * sysdeps/s390/dl-tls.h: Likewise.
45705         * sysdeps/sh/dl-tls.h: Likewise.
45706         * sysdeps/sparc/dl-tls.h: Likewise.
45707         * sysdeps/x86_64/dl-tls.h: Likewise.
45708         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45709
45710 2011-03-14  Andreas Schwab  <schwab@redhat.com>
45711
45712         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45713         rpath element also skip the following colon.
45714         (expand_dynamic_string_token): Add is_path parameter and pass
45715         down to DL_DST_REQUIRED and _dl_dst_substitute.
45716         (decompose_rpath): Call expand_dynamic_string_token with
45717         non-zero is_path.  Ignore empty rpaths.
45718         (_dl_map_object_from_fd): Call expand_dynamic_string_token
45719         with zero is_path.
45720
45721 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
45722
45723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45724         Make cancelable.
45725
45726 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
45727
45728         [BZ #12655]
45729         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45730         Patch by Filipe David Manana <fdmanana@apache.org>.
45731
45732 2011-04-07  Andreas Schwab  <schwab@redhat.com>
45733
45734         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45735         Maintain aligned stack.
45736         (CHECK_RSP): Remove unused macro.
45737
45738 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
45739
45740         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45741         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45742
45743 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
45744
45745         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45746
45747         * include/features.h: Mention __USE_XOPEN2K8 in comment.
45748
45749 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
45750
45751         [BZ #12518]
45752         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45753         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45754         * sysdeps/x86_64/memmove.c: New file.
45755         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45756         (memcpy): Renamed to ...
45757         (__new_memcpy): This.
45758         (memcpy): Provide GLIBC_2_14 memcpy.
45759         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45760         (memcpy): Provide GLIBC_2_2_5 memcpy.
45761
45762 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45763
45764         [BZ #12631]
45765         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45766
45767 2011-03-30  Andreas Schwab  <schwab@redhat.com>
45768
45769         * misc/syncfs.c: New file.
45770         * misc/Makefile (routines): Add syncfs.
45771         * posix/unistd.h: Declare syncfs.
45772         * sysdeps/unix/syscalls.list: Add syncfs.
45773
45774 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45775
45776         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45777         open_by_handle_at.
45778         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45779         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45780         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45781         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45782         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45783         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45784         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45785
45786 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45787
45788         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45789         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45790         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45791         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45792         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45793         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45794         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45795
45796         * io/Makefile: Compile fallocate.c, fallocate64.c, and
45797         sync_file_range.c with -fexceptions.
45798         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45799         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45800         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45801         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45802         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45803         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45804         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45805         sync_file_range as cancellation point
45806         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
45807         now a wrapper around __call_sync_file_range with cancellation handling.
45808         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45809         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
45810         function name to __call_sync_file_range.
45811         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45812         Add call_sync_file_range.
45813
45814 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45815
45816         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45817         bits/timex.h.
45818
45819 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45820
45821         * iconv/iconv.h: Fix typo in comment.
45822         * io/fcntl.h: Likewise.
45823         * libio/stdio.h: Likewise.
45824         * posix/spawn.h: Likewise.
45825         * posix/unistd.h: Likewise.
45826         * stdlib/stdlib.h: Likewise.
45827         * time/time.h: Likewise.
45828         * wcsmbs/wchar.h: Likewise.
45829
45830         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45831         open_by_handle): Add.
45832         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45833         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
45834         Augment a few comments.
45835         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45836         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45837         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45838         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45839         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45840         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45841         open_by_handle.
45842
45843         * io/fcntl.h (AT_EMPTY_PATH): Define.
45844
45845 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
45846
45847         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45848         * sysdeps/unix/sysv/linux/bits/time.h: New file.
45849         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45850         to...
45851         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
45852         * Versions.def: Add GLIBC_2.14.
45853         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45854         Export.
45855
45856 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
45857
45858         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45859         round counter.
45860         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45861
45862 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45863
45864         [BZ #12597]
45865         * string/test-strncmp.c (do_page_test): New function.
45866         (check2): Likewise.
45867         (test_main): Call check2.
45868         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45869
45870 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
45871
45872         [BZ #12587]
45873         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45874         Handle cache information in CPU leaf 4.
45875         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45876
45877 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
45878
45879         [BZ #12583]
45880         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45881         character representation.
45882         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45883
45884 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
45885
45886         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45887         END(__isnan) to END(__isnanf) to match function entry point/label
45888         EALIGN(__isnanf,...).
45889
45890 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
45891
45892         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45893
45894 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
45895
45896         [BZ #12510]
45897         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45898         copy from the symbol referenced in the relocation to initialize the
45899         used variable.
45900         Patch by Piotr Bury <pbury@goahead.com>.
45901         * elf/Makefile: Add rules to build and tst-unique3.
45902         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45903         * elf/tst-unique3.cc: New file.
45904         * elf/tst-unique3.h: New file.
45905         * elf/tst-unique3lib.cc: New file.
45906         * elf/tst-unique3lib2.cc: New file.
45907
45908         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45909
45910 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
45911
45912         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45913         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
45914         to _start.
45915
45916 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
45917
45918         * elf/dl-load.c (_dl_map_object): If we are looking for the first
45919         to-be-loaded object along a path to loader is ld.so.
45920
45921 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45922             Ulrich Drepper  <drepper@gmail.com>
45923
45924         * sysdeps/x86_64/memset.S: After aligning destination, code
45925         branches to different locations depending on the value of
45926         misalignment, when multiarch is enabled. Fix this.
45927
45928 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45929
45930         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45931         Set _x86_64_preferred_memory_instruction for AMD processsors.
45932         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45933         Set bit_Prefer_SSE_for_memop for AMD processors.
45934
45935 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
45936
45937         * libio/fmemopen.c (fmemopen): Optimize a bit.
45938
45939 2011-03-03  Andreas Schwab  <schwab@redhat.com>
45940
45941         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45942
45943 2011-03-03  Roland McGrath  <roland@redhat.com>
45944
45945         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45946
45947 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
45948
45949         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45950         __bzero_ultra1 instead of __memset_ultra1.
45951
45952 2011-02-23  Andreas Schwab  <schwab@redhat.com>
45953             Ulrich Drepper  <drepper@gmail.com>
45954
45955         [BZ #12509]
45956         * include/link.h (struct link_map): Add l_orig_initfini.
45957         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45958         returning unsuccessfully.
45959         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45960         close of a file loaded at startup, restore the original l_initfini
45961         list.
45962         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45963         list, store the pointer.
45964         * elf/Makefile ($(objpfx)noload-mem): New rule.
45965         (noload-ENV): Define.
45966         (tests): Add $(objpfx)noload-mem.
45967         * elf/noload.c: Include <memcheck.h>.
45968         (main): Call mtrace.  Close all opened handles.
45969
45970 2011-02-17  Andreas Schwab  <schwab@redhat.com>
45971
45972         [BZ #12454]
45973         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45974         dependencies are missing.
45975
45976 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45977
45978         Fix __if_freereq crash: Unlike the generic version which uses free,
45979         Hurd needs munmap.
45980         * sysdeps/mach/hurd/ifreq.h: New file.
45981
45982 2011-01-27  Petr Baudis  <pasky@suse.cz>
45983             Ulrich Drepper  <drepper@gmail.com>
45984
45985         [BZ 12445]#
45986         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45987         to extend_alloca().
45988         * stdio-common/bug23.c: New file.
45989         * stdio-common/Makefile (tests): Add bug23.
45990
45991 2010-09-28  Andreas Schwab  <schwab@redhat.com>
45992             Ulrich Drepper  <drepper@gmail.com>
45993
45994         [BZ #12489]
45995         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45996         before performing relro protection.  At old place add assertion
45997         to make sure nothing changed.
45998
45999 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46000             Glauber de Oliveira Costa  <glommer@gmail.com>
46001
46002         * elf/elf.h: Add new ARM TLS relocs.
46003
46004 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46005
46006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46007         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46008         cast from r3.
46009         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46010         'tests' variable.
46011         * sysdeps/wordsize-64/tst-writev.c: New file.
46012
46013 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46014
46015         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46016         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46017         insns in _dl_start to prevent a TOC reference before relocs are
46018         resolved.
46019
46020 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46021
46022         [BZ #12469]
46023         * Makeconfig: Remove RANLIB definition.
46024         * Makerules: Don't use RANLIB.
46025         * aclocal.m4: Remove ranlib test.
46026         * configure.in: No need to check for ranlib.
46027         * elf/rtld-Rules: Don't use RANLIB.
46028
46029 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46030
46031         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46032         protection macro.
46033         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46034         inclusion protection macro.
46035
46036         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46037         SIGRTMIN and SIGRTMAX and print information in that case only when
46038         SIGRTMIN is defined.
46039
46040 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46041
46042         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46043         arginfo fn returning -1.
46044
46045         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46046         and thousands string is zero terminated.
46047
46048 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46049
46050         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46051         sysdeps/unix/sysv/linux/bits/socket.h.
46052
46053 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46054
46055         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46056         (__CPU_COUNT): Remove old macros.
46057         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46058         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46059         (__CPU_ALLOC, __CPU_FREE): Add macros.
46060         (__sched_cpualloc, __sched_cpufree): Add declarations.
46061
46062 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46063
46064         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46065         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46066         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46067         (readdhstai): Return value of addhstaiX call.
46068         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46069         (addgrbyX): Return value returned by cache_addgr.
46070         (readdgrbyname): Return value returned by addgrbyX.
46071         (readdgrbygid): Likewise.
46072         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46073         (addpwbyX): Return value returned by cache_addpw.
46074         (readdpwbyname): Return value returned by addhstbyX.
46075         (readdpwbyuid): Likewise.
46076         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46077         (addservbyX): Return value returned by cache_addserv.
46078         (readdservbyname): Return value returned by addservbyX:
46079         (readdservbyport): Likewise.
46080         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46081         (addhstbyX): Return value returned by cache_addhst.
46082         (readdhstbyname): Return value returned by addhstbyX.
46083         (readdhstbyaddr): Likewise.
46084         (readdhstbynamev6): Likewise.
46085         (readdhstbyaddrv6): Likewise.
46086         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46087         (readdinitgroups): Return value returned by addinitgroupsX.
46088         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46089         (prune_cache): Keep track of timeout value of re-added entries.
46090         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46091         * nscd/nscd.h: Adjust prototypes of readd* functions.
46092
46093 2011-02-04  Roland McGrath  <roland@redhat.com>
46094
46095         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46096         (nis_stats): Likewise.
46097         * nis/nis_modify.c (nis_modify): Likewise.
46098         * nis/nis_remove.c (nis_remove): Likewise.
46099         * nis/nis_add.c (nis_add): Likewise.
46100
46101         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46102
46103         * posix/fnmatch_loop.c: Add some consts.
46104
46105         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46106
46107 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46108
46109         [BZ #12460]
46110         * config.make.in (config-cflags-novzeroupper): Define.
46111         * configure.in: Substitute libc_cv_cc_novzeroupper.
46112         * elf/Makefile (AVX-CFLAGS): Define.
46113         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46114         (CFLAGS-tst-auditmod4a.c): Likewise.
46115         (CFLAGS-tst-auditmod4b.c): Likewise.
46116         (CFLAGS-tst-auditmod6b.c): Likewise.
46117         (CFLAGS-tst-auditmod6c.c): Likewise.
46118         (CFLAGS-tst-auditmod7b.c): Likewise.
46119         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46120
46121 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46122
46123         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46124         function to the callback.
46125         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46126
46127 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46128
46129         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46130         of errno.
46131
46132 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46133
46134         [BZ #11724]
46135         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46136         of constructors.
46137         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46138         of destructors.
46139         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46140
46141         [BZ #11724]
46142         * elf/Makefile: Add rules to build and run new test.
46143         * elf/tst-initorder.c: New file.
46144         * elf/tst-initorder.exp: New file.
46145         * elf/tst-initordera1.c: New file.
46146         * elf/tst-initordera2.c: New file.
46147         * elf/tst-initordera3.c: New file.
46148         * elf/tst-initordera4.c: New file.
46149         * elf/tst-initorderb1.c: New file.
46150         * elf/tst-initorderb2.c: New file.
46151         * elf/tst-order-a1.c: New file.
46152         * elf/tst-order-a2.c: New file.
46153         * elf/tst-order-a3.c: New file.
46154         * elf/tst-order-a4.c: New file.
46155         * elf/tst-order-b1.c: New file.
46156         * elf/tst-order-b2.c: New file.
46157         * elf/tst-order-main.c: New file.
46158         New test case by George Gensure <werkt0@gmail.com>.
46159
46160 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46161
46162         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46163         decoding ACE if AI_CANONIDN.
46164
46165 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46166
46167         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46168
46169 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46170
46171         * version.h (RELEASE): Bump for 2.13 release.
46172         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46173
46174         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46175
46176         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46177         MADV_NOHUGEPAGE.
46178         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46179         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46180         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46181         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46182         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46183         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46184
46185         * posix/getconf.c: Update copyright year.
46186         * catgets/gencat.c: Likewise.
46187         * csu/version.c: Likewise.
46188         * debug/catchsegv.sh: Likewise.
46189         * debug/xtrace.sh: Likewise.
46190         * elf/ldconfig.c: Likewise.
46191         * elf/ldd.bash.in: Likewise.
46192         * elf/sprof.c (print_version): Likewise.
46193         * iconv/iconv_prog.c: Likewise.
46194         * iconv/iconvconfig.c: Likewise.
46195         * locale/programs/locale.c: Likewise.
46196         * locale/programs/localedef.c: Likewise.
46197         * malloc/memusage.sh: Likewise.
46198         * malloc/mtrace.pl: Likewise.
46199         * nscd/nscd.c (print_version): Likewise.
46200         * nss/getent.c: Likewise.
46201
46202         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46203         PF_CAIF, and PF_ALG.
46204         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46205
46206 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
46207
46208         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46209         (modules-names): Use them.
46210         (ifunc-test-modules, ifunc-pie-tests): Define.
46211         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46212         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46213         (test-extras): Likewise.
46214         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46215         $(compile-command.c).
46216         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46217         (all-built-dso): Define.
46218         (check-textrel.out, check-execstack.out): Depend on it.
46219
46220         * configure.in: Don't override --enable-multi-arch.
46221
46222 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
46223
46224         [BZ #6812]
46225         * nscd/hstcache.c (tryagain): Define.
46226         (cache_addhst): Return tryagain not notfound for temporary errors.
46227         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46228         failed.
46229
46230 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
46231
46232         [BZ #10563]
46233         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46234         to make the syscall.
46235         * sysdeps/unix/sysv/linux/setgroups.c: New file.
46236
46237         [BZ #12378]
46238         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46239         and fall back to matching as normal character if the string ends before
46240         the matching ']' is found.  This is what POSIX requires.
46241         * posix/testfnm.c: Adjust test result.
46242         * posix/globtest.sh: Adjust test result.  Add new test.
46243         * posix/tst-fnmatch.input: Likewise.
46244         * posix/tst-fnmatch2.c: Add new test.
46245
46246 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
46247
46248         * elf/Makefile (check-execstack): Revert last change.  Depend on
46249         check-execstack.h.
46250         (check-execstack.h): New target.
46251         (generated): Add check-execstack.h.
46252         * elf/check-execstack.c: Include "check-execstack.h".
46253         (main): Revert last change.
46254         (handle_file): Return zero if GNU_STACK is absent and
46255         DEFAULT_STACK_PERMS doesn't include PF_X.
46256
46257 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
46258
46259         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46260         in child fails because the descriptor is already closed.
46261         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46262         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46263         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46264
46265         [BZ #12397]
46266         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46267         syscall.
46268
46269         [BZ #10484]
46270         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46271         temporary buffer used to handle multi lookups locally.
46272         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46273
46274 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46275
46276         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46277         loader is ld.so.
46278
46279 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
46280
46281         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46282         alignment for SSE2.
46283
46284 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46285
46286         [BZ #12394]
46287         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46288         characters.  When rounding increased number of integer digits recompute
46289         number of groups.
46290         * stdio-common/tst-grouping.c: New file.
46291         * stdio-common/Makefile: Add rules to build and run tst-grouping.
46292
46293 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
46294
46295         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46296         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
46297
46298         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46299         void.
46300         * bits/select.h: Likewise.
46301
46302 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
46303
46304         * po/ja.po: Update from translation team.
46305
46306 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
46307
46308         [BZ #11155]
46309         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46310         implementation just like for lxstat, fxstatat, et al.
46311
46312 2010-12-27  Jim Meyering  <meyering@redhat.com>
46313
46314         [BZ #12348]
46315         * posix/regexec.c (build_trtable): Return failure indication upon
46316         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
46317
46318 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
46319
46320         [BZ #12201]
46321         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46322         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46323         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46324         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46325
46326         [BZ #12207]
46327         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46328
46329         [BZ #12204]
46330         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46331         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46332
46333 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
46334
46335         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46336         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46337         script has SORT_BY_INIT_PRIORITY.
46338         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46339         NO_CTORS_DTORS_SECTIONS is defined.
46340         * elf/soinit.c: Likewise.
46341         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46342         NO_CTORS_DTORS_SECTIONS is defined.
46343         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46344         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46345         * sysdeps/sh/init-first.c: Likewise.
46346         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46347
46348 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
46349
46350         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46351         always use the slow path.
46352
46353 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
46354
46355         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46356         similar rule which adds the sysdep directories to the header search in
46357         order to pick up the correct platform stackinfo.h.
46358         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46359         perform test if it is, otherwise return successfully without testing.
46360         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46361         DEFAULT_STACK_PERMS define in stackinfo.h.
46362         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46363         defined in stackinfo.h.
46364         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46365         DEFAULT_STACK_PERMS defined in stackinfo.h.
46366         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46367         * sysdeps/ia64/stackinfo.h: Likewise.
46368         * sysdeps/s390/stackinfo.h: Likewise.
46369         * sysdeps/sh/stackinfo.h: Likewise.
46370         * sysdeps/sparc/stackinfo.h: Likewise.
46371         * sysdeps/x86_64/stackinfo.h: Likewise.
46372         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46373         PF_X for powerpc64.  Retain PF_X for powerpc32.
46374
46375 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
46376
46377         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46378         accurately.
46379         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46380         GETDENTS_64BIT_ALIGNED.
46381
46382 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
46383
46384         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46385
46386 2010-12-10  Andreas Schwab  <schwab@redhat.com>
46387
46388         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46389         _GNU_SOURCE.
46390
46391         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46392         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46393         Remove __restrict.
46394         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46395         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46396
46397 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
46398
46399         [BZ #11655]
46400         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46401         are initialized.
46402
46403 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
46404
46405         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46406
46407 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
46408
46409         * po/it.po: Update from translation team.
46410
46411 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
46412
46413         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46414         unused codes.
46415
46416 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
46417
46418         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46419
46420 2010-11-24  Andreas Schwab  <schwab@redhat.com>
46421
46422         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46423         specially.
46424         (gaih_getanswer_slice): Likewise.
46425
46426 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
46427
46428         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46429
46430 2010-05-31  Petr Baudis  <pasky@suse.cz>
46431
46432         [BZ #11149]
46433         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46434         silently even in the chroot mode.
46435
46436 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
46437
46438         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46439         last patch a bit.  Pretty printing
46440
46441 2010-05-31  Petr Baudis <pasky@suse.cz>
46442
46443         [BZ #10085]
46444         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46445         initialization of skip_initgroups_dyn.
46446
46447 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
46448
46449         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46450         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46451
46452 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
46453
46454         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46455
46456 2010-11-11  Andreas Schwab  <schwab@redhat.com>
46457
46458         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46459         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46460         (tst-fnmatch-ENV): Set MALLOC_TRACE.
46461         ($(objpfx)tst-fnmatch-mem): New rule.
46462         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46463         * posix/tst-fnmatch.c (main): Call mtrace.
46464
46465 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
46466
46467         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46468         Support Intel processor model 6 and model 0x2c.
46469
46470 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
46471
46472         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46473           signed comparison.
46474
46475 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
46476
46477         [BZ #12205]
46478         * string/test-strncasecmp.c (check_result): New function.
46479         (do_one_test): Use it.
46480         (check1): New function.
46481         (test_main): Use it.
46482         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46483         Support strcasecmp and strncasecmp.
46484
46485 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
46486
46487         [BZ #12194]
46488         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46489         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46490
46491 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46492
46493         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46494         IFUNC support.
46495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46496         memset-x86-64.
46497         * sysdeps/x86_64/multiarch/bzero.S: New file.
46498         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46499         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46500         * sysdeps/x86_64/multiarch/memset.S: New file.
46501         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46503         Set bit_Prefer_SSE_for_memop for Intel processors.
46504         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46505         Define.
46506         (index_Prefer_SSE_for_memop): Define.
46507         (HAS_PREFER_SSE_FOR_MEMOP): Define.
46508
46509 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
46510
46511         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46512         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46513
46514 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
46515
46516         [BZ #12191]
46517         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46518         (__x86_64_raw_data_cache_size_half): Likewise.
46519         (__x86_64_raw_shared_cache_size): Likewise.
46520         (__x86_64_raw_shared_cache_size_half): Likewise.
46521
46522         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46523         (__x86_64_raw_data_cache_size_half): Likewise.
46524         (__x86_64_raw_shared_cache_size): Likewise.
46525         (__x86_64_raw_shared_cache_size_half): Likewise.
46526         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46527         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46528         and __x86_64_raw_shared_cache_size_half.  Round
46529         __x86_64_data_cache_size_half, __x86_64_data_cache_size
46530         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46531         to multiple of 256 bytes.
46532
46533 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
46534
46535         [BZ #12167]
46536         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46537         of inacessible symlinks.  Verify result of symlink before returning it.
46538         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46539         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46540
46541 2010-10-28  Erich Ritz  <erichritz@gmail.com>
46542
46543         * math/math.h (isinf): Fix typo in comment.
46544
46545 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
46546
46547         * po/da.po: Update from translation team.
46548
46549 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
46550
46551         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46552         is added to the list.
46553
46554 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46555             Ulrich Drepper  <drepper@gmail.com>
46556
46557         * elf/dl-object.c (_dl_new_object): Don't append the new object to
46558         the global list here.  Move code to...
46559         (_dl_add_to_namespace_list): ...here.  New function.
46560         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46561         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46562         * elf/dl-load.c (lose): Don't remove the element from the list.
46563         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46564         (_dl_map_object): Likewise.
46565
46566 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
46567
46568         [BZ #12159]
46569         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46570         into all bytes of SSE register.
46571         Patch by Richard Li <richardpku@gmail.com>.
46572
46573 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
46574
46575         [BZ #12140]
46576         * malloc/malloc.c (_int_free): Fill correct number of bytes when
46577         perturbing.
46578
46579 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
46580
46581         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46582         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46583         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46584         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46586         submachine.
46587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46588
46589 2010-10-22  Andreas Schwab  <schwab@redhat.com>
46590
46591         * include/dlfcn.h (__RTLD_SECURE): Define.
46592         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
46593         mode & __RTLD_SECURE instead.
46594         (open_path): Rename preloaded parameter to secure.
46595         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46596         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46597         * elf/dl-deps.c (openaux): Likewise.
46598         * elf/rtld.c (struct map_args): Remove is_preloaded.
46599         (map_doit): Don't use it.
46600         (dl_main): Likewise.
46601         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46602         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46603
46604 2010-09-09  Andreas Schwab  <schwab@redhat.com>
46605
46606         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46607         (sysd-rules-targets): Remove duplicates.
46608         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46609         rtld-%.$o dependency.
46610
46611 2010-10-18  Andreas Schwab  <schwab@redhat.com>
46612
46613         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46614         _dl_map_object do it.
46615
46616 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
46617
46618         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46619         fast fma builtins, define the macros in the C99 standard.
46620         (FP_FAST_FMAF): Likewise.
46621         (FP_FAST_FMAL): Likewise.
46622         * sysdeps/x86_64/bits/mathdef.h: Likewise.
46623
46624         * bits/mathdef.h: Update copyright year.
46625         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46626
46627 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
46628
46629         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46630         builtins, define the macros in the C99 standard.
46631         (FP_FAST_FMAF): Likewise.
46632         (FP_FAST_FMAL): Likewise.
46633         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46634         multiply/add.
46635         (FP_FAST_FMAF): Likewise.
46636
46637 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
46638
46639         [BZ #3268]
46640         * math/libm-test.inc (fma_test): Some new testcases.
46641         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46642         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46643         y and infinite z.  Do multiplication by C already in long double.
46644         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46645         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46646         y and infinite z.  Do bitwise or of inexact bit into u.d.
46647         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46648         * sysdeps/i386/fpu/s_fmaf.S: Removed.
46649         * sysdeps/i386/fpu/s_fma.S: Removed.
46650         * sysdeps/i386/fpu/s_fmal.S: Removed.
46651
46652 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
46653
46654         [BZ #3268]
46655         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46656         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46657         computation is not scheduled after fetestexcept.  Fix value
46658         of minimum denormal long double.
46659
46660 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
46661
46662         [BZ #3268]
46663         * math/libm-test.inc (fma_test): Add some more tests.
46664         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46665         correctly.
46666
46667 2010-10-15  Andreas Schwab  <schwab@redhat.com>
46668
46669         * scripts/data/localplt-s390-linux-gnu.data: New file.
46670         * scripts/data/localplt-s390x-linux-gnu.data: New file.
46671
46672 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
46673
46674         [BZ #3268]
46675         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46676         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46677         instead of dbl-64.
46678         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46679         inlines.
46680         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46681         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46682         if one of x and y is very large and the other is subnormal.
46683         * sysdeps/s390/fpu/s_fmaf.c: New file.
46684         * sysdeps/s390/fpu/s_fma.c: New file.
46685         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46686         * sysdeps/powerpc/fpu/s_fma.S: New file.
46687         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46688         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46689         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46690
46691 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
46692
46693         [BZ #3268]
46694         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46695         fma tests.
46696         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46697         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46698         * sysdeps/i386/i686/multiarch/s_fma.c: Include
46699         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46700         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46701         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46702         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46703
46704 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
46705
46706         [BZ #12078]
46707         * posix/regcomp.c (parse_branch): One more memory leak plugged.
46708         * posix/bug-regex31.input: Add test case.
46709
46710 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46711
46712         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46713         * posix/bug-regex31.input: New file.
46714
46715         [BZ #12078]
46716         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46717         (parse_sub_exp): Fix last change, use postorder.
46718
46719         * posix/bug-regex31.c: New file.
46720         * posix/Makefile: Add rules to build and run bug-regex31.
46721
46722         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46723
46724         [BZ #12078]
46725         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46726
46727         [BZ #12108]
46728         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46729         to have entries in sys_siglist.
46730
46731         [BZ #12093]
46732         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46733         be NULL.
46734
46735 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
46736
46737         [BZ #3268]
46738         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46739         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46740         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46741         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46742         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46743         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46744         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46745         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46746         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46747         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46748         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46749         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46750         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46751         * math/ftestexcept.c (fetestexcept): Likewise.
46752         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46753         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46754         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46755         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46756         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46757         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46758         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46759
46760 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46761
46762         [BZ #12107]
46763         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46764         newline.
46765
46766 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
46767
46768         * string/bug-strstr1.c: New file.
46769         * string/Makefile: Add rules to build and run bug-strstr1.
46770
46771 2010-10-05  Eric Blake  <eblake@redhat.com>
46772
46773         [BZ #12092]
46774         * string/str-two-way.h (two_way_long_needle): Always clear memory
46775         when skipping input due to the shift table.
46776
46777 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
46778
46779         [BZ #12005]
46780         * malloc/mcheck.c: Handle large requests.
46781
46782         [BZ #12077]
46783         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46784         for strncmp and strncasecmp.
46785         * string/stratcliff.c: Add tests for strcmp and strncmp.
46786         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46787
46788 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46789
46790         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46791         __set_fpscr.
46792
46793 2010-09-30  Andreas Jaeger  <aj@suse.de>
46794
46795         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46796         (CGROUP_SUPER_MAGIC): Define.
46797         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46798         Handle btrfs and cgroup file systems.
46799         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46800         Likewise.
46801
46802 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
46803
46804         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46805         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46806
46807 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46808
46809         [BZ #12067]
46810         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46811         trying to locate the ELF header.
46812
46813 2010-09-27  Andreas Schwab  <schwab@redhat.com>
46814
46815         [BZ #11611]
46816         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46817         Mask out sign-bit copies when constructing f_fsid.
46818
46819 2010-09-24  Petr Baudis <pasky@suse.cz>
46820
46821         * debug/stack_chk_fail_local.c: Add missing licence exception.
46822         * debug/warning-nop.c: Likewise.
46823
46824 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
46825
46826         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46827         implementing getdents64 using getdents syscall, set d_type if
46828         __ASSUME_GETDENTS32_D_TYPE.
46829
46830 2010-09-16  Andreas Schwab  <schwab@redhat.com>
46831
46832         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46833         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46834
46835 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
46836
46837         [BZ #12037]
46838         * posix/unistd.h: Undo change of feature selection for ftruncate from
46839         2010-01-11.
46840
46841 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
46842
46843         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46844         detection.
46845
46846 2010-09-20  Andreas Schwab  <schwab@redhat.com>
46847
46848         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46849         fanotify_mark.
46850         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46851
46852 2010-09-14  Andreas Schwab  <schwab@redhat.com>
46853
46854         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46855         variables after CHECK_SP call.
46856         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46857
46858 2010-09-13  Andreas Schwab  <schwab@redhat.com>
46859             Ulrich Drepper  <drepper@redhat.com>
46860
46861         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46862         re-relocationg ld.so.
46863         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46864         _dl_init_paths call.
46865         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
46866         here anymore.
46867
46868 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
46869
46870         * resolv/res_init.c (__res_vinit): Count the default server we added.
46871
46872 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
46873             Ulrich Drepper  <drepper@redhat.com>
46874
46875         [BZ #11968]
46876         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46877         (____longjmp_chk): Use %ebx for saving value across system call.
46878         Add unwind info.
46879
46880 2010-09-06  Andreas Schwab  <schwab@redhat.com>
46881
46882         * manual/Makefile: Don't mix pattern rules with normal rules.
46883
46884 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
46885
46886         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46887         operation.
46888         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46889         * libio/iofopncook.c (_IO_cookie_init): Likewise.
46890         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46891         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46892         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46893         Likewise.
46894
46895 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
46896
46897         [BZ #11979]
46898         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46899         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46900
46901 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
46902
46903         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46904         * sysdeps/x86_64/addmul_1.S: Likewise.
46905         * sysdeps/x86_64/lshift.S: Likewise.
46906         * sysdeps/x86_64/mul_1.S: Likewise.
46907         * sysdeps/x86_64/rshift.S: Likewise.
46908         * sysdeps/x86_64/sub_n.S: Likewise.
46909         * sysdeps/x86_64/submul_1.S: Likewise.
46910
46911 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46912
46913         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46914         Define __sched_param instead of SCHED_* and sched_param when
46915         <bits/sched.h> is included with __need_schedparam defined.
46916         * bits/sched.h [__need_schedparam]
46917         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46918         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46919         (__defined_schedparam): Define to 1.
46920         (__sched_param): New structure, identical to sched_param.
46921         (__need_schedparam): Undefine.
46922
46923 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
46924
46925         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46926         (epoll_create1): Declare.
46927
46928         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46929
46930 2010-08-31  Andreas Schwab  <schwab@redhat.com>
46931
46932         [BZ #7066]
46933         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46934         shifting retval into place.
46935
46936 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
46937
46938         * nis/rpcsvc/nis.h: Update copyright notice.
46939         * nis/rpcsvc/nis.x: Likewise.
46940         * nis/rpcsvc/nis_callback.h: Likewise.
46941         * nis/rpcsvc/nis_callback.x: Likewise.
46942         * nis/rpcsvc/nis_object.x: Likewise.
46943         * nis/rpcsvc/nis_tags.h: Likewise.
46944         * nis/rpcsvc/yp.h: Likewise.
46945         * nis/rpcsvc/yp.x: Likewise.
46946         * nis/rpcsvc/ypupd.h: Likewise.
46947         * nis/yp_xdr.c: Likewise.
46948         * nis/ypupdate_xdr.c: Likewise.
46949
46950         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
46951         mainly the body of pmap_getport.  Add parameters to specify timeouts.
46952         (pmap_getport): Use __libc_rpc_getport.
46953         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46954         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46955         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46956
46957 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
46958
46959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46960         fanotify_mark.
46961
46962 2010-08-27  Roland McGrath  <roland@redhat.com>
46963
46964         * sysdeps/i386/i686/multiarch/Makefile
46965         (CFLAGS-varshift.c): New variable.
46966
46967 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
46968
46969         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46970         * sysdeps/i386/i686/multiarch/varshift.c: New file.
46971
46972         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46973
46974         * sysdeps/x86_64/strlen.S: Minimal code improvement.
46975
46976 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
46977
46978         * sysdeps/x86_64/strlen.S: Unroll the loop.
46979         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46980         strlen-sse2 strlen-sse2-bsf.
46981         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46982         __strlen_no_bsf if bit_Slow_BSF is set.
46983         (__strlen_sse42): Removed.
46984         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46985         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46986
46987 2010-08-25  Roland McGrath  <roland@redhat.com>
46988
46989         * sysdeps/x86_64/multiarch/varshift.S: File removed.
46990         * sysdeps/x86_64/multiarch/varshift.c: New file.
46991         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46992         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46993         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46994         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46995
46996 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
46997
46998         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46999         strlen-sse2 strlen-sse2-bsf.
47000         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47001         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47002         (__strlen_sse2): Removed.
47003         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47004         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47005         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47006         bit_Slow_BSF for Atom.
47007         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47008         (index_Slow_BSF): Define.
47009         (HAS_SLOW_BSF): Define.
47010
47011 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47012
47013         [BZ #10851]
47014         * resolv/res_init.c (__res_vinit): When no server address at all
47015         is given default to loopback.
47016
47017 2010-08-24  Roland McGrath  <roland@redhat.com>
47018
47019         * configure.in: Remove config-name.h generation.
47020         * configure: Regenerated.
47021         * config-name.in: File removed.
47022         * scripts/config-uname.sh: New file.
47023         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47024         ($(objdir)config-name.h): New target.
47025
47026         * sunrpc/rpc_parse.h: Avoid nested comment.
47027
47028 2010-08-24  Richard Henderson  <rth@redhat.com>
47029             Ulrich Drepper  <drepper@redhat.com>
47030             H.J. Lu  <hongjiu.lu@intel.com>
47031
47032         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47033         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47034         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47035         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47036         _mm_alignr_epi8 with _mm_loadu_si128.
47037         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47038         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47039         (__m128i_shift_right): Removed.
47040         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47041         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47042         * sysdeps/x86_64/multiarch/varshift.h: New file.
47043         * sysdeps/x86_64/multiarch/varshift.S: New file.
47044
47045 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47046
47047         * configure.in: Move assembler checks to before sysdep dir checking.
47048
47049 2010-08-20  Petr Baudis  <pasky@suse.cz>
47050
47051         * LICENSES: Sync the sunrpc license.
47052
47053 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47054
47055         * sunrpc/auth_des.c: Update copyright notice once again.
47056         * sunrpc/auth_none.c: Likewise.
47057         * sunrpc/auth_unix.c: Likewise.
47058         * sunrpc/authdes_prot.c: Likewise.
47059         * sunrpc/authuxprot.c: Likewise.
47060         * sunrpc/bindrsvprt.c: Likewise.
47061         * sunrpc/clnt_gen.c: Likewise.
47062         * sunrpc/clnt_perr.c: Likewise.
47063         * sunrpc/clnt_raw.c: Likewise.
47064         * sunrpc/clnt_simp.c: Likewise.
47065         * sunrpc/clnt_tcp.c: Likewise.
47066         * sunrpc/clnt_udp.c: Likewise.
47067         * sunrpc/clnt_unix.c: Likewise.
47068         * sunrpc/des_crypt.c: Likewise.
47069         * sunrpc/des_soft.c: Likewise.
47070         * sunrpc/get_myaddr.c: Likewise.
47071         * sunrpc/getrpcport.c: Likewise.
47072         * sunrpc/key_call.c: Likewise.
47073         * sunrpc/key_prot.c: Likewise.
47074         * sunrpc/openchild.c: Likewise.
47075         * sunrpc/pm_getmaps.c: Likewise.
47076         * sunrpc/pm_getport.c: Likewise.
47077         * sunrpc/pmap_clnt.c: Likewise.
47078         * sunrpc/pmap_prot.c: Likewise.
47079         * sunrpc/pmap_prot2.c: Likewise.
47080         * sunrpc/pmap_rmt.c: Likewise.
47081         * sunrpc/rpc/auth.h: Likewise.
47082         * sunrpc/rpc/auth_unix.h: Likewise.
47083         * sunrpc/rpc/clnt.h: Likewise.
47084         * sunrpc/rpc/des_crypt.h: Likewise.
47085         * sunrpc/rpc/key_prot.h: Likewise.
47086         * sunrpc/rpc/netdb.h: Likewise.
47087         * sunrpc/rpc/pmap_clnt.h: Likewise.
47088         * sunrpc/rpc/pmap_prot.h: Likewise.
47089         * sunrpc/rpc/pmap_rmt.h: Likewise.
47090         * sunrpc/rpc/rpc.h: Likewise.
47091         * sunrpc/rpc/rpc_des.h: Likewise.
47092         * sunrpc/rpc/rpc_msg.h: Likewise.
47093         * sunrpc/rpc/svc.h: Likewise.
47094         * sunrpc/rpc/svc_auth.h: Likewise.
47095         * sunrpc/rpc/types.h: Likewise.
47096         * sunrpc/rpc/xdr.h: Likewise.
47097         * sunrpc/rpc_clntout.c: Likewise.
47098         * sunrpc/rpc_cmsg.c: Likewise.
47099         * sunrpc/rpc_common.c: Likewise.
47100         * sunrpc/rpc_cout.c: Likewise.
47101         * sunrpc/rpc_dtable.c: Likewise.
47102         * sunrpc/rpc_hout.c: Likewise.
47103         * sunrpc/rpc_main.c: Likewise.
47104         * sunrpc/rpc_parse.c: Likewise.
47105         * sunrpc/rpc_parse.h: Likewise.
47106         * sunrpc/rpc_prot.c: Likewise.
47107         * sunrpc/rpc_sample.c: Likewise.
47108         * sunrpc/rpc_scan.c: Likewise.
47109         * sunrpc/rpc_scan.h: Likewise.
47110         * sunrpc/rpc_svcout.c: Likewise.
47111         * sunrpc/rpc_tblout.c: Likewise.
47112         * sunrpc/rpc_util.c: Likewise.
47113         * sunrpc/rpc_util.h: Likewise.
47114         * sunrpc/rpcinfo.c: Likewise.
47115         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47116         * sunrpc/rpcsvc/key_prot.x: Likewise.
47117         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47118         * sunrpc/rpcsvc/mount.x: Likewise.
47119         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47120         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47121         * sunrpc/rpcsvc/rex.x: Likewise.
47122         * sunrpc/rpcsvc/rstat.x: Likewise.
47123         * sunrpc/rpcsvc/rusers.x: Likewise.
47124         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47125         * sunrpc/rpcsvc/spray.x: Likewise.
47126         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47127         * sunrpc/rtime.c: Likewise.
47128         * sunrpc/svc.c: Likewise.
47129         * sunrpc/svc_auth.c: Likewise.
47130         * sunrpc/svc_authux.c: Likewise.
47131         * sunrpc/svc_raw.c: Likewise.
47132         * sunrpc/svc_run.c: Likewise.
47133         * sunrpc/svc_simple.c: Likewise.
47134         * sunrpc/svc_tcp.c: Likewise.
47135         * sunrpc/svc_udp.c: Likewise.
47136         * sunrpc/svc_unix.c: Likewise.
47137         * sunrpc/svcauth_des.c: Likewise.
47138         * sunrpc/xcrypt.c: Likewise.
47139         * sunrpc/xdr.c: Likewise.
47140         * sunrpc/xdr_array.c: Likewise.
47141         * sunrpc/xdr_float.c: Likewise.
47142         * sunrpc/xdr_mem.c: Likewise.
47143         * sunrpc/xdr_rec.c: Likewise.
47144         * sunrpc/xdr_ref.c: Likewise.
47145         * sunrpc/xdr_sizeof.c: Likewise.
47146         * sunrpc/xdr_stdio.c: Likewise.
47147
47148         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47149         handling.
47150
47151 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47152
47153         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47154
47155 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47156
47157         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47158         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47159         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47160         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47161         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47162         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47163         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47164         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47165         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47166         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47167         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47168         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47169         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47170         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47171
47172 2010-07-26  Anton Blanchard  <anton@samba.org>
47173
47174         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47175         * malloc/arena.c (heap_trim): Likewise.
47176
47177 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47178
47179         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47180         here.  Not...
47181         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47182         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47183
47184 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47185
47186         * sysdeps/i386/elf/Makefile: New file.
47187
47188 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47189
47190         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47191         from fanotify_init.
47192         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47193         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47194
47195 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
47196
47197         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47198         of strncasecmp_l.
47199         * sysdeps/multiarch/strcmp.S: Likewise.
47200
47201 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
47202
47203         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47204         strncase_l-nonascii.
47205         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47206         Add strncase_l-ssse3.
47207         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47208         * sysdeps/x86_64/strcmp.S: Likewise.
47209         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47210         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47211         * sysdeps/x86_64/strncase.S: New file.
47212         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47213         * sysdeps/x86_64/strncase_l.S: New file.
47214         * string/Makefile (strop-tests): Add strncasecmp.
47215         * string/test-strncasecmp.c: New file.
47216
47217         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47218         warning.
47219
47220         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47221         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47222
47223 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47224
47225         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47226
47227 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
47228
47229         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47230         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47231         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47232
47233 2010-05-01  Alan Modra  <amodra@gmail.com>
47234
47235         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47236         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47237         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47238         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47239         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47240         tidying.  Don't tail-call __sigjmp_save for static lib.
47241         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47242         save location.
47243         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47244         (CALL_MCOUNT): Add eh info, and nop after bl.
47245         (TAIL_CALL_SYSCALL_ERROR): New macro.
47246         (PSEUDO_RET): Use it.
47247         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47248         Correct save location of integer regs and cr.
47249         (_dl_profile_resolve): Correct cr save location.  Delete nops
47250         after bl when SHARED.  Reduce cfi size a little by better
47251         placement of cfi directives.
47252         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47253         make a stack frame.  Instead use parm save area as a temp.
47254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47255         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
47256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47257         Don't make a stack frame for parent, use parm save area.
47258         Increase child stack frame to 112 bytes.  Don't save unused reg,
47259         and adjust reg usage.  Set up cfi on error recovery and
47260         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47262         (__makecontext): Add dummy nop after jump to exit.
47263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47264         Use correct parm save area and cr save, reduce stack frame.
47265         Correct cfi for possible PSEUDO_RET frame setup.
47266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47267         Branch to local label emitted by PSEUDO_RET rather than
47268         __syscall_error.
47269
47270 2010-08-12  Andreas Schwab  <schwab@redhat.com>
47271
47272         [BZ #11904]
47273         * locale/programs/locale.c (print_assignment): New function.
47274         (show_locale_vars): Use it.
47275
47276 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
47277
47278         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47279         field.
47280         (struct statfs64): Likewise.
47281         (_STATFS_F_FLAGS): Define.
47282         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47283         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47284         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47285         (ST_VALID): Define locally.
47286         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47287         __statvfs_getflags, use the provided value.
47288         * sysdeps/unix/sysv/linux/kernel-features.h: Define
47289         __ASSUME_STATFS_F_FLAGS.
47290
47291         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47292
47293         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47294         Add sys/fanotify.h.
47295         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47296         fanotify_mask for GLIBC_2.13.
47297         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47298         fanotify_init and fanotify_mark.
47299         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47300         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47301
47302         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47303         Add prlimit.
47304         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47305         prlimit64 for GLIBC_2.13.
47306         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47307         prlimit64.
47308         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47309         syscall.
47310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47311         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47312         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47313         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47314         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
47315         add prlimit alias.
47316         * sysdeps/unix/sysv/linux/prlimit.c: New file.
47317
47318         [BZ #11903]
47319         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47320         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47321
47322         * nss/Makefile: Add rules to build and run tst-nss-test1.
47323         * shlib-versions: Add entry for libnss_test1.
47324         * nss/nss_test1.c: New file.
47325         * nss/tst-nss-test1.c: New file.
47326
47327         * nss/nsswitch.c (__nss_database_custom): Define new variable.
47328         (__nss_configure_lookup): Set appropriate entry in
47329         __nss_configure_lookup to true.
47330         * nss/nsswitch.h: Define enum with indeces of databases in
47331         databases and __nss_database_custom arrays.  Declare
47332         __nss_database_custom.
47333         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47334         to avoid using nscd when custom rules are installed.
47335         * nss/getXXbyYY_r.c: Likewise.
47336         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47337
47338         * nss/nss_files/files-parse.c: Whitespace fixes.
47339
47340 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
47341
47342         [BZ #11883]
47343         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47344         * posix/fnmatch_loop.c: Likewise.
47345
47346 2010-07-17  Andi Kleen  <ak@linux.intel.com>
47347
47348         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47349         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47350         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47351         * Versions.def [GLIBC_2.13]: Add.
47352
47353 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
47354
47355         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47356         Also fail if tpwd after pwuid call is NULL.
47357
47358 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47359
47360         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47361         when converting to ms.
47362
47363 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47364
47365         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47366         EOPNOTSUPP errors with ENOTTY.
47367         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47368         EOPNOTSUPP errors with ENOTTY.
47369
47370 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
47371
47372         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47373         Add strcasecmp_l-ssse3.
47374         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47375         strcasecmp.
47376         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47377         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47378         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47379
47380 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
47381
47382         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47383
47384         * string/Makefile (strop-tests): Add strcasecmp.
47385         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47386         strcasecmp_l-nonascii.
47387         (gen-as-const-headers): Add locale-defines.sym.
47388         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47389         * sysdeps/x86_64/strcasecmp.S: New file.
47390         * sysdeps/x86_64/strcasecmp_l.S: New file.
47391         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47392         * sysdeps/x86_64/locale-defines.sym: New file.
47393         * string/test-strcasecmp.c: New file.
47394
47395         * string/test-strcasestr.c: Test both ends of the range of characters.
47396         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47397
47398 2010-07-29  Roland McGrath  <roland@redhat.com>
47399
47400         [BZ #11856]
47401         * manual/locale.texi (Yes-or-No Questions): Fix example code.
47402
47403 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
47404
47405         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47406         for ld.so.
47407
47408 2010-07-27  Andreas Schwab  <schwab@redhat.com>
47409
47410         * manual/memory.texi (Malloc Tunable Parameters): Document
47411         M_PERTURB.
47412
47413 2010-07-26  Roland McGrath  <roland@redhat.com>
47414
47415         [BZ #11840]
47416         * configure.in (-fgnu89-inline check): Set and substitute
47417         gnu89_inline, not libc_cv_gnu89_inline.
47418         * configure: Regenerated.
47419         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47420
47421 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
47422
47423         * string/test-strnlen.c: New file.
47424         * string/Makefile (strop-tests): Add strnlen.
47425         * string/tester.c (test_strnlen): Add a few more test cases.
47426         * string/tst-strlen.c: Better error reporting.
47427
47428         * sysdeps/x86_64/strnlen.S: New file.
47429
47430 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
47431
47432         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47433         lower-latency instructions.
47434
47435 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
47436
47437         * string/test-strcasestr.c: New file.
47438         * string/test-strstr.c: New file.
47439         * string/Makefile (strop-tests): Add strstr and strcasestr.
47440         * string/str-two-way.h: Don't undefine MAX.
47441         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47442
47443 2010-07-21  Andreas Schwab  <schwab@redhat.com>
47444
47445         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47446         strcasestr-nonascii.
47447         (CFLAGS-strcasestr-nonascii.c): Define.
47448         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47449         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47450         Remove unused attribute.
47451
47452 2010-07-20  Roland McGrath  <roland@redhat.com>
47453
47454         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47455         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
47456         ld.so.cache was broken.  With it, there is no way to disable dsocaps
47457         like LD_HWCAP_MASK can disable hwcaps.
47458
47459 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47460
47461         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47462
47463 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
47464
47465         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47466         call in strcasestr.
47467         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47468         __strcasestr_sse42_nonascii.
47469         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47470         strcasestr-nonascii.c.
47471         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47472
47473 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
47474
47475         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47476         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47477         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47478         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47479
47480 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
47481
47482         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47483         fcntl.
47484
47485 2010-07-06  Andreas Schwab  <schwab@redhat.com>
47486
47487         [BZ #11577]
47488         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47489         dl_signal_cerror.
47490
47491 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
47492
47493         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47494         _PC_PIPE_BUF using F_GETPIPE_SZ.
47495
47496 2010-07-05  Roland McGrath  <roland@redhat.com>
47497
47498         * manual/arith.texi (Rounding Functions): Fix rint description
47499         implicit in round description.
47500
47501 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
47502
47503         * elf/Makefile: Fix linking for a few tests to make recent linker
47504         happy.
47505
47506 2010-06-30  Andreas Schwab  <schwab@redhat.com>
47507
47508         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47509         $(common-objpfx)libc_nonshared.a.
47510
47511 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
47512
47513         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47514         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47515         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47516         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47517         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47518         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47519         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47520         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47535         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47536         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47537         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47538         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47539         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47540         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47541         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47542         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47543         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47544         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47545         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47546         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47561
47562 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
47563
47564         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47565         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
47566         * string/memmove.c (memmove): Renamed to ...
47567         (MEMMOVE): ...this.  Default to memmove.
47568         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47569         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47570         (END_CHK): Define.
47571         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47572         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47573         mempcpy-ssse3-back memmove-ssse3-back.
47574         * sysdeps/x86_64/multiarch/bcopy.S: New file .
47575         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47576         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47577         * sysdeps/x86_64/multiarch/memcpy.S: New file.
47578         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47579         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47580         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47581         * sysdeps/x86_64/multiarch/memmove.c: New file.
47582         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47583         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47584         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47585         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47586         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47587         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47588         Define.
47589         (index_Fast_Copy_Backward): Define.
47590         (HAS_ARCH_FEATURE): Define.
47591         (HAS_FAST_REP_STRING): Define.
47592         (HAS_FAST_COPY_BACKWARD): Define.
47593
47594 2010-06-21  Andreas Schwab  <schwab@redhat.com>
47595
47596         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47597         Restore proper fallback handling.
47598
47599 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
47600
47601         [BZ #11701]
47602         * posix/group_member.c (__group_member): Correct checking loop.
47603
47604         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47605         OOM in getpwuid_r correctly.  Return error number when the caller
47606         should return, otherwise -1.
47607         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47608         call returning > 0 value.
47609         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47610
47611 2010-06-07  Andreas Schwab  <schwab@redhat.com>
47612
47613         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47614         libc_nonshared.a from targets in modules-names.
47615
47616 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
47617
47618         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47619         requires it.
47620
47621 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
47622
47623         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47624         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47625         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47626         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47627
47628 2010-06-02  Andreas Schwab  <schwab@redhat.com>
47629
47630         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47631
47632 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
47633
47634         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47635         and F_GETPIPE_SZ.
47636         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47637         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47638         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47639         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47640         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47641         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47642
47643 2010-06-14  Roland McGrath  <roland@redhat.com>
47644
47645         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47646
47647 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
47648
47649         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47650         __REDIRECT followed by __THROW.
47651         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47652         * posix/getopt.h (getopt): Likewise.
47653
47654 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47655
47656         * hurd/lookup-at.c (__file_name_lookup_at): Accept
47657         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
47658         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47659         in AT_FLAGS.
47660         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47661         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47662
47663 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
47664
47665         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47666
47667 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
47668
47669         [BZ #11640]
47670         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47671         Properly check family and model.
47672
47673 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
47674
47675         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47676
47677 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
47678
47679         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47680
47681 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
47682
47683         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47684         symbol reference.
47685
47686 2010-05-19  Andreas Schwab  <schwab@redhat.com>
47687
47688         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47689         symbol reference.
47690
47691 2010-05-21  Andreas Schwab  <schwab@redhat.com>
47692
47693         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47694         and internal_recvmmsg.
47695         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47696         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47697         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47698         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47699
47700         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47701         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47702         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47703
47704 2010-05-20  Andreas Schwab  <schwab@redhat.com>
47705
47706         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47707
47708 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
47709
47710         POWER7 optimizations.
47711         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47712         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47713
47714 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
47715
47716         * version.h: Update for 2.13 development version.
47717
47718 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
47719
47720         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47721         exceptions.  Return 0.
47722
47723 2010-05-07  Roland McGrath  <roland@redhat.com>
47724
47725         * elf/ldconfig.c (main): Add a const.
47726
47727 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
47728
47729         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47730         (args_options): Add no-idn option.
47731         (ahosts_keys_int): Add idn_flags to ai_flags.
47732         (parse_option): Handle 'i' option to clear idn_flags.
47733
47734         * malloc/malloc.c (_int_free): Possible race in the most recently
47735         added check.  Only act on the data if no current modification
47736         happened.
47737
47738 See ChangeLog.17 for earlier changes.