S390: Consolidate NPTL/non versions of clone
[platform/upstream/linaro-glibc.git] / ChangeLog
1 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2
3         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4         code that was previously under [RESET_PID].
5         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8
9         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
11         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
18         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
19         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
20         Moved ...
21         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
22         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
23         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
24         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
25         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
26         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
27         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
28         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
29         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
30         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
31         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
33         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
34         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
35         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
36         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
37         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
38         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
39         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
40         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
41         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
42         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
43         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
44         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
45         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
46         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
47         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
49         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
50
51 2014-06-25  Roland McGrath  <roland@hack.frob.com>
52
53         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
54         that was previously under [RESET_PID].
55         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
56
57 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
58
59         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
60         not undefine and redefine.
61         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
62         [O_CLOEXEC]: Make code unconditional.
63         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
64         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
65         <kernel-features.h>.
66         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
67         conditional variable definition.
68         (shm_open) [O_CLOEXEC]: Make code unconditional.
69         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
70         code.
71
72         * configure.ac (USE_REGPARMS): Don't define here.
73         * configure: Regenerated.
74         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
75         * sysdeps/i386/configure: Regenerated.
76
77         * nptl/createthread.c: Don't include kernel-features.h.
78         * nptl/pthread_cancel.c: Likewise.
79         * nptl/pthread_condattr_setclock.c: Likewise.
80         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
81         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
82         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
83         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
84         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
85         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
86         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
87         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
88         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
89         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
90         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
91         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
92         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
93         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
94         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
95         * nscd/gai.c: Likewise.
96         * nss/nss_db/db-open.c: Likewise.
97         * sysdeps/generic/ldsodefs.h: Likewise.
98         * sysdeps/sh/nptl/tls.h: Likewise.
99         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
100         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
101         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
102         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
103         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
104         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
105         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
106         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
107         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
108         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
109         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
110         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
111         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
112         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
113         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
114         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
115         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
116         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
117         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
118         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
119         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
120         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
121         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
122         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
123         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
124         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
125         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
126         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
127         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
128         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
129         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
130         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
131         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
132         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
133         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
134         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
135         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
136         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
137         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
138         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
139         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
140         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
141         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
142         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
143         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
144         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
145         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
146         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
147         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
148         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
149         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
150         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
151         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
152         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
153         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
154         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
155         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
156         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
179         * sysdeps/unix/sysv/linux/pread.c: Likewise.
180         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
181         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
182         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
183         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
184         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
185         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
186         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
187         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
188         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
189         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
190         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
191         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
192         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
193         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
194         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
195         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
196         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
197         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
198         * sysdeps/unix/sysv/linux/system.c: Likewise.
199         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
200         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
201         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
202         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
203         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
204         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
205         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
206
207         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
208         * configure: Regenerated.
209         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
210
211         * configure.ac (base_machine): Do not set specially for particular
212         machines here.
213         * configure: Regenerated.
214         * sysdeps/powerpc/preconfigure: Move machine and base_machine
215         settings from configure.ac.
216         * sysdeps/i386/preconfigure: New file.
217         * sysdeps/s390/preconfigure: Likewise.
218         * sysdeps/sh/preconfigure: Likewise.
219         * sysdeps/sparc/preconfigure: Likewise.
220
221 2014-06-25  Roland McGrath  <roland@hack.frob.com>
222
223         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
224         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
225         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
226         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
227         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
228         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
229         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
230         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
231         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
232         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
233         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
234         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
235         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
236         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
237         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
238         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
239         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
240         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
241         * sysdeps/sparc/sparc64/Makefile: ... appended here.
242
243         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
244         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
245         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
246         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
247         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
248         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
249         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
250         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
251         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
252         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
253         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
254         * sysdeps/sparc/sparc32/sem_post.c: ... here.
255         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
256         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
257         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
258         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
259         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
260         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
261         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
262         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
263         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
264         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
265         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
266         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
267         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
268         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
269         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
270         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
271         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
272         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
273         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
274         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
275         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
276         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
277         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
278         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
279         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
280         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
281
282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
283         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
285         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
287         Moved ...
288         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
289         ... here.
290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
291         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
293         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
295         Moved ...
296         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
298         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
300         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
302         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
304         Moved ...
305         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
307         Moved ...
308         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
310         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
311         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
312         Moved ...
313         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
315         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
317         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
319         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
321         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
323         Moved ...
324         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
325         ... here.
326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
327         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
329         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
330         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
331         Moved ...
332         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
334         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
336         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
338         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
340         Moved ...
341         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
342         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
343         Moved ...
344         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
346         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
348         Moved ...
349         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
351         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
353         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
354
355 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
356
357         * timezone/checktab.awk: Update from tzcode 2014e.
358         * timezone/private.h: Likewise.
359         * timezone/tzfile.h: Likewise.
360         * timezone/zdump.c: Likewise.
361         * timezone/zic.c: Likewise.
362
363         * sysdeps/unix/sysv/linux/kernel-features.h
364         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
365         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
366         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
367         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
368         Remove conditional code.
369
370 2014-06-25  Will Newton  <will.newton@linaro.org>
371
372         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
373         (_dl_arm_cap_flags): Add HWCAP2 values.
374         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
375         (_DL_HWCAP_COUNT): Increase to 37.
376         (_DL_HWCAP_LAST): New define.
377         (_DL_HWCAP2_LAST): New define.
378         (_dl_procinfo): Add support for printing
379         AT_HWCAP2 entries.
380         (_dl_string_hwcap): Use _dl_hwcap_string.
381
382 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
383
384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
385
386 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
387
388         * README: Do not mention ports directory.
389
390         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
391         Remove macro.
392         * sysdeps/unix/sysv/linux/futimes.c: Do not include
393         <kernel-features.h>.
394         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
395         conditional variable definition.
396         (__futimes): Update comment.
397         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
398         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
399
400         [BZ #16560]
401         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
402         arguments close to 0.
403         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
404         Likewise.
405         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
406         Likewise.
407         * math/auto-libm-test-in: Add more tests of exp10.
408         * math/auto-libm-test-out: Regenerated.
409         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
410
411         * sysdeps/unix/sysv/linux/kernel-features.h
412         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
413         * sysdeps/unix/sysv/linux/readv.c: Do not include
414         <kernel-features.h>.
415         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
416         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
417         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
418         unconditional.
419         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
420         conditional code.
421         * sysdeps/unix/sysv/linux/writev.c: Do not include
422         <kernel-features.h>.
423         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
424         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
425         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
426         unconditional.
427         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
428         conditional code.
429
430 2014-06-25  Will Newton  <will.newton@linaro.org>
431
432         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
433         comment changes throughout the file.  Remove checks
434         for HAVE_*_H definitions that are not required.
435         (__gen_tempname): Call abort if an unknown kind value is
436         passed.
437
438 2014-06-25  Andreas Schwab  <schwab@suse.de>
439
440         [BZ #17086]
441         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
442         scalbln, scalblnf, scalblnl in libc.
443
444 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
445
446         [BZ #17086]
447         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
448         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
449         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
450
451 2014-06-24  Roland McGrath  <roland@hack.frob.com>
452
453         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
454         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
455         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
456         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
457         Update #include.
458         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
459         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
460         Update #include.
461         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
462         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
463         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
464         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
465         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
466         * sysdeps/x86/bits/pthreadtypes.h: ... here.
467         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
468         * sysdeps/x86/bits/semaphore.h: ... here.
469         * sysdeps/x86/nptl/elide.h: Moved ...
470         * sysdeps/x86/elide.h: ... here.
471         * sysdeps/x86_64/nptl/Implies: File removed.
472         * sysdeps/i386/nptl/Implies: File removed.
473
474 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
475
476         [BZ #16539]
477         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
478         return the argument for normal arguments with exponent below -64.
479         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
480         Likewise.
481         * math/auto-libm-test-in: Add another test of expm1.
482         * math/auto-libm-test-out: Regenerated.
483
484         [BZ #16287]
485         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
486         calling __erfcl for arguments at least 16.
487         * math/auto-libm-test-in: Add more tests of erf.
488         * math/auto-libm-test-out: Regenerated.
489
490         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
491         individual architectures.
492         * sysdeps/unix/sysv/linux/configure: Regenerated.
493         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
494         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
495         * sysdeps/unix/sysv/linux/powerpc/configure.ac
496         (ldd_rewrite_script): Define variable.
497         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
499         file.
500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
501         generated file.
502         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
503         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
504         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
505         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
506         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
507         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
508         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
509         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
510
511 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
512
513         [BZ #17084]
514         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
515         Rename member __data.d to __data.__elision_data.
516
517 2014-06-24  Wilco  <wdijkstr@arm.com>
518
519         * NEWS: Add 16918 to fixed bug list.
520
521 2014-06-24  Wilco  <wdijkstr@arm.com>
522
523         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
524
525 2014-06-24  Wilco  <wdijkstr@arm.com>
526
527         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
528         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
529         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
530         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
531         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
532         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
533         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
534         Use _FPU_MASK_RM.
535
536 2014-06-24  Wilco  <wdijkstr@arm.com>
537
538         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
539
540 2014-06-24  Wilco  <wdijkstr@arm.com>
541
542         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
543         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
544         * sysdeps/arm/fesetround.c (fesetround): Remove space.
545         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
546
547 2014-06-24  Wilco  <wdijkstr@arm.com>
548
549         [BZ #16918]
550         * sysdeps/arm/feupdateenv.c (feupdateenv):
551         Rewrite to reduce FPSCR accesses and fix return value.
552
553 2014-06-24  Wilco  <wdijkstr@arm.com>
554
555         * sysdeps/arm/fclrexcpt.c (feclearexcept):
556         Optimize to avoid unnecessary FPSCR writes.
557         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
558         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
559         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
560         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
561
562 2014-06-24  Wilco  <wdijkstr@arm.com>
563
564         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
565         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
566         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
567         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
568         Call libc_fetestexcept_vfp.
569         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
570         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
571         __SOFTFP__ ifdef so that they can be built for softfp.
572
573 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
574
575         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
576         argument type signed char.
577
578         * Makerules (check-abi): Dump diff of symlist if the test
579         fails.
580
581 2014-06-23  Roland McGrath  <roland@hack.frob.com>
582
583         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
584         using abort.
585
586         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
587         Remove unused variable ST.
588
589 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
590
591         [BZ #16354]
592         [BZ #17061]
593         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
594         small arguments before calling __expm1.
595         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
596         small arguments before calling __expm1f.
597         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
598         small arguments before calling __expm1l.
599         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
600         Likewise.
601         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
602         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
603         spurious underflow for some cosh tests.
604         * math/auto-libm-test-out: Regenerated.
605         * sysdeps/i386/fpu/libm-test-ulps: Update.
606
607         [BZ #17050]
608         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
609         (__ieee754_y1): Set errno if return value overflows.
610         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
611         (__ieee754_y1f): Set errno if return value overflows.
612         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
613         (__ieee754_y1l): Set errno if return value overflows.
614         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
615         (__ieee754_y1l): Set errno if return value overflows.
616         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
617         * math/auto-libm-test-out: Regenerated.
618
619         * math/gen-auto-libm-tests.c: Document use of
620         ignore-zero-inf-sign.
621         (input_flag_type): Add value flag_ignore_zero_inf_sign.
622         (input_flags): Add ignore-zero-inf-sign.
623         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
624         * math/gen-libm-test.pl (generate_testfile): Handle
625         ignore-zero-inf-sign.
626         * math/auto-libm-test-in: Mark some cpow tests with
627         ignore-zero-inf-sign and some with xfail-rounding.
628         * math/auto-libm-test-out: Regenerated.
629         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
630         * sysdeps/i386/fpu/libm-test-ulps: Update.
631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
632
633         [BZ #16315]
634         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
635         overflowing or underflowing operations take place with sign of
636         result.
637         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
638         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
639         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
640         (__ieee754_pow): Recompute overflowing and underflowing results in
641         original rounding mode.
642         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
643         (__powl_helper): Allow negative argument X and scale negated value
644         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
645         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
646         overflowing or underflowing operations take place with sign of
647         result.
648         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
649         Include <math.h>.
650         * math/auto-libm-test-in: Add more tests of pow.
651         * math/auto-libm-test-out: Regenerated.
652         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
653         (pow_tonearest_test_data): Remove.
654         (pow_test_tonearest): Likewise.
655         (pow_towardzero_test_data): Likewise.
656         (pow_test_towardzero): Likewise.
657         (pow_downward_test_data): Likewise.
658         (pow_test_downward): Likewise.
659         (pow_upward_test_data): Likewise.
660         (pow_test_upward): Likewise.
661         (main): Don't call removed functions.
662         * sysdeps/i386/fpu/libm-test-ulps: Update.
663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
664
665 2014-06-23  Roland McGrath  <roland@hack.frob.com>
666
667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
668         Moved ...
669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
671         Moved ...
672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
674         Moved ...
675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
677         Moved ...
678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
680         File removed.
681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
682         File removed.
683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
684         File removed.
685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
686         File removed.
687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
688         File removed.
689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
690         File removed.
691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
692         File removed.
693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
694         File removed.
695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
696         File removed.
697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
698         File removed.
699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
700         File removed.
701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
702         File removed.
703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
704         Moved ...
705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
707         Moved ...
708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
709         ... here.
710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
711         Moved ...
712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
714         Moved ...
715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
717         Moved ...
718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
720         Moved ...
721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
723         Moved ...
724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
726         Moved ...
727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
729         Moved ...
730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
733         ... here.
734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
735         Moved ...
736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
738         Moved ...
739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
740         ... here.
741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
742         Moved ...
743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
744         ... here.
745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
746         Moved ...
747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
748         ... here.
749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
750         Moved ...
751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
753         Moved ...
754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
758         Moved ...
759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
760         ... here.
761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
762         Moved ...
763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
764         ... here.
765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
766         Moved ...
767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
769         Moved ...
770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
772         Moved ...
773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
775         Moved ...
776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
778         Moved ...
779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
780         ... here.
781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
782         Moved ...
783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
785         Moved ...
786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
788         Moved ...
789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
791         Moved ...
792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
796         Moved ...
797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
799         Moved ...
800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
802         Moved ...
803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
804         ... here.
805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
806         Moved ...
807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
808         ... here.
809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
810         Moved ...
811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
812         ... here.
813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
814         Moved ...
815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
817         Moved ...
818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
820         Moved ...
821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
823         Moved ...
824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
825         ... here.
826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
827         Moved ...
828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
829         ... here.
830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
831         Moved ...
832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
833         ... here.
834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
835         Moved ...
836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
838         Moved ...
839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
840
841 2014-06-23  Will Newton  <will.newton@linaro.org>
842             Wilco  <wdijkstr@arm.com>
843
844         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
845         implementation.  Include get-rounding-mode.h.
846         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
847         [!libc_feholdsetround_noex_ctx]: Define
848         libc_feholdsetround_noex_ctx.
849         [!libc_feholdsetround_noexf_ctx]: Define
850         libc_feholdsetround_noexf_ctx.
851         [!libc_feholdsetround_noexl_ctx]: Define
852         libc_feholdsetround_noexl_ctx.
853         (libc_feholdsetround_ctx): New function.
854         (libc_feresetround_ctx): New function.
855         (libc_feholdsetround_noex_ctx): New function.
856         (libc_feresetround_noex_ctx): New function.
857
858 2014-06-23  Roland McGrath  <roland@hack.frob.com>
859
860         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
861         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
862         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
863         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
864         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
865         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
866
867         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
868         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
869         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
870         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
871         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
872         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
873         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
874         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
875         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
876         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
877         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
878         Moved ...
879         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
880         ... here.
881         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
882         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
883         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
884         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
885         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
886         Moved ...
887         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
888         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
889         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
890         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
891         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
892         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
893         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
894         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
895         Moved ...
896         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
897         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
898         Moved ...
899         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
900         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
901         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
902         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
903         Moved ...
904         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
905         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
906         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
907         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
908         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
909         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
910         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
911         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
912         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
913         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
914         Moved ...
915         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
916         ... here.
917         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
918         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
919         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
920         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
921         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
922         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
923         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
924         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
925         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
926         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
927         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
928         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
929         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
930         Moved ...
931         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
932         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
933         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
934         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
935         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
936         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
937         Moved ...
938         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
939         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
940         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
941         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
942         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
943
944         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
945         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
946         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
947         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
948         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
949         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
950         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
951         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
952         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
953         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
954         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
955         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
956         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
957         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
958         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
959         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
960         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
961         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
962         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
963         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
964         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
965         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
966         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
967         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
968         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
969         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
970         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
971         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
972
973 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
974
975         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
976         (FALLOC_FL_COLLAPSE_RANGE): New macro.
977         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
978         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
979         (IPV6_PMTUDISC_INTERFACE): Likewise.
980         (IPV6_PMTUDISC_OMIT): Likewise.
981
982 2014-06-23  Andreas Schwab  <schwab@suse.de>
983
984         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
985         Remove unused errout label.
986
987 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
988
989         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
990         macro: hardware supports Vector Crypto instructions.
991
992 2014-06-23  Will Newton  <will.newton@linaro.org>
993
994         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
995         rather than __builtin_expect.
996
997         * elf/dl-lookup.c (undefined_msg): Remove variable.
998         (_dl_lookup_symbol_x): Replace undefined_msg with string
999         literal.
1000
1001         * elf/dl-lookup.c (do_lookup_unique): New function.
1002         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1003         to a separate function.
1004
1005 2014-06-23  Andreas Schwab  <schwab@suse.de>
1006
1007         [BZ #17079]
1008         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1009         before reading the next line.
1010
1011 2014-06-23  Will Newton  <will.newton@linaro.org>
1012
1013         * test-skeleton.c (signal_handler): Use printf and %m
1014         rather than perror.  Use printf rather than fprintf to
1015         stderr.  Use puts rather than fputs to stderr.
1016         (main): Likewise.
1017
1018 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1019
1020         * nscd/nscd.c (thread_info_t): Remove typedef.
1021         (thread_info): Remove variable.
1022
1023 2014-06-21  Allan McRae  <allan@archlinux.org>
1024
1025         * NEWS: Mention CVE-2014-4043.
1026
1027 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1028
1029         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1030         * nptl/smp.h: ... here.
1031
1032         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1033
1034         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1035         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1036         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1037         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1038
1039         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1040         * nptl/stack-aliasing.h: New file.
1041         * sysdeps/i386/i686/stack-aliasing.h: New file.
1042         * sysdeps/i386/i686/nptl/Makefile: File removed.
1043         * sysdeps/x86_64/stack-aliasing.h: New file.
1044         * sysdeps/x86_64/nptl/Makefile
1045         (CFLAGS-pthread_create.c): Variable removed.
1046
1047         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1048         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1049         old file.
1050         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1051         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1052         old file.
1053
1054 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1055
1056         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1057         (__ASSUME_SIGFRAME_V2): Remove macro.
1058         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1059         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1060         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1061         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1062         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1063         Declare as function.  Remove conditional macro definitions.
1064         (__default_rt_sa_restorer): Likewise.
1065         (__default_sa_restorer_v1): Remove declaration.
1066         (__default_sa_restorer_v2): Likewise.
1067         (__default_rt_sa_restorer_v1): Likewise.
1068         (__default_rt_sa_restorer_v2): Likewise.
1069         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1070         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1071         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1072
1073 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1074
1075         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1076         (libpthread-routines): Add sysdep.
1077         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1078         * sysdeps/unix/sysv/linux/sparc/Versions
1079         (libpthread: GLIBC_2.3.3): New version set.
1080         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1081         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1082         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1083         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1084         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1085         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1086         Moved ...
1087         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1088         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1089         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1090         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1091         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1092         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1093         * sysdeps/sparc/nptl/sem_init.c: ... here.
1094         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1095         * sysdeps/sparc/nptl/sem_post.c: ... here.
1096         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1097         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1098         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1099         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1100         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1101         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1102         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1103         (libpthread-routines): Add cpu_relax.
1104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1105         File removed.
1106         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1107         (librt: GLIBC_2.3.3): New version set.
1108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1109         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1110         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1111         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1114         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1115         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1116         Moved ...
1117         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1118         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1119         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1121         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1123         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1124         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1125         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1126         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1127         Moved ...
1128         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1129         Update #include.
1130         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1131         Moved ...
1132         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1133         Update #include.
1134         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1135         Moved ...
1136         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1137         Update #include.
1138         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1139         Moved ...
1140         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1141         Update #include.
1142         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1143         Moved ...
1144         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1145         Update #include.
1146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1147         Moved ...
1148         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1149         Update #include.
1150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1151         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1153         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1154         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1155         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1156         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1157         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1158         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1159         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1160         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1161         Moved ...
1162         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1164         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1166         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1167
1168 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1169
1170         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1171         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1172         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1173         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1174         * nscd/nscd.c: Likewise.
1175         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1176         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1177         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1178         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1179
1180         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1181         <kernel-features.h>.
1182         (init_mq_netlink): Remove conditional have_sock_cloexec
1183         definitions.  Remove code conditional on have_sock_cloexec < 0.
1184         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1185         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1186         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1187         <kernel-features.h>.
1188         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1189         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1190
1191 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1192
1193         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1194         Add tests for memset_chk and memset.
1195
1196         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1197         with AVX2_Usable.
1198
1199 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1200
1201         [BZ #16046]
1202         * elf/tst-dl-iter-static.c: New file.
1203         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1204
1205         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1206         error.
1207
1208 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1209
1210         * sysdeps/unix/sysv/linux/kernel-features.h
1211         (__ASSUME_F_GETOWN_EX): Remove macro.
1212         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1213         <kernel-features.h>.
1214         (miss_F_GETOWN_EX): Remove variable or macro.
1215         (do_fcntl): Do not check miss_F_GETOWN_EX.
1216         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1217
1218         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1219         Remove macro.
1220         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1221         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1222         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1223
1224         * sysdeps/unix/sysv/linux/kernel-features.h
1225         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1226         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1227         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1228         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1229
1230 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1231
1232         [BZ #17075]
1233         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1234         Fix calculation of the symbol's value.
1235         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1236         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1237         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1238         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1239         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1240         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1241         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1242         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1243         (modules-names): Add `tst-armtlsdescmod',
1244         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1245         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1246         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1247         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1248         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1249         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1250         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1251         ($(objpfx)tst-armtlsdescloc): New dependency.
1252         ($(objpfx)tst-armtlsdescextnow): Likewise.
1253         ($(objpfx)tst-armtlsdescextlazy): Likewise.
1254         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1255         TLS scheme support.
1256         * sysdeps/arm/configure: Regenerate.
1257
1258 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1259
1260         * include/fcntl.h (__atfct_seterrno): Remove prototype.
1261         (__atfct_seterrno_2): Likewise.
1262         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1263         <kernel-features.h>.
1264         (__ASSUME_ATFCTS): Do not undefine and redefine.
1265         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1266         (__have_atfcts): Remove conditional definition.
1267         (__fxstatat([__NR_fstatat64]: Make code unconditional.
1268         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1269         unreachable if [__ASSUME_ATFCTS].
1270         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1271         not undefine and redefine.
1272         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1273         <kernel-features.h>.
1274         (faccessat) [__NR_faccessat]: Make code unconditional.
1275         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1276         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1277         <kernel-features.h>.
1278         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1279         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1280         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1281         <kernel-features.h>.
1282         (fchownat) [__NR_fchownat]: Make code unconditional.
1283         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1284         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1285         <kernel-features.h>.
1286         (futimesat) [__NR_futimesat]: Make code unconditional.
1287         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1288         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1289         <kernel-features.h>.
1290         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1291         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1292         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1293         <kernel-features.h>.
1294         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1295         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1296         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1297         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1298         <kernel-features.h>.
1299         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1300         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1301         * sysdeps/unix/sysv/linux/linkat.c: Do not include
1302         <kernel-features.h>.
1303         (linkat) [__NR_linkat]: Make code unconditional.
1304         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1305         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1306         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1307         <kernel-features.h>.
1308         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1309         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1310         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1311         <kernel-features.h>.
1312         (mkdirat) [__NR_mkdirat]: Make code unconditional.
1313         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1314         * sysdeps/unix/sysv/linux/openat.c: Do not include
1315         <kernel-features.h>.
1316         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1317         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1318         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1319         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1320         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1321         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1322         <kernel-features.h>.
1323         (readlinkat) [__NR_readlinkat]: Make code unconditional.
1324         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
1325         result of INLINE_SYSCALL directly, not via int variable.
1326         * sysdeps/unix/sysv/linux/renameat.c: Do not include
1327         <kernel-features.h>.
1328         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1329         (renameat) [__NR_renameat]: Make code unconditional.
1330         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1331         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1332         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1333         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1334         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1335         (__ASSUME_ATFCTS): Do not undefine and redefine.
1336         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1337         <kernel-features.h>.
1338         (symlinkat) [__NR_symlinkat]: Make code unconditional.
1339         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1340         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1341         <kernel-features.h>.
1342         (unlinkat) [__NR_unlinkat]: Make code unconditional.
1343         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1344         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1345         (__ASSUME_ATFCTS): Do not undefine and redefine.
1346         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1347         <kernel-features.h>.
1348         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1349         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1350         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1351         <kernel-features.h>.
1352         (__xmknodat) [__NR_mknodat]: Make code unconditional.
1353         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1354
1355 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1356
1357         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1358
1359 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
1360
1361         [BZ #17069]
1362         * posix/regcomp.c (parse_reg_exp): Deallocate partially
1363         constructed tree before returning error.
1364         * posix/bug-regexp36.c: Expand test case.
1365
1366 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1367
1368         [BZ #6803]
1369         * math/libm-test.inc (scalbln_test_date):
1370         Add errno expectations.
1371         * math/w_scalblnf.c: New File.
1372         Add wrapper which checks for setting errno to ERANGE.
1373         Add weak_alias for corresponding scalbln function.
1374         * math/w_scalbln.c: Likewise.
1375         * math/w_scalblnl.c: Likewise.
1376         * math/Makefile (libm-calls): Add w_scalbln.
1377         * sysdeps/ieee754/flt-32/s_scalblnf.c:
1378         Remove weak_alias for corresponding scalbln function.
1379         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1380         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1381         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1382         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1383         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1384         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1385         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1386         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1387         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1388         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1389         Remove long_double_symbol for scalblnl function in libm, libc.
1390         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1391         Add wrapper which checks for setting errno to ERANGE.
1392         Add long_double_symbol for scalblnl function in libm, libc.
1393         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1394         Remove long_double_symbol for scalblnl in libm.
1395         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1396         Add wrapper which checks for setting errno to ERANGE.
1397         Add long_double_symbol for scalblnl function in libm.
1398         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1399         Do not use wrapper because of own implementation.
1400
1401 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
1402
1403         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1404         3 bytes for __pad1 for x32.
1405         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1406
1407 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
1408             H.J. Lu  <hongjiu.lu@intel.com>
1409
1410         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1411         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1412         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1413         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1414         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1415
1416 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
1417
1418         [BZ #17069]
1419         * posix/regcomp.c (parse_expression): Deallocate partially
1420         constructed tree before returning error.
1421         * posix/Makefile.c (tests): Add bug-regex36.
1422         (generated): Add bug-regex36.mtrace.
1423         (tests-special): Add $(objpfx)bug-regex36-mem.out
1424         (bug-regex36-ENV): New variable.
1425         ($(objpfx)bug-regex36-mem.out): New rule.
1426         * posix/bug-regex36.c: New file.
1427
1428 2014-06-19  Will Newton  <will.newton@linaro.org>
1429
1430         * malloc/malloc.c (systrim): If extra is zero then return
1431         early.
1432
1433 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1434
1435         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1436
1437 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
1438
1439         * sysdeps/aarch64/strchr.S: New file.
1440
1441 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1442
1443         [BZ #17022]
1444         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1445         from arguments -2 or below.
1446         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1447         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1448
1449 2014-06-18  Andreas Schwab  <schwab@suse.de>
1450
1451         [BZ #17062]
1452         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1453         of a bracket expr not to run off the end of the string.
1454         * posix/Makefile (tests): Add tst-fnmatch3.
1455         * posix/tst-fnmatch3.c: New file.
1456
1457 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1458
1459         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1460         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1461         [$(cross-compiling) = no]: Likewise.
1462         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1463         [$(cross-compiling) = no]: Likewise.
1464
1465 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1466
1467         [BZ #17031]
1468         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1469         double, adjusted for any remainder from the high double.
1470         * math/libm-test.inc (nearbyint): Add tests.
1471         (rint): Likewise.
1472
1473 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1474
1475         * nptl/sysdeps/powerpc/Makefile: Moved ...
1476         * sysdeps/powerpc/nptl/Makefile: ... here.
1477         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1478         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1479         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1480         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1481         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1482         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1483         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1484         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1485         * nptl/sysdeps/powerpc/tls.h: Moved ...
1486         * sysdeps/powerpc/nptl/tls.h: ... here.
1487
1488 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
1489
1490         [BZ #16681]
1491         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1492         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1493         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1494         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1495         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1496         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1497         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1498         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1499         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1500
1501 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
1502
1503         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1504
1505 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
1506
1507         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1508         defined operator.
1509
1510         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1511         $TIMEOUTFACTOR.
1512
1513 2014-06-16  Florian Weimer  <fweimer@redhat.com>
1514
1515         [BZ #17058]
1516         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1517         non-executed part of the test.
1518
1519 2014-06-16  Andreas Schwab  <schwab@suse.de>
1520
1521         * string/bits/string2.h (strdup, strndup): Update feature guard.
1522
1523 2014-06-14  David S. Miller  <davem@davemloft.net>
1524
1525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1526
1527 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1528
1529         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1530         that was previously under [RESET_PID].
1531         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1532
1533         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1534         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1535         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1536         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1537         (__libc_vfork): New strong alias.
1538         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1539
1540 2014-06-14 Andi Kleen  <ak@linux.intel.com>
1541
1542         * sysdeps/generic/elide.h: New file.
1543
1544 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1545
1546         * Makefile (installed-headers): Adjust path of pthread.h header.
1547
1548 2014-06-13  Roland McGrath  <roland@hack.frob.com>
1549
1550         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1551         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1552         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1553         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1554
1555         * nptl/sysdeps/s390/Makefile: Moved ...
1556         * sysdeps/s390/nptl/Makefile: ... here.
1557         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1558         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1559         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1560         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1561         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1562         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1563         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1564         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1565         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1566         * sysdeps/s390/nptl/pthreaddef.h: ... here.
1567         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1568         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1569         * nptl/sysdeps/s390/tls.h: Moved ...
1570         * sysdeps/s390/nptl/tls.h: ... here.
1571
1572         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1573         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1574
1575 2014-06-13  David S. Miller  <davem@davemloft.net>
1576
1577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1579         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1580         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1583         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1584         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1585         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1586         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1587         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1588         Remove RESET_PID cpp guards.
1589         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1590         Remove RESET_PID cpp guards.
1591         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1592
1593 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
1594
1595         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1596         __sp to uintptr_t.
1597
1598 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1599
1600         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1601         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1602         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1603         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1604         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1605         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1606         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1607         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1608         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1609         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1610         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1611         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1612         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1613         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1614         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1615         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1616         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1617         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1618         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1619         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1620
1621         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1622         (pthread_rwlock_rdlock): Add elision.
1623         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1624         (pthread_rwlock_wrlock): Add elision.
1625         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1626         (pthread_rwlock_trywrlock): Add elision.
1627         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1628         (pthread_rwlock_tryrdlock): Add elision.
1629         * nptl/pthread_rwlock_unlock.c: Include elide.h.
1630         (pthread_rwlock_tryrdlock): Add elision unlock.
1631         * nptl/sysdeps/pthread/pthread.h:
1632         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1633         (PTHREAD_RWLOCK_INITIALIZER,
1634         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1635         Handle new elision field.
1636         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1637         * sysdeps/arm/nptl/bits/pthreadtypes.h
1638         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1639         * sysdeps/sh/nptl/bits/pthreadtypes.h
1640         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1641         * sysdeps/tile/nptl/bits/pthreadtypes.h
1642         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1643         * sysdeps/a/nptl/bits/pthreadtypes.h
1644         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1645         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1646         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1647         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1648         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1649         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1650         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1651         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1652         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1653         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1654         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1655         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1656         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1657         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1658         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1659         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1660         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1661         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1662         (elision_init): Set try_xbegin to zero when no RTM.
1663         * sysdeps/x86/nptl/bits/pthreadtypes.h
1664         (pthread_rwlock_t): Change __pad1 to __rwelision.
1665         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1666
1667 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1668
1669         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1670         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1671         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1672         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1673
1674 2014-06-13  Meador Inge  <meadori@codesourcery.com>
1675
1676         [BZ #16996]
1677         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1678         that the cached result has been set before returning it.
1679
1680 2014-06-12  Roland McGrath  <roland@hack.frob.com>
1681
1682         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1683         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1684         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1685         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1686         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1687         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1688
1689         * nptl/sysdeps/sparc/Makefile: Moved ...
1690         * sysdeps/sparc/nptl/Makefile: ... here.
1691         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1692         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1693         * nptl/sysdeps/sparc/tls.h: Moved ...
1694         * sysdeps/sparc/nptl/tls.h: ... here.
1695         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1696         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1697         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1698         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1699         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1700         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1701         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1702         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1703         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1704         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1705         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1706         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1707         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1708         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1709         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1710         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1711         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1712         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1713         Update #include.
1714         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1715         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1716         Update #include.
1717         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1718         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1719         Update #include.
1720         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1721         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1722         Update #include.
1723
1724         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1725
1726         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1727         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1728
1729         * sysdeps/pthread/posix-timer.h: Include <list.h>.
1730         (struct list_links): Type removed.
1731         (struct thread_node, struct timer_node): Replace struct list_links
1732         with struct list_head.
1733         (list_unlink_ip): Likewise.
1734         * sysdeps/pthread/timer_routines.c
1735         (timer_free_list, thread_free_list, thread_active_list): Likewise.
1736         (list_append, list_insbefore): Likewise.
1737         (list_init): Function removed.
1738         (thread_init, init_module): Use INIT_LIST_HEAD instead.
1739         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1740         * sysdeps/pthread/Makefile: ... here, new file.
1741
1742         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1743         * sysdeps/nptl/Implies: ... here.
1744         * sysdeps/unix/sysv/linux/Implies: Add nptl.
1745         * nptl/sysdeps/pthread/list.h: Moved ...
1746         * include/list.h: ... here.
1747         * nptl/sysdeps/pthread/createthread.c: Moved ...
1748         * nptl/createthread.c: ... here.
1749         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1750         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1751         * nptl/pt-longjmp.c: ... here.
1752         * nptl/sysdeps/pthread/Makefile: Moved ...
1753         * sysdeps/nptl/Makefile: ... here.
1754         * nptl/sysdeps/pthread/Subdirs: Moved ...
1755         * sysdeps/nptl/Subdirs: ... here.
1756         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1757         * sysdeps/nptl/aio_misc.h: ... here.
1758         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1759         * sysdeps/nptl/bits/libc-lock.h: ... here.
1760         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1761         * sysdeps/nptl/bits/libc-lockP.h: ... here.
1762         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1763         * sysdeps/nptl/bits/stdio-lock.h: ... here.
1764         * nptl/sysdeps/pthread/configure: Moved ...
1765         * sysdeps/nptl/configure: ... here.
1766         * nptl/sysdeps/pthread/configure.ac: Moved ...
1767         * sysdeps/nptl/configure.ac: ... here.
1768         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1769         * sysdeps/nptl/gai_misc.h: ... here.
1770         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1771         * sysdeps/nptl/librt-cancellation.c: ... here.
1772         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1773         * sysdeps/nptl/malloc-machine.h: ... here.
1774         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1775         * sysdeps/nptl/pthread-functions.h: ... here.
1776         * nptl/sysdeps/pthread/pthread.h: Moved ...
1777         * sysdeps/nptl/pthread.h: ... here.
1778         * nptl/sysdeps/pthread/setxid.h: Moved ...
1779         * sysdeps/nptl/setxid.h: ... here.
1780         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1781         * sysdeps/nptl/sigfillset.c: ... here.
1782         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1783         * sysdeps/nptl/tcb-offsets.h: ... here.
1784         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1785         * sysdeps/nptl/tst-mqueue8x.c: ... here.
1786         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1787         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1788         * nptl/sysdeps/pthread/allocalim.h: Moved ...
1789         * sysdeps/pthread/allocalim.h: ... here.
1790         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1791         * sysdeps/pthread/bits/sigthread.h: ... here.
1792         * nptl/sysdeps/pthread/flockfile.c: Moved ...
1793         * sysdeps/pthread/flockfile.c: ... here.
1794         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1795         * sysdeps/pthread/ftrylockfile.c: ... here.
1796         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1797         * sysdeps/pthread/funlockfile.c: ... here.
1798         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1799         * sysdeps/pthread/posix-timer.h: ... here.
1800         * nptl/sysdeps/pthread/timer_create.c: Moved ...
1801         * sysdeps/pthread/timer_create.c: ... here.
1802         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1803         * sysdeps/pthread/timer_delete.c: ... here.
1804         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1805         * sysdeps/pthread/timer_getoverr.c: ... here.
1806         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1807         * sysdeps/pthread/timer_gettime.c: ... here.
1808         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1809         * sysdeps/pthread/timer_routines.c: ... here.
1810         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1811         * sysdeps/pthread/timer_settime.c: ... here.
1812         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1813         * sysdeps/pthread/tst-timer.c: ... here.
1814         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1815         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1816
1817         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1818         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1819
1820         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1821         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1822         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1823         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1824         Update #include target.
1825         * nptl/sysdeps/i386/i686/Makefile: Moved ...
1826         * sysdeps/i386/i686/nptl/Makefile: ... here.
1827         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1828         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1829         Update #include target.
1830         * nptl/sysdeps/i386/i686/tls.h: Moved ...
1831         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
1832         * nptl/sysdeps/i386/Makefile: Moved ...
1833         * sysdeps/i386/nptl/Makefile: ... here.
1834         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1835         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1836         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1837         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1838         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1839         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1840         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1841         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1842         * sysdeps/i386/nptl/pthreaddef.h: ... here.
1843         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1844         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1845         * nptl/sysdeps/i386/tls.h: Moved ...
1846         * sysdeps/i386/nptl/tls.h: ... here.
1847
1848         * sysdeps/sh/Makefile [$(subdir) = csu]
1849         (gen-as-const-headers): Add tcb-offsets.sym.
1850         * nptl/sysdeps/sh/Makefile: File removed.
1851         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1852         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1853         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1854         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1855         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1856         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1857         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1858         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1859         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1860         * sysdeps/sh/nptl/pthreaddef.h: ... here.
1861         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1862         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1863         * nptl/sysdeps/sh/tls.h: Moved ...
1864         * sysdeps/sh/nptl/tls.h: ... here.
1865         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1866         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1867         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1868         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1869         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1870         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1871         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1872         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1873         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1874         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1875         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1876         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1877         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1878         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1879         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1880         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1881         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1882         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1883         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1884         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1885         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1886         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1887         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1888         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1889         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1890         Moved ...
1891         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1892         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1893         Moved ...
1894         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1895         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1896         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1897         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1898         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1899         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1900         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1901         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1902         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1903         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1904         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1905         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1906         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1907         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1908         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1909         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1910         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1911         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1912         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1913
1914 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1915
1916         * posix/spawn_faction_addopen.c: Include string.h.
1917
1918 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1919
1920         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1921         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1922         * nptl/sysdeps/x86_64/Makefile: Moved ...
1923         * sysdeps/x86_64/nptl/Makefile: ... here.
1924         * nptl/sysdeps/x86_64/configure: Moved ...
1925         * sysdeps/x86_64/nptl/configure: ... here.
1926         * nptl/sysdeps/x86_64/configure.ac: Moved ...
1927         * sysdeps/x86_64/nptl/configure.ac: ... here.
1928         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1929         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1930         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1931         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1932         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1933         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1934         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1935         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1936         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1937         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1938         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1939         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1940         * nptl/sysdeps/x86_64/tls.h: Moved ...
1941         * sysdeps/x86_64/nptl/tls.h: ... here.
1942         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1943         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1944         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1945         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1946
1947         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1948
1949 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1950
1951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1952
1953 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
1954
1955         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1956         type.
1957         [POSIX] (off_t): Likewise.
1958         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1959         [POSIX] (S_ISBLK): Require macro.
1960         [POSIX] (S_ISCHR): Likewise.
1961         [POSIX] (S_ISDIR): Likewise.
1962         [POSIX] (S_ISFIFO): Likewise.
1963         [POSIX] (S_ISREG): Likewise.
1964         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1965         optional-macro.
1966         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1967         type.
1968         [POSIX] (time_t): Likewise.
1969         [POSIX] (timer_t): Likewise.
1970
1971 2014-06-11  Florian Weimer  <fweimer@redhat.com>
1972
1973         [BZ #17048]
1974         * posix/spawn_int.h (struct __spawn_action): Make the path string
1975         non-const to support deallocation.
1976         * posix/spawn_faction_addopen.c
1977         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1978         * posix/spawn_faction_destroy.c
1979         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
1980         path in all spawn_do_open actions.
1981         * posix/tst-spawn.c (do_test): Exercise the copy operation in
1982         posix_spawn_file_actions_addopen.
1983
1984 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
1985
1986         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1987         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1988         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1989         conditional code always true.
1990         (__libc_vfork): New alias.
1991
1992 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1993
1994         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1995         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1996
1997         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1998
1999         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2000         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2001
2002         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2003         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2004
2005         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2006         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2007
2008 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2009
2010         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2011         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2012         multiarch strcmp for PPC64.
2013         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2014         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2016         multiarch optimizations.
2017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2018         (__libc_ifunc_impl_list): Likewise.
2019
2020 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2021
2022         * benchtests/scripts/validate_benchout.py: New script.
2023         * benchtests/Makefile (bench-func): Call it.
2024         * benchtests/scripts/benchout.schema.json: New file.
2025
2026 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2027
2028         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2029         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2030         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2031         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2032         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2033         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2034         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2035         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2036         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2037         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2038         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2039         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2040         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2041         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2042         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2043         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2045         Moved ...
2046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2047         ... here.
2048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2049         Moved ...
2050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2052         Moved ...
2053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2054         ... here.
2055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2056         Moved ...
2057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2058         ... here.
2059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2060         Moved ...
2061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2063         Moved ...
2064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2065         ... here.
2066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2067         Moved ...
2068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2069         ... here.
2070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2071         Moved ...
2072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2074         Moved ...
2075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2076         ... here.
2077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2078         Moved ...
2079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2080         ... here.
2081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2082         Moved ...
2083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2084         ... here.
2085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2086         Moved ...
2087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2089         Moved ...
2090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2091         ... here.
2092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2093         Moved ...
2094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2095         ... here.
2096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2097         Moved ...
2098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2099         ... here.
2100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2101         Moved ...
2102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2104         Moved ...
2105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2106         ... here.
2107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2108         Moved ...
2109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2110         ... here.
2111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2112         Moved ...
2113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2115         Moved ...
2116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2117         ... here.
2118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2119         Moved ...
2120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2122         Moved ...
2123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2125         Moved ...
2126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2127         ... here.
2128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2129         Moved ...
2130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2131         ... here.
2132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2133         Moved ...
2134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2135         ... here.
2136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2137         Moved ...
2138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2140         Moved ...
2141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2142         ... here.
2143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2144         Moved ...
2145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2146         ... here.
2147         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2148         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2149         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2150         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2151         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2152         Moved ...
2153         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2154         ... here.
2155         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2156         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2157         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2158         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2159         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2160         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2161         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2162         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2163         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2164         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2165         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2166         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2167         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2168         Moved ...
2169         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2170         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2171         Moved ...
2172         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2173         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2174         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2175         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2176         Moved ...
2177         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2178         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2179         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2180         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2181         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2182         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2183         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2184
2185 2014-06-10  Wilco  <wdijkstr@arm.com>
2186
2187         * math/test-fenv-return.c: New file.
2188         * math/Makefile: Add new test test-fenv-return.
2189
2190 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2191
2192         [BZ #17042]
2193         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2194         when x - 1 is zero.
2195         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2196         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2197         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2198         0.0L for an argument of 1.0L.
2199         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2200         Likewise.
2201         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2202         value when x - 1 is zero.
2203         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2204         * sysdeps/i386/fpu/libm-test-ulps: Update.
2205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2206
2207 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2208
2209         [BZ #15119]
2210         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2211
2212 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2213
2214         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2215         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2216
2217 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2218
2219         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2220         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2221
2222         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2223         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2224
2225         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2226         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2227
2228         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2229         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2230
2231         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2232         if not already defined.
2233         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2234         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2235         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2236         (TLS_INIT_TP): Use it.
2237         (TLS_DEFINE_INIT_TP): New macro.
2238         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2239
2240 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2241
2242         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2243         constant.
2244         [POSIX] (IXANY): Likewise.
2245         [POSIX] (OLCUC): Likewise.
2246         [POSIX || POSIX2008] (CBAUD): Do not allow.
2247         [POSIX || POSIX2008] (DEFECHO): Likewise.
2248         [POSIX || POSIX2008] (ECHOCTL): Likewise.
2249         [POSIX || POSIX2008] (ECHOKE): Likewise.
2250         [POSIX || POSIX2008] (ECHOPRT): Likewise.
2251         [POSIX || POSIX2008] (EXTA): Likewise.
2252         [POSIX || POSIX2008] (EXTB): Likewise.
2253         [POSIX || POSIX2008] (FLUSHO): Likewise.
2254         [POSIX || POSIX2008] (LOBLK): Likewise.
2255         [POSIX || POSIX2008] (PENDIN): Likewise.
2256         [POSIX || POSIX2008] (SWTCH): Likewise.
2257         [POSIX || POSIX2008] (VDISCARD): Likewise.
2258         [POSIX || POSIX2008] (VDSUSP): Likewise.
2259         [POSIX || POSIX2008] (VLNEXT): Likewise.
2260         [POSIX || POSIX2008] (VREPRINT): Likewise.
2261         [POSIX || POSIX2008] (VSTATUS): Likewise.
2262         [POSIX || POSIX2008] (VWERASE): Likewise.
2263         (B*): Change to B[0123456789]*.
2264         * conform/data/time.h-data [POSIX || UNIX98]
2265         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2266         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2267         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2268         [POSIX] (tm_*): Do not allow.
2269
2270 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
2271
2272         * Makefile (install): Don't set LANGUAGE.
2273         * Makefile.in (install): Likewise.
2274         * assert/Makefile (test-assert-ENV): Remove variable.
2275         (test-assert-perr-ENV): Likewise.
2276         * elf/Makefile (neededtest4-ENV): Likewise.
2277         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2278         [$(cross-compiling) = no]: Don't set LANGUAGE.
2279         * io/ftwtest-sh (LANG): Remove variable.
2280         * libio/Makefile (tst-widetext-ENV): Likewise.
2281         * manual/install.texi (Running make install): Don't refer to
2282         environment settings for make install.
2283         * INSTALL: Regenerated.
2284         * nptl/tst-tls6.sh: Don't set LANG.
2285         * posix/globtest.sh (LANG): Remove variable.
2286         * string/Makefile (tester-ENV): Likewise.
2287         (inl-tester-ENV): Likewise.
2288         (noinl-tester-ENV): Likewise.
2289         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2290         [$(cross-compiling) = no]: Don't set LANGUAGE.
2291         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2292         without explicit environment settings.
2293
2294 2014-06-06  Roland McGrath  <roland@hack.frob.com>
2295
2296         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2297         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2298         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2299         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2300
2301 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
2302
2303         * crypt/crypt-private.h [DOS]: Add some includes taken from the
2304         other files in the crypt directory.
2305         * crypt/crypt.c: Remove duplicate includes.
2306         * crypt/crypt-entry.c: Likewise.
2307         * crypt/crypt_util.c: Likewise.
2308
2309 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
2310
2311         * Makeconfig (run-program-env): New variable.
2312         (run-program-prefix-before-env): Likewise.
2313         (run-program-prefix-after-env): Likewise.
2314         (run-program-prefix): Define in terms of new variables.
2315         (built-program-cmd-before-env): New variable.
2316         (built-program-cmd-after-env): Likewise.
2317         (built-program-cmd): Define in terms of new variables.
2318         (test-program-prefix-before-env): New variable.
2319         (test-program-prefix-after-env): Likewise.
2320         (test-program-prefix): Define in terms of new variables.
2321         (test-program-cmd-before-env): New variable.
2322         (test-program-cmd-after-env): Likewise.
2323         (test-program-cmd): Define in terms of new variables.
2324         * Rules (make-test-out): Use $(run-program-env).
2325         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2326         (help): Do not mention environment variables.  Mention
2327         --timeoutfactor option.
2328         (timeoutfactor): New variable.
2329         (blacklist_exports): Remove function.
2330         (exports): Remove variable.
2331         (command): Do not include ${exports}.
2332         * manual/install.texi (Configuring and compiling): Do not mention
2333         test wrappers preserving environment variables.  Mention that last
2334         assignment to a variable must take precedence.
2335         * INSTALL: Regenerated.
2336         * benchtests/Makefile (run-bench): Use $(run-program-env).
2337         * catgets/Makefile ($(objpfx)test1.cat): Use
2338         $(built-program-cmd-before-env), $(run-program-env) and
2339         $(built-program-cmd-after-env).
2340         ($(objpfx)test2.cat): Do not specify environment variables
2341         explicitly.
2342         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2343         $(run-program-env) and $(built-program-cmd-after-env).
2344         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2345         $(run-program-env) and $(test-program-cmd-after-env).
2346         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2347         explicitly.
2348         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2349         run_program_env and test_program_cmd_after_env arguments.
2350         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2351         * elf/tst-pathopt.sh: Use run_program_env argument.
2352         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2353         $(test-wrapper-env) and $(run-program-env).
2354         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2355         run_program_env arguments.
2356         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2357         * intl/Makefile ($(objpfx)tst-gettext.out): Use
2358         $(test-program-prefix-before-env), $(run-program-env) and
2359         $(test-program-prefix-after-env).
2360         ($(objpfx)tst-gettext2.out): Likewise.
2361         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2362         run_program_env and test_program_prefix_after_env arguments.
2363         * intl/tst-gettext2.sh: Likewise.
2364         * intl/tst-gettext4.sh: Do not set environment variables
2365         explicitly.
2366         * intl/tst-gettext6.sh: Likewise.
2367         * intl/tst-translit.sh: Likewise.
2368         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2369         $(test-program-prefix-before-env), $(run-program-env) and
2370         $(test-program-prefix-after-env).
2371         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2372         run_program_env and test_program_prefix_after_env arguments.
2373         * math/Makefile (run-regen-ulps): Use $(run-program-env).
2374         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2375         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
2376         explicitly with each use of ${test_wrapper_env}.
2377         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2378         $(test-program-prefix-before-env), $(run-program-env) and
2379         $(test-program-prefix-after-env).
2380         * posix/tst-getconf.sh: Do not set environment variables
2381         explicitly.
2382         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2383         run_program_env and test_program_prefix_after_env arguments.
2384         * stdio-common/tst-printf.sh: Do not set environment variables
2385         explicitly.
2386         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2387         $(test-program-prefix-before-env), $(run-program-env) and
2388         $(test-program-prefix-after-env).
2389         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2390         run_program_env and test_program_prefix_after_env arguments.
2391         Split $test calls into $test_pre and $test.
2392         * timezone/Makefile (build-testdata): Use
2393         $(built-program-cmd-before-env), $(run-program-env) and
2394         $(built-program-cmd-after-env).
2395
2396 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2397
2398         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2399         strlen for non SHARED builds.
2400
2401 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2402
2403         * nptl/allocatestack.c (check_list): Inlined function...
2404         (__reclaim_stacks): ... here.
2405
2406 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2407
2408         [BZ #15698]
2409         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2410         memory overrun.
2411
2412 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
2413
2414         * Rules (make-test-out): Include
2415         LOCPATH=$(common-objpfx)localedata in default environment.
2416         * debug/Makefile (tst-chk1-ENV): Remove variable.
2417         (tst-chk2-ENV): Likewise.
2418         (tst-chk3-ENV): Likewise.
2419         (tst-chk4-ENV): Likewise.
2420         (tst-chk5-ENV): Likewise.
2421         (tst-chk6-ENV): Likewise.
2422         (tst-lfschk1-ENV): Likewise.
2423         (tst-lfschk2-ENV): Likewise.
2424         (tst-lfschk3-ENV): Likewise.
2425         (tst-lfschk4-ENV): Likewise.
2426         (tst-lfschk5-ENV): Likewise.
2427         (tst-lfschk6-ENV): Likewise.
2428         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2429         (tst-iconv7-ENV): Likewise.
2430         * intl/Makefile (LOCPATH-ENV): Likewise.
2431         (tst-codeset-ENV): Likewise.
2432         (tst-gettext3-ENV): Likewise.
2433         (tst-gettext5-ENV): Likewise.
2434         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2435         (tst-fopenloc-ENV): Likewise.
2436         (tst-fgetws-ENV): Remove variable.
2437         (tst-ungetwc1-ENV): Likewise.
2438         (tst-ungetwc2-ENV): Likewise.
2439         (bug-ungetwc2-ENV): Likewise.
2440         (tst-swscanf-ENV): Likewise.
2441         (bug-ftell-ENV): Likewise.
2442         (tst-fgetwc-ENV): Likewise.
2443         (tst-fseek-ENV): Likewise.
2444         (tst-ftell-partial-wide-ENV): Likewise.
2445         (tst-ftell-active-handler-ENV): Likewise.
2446         (tst-ftell-append-ENV): Likewise.
2447         * posix/Makefile (tst-fnmatch-ENV): Likewise.
2448         (tst-regexloc-ENV): Likewise.
2449         (bug-regex1-ENV): Likewise.
2450         (tst-regex-ENV): Likewise.
2451         (tst-regex2-ENV): Likewise.
2452         (bug-regex5-ENV): Likewise.
2453         (bug-regex6-ENV): Likewise.
2454         (bug-regex17-ENV): Likewise.
2455         (bug-regex18-ENV): Likewise.
2456         (bug-regex19-ENV): Likewise.
2457         (bug-regex20-ENV): Likewise.
2458         (bug-regex22-ENV): Likewise.
2459         (bug-regex23-ENV): Likewise.
2460         (bug-regex25-ENV): Likewise.
2461         (bug-regex26-ENV): Likewise.
2462         (bug-regex30-ENV): Likewise.
2463         (bug-regex32-ENV): Likewise.
2464         (bug-regex33-ENV): Likewise.
2465         (bug-regex34-ENV): Likewise.
2466         (bug-regex35-ENV): Likewise.
2467         (tst-rxspencer-ENV): Likewise.
2468         (tst-rxspencer-no-utf8-ENV): Likewise.
2469         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2470         (tst-sscanf-ENV): Likewise.
2471         (tst-swprintf-ENV): Likewise.
2472         (tst-swscanf-ENV): Likewise.
2473         (test-vfprintf-ENV): Likewise.
2474         (scanf13-ENV): Likewise.
2475         (bug14-ENV): Likewise.
2476         (tst-grouping-ENV): Likewise.
2477         * stdlib/Makefile (tst-strtod-ENV): Likewise.
2478         (tst-strtod3-ENV): Likewise.
2479         (tst-strtod4-ENV): Likewise.
2480         (tst-strtod5-ENV): Likewise.
2481         (testmb2-ENV): Likewise./
2482         * string/Makefile (tst-strxfrm-ENV): Likewise.
2483         (tst-strxfrm2-ENV): Likewise.
2484         (bug-strcoll1-ENV): Likewise.
2485         (test-strcasecmp-ENV): Likewise.
2486         (test-strncasecmp-ENV): Likewise.
2487         * time/Makefile (tst-strptime-ENV): Likewise.
2488         (tst-ftime_l-ENV): Likewise.
2489         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2490         (tst-mbrtowc-ENV): Likewise.
2491         (tst-wcrtomb-ENV): Likewise.
2492         (tst-mbrtowc2-ENV): Likewise.
2493         (tst-c16c32-1-ENV): Likewise.
2494         (tst-mbsnrtowcs-ENV): Likewise.
2495
2496 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2497
2498         * manual/resource.texi (How to get information about the memory
2499         subsystem?): Fix typo.
2500         Reported by Peon de la Parra Ivan <peon@keba.com>
2501
2502 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
2503
2504         [BZ #16882]
2505         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2506         (pthread_spin_lock): Branch out of spin loop to proper location.
2507         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2508         (pthread_spin_lock): Likewise.
2509
2510         * nptl/tst-spin4.c: New test.
2511         * nptl/Makefile (tests): Add tst-spin4.
2512
2513 2014-06-03  Andreas Schwab  <schwab@suse.de>
2514
2515         [BZ #15946]
2516         * resolv/res_send.c (send_dg): Reload file descriptor after
2517         calling reopen.
2518
2519 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
2520
2521         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2522
2523 2014-06-03  Richard Henderson  <rth@redhat.com>
2524
2525         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2526         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2527         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2528         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
2529         in the SAVE_PID block.
2530         (__libc_vfork): New alias.
2531         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2532
2533         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2534         child in registers, not on the stack.  Remove RESET_PID conditionals.
2535         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2536
2537 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2538
2539         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2540
2541 2014-06-03  Wilco  <wdijkstr@arm.com>
2542
2543         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2544         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2545         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2546         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2547         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2548         Likewise.
2549
2550 2014-06-03  Wilco  <wdijkstr@arm.com>
2551
2552         * sysdeps/aarch64/fpu/math_private.h
2553         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2554         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2555         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2556         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2557         Fix declarations.
2558
2559 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2560
2561         * crypt/crypt-private.h: Include ufc-crypt.h.
2562         (__b64_from_24bit): Declare extern.
2563         * crypt/crypt_util.c(__b64_from_24bit): New function.
2564         (b64t): New static const variable.
2565         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2566         (b64t): Remove variable.
2567         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2568         * crypt/sha256-crypt.c: Include crypt-private.h.
2569         (b64t): Remove variable.
2570         (__sha256_crypt_r): Remove b64_from_24bit and replace
2571         with __b64_from_24bit.
2572         * crypt/sha512-crypt.c: Likewise.
2573
2574 2014-06-02  Roland McGrath  <roland@hack.frob.com>
2575
2576         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2577         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2578         Label the code __libc_vfork rather than __vfork.
2579         [!NOT_IN_libc] (vfork): Define as weak alias.
2580         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2581         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2582         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2583
2584 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2585
2586         * malloc/malloc.c (malloc_info): Fix format specifier for
2587         n_mmaps.
2588
2589 2014-06-02  Wilco  <wdijkstr@arm.com>
2590
2591         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2592         FPCR write.
2593
2594 2014-06-02  Wilco  <wdijkstr@arm.com>
2595
2596         [BZ #17009]
2597         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2598         Rewrite to reduce FPCR/FPSR accesses.
2599
2600 2014-06-01  David S. Miller  <davem@davemloft.net>
2601
2602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2603
2604 2014-05-31  David S. Miller  <davem@davemloft.net>
2605
2606         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2607         to occur in round to nearest mode when |x| >= 2.0
2608
2609 2014-05-30  Richard Henderson  <rth@twiddle.net>
2610
2611         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2612         (PSEUDO_RET_NOERRNO): Remove.
2613         (ret): Don't redefine.
2614         (ret_NOERRNO): Define in terms of ret.
2615         (ret_ERRVAL): Likewise.
2616
2617         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2618         use of PSEUDO_RET; perform the error check directly.
2619
2620 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
2621
2622         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2623         with __int128_t.
2624
2625 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2626
2627         * malloc/malloc (malloc_info): Fix formatting.
2628
2629 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2630             Roland McGrath  <roland@hack.frob.com>
2631
2632         * malloc/malloc (malloc_info): Also print mmapped statistics.
2633
2634 2014-05-30  Roland McGrath  <roland@hack.frob.com>
2635
2636         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2637         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2638
2639 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
2640
2641         * malloc/malloc.c (malloc_info): Inline mi_arena.
2642
2643 2014-05-29  Richard Henderson  <rth@twiddle.net>
2644
2645         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2646         Remove comma before expanding ASM_ARGS_##nr.
2647         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2648         Make _x0 a strict output; make _x8 a strict input; adjust expansion
2649         of ASM_ARGS_##nr.
2650         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2651         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2652         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2653         (ASM_ARGS_1): Add leading comma.
2654
2655         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2656         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2657         to __errno_location.
2658         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2659         Remove the expected plt for __errno_location.
2660
2661         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2662         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2663         call to __read_tp.
2664
2665         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2666         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
2667         it and break it down.
2668         (DOCARGS_0, DOCARGS_1): Do nothing.
2669         (DOCARGS_2): Update to store into the new stack frame.
2670         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2671         (UNDOCARGS_1): Update to restore from the new stack frame.
2672         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2673         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2674
2675         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2676         (SINGLE_THREAD_P): New parameter for result regno.
2677         (PSEUDO): Update to match; use cbz instead of beq.
2678
2679         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2680         Use ENTRY to define the _nocancel entry point.  Share the syscall
2681         and syscall error check paths with the cancel path.
2682         (PSEUDO_END): New.
2683
2684         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2685         whitespace; tabs before and after asm mnemonics.
2686
2687 2014-05-29  Eric Wong  <normalperson@yhbt.net>
2688
2689         [BZ #15132]
2690         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2691         Call fstat64 or stat64 internally, depending on arguments passed.
2692         Replace stat buffer argument with file descriptor argument.
2693         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2694         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2695         Pass fd to __internal_statvfs instead of calling fstat64.
2696         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2697         Pass fd to __internal_statvfs64 instead of calling fstat64.
2698         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2699         Pass -1 to __internal_statvfs instead of calling stat64.
2700         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2701         Pass -1 to __internal_statvfs64 instead of calling stat64.
2702
2703 2014-05-28  Roland McGrath  <roland@hack.frob.com>
2704
2705         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2706         that was previously under [RESET_PID].
2707         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2708
2709         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2710         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2711
2712 2014-05-27  Roland McGrath  <roland@hack.frob.com>
2713
2714         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2715
2716         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2717         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2718
2719 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
2720
2721         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2722
2723 2014-05-27  Andreas Schwab  <schwab@suse.de>
2724
2725         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2726         TLS_INIT_TP macro.
2727         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2728         * elf/rtld.c (init_tls, dl_main): Likewise.
2729         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2730         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2731         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2732         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2733         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2734         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2735         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2736         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2737         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2738         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2739         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2740         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2741         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2742         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2743         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2744         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2745         * sysdeps/generic/tls.h: Update description.
2746
2747 2014-05-27  Will Newton  <will.newton@linaro.org>
2748
2749         [BZ #16990]
2750         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2751         and restore r2 rather than just restoring.
2752
2753 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2754
2755         [BZ #16724]
2756         * libio/tst-ftell-append.c: New test case.
2757         * libio/Makefile (tests): Add test case.
2758         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2759         append mode.
2760         * libio/wfileops.c (do_ftell_wide): Likewise.
2761
2762 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2763
2764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2765
2766         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2767         ...
2768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2770         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2771         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2772         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2773         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2774         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2775         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2776         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2777         Moved ...
2778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2779         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2780         Moved ...
2781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2782         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2783         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2784         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2785         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2786         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2787         ...
2788         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2789         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2790         Moved ...
2791         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2792         here.
2793         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2794         ...
2795         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2796         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2797         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2798
2799         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2800         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2801         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2802         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2803
2804         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2805         merge into ...
2806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2807         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2808         ...
2809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2810         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2811         ...
2812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2813         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2814         Moved ...
2815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2816         here.
2817         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2818         Moved ...
2819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2820         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2821         Moved ...
2822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2823
2824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2825         conditional [RESET_PID].
2826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2827         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2828         removed.
2829         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2830         removed.
2831
2832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2833         <tcb-offsets.h>.
2834         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2835         (__libc_vfork): New strong alias.
2836         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2837         removed.
2838         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2839         Removed.
2840
2841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2842         <tcb-offsets.h>.
2843         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2844         (__libc_vfork): New strong alias.
2845         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2846         removed.
2847         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2848         removed.
2849
2850 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
2851
2852         * malloc/malloc.c (mi_arena): New function.
2853         (malloc_info): Remove nested function mi_arena. Call non-nosted
2854         function mi_arena.
2855
2856 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2857
2858         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2859         by insrwi.
2860         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2861         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2862         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2863         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2864         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2865         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2866         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2867
2868 2014-05-26  Andreas Schwab  <schwab@suse.de>
2869
2870         [BZ #16984]
2871         * locale/programs/repertoire.c (repertoire_read): Add slash
2872         between I18NPATH element and file name.
2873         * locale/programs/locfile.c (locfile_read): Likewise.
2874
2875 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2876
2877         * nptl/pthread_mutexattr_settype.c
2878         (__pthread_mutexattr_settype):
2879         Disable lock elision for PTHREAD_MUTEX_NORMAL.
2880
2881 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2882
2883         * nptl/tst-mutex5 (do_test):
2884         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2885
2886 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2887
2888         * benchtests/README: Document 'init' directive.
2889         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2890         BENCH_INIT.
2891         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2892         (parse_file): Recognize 'init' directive.
2893
2894 2014-05-26  Kyle McMartin  <kyle@redhat.com>
2895
2896         [BZ #16796]
2897         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2898         alignment of struct pthread.
2899
2900 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2901
2902         [BZ #16878]
2903         * nscd/netgroupcache.c (addgetnetgrentX): Look for
2904         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2905         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2906         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2907
2908 2014-05-25  Richard Henderson  <rth@twiddle.net>
2909
2910         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2911         (SINGLE_THREAD_P_PIC): Remove.
2912         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2913         (SINGLE_THREAD_P_PIC): Remove.
2914
2915         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2916         branch to syscall error ...
2917         (PSEUDO): ... here.
2918         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2919         from __local_syscall_error to .Lsyscall_error.
2920         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2921         (SYSCALL_ERROR): Update label name.
2922
2923         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2924         Do not use DOARGS/UNDOARGS.
2925         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2926         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2927         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2928         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2929         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2930
2931         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2932         block comment.
2933
2934         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2935         define if !NOT_IN_libc.
2936         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2937         define with non-default symbol versions.
2938
2939 2014-05-23  Richard Henderson  <rth@twiddle.net>
2940
2941         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2942         (vfork, __vfork): Define via compat_symbol.
2943
2944         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2945         [!HAVE_IFUNC] (vfork_compat): Remove.
2946         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2947
2948 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2949
2950         [BZ #16978]
2951         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2952         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2953         variable.
2954
2955 2014-05-23  Richard Henderson  <rth@twiddle.net>
2956
2957         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2958         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2959         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2960         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2961
2962         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2963         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2964         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2965         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2966         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2967         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2968         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2969         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2970         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2971         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2972         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2973         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2974         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2975         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2976         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2977         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2978         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2979         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2980         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2981         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2982         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2983         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2984         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2985         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2986         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2987         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2988         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2989         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2990         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2991         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2992         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2993         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2994         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2995         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2996         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2997         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2998         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2999         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3000         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3001         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3002         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3003         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3004         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3005         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3006         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3007         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3008         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3009         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3010         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3011         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3012         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3013         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3014         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3015         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3016         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3017         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3018
3019         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3020         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3021         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3022         before exiting on error.
3023         (__libc_vfork): New strong alias.
3024         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3025         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3026
3027         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3028         that was previously under [RESET_PID].
3029         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3030
3031         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3032
3033 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3034
3035         [BZ #16977]
3036         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3037         value when x - 1 is zero.
3038         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3039         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3040         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3041         0.0L for an argument of 1.0L.
3042         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3043         Likewise.
3044         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3045         value when x - 1 is zero.
3046         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3047         * sysdeps/i386/fpu/libm-test-ulps: Update.
3048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3049
3050 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3051
3052         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3053         alphasort and versionsort.
3054
3055 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3056
3057         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3058         macro.
3059         [copysignf]: Likewise.
3060
3061 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3062
3063         * crypt/md5-crypt.c: Fix formatting.
3064
3065 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3066
3067         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3068         (b64_from_24bit): New function.
3069
3070 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3071
3072         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3073         libc_hidden_builtin_def to ifunc.
3074         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3075         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3076
3077 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3078
3079         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3080         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3081
3082 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3083
3084         * nscd/Depend (linuxthreads): Remove.
3085         (nptl): Add.
3086         * resolv/Depend (linuxthreads): Remove.
3087         * rt/Depend (linuxthreads): Remove.
3088
3089         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3090         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3091         $(common-objpfx)elf/.
3092         (link-libc-before-gnulib): Likewise.
3093         (elfobjdir): Remove variable.
3094         * Makefile (install): Use $(elf-objpfx) instead of
3095         $(common-objpfx)elf/.
3096         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3097         $(elfobjdir)/.
3098         (link-libc-deps): Likewise.
3099         ($(common-objpfx)libc.so): Likewise.
3100         ($(common-objpfx)linkobj/libc.so): Likewise.
3101         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3102         instead of $(common-objpfx)elf/.
3103         (symbolic-link-list): Likewise.
3104         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3105         [$(cross-compiling) = no]: Likewise.
3106         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3107         $(elfobjdir)/.
3108         (static-gnulib-arch): Likewise.
3109         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3110         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3111         $(common-objpfx)elf/.
3112
3113 2014-05-21  Richard Henderson  <rth@redhat.com>
3114
3115         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3116         (SINGLE_THREAD_P): Use the correct width load.  Fold
3117         into the ldr offset.
3118
3119         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3120         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3121
3122 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3123
3124         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3125         (libgcc_s_resume): Use __attribute_used__.
3126         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3127         Likewise.
3128
3129 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3130
3131         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3132         optimization when used with float constants.
3133
3134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3135
3136 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3137
3138         [BZ #16915]
3139         * locale/nl_langinfo_l.c: Make direct reference to every
3140         _nl_current_CATEGORY symbol.
3141         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3142         (tests-static): Add tst-langinfo-static.
3143         (tests-special): Add tst-langinfo-static.out.
3144         ($(objpfx)tst-langinfo.out): Redirect output.
3145         ($(objpfx)tst-langinfo-static.out): New.
3146         * localedata/tst-langinfo.sh: Send output to stdout.
3147         * localedata/tst-langinfo-static.c: New file.
3148
3149         [BZ #16965]
3150         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3151         when the shift amount is modulo the limb size.
3152
3153 2014-05-20  Richard Henderson  <rth@redhat.com>
3154
3155         [BZ #16967]
3156         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3157         Change type of sa_flags from unsigned int to int.
3158
3159         [BZ #16966]
3160         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3161
3162         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3163
3164 2014-05-20  Will Newton  <will.newton@linaro.org>
3165
3166         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3167         Test the return value of the system call in the nocancel case.
3168
3169 2014-05-20  Will Newton  <will.newton@linaro.org>
3170             Yvan Roux  <yvan.roux@linaro.org>
3171
3172         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3173         #include of asm/ptrace.h.
3174         (PTRACE_GET_THREAD_AREA): Remove #undef.
3175         (PTRACE_GETHBPREGS): Likewise.
3176         (PTRACE_SETHBPREGS): Likewise.
3177         (struct user_regs_struct): New structure.
3178         (struct user_fpsimd_struct): New structure.
3179         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3180         #include of asm/ptrace.h and second #include of sys/user.h.
3181         (PTRACE_GET_THREAD_AREA): Remove #undef.
3182         (PTRACE_GETHBPREGS): Likewise.
3183         (PTRACE_SETHBPREGS): Likewise.
3184         (ELF_NGREG): Use new struct user_regs_struct.
3185         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3186
3187 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3188
3189         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3190         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3191
3192 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3193
3194         [BZ #16958]
3195         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3196         membar to avoid block loads/stores to overlap previous stores.
3197
3198 2014-05-17  Richard Henderson  <rth@redhat.com>
3199
3200         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3201         Create the __##syscall_name##_nocancel entry point.
3202         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3203         Remove; let the sysdep-cancel.h code create it.
3204
3205 2014-05-17  David S. Miller  <davem@davemloft.net>
3206
3207         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3208         Protect with __USE_GNU.
3209         (TIOCSET_TEMPT): Likewise.
3210         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3211         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3212         these are already provided in bits/ioctl-types.h
3213
3214 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3215
3216         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3217         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3218
3219         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3220         Use wait4 regardless of [__NR_waitpid].
3221
3222 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3223
3224         PR libgcc/60166
3225         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3226         (_FP_NANSIGN_Q): Set the quiet bit.
3227
3228 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3229
3230         * benchtests/Makefile
3231         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3232         not $(common-objpfx)math/libm.so.
3233         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3234         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3235         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3236         $(common-objpfx)dlfcn/libdl.so.
3237         ($(objpfx)tst-audit8): Depend on $(libm), not
3238         $(common-objpfx)math/libm.so.
3239         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3240         not $(common-objpfx)dlfcn/libdl.so.
3241         * math/Makefile
3242         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3243         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3244         [$(build-shared) = yes].
3245         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3246         $(common-objpfx)nptl/libpthread.so.
3247         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3248         $(common-objpfx)math/libm.so$(libm.so-version) or
3249         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3250         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3251         $(common-objpfx)dlfcn/libdl.so.
3252         * setjmp/Makefile (link-libm): Remove variable.
3253         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3254         * stdio-common/Makefile (link-libm): Remove variable.
3255         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3256         * stdlib/Makefile (link-libm): Remove variable.
3257         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3258         ($(objpfx)tst-strtod-round): Likewise.
3259         ($(objpfx)tst-tininess): Likewise.
3260         ($(objpfx)tst-strtod-underflow): Likewise.
3261         ($(objpfx)tst-strtod6): Likewise.
3262         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3263         $(libdl), not $(common-objpfx)nptl/libpthread.so and
3264         $(common-objpfx)dlfcn/libdl.so.
3265
3266 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3267
3268         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3269         BSD terminal modes definitions.
3270
3271 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3272
3273         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3274         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3275
3276         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3277         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3278         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3279         Don't do #include_next.
3280         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3281         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3282         Don't do #include_next.
3283         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3284         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3285         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3286         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3287
3288 2014-05-16  Allan McRae  <allan@archlinux.org>
3289
3290         * po/sv.po: Update Swedish translation from translation project.
3291
3292         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3293         in sed expression.
3294
3295 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
3296
3297         [BZ #16917]
3298         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3299         errno if the TIOCGPTN ioctl fails with an error different than
3300         EINVAL.
3301         * login/tst-ptsname.c: New file.
3302         * login/Makefile (tests): Add tst-ptsname.
3303
3304         [BZ #16943]
3305         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3306         and prlimit64.
3307
3308 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3309
3310         [BZ #16849]
3311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3312         herrno to return EAI_AGAIN.
3313
3314 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3315
3316         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3317         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3318         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3319         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3320         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3321         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3322         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3323         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3324         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3325         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3326         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3327         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3328         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3329         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3330         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3331         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3332         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3333         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3334         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3335         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3336         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3337         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3338         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3339         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3340         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3341         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3342         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3343         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3344         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3345         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3346         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3347         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3349         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3350         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3351         Moved ...
3352         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3354         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3356         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3358         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3360         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3362         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3364         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3365         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3366         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3368         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3370         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3372         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3374         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3376         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3378         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3379         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3380         Moved ...
3381         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3382         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3383         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3384         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3385         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3387         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3389         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3391         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3393         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3394         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3395         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3397         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3399         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3401         Moved ...
3402         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3404         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3405
3406         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3407         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3408         (libpthread-sysdep_routines): Add elision-related stuff here instead.
3409         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3410         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3411         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3412         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3413         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3414         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3415         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3416         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3417         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3418         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3419         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3420         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3421         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3422         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3423         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3424         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3425         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3426         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3427         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3428         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3429         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3430         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3431         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3432         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3433         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3434         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3435         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3436         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3437
3438         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3439         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3440
3441         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3442         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3443         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3444         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3445         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3446         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3447         Moved ...
3448         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3449         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3450         Moved ...
3451         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3452         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3453         Moved ...
3454         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3455         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3456         Moved ...
3457         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3458         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3459         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3460         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3461         Moved ...
3462         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3463         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3464         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3465         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3466         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3467         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3468         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3469         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3470         Moved ...
3471         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3472         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3473         Moved ...
3474         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3475         ... here.
3476         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3477         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3478         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3479         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3480         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3481         Moved ...
3482         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3483         ... here.
3484         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3485         Moved ...
3486         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3487         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3488         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3489         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3490         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3491         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3492         Moved ...
3493         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3494         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3495         Moved ...
3496         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3497         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3498         Moved ...
3499         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3500         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3501         Moved ...
3502         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3503         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3504         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3505         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3506         Moved ...
3507         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3508         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3509         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3510         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3511         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3512         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3513         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3514         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3515         Moved ...
3516         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3517         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3518         Moved ...
3519         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3520         ... here.
3521         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3522         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3523         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3524         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3525         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3526         Moved ...
3527         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3528         ... here.
3529         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3530         Moved ...
3531         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3532         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3533         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3534         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3535         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3536         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3537         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3538         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3539         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3540         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3541         Moved ...
3542         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3543         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3544         Moved ...
3545         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3546         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3547         Moved ...
3548         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3549         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3550         Moved ...
3551         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3552         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3553         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3554         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3555         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3556         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3557         Moved ...
3558         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3559         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3560         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3561         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3562         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3563         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3564         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3565         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3566         Moved ...
3567         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3568         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3569         Moved ...
3570         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3571         ... here.
3572         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3573         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3574         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3575         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3576         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3577         Moved ...
3578         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3579         ... here.
3580         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3581         Moved ...
3582         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3583         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3584         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3585         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3586         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3587         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3588         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3589         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3590         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3591         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3592         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3593
3594         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3595         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3596
3597         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3598         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3599
3600         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3601         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3602         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3603         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3604         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3605         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3606         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3607         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3608         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3609         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3610         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3611         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3612         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3613         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3614         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3615         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3616         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3617         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3618         Moved ...
3619         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3620         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3621         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3622         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3623         Moved ...
3624         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3625         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3626         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3627         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3628         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3629         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3630         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3631         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3632         Moved ...
3633         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3634         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3635         Moved ...
3636         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3637         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3638         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3639         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3640         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3641         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3642         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3643         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3644         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3645         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3646         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3647         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3648         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3649         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3650         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3651         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3652         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3653
3654         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3655         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3656         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3657         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3658         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3659
3660         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3661         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3662         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3663         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3664         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3665         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3666         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3667         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3668         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3669         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3670
3671         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3672         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3673
3674         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3675         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3676         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3677         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3678         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3679         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3680         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3681         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3682         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3683         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3684         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3685         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3686         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3687         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3688         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3689         Update #include.
3690         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3691         Likewise.
3692         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3693         Likewise.
3694         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3695         Likewise.
3696         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3697         Likewise.
3698         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3699         Likewise.
3700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3701         Likewise.
3702         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3703         Likewise.
3704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3705         Likewise.
3706         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3707         Likewise.
3708         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3709         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3710         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3711         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3712         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3713         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3714         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3715         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3716         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3717         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3718         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3719         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3720         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3721         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
3722         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
3723
3724         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3725         that was previously under [RESET_PID].
3726         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3727         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3728         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3729
3730         * sysdeps/i386/nptl/Implies: New file.
3731         * sysdeps/x86_64/nptl/Implies: New file.
3732         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3733         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3734         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3735         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3736
3737         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3738         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3739         (__libc_vfork): New strong alias.
3740         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3741         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3742
3743         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3744         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3745         (__libc_vfork): New strong alias.
3746         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3747         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3748
3749         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3750         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3751         (__libc_vfork): New strong alias.
3752         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3753         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3754         * nptl/pt-vfork.c: New file.
3755         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3756         (libpthread: GLIBC_2.20): New version set (empty).
3757
3758 2014-05-14  Will Newton  <will.newton@linaro.org>
3759
3760         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3761         rather than #if.
3762
3763 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3764
3765         [BZ #16564]
3766         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3767         arguments with exponent 65 or above.
3768         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3769         arguments 0x1p113L or above.
3770         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3771         to arguments 0x1p107L or above.
3772         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3773         positive arguments with exponent 65 or above.
3774         * math/auto-libm-test-in: Add more tests of log1p.
3775         * math/auto-libm-test-out: Regenerated.
3776
3777         [BZ #16928]
3778         * math/s_cacos.c (__cacos): Ensure zero real part of result from
3779         non-finite arguments is +0.
3780         * math/s_cacosf.c (__cacosf): Likewise.
3781         * math/s_cacosl.c (__cacosl): Likewise.
3782         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3783         * sysdeps/i386/fpu/libm-test-ulps: Update.
3784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3785
3786         [BZ #16927]
3787         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3788         value.
3789         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3790         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3791         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3792         for explicit high bit of mantissa when testing for argument equal
3793         to 1.
3794         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3795         * sysdeps/i386/fpu/libm-test-ulps: Update.
3796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3797
3798         [BZ #16516]
3799         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3800         (__erf): Scale by 16 instead of 8 in potentially underflowing
3801         case.  Ensure exception if result actually underflows.
3802         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3803         (__erff): Scale by 16 instead of 8 in potentially underflowing
3804         case.  Ensure exception if result actually underflows.
3805         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3806         (efx8): Remove variable.
3807         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3808         case.  Ensure exception if result actually underflows.
3809         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3810         (efx8): Remove variable.
3811         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3812         case.  Ensure exception if result actually underflows.
3813         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3814         (efx8): Remove variable.
3815         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3816         case.  Ensure exception if result actually underflows.
3817         * math/auto-libm-test-in: Add more tests of erf.
3818         * math/auto-libm-test-out: Regenerated.
3819
3820 2014-05-14  Andreas Schwab  <schwab@suse.de>
3821
3822         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3823         Remove code conditionalized on USE___THREAD.
3824
3825         * config.h.in (HAVE_PT_CHOWN): Define as 0.
3826         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3827         not definedness.
3828
3829 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3830
3831         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3832         Define unconditionally.
3833         (__ASSUME_O_CLOEXEC): Likewise.
3834         (__ASSUME_SOCK_CLOEXEC): Likewise.
3835         (__ASSUME_IN_NONBLOCK): Likewise.
3836         (__ASSUME_PIPE2): Likewise.
3837         (__ASSUME_EVENTFD2): Likewise.
3838         (__ASSUME_SIGNALFD4): Likewise.
3839         (__ASSUME_DUP3): Likewise.
3840         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3841         (__ASSUME_DUP3): Do not define.
3842         (__ASSUME_EVENTFD2): Likewise.
3843         (__ASSUME_IN_NONBLOCK): Likewise.
3844         (__ASSUME_O_CLOEXEC): Likewise.
3845         (__ASSUME_PIPE2): Likewise.
3846         (__ASSUME_SIGNALFD4): Likewise.
3847         (__ASSUME_SOCK_CLOEXEC): Likewise.
3848         (__ASSUME_UTIMES): Undefine.
3849         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3850         (__ASSUME_UTIMES): Do not define.
3851         (__ASSUME_O_CLOEXEC): Likewise.
3852         (__ASSUME_SOCK_CLOEXEC): Likewise.
3853         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3854         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3855         0x020621].
3856         (__ASSUME_PIPE2): Likewise.
3857         (__ASSUME_EVENTFD2): Likewise.
3858         (__ASSUME_SIGNALFD4): Likewise.
3859         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3860         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3861         Do not define.
3862         (__ASSUME_EVENTFD2): Likewise.
3863         (__ASSUME_SIGNALFD4): Likewise.
3864         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3865         (__ASSUME_32BITUIDS): Likewise.
3866         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3867         (__ASSUME_IPC64): Likewise.
3868         (__ASSUME_ST_INO_64_BIT): Likewise.
3869         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3870         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3871         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3872         (__ASSUME_UTIMES): Do not define.
3873         (__ASSUME_PSELECT): Likewise.
3874         (__ASSUME_PPOLL): Likewise.
3875         (__ASSUME_O_CLOEXEC): Likewise.
3876         (__ASSUME_SOCK_CLOEXEC): Likewise.
3877         (__ASSUME_IN_NONBLOCK): Likewise.
3878         (__ASSUME_PIPE2): Likewise.
3879         (__ASSUME_EVENTFD2): Likewise.
3880         (__ASSUME_SIGNALFD4): Likewise.
3881         (__ASSUME_DUP3): Likewise.
3882         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3883         (__ASSUME_UTIMES): Likewise.
3884         (__ASSUME_O_CLOEXEC): Likewise.
3885         (__ASSUME_SOCK_CLOEXEC): Likewise.
3886         (__ASSUME_IN_NONBLOCK): Likewise.
3887         (__ASSUME_PIPE2): Likewise.
3888         (__ASSUME_EVENTFD2): Likewise.
3889         (__ASSUME_SIGNALFD4): Likewise.
3890         (__ASSUME_DUP3): Likewise.
3891         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3892         (__ASSUME_UTIMES): Likewise.
3893         (__ASSUME_O_CLOEXEC): Likewise.
3894         (__ASSUME_SOCK_CLOEXEC): Likewise.
3895         (__ASSUME_IN_NONBLOCK): Likewise.
3896         (__ASSUME_PIPE2): Likewise.
3897         (__ASSUME_EVENTFD2): Likewise.
3898         (__ASSUME_SIGNALFD4): Likewise.
3899         (__ASSUME_DUP3): Likewise.
3900         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3901         Likewise.
3902         (__ASSUME_UTIMES): Likewise.
3903         (__ASSUME_EVENTFD2): Likewise.
3904         (__ASSUME_SIGNALFD4): Likewise.
3905         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3906         (__ASSUME_O_CLOEXEC): Likewise.
3907         (__ASSUME_SOCK_CLOEXEC): Likewise.
3908         (__ASSUME_IN_NONBLOCK): Likewise.
3909         (__ASSUME_PIPE2): Likewise.
3910         (__ASSUME_EVENTFD2): Likewise.
3911         (__ASSUME_SIGNALFD4): Likewise.
3912         (__ASSUME_DUP3): Likewise.
3913         (__ASSUME_UTIMES): Undefine.
3914
3915         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3916         feclearexcept.  Remove symbol versioning code.
3917         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
3918         symbol versioning code.
3919         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
3920         symbol versioning code.
3921         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3922         feupdateenv.  Remove symbol versioning code.
3923         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3924         fegetexceptflag.  Remove symbol versioning code.
3925         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3926         fesetexceptflag.  Remove symbol versioning code.
3927         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3928         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
3929         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3930         (__posix_fadvise64_l32): Remove prototype.
3931         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3932         code.
3933
3934 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3935
3936         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3937         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3938         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3939         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3940
3941 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
3942
3943         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3944         current working directory
3945
3946 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3947
3948         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3949         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3950         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3951         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3952         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3953         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3954         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3955         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3956         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3957         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3958         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3959         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3960         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3961         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3962         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3963         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3964         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3965         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3966         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3967         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3968         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3969         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3970         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3971         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3972         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3973         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3974         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3975         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3976         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3977         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3978         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3979         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3980         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3981         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3982         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3983         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3984         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3985         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3986         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3987         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3988         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3989         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3990
3991         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3992         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3993
3994         * sysdeps/unix/sysv/linux/arm/Makefile
3995         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3996         Add rt-aeabi_unwind_cpp_pr1.
3997         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3998         Add nptl-aeabi_unwind_cpp_pr1.
3999         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4000         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4001         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4002         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4003         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4004         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4005
4006         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4007         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4008         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4009         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4010
4011         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4012         Deconditionalize the code that was previously under [RESET_PID].
4013         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4014
4015         * sysdeps/generic/exit-thread.h: New file.
4016         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4017         * include/unistd.h (__exit_thread): Remove declaration.
4018         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4019         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4020         * csu/libc-start.c: Include <exit-thread.h>.
4021         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4022         * nptl/pthread_create.c: Include <exit-thread.h>.
4023         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4024         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4025         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4026         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4027         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4028         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4029         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4030         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4031         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4032         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4033         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4034         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4035         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4036         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4037         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4038         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4039         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4040
4041 2014-05-13  Andreas Schwab  <schwab@suse.de>
4042
4043         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4044
4045 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4046
4047         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4048         (__ASSUME_UTIMES): Do not condition on kernel version.
4049         (__ASSUME_PSELECT): Define unconditionally.
4050         (__ASSUME_PPOLL): Likewise.
4051         (__ASSUME_ATFCTS): Likewise.
4052         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4053         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4054         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4055         (__ASSUME_UTIMENSAT): Define unconditionally.
4056         (__ASSUME_PRIVATE_FUTEX): Likewise.
4057         (__ASSUME_FALLOCATE): Likewise.
4058         (__ASSUME_O_CLOEXEC): Likewise.
4059         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4060         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4061         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4062         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4063         (__ASSUME_IN_NONBLOCK): Likewise.
4064         (__ASSUME_PIPE2): Likewise.
4065         (__ASSUME_EVENTFD2): Likewise.
4066         (__ASSUME_SIGNALFD4): Likewise.
4067         (__ASSUME_DUP3): Likewise.
4068         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4069         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4070         (__ASSUME_AT_RANDOM): Likewise.
4071         (__ASSUME_PREADV): Likewise.
4072         (__ASSUME_PWRITEV): Likewise.
4073         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4074         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4075         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4076         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4077         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4078         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4079         (__ASSUME_O_CLOEXEC): Define unconditionally.
4080         (__ASSUME_PSELECT): Do not undefine conditionally.
4081         (__ASSUME_PPOLL): Likewise.
4082         (__ASSUME_ATFCTS): Likewise.
4083         (__ASSUME_SET_ROBUST_LIST): Likewise.
4084         (__ASSUME_UTIMENSAT): Likewise.
4085         (__ASSUME_FDATASYNC): Define unconditionally.
4086         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4087         (__ASSUME_SIGFRAME_V2): Likewise.
4088         )__ASSUME_EVENTFD2): Likewise.
4089         (__ASSUME_SIGNALFD4): Likewise.
4090         (__ASSUME_PSELECT): Do not undefine conditionally.
4091         (__ASSUME_PPOLL): Likewise.
4092         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4093         (__ASSUME_PSELECT): Define unconditionally.
4094         (__ASSUME_PPOLL): Likewise.
4095         (__ASSUME_O_CLOEXEC): Likewise.
4096         (__ASSUME_SOCK_CLOEXEC): Likewise.
4097         (__ASSUME_IN_NONBLOCK): Likewise.
4098         (__ASSUME_PIPE2): Likewise.
4099         (__ASSUME_EVENTFD2): Likewise.
4100         (__ASSUME_SIGNALFD4): Likewise.
4101         (__ASSUME_DUP3): Likewise.
4102         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4103         (__ASSUME_O_CLOEXEC): Likewise.
4104         (__ASSUME_SOCK_CLOEXEC): Likewise.
4105         (__ASSUME_IN_NONBLOCK): Likewise.
4106         (__ASSUME_PIPE2): Likewise.
4107         (__ASSUME_EVENTFD2): Likewise.
4108         (__ASSUME_SIGNALFD4): Likewise.
4109         (__ASSUME_DUP3): Likewise.
4110         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4111         (__ASSUME_EVENTFD2): Likewise.
4112         (__ASSUME_SIGNALFD4): Likewise.
4113         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4114
4115 2014-05-12  Andreas Schwab  <schwab@suse.de>
4116
4117         [BZ #16932]
4118         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4119         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4120         than maximum RPC packet size.
4121         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4122         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4123         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4124         (_nss_nis_getservbyport_r): Likewise.
4125
4126 2014-05-12  Will Newton  <will.newton@linaro.org>
4127
4128         * malloc/Makefile (tests): Add tst-mallopt.
4129         * malloc/tst-mallopt.c: New file.
4130
4131 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4132
4133         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4134         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4135
4136 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4137
4138         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4139         (tst-tlsmod6.so): Likewise.
4140
4141 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4142
4143         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4144
4145 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4146
4147         [BZ #16064]
4148         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4149         and <dl-procinfo.h>.
4150         (__fegetenv): Save SSE state in envp->__eip if supported.
4151         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4152         envp->__eip if supported.
4153         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4154         and <dl-procinfo.h>.
4155         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4156         __data_offset and __data_selector in environment to 0.  Set SSE
4157         state if supported.
4158         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4159         test-fenv-sse.
4160         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4161         -mfpmath=sse.
4162         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4163
4164 2014-05-09  Will Newton  <will.newton@linaro.org>
4165
4166         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4167         and libc_relro_required for ARM.
4168         * sysdeps/arm/preconfigure: Regenerate.
4169
4170 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4171             Stefan Liebler  <stli@linux.vnet.ibm.com>
4172
4173         * config.make.in (enable-lock-elision): New Makefile variable.
4174         * configure.ac: Likewise.
4175         * configure: Regenerate.
4176         * sysdeps/s390/configure.ac:
4177         Add check for gcc transactions support.
4178         * sysdeps/s390/configure: Regenerate.
4179         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4180         Build elision files if enabled.
4181         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4182         Add lock elision support for s390.
4183         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4184         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4185         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4186         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4187         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4188         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4189         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4190         Likewise.
4191         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4192         Likewise.
4193         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4194         Likewise.
4195         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4196         Likewise.
4197         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4198         (__lll_timedlock_elision, __lll_lock_elision)
4199         (__lll_unlock_elision, __lll_trylock_elision)
4200         (lll_timedlock_elision, lll_lock_elision)
4201         (lll_unlock_elision, lll_trylock_elision): Add.
4202         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4203         (pthread_mutex_t): Add lock elision support for s390.
4204
4205 2014-05-14  Wilco  <wdijkstr@arm.com>
4206
4207         * sysdeps/arm/fclrexcpt.c: Cleanup.
4208         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4209         * sysdeps/arm/feenablxcpt.c: Cleanup.
4210         * sysdeps/arm/fegetenv.c: Cleanup.
4211         * sysdeps/arm/fegetexcept.c: Cleanup.
4212         * sysdeps/arm/fegetround.c: Cleanup.
4213         * sysdeps/arm/feholdexcpt.c: Cleanup.
4214         * sysdeps/arm/fesetenv.c: Cleanup.
4215         * sysdeps/arm/fesetround.c: Cleanup.
4216         * sysdeps/arm/feupdateenv.c: Cleanup.
4217         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4218         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4219         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4220         * sysdeps/arm/ftestexcept.c: Cleanup.
4221         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4222         * sysdeps/arm/setfpucw.c: Cleanup.
4223
4224 2014-05-09  Will Newton  <will.newton@linaro.org>
4225
4226         * sysdeps/arm/armv7/strcmp.S: New file.
4227         * NEWS: Mention addition of ARMv7 optimized strcmp.
4228
4229 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4230
4231         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4232         look for %.ac rather than %.in.
4233
4234         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4235         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4236         * sysdeps/mach/hurd/configure: Regenerated.
4237         * sysdeps/unix/sysv/linux/configure: Regenerated.
4238
4239         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4240
4241 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4242
4243         [BZ# 16922]
4244         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4245         (LONG_SUB): Ditto.
4246         (PTR_SUB): Ditto.
4247
4248 2014-05-07  Andreas Schwab  <schwab@suse.de>
4249
4250         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4251         when skipping over non-matching result from nscd.
4252
4253 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
4254
4255         [BZ #16876]
4256         * nptl/sockperf.c (client): Check socket return value.
4257
4258         [BZ #16877]
4259         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4260         nscd security class.
4261
4262 2014-05-06  Roland McGrath  <roland@hack.frob.com>
4263
4264         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4265         * sysdeps/arm/unwind.h: ... here.
4266
4267 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
4268
4269         [BZ# 16916]
4270         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4271         Define.
4272
4273 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4274
4275         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4276         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4277         multiarch strncpy for PPC64.
4278         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4279         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4280         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4281         multiarch optimizations.
4282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4283         (__libc_ifunc_impl_list): Likewise.
4284         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4285         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4286         multiarch stpncpy for PPC64.
4287         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4288         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4289
4290 2014-05-06  Andreas Schwab  <schwab@suse.de>
4291
4292         [BZ #16912]
4293         * gmon/mcount.c (_MCOUNT_DECL): Use
4294         atomic_compare_and_exchange_bool_acq instead of
4295         catomic_compare_and_exchange_bool_acq.
4296
4297 2014-05-05  Roland McGrath  <roland@hack.frob.com>
4298
4299         * elf/Makefile (others, install-bin): Remove pldd.
4300         (pldd-modules): Variable removed.
4301         ($(objpfx)pldd): Target removed.
4302         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4303         (others, install-bin): Append pldd here.
4304         ($(objpfx)pldd): New target.
4305
4306         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4307         to 0, so the first #if test emitted later doesn't see it undefined.
4308         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4309         * sysdeps/gnu/errlist.c: Regenerated.
4310
4311 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4312
4313         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4314         [libc_hidden_builtin_def]: Define to empty value.
4315         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4316         [libc_hidden_builtin_def]: Likewise.
4317         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4318         [libc_hidden_builtin_def]: Likewise.
4319         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4320         [libc_hidden_builtin_def]: Likewise.
4321         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4322         __redirect_memcpy and define ifunc as default hidden symbol.
4323         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4324         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4325
4326 2014-05-04  Adam Conrad  <adconrad@0c3.net>
4327
4328         * locale/iso-4217.def: Reintroduce XDR currency.
4329
4330 2014-05-04  Allan McRae  <allan@archlinux.org>
4331
4332         * po/eo.po: Update Esperanto translation from translation project.
4333
4334 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
4335
4336         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4337         and FEATURE_INDEX_MAX to 1.
4338         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4339
4340 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4341
4342         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4343         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4344         * iconvdata/big5.c (ONE_DIRECTION): Define.
4345         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4346         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4347         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4348         * iconvdata/cp932.c (ONE_DIRECTION): Define.
4349         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4350         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4351         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4352         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4353         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4354         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4355         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4356         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4357         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4358         * iconvdata/gbk.c (ONE_DIRECTION): Define.
4359         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4360         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4361         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4362         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4363         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4364         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4365         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4366         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4367         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4368         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4369         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4370         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4371         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4372         * iconvdata/iso646.c (ONE_DIRECTION): Define.
4373         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4374         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4375         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4376         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4377         * iconvdata/johab.c (ONE_DIRECTION): Define.
4378         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4379         * iconvdata/sjis.c (ONE_DIRECTION): Define.
4380         * iconvdata/t.61.c (ONE_DIRECTION): Define.
4381         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4382         * iconvdata/tscii.c (ONE_DIRECTION): Define.
4383         * iconvdata/uhc.c (ONE_DIRECTION): Define.
4384         * iconvdata/unicode.c (ONE_DIRECTION): Define.
4385         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4386         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4387         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4388
4389 2014-05-01  Roland McGrath  <roland@hack.frob.com>
4390
4391         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4392         (_IO_JUMPS_OFFSET): Define to 0.
4393
4394         * nptl/sysdeps/pthread/bits/libc-lock.h
4395         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4396         (__libc_lock_define_initialized_recursive): Always define using
4397         initializer.  Modern compilers treat uninitialized (implicit zero) and
4398         explicit zero initializers the same (i.e. put the datum in bss).
4399
4400 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4401
4402         * nscd/nscd-client.h: Include <string.h>.
4403
4404 2014-05-01  David S. Miller  <davem@davemloft.net>
4405
4406         [BZ #16885]
4407         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4408         multiple zero bytes exist at the end of a string.
4409         Reported by Aurelien Jarno <aurelien@aurel32.net>
4410
4411         * string/test-strcmp.c (check): Add explicit test for situations where
4412         there are multiple zero bytes after the first.
4413
4414 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4415
4416         [BZ #16890]
4417         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4418         when compiling wprintf.
4419         * stdio-common/tstdiomisc.c (t3): New function.
4420         (main): Call it.
4421
4422 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4423
4424         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4425         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4426         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4427         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4428
4429 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4430
4431         * stdlib/longlong.h: Updated from GCC.
4432
4433 2014-05-01  Will Newton  <will.newton@linaro.org>
4434             Bernard Ogden  <bernie.ogden@linaro.org>
4435
4436         * NEWS: Update fixed bug list.
4437
4438         [BZ #15119]
4439         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4440
4441 2014-04-30  David S. Miller  <davem@davemloft.net>
4442
4443         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4444         (libc_feholdexcept_setround_sparc_ctx): New function.
4445         (libc_fesetenv_sparc_ctx): Likewise.
4446         (libc_feupdateenv_sparc_ctx): Likewise.
4447         (libc_feholdsetround_sparc_ctx): Likewise.
4448         (libc_feholdexcept_setround_ctx): Define.
4449         (libc_feholdexcept_setroundf_ctx): Likewise.
4450         (libc_feholdexcept_setroundl_ctx): Likewise.
4451         (libc_fesetenv_ctx): Likewise.
4452         (libc_fesetenvf_ctx): Likewise.
4453         (libc_fesetenvl_ctx): Likewise.
4454         (libc_feupdateenv_ctx): Likewise.
4455         (libc_feupdateenvf_ctx): Likewise.
4456         (libc_feupdateenvl_ctx): Likewise.
4457         (libc_feresetround_ctx): Likewise.
4458         (libc_feresetroundf_ctx): Likewise.
4459         (libc_feresetroundl_ctx): Likewise.
4460         (libc_feholdsetround_ctx): Likewise.
4461         (libc_feholdsetroundf_ctx): Likewise.
4462         (libc_feholdsetroundl_ctx): Likewise.
4463
4464         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4465         with __USE_GNU instead of XOPEN cpp guards.
4466
4467         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4468         0.
4469
4470         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4471         with XOPEN cpp guards.
4472
4473 2014-04-30  Julian Brown  <julian@codesourcery.com>
4474
4475         [BZ #16888]
4476         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4477         handling.
4478
4479 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
4480
4481         [BZ #9894]
4482         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4483         Change to 2.6.32.
4484         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4485         * sysdeps/unix/sysv/linux/configure: Regenerated.
4486         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4487         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4488         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4489         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4490         * README: Update reference to required Linux kernel version.
4491         * manual/install.texi (Linux): Update reference to required Linux
4492         kernel headers version.
4493         * INSTALL: Regenerated.
4494
4495         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4496         header inclusion.
4497         [POSIX] (limits.h): Likewise.
4498         [POSIX] (math.h): Likewise.
4499         [POSIX] (sys/wait.h): Likewise.
4500         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4501         function.
4502         [POSIX] (stddef.h): Do not allow header inclusion.
4503
4504 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4505
4506         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4507
4508 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
4509
4510         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4511         Return immediately after lll_futex_wake.
4512
4513 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4514
4515         [BZ #16791]
4516         * nscd/nscd-client.h (datahead_init_common): Initialize entire
4517         structure.
4518         (datahead_init_pos): Call datahead_init_common early.
4519         (datahead_init_neg): Likewise.
4520
4521         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4522         datahead_init_neg): New functions.
4523         * nscd/aicache.c (addhstaiX): Use them.
4524         * nscd/grpcache.c (cache_addgr): Likewise.
4525         * nscd/hstcache.c (cache_addhst): Likewise.
4526         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4527         * nscd/netgroupcache.c (do_notfound): Likewise.
4528         (addgetnetgrentX): Likewise.
4529         (addinnetgrX): Likewise.
4530         * nscd/pwdcache.c (cache_addpw): Likewise.
4531         * nscd/servicescache.c (cache_addserv): Likewise.
4532
4533 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4534             Atsushi Onoe  <atsushi@onoe.org>
4535
4536         [BZ #14308]
4537         [BZ #12994]
4538         [BZ #13651]
4539         * resolv/res_query.c (__libc_res_nsearch): Return if at least
4540         one response is valid.
4541         * resolv/res_send.c (send_dg): Check for validity of other
4542         response if the current response is a referral.
4543
4544 2014-04-29  Steve Ellcey  <sellcey@mips.com>
4545
4546         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4547
4548 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
4549
4550         [BZ #16823]
4551         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4552         Always divide by positive zero when computing -Inf result.
4553         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4554         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4555
4556 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4557
4558         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4559         FPSCR if value do not change.
4560         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4561         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4562         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4563         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4564         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4565         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4566         function.
4567
4568 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
4569
4570         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4571         * sysdeps/unix/sysv/linux/hppa: Move directory from
4572         ports/systeps/unix/sysv/linux/hppa.
4573         * README: Update listing for hppa-*-linux-gnu.
4574
4575 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
4576
4577         [BZ #16754]
4578         * manual/stdio.texi (Hook functions): Fix types of stream hook
4579         functions.
4580         [BZ #16854]
4581         * socket/sys/socket.h: Fix typo in comment.
4582
4583 2014-04-28  Wilco  <wdijkstr@arm.com>
4584
4585         * sysdeps/arm/fenv_private.h: New file.
4586         * sysdeps/arm/math_private.h: New file.
4587         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4588
4589 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
4590
4591         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4592         with __int128_t.
4593         (La_x86_64_retval): Likewise.
4594
4595 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
4596
4597         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4598         fpsr if value didn't change.
4599         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4600         to fpcr if value didn't change.
4601         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4602         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4603         fpsr or fpcr if value didn't change.
4604         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4605         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4606         fpcr if value didn't change.
4607         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4608         to fpsr if value didn't change.
4609
4610 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4611
4612         * nptl/tst-sem3.c: Use test-skeleton.c
4613         (main): Rename to do_test.  Use return instead of
4614         exit.
4615         * nptl/tst-sem4.c: Use test-skeleton.c
4616         (main): Rename to do_test.
4617
4618 2014-04-22  David S. Miller  <davem@davemloft.net>
4619
4620         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4621         (struct sigaction): New struct member __glibc_reserved0, change
4622         type of sa_flags to int.
4623
4624 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
4625
4626         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4627         (COUNT_LEADING_ZEROS_0): Define for AArch64.
4628
4629 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4630
4631         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4632         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4633
4634 2014-04-22  Will Newton  <will.newton@linaro.org>
4635             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
4636
4637         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4638         (__longjmp): Add longjmp and longjmp_target SystemTap
4639         probes.
4640         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4641         (__sigsetjmp): Add setjmp SystemTap probe.
4642
4643 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
4644
4645         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4646         match manual order.
4647
4648 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4649
4650         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4651
4652         * sysdeps/powerpc/fpu/fenv_private.h
4653         (libc_feholdexcept_setroundl_ctx): Define to
4654         libc_feholdexcept_setround_ppc_ctx.
4655         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4656         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4657         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4658         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4659
4660 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4661
4662         * sysdeps/aarch64/math-tests.h: New file.
4663
4664 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
4665
4666         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4667         New.
4668         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4669         Check and set bit_AVX2_Usable.
4670         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4671         macro.
4672         (bit_AVX2): Likewise.
4673         (index_AVX2_Usable): Likewise.
4674         (CPUID_AVX2): Likewise.
4675         (HAS_AVX2): Likewise.
4676
4677 2014-04-17  Will Newton  <will.newton@linaro.org>
4678
4679         * manual/setjmp.texi (System V contexts): Add note that
4680         calling setcontext on a context created by a call to a
4681         signal handler is undefined.  Update text to note that
4682         setcontext from a signal handler is possible but not
4683         recommended.
4684
4685         [BZ #16629]
4686         * stdlib/tst-setcontext.c: Include signal.h.
4687         (main): Check that the signal stack before and
4688         after swapcontext is the same.
4689
4690         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4691         Re-implement to restore registers in user code and avoid
4692         rt_sigreturn system call.
4693
4694 2014-04-17  Wilco  <wdijkstr@arm.com>
4695
4696         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4697         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4698         * math/test-fenv.c: Skip exception trap tests on targets which only
4699         support non-stop mode.
4700
4701 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4702             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4703
4704         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4705         (libc_feholdsetround_aarch64_ctx)
4706         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4707         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4708         (libc_feresetround_ctx, libc_feresetroundf_ctx)
4709         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4710         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4711         (libc_feresetround_noexl_ctx): Define.
4712
4713 2014-04-16  Richard Henderson  <rth@redhat.com>
4714
4715         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4716
4717         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4718         unwind tables.
4719
4720         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4721         const from the non-libc, non-ldso copy.
4722
4723         * sysdeps/alpha/libm-test-ulps: Regenerate.
4724
4725 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
4726             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4727
4728         * sysdeps/aarch64/fpu/math_private.h: New file.
4729
4730 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4731
4732         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4733
4734 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
4735
4736         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4737         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4738         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4739         Intel MPX bound registers before _dl_profile_fixup.
4740         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4741         registers after _dl_profile_fixup.  Save and restore bound
4742         registers bnd0/bnd1 when calling _dl_call_pltexit.
4743         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4744         (LR_BND_OFFSET): Likewise.
4745         (LRV_BND0_OFFSET): Likewise.
4746         (LRV_BND1_OFFSET): Likewise.
4747
4748 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4749
4750         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4751         to...
4752         * sysdeps/mach/hurd/i386/tls.h: ... here.
4753         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4754         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4755         fields.
4756
4757 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4758
4759         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4760
4761 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4762
4763         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4764
4765 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4766
4767         [BZ #14770]
4768         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4769         * sysdeps/s390/configure: Regenerate.
4770
4771         [BZ #16824]
4772         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4773         Set round-to-nearest internally to reduce error accumulation.
4774
4775 2014-04-16  Alan Modra  <amodra@gmail.com>
4776
4777         [BZ #16740]
4778         [BZ #16619]
4779         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4780         * math/libm-test.inc (frexp_test_data): Add tests.
4781         * NEWS: Update fixed bug list.
4782
4783 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4784
4785         * benchtests/Makefile: Depend on libraries in build directory.
4786         (bench-math): Separate out math tests.
4787         (bench-pthread): Separate out pthread tests.
4788         (bench): Include math and pthread tests.
4789
4790 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
4791
4792         [BZ #16831]
4793         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4794         _dl_debug_initialize.
4795
4796         * configure.ac: Remove SELinux header check.
4797         * configure: Regenerate.
4798         * nscd/selinux.c (perms): Array of const char* to permission names.
4799         (nscd_request_avc_has_perm): Call security_deny_unknown to find
4800         default policy. Call string_to_security_class and string_to_av_perm to
4801         translate strings. Enforce default policy and call avs_has_perm with
4802         results of translated strings.
4803
4804 2014-04-13  David S. Miller  <davem@davemloft.net>
4805
4806         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4807
4808 2014-04-12  Allan McRae  <allan@archlinux.org>
4809
4810         [BZ #16838]
4811         * manual/string.texi (Collation Functions): Fix qsort argument
4812         order in example.
4813         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4814
4815 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
4816
4817         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4818         Make the test a no-op if there are no exceptions defined.
4819
4820 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4821
4822         * elf/Makefile (tests): make tst-dlopen-aout conditional on
4823         enable-hardcoded-path-in-tests
4824
4825 2014-04-11  Will Newton  <will.newton@linaro.org>
4826
4827         * benchtests/Makefile (extra-objs): Add json-lib.o.
4828         (bench-func): Tidy up JSON output.
4829         * benchtests/bench-skeleton.c: Include json-lib.h.
4830         (main): Use JSON library functions to do output of
4831         benchmark results.
4832         * benchtests/bench-timing-type.c (main): Output the
4833         timing type simply, leaving formatting to the user.
4834         * benchtests/json-lib.c: New file.
4835         * benchtests/json-lib.h: Likewise.
4836
4837 2014-04-11  Torvald Riegel  <triegel@redhat.com>
4838
4839         [BZ #15215]
4840         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4841         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
4842         memory barriers.  Add comments.
4843         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4844         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4845         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4846         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4847         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4848         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4849
4850 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4851
4852         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4853         * sysdeps/s390/s390-64/configure.ac: ... this ...
4854         * sysdeps/s390/configure.ac: ... to here.
4855         * sysdeps/s390/s390-32/configure: Delete file.
4856         * sysdeps/s390/s390-64/configure: Delete file.
4857         * sysdeps/s390/configure: Regenerate.
4858
4859 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
4860
4861         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4862
4863 2014-04-11  Will Newton  <will.newton@linaro.org>
4864
4865         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4866         to zero if it is not defined elsewhere.  (mtrim): Test
4867         the value of MALLOC_DEBUG with #if rather than #ifdef.
4868
4869 2014-04-10 Torvald Riegel  <triegel@redhat.com>
4870
4871         * benchtests/pthread_once-inputs: New file.
4872         * benchtests/pthread_once-source.c: New file.
4873         * benchtests/README: Update documentation.
4874
4875 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
4876             H.J. Lu  <hongjiu.lu@intel.com>
4877
4878         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4879         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4880         * sysdeps/x86_64/configure: Regenerated.
4881         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4882         macro.
4883         (REGISTER_SAVE_RAX): Likewise.
4884         (REGISTER_SAVE_RCX): Likewise.
4885         (REGISTER_SAVE_RDX): Likewise.
4886         (REGISTER_SAVE_RSI): Likewise.
4887         (REGISTER_SAVE_RDI): Likewise.
4888         (REGISTER_SAVE_R8): Likewise.
4889         (REGISTER_SAVE_R9): Likewise.
4890         (REGISTER_SAVE_BND0): Likewise.
4891         (REGISTER_SAVE_BND1): Likewise.
4892         (REGISTER_SAVE_BND2): Likewise.
4893         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
4894         bound registers when calling _dl_fixup.
4895
4896 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4897
4898         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4899         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4900         of its definition.
4901         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4902         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4903         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4904         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4905         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4906         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4907         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4908
4909 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
4910
4911         [BZ #15514]
4912         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4913         pathconf(_PC_NAME_MAX).
4914
4915 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4916
4917         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4918         Remove macro usage.
4919         (__PTHREAD_SPINS): Move definition to ...
4920         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4921         (__PTHREAD_SPINS): ... here.
4922         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4923         (__PTHREAD_SPIN): Likewise.
4924         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4925         (__PTHREAD_SPIN): Likewise.
4926         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4927         (__PTHREAD_SPIN): Likewise.
4928         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4929         (__PTHREAD_SPIN): Likewise.
4930         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4931         (__PTHREAD_SPIN): Likewise.
4932         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4933         (__PTHREAD_SPIN): Likewise.
4934         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4935         (__PTHREAD_SPIN): Likewise.
4936         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4937         (__PTHREAD_SPIN): Likewise.
4938         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4939         (__PTHREAD_SPIN): Likewise.
4940         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4941         (__PTHREAD_SPIN): Likewise.
4942         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4943         (__PTHREAD_SPIN): Likewise.
4944         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4945         (__PTHREAD_SPIN): Likewise.
4946
4947         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4948         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4949         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4950         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4951         imply folder.
4952         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4953         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4954         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4955         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4956         correct imply path.
4957         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4958         strlen symbol for non multi-arch builds.
4959         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4960         missing hidden_def and weak_alias.
4961
4962 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
4963
4964         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4965
4966 2014-04-07  Will Newton  <will.newton@linaro.org>
4967
4968         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4969         and contents.  [!_LIBC] Remove #ifndef and contents.
4970         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
4971         * string/memccpy.c (__memccpy): Use ANSI prototype.
4972         * string/memfrob.c (memfrob): Likewise.
4973         * string/strcoll.c (STRCOLL): Likewise.
4974         * string/strlen.c (strlen): Likewise.
4975         * string/strtok.c (STRTOK): Likewise.
4976         * string/strcat.c: Remove unused #include of memcopy.h.
4977         (strcat): Use ANSI prototype.
4978         * string/strchr.c: Remove unused #include of memcopy.h.
4979         (strchr): Use ANSI prototype.
4980         * string/strcmp.c: Remove unused #include of memcopy.h.
4981         (strcmp): Use ANSI prototype.
4982         * string/strcpy.c: Remove unused #include of memcopy.h.
4983         (strcpy): Use ANSI prototype.
4984
4985 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4986
4987         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4988         * config.make.in (config-extra-cppflags): Set it from
4989         libc_extra_cppflags.
4990         * configure.ac (libc_extra_cflags): Make it accumulate over
4991         configure fragments.
4992         (libc_extra_cppflags): New flag.
4993         * configure. Regenerate.
4994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4995         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4996         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4998
4999         [BZ #16815]
5000         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5001         result for FE_DOWNWARD rounding mode.
5002         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5003         Likewise.
5004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5005
5006 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5007
5008         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5009         in function argument name.
5010
5011 2014-04-03  David Svoboda  <svoboda@cert.org>
5012
5013         [BZ #5666]
5014         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5015         explicitly.
5016
5017 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5018
5019         * elf/dl-unmap-segments.h: New file.
5020         * sysdeps/generic/ldsodefs.h
5021         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5022         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5023         * elf/dl-fptr.c: Likewise.
5024         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5025         * sysdeps/aarch64/tlsdesc.c: Likewise.
5026         * sysdeps/arm/tlsdesc.c: Likewise.
5027         * sysdeps/i386/tlsdesc.c: Likewise.
5028         * sysdeps/tile/dl-runtime.c: Likewise.
5029         * sysdeps/x86_64/tlsdesc.c: Likewise.
5030         * elf/dl-load.h: New file.
5031         * elf/dl-load.c: Include it.
5032         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5033         Macros moved to dl-load.h.
5034         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5035         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5036         Use _dl_unmap_segments in place of __munmap.
5037         Break out segment-mapping loop into ...
5038         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5039
5040 2014-04-03  Will Newton  <will.newton@linaro.org>
5041
5042         * elf/dl-lookup.c (do_lookup_x): Remove comment
5043         referring to nested function and move variable
5044         declarations down to before first use.
5045
5046 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5047
5048         [BZ #16799]
5049         [BZ #16800]
5050         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5051         with 0 numerator.
5052         * math/s_catanf.c (__catanf): Likewise.
5053         * math/s_catanh.c (__catanh): Likewise.
5054         * math/s_catanhf.c (__catanhf): Likewise.
5055         * math/s_catanhl.c (__catanhl): Likewise.
5056         * math/s_catanl.c (__catanl): Likewise.
5057         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5058         by positive zero when computing -Inf result.
5059         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5060         (catanh_test): Likewise.
5061         * sysdeps/i386/fpu/libm-test-ulps: Update.
5062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5063
5064         [BZ #16789]
5065         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5066         instead of using underflowing value in computing result.
5067         * math/s_clog10.c (__clog10): Likewise.
5068         * math/s_clog10f.c (__clog10f): Likewise.
5069         * math/s_clog10l.c (__clog10l): Likewise.
5070         * math/s_clogf.c (__clogf): Likewise.
5071         * math/s_clogl.c (__clogl): Likewise.
5072         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5073         (clog10_test): Likewise.
5074         * sysdeps/i386/fpu/libm-test-ulps: Update.
5075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5076
5077 2014-04-02  Alan Modra  <amodra@gmail.com>
5078
5079         [BZ #16739]
5080         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5081         output when value is near a power of two.  Use int64_t for lx and
5082         remove casts.  Use decimal rather than hex exponent constants.
5083         Don't use long double multiplication when double will suffice.
5084         * math/libm-test.inc (nextafter_test_data): Add tests.
5085         * NEWS: Add 16739 and 16786 to bug list.
5086
5087         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5088
5089         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5090
5091 2014-04-01  Will Newton  <will.newton@linaro.org>
5092
5093         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5094         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5095
5096 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5097
5098         [BZ #13347]
5099         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5100         * nptl/tst-setuid2.c: New file.
5101         * nptl/Makefile (xtests): Add tst-setuid2.
5102
5103 2014-04-01  Alan Modra  <amodra@gmail.com>
5104
5105         [BZ #16786]
5106         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5107
5108 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5109
5110         [BZ #6803]
5111         [BZ #6804]
5112         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5113         set errno as appropriate.
5114         * math/w_scalbf.c (__scalbf): Likewise.
5115         * math/w_scalbl.c (__scalbl): Likewise.
5116         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5117         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5118         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5119         Add more NaN tests.
5120
5121         [BZ #16349]
5122         * math/w_atan2.c: Include <errno.h>.
5123         (__atan2): Set errno for result underflowing to zero.
5124         * math/w_atan2f.c: Include <errno.h>.
5125         (__atan2f): Set errno for result underflowing to zero.
5126         * math/w_atan2l.c: Include <errno.h>.
5127         (__atan2l): Set errno for result underflowing to zero.
5128         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5129         tests.
5130         * math/auto-libm-test-out: Regenerated.
5131
5132 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5133
5134         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5135         Encode instruction correctly in little endian.
5136         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5137         Likewise.
5138         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5139         Likewise.
5140         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5141         Likewise.
5142         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5143         Likewise.
5144
5145 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5146
5147         [BZ #9894]
5148         * sysdeps/unix/sysv/linux/kernel-features.h
5149         [__sparc__ && !__arch64__ && !__sparc_v9__]
5150         (__ASSUME_SET_ROBUST_LIST): Do not define.
5151         [__sparc__ && !__arch64__ && !__sparc_v9__]
5152         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5153         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5154         Likewise.
5155         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5156         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5157         (__ASSUME_REQUEUE_PI): Likewise.
5158         (__ASSUME_SET_ROBUST_LIST): Likewise.
5159         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5160         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5161         Undefine.
5162         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5163         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5164         Likewise.
5165         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5166         Likewise.
5167         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5168         Likewise.
5169         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5170         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5171         Undefine.
5172         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5173         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5174         Likewise.
5175
5176         [BZ #16648]
5177         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5178         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5179         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5180
5181 2014-03-31  Will Newton  <will.newton@linaro.org>
5182
5183         * benchtests/Makefile (bench): Add ffs and ffsll to list
5184         of tests.
5185         * benchtests/ffs-inputs: New file.
5186         * benchtests/ffsll-inputs: Likewise.
5187
5188 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5189
5190         [BZ #16770]
5191         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5192         too large before casting to int.
5193         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5194         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5195         * math/libm-test.inc (scalb_test_data): Add more tests.
5196
5197 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5198
5199         * benchtests/Makefile (DETAILED_OPT): New make option.
5200         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5201         set.
5202         * benchtests/bench-skeleton.c: Include stdbool.h.
5203         (main): Store and print timings per input.
5204         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5205         member to each argument value.
5206         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5207         (_print_arg_data): Initialize per-input timing to 0.
5208
5209         * benchtests/Makefile (timing-type): New binary.
5210         (bench-clean): Also remove bench-timing-type.
5211         (bench): New target for timing-type.
5212         (bench-func): Print output in JSON format.
5213         * benchtests/bench-skeleton.c (main): Print output in JSON
5214         format.
5215         * benchtests/bench-timing-type.c: New file.
5216         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5217         (TIMING_PRINT_STATS): Remove.
5218         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5219         name separately.
5220
5221         * benchtests/bench-modf.c: Remove.
5222         * benchtests/modf-inputs: New inputs file.
5223
5224 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5225
5226         [BZ #16362]
5227         * math/s_clog10.c (M_PI_LOG10E): New macro.
5228         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5229         imaginary parts are 0.
5230         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5231         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5232         imaginary parts are 0.
5233         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5234         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5235         imaginary parts are 0.
5236         * math/libm-test.inc (clog10_test_data): Update expected results
5237         for when real and imaginary parts are 0.
5238
5239 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5240
5241         * elf/dl-load.c: Finish conversion of __builtin_expect into
5242         __glibc_{un}likely.
5243
5244 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
5245
5246         [BZ #16348]
5247         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5248         1+x for argument with exponent below -67.
5249         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5250         Likewise.
5251         * math/auto-libm-test-in: Add more tests of exp.
5252         * math/auto-libm-test-out: Regenerated.
5253
5254 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5255
5256         [BZ #16759]
5257         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5258         (nscd_getnetgrent): Use it.
5259
5260         [BZ #16760]
5261         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5262         of stpcpy.
5263
5264 2014-03-27  Andi Kleen  <ak@linux.intel.com>
5265
5266         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5267         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5268         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5269         (lll_robust_unlock): Remove out of line section. Use cfi
5270         intrinsics.
5271         (LLL_STUB_UNWIND_INFO*): Remove.
5272         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5273         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5274         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5275         (lll_robust_unlock): Remove out of line section. Use cfi
5276         intrinsics.
5277         (LLL_STUB_UNWIND_INFO*): Remove.
5278
5279 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5280
5281         [BZ #16758]
5282         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5283         blank values.
5284
5285 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5286
5287         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5288
5289 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
5290
5291         [BZ #16198]
5292         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5293         fnstenv.
5294         * math/test-fenv-preserve.c: New file.
5295         * math/Makefile (tests): Add test-fenv-preserve.
5296
5297 2014-03-26  Will Newton <will.newton@linaro.org>
5298
5299         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5300
5301 2014-03-25  Roland McGrath  <roland@hack.frob.com>
5302
5303         * scripts/versionlist.awk: Partition the version sets and emit all
5304         GLIBC_* (sorted) before all others (sorted).
5305
5306 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5307
5308         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5309         GLIBC_2.2.5 version.
5310
5311 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5312
5313         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5314         calls.
5315
5316         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5317         previous change.
5318
5319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5320
5321 2014-03-25  Andreas Schwab  <schwab@suse.de>
5322
5323         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5324         label to be used after in6ailist is initialized.
5325
5326 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5327
5328         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5329         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5330
5331 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5332
5333         [BZ #16357]
5334         [BZ #16599]
5335         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5336         min_plus_half.
5337         (fp_formats): Update initializers.
5338         (init_fp_formats): Initialize new field.
5339         (output_for_one_input_case): Allow underflow for results up to
5340         min_plus_half.
5341         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5342         * math/auto-libm-test-in: Don't mark some underflows from asin and
5343         atanh as spurious.
5344         * math/auto-libm-test-out: Regenerated.
5345         * sysdeps/i386/fpu/libm-test-ulps: Update.
5346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5347
5348 2014-03-25  Andreas Schwab  <schwab@suse.de>
5349
5350         * libio/Makefile (tst-ftell-partial-wide-ENV)
5351         (tst-ftell-active-handler-ENV): Define.
5352
5353 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
5354
5355         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5356
5357 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5358
5359         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5360
5361 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5362
5363         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5364         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5365         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5366
5367 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5368
5369         [BZ #16634]
5370         * elf/dl-load.c (open_verify): Add mode parameter.
5371         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5372         (open_path): Change from boolean 'secure' to complete flag 'mode'
5373         (_dl_map_object): Adjust.
5374         * elf/Makefile (tests): Add tst-dlopen-aout.
5375         * elf/tst-dlopen-aout.c: New test.
5376
5377 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
5378
5379         [BZ #16714]
5380         * sysdeps/unix/sysv/linux/s390/bits/stat.h
5381         (struct stat): Rename member pad0 to __glibc_reserved0.
5382
5383         [BZ #16712]
5384         * sysdeps/s390/s390-32/bits/wordsize.h
5385         (__WORDSIZE32_SIZE_ULONG): New define.
5386         * sysdeps/s390/s390-64/bits/wordsize.h
5387         (__WORDSIZE32_SIZE_ULONG): Likewise.
5388         * sysdeps/generic/stdint.h (SIZE_MAX):
5389         Define as UL if __WORDSIZE32_SIZE_ULONG.
5390
5391         [BZ #16713]
5392         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5393         (__glibc_reserved0): New variable.
5394         (sa_flags): Change type to int.
5395
5396         * posix/Makefile (before-compile): Use += before-compile instead
5397         of a :=.
5398
5399         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5400         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5401
5402 2014-03-20  Andreas Schwab  <schwab@suse.de>
5403
5404         [BZ #16743]
5405         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5406         non-matching result from nscd.
5407
5408 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5409
5410         * scripts/bench.py: Moved to ...
5411         * benchtests/scripts/bench.py: ... here.
5412         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5413
5414 2014-03-24  Andreas Schwab  <schwab@suse.de>
5415
5416         [BZ #16002]
5417         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5418         alloca_account and account alloca use for struct in6ailist.
5419
5420 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5421
5422         [BZ #16284]
5423         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5424         rounding mode to recompute results that overflow to infinity or
5425         underflow to zero.
5426         * math/auto-libm-test-in: Don't mark tests as expected to fail for
5427         bug 16284.
5428         * math/auto-libm-test-out: Regenerated.
5429         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5430         (ccosh_test): Likewise.
5431         (csin_test_data): Use plus_oflow.
5432         (csin_test): Use ALL_RM_TEST.
5433         (csinh_test_data): Use plus_oflow.
5434         (csinh_test): Use ALL_RM_TEST.
5435         * sysdeps/i386/fpu/libm-test-ulps: Update.
5436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5437
5438 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
5439
5440         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5441         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5442         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5443
5444         [BZ #16731]
5445         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5446         when x - 1 is zero.
5447         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5448         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5449         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5450         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5451         argument is 1.
5452         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5453         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5454         zero.
5455         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5456         * sysdeps/i386/fpu/libm-test-ulps: Update.
5457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5458
5459 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5460
5461         * scripts/bench.pl: Remove file.
5462         * scripts/bench.py: New benchmark script.
5463         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5464         * benchtests/README: Mention python dependency.
5465         * scripts/pylintrc: New file.
5466         * scripts/pylint: New file.
5467
5468         * bits/mathdef.h: Use #ifdef instead of #if.
5469         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5470         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5471         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5472         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5473         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5474         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5475
5476 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5477             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5478
5479         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5480         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5481         and strpbrk-ppc64 objects.
5482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5483         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5484         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5485         multiarch strpbrk for POWER7.
5486         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5487         multiarch strpbrk for PPC64.
5488         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5489         ifunc selector.
5490         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5491         strpbrk for POWER7.
5492
5493 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5494
5495         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5496         (atan_test): Likewise.
5497         (atanh_test_data): Use NO_TEST_INLINE for two tests.
5498         (atanh_test): Use ALL_RM_TEST.
5499         (atan2_test_data): Likewise.
5500         (cabs_test): Likewise.
5501         (cacosh_test): Likewise.
5502         (carg_test): Likewise.
5503         (casin_test): Likewise.
5504         (casinh_test): Likewise.
5505         (cbrt_test): Likewise.
5506         (csqrt_test): Likewise.
5507         (erf_test): Likewise.
5508         (erfc_test): Likewise.
5509         (pow10_test): Likewise.
5510         (exp2_test): Likewise.
5511         (hypot_test): Likewise.
5512         (j0_test): Likewise.
5513         (j1_test): Likewise.
5514         (lgamma_test): Likewise.
5515         (gamma_test): Likewise.
5516         (sincos_test): Likewise.
5517         (tanh_test): Likewise.
5518         (y0_test): Likewise.
5519         (y1_test): Likewise.
5520         * sysdeps/i386/fpu/libm-test-ulps: Update.
5521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5522
5523 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5524
5525         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5526         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5527         and strcspn-ppc64 objects.
5528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5529         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5530         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5531         multiarch strcspn for POWER7.
5532         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5533         multiarch strcspn for PPC64.
5534         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5535         ifunc selector.
5536         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5537         strcspn for POWER7.
5538
5539 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5540
5541         * math/gen-libm-test.pl (generate_testfile): Expect only function
5542         name as argument to AUTO_TESTS_* and pass results for all rounding
5543         modes to parse_args.
5544         (parse_auto_input): Separate inputs of automatic tests from
5545         outputs before storing in %auto_tests.
5546         * math/libm-test.inc (acos_test_data): Update call to
5547         AUTO_TESTS_f_f.
5548         (acos_test): Use ALL_RM_TEST.
5549         (acos_tonearest_test_data): Remove.
5550         (acos_test_tonearest): Likewise.
5551         (acos_towardzero_test_data): Likewise.
5552         (acos_test_towardzero): Likewise.
5553         (acos_downward_test_data): Likewise.
5554         (acos_test_downward): Likewise.
5555         (acos_upward_test_data): Likewise.
5556         (acos_test_upward): Likewise.
5557         (acosh_test_data): Update call to AUTO_TESTS_f_f.
5558         (asin_test_data): Likewise.
5559         (asin_test): Use ALL_RM_TEST.
5560         (asin_tonearest_test_data): Remove.
5561         (asin_test_tonearest): Likewise.
5562         (asin_towardzero_test_data): Likewise.
5563         (asin_test_towardzero): Likewise.
5564         (asin_downward_test_data): Likewise.
5565         (asin_test_downward): Likewise.
5566         (asin_upward_test_data): Likewise.
5567         (asin_test_upward): Likewise.
5568         (asinh_test_data): Update call to AUTO_TESTS_f_f.
5569         (atan_test_data): Likewise.
5570         (atanh_test_data): Likewise.
5571         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5572         (cabs_test_data): Update call to AUTO_TESTS_c_f.
5573         (carg_test_data): Likewise.
5574         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5575         (ccos_test_data): Update call to AUTO_TESTS_c_c.
5576         (ccosh_test_data): Likewise.
5577         (cexp_test_data): Likewise.
5578         (clog_test_data): Likewise.
5579         (clog10_test_data): Likewise.
5580         (cos_test_data): Update call to AUTO_TESTS_f_f.
5581         (cos_test): Use ALL_RM_TEST.
5582         (cos_tonearest_test_data): Remove.
5583         (cos_test_tonearest): Likewise.
5584         (cos_towardzero_test_data): Likewise.
5585         (cos_test_towardzero): Likewise.
5586         (cos_downward_test_data): Likewise.
5587         (cos_test_downward): Likewise.
5588         (cos_upward_test_data): Likewise.
5589         (cos_test_upward): Likewise.
5590         (cosh_test_data): Update call to AUTO_TESTS_f_f.
5591         (cosh_test): Use ALL_RM_TEST.
5592         (cosh_tonearest_test_data): Remove.
5593         (cosh_test_tonearest): Likewise.
5594         (cosh_towardzero_test_data): Likewise.
5595         (cosh_test_towardzero): Likewise.
5596         (cosh_downward_test_data): Likewise.
5597         (cosh_test_downward): Likewise.
5598         (cosh_upward_test_data): Likewise.
5599         (cosh_test_upward): Likewise.
5600         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5601         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5602         (ctan_test_data): Likewise.
5603         (ctan_test): Use ALL_RM_TEST.
5604         (ctan_tonearest_test_data): Remove.
5605         (ctan_test_tonearest): Likewise.
5606         (ctan_towardzero_test_data): Likewise.
5607         (ctan_test_towardzero): Likewise.
5608         (ctan_downward_test_data): Likewise.
5609         (ctan_test_downward): Likewise.
5610         (ctan_upward_test_data): Likewise.
5611         (ctan_test_upward): Likewise.
5612         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5613         (ctanh_test): Use ALL_RM_TEST.
5614         (ctanh_tonearest_test_data): Remove.
5615         (ctanh_test_tonearest): Likewise.
5616         (ctanh_towardzero_test_data): Likewise.
5617         (ctanh_test_towardzero): Likewise.
5618         (ctanh_downward_test_data): Likewise.
5619         (ctanh_test_downward): Likewise.
5620         (ctanh_upward_test_data): Likewise.
5621         (ctanh_test_upward): Likewise.
5622         (erf_test_data): Update call to AUTO_TESTS_f_f.
5623         (erfc_test_data): Likewise.
5624         (exp_test_data): Likewise.
5625         (exp_test): Use ALL_RM_TEST.
5626         (exp_tonearest_test_data): Remove.
5627         (exp_test_tonearest): Likewise.
5628         (exp_towardzero_test_data): Likewise.
5629         (exp_test_towardzero): Likewise.
5630         (exp_downward_test_data): Likewise.
5631         (exp_test_downward): Likewise.
5632         (exp_upward_test_data): Likewise.
5633         (exp_test_upward): Likewise.
5634         (exp10_test_data): Update call to AUTO_TESTS_f_f.
5635         (exp10_test): Use ALL_RM_TEST.
5636         (exp10_tonearest_test_data): Remove.
5637         (exp10_test_tonearest): Likewise.
5638         (exp10_towardzero_test_data): Likewise.
5639         (exp10_test_towardzero): Likewise.
5640         (exp10_downward_test_data): Likewise.
5641         (exp10_test_downward): Likewise.
5642         (exp10_upward_test_data): Likewise.
5643         (exp10_test_upward): Likewise.
5644         (exp2_test_data): Update call to AUTO_TESTS_f_f.
5645         (expm1_test_data): Likewise.
5646         (expm1_test): Use ALL_RM_TEST.
5647         (expm1_tonearest_test_data): Remove.
5648         (expm1_test_tonearest): Likewise.
5649         (expm1_towardzero_test_data): Likewise.
5650         (expm1_test_towardzero): Likewise.
5651         (expm1_downward_test_data): Likewise.
5652         (expm1_test_downward): Likewise.
5653         (expm1_upward_test_data): Likewise.
5654         (expm1_test_upward): Likewise.
5655         (fma_test_data): Update call to AUTO_TESTS_fff_f.
5656         (fma_test): Use ALL_RM_TEST.
5657         (fma_towardzero_test_data): Remove.
5658         (fma_test_towardzero): Likewise.
5659         (fma_downward_test_data): Likewise.
5660         (fma_test_downward): Likewise.
5661         (fma_upward_test_data): Likewise.
5662         (fma_test_upward): Likewise.
5663         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5664         (j0_test_data): Update call to AUTO_TESTS_f_f.
5665         (j1_test_data): Likewise.
5666         (jn_test_data): Update call to AUTO_TESTS_if_f.
5667         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5668         (log_test_data): Update call to AUTO_TESTS_f_f.
5669         (log10_test_data): Likewise.
5670         (log1p_test_data): Likewise.
5671         (log2_test_data): Likewise.
5672         (pow_test_data): Update call to AUTO_TESTS_ff_f.
5673         (pow_tonearest_test_data): Likewise.
5674         (sin_test_data): Update call to AUTO_TESTS_f_f.
5675         (sin_test): Use ALL_RM_TEST.
5676         (sin_tonearest_test_data): Remove.
5677         (sin_test_tonearest): Likewise.
5678         (sin_towardzero_test_data): Likewise.
5679         (sin_test_towardzero): Likewise.
5680         (sin_downward_test_data): Likewise.
5681         (sin_test_downward): Likewise.
5682         (sin_upward_test_data): Likewise.
5683         (sin_test_upward): Likewise.
5684         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5685         (sinh_test_data): Update call to AUTO_TESTS_f_f.
5686         (sinh_test): Use ALL_RM_TEST.
5687         (sinh_tonearest_test_data): Remove.
5688         (sinh_test_tonearest): Likewise.
5689         (sinh_towardzero_test_data): Likewise.
5690         (sinh_test_towardzero): Likewise.
5691         (sinh_downward_test_data): Likewise.
5692         (sinh_test_downward): Likewise.
5693         (sinh_upward_test_data): Likewise.
5694         (sinh_test_upward): Likewise.
5695         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5696         (sqrt_test): Use ALL_RM_TEST.
5697         (sqrt_tonearest_test_data): Remove.
5698         (sqrt_test_tonearest): Likewise.
5699         (sqrt_towardzero_test_data): Likewise.
5700         (sqrt_test_towardzero): Likewise.
5701         (sqrt_downward_test_data): Likewise.
5702         (sqrt_test_downward): Likewise.
5703         (sqrt_upward_test_data): Likewise.
5704         (sqrt_test_upward): Likewise.
5705         (tan_test_data): Update call to AUTO_TESTS_f_f.
5706         (tan_test): Use ALL_RM_TEST.
5707         (tan_tonearest_test_data): Remove.
5708         (tan_test_tonearest): Likewise.
5709         (tan_towardzero_test_data): Likewise.
5710         (tan_test_towardzero): Likewise.
5711         (tan_downward_test_data): Likewise.
5712         (tan_test_downward): Likewise.
5713         (tan_upward_test_data): Likewise.
5714         (tan_test_upward): Likewise.
5715         (tanh_test_data): Update call to AUTO_TESTS_f_f.
5716         (tgamma_test_data): Likewise.
5717         (y0_test_data): Likewise.
5718         (y1_test_data): Likewise.
5719         (yn_test_data): Update call to AUTO_TESTS_if_f.
5720         (main): Do not call removed functions.
5721
5722 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5723
5724         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5725         (ldexp_test_data): Remove.
5726         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
5727         scalbn_test_data.
5728         (scalb_test): Use ALL_RM_TEST.
5729
5730 2014-03-19  Andreas Schwab  <schwab@suse.de>
5731
5732         * nscd/nscd.service: Also invalidate netgroup cache on reload.
5733
5734 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5735
5736         [BZ #16649]
5737         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5738         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5739         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5740         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5741         (__ASSUME_PREADV): Undefine.
5742         (__ASSUME_PWRITEV): Likewise.
5743
5744 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5745
5746         * bits/mman-linux.h: Add comment about non-Linux use.
5747         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5748         bits/mman-linux.h resting place.
5749
5750         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5751         * bits/mman-linux.h: ... here.
5752
5753 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5754
5755         * conform/conformtest.pl: Add standard definition when calling C
5756         preprocessor on data files.
5757         (checknamespace): Remove unused variable.
5758
5759 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5760
5761         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5762         minus_oflow, plus_uflow and minus_uflow in expected results.
5763         * math/libm-test.inc (scalbn_test_data): Add more tests of
5764         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
5765         minus_uflow.
5766         (scalbn_test): Use ALL_RM_TEST.
5767         (scalbln_test_data): Add more tests of negative arguments.  Use
5768         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5769         (scalbln_test): Use ALL_RM_TEST.
5770
5771 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5772
5773         * scripts/abilist.awk: Ignore symbols marked with .hidden.
5774
5775 2014-03-18  Will Newton  <will.newton@linaro.org>
5776
5777         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5778         inaccurate comment.
5779
5780 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5781
5782         * Makerules [!subdir] (check-abi): Exit with error status if a
5783         test failed.
5784
5785 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5786
5787         * math/libm-test.inc (nearbyint_test_data): Include all tests used
5788         for rint.  Include results for all rounding modes.
5789         (nearbyint_test): Use ALL_RM_TEST.
5790         (rint_test_data): Include all tests used for nearbyint.
5791
5792 2014-03-17  Will Newton  <will.newton@linaro.org>
5793
5794         * nptl/sysdeps/pthread/pthread.h: Revert previous
5795         change.
5796
5797         * sysdeps/generic/ldsodefs.h: Revert previous
5798         change.
5799
5800         * libio/genops.c: Revert previous change.
5801         * libio/libioP.h: Likewise.
5802         * stdio-common/vfprintf.c: Likewise.
5803
5804         * sysdeps/generic/math_private.h: Revert previous
5805         change.
5806
5807         * sysdeps/generic/math_private.h: Check whether
5808         HAVE_RM_CTX is defined with #ifdef rather
5809         than #if.
5810
5811         * argp/argp-fmtstream.h: Check whether
5812         __STRICT_ANSI__ is defined with #ifdef rather
5813         than #if.
5814         * argp/argp.h: Likewise.
5815
5816         * libio/genops.c: Check whether
5817         _IO_JUMPS_OFFSET is defined with #ifdef rather
5818         than #if.
5819         * libio/libioP.h: Likewise.
5820         * stdio-common/vfprintf.c: Likewise.
5821
5822         * sysdeps/generic/ldsodefs.h: Check whether
5823         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5824         than #if.
5825
5826         * nptl/sysdeps/pthread/pthread.h: Check
5827         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5828         its value.
5829
5830 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5831
5832         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5833         setting O_APPEND.
5834         * libio/tst-ftell-active-handler.c (do_append_test): Add a
5835         test case.
5836
5837         [BZ #16680]
5838         * libio/fileops.c (_IO_file_open): Seek to end of file but
5839         don't cache the offset.
5840         (get_file_offset): Remove function.
5841         (do_ftell): Use cached offset when available.
5842         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5843         don't cache the offset.
5844         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5845         case.
5846         (do_one_test): Call it.
5847         (do_ftell_test): Fix up expected old offset for a+ mode.
5848         * libio/wfileops.c (do_ftell_wide): Used cached offset when
5849         available.
5850
5851         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5852         up test status with function return status.
5853         (do_write_test): Likewise.
5854         (do_append_test): Likewise.
5855
5856         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5857         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5858         Remove.
5859
5860 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5861
5862         * math/gen-libm-test.pl (parse_args): Handle results specified for
5863         each rounding mode separately.
5864         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5865         tests and results from lrint_tonearest_test_data,
5866         lrint_towardzero_test_data, lrint_downward_test_data and
5867         lrint_upward_test_data.
5868         (lrint_test): Use ALL_RM_TEST.
5869         (lrint_tonearest_test_data): Remove.
5870         (lrint_test_tonearest): Likewise.
5871         (lrint_towardzero_test_data): Likewise.
5872         (lrint_test_towardzero): Likewise.
5873         (lrint_downward_test_data): Likewise.
5874         (lrint_test_downward): Likewise.
5875         (lrint_upward_test_data): Likewise.
5876         (lrint_test_upward): Likewise.
5877         (llrint_test_data): Merge in per-rounding-mode tests and results
5878         from llrint_tonearest_test_data, llrint_towardzero_test_data,
5879         llrint_downward_test_data and llrint_upward_test_data.
5880         (llrint_test): Use ALL_RM_TEST.
5881         (llrint_tonearest_test_data): Remove.
5882         (llrint_test_tonearest): Likewise.
5883         (llrint_towardzero_test_data): Likewise.
5884         (llrint_test_towardzero): Likewise.
5885         (llrint_downward_test_data): Likewise.
5886         (llrint_test_downward): Likewise.
5887         (llrint_upward_test_data): Likewise.
5888         (llrint_test_upward): Likewise.
5889         (rint_test_data): Merge in per-rounding-mode tests and results
5890         from rint_tonearest_test_data, rint_towardzero_test_data,
5891         rint_downward_test_data and rint_upward_test_data.  Add
5892         per-rounding-mode results for tests not in those arrays.
5893         (rint_test): Use ALL_RM_TEST.
5894         (rint_tonearest_test_data): Remove.
5895         (rint_test_tonearest): Likewise.
5896         (rint_towardzero_test_data): Likewise.
5897         (rint_test_towardzero): Likewise.
5898         (rint_downward_test_data): Likewise.
5899         (rint_test_downward): Likewise.
5900         (rint_upward_test_data): Likewise.
5901         (rint_test_upward): Likewise.
5902         (main): Don't call removed functions.
5903
5904 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5905
5906         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5907         "Compiled on ..." crapola.  It is anti-useful.
5908
5909 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
5910
5911         * scripts/evaluate-test.sh: Handle fourth argument to determine
5912         whether test run should stop on failure.
5913         * Makeconfig (stop-on-test-failure): New variable.
5914         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5915         $(stop-on-test-failure).
5916         * Makefile (tests): Give a summary of results from testing and
5917         exit with failure status if they include an ERROR or FAIL.
5918         (xtests): Likewise.
5919         * manual/install.texi (Configuring and compiling): Mention
5920         stop-on-test-failure=y.
5921         * INSTALL: Regenerated.
5922
5923 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5924
5925         * scripts/versionlist.awk: New file.
5926         * Makerules [$(build-shared) = yes]
5927         (postclean-generated): Add Versions.def, not Versions.def.v and
5928         Versions.def.v.i.
5929         ($(common-objpfx)Versions.def.v.i): Target removed.
5930         ($(common-objpfx)Versions.def): New target.
5931         ($(common-objpfx)Versions.all): Depend on that rather that
5932         $(common-objpfx)Versions.def.v.
5933         * Versions.def: File removed.
5934
5935         * Makeconfig (+gccwarn): Add -Wundef.
5936         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5937         a dl-sysdep.h breaking its contract.
5938         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5939         * include/stackinfo.h: New file.
5940         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5941         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5942         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5943         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5944         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5945         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5946         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5947         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5948         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5949         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5950         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5951         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5952         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5953         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5954         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5955
5956 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5957
5958         [BZ #16707]
5959         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5960         implementation.
5961         * math/libm-test.inc (round_test_data): Add more tests.
5962
5963         [BZ #16706]
5964         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5965         implementation.
5966         * math/libm-test.inc (nearbyint_test_data): Add more tests.
5967
5968         [BZ #16701]
5969         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5970         implementation.
5971         * math/libm-test.inc (ceil_test_data): Add more tests.
5972
5973         * math/libm-test.inc (trunc_test_data): Add more tests related to
5974         BZ#16414.
5975
5976 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5977
5978         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5979         with #if rather than #ifdef.
5980         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5981
5982 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
5983
5984         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5985         first.  Disable AVX-512 GCC support if assembler doesn't support
5986         it.
5987         * sysdeps/x86_64/configure: Regenerated.
5988
5989 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
5990
5991         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5992         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5993         (__old_pthread_attr_setstack): Likewise.
5994         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5995         [!_STACK_GROWS_DOWN]: Likewise.
5996
5997 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
5998
5999         * config.make.in (have-bash2): Delete.
6000         * configure.ac (libc_cv_have_bash2): Delete.
6001         * configure: Regenerate.
6002         * elf/Makefile (common-ldd-rewrite): Rename to ...
6003         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6004         (sh-ldd-rewrite): Delete.
6005         (bash-ldd-rewrite): Delete.
6006         (have-bash2): Delete checks.
6007         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6008         ldd-rewrite.
6009
6010         * config.make.in (have-ksh): Delete.
6011         (KSH): Delete.
6012         * configure.ac (libc_cv_have_ksh): Delete.
6013         * configure: Regenerate.
6014
6015         * elf/Makefile: Delete $(have-ksh) check.
6016         ($(objpfx)sotruss): Change KSH to BASH.
6017         * elf/sotruss.ksh: Rename to ...
6018         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6019         function style to match POSIX.  Drop ksh vim mode setting.
6020
6021         * manual/time.texi (Specifying the Time Zone with TZ): Change
6022         Tuesday to Thursday.
6023
6024         * debug/tst-longjmp_chk2.c: Update header comment.
6025         (stackoverflow_handler): Add comment.  Call assert on pass value.
6026
6027 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6028
6029         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6030         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6031         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6032         (La_x86_64_vector): Add zmm.
6033         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6034         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6035         ($(objpfx)tst-audit10): New target.
6036         ($(objpfx)tst-audit10.out): Likewise.
6037         (tst-audit10-ENV): New.
6038         (AVX512-CFLAGS): Likewise.
6039         (CFLAGS-tst-audit10.c): Likewise.
6040         (CFLAGS-tst-auditmod10a.c): Likewise.
6041         (CFLAGS-tst-auditmod10b.c): Likewise.
6042         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6043         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6044         * sysdeps/x86_64/configure: Regenerated.
6045         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6046         AVX-512 zmm register support.
6047         (_dl_x86_64_save_sse): Likewise.
6048         (_dl_x86_64_restore_sse): Likewise.
6049         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6050         size vector registers.
6051         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6052         (ZMM_SIZE): Likewise.
6053         * sysdeps/x86_64/tst-audit10.c: New file.
6054         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6055         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6056
6057 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6058
6059         * configure.ac (HAVE_EHDR_START): New check.
6060         * configure: Regenerated.
6061         * config.h.in (HAVE_EHDR_START): New #undef.
6062         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6063         assuming the lowest-addressed segment maps the start of the file.
6064
6065 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6066
6067         * INSTALL: Regenerated.
6068
6069 2014-03-13  Will Newton  <will.newton@linaro.org>
6070
6071         * manual/setjmp.texi (System V contexts): Improve
6072         clarity and grammar of documentation.
6073
6074 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6075
6076         [BZ #16381]
6077         * elf/Makefile (tests): Add tst-pie2.
6078         (tests-pie): Add tst-pie2.
6079         * elf/tst-pie2.c: New file.
6080         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6081         for ET_EXEC.
6082         * elf/rtld.c (map_doit): Load executable as lt_executable.
6083         (dl_main): Likewise.
6084
6085 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6086
6087         [BZ #16642]
6088         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6089         (__ASSUME_PSELECT): Undefine.
6090
6091 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6092
6093         [BZ #16689]
6094         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6095         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6096         static build.
6097         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6098         selector for static builds.
6099
6100 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6101
6102         [BZ #16695]
6103         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6104         key in the buffer.
6105
6106 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6107
6108         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6109         IFUNC selector for static builds.
6110
6111 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6112
6113         * sysdeps/mips/math_private.h [__mips_hard_float]
6114         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6115         libc_feresetround_mips_ctx.
6116         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6117         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6118         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6119
6120         [BZ #16677]
6121         * math/s_nextafter.c (__nextafter): Do not return value from
6122         overflowing computation.
6123         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6124         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6125         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6126         Likewise.
6127         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6128         Likewise.
6129         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6130         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6131
6132 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6133
6134         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6135         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6136         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6137         the new mov targetting sp.
6138
6139 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6140
6141         [BZ #16683]
6142         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6143         Define it for static builds as well.
6144         (NO_BZERO_IMPL): Likewise.
6145
6146 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6147
6148         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6149         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6150         multiarch strspn for PPC64.
6151         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6152         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6154         (__libc_ifunc_impl_list): Likewise.
6155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6156         multiarch optimizations
6157         * string/strspn.c (strspn): Using macro to redefine symbol name.
6158
6159 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6160             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6161
6162         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6163         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6164         multiarch strncat for PPC64.
6165         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6166         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6168         (__libc_ifunc_impl_list): Likewise.
6169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6170         multiarch optimizations
6171
6172 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6173
6174         [BZ #16639]
6175         * nscd/nscd.service: Make service type forking.
6176
6177 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6178
6179         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6180         sign in non default rounding modes.
6181         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6182
6183 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6184
6185         * math/libm-test.inc (ALL_RM_TEST): New macro.
6186         (ceil_test): Use ALL_RM_TEST.
6187         (cimag_test): Likewise.
6188         (conj_test): Likewise.
6189         (copysign_test): Likewise.
6190         (cproj_test): Likewise.
6191         (creal_test): Likewise.
6192         (fabs_test): Likewise.
6193         (floor_test): Likewise.
6194         (fmax_test): Likewise.
6195         (fmin_test): Likewise.
6196         (fmod_test): Likewise.
6197         (fpclassify_test): Likewise.
6198         (frexp_test): Likewise.
6199         (ilogb_test): Likewise.
6200         (isfinite_test): Likewise.
6201         (finite_test): Likewise.
6202         (isgreater_test): Likewise.
6203         (isgreaterequal_test): Likewise.
6204         (isinf_test): Likewise.
6205         (isless_test): Likewise.
6206         (islessequal_test): Likewise.
6207         (islessgreater_test): Likewise.
6208         (isnan_test): Likewise.
6209         (isnormal_test): Likewise.
6210         (issignaling_test): Likewise.
6211         (isunordered_test): Likewise.
6212         (logb_test): Likewise.
6213         (logb_downward_test_data): Remove.
6214         (logb_test_downward): Likewise.
6215         (lround_test): Use ALL_RM_TEST.
6216         (llround_test): Likewise.
6217         (modf_test): Likewise.
6218         (nexttoward_test): Likewise.
6219         (remainder_test): Likewise.
6220         (drem_test): Likewise.
6221         (remainder_tonearest_test_data): Likewise.
6222         (remainder_test_tonearest): Likewise.
6223         (drem_test_tonearest): Likewise.
6224         (remainder_towardzero_test_data): Likewise.
6225         (remainder_test_towardzero): Likewise.
6226         (drem_test_towardzero): Likewise.
6227         (remainder_downward_test_data): Likewise.
6228         (remainder_test_downward): Likewise.
6229         (drem_test_downward): Likewise.
6230         (remainder_upward_test_data): Likewise.
6231         (remainder_test_upward): Likewise.
6232         (drem_test_upward): Likewise.
6233         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6234         (round_test): Use ALL_RM_TEST.
6235         (signbit_test): Likewise.
6236         (trunc_test): Likewise.
6237         (significand_test): Likewise.
6238         (main): Don't call removed functions.
6239
6240 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6241
6242         [BZ #16674]
6243         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6244         || __USE_XOPEN2K8].
6245         (ILL_ILLOPN): Likewise.
6246         (ILL_ILLADR): Likewise.
6247         (ILL_ILLTRP): Likewise.
6248         (ILL_PRVOPC): Likewise.
6249         (ILL_PRVREG): Likewise.
6250         (ILL_COPROC): Likewise.
6251         (ILL_BADSTK): Likewise.
6252         (FPE_INTDIV): Likewise.
6253         (FPE_INTOVF): Likewise.
6254         (FPE_FLTDIV): Likewise.
6255         (FPE_FLTOVF): Likewise.
6256         (FPE_FLTUND): Likewise.
6257         (FPE_FLTRES): Likewise.
6258         (FPE_FLTINV): Likewise.
6259         (FPE_FLTSUB): Likewise.
6260         (SEGV_MAPERR): Likewise.
6261         (SEGV_ACCERR): Likewise.
6262         (BUS_ADRALN): Likewise.
6263         (BUS_ADRERR): Likewise.
6264         (BUS_OBJERR): Likewise.
6265         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6266         (TRAP_TRACE): Likewise.
6267         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6268         __USE_XOPEN2K8].
6269         (CLD_KILLED): Likewise.
6270         (CLD_DUMPED): Likewise.
6271         (CLD_TRAPPED): Likewise.
6272         (CLD_STOPPED): Likewise.
6273         (CLD_CONTINUED): Likewise.
6274         (POLL_IN): Likewise.
6275         (POLL_OUT): Likewise.
6276         (POLL_MSG): Likewise.
6277         (POLL_ERR): Likewise.
6278         (POLL_PRI): Likewise.
6279         (POLL_HUP): Likewise.
6280         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6281         Likewise.
6282         (ILL_ILLOPN): Likewise.
6283         (ILL_ILLADR): Likewise.
6284         (ILL_ILLTRP): Likewise.
6285         (ILL_PRVOPC): Likewise.
6286         (ILL_PRVREG): Likewise.
6287         (ILL_COPROC): Likewise.
6288         (ILL_BADSTK): Likewise.
6289         (FPE_INTDIV): Likewise.
6290         (FPE_INTOVF): Likewise.
6291         (FPE_FLTDIV): Likewise.
6292         (FPE_FLTOVF): Likewise.
6293         (FPE_FLTUND): Likewise.
6294         (FPE_FLTRES): Likewise.
6295         (FPE_FLTINV): Likewise.
6296         (FPE_FLTSUB): Likewise.
6297         (SEGV_MAPERR): Likewise.
6298         (SEGV_ACCERR): Likewise.
6299         (BUS_ADRALN): Likewise.
6300         (BUS_ADRERR): Likewise.
6301         (BUS_OBJERR): Likewise.
6302         (BUS_MCEERR_AR): Likewise.
6303         (BUS_MCEERR_AO): Likewise.
6304         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6305         (TRAP_TRACE): Likewise.
6306         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6307         __USE_XOPEN2K8].
6308         (CLD_KILLED): Likewise.
6309         (CLD_DUMPED): Likewise.
6310         (CLD_TRAPPED): Likewise.
6311         (CLD_STOPPED): Likewise.
6312         (CLD_CONTINUED): Likewise.
6313         (POLL_IN): Likewise.
6314         (POLL_OUT): Likewise.
6315         (POLL_MSG): Likewise.
6316         (POLL_ERR): Likewise.
6317         (POLL_PRI): Likewise.
6318         (POLL_HUP): Likewise.
6319         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6320         (ILL_ILLOPN): Likewise.
6321         (ILL_ILLADR): Likewise.
6322         (ILL_ILLTRP): Likewise.
6323         (ILL_PRVOPC): Likewise.
6324         (ILL_PRVREG): Likewise.
6325         (ILL_COPROC): Likewise.
6326         (ILL_BADSTK): Likewise.
6327         (FPE_INTDIV): Likewise.
6328         (FPE_INTOVF): Likewise.
6329         (FPE_FLTDIV): Likewise.
6330         (FPE_FLTOVF): Likewise.
6331         (FPE_FLTUND): Likewise.
6332         (FPE_FLTRES): Likewise.
6333         (FPE_FLTINV): Likewise.
6334         (FPE_FLTSUB): Likewise.
6335         (SEGV_MAPERR): Likewise.
6336         (SEGV_ACCERR): Likewise.
6337         (BUS_ADRALN): Likewise.
6338         (BUS_ADRERR): Likewise.
6339         (BUS_OBJERR): Likewise.
6340         (BUS_MCEERR_AR): Likewise.
6341         (BUS_MCEERR_AO): Likewise.
6342         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6343         (TRAP_TRACE): Likewise.
6344         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6345         __USE_XOPEN2K8].
6346         (CLD_KILLED): Likewise.
6347         (CLD_DUMPED): Likewise.
6348         (CLD_TRAPPED): Likewise.
6349         (CLD_STOPPED): Likewise.
6350         (CLD_CONTINUED): Likewise.
6351         (POLL_IN): Likewise.
6352         (POLL_OUT): Likewise.
6353         (POLL_MSG): Likewise.
6354         (POLL_ERR): Likewise.
6355         (POLL_PRI): Likewise.
6356         (POLL_HUP): Likewise.
6357         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6358         Likewise.
6359         (ILL_ILLOPN): Likewise.
6360         (ILL_ILLADR): Likewise.
6361         (ILL_ILLTRP): Likewise.
6362         (ILL_PRVOPC): Likewise.
6363         (ILL_PRVREG): Likewise.
6364         (ILL_COPROC): Likewise.
6365         (ILL_BADSTK): Likewise.
6366         (ILL_BADIADDR): Likewise.
6367         (ILL_BREAK): Likewise.
6368         (FPE_INTDIV): Likewise.
6369         (FPE_INTOVF): Likewise.
6370         (FPE_FLTDIV): Likewise.
6371         (FPE_FLTOVF): Likewise.
6372         (FPE_FLTUND): Likewise.
6373         (FPE_FLTRES): Likewise.
6374         (FPE_FLTINV): Likewise.
6375         (FPE_FLTSUB): Likewise.
6376         (FPE_DECOVF): Likewise.
6377         (FPE_DECDIV): Likewise.
6378         (FPE_DECERR): Likewise.
6379         (FPE_INVASC): Likewise.
6380         (FPE_INVDEC): Likewise.
6381         (SEGV_MAPERR): Likewise.
6382         (SEGV_ACCERR): Likewise.
6383         (SEGV_PSTKOVF): Likewise.
6384         (BUS_ADRALN): Likewise.
6385         (BUS_ADRERR): Likewise.
6386         (BUS_OBJERR): Likewise.
6387         (BUS_MCEERR_AR): Likewise.
6388         (BUS_MCEERR_AO): Likewise.
6389         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6390         (TRAP_TRACE): Likewise.
6391         (TRAP_BRANCH): Likewise.
6392         (TRAP_HWBKPT): Likewise.
6393         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6394         __USE_XOPEN2K8].
6395         (CLD_KILLED): Likewise.
6396         (CLD_DUMPED): Likewise.
6397         (CLD_TRAPPED): Likewise.
6398         (CLD_STOPPED): Likewise.
6399         (CLD_CONTINUED): Likewise.
6400         (POLL_IN): Likewise.
6401         (POLL_OUT): Likewise.
6402         (POLL_MSG): Likewise.
6403         (POLL_ERR): Likewise.
6404         (POLL_PRI): Likewise.
6405         (POLL_HUP): Likewise.
6406         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6407         (ILL_ILLOPN): Likewise.
6408         (ILL_ILLADR): Likewise.
6409         (ILL_ILLTRP): Likewise.
6410         (ILL_PRVOPC): Likewise.
6411         (ILL_PRVREG): Likewise.
6412         (ILL_COPROC): Likewise.
6413         (ILL_BADSTK): Likewise.
6414         (FPE_INTDIV): Likewise.
6415         (FPE_INTOVF): Likewise.
6416         (FPE_FLTDIV): Likewise.
6417         (FPE_FLTOVF): Likewise.
6418         (FPE_FLTUND): Likewise.
6419         (FPE_FLTRES): Likewise.
6420         (FPE_FLTINV): Likewise.
6421         (FPE_FLTSUB): Likewise.
6422         (SEGV_MAPERR): Likewise.
6423         (SEGV_ACCERR): Likewise.
6424         (BUS_ADRALN): Likewise.
6425         (BUS_ADRERR): Likewise.
6426         (BUS_OBJERR): Likewise.
6427         (BUS_MCEERR_AR): Likewise.
6428         (BUS_MCEERR_AO): Likewise.
6429         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6430         (TRAP_TRACE): Likewise.
6431         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6432         __USE_XOPEN2K8].
6433         (CLD_KILLED): Likewise.
6434         (CLD_DUMPED): Likewise.
6435         (CLD_TRAPPED): Likewise.
6436         (CLD_STOPPED): Likewise.
6437         (CLD_CONTINUED): Likewise.
6438         (POLL_IN): Likewise.
6439         (POLL_OUT): Likewise.
6440         (POLL_MSG): Likewise.
6441         (POLL_ERR): Likewise.
6442         (POLL_PRI): Likewise.
6443         (POLL_HUP): Likewise.
6444         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6445         (ILL_ILLOPN): Likewise.
6446         (ILL_ILLADR): Likewise.
6447         (ILL_ILLTRP): Likewise.
6448         (ILL_PRVOPC): Likewise.
6449         (ILL_PRVREG): Likewise.
6450         (ILL_COPROC): Likewise.
6451         (ILL_BADSTK): Likewise.
6452         (FPE_INTDIV): Likewise.
6453         (FPE_INTOVF): Likewise.
6454         (FPE_FLTDIV): Likewise.
6455         (FPE_FLTOVF): Likewise.
6456         (FPE_FLTUND): Likewise.
6457         (FPE_FLTRES): Likewise.
6458         (FPE_FLTINV): Likewise.
6459         (FPE_FLTSUB): Likewise.
6460         (SEGV_MAPERR): Likewise.
6461         (SEGV_ACCERR): Likewise.
6462         (BUS_ADRALN): Likewise.
6463         (BUS_ADRERR): Likewise.
6464         (BUS_OBJERR): Likewise.
6465         (BUS_MCEERR_AR): Likewise.
6466         (BUS_MCEERR_AO): Likewise.
6467         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6468         (TRAP_TRACE): Likewise.
6469         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6470         __USE_XOPEN2K8].
6471         (CLD_KILLED): Likewise.
6472         (CLD_DUMPED): Likewise.
6473         (CLD_TRAPPED): Likewise.
6474         (CLD_STOPPED): Likewise.
6475         (CLD_CONTINUED): Likewise.
6476         (POLL_IN): Likewise.
6477         (POLL_OUT): Likewise.
6478         (POLL_MSG): Likewise.
6479         (POLL_ERR): Likewise.
6480         (POLL_PRI): Likewise.
6481         (POLL_HUP): Likewise.
6482         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6483         (ILL_ILLOPN): Likewise.
6484         (ILL_ILLADR): Likewise.
6485         (ILL_ILLTRP): Likewise.
6486         (ILL_PRVOPC): Likewise.
6487         (ILL_PRVREG): Likewise.
6488         (ILL_COPROC): Likewise.
6489         (ILL_BADSTK): Likewise.
6490         (FPE_INTDIV): Likewise.
6491         (FPE_INTOVF): Likewise.
6492         (FPE_FLTDIV): Likewise.
6493         (FPE_FLTOVF): Likewise.
6494         (FPE_FLTUND): Likewise.
6495         (FPE_FLTRES): Likewise.
6496         (FPE_FLTINV): Likewise.
6497         (FPE_FLTSUB): Likewise.
6498         (SEGV_MAPERR): Likewise.
6499         (SEGV_ACCERR): Likewise.
6500         (BUS_ADRALN): Likewise.
6501         (BUS_ADRERR): Likewise.
6502         (BUS_OBJERR): Likewise.
6503         (BUS_MCEERR_AR): Likewise.
6504         (BUS_MCEERR_AO): Likewise.
6505         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6506         (TRAP_TRACE): Likewise.
6507         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6508         __USE_XOPEN2K8].
6509         (CLD_KILLED): Likewise.
6510         (CLD_DUMPED): Likewise.
6511         (CLD_TRAPPED): Likewise.
6512         (CLD_STOPPED): Likewise.
6513         (CLD_CONTINUED): Likewise.
6514         (POLL_IN): Likewise.
6515         (POLL_OUT): Likewise.
6516         (POLL_MSG): Likewise.
6517         (POLL_ERR): Likewise.
6518         (POLL_PRI): Likewise.
6519         (POLL_HUP): Likewise.
6520         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6521         (ILL_ILLOPN): Likewise.
6522         (ILL_ILLADR): Likewise.
6523         (ILL_ILLTRP): Likewise.
6524         (ILL_PRVOPC): Likewise.
6525         (ILL_PRVREG): Likewise.
6526         (ILL_COPROC): Likewise.
6527         (ILL_BADSTK): Likewise.
6528         (ILL_DBLFLT): Likewise.
6529         (ILL_HARDWALL): Likewise.
6530         (FPE_INTDIV): Likewise.
6531         (FPE_INTOVF): Likewise.
6532         (FPE_FLTDIV): Likewise.
6533         (FPE_FLTOVF): Likewise.
6534         (FPE_FLTUND): Likewise.
6535         (FPE_FLTRES): Likewise.
6536         (FPE_FLTINV): Likewise.
6537         (FPE_FLTSUB): Likewise.
6538         (SEGV_MAPERR): Likewise.
6539         (SEGV_ACCERR): Likewise.
6540         (BUS_ADRALN): Likewise.
6541         (BUS_ADRERR): Likewise.
6542         (BUS_OBJERR): Likewise.
6543         (BUS_MCEERR_AR): Likewise.
6544         (BUS_MCEERR_AO): Likewise.
6545         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6546         (TRAP_TRACE): Likewise.
6547         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6548         __USE_XOPEN2K8].
6549         (CLD_KILLED): Likewise.
6550         (CLD_DUMPED): Likewise.
6551         (CLD_TRAPPED): Likewise.
6552         (CLD_STOPPED): Likewise.
6553         (CLD_CONTINUED): Likewise.
6554         (POLL_IN): Likewise.
6555         (POLL_OUT): Likewise.
6556         (POLL_MSG): Likewise.
6557         (POLL_ERR): Likewise.
6558         (POLL_PRI): Likewise.
6559         (POLL_HUP): Likewise.
6560         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6561         (ILL_ILLOPN): Likewise.
6562         (ILL_ILLADR): Likewise.
6563         (ILL_ILLTRP): Likewise.
6564         (ILL_PRVOPC): Likewise.
6565         (ILL_PRVREG): Likewise.
6566         (ILL_COPROC): Likewise.
6567         (ILL_BADSTK): Likewise.
6568         (FPE_INTDIV): Likewise.
6569         (FPE_INTOVF): Likewise.
6570         (FPE_FLTDIV): Likewise.
6571         (FPE_FLTOVF): Likewise.
6572         (FPE_FLTUND): Likewise.
6573         (FPE_FLTRES): Likewise.
6574         (FPE_FLTINV): Likewise.
6575         (FPE_FLTSUB): Likewise.
6576         (SEGV_MAPERR): Likewise.
6577         (SEGV_ACCERR): Likewise.
6578         (BUS_ADRALN): Likewise.
6579         (BUS_ADRERR): Likewise.
6580         (BUS_OBJERR): Likewise.
6581         (BUS_MCEERR_AR): Likewise.
6582         (BUS_MCEERR_AO): Likewise.
6583         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6584         (TRAP_TRACE): Likewise.
6585         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6586         __USE_XOPEN2K8].
6587         (CLD_KILLED): Likewise.
6588         (CLD_DUMPED): Likewise.
6589         (CLD_TRAPPED): Likewise.
6590         (CLD_STOPPED): Likewise.
6591         (CLD_CONTINUED): Likewise.
6592         (POLL_IN): Likewise.
6593         (POLL_OUT): Likewise.
6594         (POLL_MSG): Likewise.
6595         (POLL_ERR): Likewise.
6596         (POLL_PRI): Likewise.
6597         (POLL_HUP): Likewise.
6598         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6599         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6600
6601         [BZ #16670]
6602         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6603         before #include of <time.h>.
6604         [!__USE_XOPEN2K] (__need_timespec): Likewise.
6605         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6606         (test-xfail-UNIX98/sched.h/conform): Likewise.
6607
6608 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6609
6610         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6611         error absence of trapping exception support.
6612         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6613
6614 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6615
6616         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6617         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6618         * timezone/Makefile (testdata): Move definition above include of
6619         Rules.
6620         (test-zones): New variable.
6621         (tests-special): Add zone files.
6622         (build-testdata): Use $(evaluate-test).
6623
6624         * elf/Makefile (tests-special): Rename tests to end with .out.
6625         ($(objpfx)noload-mem): Likewise.
6626         ($(objpfx)tst-leaks1-mem): Likewise.
6627         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6628         * iconv/Makefile (xtests-special): Change test-iconvconfig to
6629         $(objpfx)test-iconvconfig.out.
6630         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
6631         set -e inside subshell and redirect output to file.
6632         * iconvdata/Makefile (generated): Rename tests to end with .out.
6633         Correct type.
6634         (tests-special): Rename tests to end with .out.
6635         ($(objpfx)mtrace-tst-loading): Likewise.
6636         * intl/Makefile (generated): Likewise.
6637         (tests-special): Likewise.
6638         ($(objpfx)mtrace-tst-gettext): Likewise.
6639         * misc/Makefile (generated): Likewise.
6640         (tests-special): Likewise.
6641         ($(objpfx)tst-error1-mem): Likewise.
6642         * nptl/Makefile (tests-special): Likewise.
6643         ($(objpfx)tst-stack3-mem): Likewise.
6644         (generated): Likewise.
6645         * posix/Makefile (generated): Likewise.
6646         (tests-special): Likewise.
6647         (xtests-special): Likewise.
6648         ($(objpfx)tst-fnmatch-mem): Likewise.
6649         ($(objpfx)bug-regex2-mem): Likewise.
6650         ($(objpfx)bug-regex14-mem): Likewise.
6651         ($(objpfx)bug-regex21-mem): Likewise.
6652         ($(objpfx)bug-regex31-mem): Likewise.
6653         ($(objpfx)tst-vfork3-mem): Likewise.
6654         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6655         ($(objpfx)tst-pcre-mem): Likewise.
6656         ($(objpfx)tst-boost-mem): Likewise.
6657         ($(objpfx)bug-ga2-mem): Likewise.
6658         ($(objpfx)bug-glob2-mem): Likewise.
6659         * resolv/Makefile (generate): Likewise.
6660         (tests-special): Likewise.
6661         (xtests-special): Likewise.
6662         (generated): Likewise.
6663         ($(objpfx)mtrace-tst-leaks): Likewise.
6664         ($(objpfx)mtrace-tst-leaks2): Likewise.
6665
6666         * scripts/merge-test-results.sh: New file.
6667         * Makefile (tests-special-notdir): New variable.
6668         (tests): Run merge-test-results.sh.
6669         (xtests): Likewise.
6670         * Rules (tests-special-notdir): New variable.
6671         (xtests-special-notdir): Likewise.
6672         (tests): Run merge-test-results.sh
6673         (xtests): Likewise.
6674
6675         * Makeconfig (test-xfail-name): New variable.
6676         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6677         compute variable name for expected failures.
6678         * conform/Makefile (conformtest-headers-data): New variable.
6679         (conformtest-standards): Likewise.
6680         (conformtest-headers-ISO): Likewise.
6681         (conformtest-headers-ISO99): Likewise.
6682         (conformtest-headers-ISO11): Likewise.
6683         (conformtest-headers-POSIX): Likewise.
6684         (conformtest-headers-XPG3): Likewise.
6685         (conformtest-headers-XPG4): Likewise.
6686         (conformtest-headers-UNIX98): Likewise.
6687         (conformtest-headers-XOPEN2K): Likewise.
6688         (conformtest-headers-POSIX2008): Likewise.
6689         (conformtest-headers-XOPEN2K8): Likewise.
6690         (conformtest-header-list-base): Likewise.
6691         (conformtest-header-list-tests): Likewise.
6692         (conformtest-header-base): Likewise.
6693         (conformtest-header-tests): Likewise.
6694         (tests-special): Add $(conformtest-header-list-tests).  If
6695         [$(fast-check) && !$(cross-compiling)], add
6696         $(conformtest-header-tests) instead of
6697         $(objpfx)run-conformtest.out.
6698         (generated): Add $(conformtest-header-list-base).  If
6699         [$(fast-check) && !$(cross-compiling)], add
6700         $(conformtest-header-base).  Remove previous setting.
6701         ($(conformtest-header-list-tests)): New target.
6702         (test-xfail-run-conformtest): Remove variable.
6703         ($(objpfx)run-conformtest.out): Remove target.
6704         (test-xfail-ISO11/complex.h/conform): New variable.
6705         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6706         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6707         (test-xfail-XPG3/varargs.h/conform): Likewise.
6708         (test-xfail-XPG4/varargs.h/conform): Likewise.
6709         (test-xfail-UNIX98/varargs.h/conform): Likewise.
6710         (test-xfail-XPG4/ndbm.h/conform): Likewise.
6711         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6712         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6713         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6714         (test-xfail-XPG3/fcntl.h/conform): Likewise.
6715         (test-xfail-XPG3/ftw.h/conform): Likewise.
6716         (test-xfail-XPG3/grp.h/conform): Likewise.
6717         (test-xfail-XPG3/langinfo.h/conform): Likewise.
6718         (test-xfail-XPG3/limits.h/conform): Likewise.
6719         (test-xfail-XPG3/pwd.h/conform): Likewise.
6720         (test-xfail-XPG3/search.h/conform): Likewise.
6721         (test-xfail-XPG3/signal.h/conform): Likewise.
6722         (test-xfail-XPG3/stdio.h/conform): Likewise.
6723         (test-xfail-XPG3/stdlib.h/conform): Likewise.
6724         (test-xfail-XPG3/string.h/conform): Likewise.
6725         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6726         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6727         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6728         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6729         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6730         (test-xfail-XPG3/sys/types.h/conform): Likewise.
6731         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6732         (test-xfail-XPG3/termios.h/conform): Likewise.
6733         (test-xfail-XPG3/time.h/conform): Likewise.
6734         (test-xfail-XPG3/unistd.h/conform): Likewise.
6735         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6736         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6737         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6738         (test-xfail-XPG4/netdb.h/conform): Likewise.
6739         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6740         (test-xfail-XPG4/signal.h/conform): Likewise.
6741         (test-xfail-XPG4/stdio.h/conform): Likewise.
6742         (test-xfail-XPG4/stdlib.h/conform): Likewise.
6743         (test-xfail-XPG4/stropts.h/conform): Likewise.
6744         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6745         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6746         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6747         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6748         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6749         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6750         (test-xfail-XPG4/sys/time.h/conform): Likewise.
6751         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6752         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6753         (test-xfail-XPG4/termios.h/conform): Likewise.
6754         (test-xfail-XPG4/ucontext.h/conform): Likewise.
6755         (test-xfail-XPG4/unistd.h/conform): Likewise.
6756         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6757         (test-xfail-POSIX/sched.h/conform): Likewise.
6758         (test-xfail-POSIX/signal.h/conform): Likewise.
6759         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6760         (test-xfail-POSIX/tar.h/conform): Likewise.
6761         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6762         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6763         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6764         (test-xfail-UNIX98/netdb.h/conform): Likewise.
6765         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6766         (test-xfail-UNIX98/sched.h/conform): Likewise.
6767         (test-xfail-UNIX98/signal.h/conform): Likewise.
6768         (test-xfail-UNIX98/stdio.h/conform): Likewise.
6769         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6770         (test-xfail-UNIX98/stropts.h/conform): Likewise.
6771         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6772         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6773         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6774         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6775         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6776         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6777         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6778         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6779         (test-xfail-UNIX98/unistd.h/conform): Likewise.
6780         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6781         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6782         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6783         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6784         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6785         (test-xfail-XOPEN2K/math.h/conform): Likewise.
6786         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6787         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6788         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6789         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6790         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6791         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6792         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6793         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6794         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6795         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6796         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6797         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6798         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6799         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6800         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6801         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6802         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6803         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6804         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6805         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6806         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6807         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6808         (test-xfail-POSIX2008/signal.h/conform): Likewise.
6809         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6810         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6811         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6812         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6813         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6814         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6815         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6816         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6817         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6818         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6819         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6820         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6821         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6822         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6823         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6824         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6825         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6826         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6827         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6828         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6829         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6830         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6831         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6832         (conformtest-cc-flags): Likewise.
6833         ($(conformtest-header-tests): New target.
6834         * conform/check-header-lists.sh: New file.
6835         * conform/run-conformtest.sh: Remove.
6836
6837         * conform/conformtest.pl: Allow ' and \ in values given for
6838         constants.
6839         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6840         inclusion.
6841         [POSIX] (sys/types.h): Likewise.
6842         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6843         inclusion.
6844         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6845         inclusion.
6846         * conform/data/signal.h-data (SIGIO): Remove expectation.
6847         [XPG3] (SIGBUS): Do not expect.
6848         [POSIX || XPG3] (SIGPOLL): Likewise.
6849         [POSIX || XPG3] (SIGPROF): Likewise.
6850         [POSIX || XPG3] (SIGSYS): Likewise.
6851         [XPG3] (SIGTRAP): Likewise.
6852         [POSIX || XPG3] (SIGURG): Likewise.
6853         [POSIX || XPG3] (SIGVTALRM): Likewise.
6854         [POSIX || XPG3] (SIGXCPU): Likewise.
6855         [POSIX || XPG3] (SIGXFSZ): Likewise.
6856         [POSIX] (SA_SIGINFO): Expect.
6857         [XPG3] (siginfo_t): Do not expect type or contents.
6858         [POSIX] (si_pid): Do not expect element.
6859         [POSIX] (si_uid): Likewise.
6860         [POSIX] (si_addr): Likewise.
6861         [POSIX] (si_status): Likewise.
6862         [POSIX] (si_band): Likewise.
6863         [XPG4] (si_value): Likewise.
6864         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6865         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6866         [POSIX || XPG3] (ILL_ILLADR): Likewise.
6867         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6868         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6869         [POSIX || XPG3] (ILL_PRVREG): Likewise.
6870         [POSIX || XPG3] (ILL_COPROC): Likewise.
6871         [POSIX || XPG3] (ILL_BADSTK): Likewise.
6872         [POSIX || XPG3] (FPE_INTDIV): Likewise.
6873         [POSIX || XPG3] (FPE_INTOVF): Likewise.
6874         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6875         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6876         [POSIX || XPG3] (FPE_FLTUND): Likewise.
6877         [POSIX || XPG3] (FPE_FLTRES): Likewise.
6878         [POSIX || XPG3] (FPE_FLTINV): Likewise.
6879         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6880         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6881         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6882         [POSIX || XPG3] (BUS_ADRALN): Likewise.
6883         [POSIX || XPG3] (BUS_ADRERR): Likewise.
6884         [POSIX || XPG3] (BUS_OBJERR): Likewise.
6885         [POSIX || XPG3] (CLD_EXITED): Likewise.
6886         [POSIX || XPG3] (CLD_KILLED): Likewise.
6887         [POSIX || XPG3] (CLD_DUMPED): Likewise.
6888         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6889         [POSIX || XPG3] (CLD_STOPPED): Likewise.
6890         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6891         [POSIX || XPG3] (POLL_IN): Likewise.
6892         [POSIX || XPG3] (POLL_OUT): Likewise.
6893         [POSIX || XPG3] (POLL_MSG): Likewise.
6894         [POSIX || XPG3] (POLL_ERR): Likewise.
6895         [POSIX || XPG3] (POLL_PRI): Likewise.
6896         [POSIX || XPG3] (POLL_HUP): Likewise.
6897         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6898         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6899         (SIG*): Do not allow.
6900         [XPG3] (si_*): Likewise.
6901         [XPG3] (SI_*): Likewise.
6902         [XPG3 || XPG4] (sigev_*): Likewise.
6903         [XPG3 || XPG4] (SIGEV_*): Likewise.
6904         [XPG3 || XPG4] (sival_*): Likewise.
6905         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6906         [POSIX || XPG3] (BUS_*): Likewise.
6907         [POSIX || XPG3] (CLD_*): Likewise.
6908         [POSIX || XPG3] (FPE_*): Likewise.
6909         [POSIX || XPG3] (ILL_*): Likewise.
6910         [POSIX || XPG3] (POLL_*): Likewise.
6911         [POSIX || XPG3] (SEGV_*): Likewise.
6912         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6913         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6914         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6915         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6916         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6917         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6918         Specify type and value.
6919         (TVERSLEN): Likewise.
6920         (REGTYPE): Likewise.
6921         (AREGTYPE): Likewise.
6922         (LNKTYPE): Likewise.
6923         (SYMTYPE): Likewise.
6924         (CHRTYPE): Likewise.
6925         (BLKTYPE): Likewise.
6926         (DIRTYPE): Likewise.
6927         (FIFOTYPE): Likewise.
6928         (CONTTYPE): Likewise.
6929         (TSUID): Likewise.
6930         (TSGID): Likewise.
6931         (TSVTX): Likewise.
6932         (TUREAD): Likewise.
6933         (TUWRITE): Likewise.
6934         (TUEXEC): Likewise.
6935         (TGREAD): Likewise.
6936         (TGWRITE): Likewise.
6937         (TGEXEC): Likewise.
6938         (TOREAD): Likewise.
6939         (TOWRITE): Likewise.
6940         (TOEXEC): Likewise.
6941         [POSIX] (TSVTX): Expect constant.
6942
6943 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
6944
6945         * Makefile (tests): Change dependencies to ....
6946         (tests-special): ... additions to this variable.
6947         (tests): Depend on $(tests-special).
6948         * Makerules (check-abi-list): New variable.
6949         (check-abi): Depend on $(check-abi-list).
6950         [$(subdir) = elf] (tests-special): Add
6951         $(objpfx)check-abi-libc.out.
6952         [$(build-shared) = yes && subdir] (tests-special): Add
6953         $(check-abi-list).
6954         [$(build-shared) = yes && subdir] (tests): Do not depend on
6955         check-abi.
6956         * Rules (tests): Depend on $(tests-special).
6957         (xtests): Depend on $(xtests-special).
6958         * catgets/Makefile (tests): Change dependencies to ....
6959         (tests-special): ... additions to this variable.
6960         * conform/Makefile (tests): Change dependencies to ....
6961         (tests-special): ... additions to this variable.
6962         * elf/Makefile (tests): Change dependencies to ....
6963         (tests-special): ... additions to this variable.
6964         * grp/Makefile (tests): Change dependencies to ....
6965         (tests-special): ... additions to this variable.
6966         * iconv/Makefile (xtests): Change dependencies to ....
6967         (xtests-special): ... additions to this variable.
6968         * iconvdata/Makefile (tests): Change dependencies to ....
6969         (tests-special): ... additions to this variable.
6970         * intl/Makefile (tests): Change dependencies to ....
6971         (tests-special): ... additions to this variable.  Also add
6972         $(objpfx)tst-gettext.out.
6973         * io/Makefile (tests): Change dependencies to ....
6974         (tests-special): ... additions to this variable.
6975         * libio/Makefile (tests): Change dependencies to ....
6976         (tests-special): ... additions to this variable.
6977         * malloc/Makefile (tests): Change dependencies to ....
6978         (tests-special): ... additions to this variable.
6979         * misc/Makefile (tests): Change dependencies to ....
6980         (tests-special): ... additions to this variable.
6981         * nptl/Makefile (tests): Change dependencies to ....
6982         (tests-special): ... additions to this variable.
6983         * nptl_db/Makefile (tests): Change dependencies to ....
6984         (tests-special): ... additions to this variable.
6985         * posix/Makefile (tests): Change dependencies to ....
6986         (tests-special): ... additions to this variable.
6987         (xtests): Change dependencies to ....
6988         (xtests-special): ... additions to this variable.
6989         * resolv/Makefile (tests): Change dependencies to ....
6990         (tests-special): ... additions to this variable.
6991         (xtests): Change dependencies to ....
6992         (xtests-special): ... additions to this variable.
6993         * stdio-common/Makefile (tests): Change dependencies to ....
6994         (tests-special): ... additions to this variable.
6995         (do-tst-unbputc): Remove target.
6996         (do-tst-printf): Likewise.
6997         * stdlib/Makefile (tests): Change dependencies to ....
6998         (tests-special): ... additions to this variable.
6999         * string/Makefile (tests): Change dependencies to ....
7000         (tests-special): ... additions to this variable.
7001         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7002         (tests-special): ... additions to this variable.
7003
7004         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7005         whole file.
7006         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7007         whole file.
7008         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7009         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7010
7011         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7012         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7013         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7014         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7015         * conform/data/libgen.h-data [XPG3]: Likewise.
7016         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7017         * conform/data/ndbm.h-data [XPG3]: Likewise.
7018         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7019         * conform/data/netdb.h-data [XPG3]: Likewise.
7020         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7021         * conform/data/poll.h-data [XPG3]: Likewise.
7022         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7023         * conform/data/strings.h-data [XPG3]: Likewise.
7024         * conform/data/stropts.h-data [XPG3]: Likewise.
7025         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7026         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7027         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7028         Likewise.
7029         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7030         * conform/data/sys/time.h-data [XPG3]: Likewise.
7031         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7032         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7033         * conform/data/sys/un.h-data [XPG3]: Likewise.
7034         * conform/data/syslog.h-data [XPG3]: Likewise.
7035         * conform/data/ucontext.h-data [XPG3]: Likewise.
7036         * conform/data/utmpx.h-data [XPG3]: Likewise.
7037         * conform/data/varargs.h-data [UNIX98]: Enable file.
7038
7039         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7040
7041         * math/libm-test.inc (struct test_f_f_data): Move expected results
7042         into structure for each rounding mode.
7043         (struct test_ff_f_data): Likewise.
7044         (struct test_ff_f_data_nexttoward): Likewise.
7045         (struct test_fi_f_data): Likewise.
7046         (struct test_fl_f_data): Likewise.
7047         (struct test_if_f_data): Likewise.
7048         (struct test_fff_f_data): Likewise.
7049         (struct test_c_f_data): Likewise.
7050         (struct test_f_f1_data): Likewise.
7051         (struct test_fF_f1_data): Likewise.
7052         (struct test_ffI_f1_data): Likewise.
7053         (struct test_c_c_data): Likewise.
7054         (struct test_cc_c_data): Likewise.
7055         (struct test_f_i_data): Likewise.
7056         (struct test_ff_i_data): Likewise.
7057         (struct test_f_l_data): Likewise.
7058         (struct test_f_L_data): Likewise.
7059         (struct test_fFF_11_data): Likewise.
7060         (RM_): New macro.
7061         (RM_FE_DOWNWARD): Likewise.
7062         (RM_FE_TONEAREST): Likewise.
7063         (RM_FE_TOWARDZERO): Likewise.
7064         (RM_FE_UPWARD): Likewise.
7065         (RUN_TEST_LOOP_f_f): Update references to expected results.
7066         (RUN_TEST_LOOP_2_f): Likewise.
7067         (RUN_TEST_LOOP_fff_f): Likewise.
7068         (RUN_TEST_LOOP_c_f): Likewise.
7069         (RUN_TEST_LOOP_f_f1): Likewise.
7070         (RUN_TEST_LOOP_fF_f1): Likewise.
7071         (RUN_TEST_LOOP_fI_f1): Likewise.
7072         (RUN_TEST_LOOP_ffI_f1): Likewise.
7073         (RUN_TEST_LOOP_c_c): Likewise.
7074         (RUN_TEST_LOOP_cc_c): Likewise.
7075         (RUN_TEST_LOOP_f_i): Likewise.
7076         (RUN_TEST_LOOP_f_i_tg): Likewise.
7077         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7078         (RUN_TEST_LOOP_f_b): Likewise.
7079         (RUN_TEST_LOOP_f_b_tg): Likewise.
7080         (RUN_TEST_LOOP_f_l): Likewise.
7081         (RUN_TEST_LOOP_f_L): Likewise.
7082         (RUN_TEST_LOOP_fFF_11): Likewise.
7083         * math/gen-libm-test.pl (parse_args): Output four copies of
7084         expected results for each test.
7085
7086         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7087         (__ASSUME_UTIMES): Remove.
7088         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7089         (__ASSUME_UTIMES): Likewise.
7090
7091         * math/gen-auto-libm-tests.c: Update comment on output format.
7092         (output_for_one_input_case): Generate before-rounding and
7093         after-rounding information as conditions on output flags not
7094         floating-point format.
7095         * math/auto-libm-test-out: Regenerated.
7096         * math/gen-libm-test.pl (cond_value): New function.
7097         (or_cond_value): Use cond_value.
7098         (generate_testfile): Handle conditional exceptions.
7099
7100 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7101
7102         * math/libm-test.inc (max_valid_error): New variable.
7103         (init_max_error): Take new argument specifying whether function
7104         results are exactly determined.  Set max_valid_error and bound
7105         other variables for errors based on this argument.
7106         (set_max_error): Do not record results above max_valid_error.
7107         (check_float_internal): Only accept errors of up to 0.5ulps if
7108         also at most max_valid_error.
7109         (START): Take new argument EXACT and pass it to init_max_error.
7110         (acos_test): Update call to START.
7111         (acos_test_tonearest): Likewise.
7112         (acos_test_towardzero): Likewise.
7113         (acos_test_downward): Likewise.
7114         (acos_test_upward): Likewise.
7115         (acosh_test): Likewise.
7116         (asin_test): Likewise.
7117         (asin_test_tonearest): Likewise.
7118         (asin_test_towardzero): Likewise.
7119         (asin_test_downward): Likewise.
7120         (asin_test_upward): Likewise.
7121         (asinh_test): Likewise.
7122         (atan_test): Likewise.
7123         (atanh_test): Likewise.
7124         (atan2_test): Likewise.
7125         (cabs_test): Likewise.
7126         (cacos_test): Likewise.
7127         (cacosh_test): Likewise.
7128         (carg_test): Likewise.
7129         (casin_test): Likewise.
7130         (casinh_test): Likewise.
7131         (catan_test): Likewise.
7132         (catanh_test): Likewise.
7133         (cbrt_test): Likewise.
7134         (ccos_test): Likewise.
7135         (ccosh_test): Likewise.
7136         (ceil_test): Likewise.
7137         (cexp_test): Likewise.
7138         (cimag_test): Likewise.
7139         (clog_test): Likewise.
7140         (clog10_test): Likewise.
7141         (conj_test): Likewise.
7142         (copysign_test): Likewise.
7143         (cos_test): Likewise.
7144         (cos_test_tonearest): Likewise.
7145         (cos_test_towardzero): Likewise.
7146         (cos_test_downward): Likewise.
7147         (cos_test_upward): Likewise.
7148         (cosh_test): Likewise.
7149         (cosh_test_tonearest): Likewise.
7150         (cosh_test_towardzero): Likewise.
7151         (cosh_test_downward): Likewise.
7152         (cosh_test_upward): Likewise.
7153         (cpow_test): Likewise.
7154         (cproj_test): Likewise.
7155         (creal_test): Likewise.
7156         (csin_test): Likewise.
7157         (csinh_test): Likewise.
7158         (csqrt_test): Likewise.
7159         (ctan_test): Likewise.
7160         (ctan_test_tonearest): Likewise.
7161         (ctan_test_towardzero): Likewise.
7162         (ctan_test_downward): Likewise.
7163         (ctan_test_upward): Likewise.
7164         (ctanh_test): Likewise.
7165         (ctanh_test_tonearest): Likewise.
7166         (ctanh_test_towardzero): Likewise.
7167         (ctanh_test_downward): Likewise.
7168         (ctanh_test_upward): Likewise.
7169         (erf_test): Likewise.
7170         (erfc_test): Likewise.
7171         (exp_test): Likewise.
7172         (exp_test_tonearest): Likewise.
7173         (exp_test_towardzero): Likewise.
7174         (exp_test_downward): Likewise.
7175         (exp_test_upward): Likewise.
7176         (exp10_test): Likewise.
7177         (exp10_test_tonearest): Likewise.
7178         (exp10_test_towardzero): Likewise.
7179         (exp10_test_downward): Likewise.
7180         (exp10_test_upward): Likewise.
7181         (pow10_test): Likewise.
7182         (exp2_test): Likewise.
7183         (expm1_test): Likewise.
7184         (expm1_test_tonearest): Likewise.
7185         (expm1_test_towardzero): Likewise.
7186         (expm1_test_downward): Likewise.
7187         (expm1_test_upward): Likewise.
7188         (fabs_test): Likewise.
7189         (fdim_test): Likewise.
7190         (floor_test): Likewise.
7191         (fma_test): Likewise.
7192         (fma_test_towardzero): Likewise.
7193         (fma_test_downward): Likewise.
7194         (fma_test_upward): Likewise.
7195         (fmax_test): Likewise.
7196         (fmin_test): Likewise.
7197         (fmod_test): Likewise.
7198         (fpclassify_test): Likewise.
7199         (frexp_test): Likewise.
7200         (hypot_test): Likewise.
7201         (ilogb_test): Likewise.
7202         (isfinite_test): Likewise.
7203         (finite_test): Likewise.
7204         (isgreater_test): Likewise.
7205         (isgreaterequal_test): Likewise.
7206         (isinf_test): Likewise.
7207         (isless_test): Likewise.
7208         (islessequal_test): Likewise.
7209         (islessgreater_test): Likewise.
7210         (isnan_test): Likewise.
7211         (isnormal_test): Likewise.
7212         (issignaling_test): Likewise.
7213         (isunordered_test): Likewise.
7214         (j0_test): Likewise.
7215         (j1_test): Likewise.
7216         (jn_test): Likewise.
7217         (ldexp_test): Likewise.
7218         (lgamma_test): Likewise.
7219         (gamma_test): Likewise.
7220         (lrint_test): Likewise.
7221         (lrint_test_tonearest): Likewise.
7222         (lrint_test_towardzero): Likewise.
7223         (lrint_test_downward): Likewise.
7224         (lrint_test_upward): Likewise.
7225         (llrint_test): Likewise.
7226         (llrint_test_tonearest): Likewise.
7227         (llrint_test_towardzero): Likewise.
7228         (llrint_test_downward): Likewise.
7229         (llrint_test_upward): Likewise.
7230         (log_test): Likewise.
7231         (log10_test): Likewise.
7232         (log1p_test): Likewise.
7233         (log2_test): Likewise.
7234         (logb_test): Likewise.
7235         (logb_test_downward): Likewise.
7236         (lround_test): Likewise.
7237         (llround_test): Likewise.
7238         (modf_test): Likewise.
7239         (nearbyint_test): Likewise.
7240         (nextafter_test): Likewise.
7241         (nexttoward_test): Likewise.
7242         (pow_test): Likewise.
7243         (pow_test_tonearest): Likewise.
7244         (pow_test_towardzero): Likewise.
7245         (pow_test_downward): Likewise.
7246         (pow_test_upward): Likewise.
7247         (remainder_test): Likewise.
7248         (drem_test): Likewise.
7249         (remainder_test_tonearest): Likewise.
7250         (drem_test_tonearest): Likewise.
7251         (remainder_test_towardzero): Likewise.
7252         (drem_test_towardzero): Likewise.
7253         (remainder_test_downward): Likewise.
7254         (drem_test_downward): Likewise.
7255         (remainder_test_upward): Likewise.
7256         (drem_test_upward): Likewise.
7257         (remquo_test): Likewise.
7258         (rint_test): Likewise.
7259         (rint_test_tonearest): Likewise.
7260         (rint_test_towardzero): Likewise.
7261         (rint_test_downward): Likewise.
7262         (rint_test_upward): Likewise.
7263         (round_test): Likewise.
7264         (scalb_test): Likewise.
7265         (scalbn_test): Likewise.
7266         (scalbln_test): Likewise.
7267         (signbit_test): Likewise.
7268         (sin_test): Likewise.
7269         (sin_test_tonearest): Likewise.
7270         (sin_test_towardzero): Likewise.
7271         (sin_test_downward): Likewise.
7272         (sin_test_upward): Likewise.
7273         (sincos_test): Likewise.
7274         (sinh_test): Likewise.
7275         (sinh_test_tonearest): Likewise.
7276         (sinh_test_towardzero): Likewise.
7277         (sinh_test_downward): Likewise.
7278         (sinh_test_upward): Likewise.
7279         (sqrt_test): Likewise.
7280         (sqrt_test_tonearest): Likewise.
7281         (sqrt_test_towardzero): Likewise.
7282         (sqrt_test_downward): Likewise.
7283         (sqrt_test_upward): Likewise.
7284         (tan_test): Likewise.
7285         (tan_test_tonearest): Likewise.
7286         (tan_test_towardzero): Likewise.
7287         (tan_test_downward): Likewise.
7288         (tan_test_upward): Likewise.
7289         (tanh_test): Likewise.
7290         (tgamma_test): Likewise.
7291         (trunc_test): Likewise.
7292         (y0_test): Likewise.
7293         (y1_test): Likewise.
7294         (yn_test): Likewise.
7295         (significand_test): Likewise.
7296
7297         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7298         individual tests in comment.
7299         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7300         (prev_max_error): New variable.
7301         (prev_real_max_error): Likewise.
7302         (prev_imag_max_error): Likewise.
7303         (compare_ulp_data): Don't refer to test names in comment.
7304         (find_test_ulps): Remove function.
7305         (find_function_ulps): Likewise.
7306         (find_complex_function_ulps): Likewise.
7307         (init_max_error): Take function name as argument.  Look up ulps
7308         for that function.
7309         (print_ulps): Remove function.
7310         (print_max_error): Use prev_max_error instead of calling
7311         find_function_ulps.
7312         (print_complex_max_error): Use prev_real_max_error and
7313         prev_imag_max_error instead of calling find_complex_function_ulps.
7314         (check_float_internal): Take max_ulp parameter instead of calling
7315         find_test_ulps.  Don't call print_ulps.
7316         (check_float): Update call to check_float_internal.
7317         (check_complex): Update calls to check_float_internal.
7318         (START): Pass argument to init_max_error.
7319         * math/gen-libm-test.pl (%results): Don't include "kind"
7320         information.
7321         (parse_ulps): Don't handle ulps of individual tests.
7322         (print_ulps_file): Likewise.
7323         (output_ulps): Likewise.
7324         * math/README.libm-test: Update.
7325         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7326         individual tests.
7327         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7328         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7329         * sysdeps/arm/libm-test-ulps: Likewise.
7330         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7331         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7332         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7333         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7334         * sysdeps/microblaze/libm-test-ulps: Likewise.
7335         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7336         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7337         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7338         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7339         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7340         * sysdeps/sh/libm-test-ulps: Likewise.
7341         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7342         * sysdeps/tile/libm-test-ulps: Likewise.
7343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7344
7345 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
7346
7347         * math/libm-test.inc (print_complex_max_error): Check separately
7348         whether real and imaginary errors are within allowed range and
7349         pass 0 to print_complex_function_ulps instead of value within
7350         allowed range.
7351
7352 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7353
7354         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7355         formatting.
7356         (get_handles_fopen): Likewise.
7357         (do_write_test): Likewise.
7358
7359         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7360
7361         * libio/fileops.c (do_ftell): Use cached offset when
7362         available.
7363         * libio/iofwide.c (do_ftell_wide): Likewise.
7364         * libio/iofdopen.c (_IO_new_fdopen): Don't use
7365         _IO_file_attach.
7366         * libio/wfileops.c (_IO_fwide): Don't cache offset.
7367
7368         [BZ #16532]
7369         * libio/libioP.h (get_file_offset): New function.
7370         * libio/fileops.c (get_file_offset): Likewise.
7371         (do_ftell): Likewise.
7372         (_IO_new_file_seekoff): Split out ftell logic.
7373         * libio/wfileops.c (do_ftell_wide): Likewise.
7374         (_IO_wfile_seekoff): Split out ftell logic.
7375         * libio/tst-ftell-active-handler.c: New test case.
7376         * libio/Makefile (tests): Add it.
7377
7378 2014-03-03  Roland McGrath  <roland@hack.frob.com>
7379
7380         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7381         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7382
7383 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7384
7385         [BZ #16639]
7386         * nscd/connections.c (nscd_init): Call do_exit.
7387         (start_threads): Call do_exit and notify_parent.
7388         (begin_drop_privileges): Call do_exit.
7389         (finish_drop_privileges): Likewise.
7390         * nscd/selinux.c (preserve_capabilities): Likewise.
7391         (install_real_capabilities): Likewise.
7392         (nscd_selinux_enabled): Likewise.
7393         (avc_create_thread): Likewise.
7394         (avc_alloc_lock): Likewise.
7395         (nscd_avc_init): Likewise.
7396         * nscd/nscd.c (parent_fd): New static variable.
7397         (main): Create a pipe between parent and child processes.
7398         Skip closing parent_fd.
7399         (monitor_child): New function.
7400         (do_exit): Likewise.
7401         (notify_parent): Likewise.
7402         * nscd/nscd.h (notify_parent): Likewise.
7403         (do_exit): Likewise.
7404
7405 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
7406
7407         * malloc/malloc.c (__libc_calloc): Revert last change.
7408
7409 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7410
7411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7412
7413 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7414
7415         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7416         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7417         implementation.
7418         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7419         (__libc_ifunc_impl_list): Likewise.
7420         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7421         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7422         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7423         * string/strrchr.c: Define STRRCHR.
7424
7425 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
7426
7427         * benchtest/bench-strtok.c (simple_strtok): Delete.
7428         (strtok_string): Use as benchmark.
7429         * string/strtok (STRTOK): New macro.
7430
7431 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
7432
7433         * manual/threads.texi: Add header and standard comments to all
7434         functions.
7435
7436         * elf/dl-lookup.c (check_match): New function.
7437         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7438         (do_lookup_x): Remove nested function check_match. Use non-nested
7439         function check_match.
7440
7441 2014-02-28  Roland McGrath  <roland@hack.frob.com>
7442
7443         * csu/Makefile (generated, before-compile): Use += rather than =.
7444         * catgets/Makefile (generated, generated-dirs): Likewise.
7445         * debug/Makefile (generated): Likewise.
7446         * dlfcn/Makefile (generated): Likewise.
7447         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7448         * iconvdata/Makefile (before-compile, generated): Likewise.
7449         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7450         * libio/Makefile (generated): Likewise.
7451         * malloc/Makefile (generated): Likewise.
7452         * manual/Makefile (generated, generated-dirs): Likewise.
7453         * misc/Makefile (generated): Likewise.
7454         * posix/Makefile (generated): Likewise.
7455         * resolv/Makefile (generated): Likewise.
7456         * sunrpc/Makefile (generated, generated-dirs): Likewise.
7457         * timezone/Makefile (generated, generated-dirs): Likewise.
7458
7459         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7460
7461 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7462
7463         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7464         power8 implementation.
7465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7466         file: POWER8 llround ifunc implementation.
7467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7468         (__lllround): Add POWER8 implementation.
7469         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7470         POWER8 llround implementation.
7471
7472         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7473         power8 implementation.
7474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7475         file: POWER8 llrint ifunc implementation.
7476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7477         Add POWER8 implementation.
7478         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7479         POWER8 llrint implementation.
7480
7481         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7482         power8 implementation.
7483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7484         file: POWER8 finite ifunc implementation.
7485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7486         Add POWER8 implementation.
7487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7488         Likewise.
7489         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7490         POWER8 finite implementation.
7491         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7492
7493         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7494         power8 implementation.
7495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7496         file: POWER8 isinf ifunc implementation.
7497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7498         POWER8 implementation.
7499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7500         Likewise.
7501         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7502         isinf implementation.
7503         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7504
7505         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7506         (INIT_ARCH): Add hwcap2 initialization.
7507         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7508         power8 implementation.
7509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7510         file: POWER8 isnan ifunc implementation.
7511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7512         POWER8 implementation.
7513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7514         Likewise.
7515         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7516         isnan implementation.
7517         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7518
7519 2014-02-27  Joey Ye  <joey.ye@arm.com>
7520
7521         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7522         (_FP_NANFRAC_Q): Set to zero.
7523
7524 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7525
7526         [BZ #16623]
7527         * math/auto-libm-test-in: New test inputs.
7528         * math/auto-libm-test-out: Regenerate.
7529         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7530         and DA.
7531         (__cos): Likewise.
7532         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7533
7534 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
7535
7536         * scripts/evaluate-test.sh: Take new argument indicating whether
7537         failure is expected.
7538         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7539         indicating whether failure is expected.
7540         * conform/Makefile (test-xfail-run-conformtest): New variable.
7541         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7542         level.
7543         * posix/Makefile (test-xfail-annexc): New variable.
7544         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7545
7546 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
7547
7548         * argp/Makefile: Include Makeconfig immediately after defining
7549         subdir.
7550         * assert/Makefile: Likewise.
7551         * benchtests/Makefile: Likewise.
7552         * catgets/Makefile: Likewise.
7553         * conform/Makefile: Likewise.
7554         * crypt/Makefile: Likewise.
7555         * csu/Makefile: Likewise.
7556         (all): Remove target.
7557         * ctype/Makefile: Include Makeconfig immediately after defining
7558         subdir.
7559         * debug/Makefile: Likewise.
7560         * dirent/Makefile: Likewise.
7561         * dlfcn/Makefile: Likewise.
7562         * gmon/Makefile: Likewise.
7563         * gnulib/Makefile: Likewise.
7564         * grp/Makefile: Likewise.
7565         * gshadow/Makefile: Likewise.
7566         * hesiod/Makefile: Likewise.
7567         * hurd/Makefile: Likewise.
7568         (all): Remove target.
7569         * iconvdata/Makefile: Include Makeconfig immediately after
7570         defining subdir.
7571         * inet/Makefile: Likewise.
7572         * intl/Makefile: Likewise.
7573         * io/Makefile: Likewise.
7574         * libio/Makefile: Likewise.
7575         (all): Remove target.
7576         * locale/Makefile: Include Makeconfig immediately after defining
7577         subdir.
7578         * login/Makefile: Likewise.
7579         * mach/Makefile: Likewise.
7580         (all): Remove target.
7581         * malloc/Makefile: Include Makeconfig immediately after defining
7582         subdir.
7583         (all): Remove target.
7584         * manual/Makefile: Include Makeconfig immediately after defining
7585         subdir.
7586         * math/Makefile: Likewise.
7587         * misc/Makefile: Likewise.
7588         * nis/Makefile: Likewise.
7589         * nss/Makefile: Likewise.
7590         * po/Makefile: Likewise.
7591         (all): Remove target.
7592         * posix/Makefile: Include Makeconfig immediately after defining
7593         subdir.
7594         * pwd/Makefile: Likewise.
7595         * resolv/Makefile: Likewise.
7596         * resource/Makefile: Likewise.
7597         * rt/Makefile: Likewise.
7598         * setjmp/Makefile: Likewise.
7599         * shadow/Makefile: Likewise.
7600         * signal/Makefile: Likewise.
7601         * socket/Makefile: Likewise.
7602         * soft-fp/Makefile: Likewise.
7603         * stdio-common/Makefile: Likewise.
7604         * stdlib/Makefile: Likewise.
7605         * streams/Makefile: Likewise.
7606         * string/Makefile: Likewise.
7607         * sunrpc/Makefile: Likewise.
7608         (all): Remove target.
7609         * sysvipc/Makefile: Include Makeconfig immediately after defining
7610         subdir.
7611         * termios/Makefile: Likewise.
7612         * time/Makefile: Likewise.
7613         * timezone/Makefile: Likewise.
7614         (all): Remove target.
7615         * wcsmbs/Makefile: Include Makeconfig immediately after defining
7616         subdir.
7617         * wctype/Makefile: Likewise.
7618
7619 2014-02-26  Steve Ellcey  <sellcey@mips.com>
7620
7621         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7622         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7623         (libc_feholdexcept_setround_mips): Ditto.
7624         (libc_feholdsetround): New.
7625         (libc_feholdsetroundf): New.
7626         (libc_feholdsetroundl): New.
7627         (libc_feupdateenv_test_mips): New.
7628         (libc_feupdateenv_test): New.
7629         (libc_feupdateenv_testf): New.
7630         (libc_feupdateenv_testl): New.
7631         (libc_feresetround): New.
7632         (libc_feresetroundf): New.
7633         (libc_feresetroundl): New.
7634         (libc_fetestexcept_mips): New.
7635         (libc_fetestexcept): New.
7636         (libc_fetestexceptf): New.
7637         (libc_fetestexceptl): New.
7638         (HAVE_RM_CTX): New.
7639         (libc_feholdexcept_setround_mips_ctx): New.
7640         (libc_feholdexcept_setround_ctx): New.
7641         (libc_feholdexcept_setroundf_ctx): New.
7642         (libc_feholdexcept_setroundl_ctx): New.
7643         (libc_fesetenv_mips_ctx): New.
7644         (libc_fesetenv_ctx): New.
7645         (libc_fesetenv_ctxf): New.
7646         (libc_fesetenv_ctxl): New.
7647         (libc_feupdateenv_mips_ctx): New.
7648         (libc_feupdateenv_ctx): New.
7649         (libc_feupdateenvf_ctx): New.
7650         (libc_feupdateenvl_ctx): New.
7651         (libc_feholdsetround_mips_ctx): New.
7652         (libc_feholdsetround_ctx): New.
7653         (libc_feholdsetroundf_ctx): New.
7654         (libc_feholdsetroundl_ctx): New.
7655         (libc_feresetround_mips_ctx): New.
7656         (libc_feresetround_ctx): New.
7657         (libc_feresetroundf_ctx): New.
7658         (libc_feresetroundl_ctx): New.
7659
7660 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
7661
7662         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7663
7664         * manual/ipc.texi: New file.
7665         * manual/Makefile (chapters): Add ipc.
7666         * manual/job.texi: Add "Inter-Process Communication" to next.
7667         * manual/process.texi: Add "Inter-Process Communication" to prev.
7668
7669 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7670
7671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7672
7673 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
7674
7675         * malloc/malloc.c (__libc_calloc): Simplify implementation.
7676
7677         * manual/arith.texi: Fix spaces after sentences.
7678         * manual/charset.texi: Likewise.
7679         * manual/errno.texi: Likewise.
7680         * manual/install.texi: Likewise.
7681         * manual/llio.texi: Likewise.
7682         * manual/locale.texi: Likewise.
7683         * manual/maint.texi: Likewise.
7684         * manual/math.texi: Likewise.
7685         * manual/memory.texi: Likewise.
7686         * manual/message.texi: Likewise.
7687         * manual/probes.texi: Likewise.
7688         * manual/resource.texi: Likewise.
7689         * manual/signal.texi: Likewise.
7690         * manual/socket.texi: Likewise.
7691         * manual/stdio.texi: Likewise.
7692         * manual/string.texi: Likewise.
7693         * manual/time.texi: Likewise.
7694         * manual/users.texi: Likewise.
7695
7696 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
7697
7698         [BZ #16632]
7699         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7700         _DEFAULT_SOURCE is defined.
7701
7702 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
7703             Carlos O'Donell  <carlos@redhat.com>
7704
7705         [BZ #16613]
7706         * elf/dl-tls.c (_dl_count_modids): New function.
7707         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7708         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7709         audit library and increment generation counter.
7710         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7711         * elf/tst-audit9.c: New file.
7712         * elf/tst-auditmod9a.c: New file.
7713         * elf/tst-auditmod9b.c: New file.
7714         * elf/Makefile: Add rules to build and run tst-audit9.
7715
7716 2014-02-25  Florian Weimer  <fweimer@redhat.com>
7717
7718         [BZ #15347]
7719         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7720
7721 2014-02-25  Will Newton  <will.newton@linaro.org>
7722
7723         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7724         (__longjmp): Restore sp and lr before restoring callee
7725         saved registers.  Add longjmp and longjmp_target
7726         SystemTap probe point.
7727         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7728         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7729         Define to zero to match jmpbuf layout.
7730         * sysdeps/arm/setjmp.S: Include stap-probe.h.
7731         (__sigsetjmp): Save sp and lr before saving callee
7732         saved registers.  Add setjmp SystemTap probe point.
7733
7734 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7735
7736         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7737
7738 2014-02-24  Andreas Schwab  <schwab@suse.de>
7739
7740         [BZ #15804]
7741         * elf/pldd.c (wait_for_ptrace_stop): New function.
7742         (main): Call it after attaching.
7743
7744 2014-02-22  Roland McGrath  <roland@hack.frob.com>
7745
7746         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7747         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7748         Versions files is now verboten.
7749         * hurd/Versions (libc: GLIBC_2.0):
7750         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7751         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7752         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7753         * mach/Versions: Likewise.
7754
7755         * csu/Versions: Remove unused %include.
7756         * resolv/Versions: Likewise.
7757
7758 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
7759
7760         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7761         ($(objpfx)check-local-headers.out): Likewise.
7762         ($(objpfx)begin-end-check.out): Likewise.
7763         * Makerules (check-abi-%.out): Likewise.
7764         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7765         ($(objpfx)test2.cat): Likewise.
7766         ($(objpfx)de/libc.cat): Likewise.
7767         ($(objpfx)test-gencat.out): Likewise.
7768         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7769         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7770         ($(objpfx)noload-mem): Likewise.
7771         ($(objpfx)tst-pathopt.out): Likewise.
7772         ($(objpfx)tst-rtld-load-self.out): Likewise.
7773         ($(objpfx)tst-array1-cmp.out): Likewise.
7774         ($(objpfx)tst-array1-static-cmp.out): Likewise.
7775         ($(objpfx)tst-array2-cmp.out): Likewise.
7776         ($(objpfx)tst-array3-cmp.out): Likewise.
7777         ($(objpfx)tst-array4-cmp.out): Likewise.
7778         ($(objpfx)tst-array5-cmp.out): Likewise.
7779         ($(objpfx)tst-array5-static-cmp.out): Likewise.
7780         ($(objpfx)check-textrel.out): Likewise.
7781         ($(objpfx)check-execstack.out): Likewise.
7782         ($(objpfx)check-localplt.out): Likewise.
7783         ($(objpfx)order2-cmp.out): Likewise.
7784         ($(objpfx)tst-leaks1-mem): Likewise.
7785         ($(objpfx)tst-leaks1-static-mem): Likewise.
7786         ($(objpfx)tst-initorder-cmp.out): Likewise.
7787         ($(objpfx)tst-initorder2-cmp.out): Likewise.
7788         ($(objpfx)tst-unused-dep.out): Likewise.
7789         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7790         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7791         * iconv/Makefile (test-iconvconfig): Likewise.
7792         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7793         ($(objpfx)iconv-test.out): Likewise.
7794         ($(objpfx)tst-tables.out): Likewise.
7795         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7796         ($(objpfx)tst-gettext.out): Likewise.
7797         ($(objpfx)tst-translit.out): Likewise.
7798         ($(objpfx)tst-gettext2.out): Likewise.
7799         ($(objpfx)tst-gettext4.out): Likewise.
7800         ($(objpfx)tst-gettext6.out): Likewise.
7801         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7802         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7803         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7804         ($(objpfx)tst-fopenloc-mem.out): Likewise.
7805         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7806         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7807         * posix/Makefile ($(objpfx)globtest.out): Likewise.
7808         ($(objpfx)wordexp-tst.out): Likewise.
7809         ($(objpfx)annexc.out): Likewise.
7810         ($(objpfx)tst-fnmatch-mem): Likewise.
7811         ($(objpfx)bug-regex2-mem): Likewise.
7812         ($(objpfx)bug-regex14-mem): Likewise.
7813         ($(objpfx)bug-regex21-mem): Likewise.
7814         ($(objpfx)bug-regex31-mem): Likewise.
7815         ($(objpfx)tst-vfork3-mem): Likewise.
7816         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7817         ($(objpfx)tst-pcre-mem): Likewise.
7818         ($(objpfx)tst-boost-mem): Likewise.
7819         ($(objpfx)tst-getconf.out): Likewise.
7820         ($(objpfx)bug-ga2-mem): Likewise.
7821         ($(objpfx)bug-glob2-mem): Likewise.
7822         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7823         ($(objpfx)mtrace-tst-leaks2): Likewise.
7824         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7825         ($(objpfx)tst-printf.out): Likewise.
7826         ($(objpfx)tst-setvbuf1.out): Likewise.
7827         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7828         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7829         ($(objpfx)tst-fmtmsg.out): Likewise.
7830         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7831         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7832
7833         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7834         * bits/sigaction.h [__USE_MISC]: Likewise.
7835         * bits/waitstatus.h: Update #endif comments.
7836         * ctype/ctype.h: Likewise.
7837         * dirent/dirent.h: Likewise.
7838         [__USE_MISC]: Remove redundant conditionals.
7839         * grp/grp.h: Update #endif comments.
7840         [__USE_GNU]: Remove redundant conditionals.
7841         [__USE_MISC]: Likewise.
7842         * inet/netinet/in.h [__USE_GNU]: Likewise.
7843         * io/sys/stat.h [__USE_MISC]: Likewise.
7844         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7845         * libio/bits/stdio.h: Update #endif comments.
7846         [__USE_MISC]: Remove redundant conditionals.
7847         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7848         * libio/stdio.h: Update #endif comments.
7849         [__USE_MISC]: Remove redundant conditionals.
7850         * math/bits/math-finite.h [__USE_MISC]: Likewise.
7851         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7852         * math/math.h: Update #else and #endif comments.
7853         [__USE_MISC]: Remove redundant conditionals.
7854         * misc/sys/uio.h: Update #endif comments.
7855         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7856         * posix/glob.h [__USE_MISC]: Likewise.
7857         * posix/sys/types.h: Update #endif comments.
7858         [__USE_MISC]: Remove redundant conditionals.
7859         * posix/sys/wait.h: Update #endif comments.
7860         [__USE_MISC]: Remove redundant conditionals.
7861         * posix/unistd.h: Update #endif comments.
7862         [__USE_MISC]: Remove redundant conditionals.
7863         * pwd/pwd.h [__USE_GNU]: Likewise.
7864         [__USE_MISC]: Likewise.
7865         * resolv/netdb.h [__USE_GNU]: Likewise.
7866         * signal/signal.h: Update #endif comments.
7867         [__USE_MISC]: Remove redundant conditionals.
7868         * stdlib/stdlib.h: Update #else and #endif comments.
7869         [__USE_MISC]: Remove redundant conditionals.
7870         [__USE_GNU]: Likewise.
7871         * string/bits/string2.h [__USE_MISC]: Likewise.
7872         * string/string.h: Update #endif comments.
7873         [__USE_MISC]: Remove redundant conditionals.
7874         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7875         Likewise.
7876         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7877         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7878         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7879         Likewise.
7880         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7881         Likewise.
7882         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7883         comments.
7884         [__USE_MISC]: Remove redundant conditionals.
7885         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7886         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7887         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7888         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7889         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7890         Likewise.
7891         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7892         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7893         Likewise.
7894         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7895         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7896         Likewise.
7897         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7898         Likewise.
7899         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7900         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7901         Likewise.
7902         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7903         Likewise.
7904         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7905         * sysdeps/x86/bits/string.h: Update #endif comments.
7906         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7907         conditionals.
7908         * time/sys/time.h: Update #endif comments.
7909         * time/time.h: Likewise.
7910         [__USE_MISC]: Remove redundant conditionals.
7911
7912 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
7913
7914         [BZ #16600]
7915         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7916
7917 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
7918
7919         * Versions.def (librt): Add GLIBC_2.17.
7920
7921 2014-02-21  Adam Conrad  <adconrad@0c3.net>
7922
7923         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7924         synonym for _SYS_AUXV_H to allow direct inclusion.
7925         * sysdeps/sparc/bits/hwcap.h: Likewise.
7926         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7927         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7928         * sysdeps/sparc/sysdep.h: Likewise.
7929
7930 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7931
7932         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7933
7934 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7935
7936         * benchtests/bench-strrchr.c: Print length instead of position.
7937
7938 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
7939
7940         [BZ #16611]
7941         * sysdeps/unix/sysv/linux/kernel-features.h
7942         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7943         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7944         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7945         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7946         Likewise.
7947         [__i386__ || __powerpc__ || __sh__ || __sparc__]
7948         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7949         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7950         (__ASSUME_SENDMMSG): Define instead of using previous
7951         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7952         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7953         (__ASSUME_SENDMMSG_SYSCALL): Define.
7954         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7955         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7956         Likewise.
7957         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7958         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7959         Likewise.
7960         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7961         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7962         Likewise.
7963         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7964         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7965         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7966         [__ASSUME_SENDMMSG]: Change conditionals to
7967         [__ASSUME_SENDMMSG_SOCKETCALL].
7968         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7969         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7970         Define.
7971         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7972         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7973         Likewise.
7974         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7975         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7976         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7977         [!__ASSUME_SENDMMSG]: Change conditional to
7978         [!__ASSUME_SENDMMSG_SOCKETCALL].
7979         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7980         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7981         Define.
7982
7983         [BZ #16610]
7984         * sysdeps/unix/sysv/linux/kernel-features.h
7985         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7986         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7987         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7988         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7989         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7990         [__i386__ || __sparc__]
7991         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7992         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7993         (__ASSUME_RECVMMSG): Define instead of using previous
7994         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7995         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7996         (__ASSUME_RECVMMSG_SYSCALL): Define.
7997         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7998         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7999         Likewise.
8000         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8001         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8002         Likewise.
8003         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8004         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8005         Likewise.
8006         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8007         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8008         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8009         [__ASSUME_RECVMMSG]: Change condition to
8010         [__ASSUME_RECVMMSG_SOCKETCALL].
8011         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8012         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8013         Define.
8014         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8015         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8016         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8017         Likewise.
8018         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8019         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8020         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8021         [!__ASSUME_RECVMMSG]: Change condition to
8022         [!__ASSUME_RECVMMSG_SOCKETCALL].
8023         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8024         (__ASSUME_RECVMMSG_SYSCALL): Define.
8025
8026         [BZ #16609]
8027         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8028         __powerpc__ || __s390__ || __sh__ || __sparc__]
8029         (__ASSUME_SOCKETCALL): Define.
8030         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8031         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8032         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8033         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8034         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8035         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8036         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8037         (__ASSUME_ACCEPT4): Define instead of using previous
8038         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8039         __powerpc__ || __sparc__ || __s390__)] condition.
8040         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8041         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8042         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8043         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8044         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8045         [!__ASSUME_ACCEPT4]: Change condition to
8046         [!__ASSUME_ACCEPT4_SOCKETCALL].
8047         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8048         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8049         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8050         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8051         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8052         __ASSUME_ACCEPT4_SYSCALL.
8053         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8054         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8055         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8056         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8057         __ASSUME_ACCEPT4_SYSCALL.
8058         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8059         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8060         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8061         [__ASSUME_ACCEPT4]: Change condition to
8062         [__ASSUME_ACCEPT4_SOCKETCALL].
8063         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8064         (__ASSUME_SOCKETCALL): Define.
8065         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8066         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8067         (__ASSUME_SOCKETCALL): Define.
8068         (__ASSUME_ACCEPT4): Remove.
8069         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8070         Define.
8071         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8072         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8073         Likewise.
8074         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8075         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8076
8077         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8078         macro.
8079         (HWCAP_ARM_LPAE): Likewise.
8080         (HWCAP_ARM_EVTSTRM): Likewise.
8081         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8082         Add vpfd32, lpae and evtstrm.
8083         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8084         Increase to 22.
8085
8086 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8087
8088         * math/auto-libm-test-in: Add tests of clog10.
8089         * math/auto-libm-test-out: Regenerated.
8090         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8091         * sysdeps/i386/fpu/libm-test-ulps: Update.
8092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8093
8094 2014-02-18  Andreas Schwab  <schwab@suse.de>
8095
8096         [BZ #16574]
8097         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8098         Store non-zero if the second buffer was newly allocated.
8099         (send_dg): Likewise.
8100         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8101         to send_vc and send_dg.
8102         (res_nsend): Pass NULL for ansp2_malloced.
8103         * resolv/res_query.c (__libc_res_nquery): Add parameter
8104         answerp2_malloced and pass it down to __libc_res_nsend.
8105         (res_nquery): Pass additional NULL to __libc_res_nquery.
8106         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8107         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8108         second answer buffer if answerp2_malloced was set.
8109         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8110         (__libc_res_nquerydomain): Add parameter
8111         answerp2_malloced and pass it down to __libc_res_nquery.
8112         (res_nquerydomain): Pass additional NULL to
8113         __libc_res_nquerydomain.
8114         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8115         additional NULL to __libc_res_nsend and __libc_res_nquery.
8116         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8117         additional NULL to __libc_res_nsearch.
8118         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8119         parameter of __libc_res_nsearch to check for separately allocated
8120         second buffer.
8121         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8122         __libc_res_nquery.
8123         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8124         additional NULL to __libc_res_nquery.
8125         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8126         __libc_res_nsearch.
8127         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8128         * include/resolv.h: Update prototypes of __libc_res_nquery,
8129         __libc_res_nsearch, __libc_res_nsend.
8130
8131 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8132
8133         * math/auto-libm-test-in: Add tests of fma.
8134         * math/auto-libm-test-out: Regenerated.
8135         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8136         (fma_towardzero_test_data): Likewise.
8137         (fma_downward_test_data): Likewise.
8138         (fma_upward_test_data): Likewise.
8139         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8140         mpc_mode.
8141         (rounding_modes): Add values for new field.
8142         (func_calc_method): Add value mpfr_fff_f.
8143         (func_calc_desc): Add mpfr_fff_f union field.
8144         (test_function): Add field exact_args.
8145         (FUNC): Add macro argument EXACT_ARGS.
8146         (FUNC_mpfr_f_f): Update call to FUNC.
8147         (FUNC_mpfr_f_f): Likewise.
8148         (FUNC_mpfr_ff_f): Likewise.
8149         (FUNC_mpfr_if_f): Likewise.
8150         (FUNC_mpc_c_f): Likewise.
8151         (FUNC_mpc_c_c): Likewise.
8152         (test_functions): Add fma.  Update calls to FUNC.
8153         (handle_input_arg): Add argument exact_args.
8154         (add_test): Update call to handle_input_arg.
8155         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8156         (output_for_one_input_case): Update call to calc_generic_results.
8157         Recalculate exact zero results in each rounding mode.
8158
8159         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8160         non-negative before setting low bit.
8161         * math/auto-libm-test-in: Mark one asin test possibly having
8162         spurious underflow.
8163         * math/auto-libm-test-out: Regenerated.
8164         * sysdeps/i386/fpu/libm-test-ulps: Update.
8165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8166
8167 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8168
8169         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8170         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8171         ports/sysdeps/unix/sysv/linux/microblaze.
8172         * README: Add missing listing for microblaze*-*-linux-gnu.
8173
8174 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8175
8176         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8177         * sysdeps/unix/sysv/linux/ia64: Move directory from
8178         ports/sysdeps/unix/sysv/linux/ia64.
8179         * README: Update listing for ia64-*-linux-gnu.
8180
8181 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8182             Joseph Myers  <joseph@codesourcery.com>
8183
8184         * Makeconfig (test-name): New variable.
8185         (evaluate-test): Likewise.
8186         * Makerules (do-test-clean): Remove .test-result files.
8187         (common-mostlyclean): Likewise.
8188         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8189         * scripts/evaluate-test.sh: New file.
8190
8191 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8192
8193         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8194         separate $(objpfx)tst-fopenloc-cmp.out and
8195         $(objpfx)tst-fopenloc-mem.out targets.
8196         (tests): Update dependencies.
8197         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8198         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8199         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8200         (tst-rxspencer-no-utf8-ARGS): New variable.
8201         (tst-rxspencer-no-utf8-ENV): Likewise.
8202         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8203         instead of $(objpfx)tst-rxspencer-mem.
8204         ($(objpfx)tst-rxspencer-mem): Change target to
8205         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8206         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8207         * posix/tst-rxspencer-no-utf8.c: New file.
8208
8209         * elf/Makefile ($(objpfx)order.out): Remove rule.
8210         [$(run-built-tests) = yes] (tests): Depend on
8211         $(objpfx)order-cmp.out.
8212         ($(objpfx)order-cmp.out): New rule.
8213         [$(run-built-tests) = yes] (tests): Depend on
8214         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8215         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8216         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8217         $(objpfx)tst-array5-static-cmp.out.
8218         ($(objpfx)tst-array1.out): Remove rule.
8219         ($(objpfx)tst-array1-cmp.out): New rule.
8220         ($(objpfx)tst-array1-static.out): Remove rule.
8221         ($(objpfx)tst-array1-static-cmp.out): New rule.
8222         ($(objpfx)tst-array2.out): Remove rule.
8223         ($(objpfx)tst-array2-cmp.out): New rule.
8224         ($(objpfx)tst-array3.out): Remove rule.
8225         ($(objpfx)tst-array3-cmp.out): New rule.
8226         ($(objpfx)tst-array4.out): Remove rule.
8227         ($(objpfx)tst-array4-cmp.out): New rule.
8228         ($(objpfx)tst-array5.out): Remove rule.
8229         ($(objpfx)tst-array5-cmp.out): New rule.
8230         ($(objpfx)tst-array5-static.out): Remove rule.
8231         ($(objpfx)tst-array5-static-cmp.out): New rule.
8232         [$(run-built-tests) = yes] (tests): Depend on
8233         $(objpfx)order2-cmp.out.
8234         ($(objpfx)order2.out): Remove rule.
8235         ($(objpfx)order2-cmp.out): New rule.
8236         ($(objpfx)tst-initorder.out): Remove rule.
8237         [$(run-built-tests) = yes] (tests): Depend on
8238         $(objpfx)tst-initorder-cmp.out.
8239         ($(objpfx)tst-initorder-cmp.out): New rule.
8240         ($(objpfx)tst-initorder2.out): Remove rule.
8241         [$(run-built-tests) = yes] (tests): Depend on
8242         $(objpfx)tst-initorder2-cmp.out.
8243         ($(objpfx)tst-initorder2-cmp.out): New rule.
8244         [$(run-built-tests) = yes] (tests): Depend on
8245         $(objpfx)tst-unused-dep-cmp.out.
8246         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8247         ($(objpfx)tst-unused-dep-cmp.out): New rule.
8248         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8249         on $(objpfx)tst-setvbuf1-cmp.out.
8250         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8251         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8252         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8253         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8254         ($(objpfx)tst-svc.out): Remove rule.
8255         ($(objpfx)tst-svc-cmp.out): New rule.
8256
8257 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
8258
8259         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8260         * ctype/ctype.h [__USE_MISC]: Likewise.
8261         * dirent/dirent.h [__USE_MISC]: Likewise.
8262         * grp/grp.h [__USE_MISC]: Likewise.
8263         * io/fcntl.h [__USE_MISC]: Likewise.
8264         * io/sys/stat.h [__USE_MISC]: Likewise.
8265         * libio/stdio.h [__USE_MISC]: Likewise.
8266         * posix/unistd.h [__USE_MISC]: Likewise.
8267         * pwd/pwd.h [__USE_MISC]: Likewise.
8268         * stdlib.h [__USE_MISC]: Likewise.
8269         * string/bits/string2.h [__USE_MISC]: Likewise.
8270         * string/string.h [__USE_MISC]: Likewise.
8271         * time/time.h [__USE_MISC]: Likewise.
8272
8273 2014-02-13  Andreas Schwab  <schwab@suse.de>
8274
8275         [BZ #16574]
8276         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8277         second answer buffer if it was separately allocated.
8278
8279 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8280
8281         * sysdeps/mips/math-tests.h: Include <features.h>.
8282         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8283         (ROUNDING_TESTS_long_double): Do not define.
8284         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8285         (EXCEPTION_TESTS_long_double): Likewise.
8286         * sysdeps/mips/mips64/libm-test-ulps: Update.
8287
8288         * include/features.h (__USE_BSD): Remove macro definitions.
8289         (__USE_SVID): Likewise.
8290         (_BSD_SOURCE): Likewise.
8291         (_SVID_SOURCE): Likewise.
8292         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8293         from definition of _DEFAULT_SOURCE.
8294         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8295         [_DEFAULT_SOURCE].
8296         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8297         * bits/mman.h [__USE_BSD]: Likewise.
8298         * bits/termios.h [__USE_BSD]: Likewise.
8299         * bits/waitstatus.h [__USE_BSD]: Likewise.
8300         * ctype/ctype.h [__USE_SVID]: Likewise.
8301         * dirent/dirent.h [__USE_BSD]: Likewise.
8302         * grp/grp.h [__USE_SVID]: Likewise.
8303         [__USE_BSD]: Likewise.
8304         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8305         * io/fcntl.h [__USE_BSD]: Likewise.
8306         * io/ftw.h [__USE_BSD]: Likewise.
8307         * io/sys/stat.h [__USE_BSD]: Likewise.
8308         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8309         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8310         * libio/stdio.h [__USE_SVID]: Likewise.
8311         [__USE_BSD]: Likewise.
8312         * math/math.h [__USE_SVID]: Likewise.
8313         [__USE_BSD]: Likewise.
8314         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8315         * misc/bits/syslog.h [__USE_BSD]: Likewise.
8316         * misc/search.h [__USE_SVID]: Likewise.
8317         * misc/sys/mman.h [__USE_BSD]: Likewise.
8318         * misc/sys/syslog.h [__USE_BSD]: Likewise.
8319         * misc/sys/uio.h [__USE_BSD]: Likewise.
8320         * posix/bits/unistd.h [__USE_BSD]: Likewise.
8321         * posix/glob.h [__USE_BSD]: Likewise.
8322         * posix/regex.h [__USE_BSD]: Likewise.
8323         * posix/sys/types.h [__USE_BSD]: Likewise.
8324         [__USE_SVID]: Likewise.
8325         * posix/sys/utsname.h [__USE_SVID]: Likewise.
8326         * posix/sys/wait.h [__USE_BSD]: Likewise.
8327         [__USE_SVID]: Likewise.
8328         * posix/unistd.h [__USE_BSD]: Likewise.
8329         [__USE_SVID]: Likewise.
8330         * pwd/pwd.h [__USE_SVID]: Likewise.
8331         * resolv/netdb.h [__USE_BSD]: Likewise.
8332         * setjmp/setjmp.h [__USE_BSD]: Likewise.
8333         * signal/signal.h [__USE_BSD]: Likewise.
8334         [__USE_SVID]: Likewise.
8335         * socket/sys/socket.h [__USE_BSD]: Likewise.
8336         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8337         * stdlib/stdlib.h [__USE_BSD]: Likewise.
8338         [__USE_SVID]: Likewise.
8339         * string/bits/string2.h [__USE_BSD]: Likewise.
8340         [__USE_SVID]: Likewise.
8341         * string/bits/string3.h [__USE_BSD]: Likewise.
8342         * string/endian.h [__USE_BSD]: Likewise.
8343         * string/string.h [__USE_SVID]: Likewise.
8344         [__USE_BSD]: Likewise.
8345         * string/strings.h [__USE_BSD]: Likewise.
8346         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8347         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8348         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8349         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8350         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8351         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8352         Likewise.
8353         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8354         Likewise.
8355         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8356         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8357         Likewise.
8358         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8359         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8360         Likewise.
8361         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8362         Likewise.
8363         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8364         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8365         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8366         Likewise.
8367         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8368         Likewise.
8369         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8370         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8371         * termios/termios.h [__USE_BSD]: Likewise.
8372         * time/sys/time.h [__USE_BSD]: Likewise.
8373         * time/time.h [__USE_BSD]: Likewise.
8374         [__USE_SVID]: Likewise.
8375
8376         * Makefile (subdir_targets): Remove subdir_lint.out.
8377
8378         * stdio-common/Makefile (do-tst-unbputc): Remove target.
8379         (do-tst-printf): Likewise.
8380         (tests): Depend directly on $(objpfx)tst-unbputc.out and
8381         $(objpfx)tst-printf.out.
8382
8383         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8384
8385         * Makerules (check-abi-%): Change target to
8386         $(objpfx)check-abi-%.out.
8387         (check-abi target): Update dependencies.
8388         (check-abi-pattern variable): Redirect output of diff to $@.
8389         (check-abi variable): Likewise.
8390         * elf/Makefile (check-abi): Update dependencies.
8391
8392         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8393         unused.
8394         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8395         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8396         subnormal range.
8397         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8398         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8399         value has largest subnormal exponent.
8400         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8401         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8402         * sysdeps/aarch64/soft-fp/sfp-machine.h
8403         (_FP_TININESS_AFTER_ROUNDING): New macro.
8404         * sysdeps/alpha/soft-fp/sfp-machine.h
8405         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8406         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8407         Likewise.
8408         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8409         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8410         * sysdeps/mips/soft-fp/sfp-machine.h
8411         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8412         * sysdeps/powerpc/soft-fp/sfp-machine.h
8413         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8414         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8415         Likewise.
8416         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8417         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8418         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8419         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8420         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8421         Likewise.
8422
8423 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
8424
8425         [BZ #16545]
8426         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8427         model 1.
8428
8429 2014-02-12  Richard Henderson  <rth@redhat.com>
8430
8431         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8432         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8433         * sysdeps/unix/sysv/linux/alpha: Move directory from
8434         ports/sysdeps/unix/sysv/linux/alpha.
8435         * README: Update listing for alpha-*-linux-gnu.
8436
8437 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
8438
8439         * include/features.h: Update comment documenting feature test
8440         macros.
8441         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
8442         _DEFAULT_SOURCE.
8443         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8444         (_SVID_SOURCE): Likewise.
8445         (_DEFAULT_SOURCE): Update description of default features.
8446         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8447         with _GNU_SOURCE.
8448         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8449         (S_ISVTX): Likewise.
8450         * manual/math.texi (Mathematical Constants): Likewise.
8451         * manual/signal.texi (Interrupted Primitives): Likewise.
8452         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8453         * math/test-matherr.c (_SVID_SOURCE): Do not define.
8454         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8455         Don't refer to _SVID_SOURCE in warning text.
8456
8457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8458
8459         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8460         already defined.
8461         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8462         * sysdeps/mips/dl-lookup.c: Remove.
8463         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8464
8465 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8466
8467         [BZ #16447]
8468         * math/auto-libm-test-in: Add testcase for expl.
8469         * math/auto-libm-test-out: Regenerate.
8470         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8471         calculation of unsafe.
8472         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8473
8474 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8475
8476         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8477         * sysdeps/unix/sysv/linux/aarch64: Move directory from
8478         ports/sysdeps/unix/sysv/linux/aarch64.
8479         * README: Update listing for aarch64*-*-linux-gnu.
8480
8481 2014-02-11  Will Newton  <will.newton@linaro.org>
8482
8483         * manual/probes.texi (Mathematical Function Probes): Use
8484         "triggered" instead of "hit".
8485
8486         * manual/probes.texi (Internal Probes): Add documentation
8487         of setjmp, longjmp and longjmp_target probes.
8488
8489         * include/stap-probe.h: Add comment about probe argument
8490         format.
8491
8492         * malloc/mtrace.c (attribute_hidden): Remove unused macro
8493         definition.  (tr_where, tr_freehook, tr_mallochook,
8494         tr_reallochook, tr_memalignhook): Use ANSI protoype.
8495
8496 2014-02-11  David S. Miller  <davem@davemloft.net>
8497
8498         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8499         processing int_tests.
8500
8501 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
8502
8503         * sysdeps/mips: Move directory from ports/sysdeps/mips.
8504         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8505         * sysdeps/unix/sysv/linux/mips: Move directory from
8506         ports/sysdeps/unix/sysv/linux/mips.
8507         * README: Update listing for mips-*-linux-gnu and
8508         mips64-*-linux-gnu.
8509
8510 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
8511
8512         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8513         * sysdeps/unix/sysv/linux/m68k: Move directory from
8514         ports/sysdeps/unix/sysv/linux/m68k.
8515         * README: Update listing for m68k-*-linux-gnu.
8516
8517 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
8518
8519         * sysdeps/tile: Move directory from ports/sysdeps/tile.
8520         * sysdeps/unix/sysv/linux/generic: Move directory from
8521         ports/sysdeps/unix/sysv/linux/generic.
8522         * sysdeps/unix/sysv/linux/tile: Move directory from
8523         ports/sysdeps/unix/sysv/linux/tile.
8524         * README: Update listing for tile*-*-linux-gnu.
8525
8526 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
8527
8528         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8529         __builtin_expect.
8530         * benchtests/bench-memmem.c (simple_memmem): Likewise.
8531         * catgets/open_catalog.c (__open_catalog): Likewise.
8532         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8533         * debug/confstr_chk.c: Likewise.
8534         * debug/fread_chk.c (__fread_chk): Likewise.
8535         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8536         * debug/getgroups_chk.c: Likewise.
8537         * debug/mbsnrtowcs_chk.c: Likewise.
8538         * debug/mbsrtowcs_chk.c: Likewise.
8539         * debug/mbstowcs_chk.c: Likewise.
8540         * debug/memcpy_chk.c: Likewise.
8541         * debug/memmove_chk.c: Likewise.
8542         * debug/mempcpy_chk.c: Likewise.
8543         * debug/memset_chk.c: Likewise.
8544         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8545         * debug/strcat_chk.c (__strcat_chk): Likewise.
8546         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8547         * debug/strncat_chk.c (__strncat_chk): Likewise.
8548         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8549         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8550         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8551         * debug/wcpncpy_chk.c: Likewise.
8552         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8553         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8554         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8555         * debug/wcsncpy_chk.c: Likewise.
8556         * debug/wcsnrtombs_chk.c: Likewise.
8557         * debug/wcsrtombs_chk.c: Likewise.
8558         * debug/wcstombs_chk.c: Likewise.
8559         * debug/wmemcpy_chk.c: Likewise.
8560         * debug/wmemmove_chk.c: Likewise.
8561         * debug/wmempcpy_chk.c: Likewise.
8562         * debug/wmemset_chk.c: Likewise.
8563         * dirent/scandirat.c (SCANDIRAT): Likewise.
8564         * dlfcn/dladdr1.c (dladdr1): Likewise.
8565         * dlfcn/dladdr.c (dladdr): Likewise.
8566         * dlfcn/dlclose.c (dlclose_doit): Likewise.
8567         * dlfcn/dlerror.c (__dlerror): Likewise.
8568         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8569         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8570         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8571         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8572         * dlfcn/dlsym.c (dlsym_doit): Likewise.
8573         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8574         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8575         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8576         Likewise.
8577         * elf/dl-conflict.c: Likewise.
8578         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8579         * elf/dl-dst.h: Likewise.
8580         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8581         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8582         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8583         * elf/dl-init.c (call_init, _dl_init): Likewise.
8584         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8585         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8586         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8587         Likewise.
8588         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8589         Likewise.
8590         * elf/dl-minimal.c (__libc_memalign): Likewise.
8591         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8592         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8593         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8594         * elf/dl-sym.c (do_sym): Likewise.
8595         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8596         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8597         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8598         * elf/dl-writev.h (_dl_writev): Likewise.
8599         * elf/ldconfig.c (search_dir): Likewise.
8600         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8601         (dl_main): Likewise.
8602         * elf/setup-vdso.h (setup_vdso): Likewise.
8603         * grp/compat-initgroups.c (compat_call): Likewise.
8604         * grp/fgetgrent.c (fgetgrent): Likewise.
8605         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8606         * grp/putgrent.c (putgrent): Likewise.
8607         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8608         Likewise.
8609         * hurd/hurdinit.c: Likewise.
8610         * iconvdata/8bit-gap.c (struct): Likewise.
8611         * iconvdata/ansi_x3.110.c : Likewise.
8612         * iconvdata/big5.c : Likewise.
8613         * iconvdata/big5hkscs.c : Likewise.
8614         * iconvdata/cp1255.c: Likewise.
8615         * iconvdata/cp1258.c : Likewise.
8616         * iconvdata/cp932.c : Likewise.
8617         * iconvdata/euc-cn.c: Likewise.
8618         * iconvdata/euc-jisx0213.c : Likewise.
8619         * iconvdata/euc-jp.c: Likewise.
8620         * iconvdata/euc-jp-ms.c : Likewise.
8621         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8622         * iconvdata/gb18030.c : Likewise.
8623         * iconvdata/gbbig5.c (const): Likewise.
8624         * iconvdata/gbgbk.c: Likewise.
8625         * iconvdata/gbk.c : Likewise.
8626         * iconvdata/ibm1364.c : Likewise.
8627         * iconvdata/ibm930.c : Likewise.
8628         * iconvdata/ibm932.c: Likewise.
8629         * iconvdata/ibm933.c : Likewise.
8630         * iconvdata/ibm935.c : Likewise.
8631         * iconvdata/ibm937.c : Likewise.
8632         * iconvdata/ibm939.c : Likewise.
8633         * iconvdata/ibm943.c: Likewise.
8634         * iconvdata/iso_11548-1.c: Likewise.
8635         * iconvdata/iso-2022-cn.c : Likewise.
8636         * iconvdata/iso-2022-cn-ext.c : Likewise.
8637         * iconvdata/iso-2022-jp-3.c: Likewise.
8638         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8639         * iconvdata/iso-2022-kr.c : Likewise.
8640         * iconvdata/iso646.c (gconv_end): Likewise.
8641         * iconvdata/iso_6937-2.c : Likewise.
8642         * iconvdata/iso_6937.c : Likewise.
8643         * iconvdata/iso8859-1.c: Likewise.
8644         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8645         * iconvdata/shift_jisx0213.c : Likewise.
8646         * iconvdata/sjis.c : Likewise.
8647         * iconvdata/t.61.c : Likewise.
8648         * iconvdata/tcvn5712-1.c : Likewise.
8649         * iconvdata/tscii.c: Likewise.
8650         * iconvdata/uhc.c : Likewise.
8651         * iconvdata/unicode.c (gconv_end): Likewise.
8652         * iconvdata/utf-16.c (gconv_end): Likewise.
8653         * iconvdata/utf-32.c (gconv_end): Likewise.
8654         * iconvdata/utf-7.c (base64): Likewise.
8655         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8656         * iconv/gconv_close.c (__gconv_close): Likewise.
8657         * iconv/gconv_open.c (__gconv_open): Likewise.
8658         * iconv/gconv_simple.c (internal_ucs4_loop_single)
8659         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8660         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8661         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8662         (ucs4le_internal_loop_single): Likewise.
8663         * iconv/iconv.c (iconv): Likewise.
8664         * iconv/iconv_close.c: Likewise.
8665         * iconv/loop.c (SINGLE): Likewise.
8666         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8667         * include/atomic.h: Likewise.
8668         * inet/inet6_option.c (option_alloc): Likewise.
8669         * intl/bindtextdom.c (set_binding_values): Likewise.
8670         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8671         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8672         * intl/localealias.c (read_alias_file): Likewise.
8673         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8674         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8675         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8676         * libio/fmemopen.c (fmemopen): Likewise.
8677         * libio/iofgets.c (_IO_fgets): Likewise.
8678         * libio/iofgets_u.c (fgets_unlocked): Likewise.
8679         * libio/iofgetws.c (fgetws): Likewise.
8680         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8681         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8682         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8683         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8684         * locale/findlocale.c (_nl_find_locale): Likewise.
8685         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8686         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8687         Likewise.
8688         * locale/setlocale.c (setlocale): Likewise.
8689         * login/programs/pt_chown.c (main): Likewise.
8690         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8691         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8692         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8693         (mmap, mmap64, mremap, munmap): Likewise.
8694         * math/e_exp2l.c: Likewise.
8695         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8696         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8697         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8698         * math/s_catan.c (__catan): Likewise.
8699         * math/s_catanf.c (__catanf): Likewise.
8700         * math/s_catanh.c (__catanh): Likewise.
8701         * math/s_catanhf.c (__catanhf): Likewise.
8702         * math/s_catanhl.c (__catanhl): Likewise.
8703         * math/s_catanl.c (__catanl): Likewise.
8704         * math/s_ccosh.c (__ccosh): Likewise.
8705         * math/s_ccoshf.c (__ccoshf): Likewise.
8706         * math/s_ccoshl.c (__ccoshl): Likewise.
8707         * math/s_cexp.c (__cexp): Likewise.
8708         * math/s_cexpf.c (__cexpf): Likewise.
8709         * math/s_cexpl.c (__cexpl): Likewise.
8710         * math/s_clog10.c (__clog10): Likewise.
8711         * math/s_clog10f.c (__clog10f): Likewise.
8712         * math/s_clog10l.c (__clog10l): Likewise.
8713         * math/s_clog.c (__clog): Likewise.
8714         * math/s_clogf.c (__clogf): Likewise.
8715         * math/s_clogl.c (__clogl): Likewise.
8716         * math/s_csin.c (__csin): Likewise.
8717         * math/s_csinf.c (__csinf): Likewise.
8718         * math/s_csinh.c (__csinh): Likewise.
8719         * math/s_csinhf.c (__csinhf): Likewise.
8720         * math/s_csinhl.c (__csinhl): Likewise.
8721         * math/s_csinl.c (__csinl): Likewise.
8722         * math/s_csqrt.c (__csqrt): Likewise.
8723         * math/s_csqrtf.c (__csqrtf): Likewise.
8724         * math/s_csqrtl.c (__csqrtl): Likewise.
8725         * math/s_ctan.c (__ctan): Likewise.
8726         * math/s_ctanf.c (__ctanf): Likewise.
8727         * math/s_ctanh.c (__ctanh): Likewise.
8728         * math/s_ctanhf.c (__ctanhf): Likewise.
8729         * math/s_ctanhl.c (__ctanhl): Likewise.
8730         * math/s_ctanl.c (__ctanl): Likewise.
8731         * math/w_pow.c: Likewise.
8732         * math/w_powf.c: Likewise.
8733         * math/w_powl.c: Likewise.
8734         * math/w_scalb.c (sysv_scalb): Likewise.
8735         * math/w_scalbf.c (sysv_scalbf): Likewise.
8736         * math/w_scalbl.c (sysv_scalbl): Likewise.
8737         * misc/error.c (error_tail): Likewise.
8738         * misc/pselect.c (__pselect): Likewise.
8739         * nis/nis_callback.c (__nis_create_callback): Likewise.
8740         * nis/nis_call.c (__nisfind_server): Likewise.
8741         * nis/nis_creategroup.c (nis_creategroup): Likewise.
8742         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8743         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8744         * nis/nis_getservlist.c (nis_getservlist): Likewise.
8745         * nis/nis_lookup.c (nis_lookup): Likewise.
8746         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8747         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8748         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8749         * nis/nis_xdr.c (xdr_endpoint): Likewise.
8750         * nis/nss_compat/compat-grp.c (getgrent_next_file)
8751         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8752         * nis/nss_compat/compat-initgroups.c (add_group)
8753         (internal_getgrent_r): Likewise.
8754         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8755         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8756         * nis/nss_compat/compat-spwd.c (getspent_next_file)
8757         (internal_getspnam_r): Likewise.
8758         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8759         (_nss_nis_getaliasbyname_r): Likewise.
8760         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8761         (_nss_nis_getntohost_r): Likewise.
8762         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8763         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8764         (_nss_nis_getgrgid_r): Likewise.
8765         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8766         (internal_nis_gethostent_r, internal_gethostbyname2_r)
8767         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8768         (_nss_nis_gethostbyname4_r): Likewise.
8769         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8770         (initgroups_netid): Likewise.
8771         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8772         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8773         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8774         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8775         (_nss_nis_getprotobynumber_r): Likewise.
8776         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8777         (_nss_nis_getsecretkey): Likewise.
8778         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8779         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8780         (_nss_nis_getpwuid_r): Likewise.
8781         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8782         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8783         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8784         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8785         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8786         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8787         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8788         Likewise.
8789         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8790         (_nss_nisplus_getntohost_r): Likewise.
8791         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8792         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8793         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8794         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8795         Likewise.
8796         * nis/nss_nisplus/nisplus-initgroups.c
8797         (_nss_nisplus_initgroups_dyn): Likewise.
8798         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8799         (_nss_nisplus_getnetbyaddr_r): Likewise.
8800         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8801         (_nss_nisplus_getprotobynumber_r): Likewise.
8802         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8803         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8804         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8805         Likewise.
8806         * nis/nss_nisplus/nisplus-service.c
8807         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8808         (_nss_nisplus_getservbyport_r): Likewise.
8809         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8810         (_nss_nisplus_getspnam_r): Likewise.
8811         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8812         Likewise.
8813         * nscd/aicache.c (addhstaiX): Likewise.
8814         * nscd/cache.c (cache_search, prune_cache): Likewise.
8815         * nscd/connections.c (register_traced_file, send_ro_fd)
8816         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8817         (main_loop_epoll): Likewise.
8818         * nscd/grpcache.c (addgrbyX): Likewise.
8819         * nscd/hstcache.c (addhstbyX): Likewise.
8820         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8821         * nscd/mem.c (gc, mempool_alloc): Likewise.
8822         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8823         (addinnetgrX): Likewise.
8824         * nscd/nscd-client.h (__nscd_acquire_maplock)
8825         (__nscd_drop_map_ref): Likewise.
8826         * nscd/nscd_getai.c (__nscd_getai): Likewise.
8827         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8828         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8829         Likewise.
8830         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8831         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8832         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8833         (__nscd_get_map_ref): Likewise.
8834         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8835         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8836         Likewise.
8837         * nscd/pwdcache.c (addpwbyX): Likewise.
8838         * nscd/selinux.c (preserve_capabilities): Likewise.
8839         * nscd/servicescache.c (addservbyX): Likewise.
8840         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8841         * posix/fnmatch.c (fnmatch): Likewise.
8842         * posix/getopt.c (_getopt_internal_r): Likewise.
8843         * posix/glob.c (glob, glob_in_dir): Likewise.
8844         * posix/wordexp.c (exec_comm_child): Likewise.
8845         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8846         (getanswer_r, gaih_getanswer_slice): Likewise.
8847         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8848         * resolv/res_init.c: Likewise.
8849         * resolv/res_mkquery.c (res_nmkquery): Likewise.
8850         * resolv/res_query.c (__libc_res_nquery): Likewise.
8851         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8852         Likewise.
8853         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8854         * stdio-common/perror.c (perror): Likewise.
8855         * stdio-common/printf_fp.c (___printf_fp): Likewise.
8856         * stdio-common/tmpnam.c (tmpnam): Likewise.
8857         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8858         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8859         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8860         Likewise.
8861         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8862         * stdlib/putenv.c (putenv): Likewise.
8863         * stdlib/setenv.c (__add_to_environ): Likewise.
8864         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8865         * stdlib/strtol_l.c (INTERNAL): Likewise.
8866         * string/memmem.c (memmem): Likewise.
8867         * string/strerror.c (strerror): Likewise.
8868         * string/strnlen.c (__strnlen): Likewise.
8869         * string/test-memmem.c (simple_memmem): Likewise.
8870         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8871         * sunrpc/pm_getport.c (__get_socket): Likewise.
8872         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8873         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8874         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8875         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8876         Likewise.
8877         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8878         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8879         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8880         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8881         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8882         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8883         Likewise.
8884         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8885         Likewise.
8886         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8887         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8888         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8889         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8890         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8891         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8892         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8893         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8894         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8895         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8896         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8897         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8898         Likewise.
8899         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8900         Likewise.
8901         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8902         Likewise.
8903         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8904         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8905         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8906         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8907         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8908         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8909         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8910         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8911         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8912         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8913         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8914         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8915         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8916         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8917         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8918         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8919         Likewise.
8920         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8921         Likewise.
8922         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8923         Likewise.
8924         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8925         Likewise.
8926         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8927         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8928         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8929         Likewise.
8930         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8931         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8932         * sysdeps/posix/opendir.c (__opendirat): Likewise.
8933         * sysdeps/posix/sleep.c: Likewise.
8934         * sysdeps/posix/tempname.c: Likewise.
8935         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8936         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8937         Likewise.
8938         * sysdeps/powerpc/powerpc32/dl-machine.h
8939         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8940         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8941         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8942         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8943         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8944         Likewise.
8945         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8946         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8947         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8948         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8949         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8950         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8951         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8952         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8953         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8954         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8955         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8956         (elf_machine_lazy_rel): Likewise.
8957         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8958         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8959         (elf_machine_lazy_rel): Likewise.
8960         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8961         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8962         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8963         * sysdeps/unix/grantpt.c (grantpt): Likewise.
8964         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8965         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8966         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8967         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8968         Likewise.
8969         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8970         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8971         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8972         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8973         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8974         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8975         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8976         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8977         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8978         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8979         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8980         Likewise.
8981         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8982         (__posix_fallocate64_l64): Likewise.
8983         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8984         (posix_fallocate): Likewise.
8985         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8986         Likewise.
8987         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8988         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8989         (getifaddrs_internal): Likewise.
8990         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8991         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8992         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8993         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8994         * sysdeps/unix/sysv/linux/posix_fallocate64.c
8995         (__posix_fallocate64_l64): Likewise.
8996         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8997         Likewise.
8998         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8999         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9000         (__get_clockfreq): Likewise.
9001         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9002         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9003         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9004         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9005         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9006         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9007         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9008         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9009         Likewise.
9010         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9011         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9012         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9013         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9014         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9015         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9016         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9017         Likewise.
9018         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9019         (posix_fallocate): Likewise.
9020         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9021         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9022         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9023         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9024         (elf_machine_rela, elf_machine_rela_relative)
9025         (elf_machine_lazy_rel): Likewise.
9026         * time/asctime.c (asctime_internal): Likewise.
9027         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9028         * time/tzset.c (__tzset_parse_tz): Likewise.
9029         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9030         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9031         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9032         * wcsmbs/wcsmbsload.h: Likewise.
9033
9034         [BZ #15894]
9035         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9036
9037         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9038         (arena_get2): Remove THREAD_STATS conditionals.
9039         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9040         (__malloc_stats, int): Likewise.
9041
9042 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9043
9044         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9045         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9046
9047         * manual/setjmp.texi: Fix typos/grammar errors.
9048
9049         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9050         Only return early when n is <= 0.  Delete unused return statement.
9051
9052         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9053         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9054         * debug/tst-longjmp_chk3.c: New file.
9055
9056         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9057         (test_main): Replace code with set_fortify_handler call.
9058         * debug/test-strcpy_chk.c: Likewise.
9059         * debug/tst-chk1.c: Likewise.
9060         * debug/tst-longjmp_chk.c: Likewise.
9061         * test-skeleton.c: Include fcntl.h & paths.h
9062         (set_fortify_handler): Define.
9063
9064         * debug/tst-longjmp_chk.c: Add header comment and include
9065         ../test-skeleton.c.
9066         (do_test): Mark static.
9067         (TEST_FUNCTION): Define.
9068
9069         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9070         (IP_PMTUDISC_INTERFACE): Likewise.
9071         (IP_MULTICAST_IF): Likewise.
9072         (IP_MULTICAST_TTL): Likewise.
9073         (IP_MULTICAST_LOOP): Likewise.
9074         (IP_ADD_MEMBERSHIP): Likewise.
9075         (IP_DROP_MEMBERSHIP): Likewise.
9076         (IP_UNBLOCK_SOURCE): Likewise.
9077         (IP_BLOCK_SOURCE): Likewise.
9078         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9079         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9080         (IP_MSFILTER): Likewise.
9081         (MCAST_JOIN_GROUP): Likewise.
9082         (MCAST_BLOCK_SOURCE): Likewise.
9083         (MCAST_UNBLOCK_SOURCE): Likewise.
9084         (MCAST_LEAVE_GROUP): Likewise.
9085         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9086         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9087         (MCAST_MSFILTER): Likewise.
9088         (IP_MULTICAST_ALL): Likewise.
9089         (IP_UNICAST_IF): Likewise.
9090
9091         * timezone/Makefile: Delete $(have-ksh) check.
9092         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9093         * timezone/tzselect.ksh: Add +x mode bits.
9094
9095         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9096         (ANON_INODE_FS_MAGIC): Likewise.
9097         (BDEVFS_MAGIC): Likewise.
9098         (BINFMTFS_MAGIC): Likewise.
9099         (BTRFS_TEST_MAGIC): Likewise.
9100         (CRAMFS_MAGIC_WEND): Likewise.
9101         (DEBUGFS_MAGIC): Likewise.
9102         (ECRYPTFS_SUPER_MAGIC): Likewise.
9103         (EXT3_SUPER_MAGIC): Likewise.
9104         (EXT4_SUPER_MAGIC): Likewise.
9105         (FUTEXFS_SUPER_MAGIC): Likewise.
9106         (HOSTFS_SUPER_MAGIC): Likewise.
9107         (HUGETLBFS_MAGIC): Likewise.
9108         (MINIX3_SUPER_MAGIC): Likewise.
9109         (MTD_INODE_FS_MAGIC): Likewise.
9110         (NILFS_SUPER_MAGIC): Likewise.
9111         (OPENPROM_SUPER_MAGIC): Likewise.
9112         (PIPEFS_MAGIC): Likewise.
9113         (PSTOREFS_MAGIC): Likewise.
9114         (QNX6_SUPER_MAGIC): Likewise.
9115         (RAMFS_MAGIC): Likewise.
9116         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9117         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9118         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9119         (SECURITYFS_MAGIC): Likewise.
9120         (SELINUX_MAGIC): Likewise.
9121         (SMACK_MAGIC): Likewise.
9122         (SOCKFS_MAGIC): Likewise.
9123         (SQUASHFS_MAGIC): Likewise.
9124         (STACK_END_MAGIC): Likewise.
9125         (TMPFS_MAGIC): Likewise.
9126         (USBDEVICE_SUPER_MAGIC): Likewise.
9127         (V9FS_MAGIC): Likewise.
9128         (XENFS_SUPER_MAGIC): Likewise.
9129         (CRAMFS_MAGIC): Fix typo in comment.
9130         (EXT2_SUPER_MAGIC): Update comment.
9131         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9132
9133 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9134
9135         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9136         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9137         * sysdeps/unix/sysv/linux/arm: Move directory from
9138         ports/sysdeps/unix/sysv/linux/arm.
9139         * README: Update listing for arm-*-linux-gnueabi.
9140
9141         * README: Remove mention of am33.
9142
9143 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9144
9145         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9146         than the comma operator, to avoid "rhs of comma has no effect"
9147         compiler warnings.
9148         (__sigfillset, __sigandset, __sigorset): Likewise.
9149         * include/signal.h (__sigemptyset): Likewise.
9150         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9151
9152 2014-02-07  Allan McRae  <allan@archlinux.org>
9153
9154         * version.h (RELEASE): Set to "development".
9155         (VERSION): Set to "2.19.90"
9156         * NEWS: Add 2.20 section.
9157
9158 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9159
9160         [BZ #16529]
9161         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9162
9163 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9164
9165         * manual/contrib.texi: Update entry for Carlos O'Donell,
9166         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9167
9168 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9169
9170         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9171
9172         * sysdeps/unix/sysv/linux/kernel-features.h
9173         [__LINUX_KERNEL_VERSION >= 0x020621]
9174         (__ASSUME_PROC_PID_TASK_COMM): Define.
9175
9176 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9177
9178         [BZ #16398]
9179         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9180         conversion when destination buffer does not have enough space.
9181         * libio/tst-ftell-partial-wide.c: New test case.
9182         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9183
9184         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9185         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9186         Leonard and Allan McRae.
9187
9188 2014-02-04  David S. Miller  <davem@davemloft.net>
9189
9190         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9191         32-bit.
9192
9193 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9194
9195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9196         New file
9197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9198         New file
9199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9200         New file.
9201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9202         New file.
9203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9204         New file.
9205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9206         New file.
9207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9208         New file.
9209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9210         New file.
9211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9212         New file.
9213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9214         New file.
9215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9216         New file.
9217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9218         New file.
9219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9220         New file.
9221
9222 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9223
9224         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9225         * shlib-versions: Likewise.
9226
9227 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9228             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9229
9230         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9231         (abilist-pattern): New variable, set to %-le.abilist.
9232
9233         * Makerules (abilist-pattern): New variable.
9234         (vpath): Use $(abilist-pattern) in place of %.abilist.
9235         (check-abi-% pattern rule): Likewise.
9236         (check-abi, update-abi): Likewise.
9237
9238 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9239
9240         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9241
9242 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9243
9244         * manual/startup.texi: Add next, previous, and top entries for
9245         the `Program Arguments' and `Environment Variables' nodes.
9246
9247 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
9248
9249         * manual/macros.texi: Add comments before MTASC-safety macros.
9250
9251         * manual/users.texi: Document MTASC-safety properties.
9252
9253         * manual/threads.texi (pthread_key_create, pthread_key_delete)
9254         (pthread_getspecific, pthread_setspecific): Format with
9255         @deftypefun, and add @safety note.
9256         * manual/signal.texi: Move comments that analyze the above
9257         functions to their home place.
9258
9259 2014-02-03  Allan McRae  <allan@archlinux.org>
9260
9261         * po/sl.po: Update Slovenian translation from translation project.
9262
9263 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
9264
9265         * manual/time.texi (timegm): Add missing blank after @c.
9266         Reported by Joseph Myers <joseph@codesourcery.com>.
9267
9268 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
9269
9270         * manual/check-safety.sh: New.
9271         * manual/Makefile ($(objpfx)stamp-summary): Run it.
9272
9273         * manual/terminal.texi: Document MTASC-safety properties.
9274
9275         * manual/filesys.texi: Document MTASC-safety properties.
9276
9277         * manual/errno.texi: Document MTASC-safety properties.
9278
9279         * manual/intro.texi: Document safety identifiers and
9280         conditionals.
9281
9282         * manual/string.texi (wcstok): Fix prototype.
9283         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9284
9285         * manual/time.texi: Document MTASC-safety properties.
9286
9287         * manual/string.texi: Document MTASC-safety properties.
9288
9289         * manual/threads.texi: Document MTASC-safety properties.
9290
9291         * manual/stdio.texi: Document MTASC-safety properties.
9292
9293         * manual/syslog.texi: Document MTASC-safety properties.
9294
9295         * manual/sysinfo.texi: Document MTASC-safety properties.
9296
9297         * manual/startup.texi: Document MTASC-safety properties.
9298
9299         * manual/socket.texi: Document MTASC-safety properties.
9300
9301         * manual/signal.texi: Document MTASC-safety properties.
9302
9303 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
9304
9305         * manual/setjmp.texi: Document MTASC-safety properties.
9306
9307         * manual/search.texi: Document MTASC-safety properties.
9308
9309         * manual/resource.texi: Document MTASC-safety properties.
9310
9311         * manual/process.texi: Document MTASC-safety properties.
9312
9313         * manual/platform.texi: Document MTASC-safety properties.
9314
9315         * manual/pipe.texi: Document MTASC-safety properties.
9316
9317         * manual/pattern.texi: Document MTASC-safety properties.
9318
9319         * manual/message.texi: Document MTASC-safety properties.
9320
9321         [BZ #12751]
9322         * manual/memory.texi: Document MTASC-safety properties.
9323
9324         * manual/math.texi: Document MTASC-safety properties.
9325
9326         * manual/locale.texi: Document MTASC-safety properties.
9327
9328         * manual/llio.texi: Document MTASC-safety properties.
9329
9330         * manual/libdl.texi: New.
9331
9332         * manual/lang.texi: Document MTASC-safety properties.
9333
9334         * manual/job.texi: Document MTASC-safety properties.
9335
9336         * manual/getopt.texi: Document MTASC-safety properties.
9337
9338         * manual/ctype.texi: Document MTASC-safety properties.
9339
9340 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
9341
9342         [BZ #16046]
9343         * csu/libc-tls.c (static_map): Remove variable.
9344         (__libc_setup_tls): Use main executable's link map for TLS data.
9345         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9346         casing for LM_ID_BASE and GL(dl_nns).
9347         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9348         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
9349         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9350         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9351         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9352         member.
9353         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9354         l_phnum members.
9355
9356 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
9357
9358         * manual/debug.texi: Document MTASC-safety properties.
9359
9360 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
9361
9362         [BZ #16510]
9363         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9364         of __x86_64__ when disabling x87 inline functions.
9365
9366 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
9367
9368         * manual/charset.texi: Document MTASC-safety properties.
9369
9370         * manual/crypt.texi: Document MTASC-safety properties.
9371
9372         * manual/conf.texi: Document MTASC-safety properties.
9373
9374         * manual/arith.texi: Document MTASC-safety properties.
9375
9376         * manual/argp.texi: Document MTASC-safety properties.
9377
9378         * manual/macros.texi: Introduce macros to document multi
9379         thread, asynchronous signal and asynchronous cancellation
9380         safety properties.
9381         * manual/intro.texi: Introduce the properties themselves.
9382
9383 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9384
9385         * sysdeps/sh/sh4/Makefile: New file.
9386
9387 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
9388
9389         * math/gen-libm-test.pl ($srcdir): New variable.
9390         ($auto_input): Use it.
9391
9392 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9393
9394         [BZ #16506]
9395         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9396         access beyond array bounds when parsing netgroups file.
9397
9398         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9399         the old buffer before realloc.
9400
9401 2014-01-27  Allan McRae  <allan@archlinux.org>
9402
9403         * po/fr.po: Update French translation from translation project.
9404
9405 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9406
9407         * sysdeps/sh/libm-test-ulps: Regenerate.
9408
9409 2014-01-24  David S. Miller  <davem@davemloft.net>
9410
9411         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9412
9413 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9414
9415         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9416         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9417
9418 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9419
9420         [BZ #16474]
9421         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9422         string pointers after reallocation.
9423
9424 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9425
9426         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9427         __SH4A__ instead of __SH_FPU_ANY__.
9428
9429 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9430
9431         * sysdeps/sh/fpu_control.h: New file.
9432         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9433         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9434         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9435         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9436         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9437         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9438         * sysdeps/sh/sys/ucontext.h: Remove.
9439         * sysdeps/sh/sys: Remove directory.
9440
9441 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9442
9443         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9444         s390/sys/ucontext.h.
9445         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9446         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9447
9448 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
9449
9450         [BZ #15605]
9451         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9452
9453 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9454
9455         [BZ#16431]
9456         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9457         Adjust the vDSO correctly for internal calls.
9458         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9459
9460 2014-01-20  Allan McRae  <allan@archlinux.org>
9461
9462         * po/ca.po: Update Catalan translation from translation project.
9463
9464 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
9465
9466         * sysdeps/s390/sotruss-lib.c: New file.
9467
9468 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9469
9470         [BZ#16430]
9471         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9472         (__GI___gettimeofday): Alias for a different internal symbol to avoid
9473         local calls issues by not having a PLT stub required for IFUNC calls.
9474         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9475
9476 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
9477
9478         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9479         * math/test-fpucw-static.c: Likewise.
9480
9481 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9482
9483         [BZ #16453]
9484         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9485
9486 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9487
9488         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9489         implementation for powerpc.
9490
9491 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
9492
9493         [BZ #14782]
9494         * sysdeps/posix/system.c (__libc_system): Do not enable
9495         asynchronous cancellation.
9496
9497 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9498
9499         [BZ #16427]
9500         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9501         handling only for numbers special also in the IEEE case.
9502
9503 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9504
9505         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9506
9507 2014-01-11  Allan McRae  <allan@archlinux.org>
9508
9509         * po/bg.po: Update Bulgarian translation from translation project.
9510
9511         * po/de.po: Update German translation from translation project.
9512
9513 2014-01-10  Roland McGrath  <roland@hack.frob.com>
9514
9515         * sysdeps/generic/gcc-compat.h: New file.
9516
9517 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9518
9519         * benchtests/asin-inputs: Correct slow inputs.
9520         * benchtests/acos-inputs: Likewise.
9521
9522 2014-01-10  Allan McRae  <allan@archlinux.org>
9523
9524         * po:sv.po: Update Swedish translation from translation project.
9525
9526         * po/vi.po: Update Vietnamese translation from translation project.
9527
9528         * po/eo.po: Update Esperanto translation from translation project.
9529
9530         * po/cs.po: Update Czech translation from translation project.
9531
9532         * po/nl.po: Update Dutch translation from translation project.
9533
9534         * po/pl.po: Update Polish translation from translation project.
9535
9536         * po/ru.po: Update Russian translation from translation project.
9537
9538         * po/uk.po: Update Ukrainian translation from translation project.
9539
9540 2014-01-08  Brooks Moses  <bmoses@google.com>
9541
9542         * elf/dl-load.c: Fix comment typo.
9543
9544 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
9545
9546         * po/header.pot: Rename to...
9547         * po/pot.header: ... this.
9548         * po/Makefile: Use pot.header.
9549
9550 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
9551             Maxim Kuvyrkov  <maxim@kugelworks.com>
9552
9553         [BZ #16394]
9554         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9555         SRC and DEST against LEN.
9556
9557 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9558
9559         [BZ #16414]
9560         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9561         implementation.
9562         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9563
9564 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9565
9566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9567
9568 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
9569
9570         [BZ #16408]
9571         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9572         for large positive arguments.
9573
9574 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
9575
9576         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9577
9578         * math/auto-libm-test-in: Mark various tests with
9579         xfail-rounding:ldbl-128ibm.
9580         * math/auto-libm-test-out: Regenerated.
9581
9582         [BZ #16407]
9583         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9584         Increase overflow threshold.
9585
9586 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
9587
9588         [BZ #14286]
9589         * stdio-common/vfprintf.c: Check for integer overflow.
9590
9591 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9592
9593         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9594         the first argument and return value of __tls_get_addr_internal.
9595
9596 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9597
9598         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9599         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9600
9601 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9602
9603         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9604         * sysdeps/s390/rtld-global-offsets.sym: New file.
9605         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9606         GLIBC_2.19 symbol.
9607         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9608         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9609         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9610         ... this.
9611         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9612         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9613         ... this.
9614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9615         Regenerate.
9616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9617         Regenerate.
9618         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9619         halfs of GPRs for high_gprs contexts.
9620         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9621         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
9622         field.
9623         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9624         uc_flags field.
9625         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9626         64 bit versions:
9627         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9628         for high GPRs (uc_high_gprs) and for future extensions
9629         (__reserved).
9630         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9631         for future extensions (__reserved).
9632         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9633         64 bit versions:
9634         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9635         SC_HIGHGPRS offset definition.
9636         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9637         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9638
9639         * Versions.def: Add GLIBC_2.19 for libpthread.
9640         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9641         siglongjmp for libpthread with GLIBC_2.19 symver.
9642         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9643         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9644         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9645         * sysdeps/s390/__longjmp.c: New file.
9646         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9647         * sysdeps/s390/longjmp.c: New file.
9648         * sysdeps/s390/setjmp.S: New file.
9649         * sysdeps/s390/sigjmp.S: New file.
9650         * sysdeps/s390/v1-longjmp.c: New file.
9651         * sysdeps/s390/v1-setjmp.h: New file.
9652         * sysdeps/s390/v1-sigjmp.c: New file.
9653         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9654         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9655         GLIBC_2.19 version.
9656         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9657         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9658         versioned symbols for ____longjmp_chk.
9659         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9660         Likewise.
9661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9662         Regenerate.
9663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9664         Regenerate.
9665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9666         Regenerate.
9667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9668         Regenerate.
9669         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9670         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9671         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9672         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9673         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9674         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9675         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9676         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9677         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9678         * sysdeps/s390/rtld-__longjmp.c: New file.
9679         * sysdeps/s390/rtld-setjmp.S: New file.
9680
9681 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
9682
9683         [BZ #16400]
9684         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9685         Return -__logl (x) for small positive arguments without evaluating
9686         a polynomial.
9687
9688 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
9689
9690         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9691         Rename to ...
9692         (__ptrace_peeksiginfo_args): ... this.
9693         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9694         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9695         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9696
9697 2014-01-06  Allan McRae  <allan@archlinux.org>
9698
9699         * inet/netinet/in.h: Fix typo in comment.
9700
9701 2014-01-05  Andreas Jaeger  <aj@suse.de>
9702
9703         * sysdeps/i386/fpu/libm-test-ulps: Update.
9704
9705 2014-01-05  Allan McRae  <allan@archlinux.org>
9706
9707         * po/libc.pot: Regenerated.
9708
9709         * malloc/memusagestat.c: Fix gettext call formatting.
9710
9711 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
9712
9713         * nscd/nscd.c: Improve usage() output.
9714
9715 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
9716
9717         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9718         * sysdeps/unix/sysv/linux/configure: Regenerated.
9719         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9720         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9721
9722 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9723
9724         [BZ #16390]
9725         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9726         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9727
9728 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9729
9730         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9731         extra tokens at end of #undef directive.
9732         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9733         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9734         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9735
9736 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9737
9738         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9739
9740         * math/auto-libm-test-in: Mark various tests with
9741         xfail-rounding:ldbl-128ibm.
9742         * math/auto-libm-test-out: Regenerated.
9743
9744 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
9745
9746         [BZ #16386]
9747         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9748         numbers with subnormal high part when calculating exponent.
9749
9750         [BZ #16385]
9751         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9752         fabs.
9753
9754         [BZ #16384]
9755         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9756         M_LN2l.
9757         (__ieee754_acoshl): Use __log1pl not __log1p.
9758
9759 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
9760
9761         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9762         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9763         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9764         (grow_heap, heap_trim, _int_new_arena, get_free_list)
9765         (reused_arena, arena_get2): Convert to GNU style.
9766         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9767         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9768         (memalign_check, __malloc_set_state): Likewise.
9769         * malloc/mallocbug.c (main): Likewise.
9770         * malloc/malloc.c (__malloc_assert, malloc_init_state)
9771         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9772         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9773         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9774         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9775         (__posix_memalign, malloc_info): Likewise.
9776         * malloc/malloc.h: Likewise.
9777         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9778         (mallochook, memalignhook, reallochook, mabort): Likewise.
9779         * malloc/mcheck.h: Likewise.
9780         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9781         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9782         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9783         * malloc/morecore.c (__default_morecore): Likewise.
9784         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9785         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9786         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9787         (print_and_abort): Likewise.
9788         * malloc/obstack.h: Likewise.
9789         * malloc/set-freeres.c (__libc_freeres): Likewise.
9790         * malloc/tst-mallocstate.c (main): Likewise.
9791         * malloc/tst-mtrace.c (main): Likewise.
9792         * malloc/tst-realloc.c (do_test): Likewise.
9793
9794 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9795
9796         [BZ #16366]
9797         * nscd/netgroupcache.c (do_notfound): New function.
9798         (addgetnetgrentX): Use it.
9799
9800         [BZ # 16365]
9801         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9802         NSS_STATUS_NOTFOUND.
9803
9804 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
9805
9806         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9808
9809 2014-01-01  Allan McRae  <allan@archlinux.org>
9810
9811         * scripts/update-copyrights: Update configure input file suffix.
9812
9813         * NEWS: Update copyright year.
9814         * catgets/gencat.c: Likewise.
9815         * csu/version.c: Likewise.
9816         * debug/catchsegv.sh: Likewise.
9817         * debug/pcprofiledump.c: Likewise.
9818         * debug/xtrace.sh: Likewise.
9819         * elf/ldconfig.c: Likewise.
9820         * elf/ldd.bash.in: Likewise.
9821         * elf/pldd.c: Likewise.
9822         * elf/sotruss.ksh: Likewise.
9823         * elf/sprof.c: Likewise.
9824         * iconv/iconv_prog.c: Likewise.
9825         * iconv/iconvconfig.c: Likewise.
9826         * locale/programs/locale.c: Likewise.
9827         * locale/programs/localedef.c: Likewise.
9828         * login/programs/pt_chown.c: Likewise.
9829         * malloc/memusage.sh: Likewise.
9830         * malloc/memusagestat.c: Likewise.
9831         * malloc/mtrace.pl: Likewise.
9832         * manual/libc.texinfo: Likewise.
9833         * nscd/nscd.c: Likewise.
9834         * nss/getent.c: Likewise.
9835         * nss/makedb.c: Likewise.
9836         * posix/getconf.c: Likewise.
9837         * scripts/test-installation.pl: Likewise.
9838
9839         * All files with FSF copyright notices: Update copyright dates
9840         using scripts/update-copyrights.
9841         * intl/plural.c: Regenerated.
9842         * locale/programs/charmap-kw.h: Likewise.
9843         * locale/programs/locfile-kw.h: Likewise.
9844
9845 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
9846
9847         * sysdeps/unix/sysv/linux/configure: Regenerated.
9848         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9849         the linux/fanotify.h header.
9850         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9851         HAVE_LINUX_FANOTIFY_H is defined.
9852
9853 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9854
9855         * benchtests/cos-inputs: New inputs.
9856         * benchtests/sin-inputs: Likewise.
9857
9858         * benchtests/atan-inputs: New inputs. Fix name of multiple
9859         precision fallback inputs.
9860
9861         * benchtests/atanh-inputs: New inputs.
9862         * benchtests/tanh-inputs: Likewise.
9863
9864         * benchtests/acosh-inputs: New inputs.
9865         * benchtests/asinh-inputs: Likewise.
9866
9867         * benchtests/cosh-inputs: New inputs.
9868         * benchtests/sinh-inputs: Likewise.
9869
9870         * benchtests/acos-inputs: Add more inputs.
9871         * benchtests/asin-inputs: Likewise.
9872
9873 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
9874
9875         [BZ #16375]
9876         * manual/arith.texi: Fix spelling.
9877         * manual/charset.texi: Likewise.
9878         * manual/errno.texi: Likewise.
9879         * manual/filesys.texi: Likewise.
9880         * manual/lang.texi: Likewise.
9881         * manual/llio.texi: Likewise.
9882         * manual/locale.texi: Likewise.
9883         * manual/message.texi: Likewise.
9884         * manual/resource.texi: Likewise.
9885         * manual/search.texi: Likewise.
9886         * manual/setjmp.texi: Likewise.
9887         * manual/stdio.texi: Likewise.
9888         * manual/string.texi: Likewise.
9889         * manual/sysinfo.texi: Likewise.
9890         * manual/time.texi: Likewise.
9891
9892 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
9893
9894         * po/sl.po: New file.
9895
9896 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
9897
9898         * .gitignore: Add core/.gdbinit/.gdb_history.
9899
9900 2013-12-27  Allan McRae  <allan@archlinux.org>
9901
9902         [BZ #16369]
9903         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9904         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9905
9906 2013-12-24  Brooks Moses  <bmoses@google.com>
9907
9908         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9909         all compilers that claim C++98 compliance, not just GCC.
9910         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9911         Likewise.
9912
9913 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
9914
9915         * NEWS: Restore accidentally deleted bug-fix entries.
9916
9917 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
9918             Ondřej Bílka  <neleai@seznam.cz>
9919
9920         [BZ #15073]
9921         * malloc/malloc.c (_int_free): Perform sanity check only if we
9922         have_lock.
9923
9924 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
9925
9926         [BZ #12986]
9927         * manual/stdio.texi (String Input Conversions): Clarify that character
9928         classes are not supported.
9929
9930 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9931
9932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9933
9934 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
9935
9936         [BZ #16337]
9937         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9938         Calculate results for small negative arguments directly rather
9939         than using reflection formula with special underflow handling.
9940
9941         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9942         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9943         sysdeps/unix/bsd/bsd4.4/syscalls.list.
9944         (fchflags): Likewise.
9945         (revoke): Likewise.
9946         (setlogin): Likewise.
9947         (sigaltstack): Likewise.
9948         (wait4): Likewise.
9949         (sigblock): Remove.
9950         (sigsetmask): Likewise.
9951         (wait3): Likewise.
9952         (waitpid): Likewise.
9953         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9954         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9955         file.
9956         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9957         * sysdeps/unix/bsd/Makefile: ... here.
9958         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9959         * sysdeps/unix/bsd/Versions: ... here.
9960         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9961         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9962         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9963         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9964         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9965         * sysdeps/unix/bsd/sigblock.c: ... here.
9966         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9967         * sysdeps/unix/bsd/sigsetmask.c: ... here.
9968         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9969         * sysdeps/unix/bsd/sigvec.c: ... here.
9970         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9971         * sysdeps/unix/bsd/tcdrain.c: ... here.
9972         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9973         * sysdeps/unix/bsd/tcgetattr.c: ... here.
9974         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9975         * sysdeps/unix/bsd/tcsetattr.c: ... here.
9976         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9977         * sysdeps/unix/bsd/wait.c: ... here.
9978         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9979         * sysdeps/unix/bsd/wait3.c: ... here.
9980         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9981         * sysdeps/unix/bsd/waitpid.c: ... here.
9982
9983 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
9984
9985         [BZ #16356]
9986         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9987         round-to-nearest for [!USE_AS_EXPM1L].
9988         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9989         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
9990         more tests of exp and exp10.  Expect some exp10 tests to miss
9991         exceptions or fail in directed rounding modes.
9992         * math/auto-libm-test-out: Regenerated.
9993         * math/libm-test.inc (exp10_tonearest_test_data): New array.
9994         (exp10_test_tonearest): New function.
9995         (exp10_towardzero_test_data): New array.
9996         (exp10_test_towardzero): New function.
9997         (exp10_downward_test_data): New array.
9998         (exp10_test_downward): New function.
9999         (exp10_upward_test_data): New array.
10000         (exp10_test_upward): New function.
10001         (main): Call the new functions.
10002         * sysdeps/i386/fpu/libm-test-ulps: Update.
10003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10004
10005 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10006
10007         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10008         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10009         * math/auto-libm-test-out: Regenerated.
10010         * math/libm-test.inc (acosh_test_data): Add more tests.
10011         (atanh_test_data): Likewise.
10012         (ceil_test_data): Likewise.
10013         (copysign_test_data): Likewise.
10014         * sysdeps/i386/fpu/libm-test-ulps: Update.
10015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10016
10017         * timezone/checktab.awk: Update from tzcode 2013i.
10018         * timezone/private.h: Likewise.
10019         * timezone/scheck.c: Likewise.
10020         * timezone/tzfile.h: Likewise.
10021         * timezone/tzselect.ksh: Likewise.
10022         * timezone/zdump.c: Likewise.
10023         * timezone/zic.c: Likewise.
10024
10025         * math/auto-libm-test-in: Add tests of cpow.
10026         * math/auto-libm-test-out: Regenerated.
10027         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10028         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10029         mpc_cc_c.
10030         (func_calc_desc): Add mpc_cc_c union field.
10031         (test_functions): Add cpow.
10032         (special_fill_2pi): New function.
10033         (special_real_inputs): Add 2pi.
10034         (calc_generic_results): Handle mpc_cc_c.
10035         * sysdeps/i386/fpu/libm-test-ulps: Update.
10036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10037
10038         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10039         csqrt, ctan and ctanh.
10040         * math/auto-libm-test-out: Regenerated.
10041         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10042         (TEST_COND_x86): Likewise.
10043         (ccos_test_data): Use AUTO_TESTS_c_c.
10044         (ccosh_test_data): Likewise.
10045         (cexp_test_data): Likewise.
10046         (clog_test_data): Likewise.
10047         (csqrt_test_data): Likewise.
10048         (ctan_test_data): Likewise.
10049         (ctan_tonearest_test_data): Likewise.
10050         (ctan_towardzero_test_data): Likewise.
10051         (ctan_downward_test_data): Likewise.
10052         (ctan_upward_test_data): Likewise.
10053         (ctanh_test_data): Likewise.
10054         (ctanh_tonearest_test_data): Likewise.
10055         (ctanh_towardzero_test_data): Likewise.
10056         (ctanh_downward_test_data): Likewise.
10057         (ctanh_upward_test_data): Likewise.
10058         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10059         mpc_c_c.
10060         (func_calc_desc): Add mpc_c_c union field.
10061         (FUNC_mpc_c_c): New macro.
10062         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10063         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10064         ctanh.
10065         (special_fill_min_subnorm_p120): New function.
10066         (special_real_inputs): Add min_subnorm_p120.
10067         (calc_generic_results): Handle mpc_c_c.
10068         * sysdeps/i386/fpu/libm-test-ulps: Update.
10069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10070
10071 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10072
10073         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10074         (do_sin_slow): New functions.
10075         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10076         (cslow2, csloww1, csloww2): Use the new functions.
10077
10078         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10079         Use M to change sign of result instead of X.  Assume X is
10080         positive.
10081         (csloww1): Likewise.
10082         (__sin): Adjust.
10083         (__cos): Adjust.
10084
10085         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10086         arguments A and DA.
10087         (__sin): Adjust.
10088         (__cos): Likewise.
10089
10090         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10091         (__cos): Likewise.
10092         (sloww1): Don't adjust sign of DX.
10093         (csloww1): Likewise.
10094         (sloww2): Use X directly and don't adjust sign of DX.
10095         (csloww2): Likewise.
10096
10097 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10098
10099         * math/auto-libm-test-in: Add tests of cabs and carg.
10100         * math/auto-libm-test-out: Regenerated.
10101         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10102         (carg_test_data): Likewise.
10103         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10104         mpc_c_f.
10105         (func_calc_desc): Add mpc_c_f union field.
10106         (test_functions): Add cabs and carg.
10107         (calc_generic_results): Handle mpc_c_f.
10108
10109         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10110         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10111         as a macro and a compat symbol.
10112         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10113         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10114         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10115         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10116         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10117         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10118         not use .hidden.
10119         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10120         Likewise.
10121         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10122         Likewise.
10123         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10124         Likewise.
10125         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10126         Likewise.
10127         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10128         Likewise.
10129         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10130         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10131         from GLIBC_2.3.2.
10132
10133 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10134
10135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10136
10137 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10138
10139         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10140         trailing whitespace removed.
10141         * scripts/config.guess: Update to version 2013-11-29.
10142         * scripts/config.sub: Update to version 2013-10-01.
10143
10144         * math/auto-libm-test-in: Add tests of sincos.
10145         * math/auto-libm-test-out: Regenerated.
10146         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10147         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10148         mpfr_f_11.
10149         (func_calc_desc): Add mpfr_f_11 union field.
10150         (test_functions): Add sincos.
10151         (calc_generic_results): Handle mpfr_f_11.
10152         * sysdeps/i386/fpu/libm-test-ulps: Update.
10153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10154
10155 2013-12-19  Andreas Schwab  <schwab@suse.de>
10156
10157         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10158         CALL_MCOUNT.
10159         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10160         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10161         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10162
10163 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10164
10165         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10166         * sysdeps/i386/fpu/libm-test-ulps: Update.
10167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10168
10169         [BZ #16293]
10170         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10171         round-to-nearest mode when using frndint.
10172         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10173         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10174         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10175         Likewise.
10176         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10177         sinh test to fail.
10178         * math/auto-libm-test-out: Regenerated.
10179         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10180         (TEST_COND_x86): Likewise.
10181         (expm1_tonearest_test_data): New array.
10182         (expm1_test_tonearest): New function.
10183         (expm1_towardzero_test_data): New array.
10184         (expm1_test_towardzero): New function.
10185         (expm1_downward_test_data): New array.
10186         (expm1_test_downward): New function.
10187         (expm1_upward_test_data): New array.
10188         (expm1_test_upward): New function.
10189         (main): Run the new test functions.
10190         * sysdeps/i386/fpu/libm-test-ulps: Update.
10191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10192
10193         * include/features.h: Update comment documenting feature test
10194         macros.  Mention _DEFAULT_SOURCE in comment.
10195         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10196         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10197         _BSD_SOURCE and _SVID_SOURCE.
10198         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10199         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10200         !_SVID_SOURCE]: Likewise.
10201         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10202         (__USE_POSIX_IMPLICITLY): Define.
10203         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10204         (_POSIX_SOURCE): Undefine and redefine.
10205         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10206         (_POSIX_C_SOURCE): Likewise.
10207         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10208         (Feature Test Macros): Update documentation of default features.
10209
10210 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10211
10212         * benchtests/Makefile: Add bench-strtok.
10213         * benchtests/bench-strtok.c: New file: strtok benchtest.
10214
10215 2013-12-19  Allan McRae  <allan@archlinux.org>
10216
10217         * manual/install.texi: Suppress menu for plain text output.
10218         * INSTALL: Regenerated.
10219
10220 2013-12-18  Brooks Moses  <bmoses@google.com>
10221
10222         [BZ #15846]
10223         * misc/getauxval.c: Include errno.h.
10224         (__getauxval): Set errno to ENOENT if the requested type is not
10225         found.
10226         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10227         don't declare with __attribute_const__.
10228         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10229         * manual/startup.texi: Document that getauxval sets errno.
10230
10231 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10232
10233         * math/auto-libm-test-in: Add tests of jn and yn.
10234         * math/auto-libm-test-out: Regenerated.
10235         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10236         (yn_test_data): Likewise.
10237         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10238         mpfr_if_f.
10239         (func_calc_desc): Add mpfr_if_f union field.
10240         (FUNC_mpfr_if_f): New macro.
10241         (test_functions): Add jn and yn.
10242         (calc_generic_results): Assert type of second input for
10243         mpfr_ff_f.  Handle mpfr_if_f.
10244         (output_for_one_input_case): Disable all checking for arguments
10245         fitting floating-point types in case of an integer argument.
10246         * sysdeps/i386/fpu/libm-test-ulps: Update.
10247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10248
10249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10250         Don't expect fegetround reference in libm.so.
10251
10252 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10253
10254         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10255         $(config-cflags-nofma).
10256
10257 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10258
10259         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10260         * math/auto-libm-test-out: Regenerated.
10261
10262         [BZ #16338]
10263         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10264         to determine exponent and adjust argument to have exponent of -1.
10265         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10266         log2.
10267         * math/auto-libm-test-out: Regenerated.
10268         * sysdeps/i386/fpu/libm-test-ulps: Update.
10269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10270
10271 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
10272
10273         * manual/probes.texi: Remove cases when per-thread arenas are
10274         disabled.
10275
10276 2013-12-18  Andreas Schwab  <schwab@suse.de>
10277
10278         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10279         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10280         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10281         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10282         * sysdeps/i386/i686/multiarch/Makefile: Update.
10283         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10284
10285 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10286
10287         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10288         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10289
10290 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
10291
10292         [BZ #15968]
10293         Support TZ transition times < 00:00:00.
10294         This is needed for version-3 tz-format files; it supports time
10295         stamps past 2037 for America/Godthab (the only entry in the tz
10296         database for which this change is relevant).
10297         * manual/time.texi (TZ Variable): Document transition times
10298         from -167:59:59 through -00:00:01.
10299         * time/tzset.c (tz_rule): Time of day is now signed.
10300         (__tzset_parse_tz): Parse negative time of day.
10301
10302         Document TZ transition times >= 25:00:00.
10303         * manual/time.texi (TZ Variable): Document transition times from
10304         25:00:00 through 167:59:59.  These are already supported, and this
10305         support will help with version-3 tz-format files.
10306
10307         * manual/time.texi (TZ Variable): Modernize North America example
10308         to reflect current (i.e., 2007-and-later) daylight saving rules.
10309
10310         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10311
10312 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10313
10314         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10315         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10316         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10317         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10318         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10319         * sysdeps/unix/bsd/bsdstat.h: Likewise.
10320         * sysdeps/unix/bsd/clock.c: Likewise.
10321         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10322         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10323         * sysdeps/unix/bsd/init-posix.c: Likewise.
10324         * sysdeps/unix/bsd/poll.c: Likewise.
10325         * sysdeps/unix/bsd/ptsname.c: Likewise.
10326         * sysdeps/unix/bsd/seekdir.c: Likewise.
10327         * sysdeps/unix/bsd/setegid.c: Likewise.
10328         * sysdeps/unix/bsd/seteuid.c: Likewise.
10329         * sysdeps/unix/bsd/setgid.c: Likewise.
10330         * sysdeps/unix/bsd/setrgid.c: Likewise.
10331         * sysdeps/unix/bsd/setruid.c: Likewise.
10332         * sysdeps/unix/bsd/setsid.c: Likewise.
10333         * sysdeps/unix/bsd/setuid.c: Likewise.
10334         * sysdeps/unix/bsd/sigaction.c: Likewise.
10335         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10336         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10337         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10338         * sysdeps/unix/bsd/telldir.c: Likewise.
10339         * sysdeps/unix/bsd/times.c: Likewise.
10340         * sysdeps/unix/bsd/usleep.c: Likewise.
10341
10342         * misc/Makefile (install-lib): Remove libbsd-compat.a.
10343         ($(objpfx)libbsd-compat.a): Remove rule.
10344
10345         * include/features.h (__FAVOR_BSD): Do not define.
10346         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10347         features conflicting with POSIX.
10348         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10349         (_BSD_SOURCE): Remove description of not being a subset of other
10350         feature test macros.
10351         * manual/job.texi (getpgrp): Do not document BSD version.
10352         (getpgid): Do not document by reference to BSD getpgrp.
10353         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10354         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10355         * signal/signal.h [__FAVOR_BSD]: Likewise.
10356         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10357         instead of making contents conditional on [__FAVOR_BSD].
10358         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10359
10360 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10361
10362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10363
10364 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10365
10366         [BZ #16314]
10367         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10368         values below 2**-450, not 2**-500.
10369         * math/auto-libm-test-in: Don't allow spurious underflow from
10370         hypot.
10371         * math/auto-libm-test-out: Regenerated.
10372
10373         [BZ #16316]
10374         [BZ #16330]
10375         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10376         values of ha and hb and sort them after adjusting subnormal
10377         arguments.
10378         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10379         Likewise.
10380         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10381         values of ea and eb and sort them after adjusting subnormal
10382         arguments.
10383         * math/auto-libm-test-in: Do not expect some hypot tests of
10384         subnormals to fail.  Add more hypot tests.
10385         * math/auto-libm-test-out: Regenerated.
10386
10387 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10388
10389         [BZ #13304]
10390         * sysdeps/sh/s_fma.c: New file.
10391         * sysdeps/sh/s_fmaf.c: New file.
10392         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
10393         version.
10394         * sysdeps/sh/Implies: Add sh/soft-fp.
10395
10396 2013-12-16  Roland McGrath  <roland@hack.frob.com>
10397
10398         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
10399         level of indirection to members `objname', `errstring', `malloced'.
10400         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10401         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
10402         it as the __longjmp argument (just pass 1 instead).
10403         (_dl_catch_error): Initialize C with argument pointers and address of
10404         volatile local ERRCODE rather than copying values out of C at return.
10405
10406 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
10407
10408         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10409         * math/auto-libm-test-out: Regenerated.
10410         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10411         (hypot_test_data): Likewise.
10412         (pow_test_data): Likewise.
10413         (pow_tonearest_test_data): Likewise.
10414         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10415         mpfr_ff_f.
10416         (func_calc_desc): Add mpfr_ff_f union field.
10417         (FUNC_mpfr_ff_f): New macro.
10418         (test_functions): Add atan2, hypot and pow.
10419         (special_fill_min): New function.
10420         (special_fill_minus_min): Likewise.
10421         (special_fill_min_subnorm): Likewise.
10422         (special_fill_minus_min_subnorm): Likewise.
10423         (special_real_inputs): Add min, -min, min_subnorm and
10424         -min_subnorm.
10425         (calc_generic_results): Handle mpfr_ff_f.
10426         * sysdeps/i386/fpu/libm-test-ulps: Update.
10427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10428
10429 2013-12-16  Will Newton  <will.newton@linaro.org>
10430
10431         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10432         (Aligned Memory Blocks): Add documentation for aligned_alloc
10433         and suggest it as an alternative to posix_memalign.
10434         (Hooks for Malloc): Document __memalign_hook is also called
10435         for aligned_alloc.  (Summary of Malloc): Add summary for
10436         aligned alloc.  Document __memalign_hook is also called
10437         for aligned_alloc.
10438
10439 2013-12-16  Will Newton  <will.newton@linaro.org>
10440
10441         * manual/memory.texi (Malloc Examples): Clarify default
10442         alignment documentation.  Suggest posix_memalign rather
10443         than memalign or valloc.
10444         (Aligned Memory Blocks): Remove suggestion to use memalign
10445         or valloc.  Remove obsolete comment about BSD.
10446         Document memalign errno values and mark the function obsolete.
10447         Document posix_memalign returned error codes.  Mark valloc
10448         as obsolete.  (Hooks for Malloc): __memalign_hook is also
10449         called for posix_memalign and valloc.
10450         (Summary of Malloc): Add posix_memalign to function summary.
10451         __memalign_hook is also called for posix_memalign and valloc.
10452
10453 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10454
10455         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10456         TAYLOR_SIN.
10457         (__sin): Adjust.
10458         (__cos): Likewise.
10459         (sloww): Use mynumber union.  Expand ternary operator into
10460         if-else statements.
10461         (cslow): use mynumber union.
10462
10463 2013-12-16  Allan McRae  <allan@archlinux.org>
10464
10465         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10466         * configure: Regenerated.
10467
10468         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10469
10470         [BZ #14120]
10471         * configure.ac: Added --enable-maintainer-mode. Check for
10472         autoconf when enabled.
10473         * configure: Regenerated.
10474
10475         * nscd/nscd.service: New file.
10476         * nscd/nscd.tmpfiles: New file.
10477
10478 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
10479
10480         [BZ #12100]
10481         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10482         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10483         * sysdeps/x86_64/multiarch/strstr.c: ... here.
10484         (strstr): Add __strstr_sse2_unaligned ifunc.
10485         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10486         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10487         (strcasestr): Remove __strcasestr_sse42 ifunc.
10488         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10489         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10491
10492 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10493
10494         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10495         * sysdeps/sh/bits/fenv.h: ... here.
10496         * sysdeps/sh/sh4/fpu/bits: Remove directory.
10497
10498 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10499
10500         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10501
10502         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10503         hypotf multiarch implementations.
10504         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10505         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10506         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10507         multiarch hypot for PPC64.
10508         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10509         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10510         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10511         multiarch hypotf for PPC64.
10512
10513         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10514         modff multiarch implementations.
10515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10518         multiarch modf for PPC64.
10519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10522         multiarch modff for PPC64.
10523
10524         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10525         and logl multiarch implementations.
10526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10529         multiarch logb for PPC64.
10530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10533         multiarch logb for PPC64.
10534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10537         multiarch logb for PPC64.
10538
10539         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10540         isinff multiarch implementation.
10541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10542         file.
10543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10545         multiarch isinf for PPC64.
10546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10547         file.
10548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10549         multiarch isinff for PPC64.
10550
10551         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10552         finitef multiarch implementation.
10553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10554         file.
10555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10557         multiarch finite for PPC64.
10558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10559         file.
10560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10561         multiarch finitef for PPC64.
10562
10563         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10564         lrint multiarch implementation.
10565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10566         file.
10567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10569         multiarch llrint for PPC64.
10570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10571         multiarch lrint for PPC64.
10572
10573         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10574         copysignf multiarch implementation.
10575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10576         file.
10577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10578         file.
10579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10580         multiarch copysign for PPC64.
10581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10582         multiarch copysignf for PPC64.
10583
10584         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10585         multiarch implementation.
10586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10587         file.
10588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10589         file.
10590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10591         file.
10592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10593         file.
10594         multiarch llround for PPC64.
10595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10596         multiarch trunc for PPC64.
10597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10598         multiarch truncf for PPC64.
10599
10600         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10601         multiarch implementation.
10602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10603         file.
10604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10605         file.
10606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10607         file.
10608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10609         file.
10610         multiarch llround for PPC64.
10611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10612         multiarch round for PPC64.
10613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10614         multiarch roundf for PPC64.
10615
10616         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10617         multiarch implementation.
10618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10619         file.
10620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10621         file.
10622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10623         file.
10624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10625         file.
10626         multiarch llround for PPC64.
10627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10628         multiarch floor for PPC64.
10629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10630         multiarch floorf for PPC64.
10631
10632         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10633         multiarch implementation.
10634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10635         file.
10636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10637         file.
10638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10639         file.
10640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10641         file.
10642         multiarch llround for PPC64.
10643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10644         multiarch ceil for PPC64.
10645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10646         multiarch ceilf for PPC64.
10647
10648         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10649         multiarch implementation.
10650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10651         file.
10652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10653         file.
10654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10655         file.
10656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10657         multiarch llround for PPC64.
10658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10659         multiarch lround for PPC64.
10660
10661         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10662         multiarch implementation.
10663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10666         file.
10667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10670         multiarch isnan for PPC64.
10671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10672         multiarch isnanf for PPC64.
10673
10674         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10675         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10676         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10677         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10678         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10680
10681         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10682         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10683         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10684         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10685
10686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10687         multiarch implementations.
10688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10689         (__libc_ifunc_impl_list): Likewise.
10690         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10691         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10692         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10693         multiarch stpcpy for PPC64.
10694
10695         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10696         multiarch implementations.
10697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10698         (__libc_ifunc_impl_list): Likewise.
10699         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10700         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10701         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10702         multiarch strcpy for PPC64.
10703
10704         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10705         redefine function name.
10706         (_wordcopy_fwd_dest_aligned): Likewise.
10707         (_wordcopy_bwd_aligned): Likewise.
10708         (_wordcopy_bwd_dest_aligned): Likewise.
10709         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10710         multiarch implementations.
10711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10712         (__libc_ifunc_impl_list): Likewise.
10713         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10714         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10715         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10716         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10717         multiarch wcscpy for PPC64.
10718
10719         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10720         multiarch implementations.
10721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10722         (__libc_ifunc_impl_list): Likewise.
10723         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10724         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10725         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10726         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10727         multiarch wcscpy for PPC64.
10728
10729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10730         multiarch implementations.
10731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10732         (__libc_ifunc_impl_list): Likewise.
10733         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10734         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10735         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10736         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10737         multiarch wcsrchr for PPC64.
10738
10739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10740         multiarch implementations.
10741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10742         (__libc_ifunc_impl_list): Likewise.
10743         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10744         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10745         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10746         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10747         multiarch wcschr for PPC64.
10748
10749         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10750         multiarch implementations.
10751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10752         (__libc_ifunc_impl_list): Likewise.
10753         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10754         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10755         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10756         multiarch strchrnul for PPC64.
10757
10758         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10759         implementations.
10760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10761         (__libc_ifunc_impl_list): Likewise.
10762         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10763         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10764         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10765         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10766         strchr for PPC64.
10767
10768         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10769         implementations.
10770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10771         (__libc_ifunc_impl_list): Likewise.
10772         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10773         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10774         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10775         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10776         strncmp for PPC64.
10777
10778         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10779         multiarch implementations.
10780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10781         (__libc_ifunc_impl_list): Likewise.
10782         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10783         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10784         strncasecmp for PPC64.
10785         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10786         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10787         multiarch strncasecmp_l for PPC64.
10788
10789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10790         multiarch implementations.
10791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10792         (__libc_ifunc_impl_list): Likewise.
10793         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10794         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10795         multiarch strcasecmp for PPC64.
10796         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10797         file.
10798         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10799         multiarch strcasecmp_l for PPC64.
10800
10801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10802         implementations.
10803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10804         (__libc_ifunc_impl_list): Likewise.
10805         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10806         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10807         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10808         strnlen for PPC64.
10809
10810         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10811         implementations.
10812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10813         (__libc_ifunc_impl_list): Likewise.
10814         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10815         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10816         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10817         strlen for PPC64.
10818
10819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10820         implementations.
10821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10822         (__libc_ifunc_impl_list): Likewise.
10823         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10824         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10825         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10826         rawmemrchr for PPC64.
10827
10828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10829         implementation.
10830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10831         (__libc_ifunc_impl_list): Likewise.
10832         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10833         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10834         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10835         memrchr for PPC64.
10836
10837         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10838         implementation.
10839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10840         (__libc_ifunc_impl_list): Likewise.
10841         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10842         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10843         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10844         memchr for PPC64.
10845
10846         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10847         implementation.
10848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10849         (__libc_ifunc_impl_list): Likewise.
10850         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10851         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10852         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10853         mempcpy for PPC64.
10854
10855         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10856         avoid cretion of __bzero symbol.
10857         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10858         Likewise.
10859         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10860         Likewise.
10861         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10862         Likewise.
10863         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10864         multiarch implementations.
10865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10866         (__libc_ifunc_impl_list): Likewise.
10867         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10868         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10869         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10870         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10871         bzero for PPC32.
10872         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10873         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10874         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10875         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10876         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10877         memset for PPC64.
10878         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10879
10880         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10882         implementations.
10883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10884         (__libc_ifunc_impl_list): Likewise.
10885         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10886         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10887         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10888         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10889         memcmp for PPC64.
10890
10891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10892         multiarch for POWER/PPC64.
10893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10894         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10895         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10896         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10897         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10898         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10899         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10900         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10901         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10902         memcpy for PPC64.
10903
10904         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10905         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10906         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10907         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10908         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10909         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10910         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10911         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10912         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10913         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10914         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10915         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10916         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10917         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10918         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10926
10927 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10928
10929         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10930
10931 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10932
10933         * benchtests/Makefile (bench): Add exp2 and log2.
10934         (LDLIBS-bench-exp2): Add -lm.
10935         (LDLIBS-bench-log2): Likewise.
10936         * benchtests/exp2-inputs: New inputs file.
10937         * benchtests/log2-inputs: New inputs file.
10938         * benchtests/log-inputs: Add new inputs.
10939         * benchtests/tan-inputs: Likewise.
10940
10941 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10942
10943         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10944         definition...
10945         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10946         (csloww2): ... from here.
10947
10948         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10949         instead of structures.
10950         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10951         (POLYNOMIAL): Likewise.
10952         (TAYLOR_SLOW): Likewise.
10953         (__sin): Likewise.
10954         (__cos): Likewise.
10955         (slow1): Likewise.
10956         (slow2): Likewise.
10957         (sloww): Likewise.
10958         (sloww1); Likewise.
10959         (sloww2): Likewise.
10960         (bsloww1): Likewise.
10961         (bsloww2): Likewise.
10962         (cslow2): Likewise.
10963         (csloww): Likewise.
10964         (csloww1): Likewise.
10965         (csloww2): Likewise.
10966
10967 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
10968
10969         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10970         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10971         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10972         * malloc/hooks.c (realloc_check): Likewise.
10973
10974         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10975         * malloc/arena.c: Remove PER_THREAD conditional.
10976         [!PER_THREAD]: Remove code.
10977         (ptmalloc_unlock_all2): Likewise.
10978         (ptmalloc_init): Likewise.
10979         (_int_new_arena): Likewise.
10980         (arena_get2): Likewise.
10981         * malloc/hooks.c (__malloc_get_state): Likewise.
10982         (__malloc_set_state): Likewise.
10983         * malloc/malloc.c: Likewise.
10984         (struct malloc_state): Likewise.
10985         (struct malloc_par): Likewise.
10986         (__libc_realloc): Likewise.
10987         (__libc_mallopt): Likewise.
10988
10989 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10990
10991         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10992
10993 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
10994
10995         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10996         macro to a function.  Check for zero perturb_byte.
10997         (_int_malloc, _int_free): Remove zero perturb_byte checks.
10998
10999         * malloc/malloc.c: (force_reg): Remove.
11000         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11001         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11002         force_reg by atomic_forced_read.
11003         * malloc/arena.c (ptmalloc_init): Likewise.
11004         * malloc/hooks.c (top_check): Likewise.
11005
11006 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11007
11008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11009
11010 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11011
11012         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11013
11014 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11015
11016         * math/auto-libm-test-in: Add tests of lgamma.
11017         * math/auto-libm-test-out: Regenerated.
11018         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11019         (M_LOG_2_SQRT_PIl): Likewise.
11020         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11021         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11022         mpfr_f_f1.
11023         (func_calc_desc): Add mpfr_f_f1 union field.
11024         (ARGS1): New macro.
11025         (ARGS2): Likewise.
11026         (ARGS3): Likewise.
11027         (ARGS4): Likewise.
11028         (RET1): Likewise.
11029         (RET2): Likewise.
11030         (CALC): Likewise.
11031         (FUNC): Likewise.
11032         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11033         (test_functions): Add lgamma.
11034         (calc_generic_results): Handle mpfr_f_f1.
11035         * sysdeps/i386/fpu/libm-test-ulps: Update.
11036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11037
11038 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11039
11040         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11041         __mpn_add_n for PowerPC64/POWER7.
11042         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11043         __mpn_sub_n for PowerPC64/POWER7.
11044
11045         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11046         __mpn_addmul_1 for PowerPC64.
11047         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11048         __mpn_submul_1 for PowerPC64.
11049         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11050         for PowerPC64.
11051         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11052         for PowerPC64.
11053
11054 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11055
11056         [BZ #15089]
11057         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11058
11059 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11060
11061         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11062
11063         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11064         add multiarch folders.
11065         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11066         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11067         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11068         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11069         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11070         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11071         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11072         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11073         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11074         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11075         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11082
11083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11084         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11086         New file.
11087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11088         New file.
11089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11090         multiarch __ieee754_hypot for PowerPC32.
11091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11092         New file.
11093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11094         New file.
11095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11096         multiarch __ieee754_hypotf for PowerPC32.
11097
11098         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11099         long_double_symbol only if __logbl is defined.
11100         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11101         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11102         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11103         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11104         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11105         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11106         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11107         path for implementation.
11108         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11109         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11111         logb, and logbl multiarch implementations for PowerPC32.
11112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11113         file.
11114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11115         file.
11116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11117         multiarch logb for PowerPC32.
11118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11119         file.
11120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11121         file.
11122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11123         multiarch logbf for PowerPC32.
11124         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11126         file.
11127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11128         multiarch logbl implementation for PowerPC32.
11129
11130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11131         and modff multiarch implementations.
11132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11133         New file.
11134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11135         New file.
11136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11137         multiarch modf for PowerPC32.
11138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11139         New file.
11140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11141         New file.
11142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11143         multiarch modff for PowerPC32.
11144
11145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11146         and lrintf multiarch implementations.
11147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11148         New file.
11149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11150         New file.
11151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11152         multiarch lrint for PowerPC32.
11153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11154         file: multiarch lrintf for PowerPC32.
11155
11156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11157         and lroundf multiarch implementations.
11158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11159         New file.
11160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11161         New file.
11162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11163         New file.
11164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11165         multiarch lround for PowerPC32.
11166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11167         file: multiarch lroundf for PowerPC32.
11168
11169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11170         copysign and copysignf multiarch implementations.
11171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11172         New file.
11173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11174         New file.
11175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11176         file: multiarch copysign for PowerPC32.
11177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11178         file: multiarch copysignf for PowerPC32.
11179
11180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11181         and truncf multiarch implementations.
11182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11183         New file.
11184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11185         file.
11186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11187         multiarch trunc for PowerPC32.
11188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11189         New file.
11190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11191         New file.
11192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11193         multiarch truncf for PowerPC32.
11194
11195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11196         and roundf multiarch implementations.
11197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11198         New file.
11199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11200         file.
11201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11202         multiarch round for PowerPC32.
11203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11204         New file.
11205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11206         New file.
11207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11208         multiarch roundf for PowerPC32.
11209
11210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11211         and floorf multiarch implementations.
11212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11213         New file.
11214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11215         file.
11216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11217         multiarch floor for PowerPC32.
11218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11219         New file.
11220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11221         New file.
11222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11223         multiarch floorf for PowerPC32.
11224
11225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11226         and ceilf multiarch implementations.
11227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11228         New file.
11229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11230         file.
11231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11232         multiarch ceil for PowerPC32.
11233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11234         New file.
11235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11236         file.
11237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11238         multiarch ceilf for PowerPC32.
11239
11240         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11241         is defined.
11242         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11243         FINITEF is defined.
11244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11245         and finitef multiarch implementations.
11246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11247         New file.
11248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11249         file.
11250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11251         multiarch finite for PowerPC32.
11252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11253         New file.
11254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11255         file: multiarch finitef for PowerPC32.
11256
11257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11258         and isinff multiarch implementations.
11259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11260         file.
11261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11262         file.
11263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11264         multiarch isinf for PowerPC32.
11265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11266         New file.
11267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11268         multiarch isinff for PowerPC32.
11269
11270         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11271         alias when __isnan is defined.
11272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11273         and isnanf multiarch implementations.
11274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11275         file.
11276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11277         file.
11278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11279         file.
11280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11281         file.
11282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11283         multiarch isnan for PowerPC32.
11284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11285         New file.
11286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11287         New file.
11288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11289         multiarch isnanf for PowerPC32.
11290
11291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11292         and sqrtf multiarch implementations.
11293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11294         file.
11295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11296         file.
11297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11298         multiarch sqrt for PowerPC32.
11299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11300         file.
11301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11302         file.
11303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11304         multiarch sqrtf for PowerPC32.
11305
11306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11307         and llroundf multiarch implementations.
11308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11309         New file.
11310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11311         New file.
11312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11313         New file.
11314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11315         file: multiarch llround for PowerPC32.
11316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11317         file: multiarch llroundf for PowerPC32.
11318
11319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11320         multiarch PowerPC32 fpu implementations.
11321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11322         New file.
11323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11324         New file.
11325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11326         multiarch llrint for PowerPC32.
11327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11328         New file.
11329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11330         New file.
11331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11332         file.
11333
11334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11335
11336         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11337         file.
11338         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11339         file.
11340         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11341         file.
11342         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11343         multiarch wordcopy for PPC32.
11344         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11345         wordcopy objects.
11346         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11347         (__libc_ifunc_impl_list): Likewise.
11348         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11349         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11350         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11351         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11352         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11353         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11354
11355         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11356         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11357         file.
11358         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11359         file.
11360         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11361         file.
11362         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11363         multiarch wcscpy for PPC32.
11364         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11365         multiarch objects.
11366         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11367         (__libc_ifunc_impl_list): Likewise.
11368         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11369         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11370         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11371         sysdeps/powerpc/power6/wcscpy.c.
11372
11373         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11374         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11375         file.
11376         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11377         file.
11378         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11379         file.
11380         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11381         multiarch wcsrchr for PPC32.
11382         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11383         multiarch objects.
11384         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11385         (__libc_ifunc_impl_list): Likewise.
11386         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11387         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11388         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11389         sysdeps/powerpc/power6/wcsrchr.c.
11390
11391         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11392         file.
11393         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11394         file.
11395         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11396         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11397         multiarch wcschr for PPc32.
11398         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11399         multiarch objects.
11400         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11401         (__libc_ifunc_impl_list): Likewise.
11402         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11403         * sysdeps/powerpc/power6/wcschr.c: ... to here.
11404         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11405         sysdeps/powerpc/power6/wcschr.c.
11406
11407         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11408         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11409         file.
11410         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11411         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11412         file: multiarch strchr for PPC32.
11413         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11414         multiarch objects.
11415         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11416         (__libc_ifunc_impl_list): Likewise.
11417
11418         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11419         name.
11420         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11421         file.
11422         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11423         file.
11424         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11425         multiarch strchrnul for PPC32.
11426         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11427         multiarch objects.
11428         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11429         (__libc_ifunc_impl_list): Likewise.
11430
11431         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11432         file.
11433         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11434         multiarch strncasecmp for PPC32.
11435         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11436         file.
11437         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11438         multiarch strncasecmp_l for PPC32.
11439         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11440         strncasecmp multiarch objects.
11441         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11442         (__libc_ifunc_impl_list): Likewise.
11443
11444         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11445         file.
11446         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11447         multiarch strncasecmp for PPC32.
11448         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11449         New file.
11450         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11451         multiarch strcasecmp_l for PPC32.
11452         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11453         multiarch objects.
11454         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11455         (__libc_ifunc_impl_list): Likewise.
11456
11457         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11458         file.
11459         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11460         file.
11461         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11462         multiarch strncmp for PPC32.
11463         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11464         multiarch objects.
11465         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11466         (__libc_ifunc_impl_list): Likewise.
11467
11468         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11469         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11470         file.
11471         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11472         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11473         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11474         multiarch objects.
11475         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11476         (__libc_ifunc_impl_list): Likewise.
11477
11478         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11479         file.
11480         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11481         file.
11482         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11483         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11484         multiarch objects.
11485         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11486         (__libc_ifunc_impl_list): Likewise.
11487
11488         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11489         file.
11490         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11491         file.
11492         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11493         multiarch rawmemchr for PPC32.
11494         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11495         multiarch objects.
11496         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11497         (__libc_ifunc_impl_list): Likewise.
11498
11499         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11500         file.
11501         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11502         file.
11503         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11504         file: memrchr multiarch for PPC32.
11505         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11506         multiarch objects.
11507         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11508         (__libc_ifunc_impl_list): Likewise.
11509
11510         * string/memchr.c (__memchr): Using macro to redefine symbol name.
11511         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11512         file.
11513         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11514         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11515         multiarch memchr for PPC32.
11516         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11517         multiarch objects.
11518         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11519         (__libc_ifunc_impl_list): Likewise.
11520
11521         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11522         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11523         file.
11524         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11525         file.
11526         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11527         file: multiarch mempcpy for PPC32.
11528         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11529         multiarch objects.
11530         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11531         (__libc_ifunc_impl_list): Likewise.
11532
11533         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11534         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11535         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11536         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11537         multiarch bzero for PPC32.
11538         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11539         file.
11540         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11541         file.
11542         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11543         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11544         file: multiarch memset for PPC32.
11545         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11546         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11547         memset multiarch objects.
11548         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11549         (__libc_ifunc_impl_list): Likewise.
11550
11551         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11552         file.
11553         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11554         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11555         memcmp for PPC32.
11556         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11558         multiarch objects.
11559         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11560         (__libc_ifunc_impl_list): Likewise.
11561
11562         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11563         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11564         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11565         file.
11566         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11567         file.
11568         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11569         file.
11570         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11571         multiarch memcpy for PPC32.
11572         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11573         multiarch objects.
11574         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11575         (__libc_ifunc_impl_list): Likewise.
11576
11577         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11578         support multiarch for POWER/PPC32.
11579         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11580         Likewise.
11581         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11583         Implies file to make multiarch folder appers before the fpu and
11584         default folder for power4 configuration.
11585
11586 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11587
11588         * scripts/bench.pl: Append volatile keyword to type.
11589
11590 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11591
11592         * sysdeps/sh/sotruss-lib.c: New file.
11593         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11594
11595 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11596
11597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11598
11599 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
11600
11601         [BZ #6810]
11602         * math/w_tgamma.c: Include <errno.h>.
11603         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
11604         * math/w_tgammaf.c: Include <errno.h>.
11605         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
11606         * math/w_tgammal.c: Include <errno.h>.
11607         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
11608         * math/auto-libm-test-in: Do not allow missing errno on tgamma
11609         underflow.  Add more tgamma tests.
11610         * math/auto-libm-test-out: Regenerated.
11611         * sysdeps/i386/fpu/libm-test-ulps: Update.
11612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11613
11614         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11615         sin, sinh, tan, tanh, tgamma, y0 and y1.
11616         * math/auto-libm-test-out: Regenerated.
11617         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11618         (TEST_COND_x86): Likewise.
11619         (M_E2l): Remove macro.
11620         (M_E3l): Likewise.
11621         (M_2_SQRT_PIl): Likewise.
11622         (M_SQRT_PIl): Likewise.
11623         (M_1_DIV_El): Likewise.
11624         (log_test_data): Use AUTO_TESTS_f_f.
11625         (log10_test_data): Likewise.
11626         (log1p_test_data): Likewise.
11627         (log2_test_data): Likewise.
11628         (sin_test_data): Likewise.
11629         (sin_tonearest_test_data): Likewise.
11630         (sin_towardzero_test_data): Likewise.
11631         (sin_downward_test_data): Likewise.
11632         (sin_upward_test_data): Likewise.
11633         (sinh_test_data): Likewise.
11634         (sinh_tonearest_test_data): Likewise.
11635         (sinh_towardzero_test_data): Likewise.
11636         (sinh_downward_test_data): Likewise.
11637         (sinh_upward_test_data): Likewise.
11638         (tan_test_data): Likewise.
11639         (tan_tonearest_test_data): Likewise.
11640         (tan_towardzero_test_data): Likewise.
11641         (tan_downward_test_data): Likewise.
11642         (tan_upward_test_data): Likewise.
11643         (tanh_test_data): Likewise.
11644         (tgamma_test_data): Likewise.
11645         (y0_test_data): Likewise.
11646         (y1_test_data): Likewise.
11647         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11648         (special_real_inputs): Add pi/4.
11649         * sysdeps/i386/fpu/libm-test-ulps: Update.
11650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11651
11652 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11653
11654         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11655         "longjmp_target" static probes.
11656         (__longjmp): Rename to __longjmp_symbol.
11657         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11658         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11659         on which longjmp to generate.
11660         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11661         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11662         probe.
11663         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11664         (__sigjmp_save): Rename to __sigjmp_save_symbol.
11665         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11666         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11667         and __sigjmp_save_symbol based on which sigsetjmp to generated.
11668         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11670         __longjmp_symbol based on which __longjmp to generate.
11671         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11672         probe.
11673         (setjmp): Rename to setjmp_symbol.
11674         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11675         (_setjmp): Rename to _setjmp_symbol.
11676         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11677         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11678         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11679         which setjmp to generate.
11680         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11681         "longjmp_target" static probes.
11682
11683 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11684
11685         * benchtests/README: Add note about output arguments.
11686         * benchtests/bench-sincos.c: Remove file.
11687         * benchtests/sincos-inputs: New file.
11688         * scripts/bench.pl: Identify output arguments and define
11689         static variables for them.
11690
11691         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11692
11693         [BZ #15941]
11694         * Makefile (INSTALL): Add install-plain.texi as the primary
11695         dependency.
11696         * manual/install-plain.texi: New file.
11697         * manual/install.texi: Include node directive only for
11698         non-plaintext output.
11699
11700 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
11701
11702         * stdlib/longlong.h: Update from GCC.
11703
11704         [BZ #6807]
11705         [BZ #15901]
11706         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11707         * math/w_j0f.c (y0f): Likewise.
11708         * math/w_j0l.c (__y0l): Likewise.
11709         * math/w_j1.c (y1): Likewise.
11710         * math/w_j1f.c (y1f): Likewise.
11711         * math/w_j1l.c (__y1l): Likewise
11712         * math/w_jn.c (yn): Likewise.
11713         * math/w_jnf.c (ynf): Likewise.
11714         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11715         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
11716         value for Bessel function domain errors outside _SVID_ mode.
11717         Adjust sign of return value for yn (negative integer, 0).
11718         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11719         by zero in return for negative x and set sign appropriately for
11720         negative n.
11721         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11722         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11723         * math/libm-test.inc (y0_test_data): Add more tests and adjust
11724         expectations in error cases.
11725         (y1_test_data): Likewise.
11726         (yn_test_data): Likewise.
11727         * sysdeps/i386/fpu/libm-test-ulps: Update.
11728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11729
11730 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11731
11732         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11733         "64" to "64-v1".  Add "64-v2".
11734         (abi-64-options): Rename to ...
11735         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
11736         (abi-64-condition): Rename to ...
11737         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
11738         (abi-64-ld-soname): Rename to ...
11739         (abi-64-v1-ld-soname): ... this.
11740         (abi-64-v2-options): Define.
11741         (abi-64-v2-condition): Likewise.
11742         (abi-64-v2-ld-soname): Likewise.
11743         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11744         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11748
11749 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11750             Alan Modra  <amodra@gmail.com>
11751
11752         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11753         New versions for use with the ELFv2 ABI.
11754         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11755         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11756         declaration.
11757         (struct La_ppc64v2_retval): Likewise.
11758         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11759         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11760         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11761         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11762         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11763         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11764         Do not save or restore CR.
11765         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11766         (_dl_profile_resolve): Do no save or restore CR.  Support extended
11767         return values for ELFv2 ABI.  Fix location of FPR return registers.
11768         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11769         updated values for _CALL_ELF == 2.
11770         (La_regs, La_retval, int_retval): Likewise.
11771
11772 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11773
11774         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11775         (FRAME_MIN_SIZE_PARM): Likewise.
11776         (FRAME_BACKCHAIN): Likewise.
11777         (FRAME_CR_SAVE): Likewise.
11778         (FRAME_LR_SAVE): Likewise.
11779         (FRAME_TOC_SAVE): Likewise.
11780         (FRAME_PARM_SAVE): Likewise.
11781         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11782         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11783         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11784         (call_mcount_parm_offset): New macro.
11785         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11786         (PROF): Use symbolic stack frame offsets.
11787         (TAIL_CALL_SYSCALL_ERROR): Likewise.
11788         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11789         Redefine in terms of FRAME_MIN_SIZE.
11790         (_dl_runtime_resolve): Use symbolic stack frame offsets.
11791         (_dl_profile_resolve): Likewise.  Update comment.
11792         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11793         symbols stack frame offsets.
11794         (__sigsetjmp): Likewise.
11795         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11796         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11797         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11798         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11799
11800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11801         (FRAME_BACKCHAIN): Remove.
11802         (FRAME_CR_SAVE): Likewise.
11803         (FRAME_LR_SAVE): Likewise.
11804         (FRAME_COMPILER_DW): Likewise.
11805         (FRAME_LINKER_DW): Likewise.
11806         (FRAME_TOC_SAVE): Likewise.
11807         (FRAME_PARM_SAVE): Likewise.
11808         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11809         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11810         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11812         (CHECK_SP): Use symbolic stack frame offsets.
11813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11814         zone" instead of caller's parameter save area for temp storage.
11815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11816         Likewise.  Also, use symbolic stack frame offsets.
11817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11818         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11819         our own stack frame instead of the caller's.
11820         (__socket): Use symbolic stack frame offsets.
11821
11822 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11823             Alan Modra  <amodra@gmail.com>
11824
11825         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11826         Define.
11827         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11828         (PPC64_LOCAL_ENTRY_OFFSET): Define.
11829         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11830         New function.
11831         (elf_machine_fixup_plt): Call it.
11832         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
11833         reloc arguments.
11834         (elf_machine_rela): Update call to elf_machine_plt_conflict.
11835         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11836         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11837         r2 before calling target.
11838
11839 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11840             Alan Modra  <amodra@gmail.com>
11841
11842         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11843         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11844         versions of macros to support ELFv2 ABI.
11845         (LOCALENTRY): New macro.
11846         (ENTRY, EALIGN): Use it.
11847         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11848         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11849         fall through into ENTRY entry point.
11850         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11851         Only define if _CALL_ELF != 2.
11852
11853         (elf_machine_matches_host): Verify ABI version matches.
11854         (RTLD_START): Use LOCALENTRY.
11855         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11856         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11857         (PLT_ENTRY_WORDS): New macro.
11858         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11859         (elf_machine_runtime_setup): Support ELFv2 ABI.
11860         (elf_machine_fixup_plt): Likewise.
11861         (elf_machine_plt_conflict): Likewise.
11862         (resolve_ifunc): Likewise.
11863         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11864         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11865         Likewise.
11866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11867         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11869         (makecontext): Support ELFv2 ABI.
11870         * elf/elf.h (EF_PPC64_ABI): Define.
11871
11872 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11873
11874         * sysdeps/powerpc/powerpc64/sysdep.h
11875         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11876         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11877         (ENTRY) [ASSEMBLER]: ... but instead here ...
11878         (EALIGN) [ASSEMBLER]: ... and here.
11879         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11880         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11881         (ENTRY_2) [!ASSEMBLER]: Use it.
11882         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11883         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
11884         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11885         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11886         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11888         Use PPC64_LOAD_FUNCPTR.
11889
11890         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11891
11892 2013-12-04  Alan Modra  <amodra@gmail.com>
11893
11894         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11895         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11896         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11897         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11898
11899         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11900         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11901         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11902         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11903         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11904         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11905
11906 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11907
11908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11909         (__makecontext): Fix incorrect CFI when backtracing out of
11910         context created via makecontext.
11911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11912         (__setcontext): Fix incorrect CFI during switch to new context.
11913         (__novec_setcontext): Likewise.
11914
11915 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
11916
11917         [BZ #4772]
11918         * time/strptime_l.c (__strptime_internal): Allow modifiers
11919         in strptime.
11920         * time/tst-strptime.c (day_tests): Add testcase.
11921
11922 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11923
11924         * scripts/bench.pl: Skip over blank lines.
11925
11926 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11927
11928         [BZ #926]
11929         * manual/time.texi (Calendar Time): Clarify what timezone functions
11930         use.
11931
11932 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11933
11934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11935
11936 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
11937
11938         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11939         implementation.
11940         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11941         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11942         * debug/memset_chk.c (__memset_chk): Likewise.
11943         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11944         * debug/strncpy_chk.c: Likewise.
11945
11946 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11947
11948         [BZ #15268]
11949         [BZ #15425]
11950         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11951         (__ieee754_exp): For possibly underflowing results, check size of
11952         result and force underflow exception if required.
11953         * math/auto-libm-test-in: Add more tests of exp.
11954         * math/auto-libm-test-out: Regenerated.
11955         * sysdeps/i386/fpu/libm-test-ulps: Update.
11956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11957
11958         [BZ #16283]
11959         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11960         * math/w_exp2f.c (__exp2f): Likewise.
11961         * math/w_exp2l.c (__exp2l): Likewise.
11962         * math/auto-libm-test-in: Do not allow missing errno on exp2
11963         underflow.
11964         * math/auto-libm-test-out: Regenerated.
11965
11966 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
11967
11968         [BZ #16274]
11969         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11970         handle filename validation.
11971         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11972         (do_open): Delete.
11973
11974 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11975
11976         [BZ #6786]
11977         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11978         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11979         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11980         <float.h>.
11981         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11982         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11983         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11984         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11985         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11986         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11987         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11988         * math/auto-libm-test-in: Don't allow missing errno from erfc.
11989         Add more erfc tests.
11990         * math/auto-libm-test-out: Regenerated.
11991         * sysdeps/i386/fpu/libm-test-ulps: Update.
11992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11993
11994         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11995         exp2, expm1, j0 and j1.
11996         * math/auto-libm-test-out: Regenerated.
11997         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11998         (erfc_test_data): Likewise.
11999         (exp_test_data): Likewise.
12000         (exp_tonearest_test_data): Likewise.
12001         (exp_towardzero_test_data): Likewise.
12002         (exp_downward_test_data): Likewise.
12003         (exp_upward_test_data): Likewise.
12004         (exp10_test_data): Likewise.
12005         (exp2_test_data): Likewise.
12006         (expm1_test_data): Likewise.
12007         (j0_test_data): Likewise.
12008         (j1_test_data): Likewise.
12009         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12010         (input_flag_type): Add flag_xfail_rounding.
12011         (input_flags): Add xfail-rounding.
12012         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12013         (output_for_one_input_case): Handle flag_xfail_rounding.
12014         * sysdeps/i386/fpu/libm-test-ulps: Update.
12015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12016
12017 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12018
12019         [BZ #16289]
12020         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12021         division by 0.
12022
12023 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12024
12025         [BZ #16195]
12026         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12027         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12028         (STAP_PROBE0): New macro.
12029         (STAP_PROBE1): Likewise.
12030         (STAP_PROBE2): Likewise.
12031         (STAP_PROBE3): Likewise.
12032         (STAP_PROBE4): Likewise.
12033
12034 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12035
12036         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12037
12038 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12039
12040         * benchtests/Makefile (bench): Add sqrt.
12041         (LDLIBS-bench-sqrt): New.
12042         * benchtests/sqrt-input: New.
12043
12044 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12045
12046         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12047         (GAIH_EAI): Likewise.
12048         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12049         (gaih_inet): Likewise.
12050         (getaddrinfo): Don't use GAIH_EAI.
12051
12052         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12053         (struct gaih): Remove definition.
12054
12055 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12056
12057         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12058         Use HERRNOP directly.
12059
12060 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12061
12062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12063
12064 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12065
12066         * math/gen-auto-libm-tests.c (test_functions): Add more
12067         single-argument functions.
12068         (special_fill_pi_2): New function.
12069         (special_fill_minus_pi_2): Likewise.
12070         (special_fill_pi_6): Likewise.
12071         (special_fill_minus_pi_6): Likewise.
12072         (special_fill_pi_3): Likewise.
12073         (special_fill_2pi_3): Likewise.
12074         (special_fill_e): Likewise.
12075         (special_fill_1_e): Likewise.
12076         (special_fill_e_minus_1): Likewise.
12077         (special_real_inputs): Add more special inputs.
12078         (output_for_one_input_case): Do not require ERANGE on underflow to
12079         zero if round-to-nearest result does not underflow to zero, unless
12080         exact results required.
12081         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12082         atan, atanh, cbrt, cos and cosh.
12083         * math/auto-libm-test-out: Regenerated.
12084         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12085         (acos_tonearest_test_data): Likewise.
12086         (acos_towardzero_test_data): Likewise.
12087         (acos_downward_test_data): Likewise.
12088         (acos_upward_test_data): Likewise.
12089         (acosh_test_data): Likewise.
12090         (asin_test_data): Likewise.
12091         (asin_tonearest_test_data): Likewise.
12092         (asin_towardzero_test_data): Likewise.
12093         (asin_upward_test_data): Likewise.
12094         (asinh_test_data): Likewise.
12095         (atan_test_data): Likewise.
12096         (atanh_test_data): Likewise.
12097         (cbrt_test_data): Likewise.
12098         (cos_test_data): Likewise.
12099         (cos_tonearest_test_data): Likewise.
12100         (cos_towardzero_test_data): Likewise.
12101         (cos_downward_test_data): Likewise.
12102         (cos_upward_test_data): Likewise.
12103         (cosh_test_data): Likewise.
12104         (cosh_tonearest_test_data): Likewise.
12105         (cosh_towardzero_test_data): Likewise.
12106         (cosh_downward_test_data): Likewise.
12107         (cosh_upward_test_data): Likewise.
12108         * sysdeps/i386/fpu/libm-test-ulps: Update.
12109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12110
12111 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12112
12113         [BZ #6787]
12114         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12115         * math/w_exp10f.c (__exp10f): Likewise.
12116         * math/w_exp10l.c (__exp10l): Likewise.
12117         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12118         errno settings in existing tests.
12119
12120         [BZ #14032]
12121         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12122         precision control set to double precision.
12123         * sysdeps/i386/fpu/w_sqrt.c: New file.
12124         * math/auto-libm-test-in: Add more tests.
12125         * math/auto-libm-test-out: Update.
12126
12127         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12128         (sqrt_test_tonearest): New function.
12129         (sqrt_towardzero_test_data): New variable.
12130         (sqrt_test_towardzero): New function.
12131         (sqrt_downward_test_data): New variable.
12132         (sqrt_test_downward): New function.
12133         (sqrt_upward_test_data): New variable.
12134         (sqrt_test_upward): New function.
12135         (main): Call the new functions.
12136
12137         * math/gen-auto-libm-tests.c: New file.
12138         * math/auto-libm-test-in: Likewise.
12139         * math/auto-libm-test-out: New generated file.
12140         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12141         variables.
12142         (%beautify): Add generated representations of zero.
12143         (top level): Set $auto_input and call parse_auto_input.
12144         (beautify): Remove trailing "f" from hex float constants.
12145         (parse_args): Handle XFAIL_TEST.
12146         (convert_condition): New function.
12147         (or_value): Likewise.
12148         (or_cond_value): Likewise.
12149         (generate_testfile): Handle AUTO_TESTS_* lines.
12150         (parse_auto_input): New function.
12151         * math/libm-test.inc (XFAIL_TEST): New macro.
12152         (ERRNO_UNCHANGED): Update value.
12153         (ERRNO_EDOM): Likewise.
12154         (ERRNO_ERANGE): Likewise.
12155         (IGNORE_RESULT): Likewise.
12156         (TEST_COND_flt_32): New macro.
12157         (TEST_COND_dbl_64): Likewise.
12158         (TEST_COND_ldbl_96_intel): Likewise.
12159         (TEST_COND_ldbl_96_m68k): Likewise.
12160         (TEST_COND_ldbl_128): Likewise.
12161         (TEST_COND_ldbl_128ibm): Likewise.
12162         (TEST_COND_long32): Likewise.
12163         (TEST_COND_long64): Likewise.
12164         (TEST_COND_before_rounding): Likewise.
12165         (TEST_COND_after_rounding): Likewise.
12166         (enable_test): Handle XFAIL_TEST flag.
12167         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12168         with finite results.
12169         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12170         auto-libm-test-out.
12171
12172 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12173             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12174
12175         [BZ #16214]
12176         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12177         __tls_get_addr_internal instead of __tls_get_offset in order to
12178         avoid GOT pointer dependency.  Make rtld export
12179         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12180         __tls_get_addr since we are a __tls_get_offset platform.
12181         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12182         GOT pointer being set up before.
12183         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12184
12185 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12186
12187         * manual/math.texi (Errors in Math Functions): Document accuracy
12188         goals.
12189
12190         [BZ #15004]
12191         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12192         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12193         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12194         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12195         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12196         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12197         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12198         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12199         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12200         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12201         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12202         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12203         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12204         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12205         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12206         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12207
12208         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12209         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12210         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12211         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12212         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12213         Likewise.
12214         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12215         Likewise.
12216         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12217         Likewise.
12218         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12219         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12220         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12221         atomic-feupdateenv and flt-rounds.
12222         * sysdeps/powerpc/nofpu/Versions (libc): Add
12223         __atomic_feholdexcept, __atomic_feclearexcept,
12224         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12225         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12226         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12227         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12228         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12229         here.
12230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12231         Update.
12232
12233         * manual/arith.texi (FP Exceptions): Document that exceptions may
12234         not be raised when matherr is used.
12235         (Math Error Reporting): Document overflow in directed rounding
12236         modes.  Document that errno may not be set when finite values are
12237         returned on overflow.  Document intent to set errno on underflow
12238         only for underflow to zero.
12239
12240         [BZ #16271]
12241         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12242         round-to-nearest then adjust result for other rounding modes.
12243         * include/fenv.h (fegetround): Use libm_hidden_proto.
12244         * math/fegetround.c (fegetround): Use libm_hidden_def.
12245         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12246         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12247         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12248         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12249         Likewise.
12250         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12251         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12252         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12253         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12254
12255 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12256
12257         [BZ #16077]
12258         * nss/Versions (libnss_files): Add
12259         _nss_files_gethostbyname3_r.
12260         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12261         New function.
12262         (HOST_DB_LOOKUP): Remove macro.
12263         (_nss_files_gethostbyname_r): Implement function without the
12264         HOST_DB_LOOKUP macro.
12265         (_nss_files_gethostbyname2_r): Likewise.
12266
12267 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
12268
12269         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12270
12271 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
12272
12273         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12274         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12275         warning.
12276
12277 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12278
12279         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12280         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12281         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12282         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12283         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12284         __fe_nomask_env_priv and attribute_hidden.
12285         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12286         (libc_feupdateenv_test_ppc): Likewise.
12287         (libc_feresetround_ppc): Likewise.
12288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12289         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12290         compat_symbol macro.
12291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12292         (__fe_nomask_env): Likewise.
12293         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12294
12295 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12296
12297         * string/Makefile: Remove ifunc tests.
12298         * string/test-string.h: Define TEST_IFUNC.
12299         * string/test-bcopy-ifunc.c: Remove.
12300         * string/test-bzero-ifunc.c: Likewise.
12301         * string/test-memccpy-ifunc.c: Likewise.
12302         * string/test-memchr-ifunc.c: Likewise.
12303         * string/test-memcmp-ifunc.c: Likewise.
12304         * string/test-memcpy-ifunc.c: Likewise.
12305         * string/test-memmem-ifunc.c: Likewise.
12306         * string/test-memmove-ifunc.c: Likewise.
12307         * string/test-mempcpy-ifunc.c: Likewise.
12308         * string/test-memrchr-ifunc.c: Likewise.
12309         * string/test-memset-ifunc.c: Likewise.
12310         * string/test-rawmemchr-ifunc.c: Likewise.
12311         * string/test-stpcpy-ifunc.c: Likewise.
12312         * string/test-stpncpy-ifunc.c: Likewise.
12313         * string/test-strcasecmp-ifunc.c: Likewise.
12314         * string/test-strcasestr-ifunc.c: Likewise.
12315         * string/test-strcat-ifunc.c: Likewise.
12316         * string/test-strchr-ifunc.c: Likewise.
12317         * string/test-strchrnul-ifunc.c: Likewise.
12318         * string/test-strcmp-ifunc.c: Likewise.
12319         * string/test-strcpy-ifunc.c: Likewise.
12320         * string/test-strcspn-ifunc.c: Likewise.
12321         * string/test-strlen-ifunc.c: Likewise.
12322         * string/test-strncasecmp-ifunc.c: Likewise.
12323         * string/test-strncat-ifunc.c: Likewise.
12324         * string/test-strncmp-ifunc.c: Likewise.
12325         * string/test-strncpy-ifunc.c: Likewise.
12326         * string/test-strnlen-ifunc.c: Likewise.
12327         * string/test-strpbrk-ifunc.c: Likewise.
12328         * string/test-strrchr-ifunc.c: Likewise.
12329         * string/test-strspn-ifunc.c: Likewise.
12330         * string/test-strstr-ifunc.c: Likewise.
12331
12332 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12333
12334         * benchtests/Makefile: Remove ifunc tests.
12335         * benchtests/bench-string.h: Define TEST_IFUNC.
12336         * benchtests/bench-bcopy-ifunc.c: Remove.
12337         * benchtests/bench-bzero-ifunc.c: Likewise.
12338         * benchtests/bench-memccpy-ifunc.c: Likewise.
12339         * benchtests/bench-memchr-ifunc.c: Likewise.
12340         * benchtests/bench-memcmp-ifunc.c: Likewise.
12341         * benchtests/bench-memcpy-ifunc.c: Likewise.
12342         * benchtests/bench-memmem-ifunc.c: Likewise.
12343         * benchtests/bench-memmove-ifunc.c: Likewise.
12344         * benchtests/bench-mempcpy-ifunc.c: Likewise.
12345         * benchtests/bench-memrchr-ifunc.c: Likewise.
12346         * benchtests/bench-memset-ifunc.c: Likewise.
12347         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12348         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12349         * benchtests/bench-stpcpy-ifunc.c: Likewise.
12350         * benchtests/bench-stpncpy-ifunc.c: Likewise.
12351         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12352         * benchtests/bench-strcasestr-ifunc.c: Likewise.
12353         * benchtests/bench-strcat-ifunc.c: Likewise.
12354         * benchtests/bench-strchr-ifunc.c: Likewise.
12355         * benchtests/bench-strchrnul-ifunc.c: Likewise.
12356         * benchtests/bench-strcmp-ifunc.c: Likewise.
12357         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12358         * benchtests/bench-strcpy-ifunc.c: Likewise.
12359         * benchtests/bench-strcspn-ifunc.c: Likewise.
12360         * benchtests/bench-strlen-ifunc.c: Likewise.
12361         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12362         * benchtests/bench-strncat-ifunc.c: Likewise.
12363         * benchtests/bench-strncmp-ifunc.c: Likewise.
12364         * benchtests/bench-strncpy-ifunc.c: Likewise.
12365         * benchtests/bench-strnlen-ifunc.c: Likewise.
12366         * benchtests/bench-strpbrk-ifunc.c: Likewise.
12367         * benchtests/bench-strrchr-ifunc.c: Likewise.
12368         * benchtests/bench-strsep-ifunc.c: Likewise.
12369         * benchtests/bench-strspn-ifunc.c: Likewise.
12370         * benchtests/bench-strstr-ifunc.c: Likewise.
12371
12372 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12373
12374         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12375
12376 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12377
12378         * resolv/netdb.h: Use __glibc_reserved instead __unused.
12379         * rt/aio.h: Likewise.
12380         * sysdeps/gnu/bits/utmp.h: Likewise.
12381         * sysdeps/gnu/bits/utmpx.h: Likewise.
12382         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12383         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12384         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12385         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12386         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12387         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12388         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12389         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12390         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12391         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12392         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12393         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12394         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12396         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12397         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12398         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12399         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12400         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12401         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12402         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12403         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12404         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12405         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12406         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12407         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12408         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12409         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12410         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12411         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12412         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12413         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12414         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12415         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12416         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12417         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12418         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12419         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12420         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12421         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12422         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12423         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12424
12425 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
12426
12427         [BZ #16245]
12428         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12429         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12430
12431 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
12432
12433         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12434         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12435         Likewise.
12436
12437 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12438
12439         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12440         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12441         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12442         (__fesetround): Remove define.
12443         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12444         rounding and exceptions handling.
12445         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12446         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12447         (__fe_nomask_env): Likewise.
12448         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12449         __fegetround instead of fegetround.
12450         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12451         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12452
12453 2013-11-21  Roland McGrath  <roland@hack.frob.com>
12454
12455         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12456         it's there.
12457
12458         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12459
12460 2013-11-21  Meador Inge  <meadori@codesourcery.com>
12461
12462         [BZ #11157]
12463         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12464         (encrypt_r): Likewise.
12465         * malloc/obstack.h (obstack_free): Likewise.
12466         * posix/unistd.h (encrypt): Likewise.
12467
12468 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
12469
12470         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12471         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12472         DL_CALL_DT_FINI() that call the functions directly.
12473         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12474         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12475         * elf/dl-fini.c: Likewise.
12476
12477 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
12478
12479         * malloc/hooks.c (memalign_check): Add alignment rounding.
12480         * malloc/malloc.c (_mid_memalign): New function.
12481         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12482         Implement by calling _mid_memalign.
12483         * manual/probes.texi (Memory Allocation Probes): Remove
12484         memory_valloc_retry and memory_pvalloc_retry.
12485
12486 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12487
12488         * locale/programs/locarchive.c (open_archive): Add const
12489         qualifier to ARCHIVEFNAME and copy default fname to
12490         DEFAULT_FNAME.
12491
12492         [BZ #15601]
12493         * libio/tst-widetext.input: Rename Oriya to Odia.
12494         * locale/iso-639.def: Likewise.
12495
12496         * manual/probes.texi (Mathematical Function Probes): Add
12497         documentation for sin, cos, asin and acos probes.
12498         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12499         (__sin32): Add slowasin probe.
12500         (__cos32): Add slowacos probe.
12501         (__mpsin): Add slowsin probe.
12502         (__mpcos): Add slowcos probe.
12503
12504 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
12505
12506         [BZ #15483]
12507         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12508         thread-local __sim_exceptions_thread and global
12509         __sim_exceptions_global.
12510         (__sim_disabled_exceptions): Change to thread-local
12511         __sim_disabled_exceptions_thread and global
12512         __sim_disabled_exceptions_global.
12513         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12514         and global __sim_round_mode_global.
12515         (__simulate_exceptions): Use thread-local floating-point state and
12516         set global state from it as needed.
12517         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12518         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12519         __sim_round_mode_thread.
12520         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12521         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12522         and global __sim_exceptions_global.
12523         (__sim_disabled_exceptions): Change to thread-local
12524         __sim_disabled_exceptions_thread and global
12525         __sim_disabled_exceptions_global.
12526         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12527         and global __sim_round_mode_global.
12528         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12529         (SIM_SET_GLOBAL): Likewise.
12530         * sysdeps/powerpc/soft-fp/sfp-machine.h
12531         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12532         __sim_round_mode_thread.
12533         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12534         __sim_disabled_exceptions_thread.
12535         (__sim_exceptions): Change to __sim_exceptions_thread.
12536         (__sim_disabled_exceptions): Change to
12537         __sim_disabled_exceptions_thread.
12538         (__sim_round_mode): Change to __sim_round_mode_thread.
12539         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12540         thread-local floating-point state and set global state from it as
12541         needed.
12542         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12543         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12544         (__sim_disabled_exceptions): Remove extern declaration.
12545         (feenableexcept): Use thread-local floating-point state and set
12546         global state from it as needed.
12547         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12548         extern declaration.
12549         (__sim_disabled_exceptions): Likewise.
12550         (__sim_round_mode): Likewise.
12551         (__fegetenv): Use thread-local floating-point state.
12552         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12553         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12554         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12555         floating-point state and set global state from it as needed.
12556         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12557         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12558         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12559         Likewise.
12560         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12561         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12562         Likewise.
12563         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12564         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12565         Use __sim_round_mode_thread.
12566         * math/test-fenv-tls.c: New file.
12567         * math/Makefile (tests): Add test-fenv-tls.
12568         ($(objpfx)test-fenv-tls): Depend on
12569         $(common-objpfx)nptl/libpthread.so.
12570
12571 2013-11-19  Andreas Schwab  <schwab@suse.de>
12572
12573         * locale/programs/locale.c (show_info): Decode wordarray elements.
12574         * locale/categories.def (LC_MONETARY): Add element for
12575         _NL_MONETARY_CRNCYSTR.
12576         * locale/C-monetary.c (conversion_rate): New variable.
12577         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12578         element.
12579
12580 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
12581
12582         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12583         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12584
12585 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12586
12587         * elf/Makefile (tst-auxv): New test.
12588         * elf/tst-auxv.c: New
12589         * elf/rtld.c (dl_main): Adjust AT_EXECFN
12590
12591 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
12592
12593         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12594         (hidden_proto): Caller changed.
12595         (hidden_tls_proto): New macro.
12596         (libc_hidden_tls_proto): Likewise.
12597         (rtld_hidden_tls_proto): Likewise.
12598         (libm_hidden_tls_proto): Likewise.
12599         (libresolv_hidden_tls_proto): Likewise.
12600         (librt_hidden_tls_proto): Likewise.
12601         (libdl_hidden_tls_proto): Likewise.
12602         (libnss_files_hidden_tls_proto): Likewise.
12603         (libnsl_hidden_tls_proto): Likewise.
12604         (libnss_nisplus_hidden_tls_proto): Likewise.
12605         (libutil_hidden_tls_proto): Likewise.
12606
12607 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
12608
12609         [BZ #10253]
12610         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12611         (decompose_rpath): Defer expansion to fillin_rpath.
12612         (_dl_init_paths): Pass linkmap to fillin_rpath.
12613
12614 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12615
12616         * benchtests/Makefile: Add strsep.
12617         * benchtests/bench-strsep.c: New file: strsep benchtest.
12618         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12619
12620 2013-11-18  Andreas Schwab  <schwab@suse.de>
12621
12622         * locale/programs/locale.c (show_info) [case byte]: Check for
12623         '\377' instead of '\177'.
12624         * locale/C-monetary.c (not_available): Always use "\377".
12625         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12626         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
12627         detect unavailable sign_posn locale elements.
12628         * locale/localeconv.c (__localeconv): For grouping and
12629         mon_grouping handle "\177" and "\377" like no grouping.
12630         (INT_ELEM): New macro.  Use it to set all numeric members.
12631         * locale/programs/ld-monetary.c (monetary_read)
12632         <tok_mon_grouping>: Normalize single -1 to the empty string.
12633         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12634         Likewise.
12635
12636 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12637
12638         [BZ #16055]
12639         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12640         when we match (nil).
12641         * stdio-common/tst-sscanf.c (struct test): Add testcase.
12642
12643 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
12644
12645         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12646         (NO_TEST_INLINE): Update value.
12647         (ERRNO_UNCHANGED): Likewise.
12648         (ERRNO_EDOM): Likewise.
12649         (ERRNO_ERANGE): Likewise.
12650         (IGNORE_RESULT): Likewise.
12651         (check_float_internal): Check signs of NaN results if
12652         TEST_NAN_SIGN used.
12653         (check_complex): Pass TEST_NAN_SIGN flag through to second
12654         check_float_internal call.
12655         (copysign_test_data): Add tests with quiet NaNs as second
12656         argument.  Use TEST_NAN_SIGN.
12657         (fabs_test_data): Add test of negative quiet NaN argument.  Use
12658         TEST_NAN_SIGN.
12659         (signbit_test_data): Add tests of quiet NaN argument.
12660         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12661
12662         * math/gen-libm-test.pl (show_exceptions): Take extra argument
12663         $ignore_result.
12664         (parse_args): Handle function results specified as IGNORE.
12665         * math/libm-test.inc (IGNORE_RESULT): New macro.
12666         (check_float_internal): Do not check numerical result if flag
12667         IGNORE_RESULT set.
12668         (check_complex): Pass through IGNORE_RESULT to second
12669         check_float_internal call.
12670         (check_int): Do not check numerical result if flag IGNORE_RESULT
12671         set.
12672         (check_long): Likewise.
12673         (check_bool): Likewise.
12674         (check_longlong): Likewise.
12675         (lrint_test_data): Add tests of infinite and NaN arguments.
12676         (lrint_tonearest_test_data): Likewise.
12677         (lrint_towardzero_test_data): Likewise.
12678         (lrint_downward_test_data): Likewise.
12679         (lrint_upward_test_data): Likewise.
12680         (llrint_test_data): Likewise.
12681         (llrint_tonearest_test_data): Likewise.
12682         (llrint_towardzero_test_data): Likewise.
12683         (llrint_downward_test_data): Likewise.
12684         (llrint_upward_test_data): Likewise.
12685         (lround_test_data): Likewise.
12686         (llround_test_data): Likewise.
12687
12688         * math/libm-test.inc (NO_TEST_INLINE): New macro.
12689         (ERRNO_UNCHANGED): Update value.
12690         (ERRNO_EDOM): Likewise.
12691         (ERRNO_ERANGE): Likewise.
12692         (NO_TEST_INLINE_FLOAT): New macro.
12693         (NO_TEST_INLINE_DOUBLE): Likewise.
12694         (enable_test): New function.
12695         (RUN_TEST_f_f): Check enable_test before running test.
12696         (RUN_TEST_2_f): Likewise.
12697         (RUN_TEST_fff_f): Likewise.
12698         (RUN_TEST_c_f): Likewise.
12699         (RUN_TEST_f_f1): Likewise.
12700         (RUN_TEST_fF_f1): Likewise.
12701         (RUN_TEST_fI_f1): Likewise.
12702         (RUN_TEST_ffI_f1): Likewise.
12703         (RUN_TEST_c_c): Likewise.
12704         (RUN_TEST_cc_c): Likewise.
12705         (RUN_TEST_f_i): Likewise.
12706         (RUN_TEST_f_i_tg): Likewise.
12707         (RUN_TEST_ff_i_tg): Likewise.
12708         (RUN_TEST_f_b): Likewise.
12709         (RUN_TEST_f_b_tg): Likewise.
12710         (RUN_TEST_f_l): Likewise.
12711         (RUN_TEST_f_L): Likewise.
12712         (RUN_TEST_fFF_11): Likewise.
12713         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12714         conditionals.
12715         (cosh_test_data): Likewise.
12716         (exp_test_data): Likewise.
12717         (expm1_test_data): Likewise.
12718         (hypot_test_data): Likewise.
12719         (pow_test_data): Likewise.
12720         (sinh_test_data): Likewise.
12721         (tanh_test_data): Likewise.
12722         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12723         flags argument.
12724
12725         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12726         tests with quiet NaN input and output.
12727         (acosh_test_data): Likewise.
12728         (asin_test_data): Likewise.
12729         (asinh_test_data): Likewise.
12730         (atan_test_data): Likewise.
12731         (atanh_test_data): Likewise.
12732         (atan2_test_data): Likewise.
12733         (cbrt_test_data): Likewise.
12734         (cos_test_data): Likewise.
12735         (cosh_test_data): Likewise.
12736         (erf_test_data): Likewise.
12737         (erfc_test_data): Likewise.
12738         (exp_test_data): Likewise.
12739         (exp10_test_data): Likewise.
12740         (exp2_test_data): Likewise.
12741         (expm1_test_data): Likewise.
12742         (hypot_test_data): Likewise.
12743         (j0_test_data): Likewise.
12744         (j1_test_data): Likewise.
12745         (jn_test_data): Likewise.
12746         (lgamma_test_data): Likewise.
12747         (log_test_data): Likewise.
12748         (log10_test_data): Likewise.
12749         (log1p_test_data): Likewise.
12750         (log2_test_data): Likewise.
12751         (pow_test_data): Likewise.
12752         (scalb_test_data): Likewise.
12753         (sin_test_data): Likewise.
12754         (sincos_test_data): Likewise.
12755         (sinh_test_data): Likewise.
12756         (tan_test_data): Likewise.
12757         (tanh_test_data): Likewise.
12758         (tgamma_test_data): Likewise.
12759         (y0_test_data): Likewise.
12760         (y1_test_data): Likewise.
12761         (yn_test_data): Likewise.
12762
12763         [BZ #16167]
12764         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12765         argument being NaN and avoid computations with second argument in
12766         that case.
12767         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12768         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12769         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12770
12771 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
12772
12773         * locale/iso-639.def: Add Chitwani Tharu (the).
12774
12775 2013-11-14  Andreas Schwab  <schwab@suse.de>
12776
12777         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12778         word instead of empty string.
12779
12780 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12781
12782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12783         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12785         (__fe_nomask_env): Likewise.
12786
12787 2013-11-13  Steve Ellcey  <sellcey@mips.com>
12788
12789         * benchtests/bench-timing.h: Include time.h.
12790
12791 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
12792
12793         [BZ #15997]
12794         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12795         to 3.4.0 for x32.
12796         * sysdeps/unix/sysv/linux/configure: Regenerated.
12797
12798 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
12799
12800         [BZ #16151]
12801         * stdlib/strtod_l.c (round_and_return): Do not consider
12802         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12803         exponent one less than half the least subnormal exponent.
12804         * stdlib/test-strtod-round-data: Add more tests.
12805         * stdlib/tst-strtod-round.c (tests): Regenerated.
12806
12807 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12808
12809         [BZ #14143]
12810         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12811         (__fe_mask_env): Likewise.
12812         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12813         libm_hidden_proto and add function prototype.
12814         (__fe_mask_env): Add function prototype.
12815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12816         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12818         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12820         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12821
12822 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12823
12824         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12825         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12826
12827 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12828
12829         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12830         of htab_find_slot().
12831
12832 2013-11-11  David S. Miller  <davem@davemloft.net>
12833
12834         [BZ #16150]
12835         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12836         symbol in the non-vis3 case in static builds.
12837         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12838         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12839         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12840         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12841
12842 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12843
12844         [BZ #387]
12845         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12846         it is empty.
12847
12848 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12849
12850         * benchtests/Makefile: Add bench-strtod.
12851         * benchtests/bench-strtod.c: New file: strtod benchtest
12852
12853 2013-11-11  Andreas Schwab  <schwab@suse.de>
12854
12855         [BZ #16153]
12856         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12857         terminating NUL in key length.
12858
12859 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12860
12861         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12862         Add artificial ODP entry for vDSO symbol for PPC64.
12863         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12864         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12865
12866 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12867
12868         [BZ #15374]
12869         * nss/getent.c (services_keys): Recognize services starting with digit.
12870
12871 2013-11-06  David S. Miller  <davem@davemloft.net>
12872
12873         [BZ #15985]
12874         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12875         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12876
12877 2013-11-06  Will Newton  <will.newton@linaro.org>
12878
12879         * manual/memory.texi (Malloc Examples): Remove register
12880         keyword from examples.
12881
12882 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
12883
12884         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12885
12886 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
12887
12888         [BZ #6981]
12889         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12890         depending on [__GCC_IEC_559 > 0].
12891         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12892         depending on [__GCC_IEC_559_COMPLEX > 0].
12893
12894 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
12895
12896         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12897         to iso-639.def.
12898
12899 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
12900
12901         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12902
12903 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
12904
12905         [BZ #16112]
12906         * malloc/malloc (malloc_info): Do not handle first bin as
12907         special case.
12908
12909 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
12910
12911         * locale/iso-639.def: Add Central Nahuatl (nhn).
12912
12913 2013-11-01  Bruno Haible  <bruno@clisp.org>
12914
12915         [BZ #7003]
12916         * manual/math.texi (BSD Random): Specify range upper bound as
12917         in POSIX.
12918
12919 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
12920
12921         * locale/iso-639.def: Add Meadow Mari (mhr).
12922
12923 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
12924
12925         [BZ #14752], [BZ #15763]
12926         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12927         Validate name.
12928         * rt/tst_shm.c: Add test for escaping directory.
12929
12930 2013-10-31  Andreas Schwab  <schwab@suse.de>
12931
12932         [BZ #15917]
12933         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12934         followed by 'x' as part of digit sequence.
12935         * stdio-common/tst-sscanf.c (double_tests2): New tests.
12936
12937 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12938
12939         [BZ #16037]
12940         * configure.ac: allow GNU Make 4.0 and greater.
12941         * configure: Regenerated.
12942
12943 2013-10-30  Will Newton  <will.newton@linaro.org>
12944
12945         [BZ #16038]
12946         * malloc/hooks.c (memalign_check): Limit alignment to the
12947         maximum representable power of two.
12948         * malloc/malloc.c (__libc_memalign): Likewise.
12949         * malloc/tst-memalign.c (do_test): Add test for very
12950         large alignment values.
12951         * malloc/tst-posix_memalign.c (do_test): Likewise.
12952
12953 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12954
12955         [BZ #11087]
12956         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12957         (munmap_chunk): Likewise.
12958         (mremap_chunk): Likewise.
12959
12960 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12961
12962         [BZ #15799]
12963         * stdlib/div.c (div): Remove obsolete code.
12964         * stdlib/ldiv.c (ldiv): Likewise.
12965         * stdlib/lldiv.c (lldiv): Likewise.
12966
12967 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12968
12969         [BZ #16071]
12970         * nss/nss_files/files-XXX.c (get_contents_ret): New
12971         enumerator.
12972         (get_contents): New function.
12973         (internal_getent): Use it.  Expand size of LINEBUFLEN.
12974
12975 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
12976
12977         * configure.in: Moved to ...
12978         * configure.ac: ... here. Change reference to configure.in
12979         to configure.ac.
12980         * sysdeps/arm/preconfigure.ac: ... here.
12981         configure.in to configure.ac.
12982         * sysdeps/gnu/configure.in: Moved to ...
12983         * sysdeps/gnu/configure.ac: ... here.
12984         * sysdeps/i386/configure.in: Moved to ...
12985         * sysdeps/i386/configure.ac: ... here.
12986         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12987         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12988         * sysdeps/mach/configure.in: Moved to ...
12989         * sysdeps/mach/configure.ac: ... here.
12990         * sysdeps/mach/hurd/configure.in: Moved to ...
12991         * sysdeps/mach/hurd/configure.ac: ... here.
12992         * sysdeps/powerpc/configure.in: Moved to ...
12993         * sysdeps/powerpc/configure.ac: ... here.
12994         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12995         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12996         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12997         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12998         * sysdeps/s390/s390-32/configure.in: Moved to ...
12999         * sysdeps/s390/s390-32/configure.ac: ... here.
13000         * sysdeps/s390/s390-64/configure.in: Moved to ...
13001         * sysdeps/s390/s390-64/configure.ac: ... here.
13002         * sysdeps/sh/configure.in: Moved to ...
13003         * sysdeps/sh/configure.ac: ... here.
13004         * sysdeps/sparc/configure.in: Moved to ...
13005         * sysdeps/sparc/configure.ac: ... here.
13006         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13007         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13008         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13009         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13010         * sysdeps/x86_64/configure.in: Moved to ...
13011         * sysdeps/x86_64/configure.ac: ... here.
13012         * sysdeps/x86_64/preconfigure.in: Moved to ...
13013         * sysdeps/x86_64/preconfigure.ac: ... here.
13014         * aclocal.m4: Change reference to configure.in to configure.ac.
13015         * config.h.in: Likewise.
13016         * manual/install.texi: Likewise.
13017         * manual/maint.texi: Likewise.
13018         * Makefile: Likewise.
13019         * malloc/Makefile: Likewise.
13020         * nscd/Makefile: Likewise.
13021         * Makeconfig: Change reference to configure.in and
13022         preconfigure.in to configure.ac and preconfigure.ac
13023         respectively.
13024         * INSTALL: Regenerated.
13025         * configure: Likewise.
13026         * sysdeps/gnu/configure: Likewise.
13027         * sysdeps/i386/configure: Likewise.
13028         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13029         * sysdeps/mach/configure: Likewise.
13030         * sysdeps/mach/hurd/configure: Likewise.
13031         * sysdeps/powerpc/configure: Likewise.
13032         * sysdeps/powerpc/powerpc32/configure: Likewise.
13033         * sysdeps/powerpc/powerpc64/configure: Likewise.
13034         * sysdeps/s390/s390-32/configure: Likewise.
13035         * sysdeps/s390/s390-64/configure: Likewise.
13036         * sysdeps/sh/configure: Likewise.
13037         * sysdeps/sparc/configure: Likewise.
13038         * sysdeps/unix/sysv/linux/configure: Likewise.
13039         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13040         * sysdeps/x86_64/configure: Likewise.
13041         * sysdeps/x86_64/preconfigure: Likewise.
13042
13043 2013-10-29  Andreas Schwab  <schwab@suse.de>
13044
13045         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13046
13047 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13048
13049         * benchtests/pow-inputs: Add new inputs.
13050
13051         * benchtests/exp-inputs: Add new inputs.
13052
13053         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13054         conditional check for return value.
13055         (__cos32): Likewise.
13056
13057 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13058
13059         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13060         to provide a boost for large inputs with word alignment.
13061         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13062         implementation based on optimized PPC64 strcpy.
13063         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13064         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13065         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13066         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13067
13068 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13069
13070         [BZ #2801]
13071         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13072
13073 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13074
13075         [BZ #14876]
13076         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13077         * time/tst-strptime.c (day_tests): Add testcase.
13078
13079 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13080
13081         [BZ #14029]
13082         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13083
13084 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13085
13086         [BZ #16074]
13087         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13088         MAP_FAILED on error.
13089
13090 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13091
13092         [BZ #16072]
13093         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13094         heap for large requests.
13095
13096 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13097
13098         [BZ #9954]
13099         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13100         result if the result has no associated interface.
13101         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13102         interface for all 127.X.Y.Z addresses.
13103
13104 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13105
13106         * locale/iso-639.def: Add Ligurian (lij)
13107
13108 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13109
13110         [BZ #15825]
13111         * sunrpc/rpc_main.c: Document rpcgen -5.
13112
13113 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13114
13115         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13116
13117 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13118
13119         [BZ #10278]
13120         * posix/glob.c: Match only directories when trailing slash is present.
13121         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13122         (main): Add testcase.
13123
13124 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13125
13126         [BZ #15670]
13127         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13128
13129 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13130
13131         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13132         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13133         AUTH_DES and cindex for FIPS 140-2.
13134         (DES Encryption): Add cindex FIPS 46-3.
13135
13136         * locale/locarchive.h (struct locarhandle): Add fname.
13137         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13138         if an optional argument was specified to --list-archive,
13139         otherwise NULL.
13140         * locale/programs/locarchive.c (show_archive_content): Take new
13141         argument fname and pass it via ah.fname to open_archive.
13142         * locale/programs/localedef.h: Update decl.
13143         (open_archive): If AH->fname is non-null, open that file
13144         rather than the default file name, and don't ignore ENOENT.
13145         (create_archive): Set AH.fname to NULL.
13146         (delete_locales_from_archive): Likewise.
13147         (add_locales_to_archive): Likewise.
13148         * locale/programs/locfile.c (write_all_categories): Likewise.
13149
13150 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13151             Aldy Hernandez  <aldyh@redhat.com>
13152
13153         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13154         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13155         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13156         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13157         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13158         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13159         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13160         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13161         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13162         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13163         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13164         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13165         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13166         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13167         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13168         Likewise.
13169         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13170         Likewise.
13171         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13172         Likewise.
13173         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13174         Likewise.
13175         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13176         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13177         Likewise.
13178         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13179         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13180         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13181         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13182         Likewise.
13183         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13184         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13185         * sysdeps/powerpc/preconfigure: Likewise.
13186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13187         Likewise.
13188         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13189         Replace contents of file by #include of <fenv_libc.h>.
13190         * sysdeps/powerpc/soft-fp/sfp-machine.h
13191         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13192         and <sys/prctl.h>.
13193         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13194         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13195         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13196         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13197         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13198         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13199         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13200         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13201         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13202         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13203         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13204         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13206         Allow copysignl PLT reference to be missing.
13207
13208 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13209             Joseph Myers  <joseph@codesourcery.com
13210
13211         [BZ #15948]
13212         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13213         single character.
13214         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13215
13216 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13217
13218         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13219         * elf/tst-tls1.c: Likewise.
13220         * elf/tst-tls10.h: Likewise.
13221         * elf/tst-tls14.c: Likewise.
13222         * elf/tst-tls2.c: Likewise.
13223         * elf/tst-tls3.c: Likewise.
13224         * elf/tst-tls4.c: Likewise.
13225         * elf/tst-tls5.c: Likewise.
13226         * elf/tst-tls6.c: Likewise.
13227         * elf/tst-tls7.c: Likewise.
13228         * elf/tst-tls8.c: Likewise.
13229         * elf/tst-tls9.c: Likewise.
13230         * elf/tst-tlsmod1.c: Likewise.
13231         * elf/tst-tlsmod13.c: Likewise.
13232         * elf/tst-tlsmod13a.c: Likewise.
13233         * elf/tst-tlsmod14a.c: Likewise.
13234         * elf/tst-tlsmod16a.c: Likewise.
13235         * elf/tst-tlsmod16b.c: Likewise.
13236         * elf/tst-tlsmod2.c: Likewise.
13237         * elf/tst-tlsmod3.c: Likewise.
13238         * elf/tst-tlsmod4.c: Likewise.
13239         * elf/tst-tlsmod5.c: Likewise.
13240         * elf/tst-tlsmod6.c: Likewise.
13241
13242 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13243
13244         [BZ #12486]
13245         * malloc/malloc.c: remove checks for statistics.
13246
13247 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13248
13249         [BZ #15277]
13250         * inet/inet_net.c (inet_network): Detect additional invalid strings.
13251         * inet/tst-network.c: Add testcase.
13252
13253 2013-10-17  Andreas Schwab  <schwab@suse.de>
13254
13255         [BZ #15218]
13256         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13257         to determine canonical name.
13258
13259 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13260
13261         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13262         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13263         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13264         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13265         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13266         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13267         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13268         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13269         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13270         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13271         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13272         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13273         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13274         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13275         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13276         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13277         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13278         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13279         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13280         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13281         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13282         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13283         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13284         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13285         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13286         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13287         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13288         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13289         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13290         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13291         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13292         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13293         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13294         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13295         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13296         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13297         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13298         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13299         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13300         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13301         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13302         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13303         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13304         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13305         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13306         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13307         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13308         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13309         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13310         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13311         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13312         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13313         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13314         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13315         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13316         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13317         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13318         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13319
13320 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
13321
13322         [BZ #16041]
13323         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13324         make result into a quiet NaN.
13325
13326 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
13327
13328         * soft-fp/adddf3.c: Fix horizontal whitespace.
13329         * soft-fp/addsf3.c: Likewise.
13330         * soft-fp/addtf3.c: Likewise.
13331         * soft-fp/divdf3.c: Likewise.
13332         * soft-fp/divsf3.c: Likewise.
13333         * soft-fp/divtf3.c: Likewise.
13334         * soft-fp/double.h: Likewise.
13335         * soft-fp/eqdf2.c: Likewise.
13336         * soft-fp/eqsf2.c: Likewise.
13337         * soft-fp/eqtf2.c: Likewise.
13338         * soft-fp/extenddftf2.c: Likewise.
13339         * soft-fp/extended.h: Likewise.
13340         * soft-fp/extendsfdf2.c: Likewise.
13341         * soft-fp/extendsftf2.c: Likewise.
13342         * soft-fp/extendxftf2.c: Likewise.
13343         * soft-fp/fixdfdi.c: Likewise.
13344         * soft-fp/fixdfsi.c: Likewise.
13345         * soft-fp/fixdfti.c: Likewise.
13346         * soft-fp/fixsfdi.c: Likewise.
13347         * soft-fp/fixsfsi.c: Likewise.
13348         * soft-fp/fixsfti.c: Likewise.
13349         * soft-fp/fixtfdi.c: Likewise.
13350         * soft-fp/fixtfsi.c: Likewise.
13351         * soft-fp/fixtfti.c: Likewise.
13352         * soft-fp/fixunsdfdi.c: Likewise.
13353         * soft-fp/fixunsdfsi.c: Likewise.
13354         * soft-fp/fixunsdfti.c: Likewise.
13355         * soft-fp/fixunssfdi.c: Likewise.
13356         * soft-fp/fixunssfsi.c: Likewise.
13357         * soft-fp/fixunssfti.c: Likewise.
13358         * soft-fp/fixunstfdi.c: Likewise.
13359         * soft-fp/fixunstfsi.c: Likewise.
13360         * soft-fp/fixunstfti.c: Likewise.
13361         * soft-fp/floatdidf.c: Likewise.
13362         * soft-fp/floatdisf.c: Likewise.
13363         * soft-fp/floatditf.c: Likewise.
13364         * soft-fp/floatsidf.c: Likewise.
13365         * soft-fp/floatsisf.c: Likewise.
13366         * soft-fp/floatsitf.c: Likewise.
13367         * soft-fp/floattidf.c: Likewise.
13368         * soft-fp/floattisf.c: Likewise.
13369         * soft-fp/floattitf.c: Likewise.
13370         * soft-fp/floatundidf.c: Likewise.
13371         * soft-fp/floatundisf.c: Likewise.
13372         * soft-fp/floatunditf.c: Likewise.
13373         * soft-fp/floatunsidf.c: Likewise.
13374         * soft-fp/floatunsisf.c: Likewise.
13375         * soft-fp/floatunsitf.c: Likewise.
13376         * soft-fp/floatuntidf.c: Likewise.
13377         * soft-fp/floatuntisf.c: Likewise.
13378         * soft-fp/floatuntitf.c: Likewise.
13379         * soft-fp/fmadf4.c: Likewise.
13380         * soft-fp/fmasf4.c: Likewise.
13381         * soft-fp/fmatf4.c: Likewise.
13382         * soft-fp/gedf2.c: Likewise.
13383         * soft-fp/gesf2.c: Likewise.
13384         * soft-fp/getf2.c: Likewise.
13385         * soft-fp/ledf2.c: Likewise.
13386         * soft-fp/lesf2.c: Likewise.
13387         * soft-fp/letf2.c: Likewise.
13388         * soft-fp/muldf3.c: Likewise.
13389         * soft-fp/mulsf3.c: Likewise.
13390         * soft-fp/multf3.c: Likewise.
13391         * soft-fp/negdf2.c: Likewise.
13392         * soft-fp/negsf2.c: Likewise.
13393         * soft-fp/negtf2.c: Likewise.
13394         * soft-fp/op-1.h: Likewise.
13395         * soft-fp/op-2.h: Likewise.
13396         * soft-fp/op-4.h: Likewise.
13397         * soft-fp/op-8.h: Likewise.
13398         * soft-fp/op-common.h: Likewise.
13399         * soft-fp/quad.h: Likewise.
13400         * soft-fp/single.h: Likewise.
13401         * soft-fp/soft-fp.h: Likewise.
13402         * soft-fp/sqrtdf2.c: Likewise.
13403         * soft-fp/sqrtsf2.c: Likewise.
13404         * soft-fp/sqrttf2.c: Likewise.
13405         * soft-fp/subdf3.c: Likewise.
13406         * soft-fp/subsf3.c: Likewise.
13407         * soft-fp/subtf3.c: Likewise.
13408         * soft-fp/truncdfsf2.c: Likewise.
13409         * soft-fp/trunctfdf2.c: Likewise.
13410         * soft-fp/trunctfsf2.c: Likewise.
13411         * soft-fp/trunctfxf2.c: Likewise.
13412         * soft-fp/unorddf2.c: Likewise.
13413         * soft-fp/unordsf2.c: Likewise.
13414         * soft-fp/unordtf2.c: Likewise.
13415
13416 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
13417
13418         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13419         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13420
13421 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
13422
13423         * elf/dl-libc.c: Clear initfini list after freeing.
13424
13425 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
13426
13427         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13428         * soft-fp/addsf3.c: Likewise.
13429         * soft-fp/addtf3.c: Likewise.
13430         * soft-fp/divdf3.c: Likewise.
13431         * soft-fp/divsf3.c: Likewise.
13432         * soft-fp/divtf3.c: Likewise.
13433         * soft-fp/double.h: Likewise.
13434         * soft-fp/eqdf2.c: Likewise.
13435         * soft-fp/eqsf2.c: Likewise.
13436         * soft-fp/eqtf2.c: Likewise.
13437         * soft-fp/extenddftf2.c: Likewise.
13438         * soft-fp/extended.h: Likewise.
13439         * soft-fp/extendsfdf2.c: Likewise.
13440         * soft-fp/extendsftf2.c: Likewise.
13441         * soft-fp/extendxftf2.c: Likewise.
13442         * soft-fp/fixdfdi.c: Likewise.
13443         * soft-fp/fixdfsi.c: Likewise.
13444         * soft-fp/fixdfti.c: Likewise.
13445         * soft-fp/fixsfdi.c: Likewise.
13446         * soft-fp/fixsfsi.c: Likewise.
13447         * soft-fp/fixsfti.c: Likewise.
13448         * soft-fp/fixtfdi.c: Likewise.
13449         * soft-fp/fixtfsi.c: Likewise.
13450         * soft-fp/fixtfti.c: Likewise.
13451         * soft-fp/fixunsdfdi.c: Likewise.
13452         * soft-fp/fixunsdfsi.c: Likewise.
13453         * soft-fp/fixunsdfti.c: Likewise.
13454         * soft-fp/fixunssfdi.c: Likewise.
13455         * soft-fp/fixunssfsi.c: Likewise.
13456         * soft-fp/fixunssfti.c: Likewise.
13457         * soft-fp/fixunstfdi.c: Likewise.
13458         * soft-fp/fixunstfsi.c: Likewise.
13459         * soft-fp/fixunstfti.c: Likewise.
13460         * soft-fp/floatdidf.c: Likewise.
13461         * soft-fp/floatdisf.c: Likewise.
13462         * soft-fp/floatditf.c: Likewise.
13463         * soft-fp/floatsidf.c: Likewise.
13464         * soft-fp/floatsisf.c: Likewise.
13465         * soft-fp/floatsitf.c: Likewise.
13466         * soft-fp/floattidf.c: Likewise.
13467         * soft-fp/floattisf.c: Likewise.
13468         * soft-fp/floattitf.c: Likewise.
13469         * soft-fp/floatundidf.c: Likewise.
13470         * soft-fp/floatundisf.c: Likewise.
13471         * soft-fp/floatunsidf.c: Likewise.
13472         * soft-fp/floatunsisf.c: Likewise.
13473         * soft-fp/floatuntidf.c: Likewise.
13474         * soft-fp/floatuntisf.c: Likewise.
13475         * soft-fp/floatuntitf.c: Likewise.
13476         * soft-fp/fmadf4.c: Likewise.
13477         * soft-fp/fmasf4.c: Likewise.
13478         * soft-fp/fmatf4.c: Likewise.
13479         * soft-fp/gedf2.c: Likewise.
13480         * soft-fp/gesf2.c: Likewise.
13481         * soft-fp/getf2.c: Likewise.
13482         * soft-fp/ledf2.c: Likewise.
13483         * soft-fp/lesf2.c: Likewise.
13484         * soft-fp/letf2.c: Likewise.
13485         * soft-fp/muldf3.c: Likewise.
13486         * soft-fp/mulsf3.c: Likewise.
13487         * soft-fp/multf3.c: Likewise.
13488         * soft-fp/negdf2.c: Likewise.
13489         * soft-fp/negsf2.c: Likewise.
13490         * soft-fp/negtf2.c: Likewise.
13491         * soft-fp/op-1.h: Likewise.
13492         * soft-fp/op-2.h: Likewise.
13493         * soft-fp/op-4.h: Likewise.
13494         * soft-fp/op-8.h: Likewise.
13495         * soft-fp/op-common.h: Likewise.
13496         * soft-fp/quad.h: Likewise.
13497         * soft-fp/single.h: Likewise.
13498         * soft-fp/soft-fp.h: Likewise.
13499         * soft-fp/sqrtdf2.c: Likewise.
13500         * soft-fp/sqrtsf2.c: Likewise.
13501         * soft-fp/sqrttf2.c: Likewise.
13502         * soft-fp/subdf3.c: Likewise.
13503         * soft-fp/subsf3.c: Likewise.
13504         * soft-fp/subtf3.c: Likewise.
13505         * soft-fp/truncdfsf2.c: Likewise.
13506         * soft-fp/trunctfdf2.c: Likewise.
13507         * soft-fp/trunctfsf2.c: Likewise.
13508         * soft-fp/trunctfxf2.c: Likewise.
13509         * soft-fp/unorddf2.c: Likewise.
13510         * soft-fp/unordsf2.c: Likewise.
13511         * soft-fp/unordtf2.c: Likewise.
13512
13513 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
13514
13515         [BZ #15672]
13516         * misc/error.c (error_tail): Fix possible buffer overflow.
13517
13518 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
13519
13520         [BZ #13028]
13521         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13522         address.
13523
13524 2013-10-14  P. J. McDermott  <pj@pehjota.net>
13525
13526         [BZ #832]
13527         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
13528         testing pipefail option.
13529
13530 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13531
13532         * soft-fp/double.h: Indent preprocessor directives inside #if.
13533         * soft-fp/extended.h: Likewise.
13534         * soft-fp/op-2.h: Likewise.
13535         * soft-fp/op-4.h: Likewise.
13536         * soft-fp/op-common.h: Likewise.
13537         * soft-fp/quad.h: Likewise.
13538         * soft-fp/single.h: Likewise.
13539         * soft-fp/soft-fp.h: Likewise.
13540
13541 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
13542
13543         * iconv/iconv_prog.c: Fix typos.
13544         * stdio-common/psiginfo-data.h: Likewise.
13545
13546 2013-10-12   Reuben Thomas <rrt@sc3d.org>
13547
13548         [BZ #15764]
13549         * locale/setlocale.c: Fix typo.
13550
13551 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13552
13553         [BZ #16036]
13554         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13555         signaling NaN arguments.
13556         * soft-fp/unordsf2.c (__unordsf2): Likewise.
13557         * soft-fp/unordtf2.c (__unordtf2): Likewise.
13558
13559         [BZ #14910]
13560         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13561         unordered operands.
13562         * soft-fp/gesf2.c (__gesf2): Likewise.
13563         * soft-fp/getf2.c (__getf2): Likewise.
13564         * soft-fp/ledf2.c (__ledf2): Likewise.
13565         * soft-fp/lesf2.c (__lesf2): Likewise.
13566         * soft-fp/letf2.c (__letf2): Likewise.
13567
13568         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13569         * soft-fp/eqsf2.c (__eqsf2): Likewise.
13570         * soft-fp/eqtf2.c (__eqtf2): Likewise.
13571         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13572         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13573         * soft-fp/fixdfti.c (__fixdfti): Likewise.
13574         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13575         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13576         * soft-fp/fixsfti.c (__fixsfti): Likewise.
13577         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13578         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13579         * soft-fp/fixtfti.c (__fixtfti): Likewise.
13580         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13581         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13582         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13583         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13584         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13585         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13586         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13587         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13588         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13589         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13590         * soft-fp/floatdisf.c (__floatdisf): Likewise.
13591         * soft-fp/floatsisf.c (__floatsisf): Likewise.
13592         * soft-fp/floattidf.c (__floattidf): Likewise.
13593         * soft-fp/floattisf.c (__floattisf): Likewise.
13594         * soft-fp/floattitf.c (__floattitf): Likewise.
13595         * soft-fp/floatundidf.c (__floatundidf): Likewise.
13596         * soft-fp/floatundisf.c (__floatundisf): Likewise.
13597         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13598         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13599         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13600         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13601         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13602         * soft-fp/gesf2.c (__gesf2): Likewise.
13603         * soft-fp/getf2.c (__getf2): Likewise.
13604         * soft-fp/ledf2.c (__ledf2): Likewise.
13605         * soft-fp/lesf2.c (__lesf2): Likewise.
13606         * soft-fp/letf2.c (__letf2): Likewise.
13607
13608         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13609         Undefine and redefine.
13610         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13611         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13612         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13613         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13614         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13615         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13616         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13617         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13618         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13619         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13620         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13621         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13622         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13623         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13624         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13625
13626         [BZ #16032]
13627         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13628         without decrementing exponent if mantissa >= that for the
13629         denominator, not >.
13630         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13631         denominator, not >.  Decrement exponent in < case instead of
13632         incrementing in >= case.
13633         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13634         without decrementing exponent if mantissa >= that for the
13635         denominator, not >.
13636
13637         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13638         computing saturated result for unsigned overflow.
13639
13640 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13641             Jeff Law  <law@redhat.com>
13642
13643         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13644         (atan2Mp): Add systemtap probe marker.
13645         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13646         (__ieee754_log): Add systemtap probe marker.
13647         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13648         (atanMp): Add systemtap probe marker.
13649         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13650         (tanMp): Add systemtap probe marker.
13651         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13652         (__slowexp): Add systemtap probe marker.
13653         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13654         (__slowpow): Add systemtap probe marker.
13655         * manual/probes.texi: Document probes.
13656
13657 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
13658
13659         [BZ #15362]
13660         * libio/fileops.c (_IO_new_file_write): Return count of bytes
13661         written.
13662         (_IO_new_file_xsputn): Don't return EOF if nothing has been
13663         written.
13664         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13665         written to buffer but not flushed.
13666         * libio/iofwrite_u.c:  Likewise.
13667         * libio/iopadn.c:  Return bytes returned even if EOF was
13668         encountered.
13669         * libio/iowpadn.c:  Likewise.
13670         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13671         if _IO_padn does not write the whole buffer.
13672         [!COMPILE_WPRINTF] (PAD): Likewise.
13673
13674 2013-10-10  David S. Miller  <davem@davemloft.net>
13675
13676         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13677         directory block.
13678
13679 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13680
13681         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
13682         instead of FSF address.
13683         * soft-fp/fixdfti.c: Likewise.
13684         * soft-fp/fixsfti.c: Likewise.
13685         * soft-fp/fixtfti.c: Likewise.
13686         * soft-fp/fixunsdfti.c: Likewise.
13687         * soft-fp/fixunssfti.c: Likewise.
13688         * soft-fp/fixunstfti.c: Likewise.
13689         * soft-fp/floattidf.c: Likewise.
13690         * soft-fp/floattisf.c: Likewise.
13691         * soft-fp/floattitf.c: Likewise.
13692         * soft-fp/floatuntidf.c: Likewise.
13693         * soft-fp/floatuntisf.c: Likewise.
13694         * soft-fp/floatuntitf.c: Likewise.
13695         * soft-fp/trunctfxf2.c: Likewise.
13696
13697         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
13698         * soft-fp/fixdfti.c: Likewise.
13699         * soft-fp/fixsfti.c: Likewise.
13700         * soft-fp/fixtfti.c: Likewise.
13701         * soft-fp/fixunsdfti.c: Likewise.
13702         * soft-fp/fixunssfti.c: Likewise.
13703         * soft-fp/fixunstfti.c: Likewise.
13704         * soft-fp/floattidf.c: Likewise.
13705         * soft-fp/floattisf.c: Likewise.
13706         * soft-fp/floattitf.c: Likewise.
13707         * soft-fp/floatuntidf.c: Likewise.
13708         * soft-fp/floatuntisf.c: Likewise.
13709         * soft-fp/floatuntitf.c: Likewise.
13710         * soft-fp/trunctfxf2.c: Likewise.
13711
13712 2013-10-10  David S. Miller  <davem@davemloft.net>
13713
13714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13715
13716 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
13717
13718         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13719         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13720         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13721         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13722         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13723         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13724         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13725
13726         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13727         for NaNs before doing comparisons on argument.
13728         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13729         Likewise.
13730
13731 2013-10-10  Will Newton  <will.newton@linaro.org>
13732
13733         * malloc/hooks.c (memalign_check): Ensure the value of bytes
13734         passed to _int_memalign does not overflow.
13735
13736 2013-10-10  Torvald Riegel  <triegel@redhat.com>
13737
13738         * scripts/bench.pl: Add include-sources directive.
13739         * benchtests/README: Update documentation.
13740
13741 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13742
13743         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13744         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13745         instead of FP_INIT_ROUNDMODE.
13746         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13747         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13748
13749         [BZ #16034]
13750         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
13751         copy class of input value.
13752         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
13753         not handle exceptions.
13754         * soft-fp/negsf2.c (__negsf2): Likewise.
13755         * soft-fp/negtf2.c (__negtf2): Likewise.
13756         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13757
13758 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
13759
13760         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13761         semicolon.  From Linux kernel.
13762
13763 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
13764
13765         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13766
13767 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
13768
13769         [BZ #156]
13770         * manual/socket.texi: Added statement about buffer
13771         for gethostbyname2_r.
13772
13773 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
13774
13775         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13776         Use .p2align directive instead, throughout.
13777         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13778         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13779         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13780         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13781         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13782         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13783         * sysdeps/x86_64/strchr.S: Likewise.
13784         * sysdeps/x86_64/strrchr.S: Likewise.
13785
13786 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13787
13788         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13789
13790         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13791
13792         * sysdeps/generic/math_private.h (__mpsin1): Remove
13793         declaration.
13794         (__mpcos1): Likewise.
13795         (__mpsin): New argument __range_reduce.
13796         (__mpcos): Likewise.
13797         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13798         (slow): Use __mpsin and __mpcos.
13799         (slow1): Likewise.
13800         (slow2): Likewise.
13801         (sloww): Likewise.
13802         (sloww1): Likewise.
13803         (sloww2): Likewise.
13804         (bsloww): Likewise.
13805         (bsloww1): Likewise.
13806         (bsloww2): Likewise.
13807         (cslow2): Likewise.
13808         (csloww): Likewise.
13809         (csloww1): Likewise.
13810         (csloww2): Likewise.
13811         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13812         range_reduce.  Merge in __mpsin1.
13813         (__mpcos): Likewise.
13814         (__mpsin1): Remove.
13815         (__mpcos1): Likewise.
13816
13817 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
13818
13819         * locale/loadlocale.c (_nl_intern_locale_data): Use
13820         LOCFILE_ALIGNED_P.
13821         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13822         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13823         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13824         obstack data is appropriately aligned.
13825         (obstack_int32_grow_fast): Likewise.
13826         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13827         * locale/programs/locfile.c (add_locale_uint32): Likewise.
13828         (add_locale_uint32_array): Likewise.
13829
13830 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
13831
13832         * benchtests/Makefile: Remove ARGLIST and RET variables.
13833         ($(objpfx)bench-%.c): Pass only function name to the script.
13834         * benchtests/README: Update documentation.
13835         * benchtests/acos-inputs: Add new directives.
13836         * benchtests/acosh-inputs: Likewise.
13837         * benchtests/asin-inputs: Likewise.
13838         * benchtests/asinh-inputs: Likewise.
13839         * benchtests/atan-inputs: Likewise.
13840         * benchtests/atanh-inputs: Likewise.
13841         * benchtests/cos-inputs: Likewise.
13842         * benchtests/cosh-inputs: Likewise.
13843         * benchtests/exp-inputs: Likewise.
13844         * benchtests/log-inputs: Likewise.
13845         * benchtests/pow-inputs: Likewise.
13846         * benchtests/rint-inputs: Likewise.
13847         * benchtests/sin-inputs: Likewise.
13848         * benchtests/sinh-inputs: Likewise.
13849         * benchtests/tan-inputs: Likewise.
13850         * benchtests/tanh-inputs: Likewise.
13851         * scripts/bench.pl: Add support for new directives.
13852
13853 2013-10-07  Alan Modra  <amodra@gmail.com>
13854
13855         * README: Fix careless merge.
13856
13857 2013-10-05  Alan Modra  <amodra@gmail.com>
13858
13859         * NEWS: Mention powerpc64le support and bugs fixed.
13860         * README: Both big-endian and little-endian powerpc64 supported.
13861
13862 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13863
13864         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13865         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13866         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13867         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13868
13869 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
13870
13871         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13872         match prototype.
13873
13874 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
13875
13876         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13877         Move -mhard-float appending from
13878         ports/sysdeps/powerpc/powerpc32/Makefile.
13879         [$(with-fp) = yes] (ASFLAGS): Likewise.
13880         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13881         * sysdeps/powerpc/nofpu: Move directory from
13882         ports/sysdeps/powerpc/nofpu.
13883         * sysdeps/powerpc/soft-fp: Move directory from
13884         ports/sysdeps/powerpc/soft-fp.
13885         * sysdeps/powerpc/powerpc32/405: Move directory from
13886         ports/sysdeps/powerpc/powerpc32/405.
13887         * sysdeps/powerpc/powerpc32/440: Move directory from
13888         ports/sysdeps/powerpc/powerpc32/440.
13889         * sysdeps/powerpc/powerpc32/464: Move directory from
13890         ports/sysdeps/powerpc/powerpc32/464.
13891         * sysdeps/powerpc/powerpc32/476: Move directory from
13892         ports/sysdeps/powerpc/powerpc32/476.
13893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13894         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13896         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13898         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13900         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13902         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13903         * README: Update for powerpc-*-linux-gnu software floating point
13904         support in libc.
13905
13906         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13907         case to powerpc/powerpc32*.
13908         * sysdeps/unix/sysv/linux/configure: Regenerated.
13909
13910         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13911         (_FPU_MASK_OM): Define as 0x04.
13912         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13913         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13914         0x00c10080.
13915         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13916         0x0000003c.
13917         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13918
13919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13920         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13921         getcontext_e500.
13922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13923         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13924         setcontext_e500.
13925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13926         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13927         and setcontext_e500.
13928
13929 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
13930
13931         * locale/iso-3166.def: Update iso-1366.def and related occurrences
13932
13933 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13934
13935         * manual/threads.texi (Default Thread Attributes): Fix typo.
13936
13937 2013-10-04  Will Newton  <will.newton@linaro.org>
13938
13939         * malloc/Makefile: Add tst-memalign.
13940         * malloc/tst-memalign.c: New file.
13941
13942         * malloc/tst-posix_memalign.c: Add comments.
13943         (do_test): Add comments and call free on all potentially
13944         allocated pointers. Add space after cast.
13945
13946         * malloc/tst-pvalloc.c: Add comments.
13947         (do_test): Add comments and call free on all potentially
13948         allocated pointers. Remove duplicate check for NULL pointer.
13949         Add space after cast.
13950
13951         * malloc/tst-valloc.c: Add comments.
13952         (do_test): Add comments and call free on all potentially
13953         allocated pointers. Remove duplicate check for NULL pointer.
13954         Add space after cast.
13955
13956 2013-10-04  Alan Modra  <amodra@gmail.com>
13957
13958         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13959         Use stdint types in rather than __attribute__((mode())).
13960         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13961
13962 2013-10-04  Alan Modra  <amodra@gmail.com>
13963
13964         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13965         Correct handling of unaligned relocs for little-endian.
13966         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13967
13968 2013-10-04  Alan Modra  <amodra@gmail.com>
13969
13970         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13971         * configure: Regenerate.
13972         * nptl/shlib-versions: Powerpc*le starts at 2.18.
13973         * shlib-versions: Likewise.
13974
13975 2013-10-04  Alan Modra  <amodra@gmail.com>
13976
13977         * string/tester.c (test_memrchr): Increment reported test cycle.
13978
13979 2013-10-04  Alan Modra  <amodra@gmail.com>
13980
13981         * string/test-memcpy.c (do_one_test): When reporting errors, print
13982         string address and don't overrun end of string.
13983
13984 2013-10-04  Alan Modra  <amodra@gmail.com>
13985
13986         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13987         insrdi.  Make better use of reg selection to speed exit slightly.
13988         Schedule entry path a little better.  Remove useless "are we done"
13989         checks on entry to main loop.  Handle wrapping around zero address.
13990         Correct main loop count.  Handle single left-over word from main
13991         loop inline rather than by using loop_small.  Remove extra word
13992         case in loop_small caused by wrong loop count.  Add little-endian
13993         support.
13994         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13995         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
13996         cache hint.
13997         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13998         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13999         support.  Avoid rlwimi.
14000         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14001
14002 2013-10-04  Alan Modra  <amodra@gmail.com>
14003
14004         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14005         insrdi.  Formatting.
14006         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14007         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14008         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14009         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14010         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14011         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14012
14013 2013-10-04  Alan Modra  <amodra@gmail.com>
14014
14015         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14016         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14017         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14018         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14019         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14020         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14021         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14022         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14023         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14024         use of regs.  Use power7 mtocrf.  Tidy function tails.
14025
14026 2013-10-04  Alan Modra  <amodra@gmail.com>
14027
14028         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14029         Formatting.  Consistently use rXXX register defines or rN defines.
14030         Use early exit labels that avoid restoring unused non-volatile regs.
14031         Make cr field use more consistent with rWORDn compares.  Rename
14032         regs used as shift registers for unaligned loop, using rN defines
14033         for short lifetime/multiple use regs.
14034         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14035         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14036         addi 1,1,64 to pop stack frame.  Simplify return value code.
14037         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14038
14039 2013-10-04  Alan Modra  <amodra@gmail.com>
14040
14041         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14042         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14043         rather than rlwimi.
14044         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14045         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14046         little-endian support.  Correct typos.
14047         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14048         rather than rlwimi.
14049         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14050         in loop and entry code to keep "and." results.
14051         (strchr): Add little-endian support.  Comment.  Move cntlzd
14052         earlier in tail.
14053         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14054
14055 2013-10-04  Alan Modra  <amodra@gmail.com>
14056
14057         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14058         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14059         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14060         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14061
14062 2013-10-04  Alan Modra  <amodra@gmail.com>
14063
14064         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14065         (rTMP): Define as r11.
14066         (strcmp): Add little-endian support.  Optimise tail.
14067         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14068         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14069         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14070         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14071         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14072         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14073         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14074
14075 2013-10-04  Alan Modra  <amodra@gmail.com>
14076
14077         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14078         little-endian support.  Remove unnecessary "are we done" tests.
14079         Handle "s" wrapping around zero and extremely large "size".
14080         Correct main loop count.  Handle single left-over word from main
14081         loop inline rather than by using small_loop.  Correct comments.
14082         Delete "zero" tail, use "end_max" instead.
14083         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14084
14085 2013-10-04  Alan Modra  <amodra@gmail.com>
14086
14087         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14088         support.  Don't branch over align.
14089         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14090         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14091         support.  Rearrange tmp reg use to suit.  Comment.
14092         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14093
14094 2013-10-04  Alan Modra  <amodra@gmail.com>
14095
14096         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14097
14098 2013-10-04  Alan Modra  <amodra@gmail.com>
14099
14100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14101         conditional form of branch and link when obtaining pc.
14102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14103
14104 2013-10-04  Alan Modra  <amodra@gmail.com>
14105
14106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14107         HIWORD/LOWORD.
14108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14110
14111 2013-10-04  Alan Modra  <amodra@gmail.com>
14112
14113         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14114         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14115         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14116         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14117         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14118         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14119         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14120         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14121         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14122         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14123
14124 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14125             Alistair Popple <alistair@ozlabs.au.ibm.com>
14126             Alan Modra <amodra@gmail.com>
14127
14128         [BZ #15723]
14129         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14130         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14131         _dl_hwcap access for little-endian.
14132         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14133         destroy vmx regs when saving unaligned.
14134         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14135         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14136         destroy vmx regs when saving unaligned.
14137
14138 2013-10-04  Alan Modra  <amodra@gmail.com>
14139
14140         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14141         Don't use a union to pack hi/low value.
14142
14143 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14144
14145         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14146         for little-endian.
14147         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14148         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14149         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14150         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14151         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14152
14153 2013-10-04  Alan Modra  <amodra@gmail.com>
14154
14155         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14156         constants to usual value for .cst8 section, and remove redundant
14157         high address load.
14158         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14159         constant for 0x1p52.  Load little-endian words of double from
14160         correct stack offsets.
14161
14162 2013-10-04  Alan Modra  <amodra@gmail.com>
14163
14164         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14165         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14166         words of double from correct stack offsets.
14167         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14168         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14169         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14170         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14171         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14172         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14173         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14174         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14175         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14176         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14177         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14178         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14179         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14180         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14181         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14182         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14183         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14184
14185 2013-10-04  Alan Modra  <amodra@gmail.com>
14186
14187         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14188         64-bit int/double union.
14189         (_FPU_SETCW): Likewise.
14190         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14191         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14192
14193 2013-10-04  Alan Modra  <amodra@gmail.com>
14194
14195         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14196         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14197
14198 2013-10-04  Alan Modra  <amodra@gmail.com>
14199
14200         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14201         use vector int constants.
14202         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14203
14204 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14205
14206         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14207         array with long long.
14208         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14209         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14210         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14211         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14212         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14213         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14214         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14215         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14216         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14217         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14218         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14219         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14220         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14221
14222 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14223
14224         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14225         (__signbit): Likewise.  Correct for little-endian.
14226         (__signbitl): Call __signbit.
14227         (lrint): Correct for little-endian.
14228         (lrintf): Call lrint.
14229
14230 2013-10-04  Alan Modra  <amodra@gmail.com>
14231
14232         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14233         union 32-bit int array member with 64-bit int array.
14234         (t515, tm256): Double rather than long double.
14235         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14236
14237 2013-10-04  Alan Modra  <amodra@gmail.com>
14238
14239         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14240         Delete.
14241         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14242         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14243         version of math_ldbl.h.
14244
14245 2013-10-04  Alan Modra  <amodra@gmail.com>
14246
14247         [BZ #15734], [BZ #15735]
14248         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14249         all uses of ieee875 long double macros and unions.  Simplify test
14250         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
14251         ldbl_extract_mantissa value for ix,iy exponents.  Properly
14252         normalize after ldbl_extract_mantissa, and don't add hidden bit
14253         already handled.  Don't treat low word of ieee854 mantissa like
14254         low word of IBM long double and mask off bit when testing for
14255         zero.
14256         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14257         all uses of ieee875 long double macros and unions.  Simplify tests
14258         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
14259         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
14260         two1022, instead use their values.  Recognise that tests for large
14261         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
14262         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14263         Rewrite all uses of ieee875 long double macros and unions.  Simplify
14264         test for 0.0L and nan.  Correct negation.
14265         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14266         ieee875 long double macros and unions.  Correct output for large
14267         magnitude x.  Correct absolute value calculation.
14268         (__erfcl): Likewise.
14269         * math/libm-test.inc: Add tests for errors discovered in IBM long
14270         double versions of fmodl, remainderl, erfl and erfcl.
14271
14272 2013-10-04  Alan Modra  <amodra@gmail.com>
14273
14274         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14275         all uses of ieee854 long double macros and unions.  Simplify tests
14276         for long doubles that are fully specified by the high double.
14277         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14278         Likewise.
14279         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14280         Remove dead code too.
14281         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14282         (__ieee754_ynl): Likewise.
14283         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14284         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14285         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14286         Remove dead code too.
14287         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14288         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14289         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14290         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14291         Simplify.
14292         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14293         Simplify.
14294         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14295         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14296         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14297         Comment on variable precision.
14298         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14299         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14300         Likewise.
14301         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14302         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14303         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14304         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14305         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14306
14307 2013-10-04  Alan Modra  <amodra@gmail.com>
14308
14309         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14310         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14311         all uses of ieee854 long double macros and unions.
14312         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14313         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14314         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14315         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14316         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14317         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14318         Likewise.
14319         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14320         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14321         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14322         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14323         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14324         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14325         Simplify sign and nan test too.
14326         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14327         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14328         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14329         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14330         Likewise.
14331         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14332         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14333         Likewise.
14334         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14335         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14336         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14337         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14338         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14339         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14340
14341 2013-10-04  Alan Modra  <amodra@gmail.com>
14342
14343         * stdio-common/printf_size.c (__printf_size): Don't use
14344         union ieee854_long_double in fpnum union.
14345         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
14346         signbit macro to retrieve sign from long double.
14347         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14348         retrieve sign from long double.
14349         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14350         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14351         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14352         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14353         * math/test-misc.c (main): Don't use union ieee854_long_double.
14354
14355 2013-10-04  Alan Modra  <amodra@gmail.com>
14356
14357         [BZ #15680]
14358         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14359         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14360         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14361         calculation.  Remove unnecessary test for denormal exponent.
14362         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14363         Correct handling of denormals.  Avoid undefined shift behaviour.
14364         Correct normalisation of low mantissa when low double is denormal.
14365         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14366         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
14367         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14368         Correct normalisation of low mantissa.  Test for overflow of high
14369         mantissa and normalise.
14370         (ldbl_nearbyint): Use more readable constant for two52.
14371         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14372         (__mpn_construct_long_double): Fix test for overflow of high
14373         mantissa and correct normalisation.  Avoid undefined shift.
14374
14375 2013-10-04  Alan Modra  <amodra@gmail.com>
14376
14377         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14378         (union ibm_extended_long_double): Define as an array of ieee754_double.
14379         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14380         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14381         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14382         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14383         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14384         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14385         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14386         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14387         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14388         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14389         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14390
14391 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
14392
14393         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14394         page size instead of calling getpagesize.
14395
14396         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14397         (LOCFILE_ALIGN_MASK): Likewise.
14398         (LOCFILE_ALIGN_UP): Likewise.
14399         (LOCFILE_ALIGNED_P): Likewise.
14400         * locale/programs/ld-collate.c (collate_output): Use the new
14401         macros instead of __alignof__ (int32_t).
14402         * locale/weight.h (findidx): Likewise.
14403
14404 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
14405
14406         [BZ #431]
14407         * manual/string.texi: Fix strncat and wcsncat.
14408
14409 2013-10-03  Brooks Moses  <bmoses@google.com>
14410
14411         [BZ #15915]
14412         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14413         * Makerules: ...here, and adjust associated comments.
14414
14415 2013-10-02  Will Newton  <will.newton@linaro.org>
14416
14417         * malloc/Makefile: Add tst-pvalloc.
14418         * malloc/tst-pvalloc.c: New file.
14419
14420 2013-10-02  Will Newton  <will.newton@linaro.org>
14421
14422         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14423         improve test coverage.
14424
14425 2013-10-02  Will Newton  <will.newton@linaro.org>
14426
14427         * malloc/Makefile: Add tst-posix_memalign.
14428         * malloc/tst-posix_memalign.c: New file.
14429
14430 2013-10-01  Eric Blake  <eblake@redhat.com>
14431
14432         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14433         Use __THROWNL rather than __THROW on static functions.
14434
14435 2013-09-30  Petr Machata  <pmachata@redhat.com>
14436
14437         * elf/elf.h (R_AARCH64_ABS16): New macro.
14438         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14439         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14440         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14441         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14442         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14443         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14444         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14445         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14446         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14447         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14448         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14449         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14450         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14451         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14452         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14453         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14454         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14455         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14456         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14457         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14458         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14459         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14460         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14461         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14462         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14463         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14464         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14465         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14466         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14467         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14468         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14469         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14470         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14471         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14472         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14473         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14474         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14475         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14476         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14477         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14478         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14479         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14480         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14481         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14482         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14483         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14484         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14485         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14486         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14487         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14488         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14489         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14490         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14491         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14492         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14493         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14494         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14495         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14496         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14497         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14498         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14499         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14500         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14501         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14502         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14503         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14504         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14505         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14506         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14507         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14508         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14509         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14510         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14511         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14512         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14513         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14514         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14515         (R_AARCH64_TLSDESC_LDR): Likewise.
14516         (R_AARCH64_TLSDESC_ADD): Likewise.
14517         (R_AARCH64_TLSDESC_CALL): Likewise.
14518
14519 2013-09-30  Andreas Schwab  <schwab@suse.de>
14520
14521         [BZ #15048]
14522         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14523         the nss database lookup.
14524         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14525         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14526
14527 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
14528
14529         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14530
14531 2013-09-28  P. J. McDermott  <pj@pehjota.net>
14532
14533         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14534         ${Bash-specific parameter/pattern/string} parameter expansion.
14535         * sysdeps/unix/make-syscalls.sh: Likewise.
14536
14537 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14538
14539         * sysdeps/sh/stackguard-macros.h: New file.
14540
14541 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
14542
14543         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14544         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14545         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14546         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14547         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14548         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14549
14550 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14551
14552         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14553         Fix thread ID register.
14554
14555 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
14556
14557         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14558         [POSIX || UNIX98]: Require rather than permitting all symbols from
14559         <time.h>.
14560         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14561         element of struct sched_param.
14562         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14563         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14564         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14565         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14566         constant.
14567
14568 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
14569
14570         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14571         argument calculation.
14572
14573 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14574
14575         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14576         Expect macro.
14577         [POSIX] (pthread_attr_t): Do not require type.
14578         [POSIX] (pthread_cond_t): Likewise.
14579         [POSIX] (pthread_condattr_t): Likewise.
14580         [POSIX] (pthread_key_t): Likewise.
14581         [POSIX] (pthread_mutex_t): Likewise.
14582         [POSIX] (pthread_mutexattr_t): Likewise.
14583         [POSIX] (pthread_once_t): Likewise.
14584         [POSIX] (pthread_t): Likewise.
14585         [POSIX-based standards] (pthread_atfork): Expect function.
14586
14587 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14588             Richard Sandiford  <richard@codesourcery.com>
14589
14590         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14591         (swap_endianness_p): New extern variable.
14592         (set_big_endian): New inline function.
14593         (maybe_swap_uint32): Likewise.
14594         (maybe_swap_uint32_array): Likewise.
14595         (maybe_swap_uint32_obstack): Likewise.
14596         * locale/programs/locfile.c: Include <stdbool.h>.
14597         (swap_endianness_p): New variable.
14598         (add_locale_uint32): Call maybe_swap_uint32.
14599         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14600         (write_locale_data): Call maybe_swap_uint32_array.
14601         * locale/programs/ld-collate.c (obstack_int32_grow): Call
14602         maybe_swap_uint32.
14603         (obstack_int32_grow_fast): Likewise.
14604         (output_weightwc): Call maybe_swap_uint32_obstack.
14605         (collate_output): Likewise.
14606         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14607         (OPT_LITTLE_ENDIAN): Likewise.
14608         (options): Add --little-endian and --big-endian options.
14609         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14610         * locale/programs/locarchive.c: Include "locfile.h".
14611         (GET): New macro.
14612         (SET): Likewise.
14613         (INC): Likewise.
14614         (create_archive): Use the new macros to access fields of
14615         structures directly mapped from or written to locale archives.
14616         (oldlocrecentcmp): Likewise.
14617         (enlarge_archive): Likewise.
14618         (insert_name): Likewise.
14619         (add_alias): Likewise.
14620         (add_locale): Likewise.
14621         (delete_locales_from_archive): Likewise.
14622         (show_archive_content): Likewise.
14623         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
14624         locale data.
14625
14626 2013-09-24  Roland McGrath  <roland@hack.frob.com>
14627
14628         * manual/freemanuals.texi: Updated from (newly) canonical copy at
14629         http://www.gnu.org/doc/freemanuals.texi.
14630         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14631
14632 2013-09-24  Will Newton  <will.newton@linaro.org>
14633
14634         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14635         macro.
14636
14637 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
14638
14639         * locale/hashval.h (compute_hashval): Interpret bytes of key as
14640         unsigned char.
14641
14642 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
14643
14644         * manual/threads.texi (POSIX Threads): Fix a typo.
14645
14646 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14647
14648         [BZ #14547]
14649         * string/tst-strcoll-overflow.c: New test case.
14650         * string/Makefile (xtests): Add tst-strcoll-overflow.
14651         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14652         cache if string sizes may cause integer overflow.
14653
14654         [BZ #14547]
14655         * string/strcoll_l.c (coll_seq): New members rule, idx,
14656         save_idx and back_us.
14657         (get_next_seq_nocache): New function.
14658         (do_compare_nocache): New function.
14659         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14660         when malloc fails.
14661
14662 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
14663
14664         [BZ #15754]
14665         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14666         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14667         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14668
14669         [BZ #15754]
14670         * elf/Makefile (tests): Add tst-ptrguard1.
14671         (tests-static): Add tst-ptrguard1-static.
14672         (tst-ptrguard1-ARGS): Define.
14673         (tst-ptrguard1-static-ARGS): Define.
14674         * elf/tst-ptrguard1.c: New file.
14675         * elf/tst-ptrguard1-static.c: New file.
14676         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14677         * sysdeps/i386/stackguard-macros.h: Likewise.
14678         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14679         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14680         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14681         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14682         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14683         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14684
14685 2013-09-23  Hector Marco  <hecmargi@upv.es>
14686             Ismael Ripoll  <iripoll@disca.upv.es>
14687             Carlos O'Donell  <carlos@redhat.com>
14688
14689         [BZ #15754]
14690         * sysdeps/generic/stackguard-macros.h: Define
14691         __pointer_chk_guard_local and POINTER_CHK_GUARD.
14692         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14693         Define __pointer_chk_guard_local.
14694         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14695         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14696
14697 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
14698
14699         [BZ #15859]
14700         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14701
14702 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
14703
14704         * include/string.h (__ffs): Declare as hidden.
14705         * string/ffs.c (__ffs): Define as hidden.
14706         * sysdeps/i386/ffs.c (__ffs): Likewise.
14707         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14708         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14709         * sysdeps/s390/ffs.c (__ffs): Likewise.
14710         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14711
14712 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
14713
14714         * NEWS: Mention malloc probes.
14715
14716         * malloc/arena.c (new_heap): New memory_heap_new probe.
14717         (grow_heap): New memory_heap_more probe.
14718         (shrink_heap): New memory_heap_less probe.
14719         (heap_trim): New memory_heap_free probe.
14720         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14721         (systrim): New memory_sbrk_less probe.
14722         * manual/probes.texi: Document them.
14723
14724         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14725         * manual/probes.texi: Document it.
14726
14727         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14728         (__libc_realloc): Add memory_realloc_retry probe.
14729         (__libc_memalign): Add memory_memalign_retry probe.
14730         (__libc_valloc): Add memory_valloc_retry probe.
14731         (__libc_pvalloc): Add memory_pvalloc_retry probe.
14732         (__libc_calloc): Add memory_calloc_retry probe.
14733         * manual/probes.texi: Document them.
14734
14735         * malloc/arena.c (get_free_list): Add probe
14736         memory_arena_reuse_free_list.
14737         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14738         and memory_arena_reuse.
14739         (arena_get2) [!PER_THREAD]: Likewise.
14740         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14741         memory_arena_reuse_realloc.
14742         * manual/probes.texi: Document them.
14743
14744         * malloc/malloc.c (__libc_free): Add
14745         memory_mallopt_free_dyn_thresholds probe.
14746         (__libc_mallopt): Add multiple memory_mallopt probes.
14747         * manual/probes.texi: Document them.
14748
14749         * malloc/malloc.c: Include stap-probe.h.
14750         (__libc_mallopt): Add memory_mallopt probe.
14751         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14752         * manual/probes.texi: New.
14753         * manual/Makefile (chapters): Add probes.
14754         * manual/threads.texi: Set next node.
14755
14756 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
14757
14758         [BZ #15963, #13985]
14759         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14760         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14761         Add `Chinese' to `nan' entry name.
14762
14763 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14764
14765         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14766         (POLYNOMIAL): Likewise.
14767         (TAYLOR_SINCOS): Likewise.
14768         (TAYLOR_SLOW): Likewise.
14769         (__sin): Use TAYLOR_SINCOS.
14770         (__cos): Likewise.
14771         (slow): Use TAYLOR_SLOW.
14772         (sloww): Likewise.
14773         (bsloww): Likewise.
14774         (csloww): Likewise.
14775
14776 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14777
14778         * stdlib/strtod_l.c: Fix buffer overrun.
14779
14780 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14781
14782         * benchtests/Makefile (bench): Add sincos.
14783         * benchtests/bench-sincos.c: New file.
14784
14785         * math/libm-test.inc (cos_test_data): New test inputs.
14786         (sin_test_data): Likewise.
14787
14788         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14789         macro.
14790         (__sin): Use it.
14791         (__cos): Likewise.
14792         (slow1): Likewise.
14793         (slow2): Likewise.
14794         (sloww1): Likewise.
14795         (sloww2): Likewise.
14796         (bsloww1): Likewise.
14797         (bsloww2): Likewise.
14798         (cslow2): Likewise.
14799         (csloww1): Likewise.
14800         (csloww2): Likewise.
14801
14802         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14803         function.
14804         (__sin): Use it.
14805         (__cos): Likewise.
14806
14807         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14808         gotos.
14809         (__cos): Likewise.
14810
14811 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
14812
14813         * config.h.in (HAVE_MIPS_NAN2008): New macro.
14814         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14815         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14816         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14817         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14818         * elf/cache.c (print_entry): Handle the new cache flags.
14819
14820 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14821             Aldy Hernandez  <aldyh@redhat.com>
14822
14823         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14824         Change condition to [_SOFT_FLOAT].
14825         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14826         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14827         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14828         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14829         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14830         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14831         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14832         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14833         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14834         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14835         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14836         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14837         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14838         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14839         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14840         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14841         declaration.
14842
14843 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14844
14845         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14846         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14847         (__longjmp): Use LOAD_GP to load saved GPRs.
14848         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14849         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14850         (__sigsetjmp): Use SAVE_GP to save GPRs.
14851
14852         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14853         Do not append -msoft-float.
14854         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14855
14856 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14857
14858         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14859
14860 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
14861
14862         [BZ #15966]
14863         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14864         (_FPU_GETCW): Use initial "__" on variable and field names but not
14865         on macro parameter name.
14866         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
14867         parentheses around reference to macro parameter.
14868
14869 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
14870
14871         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14872         prototype.
14873         (ctype_startup): Use uint32_t in cast and sizeof for
14874         ctype->charnames.
14875
14876 2013-09-11  Jia Liu  <proljc@gmail.com>
14877
14878         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14879         __daddr_t_defined.
14880         [__FreeBSD__]: Likewise.
14881
14882 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
14883
14884         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14885         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14886         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14887         (strchr): Remove __strchr_sse42 ifunc selection.
14888         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14889         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14890
14891 2013-09-11  Will Newton  <will.newton@linaro.org>
14892
14893         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14894         parameter to RES. Remove hardcoded 1000 value.
14895         * benchtests/bench-skeleton.c (main): Pass RES parameter
14896         to TIMING_INIT and multiply result by 1000.
14897
14898 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14899
14900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14901
14902 2013-09-11  Andreas Schwab  <schwab@suse.de>
14903
14904         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14905         if not defined.
14906         (O_TMPFILE) [__USE_GNU]: Define.
14907         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14908         Define.
14909
14910 2013-09-11  Will Newton  <will.newton@linaro.org>
14911
14912         [BZ #15857]
14913         * malloc/malloc.c (__libc_memalign): Check the value of bytes
14914         does not overflow.
14915
14916 2013-09-11  Will Newton  <will.newton@linaro.org>
14917
14918         [BZ #15856]
14919         * malloc/malloc.c (__libc_valloc): Check the value of bytes
14920         does not overflow.
14921
14922 2013-09-11  Will Newton  <will.newton@linaro.org>
14923
14924         [BZ #15855]
14925         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14926         does not overflow.
14927
14928 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
14929
14930         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14931         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14932         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14933         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14934         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14935
14936 2013-09-10  Allan McRae  <allan@archlinux.org>
14937
14938         [BZ #15748]
14939         * manual/arith.texi (Parsing of Floats): Clarify
14940         cross-reference.
14941
14942         [BZ #15849]
14943         * manual/install.texi (Running make install): Mention
14944         --enable-pt-chown.
14945         * INSTALL: Regenerated.
14946
14947 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
14948
14949         * csu/init-first.c (_init): Remove the !SHARED condition around
14950         FPU control word initialization.
14951         * elf/dl-support.c (_dl_fpu_control): New variable.
14952         (_dl_aux_init) <AT_FPUCW>: Initialize it.
14953         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14954         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14955         * math/test-fpucw-static.c: New file.
14956         * math/test-fpucw-ieee.c: New file.
14957         * math/test-fpucw-ieee-static.c: New file.
14958         * math/Makefile (tests): Add `test-fpucw-ieee' and
14959         `$(tests-static)'.
14960         (tests-static): New variable.
14961         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14962         dependency to...
14963         [($(build-shared),yes)]
14964         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14965         ... this.
14966         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14967         New dependency.
14968
14969 2013-09-09  Allan McRae  <allan@archlinux.org>
14970
14971         [BZ #15939]
14972         * manual/string.texi (Collation Functions): Fix typo in
14973         strcoll example.
14974         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14975
14976         [BZ #15893]
14977         * stdlib/isomac.c (get_null_defines): Fix memory leak.
14978
14979         [BZ #15892]
14980         * libio/memstream.c (open_memstream): Fix memory leak.
14981         * libio/wmemstream.c (open_wmemstream): Likewise.
14982
14983         [BZ #15895]
14984         * nscd/netgroupcache.c: Fix nesting of ifdefs.
14985
14986 2013-09-09  Will Newton  <will.newton@linaro.org>
14987
14988         * malloc/Makefile: Add tst-realloc to tests.
14989         * malloc/tst-realloc.c: New file.
14990
14991 2013-09-09  Allan McRae  <allan@archlinux.org>
14992
14993         [BZ #15844]
14994         * COPYING: Update from GNU website to fix FSF address.
14995         * COPYING.LIB: Likewise.
14996
14997 2013-09-06  David S. Miller  <davem@davemloft.net>
14998
14999         * po/zh_TW.po: Update Chinese (traditional) translation from
15000         translation project.
15001
15002 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15003             Joseph Myers  <joseph@codesourcery.com>
15004
15005         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15006         "localeinfo.h".
15007         (obstack_chunk_alloc): New macro.
15008         (obstack_chunk_free): Likewise.
15009         (record_offset): New function.
15010         (init_locale_data): Likewise.
15011         (align_locale_data): Likewise.
15012         (add_locale_empty): Likewise.
15013         (add_locale_raw_data): Likewise.
15014         (add_locale_raw_obstack): Likewise.
15015         (add_locale_string): Likewise.
15016         (add_locale_wstring): Likewise.
15017         (add_locale_uint32): Likewise.
15018         (add_locale_uint32_array): Likewise.
15019         (add_locale_char): Likewise.
15020         (start_locale_structure): Likewise.
15021         (end_locale_structure): Likewise.
15022         (start_locale_prelude): Likewise.
15023         (end_locale_prelude): Likewise.
15024         (write_locale_data): Take locale_file structure rather than an
15025         iovec.
15026         * locale/programs/locfile.h: Include "obstack.h".
15027         (struct locale_file): Change to store locale file contents instead
15028         of header.
15029         (init_locale_data): New prototype.
15030         (align_locale_data): Likewise.
15031         (add_locale_empty): Likewise.
15032         (add_locale_raw_data): Likewise.
15033         (add_locale_raw_obstack): Likewise.
15034         (add_locale_string): Likewise.
15035         (add_locale_wstring): Likewise.
15036         (add_locale_uint32): Likewise.
15037         (add_locale_uint32_array): Likewise.
15038         (add_locale_char): Likewise.
15039         (start_locale_structure): Likewise.
15040         (end_locale_structure): Likewise.
15041         (start_locale_prelude): Likewise.
15042         (end_locale_prelude): Likewise.
15043         (write_locale_data): Update prototype.
15044         * locale/programs/3level.h (struct TABLE): Remove result field.
15045         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15046         Use new locale_file interface.
15047         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15048         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15049         * locale/programs/ld-address.c (address_output): Use new
15050         locale_file interface.
15051         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15052         NO_ADD_LOCALE.
15053         (collate_finish): Don't call collseq_table_finalize.
15054         (collate_output): Use new locale_file interface.
15055         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15056         in file.
15057         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15058         (TABLE): Move defines earlier in file.
15059         (ELEMENT): Likewise.
15060         (DEFAULT): Likewise.
15061         (wctrans_table_add): Move macro and inline function earlier in
15062         file.
15063         (struct wctype_table): Move type earlier in file.
15064         (add_locale_wctype_table): New static prototype.
15065         (struct locale_ctype_t): Use logical types instead of struct iovec
15066         pointers for members.
15067         (ctype_output): Use new locale_file interface.
15068         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15069         new locale_file interface.
15070         (allocate_arrays): Update for use of new locale_file interface.
15071         * locale/programs/ld-identification.c (identification_output): Use
15072         new locale_file interface.
15073         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15074         * locale/programs/ld-messages.c (messages_output): Likewise.
15075         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15076         * locale/programs/ld-name.c (name_output): Likewise.
15077         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15078         * locale/programs/ld-paper.c (paper_output): Likewise.
15079         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15080         * locale/programs/ld-time.c (time_output): Likewise.
15081
15082 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15083
15084         * benchtests/Makefile: Add memrchr benchmark.
15085         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15086         benchmark as memrchr.
15087         * benchtests/bench-memrchr-ifunc.c: New file.
15088         * benchtests/bench-memrchr.c: New file.
15089
15090 2013-09-06   Will Newton  <will.newton@linaro.org>
15091
15092         * benchtests/Makefile (string-bench): Add memcpy.
15093
15094 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15095             Cong Wang  <amwang@redhat.com>
15096
15097         [BZ #15850]
15098         * sysdeps/unix/sysv/linux/bits/in.h
15099         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15100         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15101         before __USE_KERNEL_IPV6_DEFS uses.
15102         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15103         IPPROTO_BEETPH.
15104         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15105         sockaddr_in6, or ipv6_mreq.
15106
15107 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15108
15109         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15110         memory access for final bytes in some large inputs.
15111         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15112
15113 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15114
15115         * string/test-memrchr.c: New file.
15116         * string/test-memrchr-ifunc.c: New file.
15117         * string/Makefile: Add new memrchr testcase.
15118
15119 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15120
15121         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15122         fanotify_init returns EPERM.
15123
15124 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15125
15126         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15127         errors.
15128         (top level): Treat second token from macro or constant entries for
15129         allowed headers as allowed.
15130         * include/complex.h: Condition internal declarations on
15131         [!_ISOMAC].
15132         * include/fenv.h: Condition include of <stdbool.h> and internal
15133         declarations on [!_ISOMAC].
15134
15135 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15136
15137         [BZ #15923]
15138         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15139
15140 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15141
15142         * configure.in (--enable-versioning): Remove configure option.
15143         (libc_cv_asm_symver_directive): Remove configure test.
15144         (libc_cv_ld_version_script_option): Likewise.
15145         (VERSIONING): Remove variable and AC_SUBST.
15146         (DO_VERSIONING): Remove AC_DEFINE.
15147         * configure: Regenerated.
15148         * config.h.in (DO_VERSIONING): Remove macro.
15149         * Makerules [$(versioning) = yes]: Change conditionals to
15150         [$(build-shared) = yes].
15151         * config.make.in (versioning): Remove variable.
15152         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15153         [$(build-shared) = yes].
15154         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15155         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15156         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15157         [$(build-shared) = yes].
15158         * extra-lib.mk [$(versioning) = yes]: Likewise.
15159         * hurd/Makefile [$(versioning) = yes]: Likewise.
15160         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15161         [SHARED].
15162         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15163         [SHARED].
15164         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15165         [SHARED && !NO_HIDDEN].
15166         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15167         [SHARED].
15168         [SHARED && DO_VERSIONING]: Likewise..
15169         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15170         [$(build-shared) = yes].
15171         * manual/install.texi (--disable-versioning): Remove
15172         documentation.
15173         * INSTALL: Regenerated.
15174         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15175         to [SHARED].
15176         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15177         [$(build-shared) = yes].
15178         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15179         * sysdeps/i386/i686/multiarch/strstr-c.c
15180         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15181         [SHARED && !NO_HIDDEN].
15182         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15183         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15184         * sysdeps/powerpc/powerpc32/dl-machine.c
15185         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15186         * sysdeps/powerpc/powerpc32/sysdep.h
15187         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15188         to [SHARED && PIC && !NO_HIDDEN].
15189         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15190         conditional to [SHARED].
15191
15192 2013-09-04   Will Newton  <will.newton@linaro.org>
15193
15194         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15195         * benchtests/bench-string.h: Include bench-timing.h instead
15196         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15197         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15198         call to HP_TIMING_DIFF_INIT.
15199         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15200         instead of hp-timing.h macros.
15201         * benchtests/bench-memchr.c: Likewise.
15202         * benchtests/bench-memcmp.c: Likewise.
15203         * benchtests/bench-memcpy.c: Likewise.
15204         * benchtests/bench-memmem.c: Likewise.
15205         * benchtests/bench-memmove.c: Likewise.
15206         * benchtests/bench-memset.c: Likewise.
15207         * benchtests/bench-rawmemchr.c: Likewise.
15208         * benchtests/bench-strcasecmp.c: Likewise.
15209         * benchtests/bench-strcasestr.c: Likewise.
15210         * benchtests/bench-strcat.c: Likewise.
15211         * benchtests/bench-strchr.c: Likewise.
15212         * benchtests/bench-strcmp.c: Likewise.
15213         * benchtests/bench-strcpy.c: Likewise.
15214         * benchtests/bench-strcpy_chk.c: Likewise.
15215         * benchtests/bench-strlen.c: Likewise.
15216         * benchtests/bench-strncasecmp.c: Likewise.
15217         * benchtests/bench-strncat.c: Likewise.
15218         * benchtests/bench-strncmp.c: Likewise.
15219         * benchtests/bench-strncpy.c: Likewise.
15220         * benchtests/bench-strnlen.c: Likewise.
15221         * benchtests/bench-strpbrk.c: Likewise.
15222         * benchtests/bench-strrchr.c: Likewise.
15223         * benchtests/bench-strspn.c: Likewise.
15224         * benchtests/bench-strstr.c: Likewise.
15225
15226 2013-09-04  Will Newton  <will.newton@linaro.org>
15227
15228         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15229
15230 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15231
15232         [BZ #15427]
15233         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15234         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15235         * math/libm-test.inc (lgamma_test_data): Add more tests.
15236         * sysdeps/i386/fpu/libm-test-ulps: Update.
15237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15238
15239 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15240
15241         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15242         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15243         Add ifunc.
15244         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15245         Add strcmp-sse2-unaligned
15246         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15247
15248 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15249
15250         * Versions.def (libc): Add GLIBC_2.19.
15251
15252 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15253
15254         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15255         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15256
15257 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
15258
15259         [BZ #14155]
15260         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15261         intermediate calculations in recurrence.
15262         (__ieee754_ynf): Likewise.
15263         * math/libm-test.inc (jn_test_data): Do not allow spurious
15264         underflow exception.  Add more tests.
15265         (yn_test_data): Add more tests.
15266         * sysdeps/i386/fpu/libm-test-ulps: Update.
15267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15268
15269 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
15270
15271         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15272
15273 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15274
15275         * csu/init-first.c: Fix then/than typos.
15276         * locale/programs/ld-collate.c: Likewise.
15277         * locale/programs/linereader.h: Likewise.
15278         * manual/charset.texi: Likewise.
15279         * manual/filesys.texi: Likewise.
15280         * manual/stdio.texi: Likewise.
15281         * manual/string.texi: Likewise.
15282         * stdlib/fmtmsg.c: Likewise.
15283         * sysdeps/i386/stpncpy.S: Likewise.
15284         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15285         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15286         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15287         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15288
15289 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15290
15291         * elf/dl-open.c: Fix typos.
15292         * iconvdata/gbbig5.c: Likewise.
15293         * iconvdata/iso-2022-jp.c: Likewise.
15294         * iconv/gconv_int.h: Likewise.
15295         * iconv/loop.c: Likewise.
15296         * nis/rpcsvc/nis.h: Likewise.
15297         * resolv/ns_name.c: Likewise.
15298         * stdio-common/vfscanf.c: Likewise.
15299         * streams/stropts.h: Likewise.
15300         * sunrpc/rpc_thread.c: Likewise.
15301         * sysdeps/i386/strpbrk.S: Likewise.
15302         * sysdeps/ieee754/k_standard.c: Likewise.
15303         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15304         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15305         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15306         * sysdeps/mach/hurd/profil.c: Likewise.
15307         * sysdeps/s390/dl-procinfo.h: Likewise.
15308         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15309         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15310         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15311         * sysdeps/x86_64/dl-trampoline.S: Likewise.
15312         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15313
15314 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
15315
15316         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15317         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15318
15319 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
15320
15321         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15322         aix specific files.
15323         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15324         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15325         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15326         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15327         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15328         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15329         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15330         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15331
15332 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15333             Roland McGrath  <roland@hack.frob.com>
15334
15335         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15336         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15337
15338 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15339
15340         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15341         __executable_start symbol instead of _start.
15342
15343 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15344
15345         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15346         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15347         Move macros to...
15348         * sysdeps/gnu/ldsodefs.h: ... this new file.
15349
15350         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15351         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15352         instead of ELFOSABI_LINUX.
15353
15354         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15355         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15356         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15357         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15358         Likewise.
15359         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15360         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15361         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15362         Likewise.
15363         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15364         (ibm_extended_long_double): Add ieee_nan member.
15365         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15366         (do_test): New function.
15367
15368         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15369         TEST_TRUNC.
15370         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15371         functions, renamed from truncdfsf_test, trunctfsf_test,
15372         trunctfdf_test.
15373         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15374         functions.
15375         (do_test): Run all these.
15376
15377 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
15378
15379         * argp/argp-help.c: Fix typos.
15380         * argp/argp-parse.c: Likewise.
15381         * debug/backtracesyms.c: Likewise.
15382         * elf/elf.h: Likewise.
15383         * malloc/malloc.c: Likewise.
15384         * nis/nis_print.c: Likewise.
15385         * resolv/res_comp.c: Likewise.
15386         * stdlib/stdlib.h: Likewise.
15387         * sunrpc/clnt_tcp.c: Likewise.
15388         * sunrpc/clnt_udp.c: Likewise.
15389         * sunrpc/clnt_unix.c: Likewise.
15390         * sysdeps/unix/bsd/ptsname.c: Likewise.
15391         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15392         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15394         Likewise.
15395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15396         Likewise.
15397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15398         Likewise.
15399         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15400
15401 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15402
15403         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15405
15406 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
15407
15408         [BZ #15897]
15409         * dlfcn/Makefile (tests): Add bug-dl-leaf.
15410         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15411         ($(objpfx)bug-dl-leaf): New rule.
15412         ($(objpfx)bug-dl-leaf.so): Likewise.
15413         ($(objpfx)bug-dl-leaf.out): Likewise.
15414         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15415         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15416         * dlfcn/bug-dl-leaf.c: New test.
15417         * dlfcn/bug-dl-leaf-lib.c: Likewise.
15418         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15419         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15420         (dlclose): Likewise.
15421         (dlmopen): Likewise.
15422
15423 2013-08-27  Roland McGrath  <roland@hack.frob.com>
15424
15425         * include/netdb.h [!_ISOMAC]:
15426         Don't include <tls.h>.
15427         (h_errno, __libc_h_errno): Move declaration and macros out of
15428         [_LIBC_REENTRANT].
15429
15430         * include/resolv.h [_RESOLV_H_]:
15431         Don't include <tls.h>.
15432         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15433         * resolv/res_libc.c: Don't include <tls.h>.
15434         (_res): Use __attribute__ ((nocommon)) in place of
15435         __attribute__ ((section (".bss"))).
15436
15437         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15438         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15439
15440         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15441
15442         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15443         only under [SIOCGIFCONF && SIOCGIFNETMASK].
15444
15445         * resolv/res_mkquery.c: Include <sys/time.h>.
15446
15447         * inet/ifreq.c: Moved to ...
15448         * sysdeps/unix/ifreq.c: ... here.
15449         * inet/ifreq.c: New file, true stub version.
15450
15451         * socket/sa_len.c: New file.
15452         * socket/Makefile (aux): Add it.
15453         * sysdeps/unix/sysv/linux/Makefile
15454         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15455         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15456         and #include <socket/sa_len.c>.
15457         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15458         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15459
15460         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15461         * bits/socket.h: ... here.
15462
15463         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15464         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15465         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15466
15467 2013-08-27  Andreas Schwab  <schwab@suse.de>
15468
15469         [BZ #15736]
15470         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15471         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15472         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15473         * string/test-strcasecmp.c (test_main): Run tests in several
15474         locales.
15475         * string/test-strncasecmp.c (test_main): Likewise.
15476
15477         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15478         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15479         to __strcasecmp_nonascii and __strncasecmp_nonascii.
15480         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15481         (__strncasecmp_ssse3) [PIC]: Likewise.
15482
15483 2013-08-26  Roland McGrath  <roland@hack.frob.com>
15484
15485         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15486
15487         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15488         instead of explicitly declaring xdecrypt.
15489         * nis/nss_nis/nis-publickey.c: Likewise.
15490
15491 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15492
15493         [BZ #15890]
15494         * nscd/aicache.c: Include res_hconf.h.
15495         (addhstaiX): Initialize res_hconf.
15496
15497 2013-08-26  Andreas Schwab  <schwab@suse.de>
15498
15499         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15500         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15501
15502 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15503
15504         * nscd/aicache.c (addhstaiX): Fix indentation.
15505
15506 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
15507
15508         * configure.ac: Quote $build_pt_chown test.
15509         * configure: Regenerated.
15510
15511 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
15512
15513         [BZ #15532]
15514         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15515         * math/s_cexpf.c (__cexpf): Likewise.
15516         * math/s_cexpl.c (__cexpl): Likewise.
15517         * math/libm-test.inc (cexp_test_data): Correct expected return
15518         value for NaN + i0.  Add another test.
15519
15520 2013-08-22  David S. Miller  <davem@davemloft.net>
15521
15522         * po/ca.po: Update Catalan translation from translation project.
15523         * po/uk.po: Add Ukrainian translations from translation project.
15524
15525 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
15526
15527         [BZ #15797]
15528         * math/s_fdim.c (__fdim): Check for infinite arguments if result
15529         is infinite, not alongside NaN test.
15530         * math/s_fdimf.c (__fdimf): Likewise.
15531         * math/s_fdiml.c (__fdiml): Likewise.
15532         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
15533         errno is unchanged.
15534
15535 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
15536
15537         * argp/argp-help.c: Fix typos.
15538         * crypt/speeds.c: Likewise.
15539         * csu/check_fds.c: Likewise.
15540         * elf/dl-load.c: Likewise.
15541         * elf/dl-open.c: Likewise.
15542         * elf/reldep3.c: Likewise.
15543         * elf/reldep.c: Likewise.
15544         * elf/sprof.c: Likewise.
15545         * iconv/iconv_charmap.c: Likewise.
15546         * iconv/skeleton.c: Likewise.
15547         * iconv/strtab.c: Likewise.
15548         * io/lockf64.c: Likewise.
15549         * libio/libioP.h: Likewise.
15550         * resolv/gai_notify.c: Likewise.
15551         * resolv/ns_name.c: Likewise.
15552         * resolv/ns_samedomain.c: Likewise.
15553         * resolv/res_send.c: Likewise.
15554         * stdlib/random.c: Likewise.
15555         * sunrpc/rpc/xdr.h: Likewise.
15556         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15557         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15558         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15559         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15560         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15561         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15562         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15563         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15564         * sysdeps/mach/hurd/check_fds.c: Likewise.
15565         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15566         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15567         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15568         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15569         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15570         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15571         * sysdeps/pthread/aio_notify.c: Likewise.
15572         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15573         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15574         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15575         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15576         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15577
15578 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15579
15580         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15581         version if bit_Slow_SSE4_2 is set.
15582         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15583         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15584
15585 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15586
15587         [BZ #15867]
15588         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15589         trampoline stack frame information.
15590         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15591         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15592         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15593         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15594         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15595         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15596         (_libc_vdso_platform_setup): Initialize the signal trampolines.
15597         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15598         sa_flags value.
15599         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15600         interrupting a syscall and set with option SA_SIGINFO.
15601
15602 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15603
15604         [BZ #15531]
15605         * math/s_cproj.c (__cproj): Only return an infinity if one part of
15606         argument is infinite.
15607         * math/s_cprojf.c (__cprojf): Likewise.
15608         * math/s_cprojl.c (__cprojl): Likewise.
15609         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15610         * math/libm-test.inc (cproj_test_data): Add more tests.
15611
15612         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15613
15614         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15615         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15616         size.  Use __ffs to determine corresponding shift.
15617
15618 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15619             Roland McGrath  <roland@hack.frob.com>
15620
15621         * Makefile (INSTALL): Remove trailing blank lines from output of
15622         makeinfo.
15623
15624 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15625
15626         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15627         Align 32 bit compat elf_greg to 8 bytes.
15628
15629 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15630
15631         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15632
15633 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15634
15635         * string/strcoll_l.c (coll_seq): New structure.
15636         (get_next_seq_cached): New function.
15637         (get_next_seq): New function.
15638         (do_compare): New function.
15639         (STRCOLL): Use GNU style definition.  Simplify implementation
15640         by using get_next_seq, get_next_seq_cached and do_compare.
15641
15642 2013-08-16  Florian Weimer  <fweimer@redhat.com>
15643
15644         [BZ #14699]
15645         CVE-2013-4237
15646         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15647         member.
15648         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15649         member.
15650         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15651         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15652         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
15653         conditional.
15654         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15655         GETDENTS_64BIT_ALIGNED.
15656         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15657         * manual/filesys.texi (Reading/Closing Directory): Document
15658         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
15659         strongly.
15660         * manual/conf.texi (Limits for Files): Add portability note to
15661         NAME_MAX, PATH_MAX.
15662         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15663
15664 2013-08-13  Andreas Schwab  <schwab@suse.de>
15665
15666         [BZ #15749]
15667         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15668         of fabs.
15669         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15670         LDBL_MAX_EXP >= 16384]: Add tests for it.
15671
15672 2013-08-12  David S. Miller  <davem@davemloft.net>
15673
15674         * version.h (RELEASE): Set to "development".
15675         (VERSION): Set to "2.18.90".
15676         * NEWS: Add 2.19 section.
15677
15678 2013-08-03  David S. Miller  <davem@davemloft.net>
15679
15680         * po/ko.po: Update Korean translation from translation project.
15681
15682 2013-08-01  David S. Miller  <davem@davemloft.net>
15683
15684         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
15685         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15686         Bilka.
15687
15688 2013-07-30  David S. Miller  <davem@davemloft.net>
15689
15690         * po/fr.po: Update French translation from translation project.
15691
15692 2013-07-28  David S. Miller  <davem@davemloft.net>
15693
15694         * po/cs.po: Update Czech translation from translation project.
15695
15696         * po/sv.po: Update Swedish translation from translation project.
15697
15698 2013-07-27  David S. Miller  <davem@davemloft.net>
15699
15700         * po/eo.po: Update Esperanto translation from translation project.
15701
15702         * po/vi.po: Update Vietnamese translation from translation project.
15703
15704         * po/de.po: Update German translation from translation project.
15705
15706 2013-07-26  David S. Miller  <davem@davemloft.net>
15707
15708         * po/bg.po: Update Bulgarian translation from translation project.
15709
15710         * po/nl.po: Update Dutch translation from translation project.
15711         * po/pl.po: Update Polish translation from translation project.
15712         * po/ru.po: Update Russian translation from translation project.
15713
15714 2013-07-24  David S. Miller  <davem@davemloft.net>
15715
15716         * po/libc.pot: Update.
15717
15718 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15719
15720         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15721         variable page size.
15722         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15723         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15724         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15725
15726 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15727
15728         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15729
15730 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15731             Andreas Schwab  <schwab@suse.de>
15732             Roland McGrath  <roland@hack.frob.com>
15733             Joseph Myers  <joseph@codesourcery.com>
15734             Carlos O'Donell  <carlos@redhat.com>
15735
15736         [BZ #15755]
15737         * config.h.in: Define HAVE_PT_CHOWN.
15738         * config.make.in (build-pt-chown): New variable.
15739         * configure.in (--enable-pt_chown): New configure option.
15740         * configure: Regenerate.
15741         * login/Makefile: Include Makeconfig.  Build pt_chown only if
15742         build-pt-chown is enabled.
15743         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15744         pt_chown to fix pty ownership.
15745         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15746         CLOSE_ALL_FDS.
15747         * manual/install.texi (Configuring and compiling): Mention
15748         --enable-pt_chown. Add @findex for grantpt.
15749         * INSTALL: Regenerate.
15750
15751 2013-07-20  David S. Miller  <davem@davemloft.net>
15752
15753         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15754         difference between 32-bit and 64-bit.
15755
15756 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
15757
15758         [BZ #15711]
15759         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15760         Avoid system header dependency with -ffreestanding.
15761         ($(objpfx)bits/syscall%d): Likewise.
15762
15763 2013-07-13  David S. Miller  <davem@davemloft.net>
15764
15765         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15766         underflows from atanl/atan2l due to bug 15319.
15767         (casinh_test_data): Likewise.
15768
15769 2013-07-07  David S. Miller  <davem@davemloft.net>
15770
15771         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15772
15773 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
15774
15775         * sysdeps/i386/fpu/libm-test-ulps: Update.
15776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15777
15778 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15779
15780         * configure.in (--enable-lock-elision): Fix message text.
15781         * INSTALL: Regenerate.
15782         * configure: Regenerate.
15783
15784 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15785
15786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15787
15788 2013-07-03  Andreas Jaeger  <aj@suse.de>
15789
15790         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15791         define.
15792         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15793         (ptrace_peeksiginfo_args): Add.
15794         (__ptrace_peeksiginfo_flags): Add.
15795         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15796         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15797         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15798
15799 2013-07-03  Allan McRae  <allan@archlinux.org>
15800
15801         * sysdeps/i386/fpu/libm-test-ulps: Update.
15802
15803 2013-07-02  David S. Miller  <davem@davemloft.net>
15804
15805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15806
15807 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
15808
15809         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15810
15811 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15812
15813         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15815
15816 2013-07-02  Andi Kleen <ak@linux.intel.com>
15817
15818         * config.h.in (ENABLE_LOCK_ELISION): Add.
15819         * configure.in (--enable-lock-elision): Add option.
15820         * manual/install.texi: Document --enable lock elision.
15821         * configure: Regenerate
15822         * INSTALL: Regenerate.
15823
15824 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
15825
15826         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15827         SSE4.2 strcasecmp for libc.a.
15828         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15829
15830 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15831
15832         [BZ #13304]
15833         * soft-fp/op-common.h (_FP_FMA): New macro.
15834         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15835         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
15836         (_FP_MUL_MEAT_1_imm): ... here.
15837         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
15838         (_FP_MUL_MEAT_1_wide): ... here.
15839         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
15840         (_FP_MUL_MEAT_1_hard): ... here.
15841         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15842         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
15843         (_FP_MUL_MEAT_2_wide): ... here.
15844         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
15845         (_FP_MUL_MEAT_2_wide_3mul): ... here.
15846         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
15847         (_FP_MUL_MEAT_2_gmp): ... here.
15848         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15849         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
15850         (_FP_MUL_MEAT_4_wide): ... here.
15851         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
15852         (_FP_MUL_MEAT_4_gmp): ... here.
15853         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15854         (_FP_WFRACBITS_DW_S): Likewise.
15855         (_FP_WFRACXBITS_DW_S): Likewise.
15856         (_FP_HIGHBIT_DW_S): Likewise.
15857         (FP_FMA_S): Likewise.
15858         (_FP_FRAC_HIGH_DW_S): Likewise.
15859         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15860         (_FP_WFRACBITS_DW_D): Likewise.
15861         (_FP_WFRACXBITS_DW_D): Likewise.
15862         (_FP_HIGHBIT_DW_D): Likewise.
15863         (FP_FMA_D): Likewise.
15864         (_FP_FRAC_HIGH_DW_D): Likewise.
15865         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15866         (_FP_WFRACBITS_DW_E): Likewise.
15867         (_FP_WFRACXBITS_DW_E): Likewise.
15868         (_FP_HIGHBIT_DW_E): Likewise.
15869         (FP_FMA_E): Likewise.
15870         (_FP_FRAC_HIGH_DW_E): Likewise.
15871         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15872         (_FP_WFRACBITS_DW_Q): Likewise.
15873         (_FP_WFRACXBITS_DW_Q): Likewise.
15874         (_FP_HIGHBIT_DW_Q): Likewise.
15875         (FP_FMA_Q): Likewise.
15876         (_FP_FRAC_HIGH_DW_Q): Likewise.
15877         * soft-fp/fmasf4.c: New file.
15878         * soft-fp/fmadf4.c: Likewise.
15879         * soft-fp/fmatf4.c: Likewise.
15880
15881 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15882
15883         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15884         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15885         Silvermont.
15886         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15887         macro.
15888         (index_Slow_SSE4_2): Likewise.
15889         (index_Prefer_PMINUB_for_stringop): Likewise.
15890         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15891         bit_Slow_SSE4_2 is set.
15892         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15893         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15894
15895 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15896
15897         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15898         rtld_global._dl_hwcap2.
15899         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15900         POWER8.
15901         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15902         POWER8 feature descriptions defined in _dl_hwcap2.
15903         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15904         string handling for POWER8 feature bits.
15905         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15906         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15907         _dl_powerpc_cap_flags.
15908         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15909         * sysdeps/powerpc/rtld-global-offsets.sym
15910         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15911         _dl_hwcap2 in the rtld_global_ro structure.
15912
15913 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15914
15915         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15916         hardware capabilities in support of AT_HWCAP2.
15917         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15918         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15919         GLRO(dl_hwcap2).
15920         (_dl_show_auxv): Add support for calling _dl_procinfo to display
15921         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
15922         explicitly the unknown a_type display mechanism is used.
15923         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15924         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15925         struct member.
15926         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15927         to macro prototype for AT_HWCAP2 support.
15928         * sysdeps/i386/dl-procinfo.h: Likewise.
15929         * sysdeps/s390/dl-procinfo.h: Likewise.
15930         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15931         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
15932         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
15933         return -1 for unknown a_type display fallback.
15934         * sysdeps/sparc/dl-procinfo.h: Likewise.
15935         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15936         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15937
15938 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
15939
15940         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15941         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15942
15943 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
15944
15945         [BZ #12492]
15946         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15947         mprotect making __stack_prot writable.
15948
15949 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
15950             Joseph Myers  <joseph@codesourcery.com>
15951
15952         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15953         as being properly aligned.
15954
15955 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
15956
15957         * dlfcn/modstatic5.c: New file.
15958         * dlfcn/tststatic5.c: New file.
15959         * dlfcn/Makefile (tests): Add tststatic5.
15960         (tests-static): Likewise.
15961         (modules-names): Add modstatic5.
15962         (tststatic5-ENV): New variable.
15963         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15964
15965         [BZ #15022]
15966         * elf/dl-support.c (_dl_main_map): New variable.
15967         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15968         (_dl_nns, _dl_load_adds): Set to 1.
15969         (_dl_initial_searchlist): Refer to _dl_main_map.
15970         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15971         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15972         call to _dl_get_origin.
15973         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15974         around call_map.
15975         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15976         * dlfcn/modstatic3.c: New file.
15977         * dlfcn/tststatic3.c: New file.
15978         * dlfcn/tststatic4.c: New file.
15979         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15980         (tests-static): Likewise.
15981         (modules-names): Add modstatic3.
15982         (tststatic3-ENV, tststatic4-ENV): New variables.
15983         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15984         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15985
15986 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
15987
15988         * configure.in (CC): Require GCC version 4.4 or later.
15989         * configure: Regenerated.
15990         * manual/install.texi (Tools for Compilation): Update GCC version
15991         requirement.
15992         * INSTALL: Regenerated.
15993
15994 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15995
15996         [BZ #15674]
15997         * string/test-memcmp.c (check2): New.
15998         (main): Call check2.
15999
16000         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16001
16002 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16003
16004         [BZ #15022]
16005         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16006         over to...
16007         (dl_open_worker) [!SHARED]: ... here.
16008
16009 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16010
16011         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16012
16013 2013-06-25  Richard Henderson  <rth@redhat.com>
16014
16015         * locale/programs/locarchive.c: Include <libc-internal.h>
16016
16017 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16018
16019         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16020         trailing whitespace removed.
16021
16022 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16023
16024         [BZ #10283]
16025         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16026         * locale/programs/locarchive.c: Include libc-mmap.h.
16027         (prepare_address_space): Take two new outputs (the mmap base and len).
16028         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16029         values.
16030         (create_archive): Declare new mmap base and len values for
16031         prepare_address_space, and store the result in ah.
16032         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16033         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16034         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16035         Declare new mmap base and len values for
16036         prepare_address_space, and store the result in new_ah.
16037         (open_archive): Declare new mmap base and len values for
16038         prepare_address_space, and store the result in ah.
16039         (close_archive): If ah->mmap_base is not NULL, use that and
16040         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16041         * sysdeps/generic/libc-mmap.h: New file.
16042
16043 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16044
16045         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16046         (ALIGN_UP): Likewise.
16047         (PTR_ALIGN_DOWN): Likewise.
16048         (PTR_ALIGN_UP): Likewise.
16049
16050 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16051
16052         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16053         entry mapped to PPC_PLATFORM_POWER8.
16054         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16055         POWER8.
16056         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16057         (_dl_string_platform): Add case for exporting platform position for
16058         POWER8.
16059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16060         search path to sysdeps/powerpc/powerpc32/power8 directory.
16061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16062         search path to sysdeps/powerpc/powerpc64/power8 directory.
16063         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16064         power7 directories.
16065         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16066         power7 directories.
16067
16068 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16069
16070         * INSTALL: Regenerate.
16071
16072         * nscd/connections.c (nscd_init): Fix comment.
16073
16074 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16075
16076         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16077
16078         [BZ #15667]
16079         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16080         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16081
16082 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16083
16084         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16085         DL_DST_REQ_STATIC.
16086         (DL_DST_REQ_STATIC): Remove macro.
16087
16088 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16089
16090         [BZ #7006]
16091         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16092         with a shift of 0 bits.
16093
16094 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16095
16096         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16097         $(tststatic-ENV).
16098
16099 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16100
16101         [BZ #15655]
16102         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16103
16104 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16105
16106         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16107         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16108         accepts -fno-tree-loop-distribute-patterns.
16109         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16110         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16111         recursive call.
16112         * string/memset.c (memset): Likewise.
16113         * string/test-memmove.c (simple_memmove): Disable loop transformation
16114         to library calls.
16115         * string/test-memset.c (simple_memset): Likewise.
16116         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16117         * benchtests/bench-memset.c (simple_memset): Likewise.
16118         * configure: Regenerated.
16119
16120 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16121
16122         * math/test-misc.c (main): Ignore fesetround failure when failures
16123         of subsequent rounding tests would be ignored.
16124
16125         [BZ #15654]
16126         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16127         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16128         * math/fegetenv.c (__fegetenv): Return 0.
16129         * math/fegetexcept.c (fegetexcept): Return 0.
16130         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16131         FE_TONEAREST.
16132         * math/feholdexcpt.c (feholdexcept): Return 0.
16133         * math/fesetenv.c (__fesetenv): Return 0.
16134         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16135         argument FE_TONEAREST.
16136         * math/feupdateenv.c (__feupdateenv): Return 0.
16137         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16138
16139 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16140
16141         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16142         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16143         ($(objpfx)rtld-%.os rules): Use them.
16144
16145 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16146
16147         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16148         fields.
16149
16150 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16151
16152         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16153         length of target pattern, then descending length of dependency pattern.
16154         * configure.in (AWK): Require gawk 3.1.2 or newer.
16155         * manual/install.texi (Tools for Compilation): Say that we do.
16156         * configure: Regenerated.
16157
16158         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16159         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16160         * scripts/sysd-rules.awk: ... this new script.
16161         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16162         than a glob-style pattern.
16163
16164 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16165
16166         * math/test-misc.c (main): Do not treat incorrectly rounded
16167         conversions as failure unless ROUNDING_TESTS passes.
16168
16169 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16170
16171         [BZ #15631]
16172         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16173         restore exception state around main square root computation, then
16174         check for inexactness explicitly.
16175
16176         * math/libm-test.inc (fma_test_data): Add another test.
16177
16178 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16179
16180         * manual/threads.texi (Non-POSIX Extensions): New document
16181         node.  Document pthread_getattr_default_np and
16182         pthread_setattr_default_np.
16183
16184         * Versions.def (libpthread): Add GLIBC_2.18.
16185         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16187         Likewise.
16188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16189         Likewise.
16190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16191         Likewise.
16192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16193         Likewise.
16194         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16195         Likewise.
16196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16197         Likewise.
16198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16199         Likewise.
16200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16201         Likewise.
16202         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16203         Likewise.
16204
16205 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16206
16207         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16208         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16209
16210 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16211             H.J. Lu  <hjl.tools@gmail.com>
16212
16213         [BZ #15627]
16214         * sysdeps/x86_64/rtld-memset.c: Remove file.
16215         * sysdeps/x86_64/rtld-memset.S: New file.
16216
16217 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16218
16219         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16220         (test_in_one_mode): Take arguments for whether the rounding mode
16221         is supported for each floating-point type.
16222         (do_test): Pass new arguments to test_in_one_mode using
16223         ROUNDING_TESTS.
16224
16225 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16226
16227         * posix/tst-waitid.c (do_test): Distinguish different instances of
16228         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16229         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16230         before entering the kernel for waitpid.
16231
16232 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16233
16234         * NEWS: Fix note on clock function precision.  Text by Roland
16235         McGrath.
16236
16237 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16238
16239         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16240         it into place only when and if the sanity check passes.
16241
16242 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16243
16244         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16245         output for whether conversion result is exact.  Take argument
16246         indicating whether type is IBM long double.
16247         (round_for_all): Change need_exact field to ibm_ld.
16248         * stdlib/tst-strtod-round.c (struct exactness): New type.
16249         (struct test): Change bool ld_ok field to struct exactness exact.
16250         (TEST): Update all definitions for change to field.
16251         (tests): Regenerate array contents.
16252         (test_in_one_mode): Take pointer to new field instead of old ld_ok
16253         field value.  Check for IBM long double here.
16254         (do_test): Update calls to test_in_one_mode.
16255
16256 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16257
16258         [BZ #12515]
16259         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16260         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16261
16262 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16263
16264         [BZ #15605]
16265         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16266         generated by the compiler on loop optimizations.
16267         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16268         general definitions.
16269
16270 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
16271
16272         * math/bug-nextafter.c: Include <math-tests.h>.
16273         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16274         the relevant type.
16275         * math/bug-nexttoward.c: Include <math-tests.h>.
16276         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16277         the relevant type.
16278         * math/test-misc.c: Include <math-tests.h>.
16279         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16280         the relevant type.
16281
16282 2013-06-12  Andreas Jaeger  <aj@suse.de>
16283
16284         * po/ia.po: Update Interlingua translation from translation
16285         project.
16286
16287 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16288
16289         * include/fenv.h: Include stdbool.h.
16290         (struct rm_ctx): New structure.
16291         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16292         Define macro.
16293         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16294         (SET_RESTORE_ROUNDF): Likewise.
16295         (SET_RESTORE_ROUNDL): Likewise.
16296         (SET_RESTORE_ROUND_NOEX): Likewise.
16297         (SET_RESTORE_ROUND_NOEXF): Likewise.
16298         (SET_RESTORE_ROUND_NOEXL): Likewise.
16299         (SET_RESTORE_ROUND_53BIT): Likewise.
16300         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16301         (libc_feresetround_noexf_ctx): Likewise.
16302         (libc_feresetround_noexl_ctx): Likewise.
16303         (libc_feholdsetround_53bit_ctx): Likewise.
16304         (libc_feresetround_53bit_ctx): Likewise.
16305         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16306         (libc_feholdexcept_setround_sse_ctx): New function.
16307         (libc_fesetenv_sse_ctx): Likewise.
16308         (libc_feupdateenv_sse_ctx): Likewise.
16309         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16310         (libc_feholdexcept_setround_387_ctx): Likewise.
16311         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16312         (libc_feholdsetround_387_prec_ctx): Likewise.
16313         (libc_feholdsetround_387_ctx): Likewise.
16314         (libc_feholdsetround_387_53bit_ctx): Likewise.
16315         (libc_feholdsetround_sse_ctx): Likewise.
16316         (libc_feresetround_sse_ctx): Likewise.
16317         (libc_feresetround_387_ctx): Likewise.
16318         (libc_feupdateenv_387_ctx): Likewise.
16319         (libc_feholdexcept_setroundf_ctx): Define macro.
16320         (libc_fesetenvf_ctx): Likewise.
16321         (libc_feupdateenvf_ctx): Likewise.
16322         (libc_feholdsetroundf_ctx): Likewise.
16323         (libc_feresetroundf_ctx): Likewise.
16324         (libc_feholdexcept_setround_ctx): Likewise.
16325         (libc_fesetenv_ctx): Likewise.
16326         (libc_feupdateenv_ctx): Likewise.
16327         (libc_feholdsetround_ctx): Likewise.
16328         (libc_feresetround_ctx): Likewise.
16329         (libc_feholdexcept_setroundl_ctx): Likewise.
16330         (libc_feupdateenvl_ctx): Likewise.
16331         (libc_feholdsetroundl_ctx): Likewise.
16332         (libc_feresetroundl_ctx): Likewise.
16333         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16334         (libc_feresetround_53bit_ctx): Likewise.
16335
16336 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16337
16338         * locale/iso-639.def: Convert to UTF-8.
16339
16340 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
16341
16342         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16343         (EXCEPTION_TESTS_double): Likewise.
16344         (EXCEPTION_TESTS_long_double): Likewise.
16345         (EXCEPTION_TESTS): Likewise.
16346         * math/libm-test.inc (test_exceptions): Only test exceptions if
16347         EXCEPTION_TESTS (FLOAT).
16348
16349 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16350
16351         * benchtests/Makefile (string-bench): Add strcpy_chk and
16352         stpcpy_chk.
16353         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16354         * benchtests/bench-stpcpy_chk.c: New file.
16355         * benchtests/bench-strcpy_chk-ifunc.c: New file.
16356         * benchtests/bench-strcpy_chk.c: New file.
16357         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16358         code.
16359         (do_test): Likewise.
16360
16361 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16362
16363         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16364         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16365         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16366         with tabs where appropriate.
16367         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16368         dl-procinfo.h.
16369         [PPC_PLATFORM_PPC440]: Likewise.
16370         [PPC_PLATFORM_PPC464]: Likewise.
16371         [PPC_PLATFORM_PPC476]: Likewise.
16372         (_dl_string_platform): Add support for detecting ppc405, ppc440,
16373         ppc464, and ppc476 platform strings merging from ports/
16374         dl-procinfo.h.
16375
16376 2013-06-11  Andreas Schwab  <schwab@suse.de>
16377
16378         [BZ #14991]
16379         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16380         (from_ucs4_idx): Regenerate.
16381         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16382         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16383         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16384         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16385         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16386         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16387         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16388         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16389         from FROM_LOOP and TO_LOOP specific macros.
16390         (BODY): Handle combining characters.
16391         * iconvdata/BIG5HKSCS.irreversible: Update.
16392         * iconvdata/BIG5HKSCS.precomposed: New file.
16393         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16394         characters.
16395         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16396
16397 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16398
16399         * include/sys/time.h: Fix indentation and add copyright header.
16400
16401         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16402         (do_test): Likewise.
16403         * string/test-memchr.c (do_one_test): Likewise.
16404         (do_test): Likewise.
16405         * string/test-memcmp.c (do_one_test): Likewise.
16406         (do_test): Likewise.
16407         * string/test-memcpy.c (do_one_test): Likewise.
16408         (do_test): Likewise.
16409         * string/test-memmem.c (do_one_test): Likewise.
16410         (do_test): Likewise.
16411         (do_random_tests): Likewise.
16412         * string/test-memmove.c (do_one_test): Likewise.
16413         (do_test): Likewise.
16414         * string/test-memset.c (do_one_test): Likewise.
16415         (do_test): Likewise.
16416         * string/test-rawmemchr.c (do_one_test): Likewise.
16417         (do_test): Likewise.
16418         * string/test-strcasecmp.c (do_one_test): Likewise.
16419         (do_test): Likewise.
16420         * string/test-strcasestr.c (do_one_test): Likewise.
16421         (do_test): Likewise.
16422         * string/test-strcat.c (do_one_test): Likewise.
16423         (do_test): Likewise.
16424         * string/test-strchr.c (do_one_test): Likewise.
16425         (do_test): Likewise.
16426         * string/test-strcmp.c (do_one_test): Likewise.
16427         (do_test): Likewise.
16428         * string/test-strcpy.c (do_one_test): Likewise.
16429         (do_test): Likewise.
16430         * string/test-string.h: Likewise.
16431         (test_init): Likewise.
16432         * string/test-strlen.c (do_one_test): Likewise.
16433         (do_test): Likewise.
16434         * string/test-strncasecmp.c (do_one_test): Likewise.
16435         (do_test): Likewise.
16436         * string/test-strncat.c (do_one_test): Likewise.
16437         (do_test): Likewise.
16438         * string/test-strncmp.c (do_one_test): Likewise.
16439         (do_test_limit): Likewise.
16440         (do_test): Likewise.
16441         * string/test-strncpy.c (do_one_test): Likewise.
16442         (do_test): Likewise.
16443         * string/test-strnlen.c (do_one_test): Likewise.
16444         (do_test): Likewise.
16445         * string/test-strpbrk.c (do_one_test): Likewise.
16446         (do_test): Likewise.
16447         * string/test-strrchr.c (do_one_test): Likewise.
16448         (do_test): Likewise.
16449         * string/test-strspn.c (do_one_test): Likewise.
16450         (do_test): Likewise.
16451         * string/test-strstr.c (do_one_test): Likewise.
16452         (do_test): Likewise.
16453
16454         * benchtests/Makefile (string-bench): Add string benchmarks.
16455         * benchtests/bench-bcopy-ifunc.c: New file.
16456         * benchtests/bench-bcopy.c: New file.
16457         * benchtests/bench-bzero-ifunc.c: New file.
16458         * benchtests/bench-bzero.c: New file.
16459         * benchtests/bench-memccpy-ifunc.c: New file.
16460         * benchtests/bench-memccpy.c: New file.
16461         * benchtests/bench-memchr-ifunc.c: New file.
16462         * benchtests/bench-memchr.c: New file.
16463         * benchtests/bench-memcmp-ifunc.c: New file.
16464         * benchtests/bench-memcmp.c: New file.
16465         * benchtests/bench-memmem-ifunc.c: New file.
16466         * benchtests/bench-memmem.c: New file.
16467         * benchtests/bench-memmove-ifunc.c: New file.
16468         * benchtests/bench-memmove.c: New file.
16469         * benchtests/bench-mempcpy-ifunc.c: New file.
16470         * benchtests/bench-mempcpy.c: New file.
16471         * benchtests/bench-memset-ifunc.c: New file.
16472         * benchtests/bench-memset.c: New file.
16473         * benchtests/bench-rawmemchr-ifunc.c: New file.
16474         * benchtests/bench-rawmemchr.c: New file.
16475         * benchtests/bench-stpcpy-ifunc.c: New file.
16476         * benchtests/bench-stpcpy.c: New file.
16477         * benchtests/bench-stpncpy-ifunc.c: New file.
16478         * benchtests/bench-stpncpy.c: New file.
16479         * benchtests/bench-strcasecmp-ifunc.c: New file.
16480         * benchtests/bench-strcasecmp.c: New file.
16481         * benchtests/bench-strcasestr-ifunc.c: New file.
16482         * benchtests/bench-strcasestr.c: New file.
16483         * benchtests/bench-strcat-ifunc.c: New file.
16484         * benchtests/bench-strcat.c: New file.
16485         * benchtests/bench-strchr-ifunc.c: New file.
16486         * benchtests/bench-strchr.c: New file.
16487         * benchtests/bench-strchrnul-ifunc.c: New file.
16488         * benchtests/bench-strchrnul.c: New file.
16489         * benchtests/bench-strcmp-ifunc.c: New file.
16490         * benchtests/bench-strcmp.c: New file.
16491         * benchtests/bench-strcpy-ifunc.c: New file.
16492         * benchtests/bench-strcpy.c: New file.
16493         * benchtests/bench-strcspn-ifunc.c: New file.
16494         * benchtests/bench-strcspn.c: New file.
16495         * benchtests/bench-strlen-ifunc.c: New file.
16496         * benchtests/bench-strlen.c: New file.
16497         * benchtests/bench-strncasecmp-ifunc.c: New file.
16498         * benchtests/bench-strncasecmp.c: New file.
16499         * benchtests/bench-strncat-ifunc.c: New file.
16500         * benchtests/bench-strncat.c: New file.
16501         * benchtests/bench-strncmp-ifunc.c: New file.
16502         * benchtests/bench-strncmp.c: New file.
16503         * benchtests/bench-strncpy-ifunc.c: New file.
16504         * benchtests/bench-strncpy.c: New file.
16505         * benchtests/bench-strnlen-ifunc.c: New file.
16506         * benchtests/bench-strnlen.c: New file.
16507         * benchtests/bench-strpbrk-ifunc.c: New file.
16508         * benchtests/bench-strpbrk.c: New file.
16509         * benchtests/bench-strrchr-ifunc.c: New file.
16510         * benchtests/bench-strrchr.c: New file.
16511         * benchtests/bench-strspn-ifunc.c: New file.
16512         * benchtests/bench-strspn.c: New file.
16513         * benchtests/bench-strstr-ifunc.c: New file.
16514         * benchtests/bench-strstr.c: New file.
16515
16516         * benchtests/Makefile: Disable parallel execution of targets.
16517         (string-bench): Add memcpy.
16518         (benchset): New variable to store a list of benchmark sets.
16519         (bench-func): Renamed from bench.
16520         (bench-set): New target.
16521         (bench): Depend on bench-func and bench-set.
16522         * benchtests/README: Add section on benchmark sets.
16523         * benchtests/bench-memcpy-ifunc.c: New file.
16524         * benchtests/bench-memcpy.c: New file.
16525         * benchtests/bench-string.h: New file.
16526
16527 2013-06-11  Andreas Schwab  <schwab@suse.de>
16528
16529         [BZ #15577]
16530         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16531         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16532         values in the triple.
16533         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16534         terminator in the group key.
16535
16536 2013-06-11  Andreas Jaeger  <aj@suse.de>
16537
16538         * po/zh_TW.po: Update Chinese (traditional) translation from
16539         translation project.
16540
16541 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16542
16543         * include/time.h (__clock_gettime): Add libc_hidden_proto.
16544         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16545         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
16546         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16547         (clock_getcpuclockid): Likewise.
16548         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16549         Add weak_alias and libc_hidden_def.
16550         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16551         * rt/clock_gettime.c (clock_gettime): Rename to
16552         __clock_gettime.  Add weak_alias and libc_hidden_def.
16553         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16554         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16555         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
16556         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16557         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16558         Likewise.
16559         * rt/clock_settime.c (clock_settime): Rename to
16560         __clock_settime.  Add weak_alias and libc_hidden_def.
16561         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16562
16563 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
16564
16565         * mach/err_boot.sub: Remove trailing whitespace.
16566         * mach/err_ipc.sub: Likewise.
16567         * mach/err_mach.sub: Likewise.
16568
16569         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16570         (ROUNDING_TESTS_double): Likewise.
16571         (ROUNDING_TESTS_long_double): Likewise.
16572         (ROUNDING_TESTS): Likewise.
16573         * math/libm-test.inc: Include <math-tests.h>.
16574         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16575         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16576         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16577         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16578
16579 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16580
16581         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16582         of assigning.
16583
16584 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
16585
16586         * sysdeps/gnu/errlist.awk: Do not generate space at end of
16587         otherwise empty TRANS lines.
16588         * sysdeps/gnu/errlist.c: Regenerated.
16589
16590         * catgets/gencat.c (error_print): Use (void) in function
16591         definition.
16592         * crypt/crypt_util.c (__init_des): Likewise.
16593         * crypt/speeds.c (Stop): Likewise.
16594         (main): Likewise.
16595         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16596         * inet/ruserpass.c (token): Likewise.
16597         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16598         * intl/localealias.c (extend_alias_table): Likewise.
16599         * intl/plural-exp.c (init_germanic_plural): Likewise.
16600         * libio/fcloseall.c (__fcloseall): Likewise.
16601         * libio/genops.c (_IO_flush_all): Likewise.
16602         (_IO_flush_all_linebuffered): Likewise.
16603         (_IO_cleanup): Likewise.
16604         (_IO_iter_begin): Likewise.
16605         (_IO_iter_end): Likewise.
16606         (_IO_list_lock): Likewise.
16607         (_IO_list_unlock): Likewise.
16608         (_IO_list_resetlock): Likewise.
16609         * libio/getchar.c (getchar): Likewise.
16610         * libio/getchar_u.c (getchar_unlocked): Likewise.
16611         * libio/getwchar.c (getwchar): Likewise.
16612         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16613         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16614         * login/getpt.c (__getpt): Likewise.
16615         * login/tst-utmp.c (main): Likewise.
16616         * malloc/hooks.c (__malloc_check_init): Likewise.
16617         * malloc/malloc.c (__malloc_stats): Likewise.
16618         * malloc/mtrace.c (tr_break): Likewise.
16619         (mtrace): Likewise.
16620         (muntrace): Likewise.
16621         * misc/fstab.c (endfsent): Likewise.
16622         * misc/getclktck.c (__getclktck): Likewise.
16623         * misc/getdtsz.c (__getdtablesize): Likewise.
16624         * misc/gethostid.c (gethostid): Likewise.
16625         * misc/getpagesize.c (__getpagesize): Likewise.
16626         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16627         (__get_nprocs): Likewise.
16628         (__get_phys_pages): Likewise.
16629         (__get_avphys_pages): Likewise.
16630         * misc/getttyent.c (getttyent): Likewise.
16631         (setttyent): Likewise.
16632         (endttyent): Likewise.
16633         * misc/getusershell.c (getusershell): Likewise.
16634         (endusershell): Likewise.
16635         (setusershell): Likewise.
16636         (initshells): Likewise.
16637         * misc/hsearch.c (__hdestroy): Likewise.
16638         * misc/sync.c (sync): Likewise.
16639         * misc/syslog.c (closelog_internal): Likewise.
16640         (closelog): Likewise.
16641         * misc/ttyslot.c (ttyslot): Likewise.
16642         * misc/vhangup.c (vhangup): Likewise.
16643         * posix/fork.c (__fork): Likewise.
16644         * posix/getegid.c (__getegid): Likewise.
16645         * posix/geteuid.c (__geteuid): Likewise.
16646         * posix/getgid.c (__getgid): Likewise.
16647         * posix/getpid.c (__getpid): Likewise.
16648         * posix/getppid.c (__getppid): Likewise.
16649         * posix/getuid.c (__getuid): Likewise.
16650         * posix/pause.c (pause): Likewise.
16651         * posix/setpgrp.c (setpgrp): Likewise.
16652         * posix/setsid.c (__setsid): Likewise.
16653         * posix/test-vfork.c (noop): Likewise.
16654         * resolv/gethnamaddr.c (_endhtent): Likewise.
16655         (_gethtent): Likewise.
16656         (ht_endhostent): Likewise.
16657         (gethostent): Likewise.
16658         (dns_service): Likewise.
16659         * stdlib/drand48.c (drand48): Likewise.
16660         * stdlib/lrand48.c (lrand48): Likewise.
16661         * stdlib/mrand48.c (mrand48): Likewise.
16662         * stdlib/rand.c (rand): Likewise.
16663         * stdlib/random.c (__random): Likewise.
16664         * stdlib/setenv.c (clearenv): Likewise.
16665         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16666         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16667         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16668         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16669         (__get_nprocs): Likewise.
16670         (__get_phys_pages): Likewise.
16671         (__get_avphys_pages): Likewise.
16672         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16673         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16674         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16675         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16676         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16677         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16678         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16679         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16680         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16681         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16682         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16683         * sysdeps/mach/hurd/sync.c (sync): Likewise.
16684         * sysdeps/posix/clock.c (clock): Likewise.
16685         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16686         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16687         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16688         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16689         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16690         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16691         (__get_nprocs_conf): Likewise.
16692         (__get_phys_pages): Likewise.
16693         (__get_avphys_pages): Likewise.
16694         * time/clock.c (clock): Likewise.
16695         * time/tzset.c (__tzname_max): Likewise.
16696
16697 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
16698
16699         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16700         (__bswap_32): Do not use "register".
16701         * crypt/crypt.c (_ufc_doit_r): Likewise.
16702         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16703         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16704         * gmon/gmon.c (__monstartup): Likewise.
16705         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16706         * hurd/hurdmalloc.c (more_memory): Likewise.
16707         (malloc): Likewise.
16708         (free): Likewise.
16709         (realloc): Likewise.
16710         (malloc_fork_prepare): Likewise.
16711         (malloc_fork_parent): Likewise.
16712         (malloc_fork_child): Likewise.
16713         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16714         (_svcauth_des): Likewise.
16715         * inet/inet_lnaof.c (inet_lnaof): Likewise.
16716         * inet/inet_net.c (inet_network): Likewise.
16717         * inet/inet_netof.c (inet_netof): Likewise.
16718         * inet/rcmd.c (__validuser2_sa): Likewise.
16719         * io/fts.c (fts_open): Likewise.
16720         (fts_load): Likewise.
16721         (fts_close): Likewise.
16722         (fts_read): Likewise.
16723         (fts_children): Likewise.
16724         (fts_build): Likewise.
16725         (fts_stat): Likewise.
16726         (fts_sort): Likewise.
16727         (fts_alloc): Likewise.
16728         (fts_lfree): Likewise.
16729         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16730         (_IO_file_xsgetn): Likewise.
16731         (_IO_file_xsgetn_mmap): Likewise.
16732         * libio/iofopncook.c (_IO_cookie_read): Likewise.
16733         (_IO_cookie_write): Likewise.
16734         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16735         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16736         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16737         * malloc/obstack.c (_obstack_begin): Likewise.
16738         (_obstack_begin_1): Likewise.
16739         (_obstack_newchunk): Likewise.
16740         (_obstack_allocated_p): Likewise.
16741         (obstack_free): Likewise.
16742         (_obstack_memory_used): Likewise.
16743         * misc/getttyent.c (getttynam): Likewise.
16744         (getttyent): Likewise.
16745         (skip): Likewise.
16746         (value): Likewise.
16747         * misc/getusershell.c (initshells): Likewise.
16748         * misc/syslog.c (__vsyslog_chk): Likewise.
16749         * misc/ttyslot.c (ttyslot): Likewise.
16750         * nis/nis_hash.c (__nis_hash): Likewise.
16751         * posix/fnmatch_loop.c (FCT): Likewise.
16752         * posix/getconf.c (print_all): Likewise.
16753         (main): Likewise.
16754         * posix/getopt.c (exchange): Likewise.
16755         * posix/glob.c (globfree): Likewise.
16756         (prefix_array): Likewise.
16757         (__glob_pattern_type): Likewise.
16758         * resolv/arpa/nameser.h (NS_GET16): Likewise.
16759         (NS_GET32): Likewise.
16760         (NS_PUT16): Likewise.
16761         (NS_PUT32): Likewise.
16762         * resolv/gethnamaddr.c (getanswer): Likewise.
16763         (gethostbyname2): Likewise.
16764         (gethostbyaddr): Likewise.
16765         (_gethtent): Likewise.
16766         (_gethtbyname2): Likewise.
16767         (_gethtbyaddr): Likewise.
16768         * resolv/ns_print.c (dst_s_get_int16): Likewise.
16769         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16770         * resolv/res_init.c (__res_vinit): Likewise.
16771         (net_mask): Likewise.
16772         * resolv/res_mkquery.c (outchar): Likewise.
16773         (PRINT): Likewise.
16774         * stdio-common/printf_fp.c (outchar): Likewise.
16775         (PRINT): Likewise.
16776         * stdio-common/printf_fphex.c (outchar): Likewise.
16777         (PRINT): Likewise.
16778         * stdio-common/printf_size.c (outchar): Likewise.
16779         (PRINT): Likewise.
16780         * stdio-common/test_rdwr.c (main): Likewise.
16781         * stdio-common/tfformat.c (matches): Likewise.
16782         * stdio-common/vfprintf.c (outchar): Likewise.
16783         (printf_unknown): Likewise.
16784         (buffered_vfprintf): Likewise.
16785         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16786         * stdio-common/xbug.c (AppendToBuffer): Likewise.
16787         (ReadFile): Likewise.
16788         * stdlib/qsort.c (SWAP): Likewise.
16789         (_quicksort): Likewise.
16790         * stdlib/setenv.c (__add_to_environ): Likewise.
16791         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16792         * stdlib/strtol_l.c (__strtol_l): Likewise.
16793         * stdlib/tst-strtod.c (main): Likewise.
16794         * stdlib/tst-strtol.c (main): Likewise.
16795         * stdlib/tst-strtoll.c (main): Likewise.
16796         * string/bits/string2.h (__strcmp_cc): Likewise.
16797         (__strcmp_cg): Likewise.
16798         (__strcspn_c1): Likewise.
16799         (__strcspn_c2): Likewise.
16800         (__strcspn_c3): Likewise.
16801         (__strspn_c1): Likewise.
16802         (__strspn_c2): Likewise.
16803         (__strspn_c3): Likewise.
16804         (__strsep_1c): Likewise.
16805         (__strsep_2c): Likewise.
16806         (__strsep_3c): Likewise.
16807         * string/memccpy.c (__memccpy): Likewise.
16808         * string/stpcpy.c (__stpcpy): Likewise.
16809         * string/strcmp.c (strcmp): Likewise.
16810         * string/strrchr.c (strrchr): Likewise.
16811         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16812         Likewise.
16813         * sysdeps/mach/hurd/getcwd.c
16814         (_hurd_canonicalize_directory_name_internal): Likewise.
16815         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16816         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16817         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16818         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16819         Likewise, in both definitions.
16820         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16821         definitions.
16822         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16823         64] (__bswap_64): Likewise.
16824         * time/test_time.c (main): Likewise.
16825         * time/tzfile.c (__tzfile_read): Likewise.
16826         (__tzfile_compute): Likewise.
16827         * time/tzset.c (__tzset_parse_tz): Likewise.
16828         (tzset_internal): Likewise.
16829         (compute_change): Likewise.
16830         * wcsmbs/wcscat.c (__wcscat): Likewise.
16831         * wcsmbs/wcschr.c (wcschr): Likewise.
16832         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16833         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16834         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16835         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16836         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16837         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16838         * wcsmbs/wmemchr.c (wmemchr): Likewise.
16839         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16840         * wcsmbs/wmemset.c (wmemset): Likewise.
16841
16842 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
16843
16844         * scripts/config.guess: Update to version 2013-05-16.
16845         * scripts/config.sub: Update to version 2013-04-24.
16846         * scripts/install-sh: Update to version 2011-11-20.07.
16847         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16848         * scripts/move-if-change: Update to version 2012-01-06 07:23.
16849
16850 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
16851
16852         * debug/fgetws_u_chk.c: Fix leading whitespaces.
16853         * elf/sln.c: Likewise.
16854         * hurd/hurd/ioctl.h: Likewise.
16855         * hurd/hurdmalloc.c: Likewise.
16856         * hurd/xattr.c: Likewise.
16857         * include/shlib-compat.h: Likewise.
16858         * inet/ruserpass.c: Likewise.
16859         * libio/iofgets_u.c: Likewise.
16860         * libio/iofgetws_u.c: Likewise.
16861         * locale/programs/ld-identification.c: Likewise.
16862         * locale/programs/ld-time.c: Likewise.
16863         * mach/msg-destroy.c: Likewise.
16864         * nss/nss_files/files-netgrp.c: Likewise.
16865         * resolv/res_data.c: Likewise.
16866         * soft-fp/op-1.h: Likewise.
16867         * soft-fp/op-2.h: Likewise.
16868         * soft-fp/op-4.h: Likewise.
16869         * soft-fp/op-common.h: Likewise.
16870         * stdio-common/printf_fphex.c: Likewise.
16871         * stdlib/strtod_l.c: Likewise.
16872         * sunrpc/rpc/clnt.h: Likewise.
16873         * sysdeps/generic/framestate.c: Likewise.
16874         * sysdeps/i386/bsd-_setjmp.S: Likewise.
16875         * sysdeps/i386/bsd-setjmp.S: Likewise.
16876         * sysdeps/i386/__longjmp.S: Likewise.
16877         * sysdeps/i386/setjmp.S: Likewise.
16878         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16879         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16880         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16881         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16882         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16883         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16884         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16885         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16886         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16887         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16888         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16889         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16890         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16891         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16892         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16893         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16894         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16895         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16896         * sysdeps/ieee754/support.c: Likewise.
16897         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16898         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16899         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16900         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16901         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16902         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16903         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16904         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16905         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16906         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16907         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16908         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16909         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16910         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16911         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16912         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16913         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16915
16916 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
16917
16918         * posix/transbug.c: Remove executable mode.
16919
16920 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
16921
16922         * crypt/speeds.c: Remove trailing whitespace.
16923         * dlfcn/default.c: Likewise.
16924         * elf/ifuncdep2.c: Likewise.
16925         * elf/ifuncmain1.c: Likewise.
16926         * elf/ifuncmain1vis.c: Likewise.
16927         * elf/testobj.h: Likewise.
16928         * elf/tst-stackguard1.c: Likewise.
16929         * gmon/sys/gmon.h: Likewise.
16930         * hurd/hurdmsg.c: Likewise.
16931         * hurd/new-fd.c: Likewise.
16932         * hurd/ports-get.c: Likewise.
16933         * iconvdata/ibm1008_420.c: Likewise.
16934         * inet/tst-getni1.c: Likewise.
16935         * inet/tst-getni2.c: Likewise.
16936         * libio/ioungetc.c: Likewise.
16937         * libio/wfiledoalloc.c: Likewise.
16938         * manual/libm-err-tab.pl: Likewise.
16939         * math/w_dremf.c: Likewise.
16940         * misc/ftruncate.c: Likewise.
16941         * posix/bug-glob2.c: Likewise.
16942         * posix/tst-pcre.c: Likewise.
16943         * posix/wait4.c: Likewise.
16944         * resolv/README: Likewise.
16945         * resolv/res_debug.h: Likewise.
16946         * resolv/tst-inet_ntop.c: Likewise.
16947         * setjmp/bug269-setjmp.c: Likewise.
16948         * soft-fp/extended.h: Likewise.
16949         * soft-fp/op-1.h: Likewise.
16950         * soft-fp/op-2.h: Likewise.
16951         * soft-fp/op-4.h: Likewise.
16952         * soft-fp/op-8.h: Likewise.
16953         * soft-fp/testit.c: Likewise.
16954         * stdio-common/bug16.c: Likewise.
16955         * stdlib/random.c: Likewise.
16956         * sunrpc/rpcsvc/rquota.x: Likewise.
16957         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16958         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16959         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16960         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16961         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16962         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16963         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16964         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16965         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16966         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16967         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16968         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16969         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16970         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16971         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16972         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16973         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16974         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16975         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16976         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16977         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16978         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16979         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16980         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16981         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16982         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16983         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16984         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16985         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16986         * sysdeps/ieee754/s_lib_version.c: Likewise.
16987         * sysdeps/mach/hurd/check_fds.c: Likewise.
16988         * sysdeps/mach/hurd/getsockname.c: Likewise.
16989         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16990         * sysdeps/mach/hurd/recvfrom.c: Likewise.
16991         * sysdeps/powerpc/bits/link.h: Likewise.
16992         * sysdeps/powerpc/dl-procinfo.c: Likewise.
16993         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16994         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16995         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16996         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16997         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16998         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16999         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17000         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17001         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17002         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17003         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17004         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17005         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17006         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17007         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17008         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17009         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17010         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17011         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17012         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17013         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17014         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17015         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17016         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17017         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17018         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17019         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17020         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17021         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17022         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17023         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17024         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17025         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17026         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17027         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17028         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17029         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17030         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17031         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17032         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17033         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17034         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17035         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17036         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17037         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17038         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17039         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17040         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17041         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17042         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17043         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17044         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17045         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17046         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17047         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17048         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17049         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17050         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17051         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17052         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17053         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17054         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17055         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17056         * sysdeps/powerpc/sysdep.h: Likewise.
17057         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17058         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17059         * sysdeps/sh/dl-trampoline.S: Likewise.
17060         * sysdeps/sh/memset.S: Likewise.
17061         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17062         * sysdeps/sh/strlen.S: Likewise.
17063         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17064         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17065         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17066         * sysdeps/sparc/sparc32/rem.S: Likewise.
17067         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17068         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17069         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17070         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17071         * sysdeps/sparc/sparc32/urem.S: Likewise.
17072         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17073         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17074         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17075         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17076         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17077         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17078         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17079         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17080         * sysdeps/unix/bsd/times.c: Likewise.
17081         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17082         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17086         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17087         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17088         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17089         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17090         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17091         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17092         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17093         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17094         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17095         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17096         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17097         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17098         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17099         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17100         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17101         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17102         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17103         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17104         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17105         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17106         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17107         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17108         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17109         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17110         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17111         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17112         * sysdeps/x86_64/strcspn.S: Likewise.
17113
17114 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17115
17116         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17117         generated file.  Regenerate properly from gen-translit.pl.
17118         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17119         locale/C-translit.h.
17120
17121 2013-06-05  Andreas Schwab  <schwab@suse.de>
17122
17123         [BZ #15100]
17124         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17125         week as 6 instead of -1.
17126         * time/tst-strptime.c (day_tests): Add test case.
17127
17128 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17129
17130         * sysdeps/generic/math_private.h
17131         (libc_feholdexcept_setround_53bit): Replace with
17132         libc_feholdsetround_53bit.
17133         (libc_feupdateenv_53bit): Replace with
17134         libc_feresetround_53bit.
17135         (SET_RESTORE_ROUND_53BIT): Adjust.
17136
17137 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17138
17139         * string/test-strchrnul.c: Add copyright header.
17140
17141         * posix/tst-getaddrinfo4.c: Increase test timeout.
17142
17143 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17144
17145         [BZ #15536]
17146         * math/libm-test.inc (MAX_EXP): Remove
17147         (MIN_EXP): Define.
17148         (ulp): Use MIN_EXP - MANT_DIG.
17149         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17150
17151 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17152
17153         * po/be.po: Revert last change.
17154         * po/zh_CN.po: Likewise.
17155         * po/header.pot: Likewise.
17156
17157 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17158
17159         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17160         link-libc-deps to empty as target-specific variable.
17161         * Makerules (link-libc-args): New variable.
17162         (libc-for-link): Likewise.
17163         (link-libc-deps): Likewise.
17164         (lib%.so): Depend on $(link-libc-deps).  Link with
17165         $(link-libc-args).
17166         (build-module): Link with $(link-libc-args).
17167         (build-module-asneeded): Likewise.
17168         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17169         list of objects.
17170         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17171         target-specific variable.
17172         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17173         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17174         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17175         libc.
17176         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17177         libc and ld.so.
17178         ($(objpfx)libpcprofile.so): Likewise.
17179         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17180         libc_nonshared.a.
17181         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17182         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17183         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17184         $(link-libc-deps).
17185         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17186         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17187         * login/Makefile ($(objpfx)libutil.so): Likewise.
17188         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17189         * math/Makefile ($(objpfx)libm.so): Likewise.
17190         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17191         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17192         variable instead of depending directly on libc.
17193         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17194         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17195         $(link-libc-deps).
17196         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17197         libc.
17198         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17199         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17200         ($(objpfx)libanl.so): Likewise.
17201         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17202         ld.so.
17203         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17204         $(link-libc-deps).
17205         * sysdeps/i386/fpu/Makefile: Remove file.
17206         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17207         ($(objpfx)libm.so): Remove dependency on ld.so.
17208
17209 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17210
17211         [BZ # 15553]
17212         * nis/yp_xdr.c (XDRMAXNAME): Define.
17213         (XDRMAXRECORD): Define.
17214         (xdr_domainname): Use XDRMAXNAME.
17215         (xdr_mapname): Likewise.
17216         (xdr_peername): Likewise.
17217         (xdr_keydat): Use XDRMAXRECORD.
17218         (xdr_valdat): Likewise.
17219
17220 2013-05-30  Jeff Law  <law@redhat.com>
17221
17222         [BZ #14256]
17223         * manual/errno.texi (ESTALE): Update to account for more than
17224         just NFS file systems.
17225         * sysdeps/gnu/errlist.c: Regenerated.
17226
17227 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17228
17229         [BZ #15465]
17230         * elf/Makefile (tests): Add tst-null-argv.
17231         (modules-names):  Add tst-null-argv-lib.
17232         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17233         (tst-null-argv-ENV): Set environment for tst-null-argv.
17234         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17235         (RTLD_PROGNAME): New macro.
17236         * elf/tst-null-argv.c: New test case.
17237         * elf/tst-null-argv-lib.c: Library for test case.
17238         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17239         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17240         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17241         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17242         * elf/dl-init.c (call_init): Likewise.
17243         (_dl_init): Likewise.
17244         * elf/dl-load.c (print_search_path): Likewise.
17245         (_dl_map_object): Likewise.
17246         * elf/dl-lookup.c (do_lookup_x): Likewise.
17247         (add_dependency): Likewise.
17248         (_dl_lookup_symbol_x): Likewise.
17249         (_dl_debug_bindings): Likewise.
17250         * elf/dl-open.c (_dl_show_scope): Likewise.
17251         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17252         * elf/dl-version.c (match_symbol): Likewise.
17253         (_dl_check_map_versions): Likewise.
17254         * elf/rtld.c (dl_main): Likewise.
17255         (print_unresolved): Use RTLD_PROGNAME.
17256         (print_missing_version): Likewise.
17257         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17258         (elf_machine_rela): Likewise.
17259         * sysdeps/powerpc/powerpc32/dl-machine.c
17260         (__process_machine_rela): Likewise.
17261         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17262         Likewise.
17263         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17264         Likewise.
17265         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17266         Likewise.
17267         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17268         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17269         Likewise.
17270         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17271         Likewise.
17272         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17273
17274 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
17275
17276         * po/be.po: Add descriptive title.
17277         * po/zh_CN.po: Likewise.
17278         * po/header.pot: Likewise.
17279
17280 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
17281
17282         * locale/programs/locarchive.c (create_archive): Inlucde fname in
17283         error message.
17284         (enlarge_archive): Likewise.
17285
17286 2013-05-28  Ben North  <ben@redfrontdoor.org>
17287
17288         * manual/arith.texi (frexp): It is the magnitude of the return
17289         value which lies in [0.5, 1), not the return value itself.
17290
17291 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17292
17293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17294
17295 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
17296
17297         * stdio-common/bug26.c (main): Correct fscanf template.
17298
17299         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17300         declare _dl_skip_args.
17301
17302         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17303         Don't declare.
17304
17305         * manual/platform.texi: Add missing @end deftypefun.
17306
17307 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17308
17309         [BZ #15529]
17310         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17311         bit of mantissa of 2^16382.
17312         * math/libm-test.inc (hypot_test_data): Add more tests.
17313
17314         * math/libm-test.inc: Add drem and pow10 to list of tested
17315         functions.
17316         (pow10_test): New function.
17317         (drem_test): Likewise.
17318         (drem_test_tonearest): Likewise.
17319         (drem_test_towardzero): Likewise.
17320         (drem_test_downward): Likewise.
17321         (drem_test_upward): Likewise.
17322         (main): Call the new functions.
17323
17324         * math/libm-test.inc (finite_test_data): Remove.
17325         (finite_test): Run tests from isfinite_test_data.
17326         (gamma_test_data): Remove.
17327         (gamma_test): Run tests from lgamma_test_data.
17328         * sysdeps/i386/fpu/libm-test-ulps: Update.
17329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17330
17331 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17332
17333         * manual/platform.texi: Add PowerPC PPR function set documentation.
17334         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17335         implementation.
17336
17337 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
17338
17339         * math/libm-test.inc (MAX_EXP): Define.
17340         (ULPDIFF): Define.
17341         (ulp): New function.
17342         (check_float_internal): Use ULPDIFF.
17343         (cpow_test): Disable failing test.
17344         (check_ulp): Test ulp() implemetnation.
17345         (main): Call check_ulp before starting tests.
17346
17347 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17348
17349         * math/gen-libm-test.pl (generate_testfile): Do not handle
17350         START_DATA and END_DATA.
17351         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17352         END_DATA.
17353         (acos_tonearest_test_data): Likewise.
17354         (acos_towardzero_test_data): Likewise.
17355         (acos_downward_test_data): Likewise.
17356         (acos_upward_test_data): Likewise.
17357         (acosh_test_data): Likewise.
17358         (asin_test_data): Likewise.
17359         (asin_tonearest_test_data): Likewise.
17360         (asin_towardzero_test_data): Likewise.
17361         (asin_downward_test_data): Likewise.
17362         (asin_upward_test_data): Likewise.
17363         (asinh_test_data): Likewise.
17364         (atan_test_data): Likewise.
17365         (atanh_test_data): Likewise.
17366         (atan2_test_data): Likewise.
17367         (cabs_test_data): Likewise.
17368         (cacos_test_data): Likewise.
17369         (cacosh_test_data): Likewise.
17370         (carg_test_data): Likewise.
17371         (casin_test_data): Likewise.
17372         (casinh_test_data): Likewise.
17373         (catan_test_data): Likewise.
17374         (catanh_test_data): Likewise.
17375         (cbrt_test_data): Likewise.
17376         (ccos_test_data): Likewise.
17377         (ccosh_test_data): Likewise.
17378         (ceil_test_data): Likewise.
17379         (cexp_test_data): Likewise.
17380         (cimag_test_data): Likewise.
17381         (clog_test_data): Likewise.
17382         (clog10_test_data): Likewise.
17383         (conj_test_data): Likewise.
17384         (copysign_test_data): Likewise.
17385         (cos_test_data): Likewise.
17386         (cos_tonearest_test_data): Likewise.
17387         (cos_towardzero_test_data): Likewise.
17388         (cos_downward_test_data): Likewise.
17389         (cos_upward_test_data): Likewise.
17390         (cosh_test_data): Likewise.
17391         (cosh_tonearest_test_data): Likewise.
17392         (cosh_towardzero_test_data): Likewise.
17393         (cosh_downward_test_data): Likewise.
17394         (cosh_upward_test_data): Likewise.
17395         (cpow_test_data): Likewise.
17396         (cproj_test_data): Likewise.
17397         (creal_test_data): Likewise.
17398         (csin_test_data): Likewise.
17399         (csinh_test_data): Likewise.
17400         (csqrt_test_data): Likewise.
17401         (ctan_test_data): Likewise.
17402         (ctan_tonearest_test_data): Likewise.
17403         (ctan_towardzero_test_data): Likewise.
17404         (ctan_downward_test_data): Likewise.
17405         (ctan_upward_test_data): Likewise.
17406         (ctanh_test_data): Likewise.
17407         (ctanh_tonearest_test_data): Likewise.
17408         (ctanh_towardzero_test_data): Likewise.
17409         (ctanh_downward_test_data): Likewise.
17410         (ctanh_upward_test_data): Likewise.
17411         (erf_test_data): Likewise.
17412         (erfc_test_data): Likewise.
17413         (exp_test_data): Likewise.
17414         (exp_tonearest_test_data): Likewise.
17415         (exp_towardzero_test_data): Likewise.
17416         (exp_downward_test_data): Likewise.
17417         (exp_upward_test_data): Likewise.
17418         (exp10_test_data): Likewise.
17419         (exp2_test_data): Likewise.
17420         (expm1_test_data): Likewise.
17421         (fabs_test_data): Likewise.
17422         (fdim_test_data): Likewise.
17423         (finite_test_data): Likewise.
17424         (floor_test_data): Likewise.
17425         (fma_test_data): Likewise.
17426         (fma_towardzero_test_data): Likewise.
17427         (fma_downward_test_data): Likewise.
17428         (fma_upward_test_data): Likewise.
17429         (fmax_test_data): Likewise.
17430         (fmin_test_data): Likewise.
17431         (fmod_test_data): Likewise.
17432         (fpclassify_test_data): Likewise.
17433         (frexp_test_data): Likewise.
17434         (gamma_test_data): Likewise.
17435         (hypot_test_data): Likewise.
17436         (ilogb_test_data): Likewise.
17437         (isfinite_test_data): Likewise.
17438         (isgreater_test_data): Likewise.
17439         (isgreaterequal_test_data): Likewise.
17440         (isinf_test_data): Likewise.
17441         (isless_test_data): Likewise.
17442         (islessequal_test_data): Likewise.
17443         (islessgreater_test_data): Likewise.
17444         (isnan_test_data): Likewise.
17445         (isnormal_test_data): Likewise.
17446         (issignaling_test_data): Likewise.
17447         (isunordered_test_data): Likewise.
17448         (j0_test_data): Likewise.
17449         (j1_test_data): Likewise.
17450         (jn_test_data): Likewise.
17451         (ldexp_test_data): Likewise.
17452         (lgamma_test_data): Likewise.
17453         (lrint_test_data): Likewise.
17454         (lrint_tonearest_test_data): Likewise.
17455         (lrint_towardzero_test_data): Likewise.
17456         (lrint_downward_test_data): Likewise.
17457         (lrint_upward_test_data): Likewise.
17458         (llrint_test_data): Likewise.
17459         (llrint_tonearest_test_data): Likewise.
17460         (llrint_towardzero_test_data): Likewise.
17461         (llrint_downward_test_data): Likewise.
17462         (llrint_upward_test_data): Likewise.
17463         (log_test_data): Likewise.
17464         (log10_test_data): Likewise.
17465         (log1p_test_data): Likewise.
17466         (log2_test_data): Likewise.
17467         (logb_test_data): Likewise.
17468         (logb_downward_test_data): Likewise.
17469         (lround_test_data): Likewise.
17470         (llround_test_data): Likewise.
17471         (modf_test_data): Likewise.
17472         (nearbyint_test_data): Likewise.
17473         (nextafter_test_data): Likewise.
17474         (nexttoward_test_data): Likewise.
17475         (pow_test_data): Likewise.
17476         (pow_tonearest_test_data): Likewise.
17477         (pow_towardzero_test_data): Likewise.
17478         (pow_downward_test_data): Likewise.
17479         (pow_upward_test_data): Likewise.
17480         (remainder_test_data): Likewise.
17481         (remainder_tonearest_test_data): Likewise.
17482         (remainder_towardzero_test_data): Likewise.
17483         (remainder_downward_test_data): Likewise.
17484         (remainder_upward_test_data): Likewise.
17485         (remquo_test_data): Likewise.
17486         (rint_test_data): Likewise.
17487         (rint_tonearest_test_data): Likewise.
17488         (rint_towardzero_test_data): Likewise.
17489         (rint_downward_test_data): Likewise.
17490         (rint_upward_test_data): Likewise.
17491         (round_test_data): Likewise.
17492         (scalb_test_data): Likewise.
17493         (scalbn_test_data): Likewise.
17494         (scalbln_test_data): Likewise.
17495         (signbit_test_data): Likewise.
17496         (sin_test_data): Likewise.
17497         (sin_tonearest_test_data): Likewise.
17498         (sin_towardzero_test_data): Likewise.
17499         (sin_downward_test_data): Likewise.
17500         (sin_upward_test_data): Likewise.
17501         (sincos_test_data): Likewise.
17502         (sinh_test_data): Likewise.
17503         (sinh_tonearest_test_data): Likewise.
17504         (sinh_towardzero_test_data): Likewise.
17505         (sinh_downward_test_data): Likewise.
17506         (sinh_upward_test_data): Likewise.
17507         (sqrt_test_data): Likewise.
17508         (tan_test_data): Likewise.
17509         (tan_tonearest_test_data): Likewise.
17510         (tan_towardzero_test_data): Likewise.
17511         (tan_downward_test_data): Likewise.
17512         (tan_upward_test_data): Likewise.
17513         (tanh_test_data): Likewise.
17514         (tgamma_test_data): Likewise.
17515         (trunc_test_data): Likewise.
17516         (y0_test_data): Likewise.
17517         (y1_test_data): Likewise.
17518         (yn_test_data): Likewise.
17519         (significand_test_data): Likewise.
17520
17521         * math/gen-libm-test.pl (@functions): Remove variable.
17522         (generate_testfile): Don't handle START and END lines.
17523         * math/libm-test.inc (START): New macro.
17524         (END): Likewise.
17525         (END_COMPLEX): Likewise.
17526         (acos_test): Use END macro without arguments.
17527         (acos_test_tonearest): Likewise.
17528         (acos_test_towardzero): Likewise.
17529         (acos_test_downward): Likewise.
17530         (acos_test_upward): Likewise.
17531         (acosh_test): Likewise.
17532         (asin_test): Likewise.
17533         (asin_test_tonearest): Likewise.
17534         (asin_test_towardzero): Likewise.
17535         (asin_test_downward): Likewise.
17536         (asin_test_upward): Likewise.
17537         (asinh_test): Likewise.
17538         (atan_test): Likewise.
17539         (atanh_test): Likewise.
17540         (atan2_test): Likewise.
17541         (cabs_test): Likewise.
17542         (cacos_test): Use END_COMPLEX macro without arguments.
17543         (cacosh_test): Likewise.
17544         (carg_test): Use END macro without arguments.
17545         (casin_test): Use END_COMPLEX macro without arguments.
17546         (casinh_test): Likewise.
17547         (catan_test): Likewise.
17548         (catanh_test): Likewise.
17549         (cbrt_test): Use END macro without arguments.
17550         (ccos_test): Use END_COMPLEX macro without arguments.
17551         (ccosh_test): Likewise.
17552         (ceil_test): Use END macro without arguments.
17553         (cexp_test): Use END_COMPLEX macro without arguments.
17554         (cimag_test): Use END macro without arguments.
17555         (clog_test): Use END_COMPLEX macro without arguments.
17556         (clog10_test): Likewise.
17557         (conj_test): Likewise.
17558         (copysign_test): Use END macro without arguments.
17559         (cos_test): Likewise.
17560         (cos_test_tonearest): Likewise.
17561         (cos_test_towardzero): Likewise.
17562         (cos_test_downward): Likewise.
17563         (cos_test_upward): Likewise.
17564         (cosh_test): Likewise.
17565         (cosh_test_tonearest): Likewise.
17566         (cosh_test_towardzero): Likewise.
17567         (cosh_test_downward): Likewise.
17568         (cosh_test_upward): Likewise.
17569         (cpow_test): Use END_COMPLEX macro without arguments.
17570         (cproj_test): Likewise.
17571         (creal_test): Use END macro without arguments.
17572         (csin_test): Use END_COMPLEX macro without arguments.
17573         (csinh_test): Likewise.
17574         (csqrt_test): Likewise.
17575         (ctan_test): Likewise.
17576         (ctan_test_tonearest): Likewise.
17577         (ctan_test_towardzero): Likewise.
17578         (ctan_test_downward): Likewise.
17579         (ctan_test_upward): Likewise.
17580         (ctanh_test): Likewise.
17581         (ctanh_test_tonearest): Likewise.
17582         (ctanh_test_towardzero): Likewise.
17583         (ctanh_test_downward): Likewise.
17584         (ctanh_test_upward): Likewise.
17585         (erf_test): Use END macro without arguments.
17586         (erfc_test): Likewise.
17587         (exp_test): Likewise.
17588         (exp_test_tonearest): Likewise.
17589         (exp_test_towardzero): Likewise.
17590         (exp_test_downward): Likewise.
17591         (exp_test_upward): Likewise.
17592         (exp10_test): Likewise.
17593         (exp2_test): Likewise.
17594         (expm1_test): Likewise.
17595         (fabs_test): Likewise.
17596         (fdim_test): Likewise.
17597         (finite_test): Likewise.
17598         (floor_test): Likewise.
17599         (fma_test): Likewise.
17600         (fma_test_towardzero): Likewise.
17601         (fma_test_downward): Likewise.
17602         (fma_test_upward): Likewise.
17603         (fmax_test): Likewise.
17604         (fmin_test): Likewise.
17605         (fmod_test): Likewise.
17606         (fpclassify_test): Likewise.
17607         (frexp_test): Likewise.
17608         (gamma_test): Likewise.
17609         (hypot_test): Likewise.
17610         (ilogb_test): Likewise.
17611         (isfinite_test): Likewise.
17612         (isgreater_test): Likewise.
17613         (isgreaterequal_test): Likewise.
17614         (isinf_test): Likewise.
17615         (isless_test): Likewise.
17616         (islessequal_test): Likewise.
17617         (islessgreater_test): Likewise.
17618         (isnan_test): Likewise.
17619         (isnormal_test): Likewise.
17620         (issignaling_test): Likewise.
17621         (isunordered_test): Likewise.
17622         (j0_test): Likewise.
17623         (j1_test): Likewise.
17624         (jn_test): Likewise.
17625         (ldexp_test): Likewise.
17626         (lgamma_test): Likewise.
17627         (lrint_test): Likewise.
17628         (lrint_test_tonearest): Likewise.
17629         (lrint_test_towardzero): Likewise.
17630         (lrint_test_downward): Likewise.
17631         (lrint_test_upward): Likewise.
17632         (llrint_test): Likewise.
17633         (llrint_test_tonearest): Likewise.
17634         (llrint_test_towardzero): Likewise.
17635         (llrint_test_downward): Likewise.
17636         (llrint_test_upward): Likewise.
17637         (log_test): Likewise.
17638         (log10_test): Likewise.
17639         (log1p_test): Likewise.
17640         (log2_test): Likewise.
17641         (logb_test): Likewise.
17642         (logb_test_downward): Likewise.
17643         (lround_test): Likewise.
17644         (llround_test): Likewise.
17645         (modf_test): Likewise.
17646         (nearbyint_test): Likewise.
17647         (nextafter_test): Likewise.
17648         (nexttoward_test): Likewise.
17649         (pow_test): Likewise.
17650         (pow_test_tonearest): Likewise.
17651         (pow_test_towardzero): Likewise.
17652         (pow_test_downward): Likewise.
17653         (pow_test_upward): Likewise.
17654         (remainder_test): Likewise.
17655         (remainder_test_tonearest): Likewise.
17656         (remainder_test_towardzero): Likewise.
17657         (remainder_test_downward): Likewise.
17658         (remainder_test_upward): Likewise.
17659         (remquo_test): Likewise.
17660         (rint_test): Likewise.
17661         (rint_test_tonearest): Likewise.
17662         (rint_test_towardzero): Likewise.
17663         (rint_test_downward): Likewise.
17664         (rint_test_upward): Likewise.
17665         (round_test): Likewise.
17666         (scalb_test): Likewise.
17667         (scalbn_test): Likewise.
17668         (scalbln_test): Likewise.
17669         (signbit_test): Likewise.
17670         (sin_test): Likewise.
17671         (sin_test_tonearest): Likewise.
17672         (sin_test_towardzero): Likewise.
17673         (sin_test_downward): Likewise.
17674         (sin_test_upward): Likewise.
17675         (sincos_test): Likewise.
17676         (sinh_test): Likewise.
17677         (sinh_test_tonearest): Likewise.
17678         (sinh_test_towardzero): Likewise.
17679         (sinh_test_downward): Likewise.
17680         (sinh_test_upward): Likewise.
17681         (sqrt_test): Likewise.
17682         (tan_test): Likewise.
17683         (tan_test_tonearest): Likewise.
17684         (tan_test_towardzero): Likewise.
17685         (tan_test_downward): Likewise.
17686         (tan_test_upward): Likewise.
17687         (tanh_test): Likewise.
17688         (tgamma_test): Likewise.
17689         (trunc_test): Likewise.
17690         (y0_test): Likewise.
17691         (y1_test): Likewise.
17692         (yn_test): Likewise.
17693         (significand_test): Likewise.
17694
17695 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
17696
17697         [BZ #15381]
17698         * libio/genops.c (_IO_no_init): Initialize wide struct info.
17699
17700 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17701
17702         [BZ #14894]
17703         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17704         __ppc_mdoio and __ppc_mdoom.
17705         * manual/platform.texi: Document new functions __ppc_yield,
17706         __ppc_mdoio and __ppc_mdoom.
17707
17708 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
17709
17710         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17711         (main): Mention "tls" pseudo-hwcap is legacy.
17712         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17713
17714 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17715
17716         * math/gen-libm-test.pl (parse_args): Output only string of
17717         arguments as text for test name, not full call or descriptions of
17718         tests for extra outputs.
17719         (generate_testfile): Do not pass function name to parse_args.
17720         Generate this_func variable from START.
17721         * math/libm-test.inc (struct test_f_f_data): Rename test_name
17722         field to arg_str.
17723         (struct test_ff_f_data): Likewise.
17724         (test_ff_f_data_nexttoward): Likewise.
17725         (struct test_fi_f_data): Likewise.
17726         (struct test_fl_f_data): Likewise.
17727         (struct test_if_f_data): Likewise.
17728         (struct test_fff_f_data): Likewise.
17729         (struct test_c_f_data): Likewise.
17730         (struct test_f_f1_data): Likewise.  Remove field extra_name.
17731         (struct test_fF_f1_data): Likewise.
17732         (struct test_ffI_f1_data): Likewise.
17733         (struct test_c_c_data): Rename test_name field to arg_str.
17734         (struct test_cc_c_data): Likewise.
17735         (struct test_f_i_data): Likewise.
17736         (struct test_ff_i_data): Likewise.
17737         (struct test_f_l_data): Likewise.
17738         (struct test_f_L_data): Likewise.
17739         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
17740         and extra2_name.
17741         (COMMON_TEST_SETUP): New macro.
17742         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17743         (COMMON_TEST_CLEANUP): Likewise.
17744         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17745         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
17746         macros.
17747         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17748         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
17749         macros.
17750         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17751         (RUN_TEST_fff_f): Take argument string.  Call new setup and
17752         cleanup macros.
17753         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17754         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
17755         macros.
17756         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17757         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
17758         macros.
17759         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17760         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
17761         cleanup macros.
17762         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17763         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
17764         cleanup macros.
17765         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17766         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
17767         cleanup macros.
17768         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17769         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
17770         macros.
17771         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17772         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
17773         macros.
17774         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17775         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
17776         macros.
17777         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17778         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
17779         cleanup macros.
17780         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17781         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
17782         cleanup macros.
17783         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17784         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
17785         macros.
17786         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17787         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
17788         cleanup macros.
17789         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17790         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
17791         macros.
17792         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17793         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
17794         macros.
17795         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17796         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
17797         cleanup macros.
17798         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17799
17800 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
17801
17802         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17803         to _sifields.sigfault.
17804         (si_addr_lsb): Define new macro.
17805         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17806         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17807         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17808
17809 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
17810
17811         [BZ #15441]
17812         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17813         returns -1.
17814         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17815         null return -1.
17816         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17817         loading the domain.
17818
17819 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17820
17821         * math/gen-libm-test.pl (parse_args): Do not include expected
17822         result in test name.
17823         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17824         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17825         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17826         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17827         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17829
17830 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17831
17832         * benchtests/Makefile: Sort function entries.
17833
17834         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17835         tanh, asinh, acosh, atanh.
17836         * benchtests/acos-inputs: New file.
17837         * benchtests/acosh-inputs: New file.
17838         * benchtests/asin-inputs: New file.
17839         * benchtests/asinh-inputs: New file.
17840         * benchtests/atanh-inputs: New file.
17841         * benchtests/cosh-inputs: New file.
17842         * benchtests/log-inputs: New file.
17843         * benchtests/sinh-inputs: New file.
17844         * benchtests/tanh-inputs: New file.
17845
17846 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
17847
17848         [BZ #15339]
17849         * posix/tst-getaddrinfo4.c: New test.
17850         * posix/Makefile (tests): Add it.
17851
17852 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17853
17854         [BZ #15339]
17855         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17856         when no services were used.
17857         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17858         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17859
17860 2013-05-21  Andreas Schwab  <schwab@suse.de>
17861
17862         [BZ #15014]
17863         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17864         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17865         successful.
17866         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17867         redundant variable declarations and reallocation of buffer when
17868         parsing as IPv6 address.  Always set NSS status when called from
17869         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
17870         buffer too small.  Correct computation of needed size.
17871         * nss/Makefile (tests): Add test-digits-dots.
17872         * nss/test-digits-dots.c: New test.
17873
17874 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17875
17876         * benchtests/Makefile: Remove instructions for adding
17877         benchmark tests.
17878         * benchtests/README: New file to explain how to execute and
17879         enhance the benchmark tests.
17880
17881 2013-05-21  Andreas Schwab  <schwab@suse.de>
17882
17883         [BZ #15493]
17884         * setjmp/Makefile (tests): Add tst-sigsetjmp.
17885         * setjmp/tst-sigsetjmp.c: New test.
17886
17887 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
17888
17889         * sysdeps/x86_64/memset.S (memset): New implementation.
17890         (__bzero): Likewise.
17891         (__memset_tail): New function.
17892
17893 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
17894
17895         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17896         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17897         __memcpy_sse2_unaligned ifunc selection.
17898         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17899         Add memcpy-sse2-unaligned.S.
17900         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17901         Add: __memcpy_sse2_unaligned.
17902
17903 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
17904
17905         [BZ #15490]
17906         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17907         math_force_eval before restoring floating-point envrionment.
17908         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17909         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17910         Likewise.
17911         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17912         <math_private.h>.
17913         (__nearbyintl): Use math_force_eval before restoring
17914         floating-point environment.
17915         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17916
17917         * math/gen-libm-test.pl (special_functions): Remove.
17918         (parse_args): Don't handle TEST_extra.  Handle functions with no
17919         return value.
17920         * math/libm-test.inc (struct test_sincos_data): Replace with
17921         struct test_fFF_11_data.
17922         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17923         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17924         (sincos_test_data): Change element type to struct
17925         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
17926         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17927         RUN_TEST_LOOP_sincos.
17928         * math/README.libm-test: Don't mention special handling of
17929         individual functions.
17930         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17931         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17932         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17933         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17934         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17936
17937         * math/gen-libm-test.pl (get_variable): Remove function.
17938         (parse_args): Don't show pointer parameters to call in test
17939         names.  Use "extra output N" in test names for extra outputs
17940         rather than naming variables.
17941
17942 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
17943
17944         [BZ #15488]
17945         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17946         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17947         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17948         double tests.
17949         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17950         disable.
17951         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17952         check_long_double.
17953
17954         * math/gen-libm-test.pl (@tests): Remove variable.
17955         ($count): Likewise.
17956         (new_test): Remove function.
17957         (show_exceptions): New function.
17958         (special_functions): Use show_exceptions instead of new_test.
17959         (parse_args): Likewise.
17960         (generate_testfile): Pass only function name in generated call to
17961         print_max_error or print_complex_max_error.
17962         (get_ulps): Do not handle complex tests specially.
17963         (output_test): Rename to ...
17964         (get_all_ulps_for_test): ... this.  Return a string rather than
17965         printing to a file.  Require ulps to be present.
17966         (output_ulps): Generate arrays rather than #defines.
17967         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17968         (struct ulp_data): New type.
17969         (BUILD_COMPLEX_ULP): Remove macro.
17970         (compare_ulp_data): New function.
17971         (find_ulps): Likewise.
17972         (find_test_ulps): Likewise.
17973         (find_function_ulps): Likewise.
17974         (find_complex_function_ulps): Likewise.
17975         (print_max_error): Determine allowed ulps using
17976         find_function_ulps.
17977         (print_complex_max_error): Determine allowed ulps using
17978         find_complex_function_ulps.
17979         (check_float_internal): Determine max ulps using find_test_ulps.
17980         (check_float): Do not take max_ulp parameter.  Update call to
17981         check_float_internal.
17982         (check_complex): Likewise.
17983         (check_int): Do not take max_ulp parameter.
17984         (check_long): Likewise.
17985         (check_bool): Likewise.
17986         (check_longlong): Likewise.
17987         (struct test_f_f_data): Remove max_ulp field.
17988         (struct test_ff_f_data): Likewise.
17989         (struct test_ff_f_data_nexttoward): Likewise.
17990         (struct test_fi_f_data): Likewise.
17991         (struct test_fl_f_data): Likewise.
17992         (struct test_if_f_data): Likewise.
17993         (struct test_fff_f_data): Likewise.
17994         (struct test_c_f_data): Likewise.
17995         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17996         (struct test_fF_f1_data): Likewise.
17997         (struct test_ffI_f1_data): Likewise.
17998         (struct test_c_c_data): Remove max_ulp field.
17999         (struct test_cc_c_data): Likewise.
18000         (struct test_f_i_data): Likewise.
18001         (struct test_ff_i_data): Likewise.
18002         (struct test_f_l_data): Likewise.
18003         (struct test_f_L_data): Likewise.
18004         (struct test_sincos_data): Likewise.
18005         (RUN_TEST_f_f): Do not handle ulps.
18006         (RUN_TEST_LOOP_f_f): Likewise.
18007         (RUN_TEST_2_f): Likewise.
18008         (RUN_TEST_LOOP_2_f): Likewise.
18009         (RUN_TEST_fff_f): Likewise.
18010         (RUN_TEST_LOOP_fff_f): Likewise.
18011         (RUN_TEST_c_f): Likewise.
18012         (RUN_TEST_LOOP_c_f): Likewise.
18013         (RUN_TEST_f_f1): Likewise.
18014         (RUN_TEST_LOOP_f_f1): Likewise.
18015         (RUN_TEST_fF_f1): Likewise.
18016         (RUN_TEST_LOOP_fF_f1): Likewise.
18017         (RUN_TEST_fI_f1): Likewise.
18018         (RUN_TEST_LOOP_fI_f1): Likewise.
18019         (RUN_TEST_ffI_f1): Likewise.
18020         (RUN_TEST_LOOP_ffI_f1): Likewise.
18021         (RUN_TEST_c_c): Likewise.
18022         (RUN_TEST_LOOP_c_c): Likewise.
18023         (RUN_TEST_cc_c): Likewise.
18024         (RUN_TEST_LOOP_cc_c): Likewise.
18025         (RUN_TEST_f_i): Likewise.
18026         (RUN_TEST_LOOP_f_i): Likewise.
18027         (RUN_TEST_f_i_tg): Likewise.
18028         (RUN_TEST_LOOP_f_i_tg): Likewise.
18029         (RUN_TEST_ff_i_tg): Likewise.
18030         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18031         (RUN_TEST_f_b): Likewise.
18032         (RUN_TEST_LOOP_f_b): Likewise.
18033         (RUN_TEST_f_b_tg): Likewise.
18034         (RUN_TEST_LOOP_f_b_tg): Likewise.
18035         (RUN_TEST_f_l): Likewise.
18036         (RUN_TEST_LOOP_f_l): Likewise.
18037         (RUN_TEST_f_L): Likewise.
18038         (RUN_TEST_LOOP_f_L): Likewise.
18039         (RUN_TEST_sincos): Likewise.
18040         (RUN_TEST_LOOP_sincos): Likewise.
18041
18042 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18043
18044         [BZ #15480]
18045         [BZ #15485]
18046         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18047         main case of finite arguments, set rounding mode to FE_TONEAREST
18048         and discard exceptions.
18049         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18050         exceptions.
18051         (remainder_tonearest_test_data): New variable.
18052         (remainder_test_tonearest): New function.
18053         (remainder_towardzero_test_data): New variable.
18054         (remainder_test_towardzero): New function.
18055         (remainder_downward_test_data): New variable.
18056         (remainder_test_downward): New function.
18057         (remainder_upward_test_data): New variable.
18058         (remainder_test_upward): New function.
18059         (main): Call the new test functions.
18060
18061         * math/libm-test.inc (struct test_f_f1_data): Remove field
18062         extra_init.
18063         (struct test_fF_f1_data): Likewise.
18064         (struct test_ffI_f1_data): Likewise.
18065         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18066         based on value of EXTRA_EXPECTED.
18067         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18068         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18069         EXTRA_VAR based on value of EXTRA_EXPECTED.
18070         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18071         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18072         EXTRA_VAR based on value of EXTRA_EXPECTED.
18073         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18074         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18075         EXTRA_VAR based on value of EXTRA_EXPECTED.
18076         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18077         * math/gen-libm-test.pl (parse_args): Don't output initializers
18078         for extra output values.
18079
18080         * math/libm-test.inc (check_int): Expect result to be exactly
18081         equal to expected value and do not handle ulps.
18082         (check_long): Likewise.
18083         (check_longlong): Likewise.
18084
18085         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18086         exceptions.
18087         (cimag_test_data): Likewise.
18088         (conj_test_data): Likewise.
18089         (copysign_test_data): Likewise.
18090         (cproj_test_data): Likewise.
18091         (creal_test_data): Likewise.
18092         (fabs_test_data): Likewise.
18093         (fdim_test_data): Likewise.
18094         (finite_test_data): Likewise.
18095         (floor_test_data): Likewise.
18096         (fmax_test_data): Likewise.
18097         (fmin_test_data): Likewise.
18098         (fmod_test_data): Likewise.
18099         (fpclassify_test_data): Likewise.
18100         (frexp_test_data): Likewise.
18101         (ilogb_test_data): Likewise.
18102         (isfinite_test_data): Likewise.
18103         (isgreater_test_data): Likewise.
18104         (isgreaterequal_test_data): Likewise.
18105         (isinf_test_data): Likewise.
18106         (isless_test_data): Likewise.
18107         (islessequal_test_data): Likewise.
18108         (islessgreater_test_data): Likewise.
18109         (isnan_test_data): Likewise.
18110         (isnormal_test_data): Likewise.
18111         (issignaling_test_data): Likewise.
18112         (isunordered_test_data): Likewise.
18113         (ldexp_test_data): Likewise.
18114         (lrint_test_data): Likewise.
18115         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18116         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18117         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18118         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18119         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18120         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18121         test input.
18122         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18123         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18124         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18125         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18126         that test input.
18127         (lrint_downward_test_data): Test for "inexact" exceptions.
18128         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18129         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18130         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18131         test input.
18132         (lrint_upward_test_data): Test for "inexact" exceptions.
18133         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18134         test input.
18135         (llrint_test_data): Test for "inexact" exceptions.
18136         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18137         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18138         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18139         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18140         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18141         (llrint_downward_test_data): Test for "inexact" exceptions.
18142         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18143         (llrint_upward_test_data): Test for "inexact" exceptions.
18144         (logb_test_data): Likewise.
18145         (logb_downward_test_data): Likewise.
18146         (nextafter_test_data): Likewise.
18147         (nexttoward_test_data): Likewise.
18148         (remainder_test_data): Likewise.
18149         (remquo_test_data): Likewise.
18150         (scalbn_test_data): Likewise.
18151         (scalbln_test_data): Likewise.
18152         (signbit_test_data): Likewise.
18153         (sqrt_test_data): Likewise.
18154         (significand_test_data): Likewise.
18155
18156 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18157
18158         [BZ #15424]
18159         * benchtests/bench-modf.c (struct args): Mark arg0 as
18160         volatile.
18161         * scripts/bench.pl: Mark members of struct args as volatile.
18162
18163 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18164
18165         [BZ # 15497]
18166         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18167         negative infinity on POWER6 or lower.
18168         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18169
18170 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18171
18172         [BZ #15442]
18173         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18174         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18175         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18176         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18177         (_FP_SETQNAN): New macro.
18178         (_FP_SETQNAN_SEMIRAW): Likewise.
18179         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18180         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18181         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18182         (FP_EXTEND): Use _FP_FRAC_SNANP.
18183         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18184         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18185         into account.
18186         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18187         New macro.
18188         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18189         Likewise.
18190
18191 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18192
18193         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18194         with DIVIDE_BY_ZERO_EXCEPTION.
18195         (gamma_test_data): Likewise.
18196         (lgamma_test_data): Likewise.
18197         (log_test_data): Likewise.
18198         (log10_test_data): Likewise.
18199         (log2_test_data): Likewise.
18200         (tgamma_test_data): Likewise.
18201
18202         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18203         (acos_test_tonearest): Likewise.
18204         (acos_test_towardzero): Likewise.
18205         (acos_test_downward): Likewise.
18206         (acos_test_upward): Likewise.
18207         (acosh_test): Likewise.
18208         (asin_test): Likewise.
18209         (asin_test_tonearest): Likewise.
18210         (asin_test_towardzero): Likewise.
18211         (asin_test_downward): Likewise.
18212         (asin_test_upward): Likewise.
18213         (asinh_test): Likewise.
18214         (atan_test): Likewise.
18215         (atanh_test): Likewise.
18216         (atan2_test): Likewise.
18217         (cabs_test): Likewise.
18218         (cacos_test): Likewise.
18219         (cacosh_test): Likewise.
18220         (casin_test): Likewise.
18221         (casinh_test): Likewise.
18222         (catan_test): Likewise.
18223         (catanh_test): Likewise.
18224         (cbrt_test): Likewise.
18225         (ccos_test): Likewise.
18226         (ccosh_test): Likewise.
18227         (cexp_test): Likewise.
18228         (clog_test): Likewise.
18229         (clog10_test): Likewise.
18230         (cos_test): Likewise.
18231         (cos_test_tonearest): Likewise.
18232         (cos_test_towardzero): Likewise.
18233         (cos_test_downward): Likewise.
18234         (cos_test_upward): Likewise.
18235         (cosh_test): Likewise.
18236         (cosh_test_tonearest): Likewise.
18237         (cosh_test_towardzero): Likewise.
18238         (cosh_test_downward): Likewise.
18239         (cosh_test_upward): Likewise.
18240         (cpow_test): Likewise.
18241         (csin_test): Likewise.
18242         (csinh_test): Likewise.
18243         (csqrt_test): Likewise.
18244         (ctan_test): Likewise.
18245         (ctan_test_tonearest): Likewise.
18246         (ctan_test_towardzero): Likewise.
18247         (ctan_test_downward): Likewise.
18248         (ctan_test_upward): Likewise.
18249         (ctanh_test): Likewise.
18250         (ctanh_test_tonearest): Likewise.
18251         (ctanh_test_towardzero): Likewise.
18252         (ctanh_test_downward): Likewise.
18253         (ctanh_test_upward): Likewise.
18254         (erf_test): Likewise.
18255         (erfc_test): Likewise.
18256         (exp_test): Likewise.
18257         (exp_test_tonearest): Likewise.
18258         (exp_test_towardzero): Likewise.
18259         (exp_test_downward): Likewise.
18260         (exp_test_upward): Likewise.
18261         (exp10_test): Likewise.
18262         (exp2_test): Likewise.
18263         (expm1_test): Likewise.
18264         (fmod_test): Likewise.
18265         (gamma_test): Likewise.
18266         (hypot_test): Likewise.
18267         (j0_test): Likewise.
18268         (j1_test): Likewise.
18269         (jn_test): Likewise.
18270         (lgamma_test): Likewise.
18271         (log_test): Likewise.
18272         (log10_test): Likewise.
18273         (log1p_test): Likewise.
18274         (log2_test): Likewise.
18275         (logb_test_downward): Likewise.
18276         (pow_test): Likewise.
18277         (pow_test_tonearest): Likewise.
18278         (pow_test_towardzero): Likewise.
18279         (pow_test_downward): Likewise.
18280         (pow_test_upward): Likewise.
18281         (remainder_test): Likewise.
18282         (remquo_test): Likewise.
18283         (sin_test): Likewise.
18284         (sin_test_tonearest): Likewise.
18285         (sin_test_towardzero): Likewise.
18286         (sin_test_downward): Likewise.
18287         (sin_test_upward): Likewise.
18288         (sincos_test): Likewise.
18289         (sinh_test): Likewise.
18290         (sinh_test_tonearest): Likewise.
18291         (sinh_test_towardzero): Likewise.
18292         (sinh_test_downward): Likewise.
18293         (sinh_test_upward): Likewise.
18294         (sqrt_test): Likewise.
18295         (tan_test): Likewise.
18296         (tan_test_tonearest): Likewise.
18297         (tan_test_towardzero): Likewise.
18298         (tan_test_downward): Likewise.
18299         (tan_test_upward): Likewise.
18300         (tanh_test): Likewise.
18301         (tgamma_test): Likewise.
18302         (y0_test): Likewise.
18303         (y1_test): Likewise.
18304         (yn_test): Likewise.
18305
18306         * math/gen-libm-test.pl (adjust_arg): Remove function.
18307         (special_function): Remove argument $in_func.  Only handle
18308         generating output for tables of tests, not inside functions.
18309         (parse_args): Likewise.
18310         (generate_testfile): Remove variable $in_func.  Update call to
18311         parse_args.
18312         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18313         (MINUS_ZERO_INIT): Rename macro to minus_zero.
18314         (PLUS_INFTY_INIT): Rename macro to plus_infty.
18315         (MINUS_INFTY_INIT): Rename macro to minus_infty.
18316         (QNAN_VALUE_INIT): Rename macro to qnan_value.
18317         (MAX_VALUE_INIT): Rename macro to max_value.
18318         (MIN_VALUE_INIT): Rename macro to min_value.
18319         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18320         (plus_zero): Remove variable.
18321         (minus_zero): Likewise.
18322         (plus_infty): Likewise.
18323         (minus_infty): Likewise.
18324         (qnan_value): Likewise.
18325         (max_value): Likewise.
18326         (min_value): Likewise.
18327         (min_subnorm_value): Likewise.
18328
18329 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18330
18331         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18332         uint64_t or uint32_t usage.
18333         * crypt/sha256-block.c: Likewise.
18334         * crypt/sha256-crypt.c: Likewise.
18335         * crypt/sha256.c: Likewise.
18336         * crypt/sha512-block.c: Likewise.
18337         * crypt/sha512-crypt.c: Likewise.
18338         * crypt/sha512.c: Likewise.
18339         * debug/backtrace-tst.c: Likewise.
18340         * debug/pcprofiledump.c: Likewise.
18341         * elf/cache.c: Likewise.
18342         * elf/dl-cache.c: Likewise.
18343         * elf/dl-misc.c: Likewise.
18344         * elf/dl-profile.c: Likewise.
18345         * elf/dl-support.c: Likewise.
18346         * elf/ldconfig.c: Likewise.
18347         * elf/sprof.c: Likewise.
18348         * iconv/dummy-repertoire.c: Likewise.
18349         * iconv/iconv_charmap.c: Likewise.
18350         * iconv/skeleton.c: Likewise.
18351         * iconvdata/8bit-generic.c: Likewise.
18352         * iconvdata/cp737.h: Likewise.
18353         * iconvdata/cp775.h: Likewise.
18354         * iconvdata/ibm1008.h: Likewise.
18355         * iconvdata/ibm1025.h: Likewise.
18356         * iconvdata/ibm1046.h: Likewise.
18357         * iconvdata/ibm1097.h: Likewise.
18358         * iconvdata/ibm1112.h: Likewise.
18359         * iconvdata/ibm1122.h: Likewise.
18360         * iconvdata/ibm1123.h: Likewise.
18361         * iconvdata/ibm1124.h: Likewise.
18362         * iconvdata/ibm1129.h: Likewise.
18363         * iconvdata/ibm1130.h: Likewise.
18364         * iconvdata/ibm1132.h: Likewise.
18365         * iconvdata/ibm1133.h: Likewise.
18366         * iconvdata/ibm1137.h: Likewise.
18367         * iconvdata/ibm1140.h: Likewise.
18368         * iconvdata/ibm1141.h: Likewise.
18369         * iconvdata/ibm1142.h: Likewise.
18370         * iconvdata/ibm1143.h: Likewise.
18371         * iconvdata/ibm1144.h: Likewise.
18372         * iconvdata/ibm1145.h: Likewise.
18373         * iconvdata/ibm1146.h: Likewise.
18374         * iconvdata/ibm1147.h: Likewise.
18375         * iconvdata/ibm1148.h: Likewise.
18376         * iconvdata/ibm1149.h: Likewise.
18377         * iconvdata/ibm1153.h: Likewise.
18378         * iconvdata/ibm1154.h: Likewise.
18379         * iconvdata/ibm1155.h: Likewise.
18380         * iconvdata/ibm1156.h: Likewise.
18381         * iconvdata/ibm1157.h: Likewise.
18382         * iconvdata/ibm1158.h: Likewise.
18383         * iconvdata/ibm1160.h: Likewise.
18384         * iconvdata/ibm1161.h: Likewise.
18385         * iconvdata/ibm1162.h: Likewise.
18386         * iconvdata/ibm1163.h: Likewise.
18387         * iconvdata/ibm1164.h: Likewise.
18388         * iconvdata/ibm1166.h: Likewise.
18389         * iconvdata/ibm1167.h: Likewise.
18390         * iconvdata/ibm12712.h: Likewise.
18391         * iconvdata/ibm1390.h: Likewise.
18392         * iconvdata/ibm1399.h: Likewise.
18393         * iconvdata/ibm16804.h: Likewise.
18394         * iconvdata/ibm4517.h: Likewise.
18395         * iconvdata/ibm4899.h: Likewise.
18396         * iconvdata/ibm4909.h: Likewise.
18397         * iconvdata/ibm4971.h: Likewise.
18398         * iconvdata/ibm5347.h: Likewise.
18399         * iconvdata/ibm803.h: Likewise.
18400         * iconvdata/ibm856.h: Likewise.
18401         * iconvdata/ibm901.h: Likewise.
18402         * iconvdata/ibm902.h: Likewise.
18403         * iconvdata/ibm9030.h: Likewise.
18404         * iconvdata/ibm9066.h: Likewise.
18405         * iconvdata/ibm921.h: Likewise.
18406         * iconvdata/ibm922.h: Likewise.
18407         * iconvdata/ibm9448.h: Likewise.
18408         * iconvdata/isiri-3342.h: Likewise.
18409         * iconvdata/jis0201.h: Likewise.
18410         * include/link.h: Likewise.
18411         * include/netdb.h: Likewise.
18412         * inet/check_native.c: Likewise.
18413         * inet/check_pf.c: Likewise.
18414         * inet/getipv4sourcefilter.c: Likewise.
18415         * inet/getnameinfo.c: Likewise.
18416         * inet/getsourcefilter.c: Likewise.
18417         * inet/htonl.c: Likewise.
18418         * inet/setipv4sourcefilter.c: Likewise.
18419         * inet/setsourcefilter.c: Likewise.
18420         * inet/test-inet6_opt.c: Likewise.
18421         * inet/tst-network.c: Likewise.
18422         * locale/C-collate.c: Likewise.
18423         * locale/C-ctype.c: Likewise.
18424         * locale/C-time.c: Likewise.
18425         * locale/C-translit.h: Likewise.
18426         * locale/loadarchive.c: Likewise.
18427         * locale/programs/3level.h: Likewise.
18428         * locale/programs/charmap.c: Likewise.
18429         * locale/programs/charmap.h: Likewise.
18430         * locale/programs/ld-address.c: Likewise.
18431         * locale/programs/ld-collate.c: Likewise.
18432         * locale/programs/ld-ctype.c: Likewise.
18433         * locale/programs/ld-identification.c: Likewise.
18434         * locale/programs/ld-measurement.c: Likewise.
18435         * locale/programs/ld-messages.c: Likewise.
18436         * locale/programs/ld-monetary.c: Likewise.
18437         * locale/programs/ld-name.c: Likewise.
18438         * locale/programs/ld-numeric.c: Likewise.
18439         * locale/programs/ld-paper.c: Likewise.
18440         * locale/programs/ld-telephone.c: Likewise.
18441         * locale/programs/ld-time.c: Likewise.
18442         * locale/programs/linereader.c: Likewise.
18443         * locale/programs/locale.c: Likewise.
18444         * locale/programs/locarchive.c: Likewise.
18445         * locale/programs/locfile.h: Likewise.
18446         * locale/programs/repertoire.c: Likewise.
18447         * locale/programs/simple-hash.c: Likewise.
18448         * locale/programs/simple-hash.h: Likewise.
18449         * malloc/memusage.c: Likewise.
18450         * malloc/memusagestat.c: Likewise.
18451         * nis/nis_defaults.c: Likewise.
18452         * nis/nis_hash.c: Likewise.
18453         * nis/nis_print.c: Likewise.
18454         * nis/nis_xdr.c: Likewise.
18455         * nscd/connections.c: Likewise.
18456         * nscd/hstcache.c: Likewise.
18457         * nscd/nscd_gethst_r.c: Likewise.
18458         * nscd/nscd_getserv_r.c: Likewise.
18459         * nscd/nscd_helper.c: Likewise.
18460         * nscd/servicescache.c: Likewise.
18461         * nss/makedb.c: Likewise.
18462         * nss/nss_db/db-XXX.c: Likewise.
18463         * nss/nss_db/db-initgroups.c: Likewise.
18464         * nss/nss_db/db-netgrp.c: Likewise.
18465         * nss/nss_files/files-network.c: Likewise.
18466         * nss/nss_files/files-parse.c: Likewise.
18467         * posix/bug-regex5.c: Likewise.
18468         * posix/fnmatch_loop.c: Likewise.
18469         * posix/regcomp.c: Likewise.
18470         * posix/regexec.c: Likewise.
18471         * posix/tst-rfc3484-2.c: Likewise.
18472         * posix/tst-rfc3484-3.c: Likewise.
18473         * posix/tst-rfc3484.c: Likewise.
18474         * resolv/nss_dns/dns-canon.c: Likewise.
18475         * resolv/nss_dns/dns-network.c: Likewise.
18476         * resolv/res_init.c: Likewise.
18477         * resolv/res_mkquery.c: Likewise.
18478         * resolv/tst-aton.c: Likewise.
18479         * stdlib/cxa_atexit.c: Likewise.
18480         * stdlib/cxa_finalize.c: Likewise.
18481         * stdlib/gen-fpioconst.c: Likewise.
18482         * stdlib/strtol_l.c: Likewise.
18483         * string/tst-endian.c: Likewise.
18484         * sunrpc/auth_des.c: Likewise.
18485         * sunrpc/clnt_udp.c: Likewise.
18486         * sunrpc/rtime.c: Likewise.
18487         * sunrpc/svcauth_des.c: Likewise.
18488         * sunrpc/xdr.c: Likewise.
18489         * sunrpc/xdr_intXX_t.c: Likewise.
18490         * sunrpc/xdr_rec.c: Likewise.
18491         * sysdeps/generic/ldconfig.h: Likewise.
18492         * sysdeps/generic/ldsodefs.h: Likewise.
18493         * sysdeps/generic/memusage.h: Likewise.
18494         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18495         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18496         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18497         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18498         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18499         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18500         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18501         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18502         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18503         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18504         * sysdeps/posix/getaddrinfo.c: Likewise.
18505         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18506         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18507         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18508         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18509         * sysdeps/powerpc/test-gettimebase.c: Likewise.
18510         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18511         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18512         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18513         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18514         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18515         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18516         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18517         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18518         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18519         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18520         * sysdeps/x86_64/dl-tls.h: Likewise.
18521         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18522         * time/alt_digit.c: Likewise.
18523         * time/era.c: Likewise.
18524         * wcsmbs/tst-c16c32-1.c: Likewise.
18525
18526 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18527
18528         * math/libm-test.inc (struct test_sincos_data): New type.
18529         (RUN_TEST_LOOP_sincos): New macro.
18530         (sincos_test_data): New variable.
18531         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18532
18533 2013-05-16  Richard Henderson  <rth@redhat.com>
18534
18535         * math/atest-exp2.c (LIMB64): New macro.
18536         (CONSTSZ): New macro.
18537         (mp_exp1, mp_exp_m1, mp_log2): New variables.
18538         (hexdig): Move ...
18539         (print_mpn_fp): ... to function scope.
18540         (read_mpn_hex): Remove.
18541         (get_log2): Remove.
18542         (exp2_mpn): Use mp_log2.
18543         (main): Use mp_exp1.
18544
18545 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18546
18547         * math/libm-test.inc: Remove comment about not testing "inexact"
18548         exceptions.
18549         (INEXACT_EXCEPTION): New macro.
18550         (NO_INEXACT_EXCEPTION): Likewise.
18551         (INVALID_EXCEPTION_OK): Update value.
18552         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18553         (OVERFLOW_EXCEPTION_OK): Likewise.
18554         (UNDERFLOW_EXCEPTION_OK): Likewise.
18555         (IGNORE_ZERO_INF_SIGN): Likewise.
18556         (ERRNO_UNCHANGED): Likewise.
18557         (ERRNO_EDOM): Likewise.
18558         (ERRNO_ERANGE): Likewise.
18559         (test_exceptions): Handle testing "inexact" exceptions.
18560         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18561         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18562         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18563         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18564         INEXACT_EXCEPTION.
18565         (rint_towardzero_test_data): Likewise.
18566         (rint_downward_test_data): Likewise.
18567         (rint_upward_test_data): Likewise.
18568
18569         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18570         with OVERFLOW_EXCEPTION.
18571         (exp10_test_data): Likewise.
18572         (exp2_test_data): Likewise.
18573         (expm1_test_data): Likewise.
18574         (lgamma_test_data): Likewise.
18575         (pow_test_data): Likewise.
18576         (tgamma_test_data): Likewise.
18577         (yn_test_data): Remove duplicate test of overflow.
18578
18579         * math/libm-test.inc (struct test_cc_c_data): New type.
18580         (RUN_TEST_LOOP_cc_c): New macro.
18581         (cpow_test_data): New variable.
18582         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18583
18584         * math/libm-test.inc (struct test_f_L_data): New type.
18585         (RUN_TEST_LOOP_f_L): New macro.
18586         (llrint_test_data): New variable.
18587         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18588         (llrint_tonearest_test_data): New variable.
18589         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18590         (llrint_towardzero_test_data): New variable.
18591         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18592         (llrint_downward_test_data): New variable.
18593         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18594         (llrint_upward_test_data): New variable.
18595         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18596         (llround_test_data): New variable.
18597         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18598
18599 2013-05-13  Peter Collingbourne  <pcc@google.com>
18600
18601         * math/atest-exp2.c (get_log2): Remove const attribute.
18602
18603 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18604
18605         * math/libm-test.inc (struct test_f_l_data): New type.
18606         (RUN_TEST_LOOP_f_l): New macro.
18607         (lrint_test_data): New variable.
18608         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18609         (lrint_tonearest_test_data): New variable.
18610         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18611         (lrint_towardzero_test_data): New variable.
18612         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18613         (lrint_downward_test_data): New variable.
18614         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18615         (lrint_upward_test_data): New variable.
18616         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18617         (lround_test_data): New variable.
18618         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18619
18620 2013-05-15  Peter Collingbourne  <pcc@google.com>
18621
18622         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18623         (EXTRACT_WORDS64) Use where appropriate.
18624         (INSERT_WORDS64) Likewise.
18625
18626         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18627         constraints with x constraints.
18628         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18629
18630         * malloc/obstack.c (_obstack_compat): Add initializer.
18631
18632 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18633
18634         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18635         si_trapno and add si_addr_lsb to _sifields.sigfault.
18636         (si_trapno): Remove macro.
18637         (si_addr_lsb): Define new macro.
18638         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18639
18640 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18641
18642         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18643         instead of TEST_f_l.
18644         (llrint_test_tonearest): Likewise.
18645         (llrint_test_towardzero): Likewise.
18646         (llrint_test_downward): Likewise.
18647         (llrint_test_upward): Likewise.
18648         (llround_test): Likewise.
18649
18650         * math/libm-test.inc (struct test_f_i_data): Add comment.
18651         (RUN_TEST_LOOP_f_b): New macro.
18652         (RUN_TEST_LOOP_f_b_tg): Likewise.
18653         (finite_test_data): New variable.
18654         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18655         (isfinite_test_data): New variable.
18656         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18657         (isinf_test_data): New variable.
18658         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18659         (isnan_test_data): New variable.
18660         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18661         (isnormal_test_data): New variable.
18662         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18663         (issignaling_test_data): New variable.
18664         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18665         (signbit_test_data): New variable.
18666         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18667
18668         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18669         with INVALID_EXCEPTION.
18670         (acosh_test_data): Likewise.
18671         (asin_test_data): Likewise.
18672         (atanh_test_data): Likewise.
18673         (fmod_test_data): Likewise.
18674         (log_test_data): Likewise.
18675         (log10_test_data): Likewise.
18676         (log2_test_data): Likewise.
18677         (pow_test_data): Likewise.
18678         (sqrt_test_data): Likewise.
18679         (y0_test_data): Likewise.
18680         (y1_test_data): Likewise.
18681         (yn_test_data): Likewise.
18682
18683         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18684         function contents.
18685
18686         * math/libm-test.inc (struct test_ff_i_data): New type.
18687         (RUN_TEST_LOOP_ff_i_tg): New macro.
18688         (isgreater_test_data): New variable.
18689         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18690         (isgreaterequal_test_data): New variable.
18691         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18692         (isless_test_data): New variable.
18693         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18694         (islessequal_test_data): New variable.
18695         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18696         (islessgreater_test_data): New variable.
18697         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18698         (isunordered_test_data): New variable.
18699         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18700
18701 2013-05-14  David S. Miller  <davem@davemloft.net>
18702
18703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18704
18705 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
18706
18707         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18708
18709         * math/libm-test.inc (struct test_fF_f1_data): Change type of
18710         extra_test to int.
18711         (struct test_f_i_data): Change type of max_ulp to int.
18712
18713         * math/libm-test.inc (test_ffI_f1_data): New type.
18714         (RUN_TEST_LOOP_ffI_f1): New macro.
18715         (remquo_test_data): New variable.
18716         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18717
18718         * setjmp/tst-setjmp-fp.c: New file.
18719         * setjmp/Makefile (tests): Add tst-setjmp-fp.
18720         (link-libm): New variable.
18721         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18722
18723         * math/libm-test.inc (struct test_f_i_data): New type.
18724         (RUN_TEST_LOOP_f_i): New macro.
18725         (RUN_TEST_LOOP_f_i_tg): Likewise.
18726         (fpclassify_test_data): New variable.
18727         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18728         (ilogb_test_data): New variable.
18729         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18730
18731         * math/libm-test.inc (scalbln_test): Correct function name in END
18732         call.
18733
18734         * math/libm-test.inc (struct test_f_f1_data): Add comment.
18735         (RUN_TEST_LOOP_fI_f1): New macro.
18736         (frexp_test_data): New variable.
18737         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18738
18739         * math/libm-test.inc (struct test_fF_f1_data): New type.
18740         (RUN_TEST_LOOP_fF_f1): New macro.
18741         (modf_test_data): New variable.
18742         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18743
18744         * math/libm-test.inc (struct test_f_f1_data): New type.
18745         (RUN_TEST_LOOP_f_f1): New macro.
18746         (gamma_test_data): New variable.
18747         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18748         (lgamma_test_data): New variable.
18749         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18750
18751 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
18752
18753         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18754         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18755         (main): Comment "tls" pseudo-hwcap.
18756
18757 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
18758
18759         * math/libm-test.inc (struct test_fl_f_data): New type.
18760         (RUN_TEST_LOOP_fl_f): New variable.
18761         (scalbln_test_data): New variable.
18762         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18763
18764         * math/libm-test.inc (struct test_fi_f_data): New type.
18765         (RUN_TEST_LOOP_fi_f): New macro.
18766         (ldexp_test_data): New variable.
18767         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18768         (scalbn_test_data): New variable.
18769         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18770
18771         * math/libm-test.inc (struct test_c_f_data): New type.
18772         (RUN_TEST_LOOP_c_f): New macro.
18773         (cabs_test_data): New variable.
18774         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18775         (carg_test_data): New variable.
18776         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18777         (cimag_test_data): New variable.
18778         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18779         (creal_test_data): New variable.
18780         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18781
18782         * math/libm-test.inc (struct test_if_f_data): New type.
18783         (RUN_TEST_LOOP_if_f): New macro.
18784         (jn_test_data): New variable.
18785         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18786         (yn_test_data): New variable.
18787         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18788
18789         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18790
18791 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18792
18793         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18794         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18795
18796 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18797
18798         * benchtests/Makefile (CPPFLAGS-nonlib): Add
18799         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18800         (bench-deps): Add bench-timing.h.
18801         * benchtests-bench-skeleton.c: Include bench-timing.h.
18802         (main): Use TIMING_* macros instead of clock_gettime.
18803         * benchtests/bench-timing.h: New file.
18804
18805         [BZ #14582]
18806         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18807         Renamed from _LIB_VERSION.
18808         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18809
18810 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
18811
18812         * math/libm-test.inc (struct test_fff_f_data): New type.
18813         (RUN_TEST_LOOP_fff_f): New macro.
18814         (fma_test_data): New variable.
18815         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18816         (fma_towardzero_test_data): New variable.
18817         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18818         (fma_downward_test_data): New variable.
18819         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18820         (fma_upward_test_data): New variable.
18821         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18822
18823         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18824         (struct test_c_c_data): New type.
18825         (RUN_TEST_LOOP_c_c): New macro.
18826         (cacos_test_data): New variable.
18827         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18828         (cacosh_test_data): New variable.
18829         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18830         (casin_test_data): New variable.
18831         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18832         (casinh_test_data): New variable.
18833         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18834         (catan_test_data): New variable.
18835         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18836         (catanh_test_data): New variable.
18837         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18838         (ccos_test_data): New variable.
18839         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18840         (ccosh_test_data): New variable.
18841         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18842         (cexp_test_data): New variable.
18843         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18844         (clog_test_data): New variable.
18845         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18846         (clog10_test_data): New variable.
18847         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18848         (conj_test_data): New variable.
18849         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18850         (cproj_test_data): New variable.
18851         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18852         (csin_test_data): New variable.
18853         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18854         (csinh_test_data): New variable.
18855         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18856         (csqrt_test_data): New variable.
18857         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18858         (ctan_test_data): New variable.
18859         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18860         (ctan_tonearest_test_data): New variable.
18861         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18862         (ctan_towardzero_test_data): New variable.
18863         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18864         (ctan_downward_test_data): New variable.
18865         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18866         (ctan_upward_test_data): New variable.
18867         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18868         (ctanh_test_data): New variable.
18869         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18870         (ctanh_tonearest_test_data): New variable.
18871         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18872         (ctanh_towardzero_test_data): New variable.
18873         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18874         (ctanh_downward_test_data): New variable.
18875         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18876         (ctanh_upward_test_data): New variable.
18877         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18878         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18879         of BUILD_COMPLEX.
18880
18881         * math/libm-test.inc (struct test_ff_f_data): New type.
18882         (struct test_ff_f_data_nexttoward): Likewise.
18883         (RUN_TEST_LOOP_2_f): New macro.
18884         (RUN_TEST_LOOP_ff_f): Likewise.
18885         (atan2_test_data): New variable.
18886         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18887         (copysign_test_data): New variable.
18888         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18889         (fdim_test_data): New variable.
18890         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18891         (fmax_test_data): New variable.
18892         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18893         (fmin_test_data): New variable.
18894         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18895         (fmod_test_data): New variable.
18896         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18897         (hypot_test_data): New variable.
18898         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18899         (nextafter_test_data): New variable.
18900         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18901         (nexttoward_test_data): New variable.
18902         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18903         (pow_test_data): New variable.
18904         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18905         (pow_tonearest_test_data): New variable.
18906         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18907         (pow_towardzero_test_data): New variable.
18908         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18909         (pow_downward_test_data): New variable.
18910         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18911         (pow_upward_test_data): New variable.
18912         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18913         (remainder_test_data): New variable.
18914         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18915         (scalb_test_data): New variable.
18916         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18917         * sysdeps/i386/fpu/libm-test-ulps: Update.
18918
18919 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
18920
18921         * math/libm-test.inc (fma_test): Use max_value instead of local
18922         variable fltmax.
18923         (nextafter_test): Likewise.
18924
18925         * math/libm-test.inc (acos_towardzero_test_data): New variable.
18926         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18927         (acos_downward_test_data): New variable.
18928         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18929         (acos_upward_test_data): New variable.
18930         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18931         (acosh_test_data): New variable.
18932         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18933         (asin_test_data): New variable.
18934         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18935         (asin_tonearest_test_data): New variable.
18936         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18937         (asin_towardzero_test_data): New variable.
18938         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18939         (asin_downward_test_data): New variable.
18940         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18941         (asin_upward_test_data): New variable.
18942         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18943         (asinh_test_data): New variable.
18944         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18945         (atan_test_data): New variable.
18946         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18947         (atanh_test_data): New variable.
18948         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18949         (cbrt_test_data): New variable.
18950         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18951         (ceil_test_data): New variable.
18952         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18953         (cos_test_data): New variable.
18954         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18955         (cos_tonearest_test_data): New variable.
18956         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18957         (cos_towardzero_test_data): New variable.
18958         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18959         (cos_downward_test_data): New variable.
18960         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18961         (cos_upward_test_data): New variable.
18962         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18963         (cosh_test_data): New variable.
18964         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18965         (cosh_tonearest_test_data): New variable.
18966         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18967         (cosh_towardzero_test_data): New variable.
18968         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18969         (cosh_downward_test_data): New variable.
18970         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18971         (cosh_upward_test_data): New variable.
18972         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18973         (erf_test_data): New variable.
18974         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18975         (erfc_test_data): New variable.
18976         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18977         (exp_test_data): New variable.
18978         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18979         (exp_tonearest_test_data): New variable.
18980         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18981         (exp_towardzero_test_data): New variable.
18982         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18983         (exp_downward_test_data): New variable.
18984         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18985         (exp_upward_test_data): New variable.
18986         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18987         (exp10_test_data): New variable.
18988         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18989         (exp2_test_data): New variable.
18990         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18991         (expm1_test_data): New variable.
18992         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18993         (fabs_test_data): New variable.
18994         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18995         (floor_test_data): New variable.
18996         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18997         (j0_test_data): New variable.
18998         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18999         (j1_test_data): New variable.
19000         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19001         (log_test_data): New variable.
19002         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19003         (log10_test_data): New variable.
19004         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19005         (log1p_test_data): New variable.
19006         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19007         (log2_test_data): New variable.
19008         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19009         (logb_test_data): New variable.
19010         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19011         (logb_downward_test_data): New variable.
19012         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19013         (nearbyint_test_data): New variable.
19014         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19015         (rint_test_data): New variable.
19016         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19017         (rint_tonearest_test_data): New variable.
19018         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19019         (rint_towardzero_test_data): New variable.
19020         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19021         (rint_downward_test_data): New variable.
19022         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19023         (rint_upward_test_data): New variable.
19024         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19025         (round_test_data): New variable.
19026         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19027         (sin_test_data): New variable.
19028         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19029         (sin_tonearest_test_data): New variable.
19030         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19031         (sin_towardzero_test_data): New variable.
19032         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19033         (sin_downward_test_data): New variable.
19034         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19035         (sin_upward_test_data): New variable.
19036         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19037         (sinh_test_data): New variable.
19038         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19039         (sinh_tonearest_test_data): New variable.
19040         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19041         (sinh_towardzero_test_data): New variable.
19042         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19043         (sinh_downward_test_data): New variable.
19044         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19045         (sinh_upward_test_data): New variable.
19046         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19047         (sqrt_test_data): New variable.
19048         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19049         (tan_test_data): New variable.
19050         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19051         (tan_tonearest_test_data): New variable.
19052         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19053         (tan_towardzero_test_data): New variable.
19054         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19055         (tan_downward_test_data): New variable.
19056         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19057         (tan_upward_test_data): New variable.
19058         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19059         (tanh_test_data): New variable.
19060         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19061         (tgamma_test_data): New variable.
19062         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19063         (trunc_test_data): New variable.
19064         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19065         (y0_test_data): New variable.
19066         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19067         (y1_test_data): New variable.
19068         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19069         (significand_test_data): New variable.
19070         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19071
19072 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19073
19074         [BZ #12387]
19075         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19076
19077 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19078
19079         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19080
19081 2013-05-10  Andreas Jaeger  <aj@suse.de>
19082
19083         [BZ #15448]
19084         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19085         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19086
19087 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19088
19089         * math/gen-libm-test.pl (adjust_arg): New function.
19090         (special_functions): Handle generating output in both functions
19091         and arrays.
19092         (parse_args): Likewise.
19093         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19094         $in_func argument to parse_args.
19095         * math/libm-test.inc (struct test_f_f_data): New type.
19096         (IF_ROUND_INIT_): New macro.
19097         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19098         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19099         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19100         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19101         (ROUND_RESTORE_): Likewise.
19102         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19103         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19104         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19105         (ROUND_RESTORE_FE_UPWARD): Likewise.
19106         (RUN_TEST_LOOP_f_f): New macro.
19107         (acos_test_data): New variable.
19108         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19109         (acos_tonearest_test_data): New variable.
19110         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19111
19112 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19113
19114         * benchtests/bench-skeleton.c (startup): Fix coding style.
19115
19116 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19117
19118         [BZ #6809]
19119         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19120         negative infinity argument.
19121         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19122         negative infinity argument.
19123         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19124         negative infinity argument.
19125         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19126         domain errors.
19127
19128 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19129
19130         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19131         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19132         * iconv/iconv_prog.c (main): Likewise.
19133         * locale/programs/charmap-dir.c (charmap_readdir)
19134         (fopen_uncompressed): Likewise.
19135         * locale/programs/locfile.c (siblings_uncached)
19136         (write_locale_data): Use lstat64 instead of lstat.
19137         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19138         stat.
19139
19140 2013-05-10  Andreas Jaeger  <aj@suse.de>
19141
19142         [BZ #15395]
19143         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19144         localization.
19145         Include <locale.h>.
19146
19147 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19148
19149         * elf/dl-close.c (_dl_close_worker): Add comments.
19150
19151 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19152
19153         [BZ #15359]
19154         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19155         high part of pi/2.
19156         (__ieee754_rem_pio2l): Update comments.
19157
19158         [BZ #15429]
19159         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19160         high part of pi/2.
19161         (__ieee754_rem_pio2l): Update comments.
19162
19163         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19164         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19165
19166         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19167         M_PI_4l.
19168
19169         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19170         (M_PI_34_LOG10El): Likewise.
19171         (M_PI2_LOG10El): Likewise.
19172         (M_PI4_LOG10El): Likewise.
19173         (M_PI_LOG10El): Likewise.
19174
19175 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19176
19177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19178
19179 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19180
19181         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19182         (MINUS_ZERO_INIT): Likewise.
19183         (PLUS_INFTY_INIT): Likewise.
19184         (MINUS_INFTY_INIT): Likewise.
19185         (QNAN_VALUE_INIT): Likewise.
19186         (MAX_VALUE_INIT): Likewise.
19187         (MIN_VALUE_INIT): Likewise.
19188         (MIN_SUBNORM_VALUE_INIT): Likewise.
19189         (plus_zero): Initialize with PLUS_ZERO_INIT.
19190         (minus_zero): Initialize with MINUS_ZERO_INIT.
19191         (plus_infty): Initialize with PLUS_INFTY_INIT.
19192         (minus_infty): Initialize with MINUS_INFTY_INIT.
19193         (qnan_value): Initialize with QNAN_VALUE_INIT.
19194         (max_value): Initialize with MAX_VALUE_INIT.
19195         (min_value): Initialize with MIN_VALUE_INIT.
19196         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19197
19198         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19199         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19200         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19201         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19202
19203         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19204         (RUN_TEST_2_f): Likewise.
19205         (RUN_TEST_ff_f): Likewise.
19206         (RUN_TEST_fi_f): Likewise.
19207         (RUN_TEST_fl_f): Likewise.
19208         (RUN_TEST_fff_f): Likewise.
19209         (RUN_TEST_c_f): Likewise.
19210         (RUN_TEST_f_f1): Likewise.
19211         (RUN_TEST_fF_f1): Likewise.
19212         (RUN_TEST_fI_f1): Likewise.
19213         (RUN_TEST_ffI_f1): Likewise.
19214         (RUN_TEST_c_c): Likewise.
19215         (RUN_TEST_cc_c): Likewise.
19216         (RUN_TEST_f_i): Likewise.
19217         (RUN_TEST_f_i_tg): Likewise.
19218         (RUN_TEST_ff_i_tg): Likewise.
19219         (RUN_TEST_f_b): Likewise.
19220         (RUN_TEST_f_b_tg): Likewise.
19221         (RUN_TEST_f_l): Likewise.
19222         (RUN_TEST_f_L): Likewise.
19223         (RUN_TEST_sincos): Likewise.
19224         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19225         whether to show exceptions.  Do not include ");\n" in return
19226         value.
19227         (special_functions): Output call to RUN_TEST_sincos instead of
19228         check_float calls.  Update calls to new_test.
19229         (parse_args): Output call to single RUN_TEST_* macro instead of
19230         check_* calls and other assignments.  Update calls to new_test.
19231
19232         [BZ #2546]
19233         [BZ #2560]
19234         [BZ #5159]
19235         [BZ #15426]
19236         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19237         input to result for tgamma overflow.
19238         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19239         (gamma_coeff): New variable.
19240         (NCOEFF): New macro.
19241         (gamma_positive): New function.
19242         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19243         underflow here.  Use gamma_positive instead of exp (lgamma) for
19244         other arguments.
19245         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19246         (gamma_coeff): New variable.
19247         (NCOEFF): New macro.
19248         (gammaf_positive): New function.
19249         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19250         underflow here.  Use gamma_positive instead of exp (lgamma) for
19251         other arguments.
19252         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19253         (gamma_coeff): New variable.
19254         (NCOEFF): New macro.
19255         (gammal_positive): New function.
19256         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19257         underflow here.  Use gamma_positive instead of exp (lgamma) for
19258         other arguments.
19259         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19260         (gamma_coeff): New variable.
19261         (NCOEFF): New macro.
19262         (gammal_positive): New function.
19263         (__ieee754_gammal_r): Handle positive infinity, overflow and
19264         underflow here.  Handle NaN the same as positive infinity.  Remove
19265         check x < 0xffffffff for negative integers.  Use gamma_positive
19266         instead of exp (lgamma) for other arguments.
19267         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19268         (gamma_coeff): New variable.
19269         (NCOEFF): New macro.
19270         (gammal_positive): New function.
19271         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19272         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19273         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19274         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19275         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19276         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19277         * sysdeps/generic/math_private.h (__gamma_productf): New
19278         prototype.
19279         (__gamma_product): Likewise.
19280         (__gamma_productl): Likewise.
19281         * math/Makefile (libm-calls): Add gamma_product.
19282         * math/libm-test.inc (tgamma_test): Add more tests.
19283         * sysdeps/i386/fpu/libm-test-ulps: Update.
19284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19285
19286 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
19287
19288         * benchtests/bench-skeleton.c (main): Preheat CPU.
19289
19290 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
19291
19292         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19293
19294 2013-05-07  Roland McGrath  <roland@hack.frob.com>
19295
19296         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19297         and _dl_skip_args_internal.
19298
19299 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
19300
19301         * manual/message.texi (Message Translation): Talk about users.
19302         Message to key mapping impacts design.
19303
19304 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19305
19306         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19307
19308         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19309
19310         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19311         * sysdeps/wordsize-64/glob64.c: ... here.
19312
19313         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19314         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19315         New macros.
19316
19317         * debug/getlogin_r_chk.c: Moved to ...
19318         * login/getlogin_r_chk.c: ... here.
19319         * debug/Makefile (routines): Move getlogin_r_chk to ...
19320         * login/Makefile (routines): ... here.
19321         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19322         * login/Versions (libc: GLIBC_2.4): ... here.
19323
19324         * io/poll.c (__poll): Renamed from poll.
19325         Add libc_hidden_def.
19326         (poll): Define as weak alias.
19327
19328         * debug/ptsname_r_chk.c: Moved to ...
19329         * login/ptsname_r_chk.c: ... here.
19330         * debug/Makefile (routines): Move ptsname_r_chk to ...
19331         * login/Makefile (routines): ... here.
19332         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19333         * login/Versions (libc: GLIBC_2.4): ... here.
19334
19335         * posix/getlogin.c: Moved to ...
19336         * login/getlogin.c: ... here.
19337         * posix/getlogin_r.c: Moved to ...
19338         * login/getlogin_r.c: ... here.
19339         * posix/getlogin_r.c: Moved to ...
19340         * login/getlogin_r.c: ... here.
19341         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19342         * login/Makefile (routines): ... here.
19343         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19344         * login/Versions (libc: GLIBC_2.0): ... here.
19345
19346         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19347         (setrlimit): Define as weak alias.
19348
19349         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19350         Call __ names for open, ftruncate, and close.
19351         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19352         (truncate): Define as weak alias.
19353
19354 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
19355
19356         * math/gen-libm-test.pl (parse_args): Initialize x before each
19357         test of frexp, modf and remquo.
19358
19359         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19360         test signgam value.
19361
19362 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19363
19364         [BZ #15418]
19365         [BZ #15419]
19366         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19367         internal tests.
19368         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19369
19370 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19371
19372         * elf/dl-writev.h: New file.
19373         * elf/dl-misc.c: Include it.
19374         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19375         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19376
19377 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
19378
19379         * math/libm-test.inc (noXFails): Remove variable.
19380         (noXPasses): Likewise.
19381         (BUILD_COMPLEX_INT): Remove macro.
19382         (print_screen): Remove xfail argument.
19383         (print_screen_max_error): Likewise.
19384         (update_stats): Likewise.
19385         (print_max_error): Likewise.  Update calls to other affected
19386         functions.
19387         (print_complex_max_error): Likewise.
19388         (test_single_exception): Update calls to print_screen.
19389         (test_single_errno): Likewise.
19390         (check_float_internal): Remove xfail argument.  Update calls to
19391         other affected functions.
19392         (check_float): Likewise.
19393         (check_complex): Likewise.
19394         (check_int): Likewise.
19395         (check_long): Likewise.
19396         (check_bool): Likewise.
19397         (check_longlong): Likewise.
19398         (main): Don't print noXFails and noXPasses.
19399         * math/gen-libm-test.pl (top level): Don't mention expected
19400         failure handling in comment.
19401         (new_test): Don't handle expected failures.
19402         (parse_args): Don't mention expected failure handling in comment.
19403         (generate_testfile): Don't handle expected failures.
19404         (parse_ulps): Likewise.
19405         (print_ulps_file): Likewise.
19406         (get_failure): Remove function.
19407         (output_test): Don't handle expected failures.
19408         * make/README.libm-test: Don't mention expected failure handling.
19409
19410         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
19411         (minus_zero): Likewise.
19412         (plus_infty): Likewise.
19413         (minus_infty): Likewise.
19414         (qnan_value): Likewise.
19415         (max_value): Likewise.
19416         (min_value): Likewise.
19417         (min_subnorm_value): Likewise.
19418         (initialize): Do not initialize those variables dynamically.
19419
19420 2013-05-03  Roland McGrath  <roland@hack.frob.com>
19421
19422         * io/open.c (__open_2): Moved to ...
19423         * io/open_2.c: ... this new file.
19424         * io/open64.c (__open64_2): Moved to ...
19425         * io/open64_2.c: ... this new file.
19426         * io/openat.c (__openat_2): Moved to ...
19427         * io/openat_2.c: ... this new file.
19428         * io/openat64.c (__openat64_2): Moved to ...
19429         * io/openat64_2.c: ... this new file.
19430         * io/Makefile (routines): Add them.
19431         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19432         * sysdeps/unix/sysv/linux/open_2.c: File removed.
19433         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19434         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19435         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19436         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19437         (__openat64): Add hidden_ver.
19438         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19439         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19440
19441         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19442         Separately conditionalize setting of GLRO(dl_sysinfo) so
19443         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19444         as well, but the actual setting is only under [NEED_DL_SYSINFO].
19445
19446 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19447
19448         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19449         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19450         definition.
19451         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19452         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19453         (_libc_vdso_platform_setup): Add __vdso_time initialization.
19454         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19455         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19456
19457 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
19458
19459         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19460         test signgam value.
19461
19462         * math/libm-test.inc (hypot_test): Do not use
19463         IGNORE_ZERO_INF_SIGN.
19464
19465 2013-05-03  Andreas Jaeger  <aj@suse.de>
19466
19467         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19468         Linux 3.9.
19469         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19470         (PF_MAX): Adjust for VSOCK change.
19471
19472 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19473
19474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19475
19476 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
19477
19478         [BZ #15264]
19479         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19480         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19481         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19482
19483 2013-05-02  David S. Miller  <davem@davemloft.net>
19484
19485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19486
19487 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
19488
19489         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19490
19491 2013-05-01  Roland McGrath  <roland@hack.frob.com>
19492
19493         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19494
19495 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
19496
19497         [BZ #14952]
19498         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19499         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19500         Use __attribute__ ((__gnu_inline__)).
19501         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19502         Don't use __attribute__ ((__gnu_inline__)).
19503
19504 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
19505
19506         [BZ #15423]
19507         * math/s_catan.c (__catan): Handle small real or imaginary part of
19508         input specially to avoid spurious underflow.
19509         * math/s_catanf.c (__catanf): Likewise.
19510         * math/s_catanh.c (__catanh): Likewise.
19511         * math/s_catanhf.c (__catanhf): Likewise.
19512         * math/s_catanhl.c (__catanhl): Likewise.
19513         * math/s_catanl.c (__catanl): Likewise.
19514         * math/libm-test.inc (catan_test): Add more tests.
19515         (catanh_test): Likewise.
19516         * sysdeps/i386/fpu/libm-test-ulps: Update.
19517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19518
19519 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19520
19521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19522
19523 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
19524
19525         [BZ #15416]
19526         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19527         accurately for denominator in atan2.
19528         * math/s_catanf.c (__catanf): Likewise.
19529         * math/s_catanh.c (__catanh): Likewise.
19530         * math/s_catanhf.c (__catanhf): Likewise.
19531         * math/s_catanhl.c (__catanhl): Likewise.
19532         * math/s_catanl.c (__catanl): Likewise.
19533         * math/libm-test.inc (catan_test): Add more tests.
19534         (catanh_test): Likewise.
19535         * sysdeps/i386/fpu/libm-test-ulps: Update.
19536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19537
19538 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19539
19540         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19541
19542         * benchtests/Makefile (bench): Remove slow benchmarks.
19543         * benchtests/atan-inputs: Add slow benchmark inputs.
19544         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19545         (BENCH_FUNC): Accept variant offset.
19546         (VARIANT): Define.
19547         * benchtests/bench-skeleton.c (main): Run benchmark for each
19548         variant.
19549         * benchtests/cos-inputs: Add slow benchmark inputs.
19550         * benchtests/exp-inputs: Likewise.
19551         * benchtests/pow-inputs: Likewise.
19552         * benchtests/sin-inputs: Likewise.
19553         * benchtests/slowatan-inputs: Remove.
19554         * benchtests/slowatan.c: Remove.
19555         * benchtests/slowcos-inputs: Remove.
19556         * benchtests/slowcos.c: Remove.
19557         * benchtests/slowexp-inputs: Remove.
19558         * benchtests/slowexp.c: Remove.
19559         * benchtests/slowpow-inputs: Remove.
19560         * benchtests/slowpow.c: Remove.
19561         * benchtests/slowsin-inputs: Remove.
19562         * benchtests/slowsin.c: Remove.
19563         * benchtests/slowtan-inputs: Remove.
19564         * benchtests/slowtan.c: Remove.
19565         * benchtests/tan-inputs: Add slow benchmark inputs.
19566         * scripts/bench.pl: Parse comments and directives.
19567
19568         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
19569         in CPPFLAGS.
19570         ($(objpfx)bench-%.c): Remove *-ITER.
19571         * benchtests/bench-modf.c: Remove definition of ITER.
19572         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19573         (main): Loop for DURATION seconds instead of fixed number of
19574         iterations.
19575         * scripts/bench.pl: Don't expect iterations in parameters.
19576
19577 2013-04-29  Roland McGrath  <roland@hack.frob.com>
19578
19579         * io/fchdir.c (__fchdir): Renamed from fchdir.
19580         (fchdir): Define as weak alias.
19581
19582 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19583
19584         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19585         (ERRNO_EDOM): Likewise.
19586         (ERRNO_ERANGE): Likewise.
19587         (noErrnoTests): New variable.
19588         (init_max_error): Set errno to 0.
19589         (test_single_errno): New function.
19590         (test_errno): Likewise.
19591         (check_float_internal): Call test_errno.  Set errno to 0.
19592         (check_complex): Refer to errno tests in comment.
19593         (check_int): Call test_errno.  Set errno to 0.
19594         (check_long): Likewise.
19595         (check_bool): Likewise.
19596         (check_longlong): Likewise.
19597         (cos_test): Use ERRNO_* flags for errno tests instead of
19598         check_int.
19599         (expm1_test): Likewise.
19600         (fmod_test): Likewise.
19601         (ilogb_test): Likewise.
19602         (lgamma_test): Likewise.
19603         (pow_test): Likewise.
19604         (remainder_test): Likewise.
19605         (sin_test): Likewise.
19606         (tan_test): Likewise.
19607         (yn_test): Likewise.
19608         (initialize): Set errno to 0.
19609         (main): Print number of errno tests.
19610         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19611
19612 2013-04-29  Andreas Jaeger  <aj@suse.de>
19613
19614         [BZ #15084]
19615         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19616         and RES_USEVC.
19617
19618         [BZ #15085]
19619         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19620         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19621         unimplemented.
19622
19623         [BZ #15380]
19624         * stdlib/random.c (__initstate): Return NULL if
19625         __initstate fails.
19626
19627         [BZ #15086]
19628         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19629         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19630         RES_SNGLKUPREOP.
19631
19632 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19633
19634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19635
19636 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19637
19638         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19639         of individual tests.
19640         (casin_test): Likewise.
19641         (casinh_test): Likewise.
19642
19643 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
19644
19645         [BZ #15409]
19646         * math/s_catan.c (__catan): Handle arguments with large real or
19647         imaginary part separately without squaring.
19648         * math/s_catanf.c (__catanf): Likewise.
19649         * math/s_catanh.c (__catanh): Likewise.
19650         * math/s_catanhf.c (__catanhf): Likewise.
19651         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19652         and redefine.
19653         (__catanhl): Handle arguments with large real or imaginary part
19654         separately without squaring.
19655         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19656         and redefine.
19657         (__catanl): Handle arguments with large real or imaginary part
19658         separately without squaring.
19659         * math/libm-test.inc (catan_test): Add more tests.
19660         (catanh_test): Likewise.
19661         * sysdeps/i386/fpu/libm-test-ulps: Update.
19662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19663
19664 2013-04-27  Andreas Jaeger  <aj@suse.de>
19665
19666         [BZ #15007]
19667         * stdlib/stdlib.h: Update guards for qecvt.
19668         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19669         <stdlib.h>.
19670
19671 2013-04-27  Allan McRae  <allan@archlinux.org>
19672
19673         * sysdeps/i386/fpu/libm-test-ulps: Update.
19674
19675 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
19676
19677         [BZ #15406]
19678         * math/s_catan.c: Include <float.h>.
19679         (__catan): Ensure underflow exception occurs for underflowed
19680         result.
19681         * math/s_catanf.c: Include <float.h>.
19682         (__catanf): Ensure underflow exception occurs for underflowed
19683         result.
19684         * math/s_catanh.c: Include <float.h>.
19685         (__catanh): Ensure underflow exception occurs for underflowed
19686         result.
19687         * math/s_catanhf.c: Include <float.h>.
19688         (__catanhf): Ensure underflow exception occurs for underflowed
19689         result.
19690         * math/s_catanhl.c: Include <float.h>.
19691         (__catanhl): Ensure underflow exception occurs for underflowed
19692         result.
19693         * math/s_catanl.c: Include <float.h>.
19694         (__catanl): Ensure underflow exception occurs for underflowed
19695         result.
19696         * math/libm-test.inc (catan_test): Add more tests.
19697         (catanh_test): Likewise.
19698
19699         [BZ #15405]
19700         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19701         underflowed result.
19702         * math/s_ccoshf.c (__ccoshf): Likewise.
19703         * math/s_ccoshl.c (__ccoshl): Likewise.
19704         * math/s_csin.c (__csin): Likewise.
19705         * math/s_csinf.c (__csinf): Likewise.
19706         * math/s_csinh.c (__csinh): Likewise.
19707         * math/s_csinhf.c (__csinhf): Likewise.
19708         * math/s_csinhl.c (__csinhl): Likewise.
19709         * math/s_csinl.c (__csinl): Likewise.
19710         * math/libm-test.inc (ccos_test): Add more tests.
19711         (ccosh_test): Likewise.
19712         (csin_test): Likewise.
19713         (csinh_test): Likewise.
19714
19715 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19716
19717         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19718         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19719         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19720         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19721         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19722         powerpc/power5+/fpu folders.
19723         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19724
19725
19726 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19727
19728         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19729
19730 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
19731
19732         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19733         additions to variable.
19734         [$(config-machine) = x86_64] (modules-names): Likewise.
19735         ($(objpfx)tst-audit3): Remove dependency.
19736         ($(objpfx)tst-audit3.out): Likewise.
19737         ($(objpfx)tst-audit4): Likewise.
19738         ($(objpfx)tst-audit4.out): Likewise.
19739         ($(objpfx)tst-audit5): Likewise.
19740         ($(objpfx)tst-audit5.out): Likewise.
19741         ($(objpfx)tst-audit6): Likewise.
19742         ($(objpfx)tst-audit6.out): Likewise.
19743         ($(objpfx)tst-audit7): Likewise.
19744         ($(objpfx)tst-audit7.out): Likewise.
19745         (tst-audit3-ENV): Remove variable.
19746         (tst-audit4-ENV): Likewise.
19747         (tst-audit5-ENV): Likewise.
19748         (tst-audit6-ENV): Likewise.
19749         (tst-audit7-ENV): Likewise.
19750         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19751         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19752         addition to variable.
19753         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19754         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19755         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19756         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19757         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19758         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19759         tst-audit3, tst-audit4 and tst-audit5.
19760         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19761         tst-audit6 and tst-audit7.
19762         [$(subdir) = elf] (modules-names): Add audit modules for those
19763         tests.
19764         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19765         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19766         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19767         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19768         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19769         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19770         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19771         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19772         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19773         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19774         [$(subdir) = elf] (tst-audit3-ENV): New variable.
19775         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19776         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19777         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19778         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19779         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19780         Likewise.
19781         [$(subdir) = elf && $(config-cflags-avx) = yes]
19782         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19783         [$(subdir) = elf && $(config-cflags-avx) = yes]
19784         (CFLAGS-tst-auditmod4a.c): Likewise.
19785         [$(subdir) = elf && $(config-cflags-avx) = yes]
19786         (CFLAGS-tst-auditmod4b.c): Likewise.
19787         [$(subdir) = elf && $(config-cflags-avx) = yes]
19788         (CFLAGS-tst-auditmod6b.c): Likewise.
19789         [$(subdir) = elf && $(config-cflags-avx) = yes]
19790         (CFLAGS-tst-auditmod6c.c): Likewise.
19791         [$(subdir) = elf && $(config-cflags-avx) = yes]
19792         (CFLAGS-tst-auditmod7b.c): Likewise.
19793         * elf/tst-audit3.c: Move to ...
19794         * sysdeps/x86_64/tst-audit3.c: ... here.
19795         * elf/tst-audit4.c: Move to ...
19796         * sysdeps/x86_64/tst-audit4.c: ... here.
19797         * elf/tst-audit5.c: Move to ...
19798         * sysdeps/x86_64/tst-audit5.c: ... here.
19799         * elf/tst-audit6.c: Move to ...
19800         * sysdeps/x86_64/tst-audit6.c: ... here.
19801         * elf/tst-audit7.c: Move to ...
19802         * sysdeps/x86_64/tst-audit7.c: ... here.
19803         * elf/tst-auditmod3a.c: Move to ...
19804         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19805         * elf/tst-auditmod3b.c: Move to ...
19806         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19807         * elf/tst-auditmod4a.c: Move to ...
19808         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19809         * elf/tst-auditmod4b.c: Move to ...
19810         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19811         * elf/tst-auditmod5a.c: Move to ...
19812         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19813         * elf/tst-auditmod5b.c: Move to ...
19814         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19815         * elf/tst-auditmod6a.c: Move to ...
19816         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19817         * elf/tst-auditmod6b.c: Move to ...
19818         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19819         * elf/tst-auditmod6c.c: Move to ...
19820         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19821         * elf/tst-auditmod7a.c: Move to ...
19822         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19823         * elf/tst-auditmod7b.c: Move to ...
19824         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19825
19826 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
19827
19828         [BZ #15366]
19829         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19830         define unconditionally.
19831         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19832         define unconditionally.
19833         (INT8_C, INT16_C, etc.): Likewise.
19834
19835 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
19836
19837         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19838         __ehdr_start with hidden visibility.
19839
19840         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19841
19842 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
19843
19844         * math/libm-test.inc (cos_test): Use accurate hex constants.
19845         (sincost_test): Likewise.
19846
19847 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
19848
19849         * math/libm-test.inc (catan_test): Add more tests.
19850         (catanh_test): Likewise.
19851
19852         * math/s_catanf.c (__catanf): Use suffixed floating-point
19853         constants.
19854         * math/s_catanhf.c (__catanhf): Likewise.
19855         * math/s_catanhl.c (__catanhl): Likewise.
19856         * math/s_catanl.c (__catanl): Likewise.
19857
19858         [BZ #15394]
19859         * math/s_catan.c (__catan): Calculate imaginary part of result
19860         with log1p not log unless computing log of number close to 0.
19861         * math/s_catanf.c (__catanf): Likewise.
19862         * math/s_catanl.c (__catanl): Likewise.
19863         * math/s_catanh.c (__catanh): Calculate real part of result with
19864         log1p not log unless computing log of number close to 0.
19865         * math/s_catanhf.c (__catanhf): Likewise.
19866         * math/s_catanhl.c (__catanhl): Likewise.
19867         * math/libm-test.inc (catan_test): Add more tests.
19868         (catanh_test): Likewise.
19869         * sysdeps/i386/fpu/libm-test-ulps: Update.
19870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19871
19872 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19873
19874         * benchtests/Makefile: Mention files in which fast and slow
19875         paths of math functions are implemented.
19876
19877 2013-04-23  Roland McGrath  <roland@hack.frob.com>
19878
19879         * sysdeps/posix/timespec_get.c: New file.
19880
19881 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19882
19883         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19884         POWER.
19885         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19886         for POWER.
19887         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19888         powerpc/power5/fpu folders.
19889         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19890         * benchtests/Makefile: Add modf testcase.
19891         * benchtests/bench-modf.c: New file: Benchmark test for mo
19892
19893 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19894
19895         [BZ #14888]
19896         * time/Makefile (tests): Add tst-strptime-whitespace.
19897         * time/strptime_l.c (get_number): Use ISSPACE.
19898         (__strptime_internal): Likewise.
19899         * time/tst-strptime-whitespace.c: New test case.
19900
19901 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
19902
19903         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19904         member.
19905         (_nss_files_init): Set it here.
19906
19907 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
19908
19909         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19910         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19911         unsigned.
19912
19913 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
19914
19915         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19916
19917 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19918
19919         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19920         size just once.
19921
19922 2013-04-21  David S. Miller  <davem@davemloft.net>
19923
19924         * po/ru.po: Update Russion translation from translation project.
19925
19926 2013-04-17  Adam Conrad  <adconrad@0c3.net>
19927
19928         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19929         and setfsgid.
19930
19931 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
19932
19933         * configure.in: Remove i386 configure warning. Remove i386 case.
19934         * configure: Regenerate.
19935         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19936         Add example to error message.
19937         * sysdeps/i386/configure: Regenerate.
19938
19939 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19940
19941         * benchtests/Makefile (bench): Add cos, tan, slowcos and
19942         slowtan.
19943         * benchtests/cos-inputs: New file.
19944         * benchtests/slowcos-inputs: New file.
19945         * benchtests/slowcos.c: New file.
19946         * benchtests/slowtan-inputs: New file.
19947         * benchtests/slowtan.c: New file.
19948         * benchtests/tan-inputs: New file.
19949
19950 2013-04-16  Roland McGrath  <roland@hack.frob.com>
19951
19952         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19953         considered kosher.
19954
19955 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19956
19957         * benchtests/Makefile: Include cppflags-iterator.mk to add
19958         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19959
19960         * Makefile.in (bench-clean): New target.
19961         * benchtests/Makefile (bench-clean): Likewise.
19962
19963 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
19964
19965         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19966
19967 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
19968
19969         * stdio-common/tstdiomisc.c: Fix coding-style violation.
19970
19971 2013-04-15  Andreas Schwab  <schwab@suse.de>
19972
19973         * nscd/grpcache.c (cache_addgr): Properly check for short write.
19974         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19975         * nscd/pwdcache.c (cache_addpw): Likewise.
19976         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
19977         more than recsize.
19978
19979 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19980
19981         * benchtests/Makefile (bench): Write all output to
19982         bench-out.tmp together.
19983
19984 2013-04-15  Andreas Schwab  <schwab@suse.de>
19985
19986         * nscd/nscd.c (main): Don't fork again after closing files.
19987
19988 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19989
19990         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19991
19992         * benchtests/Rules (bench-deps): Collect dependencies into a
19993         single variable.  Add Makefile to dependencies.
19994         ($(objpfx)bench-%.c): Depend on bench-deps.
19995
19996 2013-04-12  Roland McGrath  <roland@hack.frob.com>
19997             Xavier Roche  <roche+kml2@exalead.com>
19998
19999         [BZ #15361]
20000         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20001         just that it's a file descriptor.
20002         * manual/llio.texi (Synchronizing AIO Operations): Update description
20003         for EBADF error from aio_fsync.
20004
20005 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20006
20007         * Rules (bench): Move target definition...
20008         * benchtests/Makefile: ... here.
20009
20010 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20011
20012         * math/libm-test.inc (cos_test): Fix PI/2 test.
20013         (sincos_test): Likewise.
20014         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20015         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20016
20017 2013-04-11  Andreas Schwab  <schwab@suse.de>
20018
20019         [BZ #13988]
20020         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20021         accept exponent character only when digits were seen.
20022         * stdio-common/Makefile (tests): Add bug26.
20023         * stdio-common/bug26.c: New file.
20024
20025         [BZ #14293]
20026         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20027         non-freeable.
20028
20029 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20030
20031         * Makeconfig (rtld-prefix): Define built linker prefix.
20032         * Rules (run-bench): Use it.
20033         * math/Makefile (run-regen-ulps): Likewise.
20034
20035         * Rules (bench): Remove eval.
20036
20037 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20038             Roland McGrath  <roland@hack.frob.com>
20039             Ondrej Bilka  <neleai@seznam.cz>
20040
20041         [BZ #15346]
20042         * time/getdate.c: Include ctype.h and alloca.h.
20043         (__getdate_r): Trim leading and trailing spaces of input.
20044         * time/tst-getdate.c (tests): Add tests with leading and
20045         trailing spaces.
20046
20047 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20048
20049         [BZ #14280]
20050         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20051         when computing value.
20052
20053 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20054
20055         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20056         Use testrun.sh to run libm tests.
20057
20058         [BZ #15309]
20059         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20060
20061 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20062
20063         [BZ #15264]
20064         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20065
20066 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20067
20068         * Makefile.in (regen-ulps): New target.
20069         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20070         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20071         [ifneq (no,$(PERL)] (regen-ulps): New target.
20072         [ifeq (no,$(PERL)] (regen-ulps): New target.
20073         * math/libm-test.inc (ulps_file_name): Define.
20074         (output_dir): New variable.
20075         (options): Add "output-dir" option.
20076         (parse_opt): Handle 'o' case.
20077         (main): If output_dir is non-NULL use it as a prefix
20078         otherwise use "".
20079         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20080
20081 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20082
20083         [BZ #10060, #10062]
20084         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20085         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20086         fail configure if __sync_val_compare_and_swap is not inlined.
20087         * sysdeps/i386/configure: Regenerate.
20088         * configure.in: Build for i686 when configured for i386.
20089         * configure: Regenerate.
20090         * README: Remove i386 reference.
20091
20092 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20093
20094         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20095         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20096
20097 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20098
20099         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20100         (lmsnanval): New variables.
20101         (F): Add conversion tests.
20102         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20103         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20104
20105         * stdio-common/tstdiomisc.c (F): Properly collect individual
20106         tests' results.
20107
20108         [BZ #14686, #15336]
20109         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20110         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20111         Instead, use input NaN values or generate a qNaN by arithmetic
20112         operation.  Also fix bugs to comply with the standard.
20113         * math/libm-test.inc (remainder_test): Add more tests.
20114
20115         [BZ #15335, #15342]
20116         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20117         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20118         input NaN values or generate a qNaN by arithmetic operation.
20119
20120         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20121         unreachable code.
20122
20123         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20124         definitions.
20125
20126 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20127
20128         [BZ #14478]
20129         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20130         underflowed result.
20131         * math/s_cexpf.c (__cexpf): Likewise.
20132         * math/s_cexpl.c (__cexpl): Likewise.
20133         * math/libm-test.inc (cexp_test): Add more tests.
20134
20135 2013-04-03  Andreas Schwab  <schwab@suse.de>
20136
20137         [BZ #15330]
20138         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20139         order arrays from heap if bigger than alloca cutoff.
20140
20141 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20142
20143         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20144         (SNAN_TESTS_double): Refer to GCC PR56831.
20145         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20146         GCC PR56828.
20147
20148 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20149
20150         * Rules (bench): Move bench.out after the run is complete.
20151
20152         * Rules (bench): Echo currently running benchmark.
20153
20154         * benchtests/Makefile (bench): Add atan and slowatan.
20155         * benchtests/atan-inputs: New file.
20156         * benchtests/slowatan-inputs: New file.
20157         * benchtests/slowatan.c: New file.
20158
20159         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20160         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20161         its value.
20162
20163         [BZ #15305]
20164         * sysdeps/unix/sysv/linux/kernel-features.h
20165         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20166         __ASSUME_XFS_RESTRICTED_CHOWN.
20167         * sysdeps/unix/sysv/linux/pathconf.c
20168         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20169         Save and restore errno.
20170
20171 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20172
20173         [BZ #15327]
20174         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20175         arguments using __kernel_casinh.
20176         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20177         arguments using __kernel_casinhf.
20178         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20179         arguments using __kernel_casinhl.
20180         * math/libm-test.inc (cacosh_test): Add more tests.
20181         * sysdeps/i386/fpu/libm-test-ulps: Update.
20182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20183
20184 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20185
20186         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20187         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20188
20189         * bench/Makefile (bench): Add sin and slowsin.
20190         * benchtests/sin-inputs: New file.
20191         * benchtests/slowsin-inputs: New file.
20192         * benchtests/slowsin.c: New file.
20193
20194         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20195         (bench): Add slowexp and slowpow.
20196         (exp-ITER): Increase iterations.
20197         (pow-ITER): Likewise.
20198         * benchtests/exp-inputs: Change input.
20199         * benchtests/pow-inputs: Likewise.
20200         * benchtests/slowexp-inputs: New file.
20201         * benchtests/slowexp.c: New file.
20202         * benchtests/slowpow-inputs: New file.
20203         * benchtests/slowpow.c: New file.
20204
20205 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20206
20207         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20208         instructions.
20209         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20210         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20211         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20212         * benchtests/Makefile: Add rint benchtest.
20213         * benchtests/rint-inputs: Input for rint benchtest.
20214
20215 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20216
20217         * Versions.def (libm): Add GLIBC_2.18.
20218         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20219         hidden libm prototypes.
20220         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20221         * math/Makefile (libm-calls): Add s_issignaling.
20222         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20223         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20224         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20225         declaration.
20226         * math/math.h [__USE_GNU] (issignaling): New macro.
20227         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20228         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20229         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20230         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20231         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20232         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20233         * manual/arith.texi (issignaling): New section.
20234         * manual/libm-err-tab.pl (@all_functions): Update comment.
20235         * math/gen-libm-test.pl (parse_args): Apply special handling for
20236         issignaling.
20237         * math/libm-test.inc (print_float, issignaling_test): New
20238         functions.
20239         (check_float_internal): Add issignaling checks.
20240         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20241         default definition.
20242         * sysdeps/powerpc/math-tests.h: New file.
20243         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20244         tests.
20245         * math/test-snan.c (TEST_FUNC): Likewise.
20246
20247 2013-03-30  David S. Miller  <davem@davemloft.net>
20248
20249         * po/de.po: Update from translation team.
20250
20251 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
20252
20253         [BZ #10357]
20254         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20255         imaginary part less than 1.0 and real part less than 0.5
20256         specially.
20257         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20258         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20259         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20260         (cacos_test): Add more tests.
20261         (casin_test): Likewise.
20262         (casinh_test): Likewise.
20263         * sysdeps/i386/fpu/libm-test-ulps: Update.
20264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20265
20266 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20267
20268         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20269         ONE with its value.
20270
20271         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20272         (__pow_mp): Replace ONE and MONE with their values.
20273         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20274         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20275         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20276         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20277         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20278         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20279
20280         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20281
20282         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20283         (__pow_mp): Replace ZERO and MZERO with their values.
20284         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20285         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20286         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20287         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20288         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20289         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20290         (__sqr): Likewise.
20291
20292         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20293
20294         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20295
20296 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20297
20298         * include/stdlib.h [!SHARED] (__call_tls_dtors):
20299         Declare with __attribute__ ((weak)).
20300         * stdlib/exit.c (__libc_atexit) [!SHARED]:
20301         Call __call_tls_dtors only if it's not NULL.
20302
20303 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20304
20305         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20306         didn't do it already, then set _dl_phdr and _dl_phnum based on the
20307         magic __ehdr_start linker symbol if it's defined.
20308         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20309         them up here if it was already done.
20310
20311         * elf/dl-support.c (_dl_phdr): Make pointer to const.
20312         (_dl_aux_init): Use const in cast when setting it.
20313         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20314         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20315         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20316
20317         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20318         Declare them here.
20319         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20320         * csu/libc-tls.c: Nor here.
20321         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20322
20323         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20324         (__libc_message): Never call vsyslog.
20325
20326 2013-03-28  Alan Modra  <amodra@gmail.com>
20327
20328         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20329         Define as empty.
20330         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20331         Likewise.
20332
20333 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20334
20335         [BZ #15214]
20336         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20337         underflow.
20338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20339
20340 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20341
20342         [BZ #15304]
20343         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20344         Don't add gid passed as argument.
20345
20346         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20347
20348 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
20349
20350         [BZ #15307]
20351         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20352         imaginary part between 1.0 and 1.5 and real part less than 0.5
20353         specially.
20354         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20355         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20356         * math/libm-test.inc (cacos_test): Add more tests.
20357         (casin_test): Likewise.
20358         (casinh_test): Likewise.
20359         * sysdeps/i386/fpu/libm-test-ulps: Update.
20360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20361
20362 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20363
20364         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20365         constants.
20366         (norm): Likewise.
20367         (denorm): Likewise.
20368         (__dbl_mp): Likewise.
20369         (add_magnitudes): Likewise.
20370         (sub_magnitudes): Likewise.
20371         (__add): Likewise.
20372         (__sub): Likewise.
20373         (__mul): Likewise.
20374         (__sqr): Likewise.
20375         (__inv): Likewise.
20376         (__dvd): Likewise.
20377
20378         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20379         commented code.
20380         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20381         (__dubcos): Likewise.
20382         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20383         (__ieee754_acos): Likewise.
20384         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20385         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20386         (__exp1): Likewise.
20387         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20388         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20389         (log1): Likewise.
20390         (my_log2): Likewise.
20391         (checkint): Likewise.
20392         * sysdeps/ieee754/dbl-64/e_remainder.c
20393         (__ieee754_remainder): Likewise.
20394         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20395         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20396         (bsloww): Likewise.
20397         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20398
20399         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20400         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20401         MANTISSA_STORE_T to store computations on mantissa.  Use
20402         macros for rounding and division.
20403         (denorm): Likewise.
20404         (__dbl_mp): Likewise.
20405         (add_magnitudes): Likewise.
20406         (sub_magnitudes): Likewise.
20407         (__mul): Likewise.
20408         (__sqr): Likewise.
20409         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20410         powers of two in terms of TWOPOW macro.
20411         (mp_no): Make type of mantissa as MANTISSA_T.
20412         [!RADIXI]: Define RADIXI.
20413         [!TWO52]: Define TWO52.
20414         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20415
20416 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20417
20418         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20419         llroundl symbol when building for PPC32.
20420
20421 2013-03-24  Mark H Weaver  <mhw@netris.org>
20422
20423         * manual/arith.texi (Normalization Functions): Fix prototypes for
20424         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20425
20426 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20427
20428         [BZ #13889]
20429         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20430         high value to check if expl overflow.
20431         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20432         to check for underflow and overflow.
20433         * math/libm-test.inc: Add exp test.
20434
20435 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
20436
20437         [BZ #11120]
20438         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20439         with NOT_IN_libc.
20440
20441 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20442
20443         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20444         symbol.
20445
20446 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20447
20448         * math/gen-libm-test.pl (parse_args, special_functions): Properly
20449         wrap blocks consisting of several statements.
20450
20451         * sysdeps/generic/math-tests.h: New file.
20452         * sysdeps/i386/fpu/math-tests.h: Likewise.
20453         * math/test-snan.c: Include it.
20454         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20455
20456 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20457
20458         [BZ #15285]
20459         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20460         (__ieee754_j0l): Do not improve calculations using cos of twice
20461         input for inputs above LDBL_MAX / 2.0L.
20462         (__ieee754_y0l): Likewise.
20463         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20464         (__ieee754_j1l): Do not improve calculations using cos of twice
20465         input for inputs above LDBL_MAX / 2.0L.
20466         (__ieee754_y1l): Likewise.
20467         * math/libm-test.inc (j0_test): Add another test.
20468         (j1_test): Likewise.
20469         (y0_test): Likewise.
20470         (y1_test): Likewise.
20471         * sysdeps/i386/fpu/libm-test-ulps: Update.
20472
20473 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20474
20475         * Rules ($(objpfx)bench-%.c): Include code from a C source
20476         file.
20477
20478 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20479
20480         [BZ #15287]
20481         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20482         imaginary part 1.0 and real part less than 0.5 specially.
20483         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20484         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20485         * math/libm-test.inc (cacos_test): Add more tests.
20486         (casin_test): Likewise.
20487         (casinh_test): Likewise.
20488         * sysdeps/i386/fpu/libm-test-ulps: Update.
20489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20490
20491 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20492
20493         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20494         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20495
20496 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
20497
20498         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20499         * config.make.in (config-cflags-sse4): Remove variable.
20500         (config-cflags-avx): Likewise.
20501         (config-cflags-sse2avx): Likewise.
20502         (config-cflags-novzeroupper): Likewise.
20503         (config-asflags-i686): Likewise.
20504         (have-mfma4): Likewise.
20505         (have-as-vis3): Likewise.
20506         (MIG): Likewise.
20507         * configure.in (MIG): Do not AC_SUBST.
20508         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20509         (libc_cv_cc_sse4): Do not AC_SUBST.
20510         (libc_cv_cc_avx): Likewise.
20511         (libc_cv_cc_sse2avx): Likewise.
20512         (libc_cv_cc_novzeroupper): Likewise.
20513         (libc_cv_cc_fma4): Likewise.
20514         (libc_cv_as_i686): Likewise.
20515         (libc_cv_sparc_as_vis3): Likewise.
20516         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20517         LIBC_CONFIG_VAR.
20518         (config-asflags-i686): Likewise.
20519         (config-cflags-avx): Likewise.
20520         (config-cflags-sse2avx): Likewise.
20521         (have-mfma4): Likewise.
20522         (config-cflags-novzeroupper): Likewise.
20523         * sysdeps/mach/configure.in (MIG): Likewise.
20524         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20525         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20526         LIBC_CONFIG_VAR.
20527         (config-cflags-avx): Likewise.
20528         (config-cflags-sse2avx): Likewise.
20529         (have-mfma4): Likewise.
20530         (config-cflags-novzeroupper): Likewise.
20531         * configure: Regenerated.
20532         * sysdeps/i386/configure: Likewise.
20533         * sysdeps/mach/configure: Likewise.
20534         * sysdeps/sparc/configure: Likewise.
20535         * sysdeps/x86_64/configure: Likewise.
20536
20537 2013-03-20  Roland McGrath  <roland@hack.frob.com>
20538
20539         [BZ #14812]
20540         * locale/programs/localedef.c (options): Put N_ translation marker
20541         on argument names, not just descriptions.
20542
20543 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20544
20545         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20546
20547 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
20548
20549         [BZ #14176]
20550         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20551
20552 2013-03-19  Roland McGrath  <roland@hack.frob.com>
20553
20554         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20555         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20556         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20557         [!BEFORE_ABORT] (before_abort): New function.
20558         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20559         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20560         (writev_for_fatal): New function.
20561         (WRITEV_FOR_FATAL): New macro; call that.
20562         (backtrace_and_maps): New function.
20563         (BEFORE_ABORT): New macro; call that.
20564         (struct str_list): Type removed.
20565         (__libc_message, __libc_fatal): Functions removed.
20566         Include <sysdeps/posix/libc_fatal.c> instead.
20567
20568 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
20569
20570         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20571         constants.
20572         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20573         double constants.
20574
20575 2013-03-19  Andreas Schwab  <schwab@suse.de>
20576
20577         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20578         * sysdeps/gnu/configure: Regenerate.
20579
20580         * configure.in: Substitute libc_cv_rtlddir.
20581         * configure: Regenerate.
20582         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20583         * Makeconfig (rtlddir, inst_rtlddir): New variables.
20584         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20585         * elf/Makefile (install-others, CFLAGS-interp.c)
20586         (ldso_install, common-ldd-rewrite): Likewise.
20587         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20588         $(inst_slibdir)/$(rtld-installed-name).
20589         * scripts/rellns-sh: Add -p option.
20590         * Makerules (make-shlib-link): Use rellns-sh to get relative name
20591         for source.
20592
20593 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20594
20595         * manual/nptl.texi: Renamed to ...
20596         * manual/threads.texi: ... this.
20597         * manual/Makefile (chapters): Update.
20598
20599 2013-03-18  Roland McGrath  <roland@hack.frob.com>
20600
20601         [BZ #14812]
20602         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20603         on argument names, not just descriptions.
20604         * malloc/memusagestat.c (options): Likewise.
20605         * nss/getent.c (options): Likewise.
20606
20607 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
20608
20609         [BZ #14812]
20610         * iconv/iconv_prog.c (options): Put N_ translation marker
20611         on argument names, not just descriptions.
20612         * iconv/iconvconfig.c (options): Likewise.
20613
20614 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
20615
20616         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20617         implementation which is faster on all x86_64 architectures.
20618         Tested on AMD, Intel Nehalem, SNB, IVB.
20619         * sysdeps/x86_64/strnlen.S: Likewise.
20620
20621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20622         Remove all multiarch strlen and strnlen versions.
20623         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20624         Remove strlen and strnlen related parts.
20625
20626         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20627         Inline strlen part.
20628         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20629
20630         * sysdeps/x86_64/multiarch/strlen.S: Remove.
20631         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20632         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20633         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20634         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20635         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20636
20637 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
20638
20639         * manual/memory.texi (Malloc Tunable Parameters):
20640         Sort parameters alphabetically. Add comments for missing entries.
20641
20642 2013-03-17  David S. Miller  <davem@davemloft.net>
20643
20644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20645
20646 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
20647
20648         [BZ #15283]
20649         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20650         for arguments at most half maximum finite value.
20651         * math/libm-test.inc (j0_test): Add more tests.
20652         (j1_test): Likewise.
20653         (y0_test): Likewise.
20654         (y1_test): Likewise.
20655         * sysdeps/i386/fpu/libm-test-ulps: Update.
20656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20657
20658         [BZ #14155]
20659         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20660         1 / x and functions P and Q for arguments above 0x1p256L.
20661         (__ieee754_y0l): Likewise.
20662         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20663         (__ieee754_y1l): Likewise.
20664         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20665         (j1_test): Likewise.
20666         (y0_test): Likewise.
20667         (y1_test): Likewise.
20668
20669 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
20670
20671         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20672         variable.
20673
20674 2013-03-15  Roland McGrath  <roland@hack.frob.com>
20675
20676         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20677         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20678         zero since it's initialized to EXEC_PAGESIZE.
20679
20680         * sysdeps/unix/sysv/linux/ldsodefs.h
20681         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20682         * sysdeps/generic/ldsodefs.h: ... here.
20683
20684 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
20685
20686         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20687
20688         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20689         math/test-snan.c.
20690         * math/test-snan.c: Renamed from
20691         sysdeps/powerpc/fpu/test-powerpc-snan.c.
20692         * math/Makefile (tests): Add test-snan.
20693         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20694         test-powerpc-snan.
20695
20696         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20697         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
20698         functions.
20699         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
20700         __builtin_nan family of functions.
20701         * math/libm-test.inc (initialize): Initialize qnan_value with
20702         __builtin_nan family of functions.
20703         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20704         Remove variables.
20705         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20706         Remove functions.
20707         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
20708         storage class.  Initialize qNaN_var and sNaN_var with
20709         __builtin_nan and __builtin_nans families of functions,
20710         respectively.
20711
20712         * math/libm-test.inc (acosh_test): Also test with qNaN input.
20713         (sqrt_test): Remove duplicate test with qNaN input.
20714         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20715         (round_test, signbit_test, significand_test): Note missing +/-Inf
20716         as well as qNaN tests.
20717
20718         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20719         qNaN_var.  Fix a few strings, too.
20720         * math/libm-test.inc (nan_value): Rename to qnan_value.
20721         * math/gen-libm-test.pl (%beautify): Adjust to that.
20722         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20723         * math/test-misc.c (main): Likewise.
20724         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20725         to __qnan_bytes, and __qnan_union, respectively.
20726         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20727         Likewise.
20728         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20729         and lqnanval, respectively.
20730         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20731         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20732         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20733         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20734
20735         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20736         * math/test-misc.c (main) [__x86_64__]: Enable test for long
20737         doubles.
20738
20739         * math/test-misc.c (main): Fix copy'n'pastos.
20740         * misc/tst-efgcvt.c (special): Likewise.
20741
20742         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20743         Remove declarations.
20744
20745 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20746
20747         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20748         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20749         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20750         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20751
20752 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20753
20754         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20755         macro to return vdso values correctly in IFUNC implementations.
20756         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20757         Optimization by using IFUNC.
20758
20759 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20760             Richard Henderson  <rth@redhat.com>
20761             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20762
20763         * Makefile.in (bench): New target.
20764         * NEWS: Mention the benchmark framework.
20765         * Rules (bench): Likewise.
20766         (binaries-bench): Generate binaries for functions to
20767         benchmark.
20768         * benchtests/Makefile: New makefile for benchmark tests.
20769         * benchtests/bench-skeleton.c: New skeleton file for benchmark
20770         programs.
20771         * benchtests/exp-inputs: New input file for EXP function.
20772         * benchtests/pow-inputs: New input file for POW function.
20773         * scripts/bench.pl: New script to generate source files for
20774         benchmark programs.
20775
20776 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20777
20778         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20779         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20780         computations on mantissa.  Use macros for rounding and
20781         division.
20782         (denorm): Likewise.
20783         (__dbl_mp): Likewise.
20784         (add_magnitudes): Likewise.
20785         (sub_magnitudes): Likewise.
20786         (__mul): Likewise.
20787         (__sqr): Likewise.
20788         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20789         powers of two in terms of TWOPOW macro.
20790         (mp_no): Make type of mantissa as MANTISSA_T.
20791         [!RADIXI]: Define RADIXI.
20792         [!TWO52]: Define TWO52.
20793         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20794
20795         * manual/nptl.texi (cindex): Modify threads to pthreads.
20796
20797 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
20798
20799         * sysdeps/x86_64/preconfigure: Regenerated.
20800
20801 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
20802
20803         [BZ #14155]
20804         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20805         0x1p28 and above.
20806         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20807         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20808         0x1p28 and above.
20809         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20810         * math/libm-test.inc (j0_test): Do not allow one spurious
20811         underflow exception.
20812         (y1_test): Likewise.
20813
20814 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20815
20816         * manual/Makefile (chapters): Add nptl.
20817         * manual/debug.texi (Debugging Support): Add link to Threads
20818         chapter.
20819         * manual/nptl.texi: New file.
20820
20821         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20822
20823 2013-03-14  Petr Baudis  <pasky@ucw.cz>
20824
20825         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20826         for non-NULL pointer before the memory validity test. Pointed
20827         out by Holger Brunck <holger.brunck@keymile.com>.
20828
20829 2013-03-13  Andreas Schwab  <schwab@suse.de>
20830
20831         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20832         instead of .os.
20833
20834 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
20835
20836         * timezone/zic.c: Update from tzcode 2013b.
20837
20838 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
20839
20840         * manual/install.texi (Configuring and compiling):
20841         Mention i686 and i586.
20842         * INSTALL: Regenerate.
20843
20844 2013-03-12  Roland McGrath  <roland@hack.frob.com>
20845
20846         * sysdeps/init_array/elf-init.c: New file.
20847         * csu/elf-init.c
20848         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20849         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20850
20851         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20852         __gmon_start__ as global, but as static with a .preinit_array pointer.
20853         * sysdeps/init_array/gmon-start.c: New file.  Use that.
20854         * sysdeps/init_array/crti.S: New file, empty except for comments.
20855         * sysdeps/init_array/crtn.S: Likewise.
20856
20857 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
20858
20859         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20860         definining bcopy.
20861         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20862         Remove Prefer_SSE_for_memop.
20863         * sysdeps/x86_64/multiarch/init-arch.h: Remove
20864         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20865         HAS_PREFER_SSE_FOR_MEMOP.
20866         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20867         memset-x86-64.
20868         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20869         Remove bzero, memset ifunc support.
20870         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20871         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20872         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20873         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20874
20875 2013-03-11  Andreas Schwab  <schwab@suse.de>
20876
20877         [BZ #15234]
20878         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20879         by SHLIB_COMPAT.
20880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20881         (GLIBC_2.16): Remove pthread_atfork.
20882
20883 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20884
20885         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20886         (ptestcases.h): Likewise.
20887
20888 2013-03-08  Roland McGrath  <roland@hack.frob.com>
20889
20890         * Makeconfig ($(common-objpfx)config.status): Depend on
20891         sysdeps/*/preconfigure{,.in} too.
20892
20893 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
20894
20895         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20896         (__free_hook): Use void * instead of __malloc_ptr_t.
20897         (__malloc_hook): Likewise.
20898         (__realloc_hook): Likewise.
20899         (__memalign_hook): Likewise.
20900         (__after_morecore_hook): Likewise.
20901         * malloc/arena.c (save_malloc_hook): Likewise.
20902         (save_free_hook): Likewise.
20903         * malloc/hooks.c (malloc_hook_ini): Likewise.
20904         (realloc_hook_ini): Likewise.
20905         (memalign_hook_ini): Likewise.
20906         * malloc/malloc.c (malloc_hook_ini): Likewise.
20907         (realloc_hook_ini): Likewise.
20908         (memalign_hook_ini): Likewise.
20909         (__free_hook): Likewise.
20910         (__malloc_hook): Likewise.
20911         (__realloc_hook): Likewise.
20912         (__memalign_hook): Likewise.
20913         (__libc_malloc): Likewise.
20914         (__libc_free): Likewise.
20915         (__libc_realloc): Likewise.
20916         (__libc_memalign): Likewise.
20917         (__libc_valloc): Likewise.
20918         (__libc_pvalloc): Likewise.
20919         (__libc_calloc): Likewise.
20920         (__posix_memalign): Likewise.
20921         * malloc/morecore.c (__sbrk): Likewise.
20922         (__default_morecore): Likewise.
20923
20924         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20925
20926         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20927         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20928         __malloc_ptrdiff_t.
20929
20930         * malloc/malloc.h (__malloc_size_t): Remove macro.
20931         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20932         __malloc_size_t.
20933         (old_memalign_hook): Likewise.
20934         (old_realloc_hook): Likewise.
20935         (struct hdr): Likewise.
20936         (flood): Likewise.
20937         (mallochook): Likewise.
20938         (memalignhook): Likewise.
20939         (reallochook): Likewise.
20940         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20941         (tr_old_realloc_hook): Likewise.
20942         (tr_old_memalign_hook): Likewise.
20943         (tr_mallochook): Likewise.
20944         (tr_reallochook): Likewise.
20945         (tr_memalignhook): Likewise.
20946
20947 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20948
20949         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20950         default_ldbl_pack and using as default implementation.
20951         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20952         implementation.
20953         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20954         redundant definition.
20955         (ldbl_insert_mantissa): Likewise.
20956         (ldbl_canonicalize): Likewise.
20957         (ldbl_nearbyint): Likewise.
20958         (ldbl_pack): Rename to ldbl_pack_ppc.
20959         (ldbl_unpack): Rename to ldbl_unpack_ppc.
20960         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20961         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20962
20963 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20964
20965         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20966         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20967         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20968         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20969         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20970         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20971         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20972         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20973
20974 2013-03-07  Andreas Jaeger  <aj@suse.de>
20975
20976         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20977         bits/mman-linux.h.
20978
20979 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20980
20981         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20982         Include mpa.h and declare __MPEXP.
20983         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20984         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20985         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20986         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20987         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20988         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20989         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20990
20991         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20992         (__slowpow): Use long double EXPL and LOGL functions to
20993         compute POW.
20994         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20995         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20996         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20997         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20998         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20999         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21000
21001         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21002         intermediate variable to calculate exponent.
21003         (__sqr): Likewise.
21004         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21005         Likewise.
21006         (__sqr): Likewise.
21007
21008         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21009         [!NO__SQR]: Define __sqr.
21010         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21011         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21012         sysdeps/ieee754/dbl-64/mpa.c.
21013         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21014
21015         [BZ #12723]
21016         * posix/Makefile (tests): Add tst-pathconf.
21017         * posix/tst-pathconf.c: New test case.
21018         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21019         _PC_PIPE_BUF.
21020         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21021
21022 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21023
21024         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21025
21026 2013-03-06  Andreas Jaeger  <aj@suse.de>
21027
21028         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21029         definition via __MAP_ANONYMOUS.
21030
21031         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21032         it's not part of Linux headers.
21033
21034         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21035         (MAP_HUGE_MASK): Define.
21036
21037         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21038         Define.
21039         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21040         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21041         Define.
21042         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21043         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21044         Define.
21045         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21046         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21047         Define.
21048         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21049
21050         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21051         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21052         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21053         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21054         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21055         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21056
21057         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21058         Handle f2fs.
21059
21060         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21061         Handle f2fs and efivarfs.
21062
21063         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21064         f2fs.
21065
21066         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21067         (EFIVARFS_MAGIC): Add.
21068         (F2FS_LINK_MAX): Add.
21069
21070 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21071
21072         * stdio-common/vfprintf.c: Replace __builtin_expect with
21073         __glibc_unlikely.
21074
21075 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21076
21077         [BZ #13550]
21078         * sysdeps/generic/bp-sym.h: Remove file.
21079         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21080         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21081         <bp-sym.h> and <bp-asm.h>.
21082         (__longjmp): Don't use BP_SYM.
21083         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21084         and <bp-asm.h>.
21085         (memcpy): Don't use BP_SYM.
21086         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21087         <bp-sym.h> and <bp-asm.h>.
21088         (memcpy): Don't use BP_SYM.
21089         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21090         <bp-asm.h>.
21091         (memcpy): Don't use BP_SYM.
21092         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21093         <bp-asm.h>.
21094         (memset): Don't use BP_SYM.
21095         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21096         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21097         (__bzero): Don't use BP_SYM.
21098         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21099         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21100         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21101         <bp-sym.h> and <bp-asm.h>.
21102         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21103         pointers.
21104         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21105         <bp-sym.h> and <bp-asm.h>.
21106         (memcpy): Don't use BP_SYM.
21107         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21108         <bp-sym.h> and <bp-asm.h>.
21109         (memset): Don't use BP_SYM.
21110         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21111         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21112         (__bzero): Don't use BP_SYM.
21113         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21114         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21115         * sysdeps/powerpc/powerpc64/power4/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/power6/memcpy.S: Don't include
21120         <bp-sym.h> and <bp-asm.h>.
21121         (memcpy): Don't use BP_SYM.
21122         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21123         <bp-sym.h> and <bp-asm.h>.
21124         (memset): Don't use BP_SYM.
21125         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21126         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21127         (__bzero): Don't use BP_SYM.
21128         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21129         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21130         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21131         <bp-sym.h> and <bp-asm.h>.
21132         (__memchr): Don't use BP_SYM.
21133         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21134         <bp-sym.h> and <bp-asm.h>.
21135         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21136         pointers.
21137         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21138         <bp-sym.h> and <bp-asm.h>.
21139         (memcpy): Don't use BP_SYM.
21140         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21141         <bp-sym.h> and <bp-asm.h>.
21142         (__mempcpy): Don't use BP_SYM.
21143         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21144         <bp-sym.h> and <bp-asm.h>.
21145         (__memrchr): Don't use BP_SYM.
21146         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21147         <bp-sym.h> and <bp-asm.h>.
21148         (memset): Don't use BP_SYM.
21149         (__bzero): Likewise.
21150         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21151         <bp-sym.h> and <bp-asm.h>.
21152         (__rawmemchr): Don't use BP_SYM.
21153         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21154         <bp-sym.h> and <bp-asm.h>.
21155         (__STRCMP): Don't use BP_SYM.
21156         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21157         <bp-sym.h> and <bp-asm.h>.
21158         (strchr): Don't use BP_SYM.
21159         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21160         <bp-sym.h> and <bp-asm.h>.
21161         (__strchrnul): Don't use BP_SYM.
21162         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21163         <bp-sym.h> and <bp-asm.h>.
21164         (strlen): Don't use BP_SYM.
21165         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21166         <bp-sym.h> and <bp-asm.h>.
21167         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21168         pointers.
21169         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21170         <bp-sym.h> and <bp-asm.h>.
21171         (__strnlen): Don't use BP_SYM.
21172         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21173         <bp-sym.h> and <bp-asm.h>.
21174         (__GI__setjmp): Don't use BP_SYM.
21175         (_setjmp): Likewise.
21176         (__sigsetjmp): Likewise.
21177         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21178         (L(start_addresses)): Don't use BP_SYM.
21179         (_start): Likewise.
21180         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21181         <bp-asm.h>.
21182         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21183         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21184         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21185         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21186         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21187         <bp-asm.h>.
21188         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21189         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21190         about bounded pointers.
21191         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21192         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21193         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21194         <bp-asm.h>.
21195         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21196         about bounded pointers.  Remove GKM FIXME comments.
21197         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21198         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21199         <bp-asm.h>.
21200         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21201         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21202         Remove GKM FIXME comments.
21203         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21204         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21205         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21206         <bp-asm.h>.
21207         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21208         about bounded pointers.  Remove GKM FIXME comment.
21209         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21210         and <bp-asm.h>.
21211         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21212         pointers.
21213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21214         <bp-sym.h> and <bp-asm.h>.
21215         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21217         <bp-sym.h> and <bp-asm.h>.
21218         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21219         comment.
21220
21221 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21222
21223         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21224         call free(NULL).
21225
21226 2013-03-05  David S. Miller  <davem@davemloft.net>
21227
21228         * po/es.po: Update from translation team.
21229
21230 2013-03-05  Andreas Jaeger  <aj@suse.de>
21231
21232         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21233         <bits/mman-linux.h>.
21234         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21235         is fine.
21236         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21237         <bits/mman-linux.h> to end of file.
21238         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21239         is fine.
21240         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21241         <bits/mman-linux.h> to end of file.
21242         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21243         is fine.
21244         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21245         <bits/mman-linux.h> to end of file.
21246
21247         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21248         (MCL_CURRENT, MCL_FUTURE): Define here.
21249
21250 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21251
21252         [BZ #15232]
21253         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21254         attribute_hidden.
21255         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21256
21257 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21258
21259         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21260         fourth parameter needed for rt_sigprocmask syscall.
21261         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21262         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21263         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21264         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21265         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21266         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21267
21268 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
21269
21270         [BZ #13550]
21271         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21272         comment about bounded pointers.
21273         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21274         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21275
21276 2013-03-04  Andreas Jaeger  <aj@suse.de>
21277
21278         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21279         common definitions.
21280
21281         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21282         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21283         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21284         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21285         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21286         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21287
21288 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21289
21290         [BZ #15055]
21291         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21292         __ieee754_sqrl instead of __sqrl.
21293
21294 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
21295
21296         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21297         * sysdeps/powerpc/fpu_control.h: ... here.
21298         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21299         * sysdeps/powerpc/bits/fenvinline.h: ... here.
21300         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21301         * sysdeps/powerpc/bits/mathinline.h: ... here.
21302
21303 2013-03-01  Roland McGrath  <roland@hack.frob.com>
21304
21305         * elf/dl-hwcaps.c (_dl_important_hwcaps):
21306         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21307         to just [NEED_DL_SYSINFO_DSO].
21308         * elf/dl-support.c: Likewise.
21309         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21310         * elf/rtld.c (dl_main): Likewise.
21311         * elf/setup-vdso.h (setup_vdso): Likewise.
21312         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21313         * sysdeps/unix/sysv/linux/dl-sysdep.c
21314         (_dl_discover_osversion): Likewise.
21315
21316 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
21317
21318         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21319         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21320
21321 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21322
21323         * NEWS: Mention libm performance improvements and non-x86 PI
21324         futex support.
21325
21326         * csu/libc-start.c (__pthread_initialize_minimal): Change
21327         function arguments.
21328         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21329
21330 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
21331
21332         [BZ #13550]
21333         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21334         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21335         <bp-sym.h> and <bp-asm.h>.
21336         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21337         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21338         and <bp-asm.h>.
21339         (memcpy): Don't use BP_SYM.
21340         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21341         <bp-asm.h>.
21342         (__mpn_add_n): Don't use BP_SYM.
21343         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21344         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21345         and <bp-asm.h>.
21346         (__mpn_addmul_1): Don't use BP_SYM.
21347         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21348         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21349         <bp-sym.h>.
21350         (_setjmp): Don't use BP_SYM.
21351         (__novmx_setjmp): Likewise.
21352         (__GI__setjmp): Likewise.
21353         (__vmx_setjmp): Likewise.
21354         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21355         <bp-sym.h>.
21356         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21357         (__bzero): Don't use BP_SYM.
21358         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21359         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21360         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21361         <bp-sym.h> and <bp-asm.h>.
21362         (memcpy): Don't use BP_SYM.
21363         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21364         <bp-sym.h> and <bp-asm.h>.
21365         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21366         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21367         <bp-sym.h> and <bp-asm.h>.
21368         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21369         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21370         <bp-asm.h>.
21371         (__mpn_lshift): Don't use BP_SYM.
21372         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21373         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21374         <bp-asm.h>.
21375         (memset): Don't use BP_SYM.
21376         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21377         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21378         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21379         <bp-asm.h>.
21380         (__mpn_mul_1): Don't use BP_SYM.
21381         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21382         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21383         <bp-sym.h> and <bp-asm.h>.
21384         (memcmp): Don't use BP_SYM.
21385         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21386         <bp-sym.h> and <bp-asm.h>.
21387         (memcpy): Don't use BP_SYM.
21388         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21389         <bp-sym.h> and <bp-asm.h>.
21390         (memset): Don't use BP_SYM.
21391         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21392         <bp-sym.h> and <bp-asm.h>.
21393         (strncmp): Don't use BP_SYM.
21394         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21395         <bp-sym.h> and <bp-asm.h>.
21396         (memcpy): Don't use BP_SYM.
21397         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21398         <bp-sym.h> and <bp-asm.h>.
21399         (memset): Don't use BP_SYM.
21400         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21401         <bp-sym.h> and <bp-asm.h>.
21402         (__memchr): Don't use BP_SYM.
21403         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21404         <bp-sym.h> and <bp-asm.h>.
21405         (memcmp): Don't use BP_SYM.
21406         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21407         <bp-sym.h> and <bp-asm.h>.
21408         (memcpy): Don't use BP_SYM.
21409         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21410         <bp-sym.h> and <bp-asm.h>.
21411         (__mempcpy): Don't use BP_SYM.
21412         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21413         <bp-sym.h> and <bp-asm.h>.
21414         (__memrchr): Don't use BP_SYM.
21415         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21416         <bp-sym.h> and <bp-asm.h>.
21417         (memset): Don't use BP_SYM.
21418         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21419         <bp-sym.h> and <bp-asm.h>.
21420         (__rawmemchr): Don't use BP_SYM.
21421         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21422         <bp-sym.h> and <bp-asm.h>.
21423         (__STRCMP): Don't use BP_SYM.
21424         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21425         <bp-sym.h> and <bp-asm.h>.
21426         (strchr): Don't use BP_SYM.
21427         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21428         <bp-sym.h> and <bp-asm.h>.
21429         (__strchrnul): Don't use BP_SYM.
21430         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21431         <bp-sym.h> and <bp-asm.h>.
21432         (strlen): Don't use BP_SYM.
21433         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21434         <bp-sym.h> and <bp-asm.h>.
21435         (strncmp): Don't use BP_SYM.
21436         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21437         <bp-sym.h> and <bp-asm.h>.
21438         (__strnlen): Don't use BP_SYM.
21439         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21440         <bp-asm.h>.
21441         (__mpn_rshift): Don't use BP_SYM.
21442         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21443         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21444         <bp-sym.h> and <bp-asm.h>.
21445         (__sigsetjmp): Don't use BP_SYM.
21446         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21447         (L(start_addresses)): Don't use BP_SYM.
21448         (_start): Likewise.
21449         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21450         <bp-asm.h>.
21451         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21452         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21453         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21454         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21455         <bp-asm.h>.
21456         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21457         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21458         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21459         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21460         <bp-asm.h>.
21461         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21462         comments.
21463         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21464         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21465         <bp-asm.h>.
21466         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
21467         FIXME comments.
21468         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21469         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21470         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21471         <bp-asm.h>.
21472         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21473         comment.
21474         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21475         and <bp-asm.h>.
21476         (strncmp): Don't use BP_SYM,
21477         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21478         <bp-asm.h>.
21479         (__mpn_sub_n): Don't use BP_SYM.
21480         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21481         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21482         and <bp-asm.h>.
21483         (__mpn_submul_1): Don't use BP_SYM.
21484         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21486         <bp-sym.h> and <bp-asm.h>.
21487         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21489         <bp-sym.h> and <bp-asm.h>.
21490         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21491         comment.
21492
21493 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21494
21495         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21496         Use ZK to minimize writes to Z.
21497         (sub_magnitudes): Simplify code a bit.
21498         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21499         Use ZK to minimize writes to Z.
21500         (sub_magnitudes): Simplify code a bit.
21501
21502 2013-02-27  Roland McGrath  <roland@hack.frob.com>
21503
21504         * csu/gmon-start.c: Add special exception to license text.
21505
21506 2013-02-27  Richard Henderson  <rth@redhat.com>
21507
21508         * scripts/config.guess: Update from config.git.
21509         * scripts/config.sub: Likewise.
21510
21511 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21512
21513         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21514
21515         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21516
21517         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21518
21519         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21520
21521         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21522
21523 2013-02-26  Roland McGrath  <roland@hack.frob.com>
21524
21525         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21526         [$(build-shared = yes].
21527
21528 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21529
21530         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21531         (__mul): Reduce iterations for calculating mantissa.
21532
21533         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21534         MPTWO.
21535         (__mpranred): Likewise.
21536
21537         [BZ #15160]
21538         * malloc/memusagestat.c (main): Draw graphs for heap and stack
21539         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21540
21541 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
21542
21543         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21544         Define __attribute__.
21545
21546 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21547
21548         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21549         unused.
21550         * posix/regex_internal.h (__attribute): Remove.
21551         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21552         (re_string_context_at): Likewise.
21553         (bitset_not): Use __attribute__ and mark function as possibly
21554         unused.
21555         (bitset_merge): Likewise.
21556         (bitset_mask): Likewise.
21557         (re_string_char_size_at): Likewise.
21558         (re_string_wchar_at): Likewise.
21559         (re_string_elem_size_at): Likewise.
21560
21561 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21562
21563         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21564         code.
21565         (cc32): Likewise.
21566
21567         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21568         (__acr): Likewise.
21569         (__cpy): Likewise.
21570         (norm): Likewise.
21571         (denorm): Likewise.
21572         (__dbl_mp): Likewise.
21573         (add_magnitudes): Likewise.
21574         (sub_magnitudes): Likewise.
21575         (__mul): Likewise.
21576         (__inv): Likewise.
21577
21578         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21579         style.
21580
21581         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21582         style.
21583
21584         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21585         code.
21586
21587         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21588         up changes with default code.
21589         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21590         Likewise.
21591
21592 2013-02-24  Allan McRae  <allan@archlinux.org>
21593
21594         * manual/socket.texi (The Internet Namespace): Order menu items
21595         to match that in the file.
21596
21597         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21598         node listing of the info page menu.
21599
21600 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
21601
21602         [BZ #13550]
21603         * sysdeps/i386/bp-asm.h: Remove file.
21604         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21605         (PARMS): Do not use macros from bp-asm.h.
21606         (S1): Likewise.
21607         (S2): Likewise.
21608         (SIZE): Likewise.
21609         (__mpn_add_n): Do not use BP_SYM
21610         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21611         "bp-asm.h".
21612         (PARMS): Do not use macros from bp-asm.h.
21613         (S1): Likewise.
21614         (SIZE): Likewise.
21615         (__mpn_addmul_1): Do not use BP_SYM
21616         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21617         "bp-asm.h".
21618         (PARMS): Do not use macros from bp-asm.h.
21619         (SIGMSK): Likewise.
21620         (_setjmp): Likewise.  Do not use BP_SYM.
21621         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21622         "bp-asm.h".
21623         (PARMS): Do not use macros from bp-asm.h.
21624         (SIGMSK): Likewise.
21625         (setjmp): Likewise.  Do not use BP_SYM.
21626         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21627         "bp-asm.h".
21628         (PARMS): Do not use macros from bp-asm.h.
21629         (__frexp): Do not use BP_SYM.
21630         (frexp): Likewise.
21631         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21632         "bp-asm.h".
21633         (PARMS): Do not use macros from bp-asm.h.
21634         (__frexpf): Do not use BP_SYM.
21635         (frexpf): Likewise.
21636         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21637         "bp-asm.h".
21638         (PARMS): Do not use macros from bp-asm.h.
21639         (__frexpl): Do not use BP_SYM.
21640         (frexpl): Likewise.
21641         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21642         "bp-asm.h".
21643         (PARMS): Do not use macros from bp-asm.h.
21644         (__remquo): Do not use BP_SYM.
21645         (remquo): Likewise.
21646         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21647         "bp-asm.h".
21648         (PARMS): Do not use macros from bp-asm.h.
21649         (__remquof): Do not use BP_SYM.
21650         (remquof): Likewise.
21651         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21652         "bp-asm.h".
21653         (PARMS): Do not use macros from bp-asm.h.
21654         (__remquol): Do not use BP_SYM.
21655         (remquol): Likewise.
21656         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21657         "bp-asm.h".
21658         (PARMS): Do not use macros from bp-asm.h.
21659         (DEST): Likewise.
21660         (SRC): Likewise.
21661         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
21662         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21663         "bp-asm.h".
21664         (PARMS): Do not use macros from bp-asm.h.
21665         (strlen): Do not use BP_SYM.
21666         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21667         "bp-asm.h".
21668         (PARMS): Do not use macros from bp-asm.h.
21669         (S1): Likewise.
21670         (S2): Likewise.
21671         (SIZE): Likewise.
21672         (__mpn_add_n): Do not use BP_SYM.
21673         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21674         "bp-asm.h".
21675         (PARMS): Do not use macros from bp-asm.h.
21676         (S1): Likewise.
21677         (SIZE): Likewise.
21678         (__mpn_addmul_1): Do not use BP_SYM.
21679         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21680         weak_alias.
21681         (bzero): Likewise.
21682         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21683         "bp-asm.h".
21684         (PARMS): Do not use macros from bp-asm.h.
21685         (S): Likewise.
21686         (SIZE): Likewise.
21687         (__mpn_lshift): Do not use BP_SYM.
21688         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21689         "bp-asm.h".
21690         (PARMS): Do not use macros from bp-asm.h.
21691         (DEST): Likewise.
21692         (SRC): Likewise.
21693         (LEN): Likewise.
21694         (memcpy): Likewise.  Do not use BP_SYM.
21695         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21696         libc_hidden_def and weak_alias.
21697         (mempcpy): Do not use BP_SYM in weak_alias.
21698         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21699         "bp-asm.h".
21700         (PARMS): Do not use macros from bp-asm.h.
21701         (DEST): Likewise.
21702         (LEN): Likewise.
21703         [!BZERO_P] (CHR): Likewise.
21704         (memset): Likewise.  Do not use BP_SYM.
21705         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21706         "bp-asm.h".
21707         (PARMS): Do not use macros from bp-asm.h.
21708         (S1): Likewise.
21709         (SIZE): Likewise.
21710         (__mpn_mul_1): Do not use BP_SYM.
21711         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21712         "bp-asm.h".
21713         (PARMS): Do not use macros from bp-asm.h.
21714         (S): Likewise.
21715         (SIZE): Likewise.
21716         (__mpn_rshift): Do not use BP_SYM.
21717         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21718         "bp-asm.h".
21719         (PARMS): Do not use macros from bp-asm.h.
21720         (STR): Likewise.
21721         (CHR): Likewise.
21722         (strchr): Likewise.  Do not use BP_SYM.
21723         (index): Do not use BP_SYM in weak_alias.
21724         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21725         "bp-asm.h".
21726         (PARMS): Do not use macros from bp-asm.h.
21727         (DEST): Likewise.
21728         (SRC): Likewise.
21729         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
21730         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21731         "bp-asm.h".
21732         (PARMS): Do not use macros from bp-asm.h.
21733         (strlen): Do not use BP_SYM.
21734         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21735         "bp-asm.h".
21736         (PARMS): Do not use macros from bp-asm.h.
21737         (S1): Likewise.
21738         (S2): Likewise.
21739         (SIZE): Likewise.
21740         (__mpn_sub_n): Do not use BP_SYM.
21741         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21742         "bp-asm.h".
21743         (PARMS): Do not use macros from bp-asm.h.
21744         (S1): Likewise.
21745         (SIZE): Likewise.
21746         (__mpn_submul_1): Do not use BP_SYM.
21747         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21748         "bp-asm.h".
21749         (PARMS): Do not use macros from bp-asm.h.
21750         (S1): Likewise.
21751         (S2): Likewise.
21752         (SIZE): Likewise.
21753         (__mpn_add_n): Do not use BP_SYM.
21754         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21755         weak_alias.
21756         (bzero): Likewise.
21757         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21758         "bp-asm.h".
21759         (PARMS): Do not use macros from bp-asm.h.
21760         (BLK2): Likewise.
21761         (LEN): Likewise.
21762         (memcmp): Do not use BP_SYM.
21763         (bcmp): Do not use BP_SYM in weak_alias.
21764         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21765         "bp-asm.h".
21766         (PARMS): Do not use macros from bp-asm.h.
21767         (DEST): Likewise.
21768         (SRC): Likewise.
21769         (LEN): Likewise.
21770         (memcpy): Likewise.  Do not use BP_SYM.
21771         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21772         "bp-asm.h".
21773         (PARMS): Do not use macros from bp-asm.h.
21774         (DEST): Likewise.
21775         (SRC): Likewise.
21776         (LEN): Likewise.
21777         (memmove): Likewise.  Do not use BP_SYM.
21778         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21779         "bp-asm.h".
21780         (PARMS): Do not use macros from bp-asm.h.
21781         (DEST): Likewise.
21782         (SRC): Likewise.
21783         (LEN): Likewise.
21784         (__mempcpy): Likewise.  Do not use BP_SYM.
21785         (mempcpy): Do not use BP_SYM in weak_alias.
21786         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21787         "bp-asm.h".
21788         (PARMS): Do not use macros from bp-asm.h.
21789         (DEST): Likewise.
21790         (LEN): Likewise.
21791         [!BZERO_P] (CHR): Likewise.
21792         (memset): Likewise.  Do not use BP_SYM.
21793         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21794         "bp-asm.h".
21795         (PARMS): Do not use macros from bp-asm.h.
21796         (STR2): Likewise.
21797         (strcmp): Do not use BP_SYM.
21798         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21799         "bp-asm.h".
21800         (PARMS): Do not use macros from bp-asm.h.
21801         (STR): Likewise.
21802         (DELIM): Likewise.
21803         [USE_AS_STRTOK_R] (SAVE): Likewise.
21804         (FUNCTION): Likewise.  Do not use BP_SYM.
21805         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21806         aliases.
21807         (strtok_r): Likewise.
21808         (__GI___strtok_r): Likewise.
21809         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21810         (PARMS): Do not use macros from bp-asm.h.
21811         (S): Likewise.
21812         (SIZE): Likewise.
21813         (__mpn_lshift): Do not use BP_SYM.
21814         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21815         (PARMS): Do not use macros from bp-asm.h.
21816         (STR): Likewise.
21817         (CHR): Likewise.
21818         (__memchr): Do not use BP_SYM.
21819         (memchr): Do not use BP_SYM in weak_alias.
21820         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21821         (PARMS): Do not use macros from bp-asm.h.
21822         (BLK2): Likewise.
21823         (LEN): Likewise.
21824         (memcmp): Do not use BP_SYM.
21825         (bcmp): Do not use BP_SYM in weak_alias.
21826         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21827         (PARMS): Do not use macros from bp-asm.h.
21828         (S1): Likewise.
21829         (SIZE): Likewise.
21830         (__mpn_mul_1): Do not use BP_SYM.
21831         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21832         "bp-asm.h".
21833         (PARMS): Do not use macros from bp-asm.h.
21834         (STR): Likewise.
21835         (CHR): Likewise.
21836         (__rawmemchr): Do not use BP_SYM.
21837         (rawmemchr): Do not use BP_SYM in weak_alias.
21838         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21839         (PARMS): Do not use macros from bp-asm.h.
21840         (S): Likewise.
21841         (SIZE): Likewise.
21842         (__mpn_rshift): Do not use BP_SYM.
21843         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21844         (PARMS): Do not use macros from bp-asm.h.
21845         (SIGMSK): Likewise.
21846         (__sigsetjmp): Likewise.  Do not use BP_SYM.
21847         * sysdeps/i386/start.S: Do not include "bp-sym.h".
21848         (_start): Do not use BP_SYM.
21849         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21850         (PARMS): Do not use macros from bp-asm.h.
21851         (DEST): Likewise.
21852         (SRC): Likewise.
21853         (__stpcpy): Likewise.  Do not use BP_SYM.
21854         (stpcpy): Do not use BP_SYM in weak_alias.
21855         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21856         "bp-asm.h".
21857         (PARMS): Do not use macros from bp-asm.h.
21858         (DEST): Likewise.
21859         (SRC): Likewise.
21860         (LEN): Likewise.
21861         (__stpncpy): Likewise.  Do not use BP_SYM.
21862         (stpncpy): Do not use BP_SYM in weak_alias.
21863         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21864         (PARMS): Do not use macros from bp-asm.h.
21865         (STR): Likewise.
21866         (CHR): Likewise.
21867         (strchr): Likewise.  Do not use BP_SYM.
21868         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21869         "bp-asm.h".
21870         (PARMS): Do not use macros from bp-asm.h.
21871         (STR): Likewise.
21872         (CHR): Likewise.
21873         (__strchrnul): Likewise.  Do not use BP_SYM.
21874         (strchrnul): Do not use BP_SYM in weak_alias.
21875         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21876         "bp-asm.h".
21877         (PARMS): Do not use macros from bp-asm.h.
21878         (STOP): Likewise.
21879         (strcspn): Do not use BP_SYM.
21880         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21881         "bp-asm.h".
21882         (PARMS): Do not use macros from bp-asm.h.
21883         (STR): Likewise.
21884         (STOP): Likewise.
21885         (strpbrk): Likewise.  Do not use BP_SYM.
21886         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21887         "bp-asm.h".
21888         (PARMS): Do not use macros from bp-asm.h.
21889         (STR): Likewise.
21890         (CHR): Likewise.
21891         (strrchr): Likewise.  Do not use BP_SYM.
21892         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21893         (PARMS): Do not use macros from bp-asm.h.
21894         (SKIP): Likewise.
21895         (strspn): Do not use BP_SYM.
21896         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21897         (PARMS): Do not use macros from bp-asm.h.
21898         (STR): Likewise.
21899         (DELIM): Likewise.
21900         (SAVE): Likewise.
21901         (FUNCTION): Likewise.  Do not use BP_SYM.
21902         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21903         aliases.
21904         (strtok_r): Likewise.
21905         (__GI___strtok_r): Likewise.
21906         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21907         (PARMS): Do not use macros from bp-asm.h.
21908         (S1): Likewise.
21909         (S2): Likewise.
21910         (SIZE): Likewise.
21911         (__mpn_sub_n): Do not use BP_SYM.
21912         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21913         "bp-asm.h".
21914         (PARMS): Do not use macros from bp-asm.h.
21915         (S1): Likewise.
21916         (SIZE): Likewise.
21917         (__mpn_submul_1): Do not use BP_SYM.
21918         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21919         <bp-sym.h>.
21920         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21921         and <bp-asm.h>.
21922         (PARMS): Do not use macros from bp-asm.h.
21923         (FLAGS): Likewise.
21924         (PTID): Likewise.
21925         (TLS): Likewise.
21926         (CTID): Likewise.
21927         (__clone): Do not use BP_SYM.
21928         (clone): Do not use BP_SYM in weak_alias.
21929         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21930         and <bp-asm.h>.
21931         (PARMS): Do not use macros from bp-asm.h.
21932         (LEN): Likewise.
21933         (__mmap64): Do not use BP_SYM.
21934         (mmap64): Do not use BP_SYM in weak_alias.
21935         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21936         <bp-sym.h> and <bp-asm.h>.
21937         (PARMS): Do not use macros from bp-asm.h.
21938         (__posix_fadvise64_l64): Do not use BP_SYM.
21939         * sysdeps/unix/sysv/linux/i386/semtimedop.S
21940         (PARMS): Do not use macros from bp-asm.h.
21941         (NSOPS): Likewise.
21942         (semtimedop): Do not use BP_SYM.
21943         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21944         and <bp-asm.h>.
21945
21946 2013-02-21  Allan McRae  <allan@archlinux.org>
21947
21948         * manual/message.texi (Charset conversion in gettext):
21949         Move @end statement to beginning of line.
21950
21951 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21952
21953         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21954         static.
21955         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21956         Likewise.
21957
21958         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21959         (denorm): Likewise.
21960         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21961         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21962
21963 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21964
21965         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21966         tail-call to the resolved function if pltexit isn't needed.
21967
21968 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21969
21970         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21971         or Y being zero as being unlikely.
21972         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21973         Likewise.
21974
21975 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
21976
21977         * manual/nss.texi (System Databases and Name Service Switch):
21978         Remove frobnicate @pxref.
21979
21980 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21981
21982         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21983         __attribute__ ((unused)) to __attribute__ ((__unused__)).
21984
21985 2013-02-20  Petr Machata  <pmachata@redhat.com>
21986
21987         * elf/elf.h (R_ARM_TARGET1): New macro.
21988         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21989         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21990         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21991         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21992         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21993         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21994         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21995         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21996         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21997         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21998         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21999         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22000         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22001         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22002         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22003         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22004         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22005         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22006         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22007         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22008         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22009         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22010         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22011         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22012         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22013         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22014         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22015         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22016         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22017         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22018         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22019         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22020         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22021         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22022         (R_ARM_THM_GOT_BREL12): Likewise.
22023         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22024         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22025         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22026         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22027         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22028         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22029         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22030         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22031         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22032
22033 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22034
22035         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22036         __attribute_used__ to __attribute__ ((unused)).
22037
22038 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22039
22040         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22041         powerpc mpa.c.
22042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22043         comment formatting.
22044         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22045
22046 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22047
22048         [BZ #13550]
22049         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22050         Remove macro.
22051         (ENTER): Remove both macro definitions.
22052         (LEAVE): Likewise.
22053         (CHECK_BOUNDS_LOW): Likewise.
22054         (CHECK_BOUNDS_HIGH): Likewise.
22055         (CHECK_BOUNDS_BOTH): Likewise.
22056         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22057         (RETURN_BOUNDED_POINTER): Likewise.
22058         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22059         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22060         (POP_ERRNO_LOCATION_RETURN): Likewise.
22061         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22062         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22063         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22064         macros.
22065         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22066         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22067         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22068         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22069         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22070         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22071         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22072         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22073         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22074         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22075         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22076         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22077         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22078         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22079         removed macros.
22080         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22081         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22082         macros.
22083         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22084         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22085         * sysdeps/i386/i586/memset.S (memset): Likewise.
22086         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22087         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22088         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22089         macros.
22090         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22091         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22092         Change uses of L(2) to L(out).
22093         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22094         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22095         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22096         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22097         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22098         removed macros.
22099         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22100         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22101         macros.
22102         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22103         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22104         (RETURN): Do not use macro LEAVE.
22105         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22106         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22107         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22108         * sysdeps/i386/i686/memset.S (memset): Likewise.
22109         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22110         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22111         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22112         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22113         Likewise.
22114         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22115         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22116         L(1_2) and L(1_3) into L(1).
22117         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22118         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22119         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22120         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22121         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22122         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22123         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22124         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22125         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22126         macros.
22127         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22128         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22129         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22130         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22131         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22132         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22133         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22134         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22135         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22136         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22137         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22138         * sysdeps/i386/strspn.S (strspn): Likewise.
22139         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22140         conditional code.
22141         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22142         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22143         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22144         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22145         L(1_3) into L(1_1).
22146         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22147         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22148         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22149         macros.
22150         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22151
22152 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22153
22154         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22155         macro.
22156
22157 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22158
22159         * math/atest-exp.c (exp_mpn): Remove ROUND.
22160         * math/atest-exp2.c (exp_mpn): Likewise.
22161         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22162
22163         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22164         * stdlib/tst-tls-atexit-lib.c: Likewise.
22165         * stdlib/tst-tls-atexit.c: Likewise.
22166
22167 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22168
22169         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22170         and __attribute_alloc_size__.
22171
22172 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22173
22174         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22175         __attribute_alloc_size__.
22176         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22177         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22178
22179 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22180
22181         * include/programs/xmalloc.h: New file.
22182         * catgets/gencat.c: Include it.
22183         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22184         * elf/pldd.c: Likewise.
22185         * iconv/iconv_charmap.c: Likewise.
22186         * iconv/iconvconfig.c: Likewise.
22187         * iconv/strtab.c: Likewise.
22188         * locale/programs/locale.c: Likewise.
22189         * locale/programs/localedef.h: Likewise.
22190         * locale/programs/simple-hash.c: Likewise.
22191         * nscd/nscd.h: Likewise.
22192         * nss/makedb.c: Likewise.
22193         * sysdeps/generic/ldconfig.h: Likewise.
22194
22195 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22196
22197         * Versions.def: Add GLIBC_2.18.
22198         * include/link.h (struct link_map): New member l_tls_dtor_count.
22199         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22200         (__call_tls_dtors): Likewise.
22201         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22202         __cxa_thread_atexit_impl.
22203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22204         Likewise.
22205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22206         Likewise.
22207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22208         Likewise.
22209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22210         Likewise.
22211         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22213         Likewise.
22214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22215         Likewise.
22216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22218         Likewise.
22219         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22220         (tests): Add test case tst-tls-atexit.
22221         (modules-names): Add shared library for tst-tls-atexit.
22222         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22223         (GLIBC_PRIVATE): Add __call_tls_dtors.
22224         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22225         for libstdc++.
22226         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22227         * stdlib/tst-tls-atexit.c: New test case.
22228         * stdlib/tst-tls-atexit-lib.c: New test case.
22229
22230         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22231
22232         * elf/Versions (ld): Add _dl_find_dso_for_object.
22233         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22234         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22235         (dl_open_worker): Use _dl_find_dso_for_object.
22236         * elf/dl-sym.c (do_sym): Likewise.
22237         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22238
22239 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22240
22241         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22242         Syntactic changes only.
22243         (_dl_runtime_profile): Do a tail-call to the resolved function.
22244
22245 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
22246
22247         [BZ #13550]
22248         * sysdeps/x86_64/bp-asm.h: Remove file.
22249         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22250         <bp-sym.h> and <bp-asm.h>.
22251         (__clone): Do not use BP_SYM.
22252         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22253         <bp-sym.h> and <bp-asm.h>.
22254         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22255         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22256         "bp-asm.h".
22257         (_setjmp): Do not use BP_SYM.
22258         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22259         "bp-asm.h".
22260         (setjmp): Do not use BP_SYM.
22261         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22262         libc_hidden_def.
22263         (mempcpy): Do not use BP_SYM in weak_alias.
22264         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22265         "bp-asm.h".
22266         (strchr): Do not use BP_SYM.
22267         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22268         "bp-asm.h".
22269         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22270         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22271         (_start): Do not use BP_SYM.
22272         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22273         "bp-asm.h".
22274         (strcat): Do not use BP_SYM.
22275         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22276         "bp-asm.h".
22277         (STRCMP): Do not use BP_SYM.
22278         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22279         "bp-asm.h".
22280         (STRCPY): Do not use BP_SYM.
22281         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22282         "bp-asm.h".
22283         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22284         "bp-asm.h".
22285         (FUNCTION): Do not use BP_SYM.
22286         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22287         weak_alias.
22288         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22289
22290 2013-02-17  Andreas Jaeger  <aj@suse.de>
22291
22292         * time/Versions: Sort entries.
22293         * string/Versions: Likewise.
22294         * resolv/Versions: Likewise.
22295         * posix/Versions: Likewise.
22296         * iconv/Versions: Likewise.
22297         * elf/Versions: Likewise.
22298         * wcsmbs/Versions: Likewise.
22299
22300 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22301
22302         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22303         loop termination condition.
22304
22305         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22306         variable to calculate EZ.
22307         (__sqr): Likewise.
22308
22309         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22310         the lower precision input.
22311
22312 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
22313
22314         [BZ #13550]
22315         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22316         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22317         (run-via-rtld-prefix): Do not handle %-bp tests.
22318         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22319         (all-object-suffixes): Remove .ob.
22320         (bppfx): Remove variable.
22321         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22322         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22323         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22324         [$(build-bounded) = yes] (libtype.ob): Likewise.
22325         * Makerules (elide-routines.ob): Remove variable.
22326         (do-tests-clean): Do not handle *-bp.out.
22327         (common-mostlyclean): Do not handle *-bp and *-bp.out.
22328         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22329         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22330         (tests): Do not include $(tests-bp.out).
22331         (xtests): Do not include $(xtests-bp.out).
22332         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22333         [$(build-bounded) = yes] ($(addprefix
22334         $(objpfx),$(binaries-bounded))): Remove rule.
22335         ($(objpfx)%-bp.out): Remove rule.
22336         * config.make.in (build-bounded): Remove variable.
22337         * crypt/Makefile [$(build-bounded) = yes]
22338         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22339         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22340         append to variable.
22341         [$(build-bounded) = yes] (install-lib): Likewise.
22342         [$(build-bounded) = yes] (generated): Likewise.
22343         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22344         Remove rule.
22345         * intl/Makefile [$(build-bounded) = yes]
22346         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22347         * math/Makefile [$(build-bounded) = yes]
22348         ($(tests:%=$(objpfx)%-bp): Likewise.
22349         * misc/Makefile [$(build-bounded) = yes]
22350         ($(objpfx)tst-tsearch-bp): Likewise.
22351         * nptl/Makeconfig (bounded-thread-library): Remove variable.
22352         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22353         Remove dependency.
22354         * string/Makefile (o-objects.ob): Remove variable.
22355         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22356         (CFLAGS-.ob): Remove variable.
22357         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22358         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22359         both definitions of variable.
22360         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22361         (ASFLAGS-.ob): Remove variable.
22362
22363 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
22364
22365         [BZ #13550]
22366         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22367         Remove __BOUNDED_POINTERS__ from condition.
22368         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22369         * string/bits/string2.h [!__NO_STRING_INLINES &&
22370         !__BOUNDED_POINTERS__]: Likewise.
22371         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22372         Likewise.
22373         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22374         Remove conditional code.
22375         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22376         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22377         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22378         condition.
22379
22380         [BZ #13550]
22381         * csu/libc-start.c: Do not include <bp-sym.h>.
22382         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22383         * elf/dl-open.c: Do not include <bp-sym.h>.
22384         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22385         * math/fegetenv.c: Do not include <bp-sym.h>.
22386         (fegetenv): Do not use BP_SYM in versioned symbols.
22387         * nptl/sysdeps/pthread/bits/libc-lockP.h
22388         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22389         <bp-sym.h>.
22390         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22391         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22392         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22393         (__pthread_mutex_destroy): Likewise.
22394         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22395         (__pthread_mutex_lock): Likewise.
22396         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22397         (__pthread_mutex_trylock): Likewise.
22398         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22399         (__pthread_mutex_unlock): Likewise.
22400         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22401         (__pthread_mutexattr_init): Likewise.
22402         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22403         (__pthread_mutexattr_destroy): Likewise.
22404         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22405         (__pthread_mutexattr_settype): Likewise.
22406         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22407         (__pthread_rwlock_init): Likewise.
22408         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22409         (__pthread_rwlock_destroy): Likewise.
22410         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22411         (__pthread_rwlock_rdlock): Likewise.
22412         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22413         (__pthread_rwlock_tryrdlock): Likewise.
22414         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22415         (__pthread_rwlock_wrlock): Likewise.
22416         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22417         (__pthread_rwlock_trywrlock): Likewise.
22418         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22419         (__pthread_rwlock_unlock): Likewise.
22420         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22421         (__pthread_key_create): Likewise.
22422         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22423         (__pthread_setspecific): Likewise.
22424         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22425         (__pthread_getspecific): Likewise.
22426         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22427         Likewise.
22428         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22429         (_pthread_cleanup_push_defer): Likewise.
22430         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22431         (_pthread_cleanup_pop_restore): Likewise.
22432         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22433         (pthread_setcancelstate): Likewise.
22434         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22435         <bp-sym.h>.
22436         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22437         (memchr): Do not use BP_SYM in weak_alias.
22438         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22439         (fegetenv): Do not use BP_SYM in versioned symbols.
22440         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22441         (fesetenv): Do not use BP_SYM in versioned symbols.
22442         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22443         (feupdateenv): Do not use BP_SYM in versioned symbols.
22444         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22445         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22446         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22447         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22448         (open64): Do not use BP_SYM in weak_alias.
22449         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22450         (fegetenv): Do not use BP_SYM in versioned symbols.
22451         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22452         (fesetenv): Do not use BP_SYM in versioned symbols.
22453         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22454         (feupdateenv): Do not use BP_SYM in versioned symbols.
22455         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22456         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22457         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22458         (feraiseexcept): Do not use BP_SYM in versioned symbols.
22459         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22460         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22461         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22462         <bp-sym.h>.
22463         (__libc_start_main): Do not use BP_SYM.
22464
22465 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22466
22467         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22468         redundant return line.
22469         (norm): Likewise.
22470         (denorm): Likewise.
22471         (dbl_mp): Likewise.
22472         (sub_magnitudes): Likewise.
22473         (__add): Likewise.
22474         (__sub): Likewise.
22475         (__mul): Likewise.
22476         (__inv): Likewise.
22477         (__dvd): Likewise.
22478         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22479         (norm): Likewise.
22480         (denorm): Likewise.
22481         (dbl_mp): Likewise.
22482         (sub_magnitudes): Likewise.
22483         (__add): Likewise.
22484         (__sub): Likewise.
22485         (__mul): Likewise.
22486         (__inv): Likewise.
22487         (__dvd): Likewise.
22488
22489         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22490         instead of __mul.
22491         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22492         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22493         (cc32): Likewise.
22494
22495         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22496         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22497         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22498         of __mul for squares.
22499         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22500         function
22501         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22502         Likewise.
22503         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22504         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22505
22506 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
22507
22508         [BZ #13550]
22509         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22510         code.
22511         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22512         prototype or function definition.  Rename ubp_* variables and
22513         parameters.  Remove argv definitions conditional on
22514         [__BOUNDED_POINTERS__].
22515         * debug/backtrace.c (__backtrace): Do not use __unbounded.
22516         * elf/dl-runtime.c (_dl_fixup): Likewise.
22517         * include/set-hooks.h (RUN_HOOK): Likewise.
22518         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22519         definition.
22520         * string/strcpy.c (strcpy): Do not use __unbounded.
22521         * sysdeps/generic/frame.h (struct layout): Likewise.
22522         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22523         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22524         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22525         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22526         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22527         (__backtrace): Likewise.
22528         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22529         use __ptrvalue.
22530         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22531         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22532         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22533         Likewise.
22534         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22535         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22536         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22537         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22538         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22539         Do not use __unbounded.
22540         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22541         Rename __unboundedrlimits parameter to rlimits in prototype.
22542         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22543         Do not use __unbounded.
22544         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22545         not use __ptrvalue.
22546         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22547         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22548         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22549         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22550         __ptrvalue or __unbounded.
22551         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22552         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22553         use __unbounded.
22554         (__new_msgctl): Do not use __ptrvalue.
22555         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22556         __unbounded.
22557         (__libc_msgrcv): Do not use __ptrvalue.
22558         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22559         startup_info): Do not use __unbounded.
22560         (__libc_start_main): Likewise.  Rename ubp_* variables and
22561         parameters.  Remove argv definitions conditional on
22562         [__BOUNDED_POINTERS__].
22563         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22564         __ptrvalue.
22565         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22566         use __unbounded.
22567         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22568         or __ptrvalue.
22569         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22570         use __unbounded.
22571         (__new_shmctl): Do not use __ptrvalue.
22572         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22573         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22574         Likewise.
22575         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22576         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22577         (__libc_sigaction): Likewise.
22578         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22579         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22580         Likewise.
22581         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22582
22583 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
22584
22585         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22586
22587         * string/mempcpy.c: Implement by calling memcpy.
22588
22589 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22590
22591         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22592
22593         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22594         evaluation.
22595
22596         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22597         values in the mantissa.
22598
22599         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22600         minimize writes to Z.
22601         (sub_magnitudes): Simplify code a bit.
22602
22603 2013-02-12  Roland McGrath  <roland@hack.frob.com>
22604
22605         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22606         from the message.  The linker prefixes all warnings with that already.
22607
22608 2013-02-12  Andreas Schwab  <schwab@suse.de>
22609
22610         [BZ #15078]
22611         * posix/regexec.c (extend_buffers): Add parameter min_len.
22612         (check_matching): Pass minimum needed length.
22613         (clean_state_log_if_needed): Likewise.
22614         (get_subexp): Likewise.
22615         * posix/Makefile (tests): Add bug-regex34.
22616         (bug-regex34-ENV): Define.
22617         * posix/bug-regex34.c: New file.
22618
22619         [BZ #11561]
22620         * posix/regcomp.c (parse_bracket_exp): When looking up collating
22621         elements compare against the byte sequence of it, not its name.
22622         * posix/Makefile (tests): Add bug-regex35.
22623         (bug-regex35-ENV): Define.
22624         * posix/bug-regex35.c: New file.
22625
22626 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22627
22628         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
22629         comment.
22630         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22631         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22632         (CHECK_EOL): Add undef.
22633
22634 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
22635
22636         * bits/stdlib-bsearch.h: New file.
22637         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22638         * stdlib/stdlib.h: Likewise.
22639
22640 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22641
22642         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22643         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22644         declaration.
22645         * manual/search.texi (Array Search Function): Add missing const in
22646         lfind prototype.
22647         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22648         declaration to use rlim_t.
22649         (Basic Scheduling Functions): Remove erroneous const from
22650         sched_getparam prototype.  Remove erroneous * from
22651         sched_get_priority_max and sched_get_priority_min prototypes.
22652         (Resource Usage): Fix summary @comment on vtimes to refer to
22653         sys/vtimes.h rather than vtimes.h.
22654         Add missing *s in vtimes prototype.
22655         (Limits on Resources): Fix ulimit prototype to return long int.
22656         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22657         prototypes to use long int rather than double.
22658         (BSD Random): Fix initstate and setstate to use char *, not void *.
22659         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22660         prototype to make second argument 'struct aiocb64 *const[]'.
22661         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22662         (Status of AIO Operations): Remove erroneous const in aio_return and
22663         aio_return64 prototypes.
22664         (Synchronizing I/O): Fix sync prototype to return void.
22665         * manual/startup.texi (Suboptions): Remove an erroneous const in
22666         getsubopt prototype.
22667         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22668         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22669         use size_t rather than int.
22670         (Scanning All Users): Likewise for getpwent_r.
22671         (Setting Groups): Add missing const to setgroups prototype.
22672         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22673         * manual/socket.texi (Host Names): Fix gethostbyaddr and
22674         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22675         'const void *' rather than 'const char *'.
22676         (Host Address Functions): Likewise for inet_ntop.
22677         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22678         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22679         ssize_t for return value.
22680         (Sending Data): Likewise for send, sendto, sendmsg.
22681         (Socket Option Functions): Add a missing const in setsockopt prototype.
22682         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22683         use wchar_t for the argument.
22684         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22685         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22686         take no arguments.
22687         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22688         double/float/long double for second argument.
22689         Fix return types of significand, significandf, significandl.
22690         * manual/filesys.texi (Setting Permissions): Use mode_t for second
22691         argument in fchmod prototype.
22692         (File Owner): Use uid_t and gid_t in fchown prototype.
22693         (File Times): Add const to utimes, futimes, and lutimes prototypes.
22694         (Making Special Files): Use mode_t and dev_t in mknod prototype.
22695         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22696         use 'const struct dirent **' as argument types to CMP function pointer
22697         argument.
22698         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22699         (File Times): Fix summary magic @comment for struct utimbuf and utime
22700         to refer to utime.h, not time.h.
22701         * manual/string.texi (Argz Functions): Add missing const in
22702         argz_extract and argz_next prototypes.
22703         (Finding Tokens in a String): Likewise for basename.
22704         (String/Array Comparison): Fix typo in wcscasecmp prototype.
22705         (Copying and Concatenation): Fix typo in wmemmove prototype.
22706         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22707         (Signal Stack): Remove erroneous const in sigstack prototype.
22708         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22709         prototype.
22710         (Simple Calendar Time): Likewise for stime.
22711         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22712         prototype.
22713         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22714         say sys/sysctl.h instead.
22715         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22716         and vsyslog prototypes.
22717
22718 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22719
22720         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22721         Remove.
22722
22723 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22724
22725         * misc/sys/mman.h: Fix typo in mremap comment.
22726
22727 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22728
22729         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22730         the '\0' terminator.
22731
22732 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22733
22734         [BZ #13550]
22735         * debug/segfault.c: Don't include <bp-checks.h>.
22736         * sysdeps/generic/bp-checks.h: Remove file.
22737         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22738         (__GETDENTS): Don't use CHECK_N.
22739         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22740         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22741         (__getgroups): Don't use CHECK_N.
22742         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22743         (setgroups): Don't use CHECK_N.
22744         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22745         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22746         (__libc_msgrcv): Don't use CHECK_N.
22747         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22748         (__libc_msgsnd): Don't use CHECK_N.
22749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22750         <bp-checks.h>.
22751         (__libc_pread): Don't use CHECK_N.
22752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22753         include <bp-checks.h>.
22754         (__libc_pread64): Don't use CHECK_N.
22755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22756         include <bp-checks.h>.
22757         (__libc_pwrite): Don't use CHECK_N.
22758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22759         include <bp-checks.h>.
22760         (__libc_pwrite64): Don't use CHECK_N.
22761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22762         <bp-checks.h>.
22763         (__libc_pread): Don't use CHECK_N.
22764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22765         include <bp-checks.h>.
22766         (__libc_pread64): Don't use CHECK_N.
22767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22768         include <bp-checks.h>.
22769         (__libc_pwrite): Don't use CHECK_N.
22770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22771         include <bp-checks.h>.
22772         (__libc_pwrite64): Don't use CHECK_N.
22773         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22774         (do_pread): Don't use CHECK_N.
22775         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22776         (do_pread64): Don't use CHECK_N.
22777         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22778         (do_pwrite): Don't use CHECK_N.
22779         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22780         (do_pwrite64): Don't use CHECK_N.
22781         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22782         (__libc_readv): Don't use CHECK_N.
22783         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22784         (semop): Don't use CHECK_N.
22785         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22786         <bp-checks.h>.
22787         (semtimedop): Don't use CHECK_N.
22788         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22789         (__libc_pread): Don't use CHECK_N.
22790         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22791         <bp-checks.h>.
22792         (__libc_pread64): Don't use CHECK_N.
22793         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22794         <bp-checks.h>.
22795         (__libc_pwrite): Don't use CHECK_N.
22796         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22797         <bp-checks.h>.
22798         (__libc_pwrite64): Don't use CHECK_N.
22799         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22800         <bp-checks.h>.
22801         (__libc_msgrcv): Don't use CHECK_N.
22802         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22803         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
22804         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22805         (__libc_writev): Don't use CHECK_N.
22806
22807 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22808
22809         * string/strcpy.c: Removed unused variable.
22810
22811         * Makeconfig (+sysdep-includes): Define with := rather than =.
22812         Use an existing include/ subdir of each sysdeps dir before it.
22813
22814 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22815
22816         * nscd/connection.c (register_traced_file): Comment function.
22817         [HAVE_INOTIFY] (union __inev): Define.
22818         [HAVE_INOTIFY] (inotify_check_files): New function.
22819         [HAVE_INOTIFY] (clear_db_cache): Likewise.
22820         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22821         clear_db_cache.
22822         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22823
22824 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22825
22826         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22827         loaded if not already and that a failure is permanent.
22828
22829 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22830
22831         [BZ #15006]
22832         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22833         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22834
22835 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22836
22837         [BZ #13550]
22838         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22839         (CHECK_1_NULL_OK): Likewise.
22840         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22841         (__fxstat): Do not use CHECK_1.
22842         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22843         <bp-checks.h>.
22844         (___fxstat64): Do not use CHECK_1.
22845         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22846         <bp-checks.h>.
22847         (__fxstatat): Do not use CHECK_1.
22848         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22849         <bp-checks.h>.
22850         (__fxstatat64): Do not use CHECK_1.
22851         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22852         <bp-checks.h>.
22853         (__fxstat): Do not use CHECK_1.
22854         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22855         <bp-checks.h>.
22856         (__fxstatat): Do not use CHECK_1.
22857         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22858         <bp-checks.h>.
22859         (__getresgid): Do not use CHECK_1.
22860         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22861         <bp-checks.h>.
22862         (__getresuid): Do not use CHECK_1.
22863         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22864         <bp-checks.h>.
22865         (__lxstat): Do not use CHECK_1.
22866         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22867         <bp-checks.h>.
22868         (__old_msgctl): Do not use CHECK_1.
22869         (__new_msgctl): Likewise.
22870         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22871         <bp-checks.h>.
22872         (__new_setrlimit): Do not use CHECK_1.
22873         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22874         <bp-checks.h>.
22875         (__old_shmctl): Do not use CHECK_1.
22876         (__new_shmctl): Likewise.
22877         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22878         <bp-checks.h>.
22879         (__xstat): Do not use CHECK_1.
22880         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22881         (__lxstat): Do not use CHECK_1.
22882         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22883         <bp-checks.h>.
22884         (___lxstat64): Do not use CHECK_1.
22885         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22886         (__old_msgctl): Do not use CHECK_1.
22887         (__new_msgctl): Likewise.
22888         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22889         <bp-checks.h>.
22890         (__gettimeofday): Do not use CHECK_1.
22891         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22892         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22893         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22894         <bp-checks.h>.
22895         (__gettimeofday): Do not use CHECK_1.
22896         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22897         (__old_shmctl): Do not use CHECK_1_NULL_OK.
22898         (__new_shmctl): Do not use CHECK_1.
22899         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22900         <bp-checks.h>.
22901         (do_sigtimedwait): Do not use CHECK_1.
22902         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22903         <bp-checks.h>.
22904         (do_sigwaitinfo): Do not use CHECK_1.
22905         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22906         <bp-checks.h>.
22907         (msgctl): Do not use CHECK_1.
22908         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22909         <bp-checks.h>.
22910         (shmctl): Do not use CHECK_1.
22911         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22912         (ustat): Do not use CHECK_1.
22913         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22914         <bp-checks.h>.
22915         (__fxstat): Do not use CHECK_1.
22916         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22917         <bp-checks.h>.
22918         (__fxstatat): Do not use CHECK_1.
22919         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22920         <bp-checks.h>.
22921         (__lxstat): Do not use CHECK_1.
22922         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22923         <bp-checks.h>.
22924         (__xstat): Do not use CHECK_1.
22925         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22926         (__xstat): Do not use CHECK_1.
22927         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22928         (___xstat64): Do not use CHECK_1.
22929
22930         [BZ #13550]
22931         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22932         definitions.
22933         (CHECK_BOUNDS_HIGH): Likewise.
22934         * string/strcpy.c: Do not include <bp-checks.h>.
22935         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22936
22937 2013-02-07  Roland McGrath  <roland@hack.frob.com>
22938
22939         * nscd/nscd-client.h (__nscd_drop_map_ref):
22940         Add __attribute__ ((unused)).
22941         * nis/nss-nisplus.h (niserr2nss): Likewise.
22942
22943         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22944         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22945
22946         * csu/libc-tls.c (init_static_tls, init_slotinfo):
22947         Remove inline keyword.
22948         * include/rounding-mode.h (round_away): Likewise.
22949         * libio/wfileops.c (adjust_wide_data): Likewise.
22950         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22951         (__m128i_strloadu_tolower): Likewise.
22952         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22953         (__m128i_strloadu_tolower): Likewise.
22954         * time/mktime.c (ydhms_diff): Likewise.
22955         * locale/elem-hash.h (elem_hash): Likewise.
22956         * locale/setlocale.c (setdata): Likewise.
22957         * posix/regex_internal.h (re_string_char_size_at): Likewise.
22958         (re_string_wchar_at): Likewise.
22959         (bitset_not, bitset_merge, bitset_mask): Likewise.
22960         [!(__GNUC__ > 3)] (inline): Remove macro.
22961         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22962         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22963         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22964         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22965         * string/memcmp.c (memcmp_bytes): Likewise.
22966         * locale/programs/locarchive.c (compute_hashval): Likewise.
22967         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22968         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22969         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22970         * nss/getent.c (print_rpc, print_protocols): Likewise.
22971         (print_passwd, print_group, print_aliases): Likewise.
22972         * nis/nss-nisplus.h (niserr2nss): Likewise.
22973         * nscd/connections.c (restart_p): Likewise.
22974         Change return type to bool.
22975
22976 2013-02-05  Roland McGrath  <roland@hack.frob.com>
22977
22978         * Makeconfig (all-Depend-files): Add existing
22979         $(sorted-subdirs:=/Depend) files.
22980         (all-subdirs): Remove nss.
22981         * sysdeps/unix/inet/Subdirs: Add it here instead.
22982         * hesiod/Depend: New file.
22983
22984         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22985         instead of calling alloca.
22986
22987         * io/lseek.c (__lseek): Rename to __libc_lseek.
22988         Define __lseek as an alias.
22989
22990         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22991
22992 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
22993
22994         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22995         else clause and remove check for non-standard endianness.
22996
22997 2013-02-04  David S. Miller  <davem@davemloft.net>
22998
22999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23000
23001 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23002
23003         [BZ #13550]
23004         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23005         (__ubp_memchr): Remove prototype.
23006         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23007         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23008         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23009         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23010         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23011         Remove alias.
23012         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23013         (__ubp_memchr): Likewise.
23014         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23015         (__ubp_memchr): Likewise.
23016         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23017         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23018         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23019         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23020         CHECK_STRING.
23021         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23022         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23023         (__getcwd): Do not use CHECK_STRING.
23024         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23025         <bp-checks.h>.
23026         (__real_chown): Do not use CHECK_STRING.
23027         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23028         <bp-checks.h>.
23029         (fchownat): Do not use CHECK_STRING.
23030         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23031         CHECK_STRING.
23032         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23033         <bp-checks.h>.
23034         (__lchown): Do not use CHECK_STRING.
23035         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23036         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23037         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23038         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23040         include <bp-checks.h>.
23041         (truncate64): Do not use CHECK_STRING.
23042         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23043         <bp-checks.h>.
23044         (__real_chown): Do not use CHECK_STRING.
23045         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23046         <bp-checks.h>.
23047         (__lchown): Do not use CHECK_STRING.
23048         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23049         <bp-checks.h>.
23050         (__chown): Do not use CHECK_STRING.
23051         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23052         <bp-checks.h>.
23053         (truncate64): Do not use CHECK_STRING.
23054         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23055         Likewise.
23056         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23057         (__xmknod): Do not use CHECK_STRING.
23058         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23059         <bp-checks.h>.
23060         (__xmknodat): Do not use CHECK_STRING.
23061         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23062         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23063
23064 2013-02-04  Andreas Schwab  <schwab@suse.de>
23065
23066         [BZ #14142]
23067         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23068         * include/netdb.h: Likewise for h_errno.
23069         * elf/tst-stackguard1.c: Include <tls.h>.
23070
23071 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23072
23073         * elf/link.h (struct link_map): Extend the l_addr comment.
23074         * include/link.h (struct link_map): Likewise.
23075
23076 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23077
23078         [BZ #13550]
23079         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23080         (BOUNDED_1): Remove macro.
23081         * debug/backtrace.c: Don't include <bp-checks.h>.
23082         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23083         (__backtrace): Likewise.
23084         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23085         <bp-checks.h>.
23086         (__backtrace): Don't use BOUNDED_1.
23087         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23088         <bp-checks.h>.
23089         (__backtrace): Don't use BOUNDED_1.
23090         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23091         (__backtrace): Don't use BOUNDED_1.
23092         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23093         (shmat): Don't use BOUNDED_N.
23094
23095 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23096
23097         [BZ #13550]
23098         * sysdeps/generic/bp-start.h: Remove file.
23099         * csu/libc-start.c: Don't include <bp-start.h>.
23100         (LIBC_START_MAIN): Set up __environ directly instead of using
23101         INIT_ARGV_and_ENVIRON.
23102         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23103         <bp-start.h>.
23104
23105         [BZ #13550]
23106         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23107         definitions.
23108         (CHECK_FCNTL): Likewise.
23109         (CHECK_N_PAGES): Likewise.
23110
23111         [BZ #13550]
23112         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23113         definitions.
23114         (CHECK_SIGSET_NULL_OK): Likewise.
23115         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23116         <bp-checks.h>.
23117         (sigpending): Don't use CHECK_SIGSET.
23118         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23119         <bp-checks.h>.
23120         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23121         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23122         <bp-checks.h>.
23123         (do_sigsuspend): Don't use CHECK_SIGSET.
23124         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23125         use CHECK_SIGSET.
23126         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23127         (do_sigwait): Don't use CHECK_SIGSET.
23128         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23129         use CHECK_SIGSET.
23130         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23131         include <bp-checks.h>.
23132         (sigpending): Don't use CHECK_SIGSET.
23133         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23134         include <bp-checks.h>.
23135         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23136         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23137         <bp-checks.h>.
23138         (sigpending): Don't use CHECK_SIGSET.
23139         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23140         <bp-checks.h>.
23141         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23142
23143         [BZ #13550]
23144         * sysdeps/generic/bp-semctl.h: Remove file.
23145         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23146         <bp-checks.h> and <bp-semctl.h>.
23147         (__old_semctl): Don't use CHECK_SEMCTL.
23148         (__new_semctl): Likewise.
23149         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23150         and <bp-semctl.h>.
23151         (__old_semctl): Don't use CHECK_SEMCTL.
23152         (__new_semctl): Likewise.
23153         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23154         <bp-checks.h> and <bp-semctl.h>.
23155         (__old_semctl): Don't use CHECK_SEMCTL.
23156         (__new_semctl): Likewise.
23157         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23158         <bp-checks.h> and <bp-semctl.h>.
23159         (semctl): Don't use CHECK_SEMCTL.
23160
23161         [BZ #13550]
23162         * Makerules (elide-bp-thunks): Remove variable.
23163         (elide-routines.oS): Don't use $(elide-bp-thunks).
23164         (elide-routines.os): Likewise.
23165         (elide-routines.o): Likewise.
23166         (elide-routines.op): Likewise.
23167         (elide-routines.og): Likewise.
23168         (objects): Don't use $(bp-thunks).
23169         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23170         include.
23171         (common-generated): Do not add s-proto-bp.d.
23172         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23173         (int): Likewise.
23174         (typ): Likewise.
23175         Do not generate makefile rules for bounded-pointer thunks.
23176         * sysdeps/generic/bp-thunks.h: Remove file.
23177         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23178         * sysdeps/unix/s-proto-bp.S: Likewise.
23179
23180         [BZ #15062]
23181         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23182         parts of result separately when argument is not close to line from
23183         -i to i and one part of argument is small.
23184         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23185         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23186         * math/libm-test.inc (cacos_test): Add more tests.
23187         (casin_test): Likewise.
23188         (casinh_test): Likewise.
23189         * sysdeps/i386/fpu/libm-test-ulps: Update.
23190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23191
23192 2013-01-31  David S. Miller  <davem@davemloft.net>
23193
23194         * po/de.po: Update from translation team.
23195
23196 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23197
23198         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23199
23200 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23201
23202         * configure.in (_AC_PROG_CC_C89): New definition.
23203         * configure: Regenerate.
23204
23205         * configure.in (AC_PROG_CPP): New definition.
23206         * configure: Regenerate.
23207
23208 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23209
23210         * debug/tst-backtrace.h: New file.
23211         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23212         (ret): Remove variable.
23213         (x): Likewise.
23214         (FAIL): Remove macro.
23215         (NO_INLINE): Likewise.
23216         (fn1): Use match function instead of strstr.
23217         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23218         (ret): Remove variable.
23219         (x): Likewise.
23220         (FAIL): Remove macro.
23221         (NO_INLINE): Likewise.
23222         (fn): Use match function instead of strstr.
23223         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23224         (ret): Remove variable.
23225         (x): Likewise.
23226         (FAIL): Remove macro.
23227         (NO_INLINE): Likewise.
23228         (handle_signal): Use match function instead of strstr.
23229         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23230         (ret): Remove variable.
23231         (x): Likewise.
23232         (FAIL): Remove macro.
23233         (NO_INLINE): Likewise.
23234         (handle_signal): Use match function instead of strstr.
23235
23236 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23237
23238         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23239
23240 2013-01-23  David S. Miller  <davem@davemloft.net>
23241
23242         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23243         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23244         argument of CAS if possible.
23245         * sysdeps/sparc/sparc64/bits/atomic.h
23246         (__arch_compare_and_exchange_val_32_acq): Likewise.
23247         (__arch_compare_and_exchange_val_64_acq): Likewise.
23248
23249 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
23250
23251         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23252         * sysdeps/posix/ulimit.c: ... this.
23253         Include <limits.h>.
23254         * sysdeps/unix/bsd/ulimit.c: Remove file.
23255
23256 2013-01-23  Adam Conrad  <adconrad@0c3.net>
23257
23258         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23259         (LDFLAGS-tst-array5): Likewise.
23260
23261 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23262
23263         [BZ #15036]
23264         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23265         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23266         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23267         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23268
23269 2013-01-21  David S. Miller  <davem@davemloft.net>
23270
23271         * sysdeps/sparc/backtrace.c: New file.
23272         * sysdeps/sparc/sparc32/backtrace.h: New file.
23273         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23274         * sysdeps/sparc/sparc64/backtrace.h: New file.
23275         * sysdeps/sparc/sparc64/backtrace.c: Delete.
23276         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23277         -funwind-tables.
23278
23279 2013-01-21  Andreas Schwab  <schwab@suse.de>
23280
23281         [BZ #15020]
23282         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23283         closed its stdout.
23284
23285 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
23286
23287         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23288         "mpa2.h".
23289         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23290
23291 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
23292             Mark Mitchell  <mark@codesourcery.com>
23293             Tom de Vries  <tom@codesourcery.com>
23294             Paul Pluzhnikov  <ppluzhnikov@google.com>
23295
23296         * debug/tst-backtrace2.c: New file.
23297         * debug/tst-backtrace3.c: Likewise.
23298         * debug/tst-backtrace4.c: Likewise.
23299         * debug/tst-backtrace5.c: Likewise.
23300         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23301         (CFLAGS-tst-backtrace3.c): Likewise.
23302         (CFLAGS-tst-backtrace4.c): Likewise.
23303         (CFLAGS-tst-backtrace5.c): Likewise.
23304         (LDFLAGS-tst-backtrace2): Likewise.
23305         (LDFLAGS-tst-backtrace3): Likewise.
23306         (LDFLAGS-tst-backtrace4): Likewise.
23307         (LDFLAGS-tst-backtrace5): Likewise.
23308         (tests): Add new tests tst-backtrace2, tst-backtrace3,
23309         tst-backtrace4 and tst-backtrace5.
23310
23311 2013-01-18  Anton Blanchard  <anton@samba.org>
23312             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23313
23314         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23315         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23316         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23317         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23319         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23320         "+r" and remove output regs list as redundant.  Add explicit inline
23321         asm to specify register of return val to work around compiler codegen
23322         bug.  Remove (int) cast on return value.  Add return type parameter to
23323         use in macro so that this macro does not truncate return value for
23324         64-bit values.
23325         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23326         pass to INTERNAL_VSYSCALL_NCS.
23327         (INLINE_VSYSCALL): Add 'long int' as return type to
23328         INTERNAL_VSYSCALL_NCS macro invocation.
23329         (INTERNAL_VSYSCALL): Add 'long int' as return type to
23330         INTERNAL_VSYSCALL_NCS macro invocation.
23331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23332
23333 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23334
23335         [BZ #14496]
23336         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23337         Fix application of SIMD FP exception mask.
23338
23339         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23340         mp_no from a power of two.
23341         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23342         __mpexp_twomm1.  Use __pow_mp.
23343
23344         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23345         multiplication.
23346
23347 2013-01-17  David S. Miller  <davem@davemloft.net>
23348
23349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23350
23351 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23352
23353         [BZ #15023]
23354         * include/complex.h: Condition contents on [!_COMPLEX_H].
23355         (__kernel_casinhf): New prototype.
23356         (__kernel_casinh): Likewise.
23357         (__kernel_casinhl): Likewise.
23358         * math/Makefile (libm_calls): Add k_casinh.
23359         * math/k_casinh.c: New file.
23360         * math/k_casinhf.c: Likewise.
23361         * math/k_casinhl.c: Likewise.
23362         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23363         finite nonzero arguments.
23364         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23365         finite nonzero arguments.
23366         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23367         finite nonzero arguments.
23368         * math/s_casinh.c: Do not include <float.h>.
23369         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23370         * math/s_casinhf.c: Do not include <float.h>.
23371         (__casinhf): Move code for finite nonzero arguments to
23372         k_casinhf.c.
23373         * math/s_casinhl.c: Do not include <float.h>.
23374         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23375         redefine.
23376         (__casinhl): Move code for finite nonzero arguments to
23377         k_casinhl.c.
23378         * math/libm-test.inc (cacos_test): Add more tests.
23379         * sysdeps/i386/fpu/libm-test-ulps: Update.
23380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23381
23382 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
23383
23384         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23385         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23386         [!HAVE_MREMAP]: Remove [defined linux] case.
23387         * malloc/arena.c: Do not include <malloc-sysdep.h>.
23388
23389 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23390
23391         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23392
23393 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
23394
23395         * elf/elf.h (R_386_SIZE32): New relocation.
23396         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23397         R_386_SIZE32.
23398         (elf_machine_rela): Likewise.
23399         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23400         R_X86_64_SIZE64 and R_X86_64_SIZE32.
23401
23402 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23403
23404         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23405         (FP_FAST_FMA): Do not define.
23406         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23407         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23408         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23409         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23410         !_SOFT_FLOAT]: Likewise.
23411         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23412         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23413         value.
23414         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23415         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23416         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23417         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23418         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23419         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23420         file.
23421
23422 2013-01-16  Andreas Schwab  <schwab@suse.de>
23423
23424         [BZ #14327]
23425         * include/stdlib.h (__mktemp): Add declaration.
23426         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23427         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23428
23429 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23430
23431         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23432         definitions.
23433         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23434         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23435         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23436         definitions here.
23437         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23438         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23439         definitions.
23440         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23441         and ONE.
23442         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23443         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23444         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23445         definitions.
23446         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23447         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23448         definitions.
23449         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23450
23451         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23452
23453 2013-01-15  David S. Miller  <davem@davemloft.net>
23454
23455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23456         trunc{,f} to libm-sysdep_routes.
23457         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23459         file.
23460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23462         file.
23463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23464         file.
23465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23467         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23468         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23469         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23470         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23471         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23472         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23473
23474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23475         nearbyint{,f} to libm-sysdep_routes.
23476         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23478         New file.
23479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23480         file.
23481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23482         New file.
23483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23484         file.
23485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23487         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23488         file.
23489         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23490         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23491         file.
23492         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23493         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23494         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23495
23496         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23497         libc_feholdexcept and libc_fesetenv.
23498
23499 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
23500
23501         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23502
23503 2013-01-14  David S. Miller  <davem@davemloft.net>
23504
23505         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23506         (SPARC_ASM_VIS2_IFUNC): Likewise.
23507         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23509         use of 'siam' instruction.
23510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23511         Likewise.
23512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23513         Likewise.
23514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23515         Likewise.
23516         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23517         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23518         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23519         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23521         file.
23522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23523         file.
23524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23525         file.
23526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23527         file.
23528         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23529         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23530         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23531         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23533         new VIS2 routines.
23534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23537         Likewise.
23538         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23539         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23540         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23541         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23543         routines to libm-sysdep_routines.
23544         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23545
23546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23547         fdim/fdimf to libm-sysdep_routines.
23548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23549         file.
23550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23552         file.
23553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23556         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23557         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23558         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23559         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23560
23561 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23562
23563         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23564         to optimize copies.
23565
23566         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23567         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23568         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23569
23570         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23571         local variable MPTWO.
23572         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23573         Likewise.
23574
23575 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23576
23577         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23578         GLOB_NOESCAPE.
23579
23580 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23581
23582         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23583
23584 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23585
23586         * manual/pattern.texi (glob_t): Document gl_flags.
23587         (glob64_t): Likewise.
23588
23589 2013-01-11  David S. Miller  <davem@davemloft.net>
23590
23591         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23592         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23593         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
23594         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23595         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23596         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23597         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23598         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23599         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23600         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23601         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23602         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23603         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23604
23605         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23606         sparc V9 rather than using V8 code.
23607         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23608         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23609
23610         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23611         Move to...
23612         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23613         Here.
23614
23615 2013-01-11  Roland McGrath  <roland@hack.frob.com>
23616
23617         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23618         not in the main loop.
23619         * configure: Regenerated.
23620
23621 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
23622
23623         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23624         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23625         to just #else.
23626         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
23627         [!__GLIBC_HAVE_LONG_LONG] case.
23628         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23629         condition to just #else.
23630         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23631         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23632         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23633         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23634         unconditional.
23635         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23636         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23637         #elif condition to just #else.
23638         * sysdeps/unix/sysv/linux/sys/sysmacros.h
23639         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23640         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23641         #elif condition to just #else.
23642
23643 2013-01-11  Steve Ellcey  <sellcey@mips.com>
23644
23645         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23646         (EF_MIPS_ARCH_64): Fix value.
23647         (EF_MIPS_ARCH_32R2): New.
23648         (EF_MIPS_ARCH_64R2): New.
23649
23650 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
23651
23652         * Makeconfig (+link-pie-before-libc): New.
23653         (+link-pie-after-libc): Likewise.
23654         (+link-pie-tests): Likewise.
23655         (+link-pie): Rewritten.
23656         (link-before-libc): Remove $(config-LDFLAGS).
23657         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23658         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23659         (config-LDFLAGS): Renamed to ...
23660         (rtld-LDFLAGS): This.
23661         (rtld-tests-LDFLAGS): New macro.
23662         (link-libc-rpath-link): Likewise.
23663         (link-libc-tests-rpath-link): Likewise.
23664         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23665         (link-libc): Prepand $(link-libc-rpath-link).
23666         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23667         (test-program-prefix): New macro.
23668         (test-via-rtld-prefix): Likewise.
23669         (test-program-cmd): Likewise.
23670         (host-test-program-cmd): Likewise.
23671         * Makefile ($(common-objpfx)testrun.sh): Replace
23672         $(run-program-prefix) with $(test-program-prefix).
23673         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23674         $(rtld-LDFLAGS).
23675         ($(common-objpfx)shlib.lds): Likewise.
23676         (build-module-helper): Likewise.
23677         ($(common-objpfx)format.lds): Likewise.
23678         * Rules (binaries-pie-tests): New.
23679         (binaries-pie-notests): Likewise.
23680         (binaries-pie): Rewritten.
23681         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23682         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23683         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23684         (make-test-out): Replace $(host-built-program-cmd) with
23685         $(host-test-program-cmd).
23686         * config.make.in (build-hardcoded-path-in-tests): New variable.
23687         * configure.in (--enable-hardcoded-path-in-tests): New configure
23688         option.
23689         (hardcoded_path_in_tests): New AC_SUBST.
23690         * configure: Regenerated.
23691         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23692         $(built-program-cmd) with $(test-program-cmd).
23693         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23694         (test_program_cmd): This.
23695         * elf/Makefile ($(objpfx)order.out): Run test with
23696         $(test-program-prefix).
23697         ($(objpfx)order2.out): Likewise.
23698         ($(objpfx)tst-initorder.out): Likewise.
23699         ($(objpfx)tst-initorder2.out): Likewise.
23700         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23701         $(test-program-cmd).
23702         ($(objpfx)tst-array1-static.out): Likewise.
23703         ($(objpfx)tst-array2.out): Likewise.
23704         ($(objpfx)tst-array3.out): Likewise.
23705         ($(objpfx)tst-array4.out): Likewise.
23706         ($(objpfx)tst-array5.out): Likewise.
23707         ($(objpfx)tst-array5-static.out): Likewise.
23708         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23709         $(test-program-cmd).
23710         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23711         $(run-program-prefix) with $(test-program-prefix).
23712         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23713         (test_program_prefix): This.
23714         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23715         $(run-program-prefix) with $(test-program-prefix).
23716         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23717         (test_program_prefix): This.
23718         * iconvdata/tst-tables.sh: Likewise.
23719         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23720         $(run-program-prefix) with $(test-program-prefix).
23721         ($(objpfx)tst-translit.out): Likewise.
23722         ($(objpfx)tst-gettext2.out): Likewise.
23723         ($(objpfx)tst-gettext4.out): Likewise.
23724         ($(objpfx)tst-gettext6.out): Likewise.
23725         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23726         (test_program_prefix): This.
23727         * intl/tst-gettext2.sh: Likewise.
23728         * intl/tst-gettext4.sh  Likewise.
23729         * intl/tst-gettext6.sh: Likewise.
23730         * intl/tst-translit.sh: Likewise.
23731         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23732         with $(test-program-cmd).
23733         * libio/Makefile ($(objpfx)test-freopen.out): Replace
23734         $(run-program-prefix) with $(test-program-prefix).
23735         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23736         (test_program_prefix): This.
23737         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23738         $(run-program-prefix) with $(test-program-prefix).
23739         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23740         (test_program_prefix): This.
23741         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23742         * posix/Makefile ($(objpfx)globtest.out): Replace
23743         $(run-via-rtld-prefix) and $(test-wrapper) with
23744         $(test-program-prefix) and $(test-via-rtld-prefix).
23745         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23746         $(test-program-prefix).
23747         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23748         $(host-test-program-cmd).
23749         (tst-spawn-ARGS): Likewise.
23750         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23751         $(test-program-prefix).
23752         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23753         (test_via_rtld_prefix): This.
23754         (test_wrapper): Renamed to ...
23755         (test_program_prefix): This.
23756         (run_program_prefix): Replaced by test_program_prefix.
23757         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23758         (test_program_prefix): This.
23759         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23760         with $(host-test-program-cmd).
23761         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23762         $(run-program-prefix) with $(test-program-prefix).
23763         ($(objpfx)tst-printf.out): Likewise.
23764         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23765         $(test-program-cmd).
23766         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23767         (test_program_prefix): This.
23768         * stdio-common/tst-unbputc.sh: Likewise.
23769         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23770         $(run-program-prefix) with $(test-program-prefix).
23771         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23772         (test_program_prefix): This.
23773         * string/Makefile ($(objpfx)tst-svc.out):  Replace
23774         $(built-program-cmd) with $(test-program-cmd).
23775
23776 2013-01-11  Andreas Jaeger  <aj@suse.de>
23777
23778         [BZ #15003]
23779         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23780         value. Sync with Linux 3.7.
23781
23782 2013-01-10  David S. Miller  <davem@davemloft.net>
23783
23784         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23785         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23786         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23787
23788 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23789
23790         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23791         never set.
23792         * configure: Regenerated.
23793
23794 2013-01-10  David S. Miller  <davem@davemloft.net>
23795
23796         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23797         sparc V9 rather than using V8 code.
23798         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23799         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23800
23801 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23802
23803         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23804         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23805         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23806         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23807         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23808         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23809         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23810         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23811         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23812         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23813         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23814         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23815         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23816         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23817         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23818         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23819         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23820         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23821         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23822         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23823         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23824         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23825         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23826         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23827         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23828         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23829         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23830
23831 2013-01-10  David S. Miller  <davem@davemloft.net>
23832
23833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23834
23835 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23836
23837         * posix/Makefile (tests-static): New variable.
23838         (tests): Add $(tests-static).
23839         (tst-exec-static-ARGS): New variable.
23840         (tst-spawn-static-ARGS): Likewise.
23841         * posix/tst-exec-static.c: New file.
23842         * posix/tst-spawn-static.c: Likewise.
23843         * posix/tst-exec.c: Support run directly.
23844         * posix/tst-spawn.c: Likewise.
23845
23846 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
23847
23848         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23849         long.
23850         * math/bits/mathcalls.h (llrint): Likewise.
23851         (llround): Likewise.
23852         * stdlib/stdlib.h (struct drand48_data): Likewise.
23853         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23854         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23855         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23856         Likewise.
23857         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23858         Likewise.
23859         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23860         (elf_greg_t): Likewise.
23861         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23862         (__jmp_buf): Likewise.
23863         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23864         definitions.
23865         (llrint): Likewise, for all definitions.
23866         (llrintl): Likewise.
23867
23868         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23869         Remove [__GNUC__] condition.
23870         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23871         condition to just [__USE_ISOC99].
23872         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23873
23874 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23875
23876         [BZ #14200]
23877         * sysdeps/unix/sysv/linux/x86/bits/environments.h
23878         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23879         defined.
23880         (_POSIX_V6_ILP32_OFF32): Likewise.
23881         (_XBS5_ILP32_OFF32): Likewise.
23882         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23883         (__ILP32_OFFBIG_LDFLAGS): Likewise.
23884
23885 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23886
23887         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23888
23889         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23890         doubles __mpexp_twomm1.  Adjust usage.
23891         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23892         Remove.
23893
23894 2013-01-10  Andreas Schwab  <schwab@suse.de>
23895
23896         [BZ #14964]
23897         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23898         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23899
23900 2013-01-09  David S. Miller  <davem@davemloft.net>
23901
23902         [BZ #15003]
23903         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23904         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23905         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23906         (TCP_FASTOPEN): Define.
23907         (tcp_repair_opt): New structure.
23908         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23909         enum values.
23910         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23911         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23912         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23913         (tcp_cookie_transactions): New structure.
23914
23915 2013-01-09  Anton Blanchard  <anton@samba.org>
23916
23917         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23918         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23919         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23920         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23921
23922 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
23923
23924         * include/features.h (__USE_ANSI): Remove.
23925
23926 2013-01-09  Roland McGrath  <roland@hack.frob.com>
23927
23928         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23929
23930         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23931
23932 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23933
23934         * sysdeps/s390/fpu/libm-test-ulps: Update.
23935
23936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23937
23938         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23939         (__acr): Likewise.
23940         (__cpy): Likewise.
23941         (norm): Likewise.
23942         (denorm): Likewise.
23943         (__mp_dbl): Likewise.
23944         (__dbl_mp): Likewise.
23945         (add_magnitudes): Likewise.
23946         (sub_magnitudes): Likewise.
23947         (__add): Likewise.
23948         (__sub): Likewise.
23949         (__mul): Likewise.
23950         (__inv): Likewise.
23951         (__dvd): Likewise.
23952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23953         (__acr): Likewise.
23954         (__cpy): Likewise.
23955         (norm): Likewise.
23956         (denorm): Likewise.
23957         (__mp_dbl): Likewise.
23958         (__dbl_mp): Likewise.
23959         (add_magnitudes): Likewise.
23960         (sub_magnitudes): Likewise.
23961         (__add): Likewise.
23962         (__sub): Likewise.
23963         (__mul): Likewise.
23964         (__inv): Likewise.
23965         (__dvd): Likewise.
23966         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23967         (__acr): Likewise.
23968         (__cpy): Likewise.
23969         (norm): Likewise.
23970         (denorm): Likewise.
23971         (__mp_dbl): Likewise.
23972         (__dbl_mp): Likewise.
23973         (add_magnitudes): Likewise.
23974         (sub_magnitudes): Likewise.
23975         (__add): Likewise.
23976         (__sub): Likewise.
23977         (__mul): Likewise.
23978         (__inv): Likewise.
23979         (__dvd): Likewise.
23980
23981 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
23982
23983         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23984         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23985         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23986         2 && __USE_EXTERN_INLINES]: Likewise.
23987
23988 2013-01-08  Andreas Jaeger  <aj@suse.de>
23989
23990         [BZ# 14985]
23991         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23992         Remove.
23993         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23994         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23995
23996 2013-01-07  Anton Blanchard  <anton@samba.org>
23997
23998         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23999         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24000         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24001         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24002         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24003         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24004         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24005         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24006         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24007         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24008         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24009         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24010         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24011         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24012         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24013         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24014         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24015         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24016         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24017         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24018         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24019         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24020         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24021         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24022         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24023         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24024         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24025         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24026         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24027         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24028         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24029         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24030         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24031         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24032         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24033         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24034         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24035         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24036         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24037         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24038         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24039         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24040         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24041
24042 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24043
24044         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24045         (__MALLOC_PMT): Likewise.
24046         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24047         [__GNUC__], only on [_LIBC].
24048         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24049         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24050         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24051         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24052         forward declaration.
24053         (realloc_hook_ini): Likewise.
24054         (memalign_hook_ini): Likewise.
24055         (__libc_memalign): Do not use __MALLOC_PMT in variable
24056         declaration.
24057         (__libc_valloc): Likewise.
24058         (__libc_pvalloc): Likewise.
24059         (__libc_calloc): Likewise.
24060         (__posix_memalign): Likewise.
24061
24062         [BZ #14996]
24063         * math/s_casinh.c: Include <float.h>.
24064         (__casinh): Do not do computation with squaring and square root
24065         for large arguments.
24066         * math/s_casinhf.c: Include <float.h>.
24067         (__casinhf): Do not do computation with squaring and square root
24068         for large arguments.
24069         * math/s_casinhl.c: Include <float.h>.
24070         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24071         (__casinhl): Do not do computation with squaring and square root
24072         for large arguments.
24073         * math/libm-test.inc (casin_test): Add more tests.
24074         (casinh_test): Likewise.
24075         * sysdeps/i386/fpu/libm-test-ulps: Update.
24076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24077
24078 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24079
24080         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24081         (__x86_64_raw_data_cache_size): Likewise.
24082         (__x86_64_data_cache_size_half): Likewise.
24083         (__x86_64_raw_data_cache_size_half): Likewise.
24084         (__x86_64_shared_cache_size): Likewise.
24085         (__x86_64_raw_shared_cache_size): Likewise.
24086         (__x86_64_shared_cache_size_half): Likewise.
24087         (__x86_64_raw_shared_cache_size_half): Likewise.
24088         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24089         to ...
24090         (__x86_data_cache_size): This.
24091         (__x86_64_raw_data_cache_size): Renamed to ...
24092         (__x86_raw_data_cache_size): This.
24093         (__x86_64_data_cache_size_half): Renamed to ...
24094         (__x86_data_cache_size_half): This.
24095         (__x86_64_raw_data_cache_size_half): Renamed to ...
24096         (__x86_raw_data_cache_size_half): This.
24097         (__x86_64_shared_cache_size): Renamed to ...
24098         (__x86_shared_cache_size): This.
24099         (__x86_64_raw_shared_cache_size): Renamed to ...
24100         (__x86_raw_shared_cache_size): This.
24101         (__x86_64_shared_cache_size_half): Renamed to ...
24102         (__x86_shared_cache_size_half): This.
24103         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24104         (__x86_raw_shared_cache_size_half): This.
24105         * sysdeps/x86_64/memcpy.S: Updated.
24106         * sysdeps/x86_64/memset.S: Likewise.
24107         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24108         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24109         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24110
24111 2013-01-04  David S. Miller  <davem@davemloft.net>
24112
24113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24114
24115 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24116
24117         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24118         1 to avoid redefinition warning.
24119         (__USE_GNU): Don't define.
24120         (init_signaling_nan): Protoize.
24121
24122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24123
24124 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24125
24126         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24127         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24128         (__cpymn): Likewise.
24129         (norm): Remove commented code.
24130         (denorm): Likewise.
24131         (__mp_dbl): Likewise.
24132         (__inv): Likewise.
24133         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24134         (__cpymn): Likewise.
24135         (norm): Remove commented code.
24136         (denorm): Likewise.
24137         (__mp_dbl): Likewise.
24138         (__inv): Likewise.
24139
24140         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24141         mp_no value for 1.0 and 2.0.
24142         (norm): Use RADIXI instead of radixi.d.
24143         (denorm): Likewise.
24144         (__mul): Use 0.0 instead of zero.d.
24145         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24146         mp_no value for 1.0 and 2.0.
24147         (norm): Use RADIXI instead of radixi.d.
24148         (denorm): Likewise.
24149         (__mul): Use 0.0 instead of zero.d.
24150
24151 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24152
24153         [BZ #14994]
24154         * math/s_casinh.c (__casinh): Reduce finite argument to first
24155         quadrant then set signs of results at the end.
24156         * math/s_casinhf.c (__casinhf): Likewise.
24157         * math/s_casinhl.c (__casinhl): Likewise.
24158         * math/libm-test.inc (casin_test): Add more tests.
24159         (casinh_test): Likewise.
24160         * sysdeps/i386/fpu/libm-test-ulps: Update.
24161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24162
24163 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24164
24165         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24166
24167         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24168
24169         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24170         declarations.
24171         (denorm): Likewise.
24172         (__mp_dbl): Likewise.
24173         (__inv): Likewise.
24174
24175         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24176         and adjust the header comment.
24177
24178         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24179         variable name from declaration.
24180
24181 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24182
24183         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24184         Initialize COMMON_CPUID_INDEX_7 element.
24185         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24186         (CPUID_RTM): Likewise.
24187         (HAS_RTM): Likewise.
24188         (COMMON_CPUID_INDEX_7): New enum.
24189
24190 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24191
24192         [BZ #14981]
24193         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24194         size is zero, record memory as freed.
24195
24196 2013-01-03  Andreas Jaeger  <aj@suse.de>
24197
24198         * po/ia.po: Add new Interlingua translation.
24199
24200 2012-01-03  Allan McRae  <allan@archlinux.org>
24201
24202         * locale/programs/localedef.c: Fix description of '--posix' flag.
24203
24204 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24205
24206         * NEWS: Update dates in second copyright notice.
24207         * README: Update copyright dates in example.
24208         * manual/libc.texinfo: Update copyright dates.
24209         * scripts/test-installation.pl: Update copyright date in --version
24210         output.
24211
24212         * hurd/ctty-input.c: Fix copyright notice formatting.
24213         * hurd/ctty-output.c: Likewise.
24214         * hurd/dtable.c: Likewise.
24215         * hurd/hurd-raise.c: Likewise.
24216         * hurd/hurdprio.c: Likewise.
24217         * hurd/msgportdemux.c: Likewise.
24218         * misc/sys/file.h: Likewise.
24219         * misc/sys/ioctl.h: Likewise.
24220         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24221         * sysdeps/mach/hurd/chdir.c: Likewise.
24222         * sysdeps/mach/hurd/fchdir.c: Likewise.
24223         * sysdeps/mach/hurd/rename.c: Likewise.
24224         * sysdeps/mach/hurd/rmdir.c: Likewise.
24225         * sysdeps/mach/hurd/seekdir.c: Likewise.
24226         * sysdeps/mach/hurd/setsid.c: Likewise.
24227         * sysdeps/posix/wait3.c: Likewise.
24228
24229         * All files with FSF copyright notices: Update copyright dates
24230         using scripts/update-copyrights.
24231         * intl/plural.c: Regenerated.
24232         * locale/programs/charmap-kw.h: Likewise.
24233         * locale/programs/locfile-kw.h: Likewise.
24234
24235 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24236
24237         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24238         four values.
24239
24240         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24241         calculation loop and add branch prediction.
24242
24243         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24244         check access beyond bounds of m1np.
24245
24246         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24247         MPTWO.
24248         (__inv): Remove local variable MPTWO to use the global
24249         constant.
24250         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24251         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24252         variable MPTWO.
24253         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24254         MP3HALFS static const.
24255
24256 2013-01-01  David S. Miller  <davem@davemloft.net>
24257
24258         * po/ca.po: Update from translation team.
24259
24260 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
24261
24262         * scripts/update-copyrights: New file.
24263         * Makeconfig: Reformat copyright notice.
24264         * ctype/ctype.h: Likewise.
24265         * debug/swprintf_chk.c: Likewise.
24266         * elf/dl-cache.c: Likewise.
24267         * elf/dl-debug.c: Likewise.
24268         * elf/dl-object.c: Likewise.
24269         * grp/initgroups.c: Likewise.
24270         * hurd/Makefile: Likewise.
24271         * hurd/hurd/signal.h: Likewise.
24272         * hurd/hurdfault.c: Likewise.
24273         * hurd/hurdioctl.c: Likewise.
24274         * hurd/hurdlookup.c: Likewise.
24275         * hurd/intr-msg.c: Likewise.
24276         * iconv/gconv_open.c: Likewise.
24277         * libio/swprintf.c: Likewise.
24278         * locale/lc-ctype.c: Likewise.
24279         * locale/nl_langinfo.c: Likewise.
24280         * mach/Machrules: Likewise.
24281         * mach/Makefile: Likewise.
24282         * malloc/obstack.h: Likewise.
24283         * manual/Makefile: Likewise.
24284         * manual/tsort.awk: Likewise.
24285         * misc/bits/stab.def: Likewise.
24286         * nis/nis_print_group_entry.c: Likewise.
24287         * nis/nis_table.c: Likewise.
24288         * nis/nss_compat/compat-pwd.c: Likewise.
24289         * nis/nss_compat/compat-spwd.c: Likewise.
24290         * po/Makefile: Likewise.
24291         * posix/fnmatch.c: Likewise.
24292         * posix/regex.h: Likewise.
24293         * resolv/Makefile: Likewise.
24294         * resolv/nss_dns/dns-network.c: Likewise.
24295         * resolv/res_hconf.c: Likewise.
24296         * scripts/gen-sorted.awk: Likewise.
24297         * soft-fp/soft-fp.h: Likewise.
24298         * stdio-common/printf.h: Likewise.
24299         * stdlib/monetary.h: Likewise.
24300         * stdlib/random.c: Likewise.
24301         * stdlib/random_r.c: Likewise.
24302         * sysdeps/generic/Makefile: Likewise.
24303         * sysdeps/gnu/Makefile: Likewise.
24304         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24305         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24306         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24307         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24308         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24309         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24310         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24311         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24312         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24313         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24314         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24315         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24316         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24317         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24318         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24319         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24320         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24321         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24322         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24323         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24324         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24325         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24326         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24327         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24328         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24329         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24330         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24331         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24332         * sysdeps/mach/hurd/errnos.awk: Likewise.
24333         * sysdeps/mach/hurd/fork.c: Likewise.
24334         * sysdeps/mach/hurd/getcwd.c: Likewise.
24335         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24336         * sysdeps/mach/hurd/mmap.c: Likewise.
24337         * sysdeps/mach/hurd/utimes.c: Likewise.
24338         * sysdeps/mach/hurd/xmknod.c: Likewise.
24339         * sysdeps/posix/profil.c: Likewise.
24340         * sysdeps/posix/readdir_r.c: Likewise.
24341         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24342         * sysdeps/powerpc/bits/setjmp.h: Likewise.
24343         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24344         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24345         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24346         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24347         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24348         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24350         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24351         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24352         * sysdeps/pthread/lio_listio.c: Likewise.
24353         * sysdeps/sparc/dl-procinfo.h: Likewise.
24354         * sysdeps/unix/i386/sysdep.S: Likewise.
24355         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24356         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24357         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24358         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24360         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24361         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24362         * sysdeps/unix/sysv/linux/speed.c: Likewise.
24363         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24364         * sysdeps/wordsize-32/divdi3.c: Likewise.
24365         * time/sys/time.h: Likewise.
24366         * wcsmbs/Makefile: Likewise.
24367
24368 2013-01-01  David S. Miller  <davem@davemloft.net>
24369
24370         * po/fr.po: Update from translation team.
24371
24372         * catgets/gencat.c: Update copyright year.
24373         * csu/version.c: Likewise.
24374         * debug/catchsegv.sh: Likewise.
24375         * debug/pcprofiledump.c: Likewise.
24376         * debug/xtrace.sh: Likewise.
24377         * elf/ldconfig.c: Likewise.
24378         * elf/ldd.bash.in: Likewise.
24379         * elf/pldd.c: Likewise.
24380         * elf/sotruss.ksh: Likewise.
24381         * elf/sprof.c: Likewise.
24382         * iconv/iconv_prog.c: Likewise.
24383         * iconv/iconvconfig.c: Likewise.
24384         * locale/programs/locale.c: Likewise.
24385         * locale/programs/localedef.c: Likewise.
24386         * login/programs/pt_chown.c: Likewise.
24387         * malloc/memusage.sh: Likewise.
24388         * malloc/memusagestat.c: Likewise.
24389         * malloc/mtrace.pl: Likewise.
24390         * nscd/nscd.c: Likewise.
24391         * nss/getent.c: Likewise.
24392         * nss/makedb.c: Likewise.
24393         * posix/getconf.c: Likewise.
24394
24395 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24396
24397         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24398         numbers.
24399
24400 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
24401
24402         * math/bits/mathcalls.h (modf): Use __nonnull.
24403
24404 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24405
24406         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24407         (split): Use macro CN instead of the bare value.
24408         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24409         could be used.
24410         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24411         instead of the bare value.
24412         (power1): Likewise.
24413
24414 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24415
24416         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24417         __ATAN_TWOM.
24418         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24419
24420         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24421         their values.
24422         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24423         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24424         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24425         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24426
24427 2012-12-28  Andreas Jaeger  <aj@suse.de>
24428
24429         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
24430         values are from Linux 3.7.
24431
24432         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24433         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
24434
24435 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24436
24437         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24438         TRUE case.
24439
24440         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24441         (norm): Likewise.
24442         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24443         variables with preprocessor constants.
24444         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24445         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24446         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24447
24448 2012-12-27  Bruno Haible  <bruno@clisp.org>
24449
24450         [BZ #14317]
24451         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24452         only if needed.
24453
24454 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24455
24456         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24457         and use variable directly.
24458         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24459
24460         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24461         MPONE.
24462         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24463         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24464         variable MPONE.
24465         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24466         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24467         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24468         include directive.  Remove local variable MPONE.
24469         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24470         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24471         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24472
24473 2012-12-25  David S. Miller  <davem@davemloft.net>
24474
24475         * version.h (RELEASE): Set to "development".
24476         (VERSION): Set to "2.17.90".
24477         * NEWS: Add 2.18 section.
24478
24479 2012-12-21  David S. Miller  <davem@davemloft.net>
24480
24481         * po/hr.po: Update from translation team.
24482
24483 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24484
24485         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24486
24487 2012-12-19  Steve Ellcey  <sellcey@mips.com>
24488
24489         * NEWS:  Mention new memcpy for MIPS.
24490
24491 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24492
24493         * manual/contrib.texi (Contributors): Spelling correction.
24494
24495 2012-12-15  David S. Miller  <davem@davemloft.net>
24496
24497         * po/ru.po: Update from translation team.
24498
24499 2012-12-13  David S. Miller  <davem@davemloft.net>
24500
24501         * NEWS: Mention IFUNC testsuite enhancements.
24502
24503         * po/pl.po: Update from translation team.
24504         * po/bg.po: Likewise.
24505
24506         * manual/contrib.texi (Contributors): Update entries for Hongjiu
24507         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
24508
24509 2012-12-11  David S. Miller  <davem@davemloft.net>
24510
24511         * po/sv.po: Update from translation team.
24512
24513         * po/vi.po: Update from translation team.
24514
24515         * po/cs.po: Update from translation team.
24516
24517         * po/de.po: Update from translation team.
24518         * po/eo.po: Likewise.
24519         * po/nl.po: Likewise.
24520
24521 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24522
24523         [BZ #14246]
24524         * manual/argp.texi (Argp Helper Functions): Move node to follow
24525         Argp Parsing State.
24526
24527         [BZ #14872]
24528         * manual/conf.texi (Limits on File System Capacity): Mention if
24529         terminating null is included in the max size.
24530
24531 2012-12-10  Andreas Jaeger  <aj@suse.de>
24532
24533         * po/cs.po: Update from translation team.
24534
24535 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24536
24537         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24538         void pointer and cast to uintptr_t.
24539         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24540         path.
24541         * sysdeps/s390/s390-64/memcpy.S: Likewise.
24542         * sysdeps/s390/s390-64/memset.S: Likewise.
24543
24544 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
24545
24546         [BZ #14833]
24547         * menual/message.texi (Message Translation): Fix typos.
24548         (Helper programs for gettext): Likewise.
24549
24550 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
24551
24552         [BZ #14898]
24553         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24554         Change to -1.
24555
24556 2012-12-07  David S. Miller  <davem@davemloft.net>
24557
24558         * po/libc.pot: Update.
24559
24560 2012-12-07  Richard Henderson  <rth@redhat.com>
24561
24562         [BZ #10114]
24563         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24564         normal/normal case to before the switch.
24565         (_FP_DIV): Likewise.
24566
24567 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
24568             Mike Frysinger  <vapier@gentoo.org>
24569
24570         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24571         check for __NR_fadvise64_64.
24572
24573 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
24574
24575         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24576         0, not just to plain "0" as a statement.
24577         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24578         with cw.
24579
24580 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
24581
24582         * NEWS: Use sourceware.org in Bugzilla URL.
24583
24584 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24585
24586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24587         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24588
24589         * stdio-common/tst-put-error.c (do_test): Add newline to the
24590         padded test to ensure flush.
24591
24592 2012-12-05  Jeff Law  <law@redhat.com>
24593
24594         * sunrpc/etc.rpc (fedfs_admin): Add entry.
24595
24596 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
24597
24598         * README: Don't refer to ports add-on as distributed separately.
24599         Mention AArch64 in list of systems supported in the ports add-on.
24600
24601         * LICENSES: Add more non-FSF copyright and license notices.
24602
24603         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24604         ((unused)).
24605
24606         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24607
24608         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24609         10000 as width of padded output.
24610
24611 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24612
24613         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24614
24615         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24616         variable LX with __attribute__ ((unused)).
24617         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24618         Likewise.
24619         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24620         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24621         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24622         with __attribute__ ((unused)).
24623
24624 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
24625
24626         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24627
24628 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24629
24630         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24631         (CFLAGS-nldbl-acos.c): New variable.
24632         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24633         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24634         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24635         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24636         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24637         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24638         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24639         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24640         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24641         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24642         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24643         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24644         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24645         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24646         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24647         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24648         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24649         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24650         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24651         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24652         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24653         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24654         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24655         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24656         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24657         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24658         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24659         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24660         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24661         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24662         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24663         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24664         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24665         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24666         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24667         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24668         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24669         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24670         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24671         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24672         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24673         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24674         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24675         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24676         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24677         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24678         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24679         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24680         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24681         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24682         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24683         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24684         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24685         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24686         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24687         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24688         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24689         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24690         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24691         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24692         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24693         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24694         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24695         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24696         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24697         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24698         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24699         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24700         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24701         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24702         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24703         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24704         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24705         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24706         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24707         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24708         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24709         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24710         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24711         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24712         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24713         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24714         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24715         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24716         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24717         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24718         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24719         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24720         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24721         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24722         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24723         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24724         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24725         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24726         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24727         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24728         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24729
24730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24731         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24732
24733         [BZ #14914]
24734         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24735         whole low double instead of just low 47 bits when splitting values
24736         into two parts.
24737
24738 2012-12-03  Allan McRae  <allan@archlinux.org>
24739
24740         * manual/stdio.texi (Predefined Printf Handlers): Remove
24741         @hsep and @vsep usage.
24742
24743 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
24744
24745         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24746         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24747
24748 2012-12-03  Jeff Law  <law@redhat.com>
24749
24750         * time/sys/time.h (settimeofday): Do not mark TV argument
24751         as __nonnull.
24752
24753 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
24754
24755         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24756         when currently writing and seek to current position when not.
24757         * libio/Makefile (tests): Remove bug-fclose1.
24758         * libio/bug-fclose1.c: Delete.
24759
24760 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
24761
24762         * manual/arith.texi (feenableexcept): Fix typo.
24763         (fedisableexcept): Likewise.
24764
24765 2012-11-30  Roland McGrath  <roland@hack.frob.com>
24766
24767         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24768         second, differently-typed declaration, rather than a cast.
24769
24770 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24771
24772         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24773         * include/rpc/svc.h: ... here.
24774
24775 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
24776
24777         [BZ #13013]
24778         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24779         depending n and resplen2 to catch cases where answer
24780         equals answerp2.
24781
24782 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
24783
24784         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24785         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24786
24787 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
24788
24789         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24790
24791 2012-11-29  Roland McGrath  <roland@hack.frob.com>
24792
24793         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24794
24795 2012-11-28  Jeff Law  <law@redhat.com>
24796
24797         [BZ #13761]
24798         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24799         dataset_temporary.  Track alloca usage into alloca_used.
24800         If dataset is large allocate and release it via malloc/free.
24801
24802 2012-06-04  Florian Weimer  <fweimer@redhat.com>
24803
24804         [BZ #14197]
24805         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24806
24807 2012-11-28  David S. Miller  <davem@davemloft.net>
24808
24809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24810
24811 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24812
24813         [BZ #14803]
24814         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24815         of pi/2 rounded to nearest to 64 bits.
24816         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24817         nearest to 64 bits.
24818         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24819         bits.
24820
24821 2012-11-28  Jeff Law <law@redhat.com>
24822             Martin Osvald <mosvald@redhat.com>
24823
24824         [BZ #14889]
24825         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24826         * sunrpc/svc.c: Include time.h.
24827         (__svc_accept_failed): New function.
24828         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24829         any reason other than EINTR, call __svc_accept_failed.
24830         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24831         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24832
24833 2012-11-28  Andreas Schwab  <schwab@suse.de>
24834
24835         * scripts/abilist.awk: Also handle indirect functions in .opd
24836         section.
24837
24838 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24839
24840         [BZ #13881]
24841         * sysdeps/x86/fpu/powl_helper.c: New file.
24842         * sysdeps/x86/fpu/Makefile: Likewise.
24843         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24844         (p3): New object.
24845         (__ieee754_powl): Use __powl_helper for finite arguments except
24846         integer exponents below 8.
24847         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24848         (p3): New object.
24849         (__ieee754_powl): Use __powl_helper for finite arguments except
24850         integer exponents below 8.
24851         * math/libm-test.inc (pow_test): Add more tests and enable some
24852         previously disabled tests.
24853         * sysdeps/i386/fpu/libm-test-ulps: Update.
24854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24855
24856 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24857             Carlos O'Donell  <carlos_odonell@mentor.com>
24858
24859         * nss/makedb.c (is_prime): Assert that input is odd and greater
24860         than 4.  Note that fact in a comment too.
24861         (next_prime): Add 4 to input.
24862
24863 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24864
24865         [BZ #11741]
24866         * libio/Makefile (tests): Add test case tst-fwrite-error.
24867         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24868         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24869         * libio/tst-fwrite-error.c: New test case.
24870
24871 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
24872
24873         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24874         before casting to void *.
24875         * include/libc-internal.h (__pointer_type): New macro.
24876         (__integer_if_pointer_type_sub): Likewise.
24877         (__integer_if_pointer_type): Likewise.
24878         (cast_to_integer): Likewise.
24879         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24880         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24881         before casting to atomic64_t.
24882         (atomic_exchange_acq): Likewise.
24883         (__arch_exchange_and_add_body): Likewise.
24884         (__arch_add_body): Likewise.
24885         (atomic_add_negative): Likewise.
24886         (atomic_add_zero): Likewise.
24887
24888 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
24889
24890         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24891         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24892         (add_fdes): Likewise.
24893         (linear_search_fdes): Likewise.
24894         (binary_search_unencoded_fdes): Likewise.
24895
24896 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
24897
24898         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24899
24900 2012-11-24  Adam Conrad  <adconrad@0c3.net>
24901
24902         * configure.in: Autodetect C++ header directories.
24903         * configure: Regenerated.
24904
24905 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
24906
24907         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24908
24909 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
24910
24911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24912
24913 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
24914
24915         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24916         LDBL_MANT_DIG == 106]: Disable some tests.
24917         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24918         Likewise.
24919         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24920         Likewise.
24921
24922         [BZ #14871]
24923         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24924         input for small inputs.  Return +/- pi/2 for large inputs.
24925         * math/libm-test.inc (atan_test): Add more tests.
24926
24927         * sysdeps/generic/unwind-dw2-fde-glibc.c
24928         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24929         __attribute__ ((unused)).
24930
24931         [BZ #14645]
24932         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24933         x * y if x and y are nonzero and z is zero.
24934
24935         [BZ #14811]
24936         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24937         nonzero exponents with absolute value below 0x1p-117 to +/-
24938         0x1p-117.
24939
24940         [BZ #14869]
24941         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24942         up arguments below 2**-450, not just those below 2**-500.
24943         * math/libm-test.inc (hypot_test): Add another test.
24944
24945         [BZ #14868]
24946         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24947         Return a+b for ratio over 2**120, not 2**60.
24948         * math/libm-test.inc (hypot_test): Add another test.
24949
24950         * math/libm-test.inc (clog_test): Use
24951         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24952         (clog10_test): Likewise.
24953
24954         [BZ #6778]
24955         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24956
24957 2012-11-22  Andreas Schwab  <schwab@suse.de>
24958
24959         * sysdeps/i386/fpu/libm-test-ulps: Update.
24960
24961 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
24962
24963         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24964         printf output with newline.
24965
24966 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
24967
24968         [BZ #14865]
24969         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24970         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24971         -z nodlopen, -z initfirst and -z execstack support.
24972         * configure: Regenerated.
24973
24974         * elf/elf.h (DF_1_NODIRECT): New macro.
24975         (DF_1_IGNMULDEF): Likewise.
24976         (DF_1_NOKSYMS): Likewise.
24977         (DF_1_NOHDR): Likewise.
24978         (DF_1_EDITED): Likewise.
24979         (DF_1_NORELOC): Likewise.
24980         (DF_1_SYMINTPOSE): Likewise.
24981         (DF_1_GLOBAUDIT): Likewise.
24982         (DF_1_SINGLETON): Likewise.
24983         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24984         DT_1_SUPPORTED_MASK bits.
24985         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24986
24987 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
24988
24989         * sysdeps/unix/make-syscalls.sh: Document prefixes.
24990
24991 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
24992
24993         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24994         macro.
24995
24996         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24997         (sendmmsg): Move declarations...
24998         * socket/sys/socket.h: ... here.
24999         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25000         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25001         include it from...
25002         * socket/recvmmsg.c: ... this new file.
25003         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25004         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25005         definition of __sendmmsg hidden.
25006         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25007         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25008         Move ENOSYS stub into and include it from...
25009         * socket/sendmmsg.c: ... this new file.
25010         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25011         (sysdep_routines): Move recvmmsg and sendmmsg...
25012         * socket/Makefile (routines): ... here.
25013         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25014         (GLIBC_PRIVATE): Add __sendmmsg.
25015         * include/sys/socket.h (__sendmmsg): Add declarations.
25016         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25017         sendmmsg.
25018
25019 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25020
25021         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25022         variable I1 with __attribute__ ((unused)).
25023         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25024
25025 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25026
25027         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25028         DUMMY variables with __attribute__ ((unused)).
25029
25030         * bits/byteswap.h: Include <bits/types.h>.
25031         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25032
25033 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25034
25035         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25036         string_t.  Do not manually set errno.
25037         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25038         length with __strnlen.  Make sure to both set errno and return it on
25039         failure.
25040
25041 2012-11-19  David S. Miller  <davem@davemloft.net>
25042
25043         With help from Joseph Myers.
25044         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25045         very large arguments properly.
25046         * math/libm-test.inc (atan_test): New tests.
25047         (atan2_test): New tests.
25048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25050
25051 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25052
25053         [BZ #14856]
25054         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25055         Define to 3.
25056
25057         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25058         [POSIX] (EADDRNOTAVAIL): Likewise.
25059         [POSIX] (EAFNOSUPPORT): Likewise.
25060         [POSIX] (EALREADY): Likewise.
25061         [POSIX] (ECONNABORTED): Likewise.
25062         [POSIX] (ECONNREFUSED): Likewise.
25063         [POSIX] (ECONNRESET): Likewise.
25064         [POSIX] (EDESTADDRREQ): Likewise.
25065         [POSIX] (EDQUOT): Likewise.
25066         [POSIX] (EHOSTUNREACH): Likewise.
25067         [POSIX] (EIDRM): Likewise.
25068         [POSIX] (EISCONN): Likewise.
25069         [POSIX] (ELOOP): Likewise.
25070         [POSIX] (EMULTIHOP): Likewise.
25071         [POSIX] (ENETDOWN): Likewise.
25072         [POSIX] (ENETUNREACH): Likewise.
25073         [POSIX] (ENOBUFS): Likewise.
25074         [POSIX] (ENODATA): Likewise.
25075         [POSIX] (ENOLINK): Likewise.
25076         [POSIX] (ENOMSG): Likewise.
25077         [POSIX] (ENOPROTOOPT): Likewise.
25078         [POSIX] (ENOSR): Likewise.
25079         [POSIX] (ENOSTR): Likewise.
25080         [POSIX] (ENOTCONN): Likewise.
25081         [POSIX] (ENOTSOCK): Likewise.
25082         [POSIX] (EOPNOTSUPP): Likewise.
25083         [POSIX] (EOVERFLOW): Likewise.
25084         [POSIX] (EPROTO): Likewise.
25085         [POSIX] (EPROTONOSUPPORT): Likewise.
25086         [POSIX] (EPROTOTYPE): Likewise.
25087         [POSIX] (ESTALE): Likewise.
25088         [POSIX] (ETIME): Likewise.
25089         [POSIX] (ETXTBSY): Likewise.
25090         [POSIX] (EWOULDBLOCK): Likewise.
25091         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25092         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25093         [POSIX] (SEEK_CUR): Likewise.
25094         [POSIX] (SEEK_END): Likewise.
25095         [POSIX || UNIX98] (mode_t): Do not require.
25096         [POSIX] (off_t): Likewise.
25097         [POSIX] (pid_t): Likewise.
25098         [POSIX] (sys/stat.h): Do not allow header.
25099         [POSIX] (unistd.h): Likewise.
25100         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25101         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25102         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25103         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25104         require.
25105         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25106         sigevent): Specify elements.
25107         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25108         entry.
25109         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25110         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25111
25112         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25113         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25114         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25115         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25116         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25117         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25118         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25119         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25120         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25121         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25122         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25123         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25124         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25125         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25126         Likewise.
25127         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25128         Likewise.
25129         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25130         Likewise.
25131         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25132         Likewise.
25133         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25134         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25135         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25136         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25137         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25138         Specify lower bound on value.
25139         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25140         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25141         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25142         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25143         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25144         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25145         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25146         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25147         value.
25148         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25149         as optional.
25150         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25151         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25152         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25153         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25154         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25155         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25156         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25157         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25158         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25159         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25160         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25161         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25162         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25163         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25164         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25165         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25166         entry.
25167         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25168         optional.
25169         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25170         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25171         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25172         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25173         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25174         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25175         Likewise.
25176         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25177         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25178         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25179         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25180         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25181         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25182         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25183         as optional.
25184         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25185         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25186         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25187         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25188         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25189         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25190         specify as optional.
25191         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25192         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25193         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25194         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25195         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25196         [XPG3] (NL_LANGMAX): Likewise.
25197         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25198         [POSIX || XPG3] (NL_NMAX): Likewise.
25199         [POSIX || XPG3] (NL_SETMAX): Likewise.
25200         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25201         [XPG3] (NZERO): Likewise.
25202         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25203         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25204         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25205         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25206         (REG_ERANGE): Expect.
25207         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25208         optional-constant.
25209         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25210         Use (void) in prototype.
25211         [POSIX] (*_t): Allow.
25212         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25213         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25214         (WRDE_BADVAL): Expect.
25215
25216         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25217         expect.
25218         [XPG3 || XPG4] (O_RSYNC): Likewise.
25219         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25220         Likewise.
25221         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25222         [XPG3 || XPG4] (sigqueue): Likewise.
25223         [XPG3 || XPG4] (sigtimedwait): Likewise.
25224         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25225         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25226         [XPG3 || XPG4] (vsnprintf): Likewise.
25227         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25228         Likewise.
25229         [XPG3 || XPG4] (blksize_t): Likewise.
25230         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25231         Likewise.
25232         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25233         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25234         [XPG3 || XPG4] (struct itimerspec): Likewise.
25235         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25236         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25237         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25238         [XPG3 || XPG4] (clockid_t): Likewise.
25239         [XPG3 || XPG4] (timer_t): Likewise.
25240         [XPG3 || XPG4] (clock_getres): Likewise.
25241         [XPG3 || XPG4] (clock_gettime): Likewise.
25242         [XPG3 || XPG4] (clock_settime): Likewise.
25243         [XPG3 || XPG4] (nanosleep): Likewise.
25244         [XPG3 || XPG4] (timer_create): Likewise.
25245         [XPG3 || XPG4] (timer_delete): Likewise.
25246         [XPG3 || XPG4] (timer_gettime): Likewise.
25247         [XPG3 || XPG4] (timer_getoverrun): Likewise.
25248         [XPG3 || XPG4] (timer_settime): Likewise.
25249         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25250         [XPG3 || XPG4] (getlogin_r): Likewise.
25251         [XPG3 || XPG4] (pread): Likewise.
25252         [XPG3 || XPG4] (pthread_atfork): Likewise.
25253         [XPG3 || XPG4] (pwrite): Likewise.
25254
25255         [BZ #14835]
25256         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25257         <bits/siginfo.h>.
25258
25259 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25260
25261         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25262         finalizing MALLSTREAM.
25263
25264         * sysdeps/mach/hurd/syncfs.c: New file.
25265
25266 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25267
25268         [BZ #14719]
25269         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25270         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25271         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25272         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25273         (_nss_dns_gethostbyname4_r): Likewise.
25274         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25275         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25276
25277 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
25278
25279         [BZ #13763]
25280         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25281
25282 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
25283
25284         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25285         * elf/cache.c (print_entry): Print ",AArch64" for
25286         FLAG_AARCH64_LIB64
25287
25288         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25289         * elf/cache.c (print_entry): Print ",hard-float" for
25290         FLAG_ARM_LIBHF.
25291
25292 2012-11-18  David S. Miller  <davem@davemloft.net>
25293
25294         With help from Joseph Myers.
25295         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25296         cutoff to 2**-13.
25297         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25298         cutoff to 2**-25.
25299         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25300         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25301         small.
25302         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25303         * math/libm-test.inc (y0_test): New tests.
25304         (y1_test): New tests.
25305         * sysdeps/i386/fpu/libm-test-ulps: Update.
25306         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25307         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25308
25309 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
25310
25311         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25312         64-bit targets.
25313         * configure: Regenerated.
25314
25315 2012-11-17  David S. Miller  <davem@davemloft.net>
25316
25317         [BZ #14811]
25318         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25319         nonzero exponents with absolute value below 0x1p-128 to +/-
25320         0x1p-128.
25321
25322 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
25323
25324         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25325
25326         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25327
25328         * posix/getconf-speclist.c: New file.
25329         * posix/posix-envs.def: Likewise.
25330         * posix/confstr.c (START_ENV_GROUP): New macro.
25331         (END_ENV_GROUP): Likewise.
25332         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25333         (KNOWN_PRESENT_ENV_STRING): Likewise.
25334         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25335         (UNKNOWN_ENVIRONMENT): Likewise.
25336         (confstr): Include posix-envs.def instead of handling
25337         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25338         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25339         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25340         (END_ENV_GROUP): Likewise.
25341         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25342         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25343         (UNKNOWN_ENVIRONMENT): Likewise.
25344         (__sysconf): Include posix-envs.def instead of handling associated
25345         cases directly here.
25346         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25347         preprocessing getconf-speclist.c rather than running getconf or
25348         generating empty file.
25349
25350 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
25351
25352         * scripts/check-local-headers.sh: Ignore 'mach' headers.
25353
25354 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
25355
25356         [BZ #14672]
25357         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25358
25359 2012-11-16  David S. Miller  <davem@davemloft.net>
25360
25361         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25362         smaller than LDBL_EPSILON/2.0L, just return xm1.
25363
25364 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
25365
25366         * elf/tst-array1.c (init): Set constructor priority to 1000.
25367         (fini): Set destructor priority to 1000.
25368         * elf/tst-array2dep.c: Likewise.
25369
25370 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25371
25372         [BZ #11741]
25373         * libio/fileops.c (_IO_new_file_write): Correctly return error.
25374         (_IO_new_file_xsputn): Also return EOF if none of the input
25375         data was written when overflow failed.
25376         * libio/iopadn.c (_IO_padn): Likewise.
25377         * libio/iowpadn.c (_IO_wpadn): Likewise.
25378         * stdio-common/tst-put-error.c: Add copyright notice.
25379         (do_test): Add case for printing padded string.
25380         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25381         _IO_padn returned error.
25382         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25383         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25384         return EOF.
25385
25386 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25387
25388         * libio/libioP.h: Add comment note that the references to C++
25389         bits are now obsolete.
25390
25391 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25392
25393         * math/libm-test.inc (check_complex): Use asprintf.
25394
25395 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
25396
25397         * debug/pcprofiledump.c (print_version): Update copyright year.
25398         * malloc/memusagestat.c (print_version): Likewise.
25399
25400 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25401
25402         [BZ #14831]
25403         * elf/Makefile (tests): Add tst-audit8.
25404         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25405         ($(objpfx)tst-audit8.out): New target.
25406         (tst-audit8-ENV): New variable.
25407         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25408         audit if l_reloc_result is NULL.
25409         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25410         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25411         * elf/tst-audit8.c: New file.
25412
25413 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25414
25415         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25416         * misc/Makefile (CFLAGS-select.c): Define.
25417         * posix/Makefile (CFLAGS-pause.c): Define.
25418
25419 2012-11-13  David S. Miller  <davem@davemloft.net>
25420
25421         * crypt/Makefile: Move test targets after toplevel Rules
25422         inclusion.  Grab any necessary sysdep routines when linking.
25423         * crypt/md5.c (md5_process_block): Remove define, we will always
25424         name it __md5_process_block.
25425         (md5_finish_ctx): Update md5_process_block call.
25426         (md5_stream): Likewise.
25427         (md5_process_bytes): Likewise.
25428         (md5_process_block): Rename to __md5_process_block and move to ...
25429         * crypt/md5-block.c: ... here.
25430         * crypt/sha256.c (sha256_process_block): Move to ...
25431         * crypt/sha256-block.c: ... here.
25432         * crypt/sha512.c (sha512_process_block): Move to ...
25433         * crypt/sha512-block.c: ... here.
25434         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25435         path.
25436         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25437         * sysdeps/sparc/sparc64/multiarch/Makefile
25438         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25439         crypt subdir.
25440         (localedef-aux): Add md5 crypto assembler when in locale subdir.
25441         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25442         multiarch changes.
25443         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25444         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25445         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25446         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25447         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25448         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25449         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25450         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25451         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25452         file.
25453         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25454         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25455         file.
25456         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25457
25458 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
25459
25460         * timezone/tzselect.ksh: Update from tzcode git revision
25461         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25462         * timezone/zdump.c: Likewise.
25463         * timezone/zic.c: Likewise.
25464         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25465         in TZVERSION setting, not $(PKGVERSION).
25466         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
25467         REPORT_BUGS_TO settings.
25468
25469         [BZ #14838]
25470         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25471         macro.
25472
25473 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25474
25475         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25476         detection to immediately after _FP_ROUND().
25477         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25478         bits are 0.
25479
25480 2012-11-11  David S. Miller  <davem@davemloft.net>
25481
25482         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25483         inttypes.h
25484         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25485         __close rather than their public counterparts.
25486
25487 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
25488
25489         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25490         file.
25491         [UNIX98] (sem_timedwait): Do not expect.
25492         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25493         [XPG4 || UNIX98] (sockatmark): Do not expect.
25494         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25495         (clock_getcpuclockid): Do not expect.
25496         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25497         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25498         Do not expect.
25499         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25500         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25501         [UNIX98] (vwscanf): Likewise.
25502         [UNIX98] (vswscanf): Likewise.
25503
25504 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
25505
25506         * timezone/version.h: Remove file.
25507         * timezone/README: Do not refer to version.h.
25508         * timezone/Makefile ($(objpfx)zic.o): New dependency on
25509         $(objpfx)version.h.
25510         ($(objpfx)zdump.o): Likewise.
25511         ($(objpfx)version.h): New target.
25512
25513         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25514         2012i.
25515         * timezone/README: Don't mention modification to tzselect.ksh.
25516         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25517         work on unmodified tzselect.ksh.  Substitute version numbers in
25518         tzselect.ksh.
25519
25520         * Makefile (format-me): Remove.
25521         (INSTALL): Adjust indentation.  Use commands directly instead of
25522         using $(format-me).
25523
25524         * aclocal.m4 (ACX_PKGVERSION): New macro.
25525         (ACX_BUGURL): Likewise.
25526         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25527         (PKGVERSION): New AC_DEFINE_UNQUOTED.
25528         (REPORT_BUGS_TO): Likewise.
25529         * configure: Regenerated.
25530         * config.h.in (PKGVERSION): New macro.
25531         (REPORT_BUGS_TO): Likewise.
25532         * config.make.in (PKGVERSION): New variable.
25533         (PKGVERSION_TEXI): Likewise.
25534         (REPORT_BUGS_TO): Likewise.
25535         (REPORT_BUGS_TEXI): Likewise.
25536         * Makefile (format-me): Use -I$(common-objpfx)manual.
25537         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25538         ($(common-objpfx)manual/%): New target.
25539         (manual/%): Remove target.
25540         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25541         (print_version): Use PKGVERSION.
25542         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25543         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25544         and REPORT_BUGS_TO.
25545         ($(objpfx)xtrace): Likewise.
25546         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25547         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25548         (print_version): Use PKGVERSION.
25549         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25550         (do_version): Use PKGVERSION.
25551         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25552         REPORT_BUGS_TO.
25553         (common-ldd-rewrite): Likewise.
25554         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25555         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25556         (print_version): Use PKGVERSION.
25557         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25558         * elf/pldd.c (argp_program_bug_address): Remove variable.
25559         (more_help): New function.
25560         (argp): Use more_help.
25561         (print_version): Use PKGVERSION.
25562         * elf/sln.c (main): Use PKGVERSION.
25563         (usage): Use REPORT_BUGS_TO.
25564         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25565         (top level): Use PKGVERSION.
25566         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25567         (print_version): Use PKGVERSION.
25568         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25569         (print_version): Use PKGVERSION.
25570         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25571         (print_version): Use PKGVERSION.
25572         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25573         (print_version): Use PKGVERSION.
25574         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25575         (print_version): Use PKGVERSION.
25576         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25577         (print_version): Use PKGVERSION.
25578         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25579         and BUGURL.
25580         ($(objpfx)memusage): Likewise.
25581         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25582         (do_version): Use PKGVERSION.
25583         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25584         (print_version): Use PKGVERSION.
25585         * malloc/mtrace.pl ($PACKAGE): Remove variable.
25586         ($PKGVERSION): New variable.
25587         ($REPORT_BUGS_TO): Likewise.
25588         (usage): Use $REPORT_BUGS_TO.
25589         (top level): Use $PKGVERSION.
25590         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25591         ($(objpfx)pkgvers.texi): New rule.
25592         ($(objpfx)stamp-pkgvers): Likewise.
25593         * manual/install.texi: Include pkgvers.texi.
25594         (--with-pkgversion): Document new configure option.
25595         (--with-bugurl): Likewise.
25596         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25597         than necessarily for this particular distribution.  Use
25598         REPORT_BUGS_TO for where to report bugs.
25599         * INSTALL: Regenerated.
25600         * manual/libc.texinfo: Include pkgvers.texi.
25601         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25602         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25603         (print_version): Use PKGVERSION.
25604         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25605         (print_version): Use PKGVERSION.
25606         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25607         (print_version): Use PKGVERSION.
25608         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25609         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25610         macro.
25611         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25612         (print_version): Use PKGVERSION.
25613         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25614         (print_version): Use PKGVERSION.
25615         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25616         and PKGVERSION.
25617
25618         * timezone/checktab.awk: Update from tzcode 2012i.
25619         * timezone/ialloc.c: Likewise.
25620         * timezone/private.h: Likewise.
25621         * timezone/scheck.c: Likewise.
25622         * timezone/tzfile.h: Likewise.
25623         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25624         (TZVERSION): Hardcode tzcode version number.
25625         * timezone/zdump.c: Update from tzcode 2012i.
25626         * timezone/zic.c: Likewise.
25627         * timezone/version.h: New file.
25628         * timezone/README: Describe version.h.  Update upstream location.
25629
25630         [BZ #14824]
25631         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25632         (mktemp): Enable declaration.
25633         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25634         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25635         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25636         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25637         Likewise.
25638         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25639         Likewise.
25640         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25641         Likewise.
25642         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25643         Likewise.
25644         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25645         Likewise.
25646         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25647         Likewise.
25648
25649         [BZ #14821]
25650         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25651         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
25652         for copies of such integer values.
25653         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25654         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25655
25656 2012-11-09  Andreas Jaeger  <aj@suse.de>
25657
25658         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25659         definitions and declarations that are provided by
25660         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25661
25662 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25663
25664         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25665         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25666         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25667         definition.
25668
25669 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25670
25671         * elf/elf.h: Update comment before AArch64 relocations.
25672
25673 2012-11-07  David S. Miller  <davem@davemloft.net>
25674
25675         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25676         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25677         (__start_context): Declare.
25678         (__makecontext_ret): Delete.
25679         (__makecontext): Hook up __start_context instead of
25680         __makecontext_ret.
25681         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25682         (sysdep_routines): Add __start_context when in stdlib.
25683
25684 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25685
25686         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25687         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25688         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
25689         hardcoded "nm".
25690         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
25691         (READELF): New variable.  Use it instead of hardcoded "readelf".
25692
25693 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25694
25695         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25696         * sysdeps/x86/Makefile: Here.
25697         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25698         * sysdeps/x86/tst-xmmymm.sh: This.
25699
25700 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25701
25702         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25703         expectations.
25704         [UNIX98] (pthread_barrier_t): Do not expect.
25705         [UNIX98] (pthread_barrierattr_t): Likewise.
25706         [UNIX98] (pthread_spinlock_t): Likewise.
25707         [UNIX98] (pthread_barrier_destroy): Likewise.
25708         [UNIX98] (pthread_barrier_init): Likewise.
25709         [UNIX98] (pthread_barrier_wait): Likewise.
25710         [UNIX98] (pthread_barrierattr_destroy): Likewise.
25711         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25712         [UNIX98] (pthread_barrierattr_init): Likewise.
25713         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25714         [UNIX98] (pthread_getcpuclockid): Likewise.
25715         [UNIX98] (pthread_mutex_timedlock): Likewise.
25716         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25717         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25718         [UNIX98] (pthread_sigmask): Likewise.
25719         [UNIX98] (pthread_spin_destroy): Likewise.
25720         [UNIX98] (pthread_spin_init): Likewise.
25721         [UNIX98] (pthread_spin_lock): Likewise.
25722         [UNIX98] (pthread_spin_trylock): Likewise.
25723         [UNIX98] (pthread_spin_unlock): Likewise.
25724         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25725         Do not expect.
25726         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25727         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25728         [XPG3 || XPG4] (pthread_cond_t): Likewise.
25729         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25730         [XPG3 || XPG4] (pthread_key_t): Likewise.
25731         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25732         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25733         [XPG3 || XPG4] (pthread_once_t): Likewise.
25734         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25735         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25736         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25737         [XPG3 || XPG4] (pthread_t): Likewise.
25738
25739         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25740         not expect.
25741         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25742
25743         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25744         Change function return type to int.
25745
25746         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25747         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25748         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25749         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25750         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25751         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25752         [!POSIX] (posix_madvise): Likewise.
25753         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25754         && !UNIX98].
25755         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25756         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25757         (mode_t): Likewise.
25758         (posix_mem_offset): Likewise.
25759         (posix_typed_mem_get_info): Likewise.
25760         (posix_typed_mem_open): Likewise.
25761
25762         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25763         Change condition to [XOPEN2K8].
25764
25765         * conform/conformtest.pl: Preprocess allow-header data with -x c
25766         instead of from stdin.
25767         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25768         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25769         [C99-based standards] (cerfc): Likewise.
25770         [C99-based standards] (cexp2): Likewise.
25771         [C99-based standards] (cexpm1): Likewise.
25772         [C99-based standards] (clog10): Likewise.
25773         [C99-based standards] (clog1p): Likewise.
25774         [C99-based standards] (clog2): Likewise.
25775         [C99-based standards] (clgamma): Likewise.
25776         [C99-based standards] (ctgamma): Likewise.
25777         [C99-based standards] (cerff): Likewise.
25778         [C99-based standards] (cerfcf): Likewise.
25779         [C99-based standards] (cexp2f): Likewise.
25780         [C99-based standards] (cexpm1f): Likewise.
25781         [C99-based standards] (clog10f): Likewise.
25782         [C99-based standards] (clog1pf): Likewise.
25783         [C99-based standards] (clog2f): Likewise.
25784         [C99-based standards] (clgammaf): Likewise.
25785         [C99-based standards] (ctgammaf): Likewise.
25786         [C99-based standards] (cerfl): Likewise.
25787         [C99-based standards] (cerfcl): Likewise.
25788         [C99-based standards] (cexp2l): Likewise.
25789         [C99-based standards] (cexpm1l): Likewise.
25790         [C99-based standards] (clog10l): Likewise.
25791         [C99-based standards] (clog1pl): Likewise.
25792         [C99-based standards] (clog2l): Likewise.
25793         [C99-based standards] (clgammal): Likewise.
25794         [C99-based standards] (ctgammal): Likewise.
25795         * conform/data/inttypes.h-data [C99-based standards]: Include
25796         stdint.h-data.  Remove all expectations for stdint.h contents.
25797         [C99-based standards] (PRI*): Do not allow.
25798         [C99-based standards] (SCN*): Likewise.
25799         [C99-based standards] (*_t): Likewise.
25800         [C99-based-standards] (PRId8): Expect macro.
25801         [C99-based-standards] (PRIi8): Likewise.
25802         [C99-based-standards] (PRIo8): Likewise.
25803         [C99-based-standards] (PRIu8): Likewise.
25804         [C99-based-standards] (PRIx8): Likewise.
25805         [C99-based-standards] (PRIX8): Likewise.
25806         [C99-based-standards] (SCNd8): Likewise.
25807         [C99-based-standards] (SCNi8): Likewise.
25808         [C99-based-standards] (SCNo8): Likewise.
25809         [C99-based-standards] (SCNu8): Likewise.
25810         [C99-based-standards] (SCNx8): Likewise.
25811         [C99-based-standards] (PRIdLEAST8): Likewise.
25812         [C99-based-standards] (PRIiLEAST8): Likewise.
25813         [C99-based-standards] (PRIoLEAST8): Likewise.
25814         [C99-based-standards] (PRIuLEAST8): Likewise.
25815         [C99-based-standards] (PRIxLEAST8): Likewise.
25816         [C99-based-standards] (PRIXLEAST8): Likewise.
25817         [C99-based-standards] (SCNdLEAST8): Likewise.
25818         [C99-based-standards] (SCNiLEAST8): Likewise.
25819         [C99-based-standards] (SCNoLEAST8): Likewise.
25820         [C99-based-standards] (SCNuLEAST8): Likewise.
25821         [C99-based-standards] (SCNxLEAST8): Likewise.
25822         [C99-based-standards] (PRIdFAST8): Likewise.
25823         [C99-based-standards] (PRIiFAST8): Likewise.
25824         [C99-based-standards] (PRIoFAST8): Likewise.
25825         [C99-based-standards] (PRIuFAST8): Likewise.
25826         [C99-based-standards] (PRIxFAST8): Likewise.
25827         [C99-based-standards] (PRIXFAST8): Likewise.
25828         [C99-based-standards] (SCNdFAST8): Likewise.
25829         [C99-based-standards] (SCNiFAST8): Likewise.
25830         [C99-based-standards] (SCNoFAST8): Likewise.
25831         [C99-based-standards] (SCNuFAST8): Likewise.
25832         [C99-based-standards] (SCNxFAST8): Likewise.
25833         [C99-based-standards] (PRId16): Likewise.
25834         [C99-based-standards] (PRIi16): Likewise.
25835         [C99-based-standards] (PRIo16): Likewise.
25836         [C99-based-standards] (PRIu16): Likewise.
25837         [C99-based-standards] (PRIx16): Likewise.
25838         [C99-based-standards] (PRIX16): Likewise.
25839         [C99-based-standards] (SCNd16): Likewise.
25840         [C99-based-standards] (SCNi16): Likewise.
25841         [C99-based-standards] (SCNo16): Likewise.
25842         [C99-based-standards] (SCNu16): Likewise.
25843         [C99-based-standards] (SCNx16): Likewise.
25844         [C99-based-standards] (PRIdLEAST16): Likewise.
25845         [C99-based-standards] (PRIiLEAST16): Likewise.
25846         [C99-based-standards] (PRIoLEAST16): Likewise.
25847         [C99-based-standards] (PRIuLEAST16): Likewise.
25848         [C99-based-standards] (PRIxLEAST16): Likewise.
25849         [C99-based-standards] (PRIXLEAST16): Likewise.
25850         [C99-based-standards] (SCNdLEAST16): Likewise.
25851         [C99-based-standards] (SCNiLEAST16): Likewise.
25852         [C99-based-standards] (SCNoLEAST16): Likewise.
25853         [C99-based-standards] (SCNuLEAST16): Likewise.
25854         [C99-based-standards] (SCNxLEAST16): Likewise.
25855         [C99-based-standards] (PRIdFAST16): Likewise.
25856         [C99-based-standards] (PRIiFAST16): Likewise.
25857         [C99-based-standards] (PRIoFAST16): Likewise.
25858         [C99-based-standards] (PRIuFAST16): Likewise.
25859         [C99-based-standards] (PRIxFAST16): Likewise.
25860         [C99-based-standards] (PRIXFAST16): Likewise.
25861         [C99-based-standards] (SCNdFAST16): Likewise.
25862         [C99-based-standards] (SCNiFAST16): Likewise.
25863         [C99-based-standards] (SCNoFAST16): Likewise.
25864         [C99-based-standards] (SCNuFAST16): Likewise.
25865         [C99-based-standards] (SCNxFAST16): Likewise.
25866         [C99-based-standards] (PRId32): Likewise.
25867         [C99-based-standards] (PRIi32): Likewise.
25868         [C99-based-standards] (PRIo32): Likewise.
25869         [C99-based-standards] (PRIu32): Likewise.
25870         [C99-based-standards] (PRIx32): Likewise.
25871         [C99-based-standards] (PRIX32): Likewise.
25872         [C99-based-standards] (SCNd32): Likewise.
25873         [C99-based-standards] (SCNi32): Likewise.
25874         [C99-based-standards] (SCNo32): Likewise.
25875         [C99-based-standards] (SCNu32): Likewise.
25876         [C99-based-standards] (SCNx32): Likewise.
25877         [C99-based-standards] (PRIdLEAST32): Likewise.
25878         [C99-based-standards] (PRIiLEAST32): Likewise.
25879         [C99-based-standards] (PRIoLEAST32): Likewise.
25880         [C99-based-standards] (PRIuLEAST32): Likewise.
25881         [C99-based-standards] (PRIxLEAST32): Likewise.
25882         [C99-based-standards] (PRIXLEAST32): Likewise.
25883         [C99-based-standards] (SCNdLEAST32): Likewise.
25884         [C99-based-standards] (SCNiLEAST32): Likewise.
25885         [C99-based-standards] (SCNoLEAST32): Likewise.
25886         [C99-based-standards] (SCNuLEAST32): Likewise.
25887         [C99-based-standards] (SCNxLEAST32): Likewise.
25888         [C99-based-standards] (PRIdFAST32): Likewise.
25889         [C99-based-standards] (PRIiFAST32): Likewise.
25890         [C99-based-standards] (PRIoFAST32): Likewise.
25891         [C99-based-standards] (PRIuFAST32): Likewise.
25892         [C99-based-standards] (PRIxFAST32): Likewise.
25893         [C99-based-standards] (PRIXFAST32): Likewise.
25894         [C99-based-standards] (SCNdFAST32): Likewise.
25895         [C99-based-standards] (SCNiFAST32): Likewise.
25896         [C99-based-standards] (SCNoFAST32): Likewise.
25897         [C99-based-standards] (SCNuFAST32): Likewise.
25898         [C99-based-standards] (SCNxFAST32): Likewise.
25899         [C99-based-standards] (PRId64): Likewise.
25900         [C99-based-standards] (PRIi64): Likewise.
25901         [C99-based-standards] (PRIo64): Likewise.
25902         [C99-based-standards] (PRIu64): Likewise.
25903         [C99-based-standards] (PRIx64): Likewise.
25904         [C99-based-standards] (PRIX64): Likewise.
25905         [C99-based-standards] (SCNd64): Likewise.
25906         [C99-based-standards] (SCNi64): Likewise.
25907         [C99-based-standards] (SCNo64): Likewise.
25908         [C99-based-standards] (SCNu64): Likewise.
25909         [C99-based-standards] (SCNx64): Likewise.
25910         [C99-based-standards] (PRIdLEAST64): Likewise.
25911         [C99-based-standards] (PRIiLEAST64): Likewise.
25912         [C99-based-standards] (PRIoLEAST64): Likewise.
25913         [C99-based-standards] (PRIuLEAST64): Likewise.
25914         [C99-based-standards] (PRIxLEAST64): Likewise.
25915         [C99-based-standards] (PRIXLEAST64): Likewise.
25916         [C99-based-standards] (SCNdLEAST64): Likewise.
25917         [C99-based-standards] (SCNiLEAST64): Likewise.
25918         [C99-based-standards] (SCNoLEAST64): Likewise.
25919         [C99-based-standards] (SCNuLEAST64): Likewise.
25920         [C99-based-standards] (SCNxLEAST64): Likewise.
25921         [C99-based-standards] (PRIdFAST64): Likewise.
25922         [C99-based-standards] (PRIiFAST64): Likewise.
25923         [C99-based-standards] (PRIoFAST64): Likewise.
25924         [C99-based-standards] (PRIuFAST64): Likewise.
25925         [C99-based-standards] (PRIxFAST64): Likewise.
25926         [C99-based-standards] (PRIXFAST64): Likewise.
25927         [C99-based-standards] (SCNdFAST64): Likewise.
25928         [C99-based-standards] (SCNiFAST64): Likewise.
25929         [C99-based-standards] (SCNoFAST64): Likewise.
25930         [C99-based-standards] (SCNuFAST64): Likewise.
25931         [C99-based-standards] (SCNxFAST64): Likewise.
25932         [C99-based-standards] (PRIdMAX): Likewise.
25933         [C99-based-standards] (PRIiMAX): Likewise.
25934         [C99-based-standards] (PRIoMAX): Likewise.
25935         [C99-based-standards] (PRIuMAX): Likewise.
25936         [C99-based-standards] (PRIxMAX): Likewise.
25937         [C99-based-standards] (PRIXMAX): Likewise.
25938         [C99-based-standards] (SCNdMAX): Likewise.
25939         [C99-based-standards] (SCNiMAX): Likewise.
25940         [C99-based-standards] (SCNoMAX): Likewise.
25941         [C99-based-standards] (SCNuMAX): Likewise.
25942         [C99-based-standards] (SCNxMAX): Likewise.
25943         [C99-based-standards] (PRIdPTR): Likewise.
25944         [C99-based-standards] (PRIiPTR): Likewise.
25945         [C99-based-standards] (PRIoPTR): Likewise.
25946         [C99-based-standards] (PRIuPTR): Likewise.
25947         [C99-based-standards] (PRIxPTR): Likewise.
25948         [C99-based-standards] (PRIXPTR): Likewise.
25949         [C99-based-standards] (SCNdPTR): Likewise.
25950         [C99-based-standards] (SCNiPTR): Likewise.
25951         [C99-based-standards] (SCNoPTR): Likewise.
25952         [C99-based-standards] (SCNuPTR): Likewise.
25953         [C99-based-standards] (SCNxPTR): Likewise.
25954         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25955         allow.
25956         * conform/data/stdint.h-data: Update comments to clarify
25957         requirements.
25958         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
25959         type.
25960         [C99-based standards] (INT8_MAX): Likewise.
25961         [C99-based standards] (INT16_MIN): Likewise.
25962         [C99-based standards] (INT16_MAX): Likewise.
25963         [C99-based standards] (INT32_MIN): Likewise.
25964         [C99-based standards] (INT32_MAX): Likewise.
25965         [C99-based standards] (INT64_MIN): Likewise.
25966         [C99-based standards] (INT64_MAX): Likewise.
25967         [C99-based standards] (UINT8_MAX): Likewise.
25968         [C99-based standards] (UINT16_MAX): Likewise.
25969         [C99-based standards] (UINT32_MAX): Likewise.
25970         [C99-based standards] (UINT64_MAX): Likewise.
25971         [C99-based standards] (INT_LEAST8_MIN): Likewise.
25972         [C99-based standards] (INT_LEAST8_MAX): Likewise.
25973         [C99-based standards] (INT_LEAST16_MIN): Likewise.
25974         [C99-based standards] (INT_LEAST16_MAX): Likewise.
25975         [C99-based standards] (INT_LEAST32_MIN): Likewise.
25976         [C99-based standards] (INT_LEAST32_MAX): Likewise.
25977         [C99-based standards] (INT_LEAST64_MIN): Likewise.
25978         [C99-based standards] (INT_LEAST64_MAX): Likewise.
25979         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25980         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25981         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25982         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25983         [C99-based standards] (INT_FAST8_MIN): Likewise.
25984         [C99-based standards] (INT_FAST8_MAX): Likewise.
25985         [C99-based standards] (INT_FAST16_MIN): Likewise.
25986         [C99-based standards] (INT_FAST16_MAX): Likewise.
25987         [C99-based standards] (INT_FAST32_MIN): Likewise.
25988         [C99-based standards] (INT_FAST32_MAX): Likewise.
25989         [C99-based standards] (INT_FAST64_MIN): Likewise.
25990         [C99-based standards] (INT_FAST64_MAX): Likewise.
25991         [C99-based standards] (UINT_FAST8_MAX): Likewise.
25992         [C99-based standards] (UINT_FAST16_MAX): Likewise.
25993         [C99-based standards] (UINT_FAST32_MAX): Likewise.
25994         [C99-based standards] (UINT_FAST64_MAX): Likewise.
25995         [C99-based standards] (INTPTR_MIN): Likewise.
25996         [C99-based standards] (INTPTR_MAX): Likewise.
25997         [C99-based standards] (UINTPTR_MAX): Likewise.
25998         [C99-based standards] (INTMAX_MIN): Likewise.
25999         [C99-based standards] (INTMAX_MAX): Likewise.
26000         [C99-based standards] (UINTMAX_MAX): Likewise.
26001         [C99-based standards] (PTRDIFF_MIN): Likewise.
26002         [C99-based standards] (PTRDIFF_MAX): Likewise.
26003         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26004         [C99-based standards] (SIZE_MAX): Likewise.
26005         [C99-based standards] (WCHAR_MAX): Likewise.
26006         [C99-based standards] (WINT_MAX): Likewise.
26007         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26008         constraint on value.
26009         [C99-based standards] (WCHAR_MIN): Likewise.
26010         [C99-based standards] (WINT_MIN): Likewise.
26011         [C99-based standards] (*_t): Allow.
26012         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26013         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26014         Include math.h-data and complex.h-data.  Remove all expectations
26015         of math.h and complex.h contents.
26016         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26017         at end of line.
26018         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26019         (struct tm): Expect tag.
26020         [C99-based-standards] (wcstof): Expect function.
26021         [C99-based-standards] (wcstold): Likewise.
26022         [C99-based-standards] (wcstoll): Likewise.
26023         [C99-based-standards] (wcstoull): Likewise.
26024         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26025         macro-int-constant.  Specify type.
26026         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26027         constraint on value.
26028         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26029         Specify type.
26030         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26031         Specify value.
26032         [ISO C standards]: Do not allow headers.
26033         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26034         wcs[abcdefghijklmnopqrstuvwxyz]*.
26035         [ISO C standards] (*_t): Do not allow.
26036         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26037         Expect function.
26038         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26039         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26040         Specify type.
26041         [ISO C standards]: Do not allow headers.
26042         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26043         is[abcdefghijklmnopqrstuvwxyz]*.
26044         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26045         to[abcdefghijklmnopqrstuvwxyz]*.
26046         [ISO C standards] (*_t): Do not allow.
26047         * conform/data/stdalign.h-data: New file.
26048         * conform/data/stdbool.h-data: Likewise.
26049         * conform/data/stdnoreturn.h-data: Likewise.
26050
26051 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26052
26053         [BZ #14815]
26054         * manual/filesys.texi (Directory Entries): Typo fix.
26055         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26056
26057 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26058
26059         * elf/elf.h (EM_AARCH64): New macro.
26060         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26061         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26062         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26063         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26064         (R_AARCH64_TLSDESC): Likewise.
26065         (NT_ARM_TLS): Likewise.
26066         (NT_ARM_HW_BREAK): Likewise.
26067         (NT_ARM_HW_WATCH): Likewise.
26068
26069 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26070
26071         [BZ #14811]
26072         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26073         (__ieee754_powl): Saturate nonzero exponents with absolute value
26074         below 0x1p-79 to +/- 0x1p-79.
26075         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26076         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26077         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26078         nonzero exponents with absolute value below 0x1p-32 to +/-
26079         0x1p-32.
26080         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26081         (__ieee754_powl): Saturate nonzero exponents with absolute value
26082         below 0x1p-79 to +/- 0x1p-79.
26083         * math/libm-test.inc (pow_test): Add more tests.
26084
26085 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26086
26087         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26088         _dl_s390_cap_flags with kernel. Increase string length.
26089         (_dl_s390_platforms): Add z196 and zEC12.
26090
26091 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26092
26093         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26094         Change XOPEN21K to XOPEN2K.
26095
26096 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26097
26098         * string/memmove.c: Use memcpy when possible.
26099
26100 2012-11-06  Andreas Jaeger  <aj@suse.de>
26101
26102         * po/eo.po: Update from translation team.
26103
26104 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26105
26106         [BZ #14793]
26107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26108         exponent and small x and y exponents, scale x or y up.  Increase
26109         by 2 the exponent used in scaling up.
26110         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26111         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26112         * math/libm-test.inc (fma_test): Add more tests.
26113         (fma_test_towardzero): Likewise.
26114         (fma_test_downward): Likewise.
26115         (fma_test_upward): Likewise.
26116
26117 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26118
26119         [BZ #14805]
26120         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26121         fenv_t *.
26122
26123         [BZ #14801]
26124         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26125         namespace for names of struct fields.
26126         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26127         fenv_t fields.
26128         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26129         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26130
26131 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26132
26133         [BZ #3665]
26134         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26135
26136 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26137
26138         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26139         PTR_DEMANGLE.
26140
26141         [BZ #5246]
26142         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26143         PTR_DEMANGLE.
26144
26145 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26146
26147         [BZ #14797]
26148         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26149         definitely overflow as x * y not x * y + z.
26150         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26151         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26152         * math/libm-test.inc (fma_test): Add more tests.
26153         (fma_test_towardzero): Likewise.
26154         (fma_test_downward): Likewise.
26155         (fma_test_upward): Likewise.
26156
26157 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26158
26159         [BZ #157]
26160
26161         * include/stub-tag.h: Remove file.
26162         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26163         '#include' of it.
26164         * manual/maint.texi (Porting): Don't reference it.
26165         * Makerules ($(objpfx)stubs): Likewise.
26166         * dirent/closedir.c: Don't include <stub-tag.h>.
26167         * dirent/dirfd.c: Likewise.
26168         * dirent/fdopendir.c: Likewise.
26169         * dirent/getdents.c: Likewise.
26170         * dirent/getdents64.c: Likewise.
26171         * dirent/opendir.c: Likewise.
26172         * dirent/readdir.c: Likewise.
26173         * dirent/readdir64.c: Likewise.
26174         * dirent/readdir64_r.c: Likewise.
26175         * dirent/readdir_r.c: Likewise.
26176         * dirent/rewinddir.c: Likewise.
26177         * dirent/seekdir.c: Likewise.
26178         * dirent/telldir.c: Likewise.
26179         * gmon/profil.c: Likewise.
26180         * grp/setgroups.c: Likewise.
26181         * inet/if_index.c: Likewise.
26182         * io/access.c: Likewise.
26183         * io/chdir.c: Likewise.
26184         * io/chmod.c: Likewise.
26185         * io/chown.c: Likewise.
26186         * io/close.c: Likewise.
26187         * io/dup.c: Likewise.
26188         * io/dup2.c: Likewise.
26189         * io/dup3.c: Likewise.
26190         * io/euidaccess.c: Likewise.
26191         * io/faccessat.c: Likewise.
26192         * io/fchdir.c: Likewise.
26193         * io/fchmod.c: Likewise.
26194         * io/fchmodat.c: Likewise.
26195         * io/fchown.c: Likewise.
26196         * io/fchownat.c: Likewise.
26197         * io/fcntl.c: Likewise.
26198         * io/flock.c: Likewise.
26199         * io/fstatfs.c: Likewise.
26200         * io/fstatfs64.c: Likewise.
26201         * io/fstatvfs.c: Likewise.
26202         * io/fstatvfs64.c: Likewise.
26203         * io/futimens.c: Likewise.
26204         * io/fxstat.c: Likewise.
26205         * io/fxstat64.c: Likewise.
26206         * io/fxstatat.c: Likewise.
26207         * io/fxstatat64.c: Likewise.
26208         * io/getcwd.c: Likewise.
26209         * io/isatty.c: Likewise.
26210         * io/lchmod.c: Likewise.
26211         * io/lchown.c: Likewise.
26212         * io/link.c: Likewise.
26213         * io/linkat.c: Likewise.
26214         * io/lseek.c: Likewise.
26215         * io/lseek64.c: Likewise.
26216         * io/lxstat64.c: Likewise.
26217         * io/mkdir.c: Likewise.
26218         * io/mkdirat.c: Likewise.
26219         * io/mkfifo.c: Likewise.
26220         * io/mkfifoat.c: Likewise.
26221         * io/open.c: Likewise.
26222         * io/open64.c: Likewise.
26223         * io/openat.c: Likewise.
26224         * io/openat64.c: Likewise.
26225         * io/pipe.c: Likewise.
26226         * io/pipe2.c: Likewise.
26227         * io/poll.c: Likewise.
26228         * io/posix_fadvise.c: Likewise.
26229         * io/posix_fadvise64.c: Likewise.
26230         * io/posix_fallocate.c: Likewise.
26231         * io/posix_fallocate64.c: Likewise.
26232         * io/read.c: Likewise.
26233         * io/readlink.c: Likewise.
26234         * io/readlinkat.c: Likewise.
26235         * io/rmdir.c: Likewise.
26236         * io/sendfile.c: Likewise.
26237         * io/sendfile64.c: Likewise.
26238         * io/statfs.c: Likewise.
26239         * io/statfs64.c: Likewise.
26240         * io/statvfs.c: Likewise.
26241         * io/statvfs64.c: Likewise.
26242         * io/symlink.c: Likewise.
26243         * io/symlinkat.c: Likewise.
26244         * io/ttyname.c: Likewise.
26245         * io/ttyname_r.c: Likewise.
26246         * io/umask.c: Likewise.
26247         * io/unlink.c: Likewise.
26248         * io/unlinkat.c: Likewise.
26249         * io/utime.c: Likewise.
26250         * io/utimensat.c: Likewise.
26251         * io/write.c: Likewise.
26252         * io/xmknod.c: Likewise.
26253         * io/xmknodat.c: Likewise.
26254         * io/xstat.c: Likewise.
26255         * io/xstat64.c: Likewise.
26256         * login/getpt.c: Likewise.
26257         * login/grantpt.c: Likewise.
26258         * login/unlockpt.c: Likewise.
26259         * math/e_acoshl.c: Likewise.
26260         * math/e_acosl.c: Likewise.
26261         * math/e_asinl.c: Likewise.
26262         * math/e_atan2l.c: Likewise.
26263         * math/e_atanhl.c: Likewise.
26264         * math/e_coshl.c: Likewise.
26265         * math/e_expl.c: Likewise.
26266         * math/e_fmodl.c: Likewise.
26267         * math/e_gammal_r.c: Likewise.
26268         * math/e_hypotl.c: Likewise.
26269         * math/e_j0l.c: Likewise.
26270         * math/e_j1l.c: Likewise.
26271         * math/e_jnl.c: Likewise.
26272         * math/e_lgammal_r.c: Likewise.
26273         * math/e_log10l.c: Likewise.
26274         * math/e_log2l.c: Likewise.
26275         * math/e_logl.c: Likewise.
26276         * math/e_powl.c: Likewise.
26277         * math/e_rem_pio2l.c: Likewise.
26278         * math/e_sinhl.c: Likewise.
26279         * math/e_sqrtl.c: Likewise.
26280         * math/fclrexcpt.c: Likewise.
26281         * math/fedisblxcpt.c: Likewise.
26282         * math/feenablxcpt.c: Likewise.
26283         * math/fegetenv.c: Likewise.
26284         * math/fegetexcept.c: Likewise.
26285         * math/fegetround.c: Likewise.
26286         * math/feholdexcpt.c: Likewise.
26287         * math/fesetenv.c: Likewise.
26288         * math/fesetround.c: Likewise.
26289         * math/feupdateenv.c: Likewise.
26290         * math/fgetexcptflg.c: Likewise.
26291         * math/fraiseexcpt.c: Likewise.
26292         * math/fsetexcptflg.c: Likewise.
26293         * math/ftestexcept.c: Likewise.
26294         * math/k_cosl.c: Likewise.
26295         * math/k_rem_pio2l.c: Likewise.
26296         * math/k_sinl.c: Likewise.
26297         * math/k_tanl.c: Likewise.
26298         * math/s_asinhl.c: Likewise.
26299         * math/s_atanl.c: Likewise.
26300         * math/s_cbrtl.c: Likewise.
26301         * math/s_erfl.c: Likewise.
26302         * math/s_expm1l.c: Likewise.
26303         * math/s_log1pl.c: Likewise.
26304         * math/s_tanhl.c: Likewise.
26305         * misc/acct.c: Likewise.
26306         * misc/brk.c: Likewise.
26307         * misc/chflags.c: Likewise.
26308         * misc/chroot.c: Likewise.
26309         * misc/fchflags.c: Likewise.
26310         * misc/fgetxattr.c: Likewise.
26311         * misc/flistxattr.c: Likewise.
26312         * misc/fremovexattr.c: Likewise.
26313         * misc/fsetxattr.c: Likewise.
26314         * misc/fsync.c: Likewise.
26315         * misc/ftruncate.c: Likewise.
26316         * misc/futimes.c: Likewise.
26317         * misc/futimesat.c: Likewise.
26318         * misc/getdomain.c: Likewise.
26319         * misc/getdtsz.c: Likewise.
26320         * misc/gethostid.c: Likewise.
26321         * misc/gethostname.c: Likewise.
26322         * misc/getloadavg.c: Likewise.
26323         * misc/getpagesize.c: Likewise.
26324         * misc/getsysstats.c: Likewise.
26325         * misc/getxattr.c: Likewise.
26326         * misc/gtty.c: Likewise.
26327         * misc/ioctl.c: Likewise.
26328         * misc/lgetxattr.c: Likewise.
26329         * misc/listxattr.c: Likewise.
26330         * misc/llistxattr.c: Likewise.
26331         * misc/lremovexattr.c: Likewise.
26332         * misc/lsetxattr.c: Likewise.
26333         * misc/lutimes.c: Likewise.
26334         * misc/madvise.c: Likewise.
26335         * misc/mincore.c: Likewise.
26336         * misc/mlock.c: Likewise.
26337         * misc/mlockall.c: Likewise.
26338         * misc/mmap.c: Likewise.
26339         * misc/mprotect.c: Likewise.
26340         * misc/msync.c: Likewise.
26341         * misc/munlock.c: Likewise.
26342         * misc/munlockall.c: Likewise.
26343         * misc/munmap.c: Likewise.
26344         * misc/preadv.c: Likewise.
26345         * misc/preadv64.c: Likewise.
26346         * misc/ptrace.c: Likewise.
26347         * misc/pwritev.c: Likewise.
26348         * misc/pwritev64.c: Likewise.
26349         * misc/readv.c: Likewise.
26350         * misc/reboot.c: Likewise.
26351         * misc/remap_file_pages.c: Likewise.
26352         * misc/removexattr.c: Likewise.
26353         * misc/revoke.c: Likewise.
26354         * misc/select.c: Likewise.
26355         * misc/setdomain.c: Likewise.
26356         * misc/setegid.c: Likewise.
26357         * misc/seteuid.c: Likewise.
26358         * misc/sethostid.c: Likewise.
26359         * misc/sethostname.c: Likewise.
26360         * misc/setregid.c: Likewise.
26361         * misc/setreuid.c: Likewise.
26362         * misc/setxattr.c: Likewise.
26363         * misc/sstk.c: Likewise.
26364         * misc/stty.c: Likewise.
26365         * misc/swapoff.c: Likewise.
26366         * misc/swapon.c: Likewise.
26367         * misc/sync.c: Likewise.
26368         * misc/syncfs.c: Likewise.
26369         * misc/syscall.c: Likewise.
26370         * misc/truncate.c: Likewise.
26371         * misc/ualarm.c: Likewise.
26372         * misc/usleep.c: Likewise.
26373         * misc/ustat.c: Likewise.
26374         * misc/utimes.c: Likewise.
26375         * misc/vhangup.c: Likewise.
26376         * misc/writev.c: Likewise.
26377         * posix/_exit.c: Likewise.
26378         * posix/alarm.c: Likewise.
26379         * posix/execve.c: Likewise.
26380         * posix/fexecve.c: Likewise.
26381         * posix/fork.c: Likewise.
26382         * posix/fpathconf.c: Likewise.
26383         * posix/getaddrinfo.c: Likewise.
26384         * posix/getegid.c: Likewise.
26385         * posix/geteuid.c: Likewise.
26386         * posix/getgid.c: Likewise.
26387         * posix/getgroups.c: Likewise.
26388         * posix/getlogin.c: Likewise.
26389         * posix/getlogin_r.c: Likewise.
26390         * posix/getpgid.c: Likewise.
26391         * posix/getpid.c: Likewise.
26392         * posix/getppid.c: Likewise.
26393         * posix/getresgid.c: Likewise.
26394         * posix/getresuid.c: Likewise.
26395         * posix/getsid.c: Likewise.
26396         * posix/getuid.c: Likewise.
26397         * posix/glob64.c: Likewise.
26398         * posix/nanosleep.c: Likewise.
26399         * posix/pathconf.c: Likewise.
26400         * posix/pause.c: Likewise.
26401         * posix/posix_madvise.c: Likewise.
26402         * posix/pread.c: Likewise.
26403         * posix/pread64.c: Likewise.
26404         * posix/pwrite.c: Likewise.
26405         * posix/pwrite64.c: Likewise.
26406         * posix/sched_getaffinity.c: Likewise.
26407         * posix/sched_getp.c: Likewise.
26408         * posix/sched_gets.c: Likewise.
26409         * posix/sched_primax.c: Likewise.
26410         * posix/sched_primin.c: Likewise.
26411         * posix/sched_rr_gi.c: Likewise.
26412         * posix/sched_setaffinity.c: Likewise.
26413         * posix/sched_setp.c: Likewise.
26414         * posix/sched_sets.c: Likewise.
26415         * posix/sched_yield.c: Likewise.
26416         * posix/setgid.c: Likewise.
26417         * posix/setlogin.c: Likewise.
26418         * posix/setpgid.c: Likewise.
26419         * posix/setresgid.c: Likewise.
26420         * posix/setresuid.c: Likewise.
26421         * posix/setsid.c: Likewise.
26422         * posix/setuid.c: Likewise.
26423         * posix/sleep.c: Likewise.
26424         * posix/spawni.c: Likewise.
26425         * posix/sysconf.c: Likewise.
26426         * posix/times.c: Likewise.
26427         * posix/wait.c: Likewise.
26428         * posix/wait3.c: Likewise.
26429         * posix/wait4.c: Likewise.
26430         * posix/waitpid.c: Likewise.
26431         * resolv/gai_sigqueue.c: Likewise.
26432         * resource/getpriority.c: Likewise.
26433         * resource/getrlimit.c: Likewise.
26434         * resource/getrusage.c: Likewise.
26435         * resource/nice.c: Likewise.
26436         * resource/setpriority.c: Likewise.
26437         * resource/setrlimit.c: Likewise.
26438         * resource/ulimit.c: Likewise.
26439         * rt/aio_cancel.c: Likewise.
26440         * rt/aio_fsync.c: Likewise.
26441         * rt/aio_read.c: Likewise.
26442         * rt/aio_sigqueue.c: Likewise.
26443         * rt/aio_suspend.c: Likewise.
26444         * rt/aio_write.c: Likewise.
26445         * rt/clock_getres.c: Likewise.
26446         * rt/clock_gettime.c: Likewise.
26447         * rt/clock_nanosleep.c: Likewise.
26448         * rt/clock_settime.c: Likewise.
26449         * rt/lio_listio.c: Likewise.
26450         * rt/mq_close.c: Likewise.
26451         * rt/mq_getattr.c: Likewise.
26452         * rt/mq_notify.c: Likewise.
26453         * rt/mq_open.c: Likewise.
26454         * rt/mq_receive.c: Likewise.
26455         * rt/mq_send.c: Likewise.
26456         * rt/mq_setattr.c: Likewise.
26457         * rt/mq_timedreceive.c: Likewise.
26458         * rt/mq_timedsend.c: Likewise.
26459         * rt/mq_unlink.c: Likewise.
26460         * rt/shm_open.c: Likewise.
26461         * rt/shm_unlink.c: Likewise.
26462         * rt/timer_create.c: Likewise.
26463         * rt/timer_delete.c: Likewise.
26464         * rt/timer_getoverr.c: Likewise.
26465         * rt/timer_gettime.c: Likewise.
26466         * rt/timer_settime.c: Likewise.
26467         * setjmp/__longjmp.c: Likewise.
26468         * setjmp/setjmp.c: Likewise.
26469         * signal/kill.c: Likewise.
26470         * signal/killpg.c: Likewise.
26471         * signal/raise.c: Likewise.
26472         * signal/sigaction.c: Likewise.
26473         * signal/sigaltstack.c: Likewise.
26474         * signal/sigblock.c: Likewise.
26475         * signal/sigignore.c: Likewise.
26476         * signal/sigintr.c: Likewise.
26477         * signal/signal.c: Likewise.
26478         * signal/sigpause.c: Likewise.
26479         * signal/sigpending.c: Likewise.
26480         * signal/sigqueue.c: Likewise.
26481         * signal/sigreturn.c: Likewise.
26482         * signal/sigset.c: Likewise.
26483         * signal/sigsetmask.c: Likewise.
26484         * signal/sigstack.c: Likewise.
26485         * signal/sigsuspend.c: Likewise.
26486         * signal/sigtimedwait.c: Likewise.
26487         * signal/sigvec.c: Likewise.
26488         * signal/sigwait.c: Likewise.
26489         * signal/sigwaitinfo.c: Likewise.
26490         * signal/sysv_signal.c: Likewise.
26491         * socket/accept.c: Likewise.
26492         * socket/accept4.c: Likewise.
26493         * socket/bind.c: Likewise.
26494         * socket/connect.c: Likewise.
26495         * socket/getpeername.c: Likewise.
26496         * socket/getsockname.c: Likewise.
26497         * socket/getsockopt.c: Likewise.
26498         * socket/isfdtype.c: Likewise.
26499         * socket/listen.c: Likewise.
26500         * socket/recv.c: Likewise.
26501         * socket/recvfrom.c: Likewise.
26502         * socket/recvmsg.c: Likewise.
26503         * socket/send.c: Likewise.
26504         * socket/sendmsg.c: Likewise.
26505         * socket/sendto.c: Likewise.
26506         * socket/setsockopt.c: Likewise.
26507         * socket/shutdown.c: Likewise.
26508         * socket/sockatmark.c: Likewise.
26509         * socket/socket.c: Likewise.
26510         * socket/socketpair.c: Likewise.
26511         * stdio-common/ctermid.c: Likewise.
26512         * stdio-common/cuserid.c: Likewise.
26513         * stdio-common/remove.c: Likewise.
26514         * stdio-common/rename.c: Likewise.
26515         * stdio-common/renameat.c: Likewise.
26516         * stdio-common/tempname.c: Likewise.
26517         * stdlib/getcontext.c: Likewise.
26518         * stdlib/makecontext.c: Likewise.
26519         * stdlib/setcontext.c: Likewise.
26520         * stdlib/swapcontext.c: Likewise.
26521         * stdlib/system.c: Likewise.
26522         * streams/fattach.c: Likewise.
26523         * streams/fdetach.c: Likewise.
26524         * streams/getmsg.c: Likewise.
26525         * streams/getpmsg.c: Likewise.
26526         * streams/putmsg.c: Likewise.
26527         * streams/putpmsg.c: Likewise.
26528         * sysdeps/unix/bsd/getpt.c: Likewise.
26529         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26530         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26531         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26533         Likewise.
26534         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26535         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26536         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26537         * sysvipc/msgctl.c: Likewise.
26538         * sysvipc/msgget.c: Likewise.
26539         * sysvipc/msgrcv.c: Likewise.
26540         * sysvipc/msgsnd.c: Likewise.
26541         * sysvipc/semctl.c: Likewise.
26542         * sysvipc/semget.c: Likewise.
26543         * sysvipc/semop.c: Likewise.
26544         * sysvipc/semtimedop.c: Likewise.
26545         * sysvipc/shmat.c: Likewise.
26546         * sysvipc/shmctl.c: Likewise.
26547         * sysvipc/shmdt.c: Likewise.
26548         * sysvipc/shmget.c: Likewise.
26549         * termios/tcdrain.c: Likewise.
26550         * termios/tcflow.c: Likewise.
26551         * termios/tcflush.c: Likewise.
26552         * termios/tcgetattr.c: Likewise.
26553         * termios/tcgetpgrp.c: Likewise.
26554         * termios/tcsendbrk.c: Likewise.
26555         * termios/tcsetattr.c: Likewise.
26556         * termios/tcsetpgrp.c: Likewise.
26557         * time/adjtime.c: Likewise.
26558         * time/clock.c: Likewise.
26559         * time/getitimer.c: Likewise.
26560         * time/gettimeofday.c: Likewise.
26561         * time/setitimer.c: Likewise.
26562         * time/settimeofday.c: Likewise.
26563         * time/stime.c: Likewise.
26564         * time/time.c: Likewise.
26565
26566 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
26567
26568         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26569         /usr/old/bin.
26570
26571         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26572         instead of spaces.
26573         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26574
26575 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
26576
26577         [BZ #14796]
26578         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26579         FE_TONEAREST before applying Dekker multiplication and Knuth
26580         addition.  Clear inexact exceptions and check for exact zero
26581         results afterwards.
26582         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26583         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26584         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26585         * math/libm-test.inc (fma_test): Add more tests.
26586         (fma_test_towardzero): Likewise.
26587         (fma_test_downward): Likewise.
26588         (fma_test_upward): Likewise.
26589         * sysdeps/generic/math_private.h (default_libc_fesetround): New
26590         function.
26591         (libc_fesetround): New macro.
26592         (libc_fesetroundf): Likewise.
26593         (libc_fesetroundl): Likewise.
26594         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26595         function.
26596         (libc_fesetround_387): Likewise.
26597         (libc_fesetroundf): New macro.
26598         (libc_fesetround): Likewise.
26599         (libc_fesetroundl): Likewise.
26600         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26601         function.
26602         (libc_fesetroundf): New macro.
26603         (libc_fesetround): Likewise.
26604         (libc_fesetroundl): Likewise.
26605         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26606         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26607         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26608         libm_hidden_ver.
26609         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26610         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26611         libm_hidden_def.
26612         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26613         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26614         libm_hidden_ver.
26615         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26616         libm_hidden_def.
26617
26618         [BZ #3439]
26619         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26620         integer constant usable in #if and use that to give value to enum
26621         constant.
26622         (FE_DIVBYZERO): Likewise.
26623         (FE_UNDERFLOW): Likewise.
26624         (FE_OVERFLOW): Likewise.
26625         (FE_INVALID): Likewise.
26626         (FE_INVALID_SNAN): Likewise.
26627         (FE_INVALID_ISI): Likewise.
26628         (FE_INVALID_IDI): Likewise.
26629         (FE_INVALID_ZDZ): Likewise.
26630         (FE_INVALID_IMZ): Likewise.
26631         (FE_INVALID_COMPARE): Likewise.
26632         (FE_INVALID_SOFTWARE): Likewise.
26633         (FE_INVALID_SQRT): Likewise.
26634         (FE_INVALID_INTEGER_CONVERSION): Likewise.
26635         (FE_TONEAREST): Likewise.
26636         (FE_TOWARDZERO): Likewise.
26637         (FE_UPWARD): Likewise.
26638         (FE_DOWNWARD): Likewise.
26639         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26640         (FE_DIVBYZERO): Likewise.
26641         (FE_OVERFLOW): Likewise.
26642         (FE_UNDERFLOW): Likewise.
26643         (FE_INEXACT): Likewise.
26644         (FE_TONEAREST): Likewise.
26645         (FE_DOWNWARD): Likewise.
26646         (FE_UPWARD): Likewise.
26647         (FE_TOWARDZERO): Likewise.
26648         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26649         (FE_UNDERFLOW): Likewise.
26650         (FE_OVERFLOW): Likewise.
26651         (FE_DIVBYZERO): Likewise.
26652         (FE_INVALID): Likewise.
26653         (FE_TONEAREST): Likewise.
26654         (FE_TOWARDZERO): Likewise.
26655         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26656         (FE_OVERFLOW): Likewise.
26657         (FE_UNDERFLOW): Likewise.
26658         (FE_DIVBYZERO): Likewise.
26659         (FE_INEXACT): Likewise.
26660         (FE_TONEAREST): Likewise.
26661         (FE_TOWARDZERO): Likewise.
26662         (FE_UPWARD): Likewise.
26663         (FE_DOWNWARD): Likewise.
26664         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26665         (FE_DIVBYZERO): Likewise.
26666         (FE_OVERFLOW): Likewise.
26667         (FE_UNDERFLOW): Likewise.
26668         (FE_INEXACT): Likewise.
26669         (FE_TONEAREST): Likewise.
26670         (FE_DOWNWARD): Likewise.
26671         (FE_UPWARD): Likewise.
26672         (FE_TOWARDZERO): Likewise.
26673
26674 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
26675
26676         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26677
26678 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
26679
26680         * scripts/cross-test-ssh.sh (command): Use newlines to separate
26681         commands.  Quote $PWD.
26682         (blacklist_exports): Don't use remove_newlines.  Replace "declare
26683         -x" by "export".
26684         (remove_newlines): Remove.
26685
26686 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
26687
26688         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26689         * stdlib/stdlib.h (atof): Moved to ...
26690         * include/bits/stdlib-float.h: Here.  New file.
26691         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26692         * stdlib/bits/stdlib-float.h: New file.
26693         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26694         -mno-sse -mno-mmx.
26695         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26696         <xmmintrin.h>.
26697
26698 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26699
26700         * conform/conformtest.pl (@headers): Add fenv.h.
26701         * conform/data/fenv.h-data: New file.
26702         * include/fenv.h [_ISOMAC]: Disable all contents of file except
26703         include of <math/fenv.h>.
26704
26705         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26706         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26707         && !UNIX98].  Enables tests for XOPEN2K8.
26708         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26709         POSIX2008]: Likewise.
26710
26711         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26712         (struct rusage): Do not expect type or its members.
26713
26714         [BZ #3439]
26715         * math/math.h (FP_NAN): Define macro to integer constant usable in
26716         #if and use that to give value to enum constant.
26717         (FP_INFINITE): Likewise.
26718         (FP_ZERO): Likewise.
26719         (FP_SUBNORMAL): Likewise.
26720         (FP_NORMAL): Likewise.
26721
26722 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
26723
26724         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26725         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26726         arguments.
26727
26728 2012-11-02  Roland McGrath  <roland@hack.frob.com>
26729
26730         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26731         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26732         autoconf-time if not.
26733         * configure.in: Remove AC_PREREQ.
26734
26735 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26736
26737         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26738         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26739         of the internal implementation.
26740
26741 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26742
26743         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26744         except include of <misc/sys/syslog.h>.
26745
26746 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26747
26748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26749         function returns with a NULL context exit with zero.
26750
26751 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26752
26753         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26754
26755 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
26756
26757         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26758         (run_program_cmd): This.
26759         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26760         (tst_langinfo): New variable.  Use it.
26761
26762 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
26763
26764         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26765         floating point opcodes.
26766
26767 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26768
26769         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26770         variable.
26771
26772         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26773
26774         * sysdeps/mach/hurd/powerpc: Remove directory.
26775         * sysdeps/mach/powerpc: Likewise.
26776
26777 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26778
26779         * scripts/check-local-headers.sh: Ignore c++ headers.
26780
26781 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26782
26783         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26784         __libc_cleanup_region_start argument.
26785
26786 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
26787
26788         [BZ #14784]
26789         [BZ #14785]
26790         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26791         x * y using scaling, not as x * y + z.
26792         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26793         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26794         * math/libm-test.inc (fma_test): Add more tests.
26795         (fma_test_towardzero): Likewise.
26796         (fma_test_downward): Likewise.
26797         (fma_test_upward): Likewise.
26798
26799 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26800
26801         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26802
26803 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26804
26805         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26806         New variable.
26807
26808 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
26809
26810         * rt/tst-shm.c (worker): Correct checking for mmap failure.
26811
26812 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26813
26814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26815         Fix sort order.
26816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26817         Likewise.
26818
26819 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26820
26821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26822         Fix the order of the list for glibc 2.17.
26823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26824         Likewise.
26825
26826 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26827
26828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26829
26830 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26831
26832         [BZ #14610]
26833         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26834         for low part of x being zero before using __atanl (y).
26835         * math/libm-test.inc (atan2_test): Add another test.
26836
26837         * manual/install.texi (Configuring and compiling): Document
26838         general use of test-wrapper and test-wrapper-env.
26839         * INSTALL: Regenerated.
26840
26841         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26842         (__fma): Do not extract and scale down low bits on after-rounding
26843         systems when result rounded to normal precision would have normal
26844         exponent.
26845         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26846         (__fmal): Do not extract and scale down low bits on after-rounding
26847         systems when result rounded to normal precision would have normal
26848         exponent.
26849         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26850         (__fmal): Do not extract and scale down low bits on after-rounding
26851         systems when result rounded to normal precision would have normal
26852         exponent.
26853         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26854         macro.
26855         (fma_test): Add more tests.
26856         (fma_test_towardzero): Likewise.
26857         (fma_test_downward): Likewise.
26858         (fma_test_upward): Likewise.
26859
26860 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
26861
26862         * sysdeps/i386/tininess.h: Renamed to ...
26863         * sysdeps/x86/tininess.h: This.
26864         * sysdeps/x86_64/tininess.h: Removed.
26865
26866 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
26867
26868         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26869         input.  Use $(build-program-cmd).
26870         ($(objpfx)tst-array1-static.out): Likewise.
26871         ($(objpfx)tst-array2.out): Likewise.
26872         ($(objpfx)tst-array3.out): Likewise.
26873         ($(objpfx)tst-array4.out): Likewise.
26874         ($(objpfx)tst-array5.out): Likewise.
26875         ($(objpfx)tst-array5-static.out): Likewise.
26876
26877 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
26878
26879         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26880         if defined.
26881
26882         * nss/nsswitch.h (nss_interface_function): Provide new
26883         macro for use with NSS functions.
26884         * grp/initgroups.c: Use new macro.
26885         * nss/getXXbyYY.c: Likewise.
26886         * nss/getXXbyYY_r.c: Likewise.
26887         * nss/getXXent.c: Likewise.
26888         * nss/getXXent_r.c: Likewise.
26889         * sysdeps/posix/getaddrinfo.c: Likewise.
26890
26891 2012-10-30  Andreas Jaeger  <aj@suse.de>
26892
26893         * po/ru.po: Update Russion translation from translation project.
26894
26895 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
26896
26897         [BZ #14152]
26898         [BZ #14783]
26899         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26900         result and shift together with sticky bit instead of replicating
26901         round-to-nearest rounding.
26902         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26903         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26904         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
26905         missing underflow exceptions.
26906         (fma_test_towardzero): Add more tests.
26907         (fma_test_downward): Likewise.
26908         (fma_test_upward): Likewise.
26909
26910         [BZ #14047]
26911         * sysdeps/generic/tininess.h: New file.
26912         * sysdeps/i386/tininess.h: Likewise.
26913         * sysdeps/sh/tininess.h: Likewise.
26914         * sysdeps/x86_64/tininess.h: Likewise.
26915         * stdlib/tst-strtod-underflow.c: Likewise.
26916         * stdlib/tst-tininess.c: Likewise.
26917         * stdlib/strtod_l.c: Include <tininess.h>.
26918         (round_and_return): Do not set errno for exact underflow cases.
26919         Force an underflow exception when setting errno for underflow.
26920         Determine underflow based on rounding to normal precision if
26921         TININESS_AFTER_ROUNDING.
26922         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26923         ERANGE for exact underflow cases.
26924         * stdlib/Makefile (tests): Add tst-tininess and
26925         tst-strtod-underflow.
26926         ($(objpfx)tst-tininess): Use $(link-libm).
26927         ($(objpfx)tst-strtod-underflow): Likewise.
26928
26929 2012-10-30  Andreas Jaeger  <aj@suse.de>
26930
26931         [BZ#14767]
26932         * elf/Makefile (tests): Remove conditional for have-initfini-array
26933         since this is now always required and the variable does not exist
26934         anymore.
26935         (tests-static): Likewise.
26936         (modules-names): Likewise.
26937
26938         * po/eo.po: Add Esperanto translation from translation project.
26939
26940         * elf/tst-array1.c (fini_array): Make writeable so that it can be
26941         merged with constructor/destructor.
26942         (init_array): Likewise.
26943         * elf/tst-array2dep.c (fini_array): Likewise.
26944         (init_array): Likewise.
26945
26946 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
26947
26948         * manual/message.texi: Delete @cartouche tags.
26949
26950 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
26951
26952         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26953         EOPNOTSUPP.
26954         * sysdeps/mach/hurd/fsync.c: Likewise.
26955
26956         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26957         [_POSIX_REALTIME_SIGNALS]: Change condition to
26958         [_POSIX_REALTIME_SIGNALS > 0].
26959
26960 2012-10-27  Andreas Jaeger  <aj@suse.de>
26961
26962         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26963         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26964         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26965         [__WORDSIZE != 64]: Likewise.
26966
26967 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
26968
26969         *  iconvdata/tst-table.sh: Remove ${SHELL}.
26970         *  iconvdata/tst-tables.sh: Likewise.
26971
26972 2012-10-25  David S. Miller  <davem@davemloft.net>
26973
26974         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26975         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26976         of strtoull.
26977
26978         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26979         ifunc-impl-list.c
26980         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26981         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26982         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26983         file.
26984
26985 2012-10-25  Roland McGrath  <roland@hack.frob.com>
26986
26987         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26988         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26989         __getdirentries.
26990
26991 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26992             Jim Blandy  <jimb@codesourcery.com>
26993
26994         * scripts/cross-test-ssh.sh: New file.
26995         * manual/install.texi (Configuring and compiling): Document use of
26996         cross-test-ssh.sh.
26997         * INSTALL: Regenerated.
26998
26999 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27000
27001         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27002         EOPNOTSUPP.
27003
27004 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27005
27006         * Makeconfig (run-program-prefix): Fix comment.
27007
27008 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27009             Jim Blandy  <jimb@codesourcery.com>
27010
27011         * Makeconfig (test-wrapper): New variable,
27012         (test-wrapper-env): Likewise.
27013         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27014         (run-built-tests): Define to yes.
27015         (run-program-prefix): Use $(test-wrapper).
27016         (built-program-cmd): Likewise.
27017         * Rules (make-test-out): Use $(test-wrapper-env) and
27018         $(host-built-program-cmd).
27019         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27020         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27021         tst-pathopt.sh.
27022         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27023         $(test-wrapper-env) to tst-rtld-load-self.sh.
27024         ($(objpfx)order2.out): Use $(test-wrapper).
27025         ($(objpfx)tst-initorder.out): Likewise.
27026         ($(objpfx)tst-initorder2.out): Likewise.
27027         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27028         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27029         (test_wrapper_env): New variable.  Use it to run ld.so.
27030         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27031         Use it to run ld.so.
27032         (test_wrapper_env): Likewise.
27033         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27034         $(test-wrapper) to run-iconv-test.sh.
27035         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27036         (ICONV): Use $test_wrapper.
27037         * posix/Makefile ($(objpfx)globtest.out): Pass
27038         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27039         globtest.sh, not $(run-program-prefix).
27040         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27041         (test_wrapper): Likewise.
27042         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27043         set together with run_via_rtld_prefix.
27044         (run_program_prefix): Define in terms of test_wrapper and
27045         run_via_rtld_prefix.
27046
27047 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27048
27049         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27050         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27051         Targets removed.
27052
27053         [BZ #14743]
27054         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27055         Declare __clock_getres, __clock_gettime, __clock_settime,
27056         __clock_nanosleep, and __clock_getcpuclockid.
27057         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27058         Remove librt_hidden_def (clock_gettime).
27059         * sysdeps/unix/clock_gettime.c: Likewise.
27060         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27061         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27062         * rt/clock_getres.c: Define __clock_getres as an alias.
27063         * sysdeps/posix/clock_getres.c: Likewise.
27064         * rt/clock_settime.c: Define __clock_settime as an alias.
27065         * sysdeps/unix/clock_settime.c: Likewise.
27066         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27067         * sysdeps/unix/clock_nanosleep.c: Likewise.
27068         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27069         * rt/clock-compat.c: New file.
27070         * rt/Makefile (librt-routines): Add clock-compat and move
27071         $(clock-routines) to ...
27072         (routines): ... here, new variable.
27073         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27074         Don't add get_clockfreq here.
27075         * rt/Versions (libc: GLIBC_2.17): New version set.
27076         Add clock_* symbols here.
27077         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27078         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27079         (GLIBC_2.17): Add clock_* symbols.
27080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27082         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27084         Likewise.
27085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27086         Likewise.
27087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27091         * NEWS: Mention the move.
27092
27093         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27094         Use __open, __read, __close rather than their public counterparts.
27095         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27096         (__get_clockfreq_via_cpuinfo): Likewise.
27097         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27098         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27099
27100         * config.h.in (HAVE_IFUNC): New #undef.
27101         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27102         was successful.
27103         * configure: Regenerated.
27104
27105 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27106
27107         * configure.in: Move READELF check to start of file.
27108         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27109         libc_cv_asm_gnu_indirect_function in the process.
27110         * configure: Regenerated.
27111
27112 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27113
27114         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27115         send the output to /dev/null.
27116         (libc_cv_cc_with_libunwind): Likewise.
27117         (libc_cv_as_noexecstack): Likewise.
27118         * configure: Regenerate.
27119
27120 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27121
27122         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27123
27124         * posix/globtest.sh (TMPDIR): Do not set.
27125         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27126         (testout): Likewise.
27127
27128 2012-10-24  Andreas Jaeger  <aj@suse.de>
27129
27130         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27131         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27132         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27133         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27134         posix_fadvise64, posix_fallocate64.
27135
27136         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27137         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27138         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27139         Likewise.
27140         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27141         Likewise.
27142         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27143
27144         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27145         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27146         <bits/fcntl-linux.h>.
27147         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27148
27149         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27150         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27151         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27152         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27153         [__WORDSIZE != 64]: Likewise.
27154
27155 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27156
27157         * Makeconfig (run-built-tests): New variable.
27158         * Rules [$(cross-compiling) = yes]: Change condition to
27159         [$(run-built-tests) = no].
27160         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27161         to [$(run-built-tests) = yes].
27162         * elf/Makefile [$(cross-compiling) = no]: Likewise
27163         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27164         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27165         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27166         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27167         * io/Makefile [$(cross-compiling) = no]: Likewise.
27168         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27169         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27170         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27171         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27172         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27173         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27174         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27175         * string/Makefile [$(cross-compiling) = no]: Likewise.
27176
27177         * posix/Makefile ($(objpfx)globtest.out): Pass
27178         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27179         $(rtld-installed-name).
27180         * posix/globtest.sh (elf_objpfx): Remove variable.
27181         (rtld_installed_name): Likewise.
27182         (library_path): Likewise.
27183         (run_program_prefix): New variable.  Use for running globtest
27184         binary.
27185
27186 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27187             Joseph Myers  <joseph@codesourcery.com>
27188
27189         * Makeconfig (host-built-program-cmd): New variable.
27190         * elf/Makefile (tst-stackguard1-ARGS): Use
27191         $(host-built-program-cmd).
27192         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27193         (tst-spawn-ARGS): Likewise.
27194         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27195
27196 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27197             Jim Blandy  <jimb@codesourcery.com>
27198
27199         * Makeconfig (run-via-rtld-prefix): New variable.
27200         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27201         (built-program-cmd): Likewise.
27202
27203 2012-10-22  Andreas Jaeger  <aj@suse.de>
27204
27205         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27206         __O_RSYNC if it exists, otherwise to O_SYNC.
27207
27208 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27209             Joseph Myers  <joseph@codesourcery.com>
27210
27211         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27212         /dev/null.
27213         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27214         from /dev/null
27215         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27216         /dev/null.
27217
27218 2012-10-22  Andreas Jaeger  <aj@suse.de>
27219
27220         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27221         Define always.
27222         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27223
27224         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27225         bits/fcntl-linux.h.
27226
27227         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27228         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27229
27230         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27231         to __O_LARGEFILE.
27232         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27233         to __O_LARGEFILE.
27234
27235 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27236             Joseph Myers  <joseph@codesourcery.com>
27237
27238         * config.make.in (NM): New variable.
27239
27240 2012-10-21  Andreas Jaeger  <aj@suse.de>
27241
27242         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27243         definitions and declarations that are provided by
27244         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27245
27246 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27247
27248         [BZ #14683]
27249         * elf/Makefile (tests-static): Add tst-leaks1-static.
27250         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27251         ($(objpfx)tst-leaks1-static): New rule.
27252         ($(objpfx)tst-leaks1-static-mem): Likewise.
27253         (tst-leaks1-static-ENV): New macro.
27254         * elf/dl-open.c (dl_open_worker): Check the main application
27255         only if SHARED is defined.
27256         * elf/tst-leaks1-static.c: New file.
27257
27258 2012-10-20  Andreas Jaeger  <aj@suse.de>
27259
27260         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27261         generic values for Linux.
27262         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27263         and declarations that are provided by <bits/fcntl-linux.h> and
27264         include <bits/fcntl-linux.h>.
27265         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27266         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27267
27268 2012-10-20  Roland McGrath  <roland@hack.frob.com>
27269
27270         * io/fcntl.h: Move include of <bits/types.h> to the top and
27271         include it unconditionally.
27272
27273 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27274
27275         * wcsmbs/Makefile (tests-ifunc): New variable.
27276         (tests): Add $(tests-ifunc).
27277         * wcsmbs/test-wcschr-ifunc.c: New file.
27278         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27279         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27280         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27281         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27282         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27283
27284         * string/Makefile (tests-ifunc): New variable.
27285         (tests): Add $(tests-ifunc).
27286         * string/test-memccpy.c (TEST_NAME): New macro.
27287         * string/test-memchr.c (TEST_NAME): Likewise.
27288         * string/test-memcmp.c (TEST_NAME): Likewise.
27289         * string/test-memcpy.c (TEST_NAME): Likewise.
27290         * string/test-memmem.c (TEST_NAME): Likewise.
27291         * string/test-memmove.c (TEST_NAME): Likewise.
27292         * string/test-memset.c (TEST_NAME): Likewise.
27293         * string/test-rawmemchr.c (TEST_NAME): Likewise.
27294         * string/test-stpcpy.c (TEST_NAME): Likewise.
27295         * string/test-stpncpy.c (TEST_NAME): Likewise.
27296         * string/test-strcasecmp.c (TEST_NAME): Likewise.
27297         * string/test-strcasestr.c (TEST_NAME): Likewise.
27298         * string/test-strcat.c (TEST_NAME): Likewise.
27299         * string/test-strchr.c (TEST_NAME): Likewise.
27300         * string/test-strcmp.c(TEST_NAME): Likewise.
27301         * string/test-strcpy.c (TEST_NAME): Likewise.
27302         * string/test-strcspn.c (TEST_NAME): Likewise.
27303         * string/test-strlen.c (TEST_NAME): Likewise.
27304         * string/test-strncasecmp.c (TEST_NAME): Likewise.
27305         * string/test-strncmp.c (TEST_NAME): Likewise.
27306         * string/test-strncpy.c (TEST_NAME): Likewise.
27307         * string/test-strnlen.c (TEST_NAME): Likewise.
27308         * string/test-strpbrk.c (TEST_NAME): Likewise.
27309         * string/test-strrchr.c (TEST_NAME): Likewise.
27310         * string/test-strspn.c (TEST_NAME): Likewise.
27311         * string/test-strstr.c (TEST_NAME): Likewise.
27312         * string/test-bcopy-ifunc.c: New file.
27313         * string/test-bzero-ifunc.c: Likewise.
27314         * string/test-memccpy-ifunc.c: Likewise.
27315         * string/test-memchr-ifunc.c: Likewise.
27316         * string/test-memcmp-ifunc.c: Likewise.
27317         * string/test-memcpy-ifunc.c: Likewise.
27318         * string/test-memmem-ifunc.c: Likewise.
27319         * string/test-memmove-ifunc.c: Likewise.
27320         * string/test-mempcpy-ifunc.c: Likewise.
27321         * string/test-memset-ifunc.c: Likewise.
27322         * string/test-rawmemchr-ifunc.c: Likewise.
27323         * string/test-stpcpy-ifunc.c: Likewise.
27324         * string/test-stpncpy-ifunc.c: Likewise.
27325         * string/test-strcasecmp-ifunc.c: Likewise.
27326         * string/test-strcasestr-ifunc.c: Likewise.
27327         * string/test-strcat-ifunc.c: Likewise.
27328         * string/test-strchr-ifunc.c: Likewise.
27329         * string/test-strchrnul-ifunc.c: Likewise.
27330         * string/test-strcmp-ifunc.c: Likewise.
27331         * string/test-strcpy-ifunc.c: Likewise.
27332         * string/test-strcspn-ifunc.c: Likewise.
27333         * string/test-strlen-ifunc.c: Likewise.
27334         * string/test-strncasecmp-ifunc.c: Likewise.
27335         * string/test-strncat-ifunc.c: Likewise.
27336         * string/test-strncmp-ifunc.c: Likewise.
27337         * string/test-strncpy-ifunc.c: Likewise.
27338         * string/test-strnlen-ifunc.c: Likewise.
27339         * string/test-strpbrk-ifunc.c: Likewise.
27340         * string/test-strrchr-ifunc.c: Likewise.
27341         * string/test-strspn-ifunc.c: Likewise.
27342         * string/test-strstr-ifunc.c: Likewise.
27343
27344         * debug/Makefile (tests-ifunc): New variable.
27345         (tests): Add $(tests-ifunc).
27346         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27347         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27348         * debug/test-stpcpy_chk-ifunc.c: New file.
27349         * debug/test-strcpy_chk-ifunc.c: Likewise.
27350
27351 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27352
27353         [BZ #13601]
27354         * elf/dl-load.c (open_verify): Retry read if the entire ELF
27355         header is not read in.
27356
27357 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
27358
27359         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
27360         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
27361         directly.  Pass built executable to script as
27362         $(built-program-cmd).
27363         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
27364         $testprogram without using LD_LIBRARY_PATH and $ldso.
27365
27366         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27367         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27368         $(rtld-installed-name).
27369         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27370         (rtld_installed_name): Likewise.
27371         (library_path): Likewise.
27372         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
27373         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27374         $(run-program-prefix) to tst-tables.sh.
27375         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
27376         it to run tst-table-from and tst-table-to.
27377         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27378         Pass it to tst-table.sh.
27379         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27380         $(run-program-prefix) to tst-gettext.sh.
27381         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27382         tst-translit.sh.
27383         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27384         tst-gettext2.sh.
27385         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
27386         to run tst-gettext.
27387         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
27388         to run tst-gettext2.
27389         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
27390         to run tst-translit.
27391         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27392         $(run-program-prefix) to tst-mtrace.sh.
27393         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
27394         to run tst-mtrace.
27395         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27396         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27397         $(rtld-installed-name).
27398         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27399         (rtld_installed_name): Likewise.
27400         (run_program_prefix): New variable.  Use it to run wordexp-test.
27401
27402         * Makeconfig (ARCH): Remove all definitions.
27403         (machine): Likewise.
27404         [ARCH]: Remove conditional code.
27405         [!objdir]: Give error.
27406         [!objdir] (objpfx): Remove.
27407         [!objdir] (common-objpfx): Likewise.
27408         [!objdir] (common-objdir): Likewise.
27409         * configure.in (config_makefile): Remove.  Hardcode Makefile in
27410         AC_CONFIG_FILES call.
27411         * configure: Regenerated.
27412
27413         [BZ #13888]
27414         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27415         or TMPDIR.
27416         (testout): Likewise.
27417
27418         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27419         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27420         $(rtld-installed-name).
27421         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27422         (rtld_installed_name): Likwise.
27423         (runit): Remove function.
27424         (run_getconf): New variable,  Use it for running getconf binary.
27425
27426 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
27427
27428         [BZ #14716]
27429         * string/test-memmem.c (check_result): New function.
27430         (do_one_test): Use it.
27431         (check1): New function.
27432         (test_main): Use it.
27433
27434 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
27435
27436         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27437
27438 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
27439
27440         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27441         (_G_LSEEK64): Likewise.
27442         (_G_MMAP64): Likewise.
27443         (_G_FSTAT64): Likewise.
27444         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27445         (_G_LSEEK64): Likewise.
27446         (_G_MMAP64): Likewise.
27447         (_G_FSTAT64): Likewise.
27448         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27449         unconditional.  Call __mmap64 directly.
27450         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27451         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
27452         __lseek64 directly.
27453         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27454         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
27455         __mmap64 directly.
27456         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27457         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27458         __lseek64 directly.
27459         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27460         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27461         __lseek64 directly.
27462         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27463         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
27464         __lseek64 directly.
27465         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27466         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
27467         __fxstat64 directly.
27468         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27469         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27470         unconditional.
27471         (freopen64) [!_G_OPEN64]: Remove conditional code.
27472         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27473         unconditional.
27474         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27475         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27476         unconditional.
27477         (ftello64) [!_G_LSEEK64]: Remove conditional code.
27478         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27479         unconditional.
27480         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27481         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27482         unconditional.
27483         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27484         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27485         unconditional.
27486         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27487         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27488         unconditional.
27489         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27490         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27491         unconditional.
27492         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27493
27494 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27495
27496         [BZ #12140]
27497         * manual/memory.texi (Malloc Tunable Parameters): Add note
27498         about free list pointers overwriting some perturb bytes.
27499         Wording suggested by Roland McGrath.
27500
27501 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
27502
27503         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27504         (lgamma_test): Likewise.
27505         (tgamma_test): Likewise.
27506
27507 2012-10-16  Florian Weimer  <fweimer@redhat.com>
27508
27509         [BZ #14700]
27510         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27511         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27512
27513 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
27514
27515         * NEWS: Mention BZ #14716.
27516         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27517         when removing AVAILABLE1_USES_J macro.
27518
27519 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
27520
27521         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27522         (__bswap_64): __uint64_t for unsigned 64-bit int.
27523
27524 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
27525
27526         * include/string.h (memmem): Declare libc hidden alias.
27527         * string/memmem.c (memmem): Define libc hidden alias.
27528         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27529         __read, __close instead of open, read, close.
27530
27531 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
27532
27533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27534         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27535         global and hidden.
27536         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27537         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27538         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27539         Likewise.
27540         (__rawmemchr_sse2): Likewise.
27541         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27542         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27543         (__strchr_sse2): Likewise.
27544         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27545         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27546         (__strcasecmp_sse2): Likewise.
27547         (__strncasecmp_sse2): Likewise.
27548         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27549         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27550         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27551         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27552         (__strrchr_sse2): Likewise.
27553         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27554         ifunc-impl-list.c.
27555         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27556         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27557         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27558         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27559         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27560         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27561         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27562         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27563         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27564         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27565         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27566         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27567         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27568         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27569         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27570         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27571         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27572         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27573         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27574         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27575         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27576         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27577         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27578         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27579         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27580         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27581         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27582         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27583         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27584         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27585
27586         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27587         global and hidden.
27588         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27589         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27590         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27591         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27592         Likewise.
27593         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27594         Likewise.
27595         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27596         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27597         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27598         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27599         ifunc-impl-list.c.
27600         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27601         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27602         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27603         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27604         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27605         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27606         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27607         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27608         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27609         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27610         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27611         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27612         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27613         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27614         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27615         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27616         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27617         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27618         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27619         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27620         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27621         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27622         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27623         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27624         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27625         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27626         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27627         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27628         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27629         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27630         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27631         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27632         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27633         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27634         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27635         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27636         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27637         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27638         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27639         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27640         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27641
27642         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27643         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27644         * include/ifunc-impl-list.h: New file.
27645         * misc/ifunc-impl-list.c: Likewise.
27646         * misc/Makefile (routines): Add ifunc-impl-list.
27647         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27648         * string/test-string.h: Include <ifunc-impl-list.h>.
27649         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27650         TEST_NAME]: New variables.
27651         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27652         are defined.
27653         (test_init): Call __libc_ifunc_impl_list to initialize
27654         func_list if TEST_IFUNC and TEST_NAME are defined.
27655
27656         * string/Makefile (strop-tests): Add bcopy and bzero.
27657         * string/test-bcopy.c: New file.
27658         * string/test-bzero.c: Likewise.
27659         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27660         defined.
27661         * string/test-memset.c: Support bzero test if TEST_BZERO is
27662         defined.
27663         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27664         __libc_memmove.
27665         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27666         __libc_memset.
27667         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27668         of memset.
27669
27670 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
27671
27672         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27673         * configure: Regenerated.
27674
27675         * Makeconfig (+link-static-before-libc): Don't include
27676         $(link-static-libc).
27677
27678         * libio/libio.h (_IO_pos_t): Remove.
27679
27680 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27681
27682         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
27683         McGrath.
27684
27685 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27686
27687         * crypt/crypt-entry.c: Include fips-private.h.
27688         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27689         * crypt/md5c-test.c (main): Tolerate disabled MD5.
27690         * sysdeps/unix/sysv/linux/fips-private.h: New file.
27691         * sysdeps/generic/fips-private.h: New file, dummy fallback.
27692
27693 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27694
27695         * crypt/crypt-private.h: Include stdbool.h.
27696         (_ufc_setup_salt_r): Return bool.
27697         * crypt/crypt-entry.c: Include errno.h.
27698         (__crypt_r): Return NULL with EINVAL for bad salt.
27699         * crypt/crypt_util.c (bad_for_salt): New.
27700         (_ufc_setup_salt_r): Check that salt is long enough and within
27701         the specified alphabet.
27702         * crypt/badsalttest.c: New file.
27703         * crypt/Makefile (tests): Add it.
27704         ($(objpfx)badsalttest): New.
27705
27706 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
27707
27708         * NEWS: Add entry for BZ #14602.
27709
27710 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27711
27712         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27713         type-generic.
27714         * math/libm-test.inc: Update comment listing what functions and
27715         macros are tested.
27716         (isgreater_test): New function.
27717         (isgreaterequal_test): Likewise.
27718         (isless_test): Likewise.
27719         (islessequal_test): Likewise.
27720         (islessgreater_test): Likewise.
27721         (isunordered_test): Likewise.
27722         (main): Call the new functions.
27723
27724 2012-10-09  Roland McGrath  <roland@hack.frob.com>
27725
27726         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27727         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27728         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27729         * sysdeps/i386/configure: Regenerated.
27730         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27731         * sysdeps/mach/configure: Regenerated.
27732         * sysdeps/mach/hurd/configure: Regenerated.
27733         * sysdeps/powerpc/configure: Regenerated.
27734         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27735         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27736         * sysdeps/s390/s390-32/configure: Regenerated.
27737         * sysdeps/s390/s390-64/configure: Regenerated.
27738         * sysdeps/sh/configure: Regenerated.
27739         * sysdeps/sparc/configure: Regenerated.
27740         * sysdeps/unix/sysv/linux/configure: Regenerated.
27741         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27742         * sysdeps/x86_64/configure: Regenerated.
27743
27744         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27745         defined.  Don't check if MAP is NULL.
27746
27747 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27748
27749         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27750         (_G_stat64): Likewise.
27751         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27752         (_G_stat64): Likewise.
27753         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27754         instead of struct _G_stat64.
27755         * libio/fileops.c (mmap_remap_check): Likewise.
27756         (decide_maybe_mmap): Likewise.
27757         (_IO_new_file_seekoff): Likewise.
27758         (_IO_file_stat): Likewise.
27759         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27760         _G_off64_t.
27761         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27762         instead of struct _G_stat64.
27763         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27764
27765 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
27766
27767         [BZ #14602]
27768         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27769         Replace with ...
27770         (CHECK_EOL): New macro.
27771         (two_way_short_needle): Check beginning of haystack for EOL.  Use
27772         CHECK_EOL.
27773         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27774         Replace with CHECK_EOL.
27775         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27776         Replace with CHECK_EOL.
27777
27778 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
27779
27780         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27781         type-generic.
27782         * math/libm-test.inc: Update comment listing what functions and
27783         macros are tested.
27784         (finite_test): New function.
27785         (isinf_test): Likewise.
27786         (isnan_test): Likewise.
27787         (fpclassify_test): Test subnormal input.
27788         (isfinite_test): Likewise.
27789         (isnormal_test): Likewise.
27790         (main): Call the new functions.
27791
27792 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
27793
27794         [BZ #14660]
27795         * Makerules (%.dynsym): Force C locale when running
27796         $(OBJDUMP) --dynamic-syms.
27797
27798 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
27799
27800         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27801         <stdint.h>.
27802
27803 2012-10-06  David S. Miller  <davem@davemloft.net>
27804
27805         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27806         upper 32-bits of the length value in %o2 since we use branch-on-register
27807         tests which consider the entire 64-bit register.
27808
27809 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
27810
27811         * string/test-strstr.c (check2): Add a test for page boundary.
27812
27813 2012-10-05  David S. Miller  <davem@davemloft.net>
27814
27815         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27816         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27817         file.
27818         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27819         sysdep_routines.
27820         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27821         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27822         and bzero when HWCAP_SPARC_CRYPTO is present.
27823
27824 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
27825
27826         [BZ #14602]
27827         * string/test-strstr.c (check2): New function.
27828         (test_main): Call check2.
27829
27830         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27831         and bug-strchr1.
27832         * string/bug-strcasestr1.c (do_test): Moved to ...
27833         * string/test-strcasestr.c (check1): Here.  New function.
27834         (do_one_test): Break out result checking code into ...
27835         (check_result): This.  New function.
27836         (do_one_test): Call check_result.
27837         (test_main): Call check1.
27838         * string/bug-strchr1.c (do_test): Moved to ...
27839         * string/test-strchr.c (check1): Here.  New function.
27840         (do_one_test): Break out result checking code into ...
27841         (check_result): This.  New function.
27842         (do_one_test): Call check_result.
27843         (test_main): Call check1.
27844         * string/bug-strstr1.c (main): Moved to ...
27845         * string/test-strstr.c (check1): Here.  New function.
27846         (do_one_test): Break out result checking code into ...
27847         (check_result): This.  New function.
27848         (do_one_test): Call check_result.
27849         (test_main): Call check1.
27850         * string/bug-strcasestr1.c: Removed.
27851         * string/bug-strchr1.c: Likewise.
27852         * string/bug-strstr1.c: Likewise.
27853
27854         * elf/Makefile (dl-routines): Add hwcaps.
27855         * elf/dl-support.c (_dl_important_hwcaps): Removed.
27856         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27857         (_dl_important_hwcaps): Moved to ...
27858         * elf/dl-hwcaps.c: Here.  New file.
27859         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27860
27861         [BZ #14557]
27862         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27863         if IS_IN_rtld isn't defined.
27864
27865         * elf/dl-support.c (_dl_sysinfo_map): New.
27866         Include "get-dynamic-info.h" and "setup-vdso.h".
27867         (_dl_non_dynamic_init): Call setup_vdso.
27868         * elf/dynamic-link.h: Don't include <assert.h>.
27869         (elf_get_dynamic_info): Moved to ...
27870         * elf/get-dynamic-info.h: Here.  New file.
27871         * elf/dynamic-link.h: Include "get-dynamic-info.h".
27872         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27873         * elf/setup-vdso.h: Here.  New file.
27874         * elf/rtld.c: Include "setup-vdso.h".
27875         (dl_main): Call setup_vdso.
27876
27877 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
27878
27879         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27880         creal in comment listing functions tested.  List finite, isinf,
27881         isnan, isless, islessequal, isgreater, isgreaterequal,
27882         islessgreater, isunordered, lgamma_r and pow10 as functions and
27883         macros not tested.  Mention which functions not tested are aliases
27884         for other functions.  Fix typo.  Note that signs of NaNs are not
27885         tested.
27886
27887         * scripts/config.guess: Update from config.git.
27888         * scripts/config.sub: Likewise.
27889
27890 2012-10-04  Roland McGrath  <roland@hack.frob.com>
27891
27892         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27893         * misc/madvise.c (madvise): Renamed to __madvise.
27894         Make madvise a weak alias.
27895         * include/sys/mman.h: Declare __madvise.
27896         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27897         * sysdeps/unix/syscalls.list
27898         (madvise): Make __madvise the strong name, and madvise a weak alias.
27899         * sysdeps/unix/sysv/linux/syscalls.list
27900         (madvise, mmap): Remove redundant entries.
27901         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27902         * malloc/malloc.c (mtrim): Likewise.
27903         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27904
27905 2012-10-03  Roland McGrath  <roland@hack.frob.com>
27906
27907         * sysdeps/mach/hurd/dl-cache.c: File removed.
27908         * config.h.in (USE_LDCONFIG): New #undef.
27909         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27910         * configure: Regenerated.
27911         * elf/Makefile (dl-routines): Add dl-cache only under
27912         [$(use-ldconfig) = yes].
27913         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27914         cache on [USE_LDCONFIG].
27915         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27916         [USE_LDCONFIG].
27917         * elf/rtld.c (dl_main): Likewise.
27918
27919 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
27920
27921         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27922         _SC_LEVEL4_CACHE_LINESIZE.
27923
27924 2012-10-03  Roland McGrath  <roland@hack.frob.com>
27925
27926         * sysdeps/unix/bsd/confstr.h: File removed.
27927
27928 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
27929
27930         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27931         sys/sdt-config.h.
27932
27933 2012-10-02  Roland McGrath  <roland@hack.frob.com>
27934
27935         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27936         Make 'mapoff' field ElfW(Off) rather than off_t.
27937
27938 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
27939
27940         * nscd/Makefile: Remove nscd-cflags and all its users.
27941         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27942         (CFLAGS-nonlib): Add compiler flags for nscd modules.
27943
27944         [BZ #10631]
27945         * malloc.c (malloc_printerr): Clarify error message.
27946
27947 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
27948
27949         [BZ #14648]
27950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27951         Set bit_FMA_Usable if FMA is supported.
27952         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27953         macro.
27954         (bit_FMA4_Usable): Updated.
27955         (index_FMA_Usable): New macro.
27956         (CPUID_FMA): Likewise
27957         (HAS_FMA): Defined with bit_FMA_Usable.
27958
27959 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27960
27961         * bits/types.h (__swblk_t): Type removed.
27962         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27963         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27964         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27965         (__SWBLK_T_TYPE): Likewise.
27966         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27967         (__SWBLK_T_TYPE): Likewise.
27968         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27969         (__SWBLK_T_TYPE): Likewise.
27970         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27971         (__SWBLK_T_TYPE): Likewise.
27972
27973 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
27974             Honza Horak <hhorak@redhat.com>
27975
27976         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27977         (xdr_mapname): Use YPMAXMAP as maxsize.
27978         (xdr_peername): Use YPMAXPEER as maxsize.
27979         (xdr_keydat): Use YPAXRECORD as maxsize.
27980         (xdr_valdat): Use YPMAXRECORD as maxsize.
27981
27982 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27983
27984         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27985
27986         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27987         * csu/init-first.c: ... here.
27988         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27989         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27990         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27991         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27992         * sysdeps/i386/init-first.c: File removed.
27993         * sysdeps/sh/init-first.c: File removed.
27994
27995 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
27996
27997         [BZ #14645]
27998         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27999         if x * y might underflow to zero and z is zero.
28000         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28001         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28002         * math/libm-test.inc (min_subnorm_value): New variable.
28003         (fma_test): Add more tests.
28004         (fma_test_towardzero): Likewise.
28005         (fma_test_downward): Likewise
28006         (fma_test_upward): Likewise.
28007         (initialize): Set min_subnorm_value.
28008
28009 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28010
28011         [BZ #14638]
28012         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28013         0 + 0.
28014         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28015         mode for addition resulting in exact zero.
28016         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28017         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28018         exact 0 + 0.
28019         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28020         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28021         * math/libm-test.inc (fma_test): Add more tests.
28022         (fma_test_towardzero): New function.
28023         (fma_test_downward): Likewise.
28024         (fma_test_upward): Likewise.
28025         (main): Call the new functions.
28026
28027 2012-09-28  David S. Miller  <davem@davemloft.net>
28028
28029         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28030
28031 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28032
28033         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28034         instead of SIGALRM.
28035
28036         * sysdeps/gnu/_G_config.h: Moved to ...
28037         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28038         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28039         * sysdeps/generic/_G_config.h: ... here.
28040
28041         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28042
28043         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28044
28045         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28046         Conditionalize target on [libnss_test1.so-version].
28047
28048         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28049
28050         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28051         (elfobjdir): Move out of conditionals.
28052
28053         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28054         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28055         (__nss_lookup_function): Conditionalize label remove_from_tree on
28056         [!DO_STATIC_NSS || SHARED], matching its only use.
28057
28058 2012-09-28  David S. Miller  <davem@davemloft.net>
28059
28060         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28061         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28062         file.
28063         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28064         sysdep_routines.
28065         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28066         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28067         when HWCAP_SPARC_CRYPTO is present.
28068
28069 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28070
28071         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28072
28073 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28074
28075         [BZ #6530]
28076         * stdio-common/vfprintf.c (process_string_arg): Revert
28077         2000-07-22 change.
28078
28079 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28080
28081         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28082         for testcase.
28083         * stdio-common/tst-sprintf.c: Include <locale.h>
28084         (main): Test sprintf's handling of incomplete multibyte
28085         characters.
28086
28087 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28088
28089         * elf/dl-runtime.c (VERSYMIDX): Removed.
28090         * elf/dl-version.c (VERSYMIDX): Likewise.
28091         * elf/do-rel.h (VERSYMIDX): Likewise.
28092         (VALIDX): Likewise.
28093         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28094         * elf/rtld.c (VALIDX): Likewise.
28095         (ADDRIDX): Likewise.
28096         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28097         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28098         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28099         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28100         (VALIDX): Likewise.
28101         (ADDRIDX): Likewise.
28102
28103 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28104
28105         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28106
28107 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28108
28109         [BZ #11438]
28110         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28111         to global scope.
28112         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28113         addresses are in the same scope as 192.0.2/24.
28114         * posix/gai.conf: Document new scope table defaults.
28115
28116 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28117
28118         [BZ #5298]
28119         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28120         for ftell.  Compute offsets from write pointers instead.
28121         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28122
28123 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28124
28125         [BZ #14543]
28126         * libio/Makefile (tests): New test case tst-fseek.
28127         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28128         combination works in wide mode.
28129         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28130         state when the external buffer state changes.
28131
28132 2012-09-27  David S. Miller  <davem@davemloft.net>
28133
28134         [BZ #14376]
28135         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28136         pass reloc->r_addend in as the 'high' argument to
28137         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28138
28139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28140
28141 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28142
28143         * rt/tst-aio2.c: Include <pthread.h>.
28144         * rt/tst-aio3.c: Likewise.
28145
28146 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28147
28148         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28149
28150 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28151
28152         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28153         contents on [SHARED].
28154
28155 2012-09-26  Marek Polacek  <polacek@redhat.com>
28156
28157         [BZ #14530]
28158         [BZ #13741]
28159         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28160         for C++ and GCC <4.3 as well as for non GCC compilers.
28161
28162 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28163
28164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28165
28166 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28167
28168         * Makefile.in (all, install): Declare with .PHONY.
28169         Reported by Michael Hope <michael.hope@linaro.org>.
28170
28171 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28172
28173         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28174         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28175         system header.
28176         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28177         Likewise.
28178         (sydep_routines): Add the new and the internal functions.
28179         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28180         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28182         (GLIBC_2.17): Add the new function.
28183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28184         (GLIBC_2.17): Likewise.
28185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28186         (GLIBC_2.17): Likewise.
28187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28188         (GLIBC_2.17): Likewise.
28189         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28190
28191 2012-09-25  Alan Modra  <amodra@gmail.com>
28192
28193         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28194         Add release barrier before setting once_control to say
28195         initialisation is done.  Add hints on lwarx.  Use macro in
28196         place of isync.
28197         (clear_once_control): Add release barrier.
28198
28199 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28200
28201         [BZ #13629]
28202         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28203         specially.
28204         * math/s_clog10.c (__clog10): Likewise.
28205         * math/s_clog10f.c (__clog10f): Likewise.
28206         * math/s_clog10l.c (__clog10l): Likewise.
28207         * math/s_clogf.c (__clogf): Likewise.
28208         * math/s_clogl.c (__clogl): Likewise.
28209         * math/Makefile (libm-calls): Add x2y2m1.
28210         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28211         (__x2y2m1): Likewise.
28212         (__x2y2m1l): Likewise.
28213         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28214         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28215         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28216         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28217         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28218         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28219         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28220         * sysdeps/i386/fpu/libm-test-ulps: Update.
28221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28222
28223         [BZ #14621]
28224         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28225         int as type of variable DEPTH.
28226         (glob): Use size_t instead of int as type of variables NEWCOUNT
28227         and OLD_PATHC.
28228
28229 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28230
28231         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28232         Add s_sincosf-sse2.
28233         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28234         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28235         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28236         macros for using routine as __sincosf_ia32.
28237         Use macro for function declaration and weak_alias.
28238         * sysdeps/i386/fpu/libm-test-ulps: Update.
28239
28240         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28241         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28242
28243         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28244         subnormal argument.
28245         * math/s_cexpf.c (__cexpf): Likewise.
28246         * math/s_csinf.c (__csinf): Likewise.
28247         * math/s_csinhf.c (__csinhf): Likewise.
28248         * math/s_ctanf.c (__ctanf): Likewise.
28249         * math/s_ctanhf.c (__ctanhf): Likewise.
28250         * math/s_ccosh.c (__ccoshf): Likewise.
28251         * math/s_cexp.c (__cexpl): Likewise.
28252         * math/s_csin.c (__csin): Likewise.
28253         * math/s_csinh.c (__csinh): Likewise.
28254         * math/s_ctan.c (__ctan): Likewise.
28255         * math/s_ctanh.c (ctanh): Likewise.
28256         * math/s_ccoshl.c (__ccoshl): Likewise.
28257         * math/s_cexpl.c (__cexpl): Likewise.
28258         * math/s_csinl.c (__csinl): Likewise.
28259         * math/s_csinhl.c (__csinhl): Likewise.
28260         * math/s_ctanl.c (__ctanl): Likewise.
28261         * math/s_ctanhl.c (__ctanhl): Likewise.
28262
28263 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28264
28265         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28266         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28267         (_IO_off_t): Define to __off_t, not _G_off_t.
28268         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28269         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28270         (_IO_wint_t): Define to wint_t, not _G_wint_t.
28271         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28272         type of __dummy and __dummy2 fields.
28273         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28274         (_G_ssize_t): Likewise.
28275         (_G_off_t): Likewise.
28276         (_G_pid_t): Likewise.
28277         (_G_uid_t): Likewise.
28278         (_G_wchar_t): Likewise.
28279         (_G_wint_t): Likewise.
28280         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28281         (_G_ssize_t): Likewise.
28282         (_G_off_t): Likewise.
28283         (_G_pid_t): Likewise.
28284         (_G_uid_t): Likewise.
28285         (_G_wchar_t): Likewise.
28286         (_G_wint_t): Likewise.
28287         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28288         (_G_ssize_t): Likewise.
28289         (_G_off_t): Likewise.
28290         (_G_pid_t): Likewise.
28291         (_G_uid_t): Likewise.
28292         (_G_wchar_t): Likewise.
28293         (_G_wint_t): Likewise.
28294
28295 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28296
28297         * malloc/arena.c: Include malloc-sysdep.h.
28298         (shrink_heap): Use check_may_shrink_heap to decide if madvise
28299         is sufficient to shrink the heap or an unmap is needed.
28300         * sysdeps/generic/malloc-sysdep.h: New file.  Define
28301         new function check_may_shrink_heap.
28302         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
28303         new function check_may_shrink_heap.
28304
28305 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28306
28307         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28308         comments.
28309
28310 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
28311
28312         * catgets/test-gencat.sh: Add "set -e".
28313         * elf/tst-pathopt.sh: Likewise.
28314         * grp/tst_fgetgrent.sh: Likewise.
28315         * iconvdata/run-iconv-test.sh: Likewise.
28316         * intl/tst-gettext.sh: Likewise.
28317         * intl/tst-gettext2.sh: Likewise.
28318         * intl/tst-gettext4.sh: Likewise.
28319         * intl/tst-gettext6.sh: Likewise.
28320         * intl/tst-translit.sh: Likewise.
28321         * io/ftwtest-sh: Likewise.
28322         * libio/test-freopen.sh: Likewise.
28323         * malloc/tst-mtrace.sh: Likewise.
28324         * posix/globtest.sh: Likewise.
28325         * posix/tst-getconf.sh: Likewise.
28326         * posix/wordexp-tst.sh: Likewise.
28327         * stdio-common/tst-printf.sh: Likewise.
28328         * stdio-common/tst-unbputc.sh: Likewise.
28329         * stdlib/tst-fmtmsg.sh: Likewise.
28330         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28331         * catgets/Makefile: Do not specify -e option when running
28332         testsuite shell scripts.
28333         * elf/Makefile: Likewise.
28334         * grp/Makefile: Likewise.
28335         * iconvdata/Makefile: Likewise.
28336         * intl/Makefile: Likewise.
28337         * io/Makefile: Likewise.
28338         * libio/Makefile: Likewise.
28339         * malloc/Makefile: Likewise.
28340         * posix/Makefile: Likewise.
28341         * stdio-common/Makefile: Likewise.
28342         * stdlib/Makefile: Likewise.
28343         * sysdeps/x86_64/Makefile: Likewise.
28344
28345         * io/ftwtest-sh: Add copyright header.
28346         * posix/globtest.sh: Likewise.
28347         * posix/tst-getconf.sh: Likewise.
28348         * posix/wordexp-tst.sh: Likewise.
28349         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28350
28351 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
28352
28353         [BZ #13679]
28354         * Makeconfig (+link): Defined as $(+link-static) if
28355         $(build-shared) isn't yes.
28356         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28357         isn't yes.
28358         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28359
28360         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28361
28362         [BZ #14562]
28363         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28364         new chunk size with MALLOC_ALIGN_MASK.
28365
28366 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
28367
28368         [BZ #5044]
28369         * stdio-common/printf_fphex.c: Include <stdbool.h> and
28370         <rounding-mode.h>.
28371         (__printf_fphex): Determine rounding using get_rounding_mode and
28372         round_away.
28373         * stdio-common/tst-printf-round.c (struct hex_test): New
28374         structure.
28375         (hex_tests): New variable.
28376         (test_hex_in_one_mode): New function.
28377         (do_test): Also run tests for hex float output.
28378
28379 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
28380
28381         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28382         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28383         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28384         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28385         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28386         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28387         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28388         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28389
28390 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
28391
28392         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28393         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28394         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28395         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28396
28397 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
28398
28399         [BZ #14579]
28400         * elf/rtld.c (dl_main): Limit the check for self loading to normal
28401         mode only.
28402         * elf/tst-rtld-load-self.sh: New test.
28403         * elf/Makefile: Run it.
28404
28405 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
28406
28407         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28408         (tst-writev-ENV): Remove.
28409         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28410
28411 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
28412
28413         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28414
28415 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
28416
28417         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28418         unconditional.
28419         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28420         Likewise.
28421         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28422         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28423         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28424         Likewise.
28425
28426 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
28427
28428         [BZ #14587]
28429         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28430         * config.make.in (have-cpp-asm-debuginfo): Removed.
28431         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28432         * configure: Regenerated.
28433
28434 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
28435
28436         [BZ #5044]
28437         * stdio-common/printf_fp.c: Include <stdbool.h> and
28438         <rounding-mode.h>.
28439         (___printf_fp): Determine rounding using get_rounding_mode and
28440         round_away.
28441         * stdio-common/tst-printf-round.c: New file.
28442         * stdio-common/Makefile (tests): Add tst-printf-round.
28443         (link-libm): New variable.
28444         ($(objpfx)tst-printf-round): Depend in $(link-libm).
28445
28446 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
28447
28448         [BZ #14576]
28449         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28450         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28451         Likewise.
28452         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28453         Likewise.
28454
28455 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
28456
28457         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28458         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28459         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28460         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28461
28462 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
28463
28464         [BZ #14518]
28465         * include/rounding-mode.h: New file.
28466         * sysdeps/generic/get-rounding-mode.h: Likewise.
28467         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28468         * stdlib/strtod_l.c: Include <rounding-mode.h>.
28469         (MAX_VALUE): New macro.
28470         (MIN_VALUE): Likewise.
28471         (overflow_value): New function.
28472         (underflow_value): Likewise.
28473         (round_and_return): Use overflow_value and underflow_value to
28474         determine return values in overflow and underflow cases.  Use
28475         round_away to determine rounding depending on rounding mode.
28476         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28477         determine return values in overflow and underflow cases.
28478         * stdlib/tst-strtod-round.c: Include <fenv.h>.
28479         (struct test_results): New structure.
28480         (struct test): Use struct test_results to store expected results
28481         for all rounding modes.
28482         (TEST): Include expected results for all rounding modes.
28483         (test_in_one_mode): New function.
28484         (do_test): Use test_in_one_mode to compute and check results.
28485         Check results for all rounding modes.
28486         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28487         $(link-libm).
28488
28489 2012-12-09  Allan McRae  <allan@archlinux.org>
28490
28491         * sysdeps/i386/fpu/libm-test-ulps: Update
28492
28493 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
28494
28495         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28496         (_G_int32_t): Likewise.
28497         (_G_uint16_t): Likewise.
28498         (_G_uint32_t): Likewise.
28499         (_G_HAVE_BOOL): Likewise.
28500         (_G_HAVE_ATEXIT): Likewise.
28501         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28502         (_G_HAVE_IO_FILE_OPEN): Likewise.
28503         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28504         (_G_int32_t): Likewise.
28505         (_G_uint16_t): Likewise.
28506         (_G_uint32_t): Likewise.
28507         (_G_HAVE_BOOL): Likewise.
28508         (_G_HAVE_ATEXIT): Likewise.
28509         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28510         (_G_HAVE_IO_FILE_OPEN): Likewise.
28511         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28512         (_G_int32_t): Likewise.
28513         (_G_uint16_t): Likewise.
28514         (_G_uint32_t): Likewise.
28515         (_G_HAVE_BOOL): Likewise.
28516         (_G_HAVE_ATEXIT): Likewise.
28517         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28518         (_G_HAVE_IO_FILE_OPEN): Likewise.
28519
28520 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
28521
28522         * csu/libc-tls.c: Update copyright years.
28523
28524 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
28525
28526         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28527         [!_G_USING_THUNKS]: Remove conditional code.
28528         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28529         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28530
28531         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28532         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28533         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28534         (_G_VTABLE_LABEL_PREFIX): Likewise.
28535         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28536         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28537         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28538         (_G_VTABLE_LABEL_PREFIX): Likewise.
28539         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28540         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28541         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28542         (_G_VTABLE_LABEL_PREFIX): Likewise.
28543         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28544
28545 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
28546
28547         * libio/Makefile: Include ../Makeconfig before tests.
28548         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28549         only if $(build-shared) is yes.
28550
28551         * iconv/gconv_db.c: Update copyright years.
28552
28553 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28554
28555         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28556         unwind info if defined PIC. Fix special cases description.
28557         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28558
28559         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28560         DP_HI_MASK entry.
28561         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28562
28563 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
28564
28565         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28566
28567         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28568         is NULL.
28569
28570         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28571         (LDLIBS-tst-chk4): This.
28572         (LDFLAGS-tst-chk5): Renamed to ...
28573         (LDLIBS-tst-chk5): This.
28574         (LDFLAGS-tst-chk6): Renamed to ...
28575         (LDLIBS-tst-chk6): This.
28576         (LDFLAGS-tst-lfschk4): Renamed to ...
28577         (LDLIBS-tst-lfschk4): This.
28578         (LDFLAGS-tst-lfschk5): Renamed to ...
28579         (LDLIBS-tst-lfschk5): This.
28580         (LDFLAGS-tst-lfschk6): Renamed to ...
28581         (LDLIBS-tst-lfschk6): This.
28582
28583         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28584         on $(common-objpfx)soversions.mk.
28585
28586 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
28587
28588         [BZ #10014]
28589         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28590         example host name.
28591
28592 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28593
28594         * malloc/arena.c (arena_get_retry): New function that gets
28595         another arena for the caller to try its request on.
28596         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28597         current arena cannot fulfill the request.
28598         (__libc_memalign): Likewise.
28599         (__libc_memalign): Likewise.
28600         (__libc_pvalloc): Likewise.
28601         (__libc_calloc): Likewise.
28602
28603 2012-09-05  John Tobey  <john.tobey@gmail.com>
28604
28605         [BZ #13542]
28606         * manual/arith.texi (Operations on Complex): Fix description
28607         of carg branch cut.
28608
28609 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28610
28611         [BZ #10014]
28612         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28613         host name.
28614
28615         [BZ #10038]
28616         * manual/memory.texi (Memory): Make order of menu items match
28617         order of sections.
28618
28619 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28620
28621         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28622         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
28623         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28624
28625 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28626
28627         * csu/libc-tls.c (static_dtv): Renamed to ...
28628         (_dl_static_dtv): This.  Make it global.
28629         (_dl_initial_dtv): Removed.
28630         (__libc_setup_tls): Updated.
28631         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28632         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28633         DL_INITIAL_DTV.
28634
28635 2012-09-06  Petr Machata  <pmachata@redhat.com>
28636
28637         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28638         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28639         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28640         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28641
28642 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28643
28644         [BZ #14545]
28645         * csu/libc-tls.c (_dl_initial_dtv): New variable.
28646         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28647         freeing dtv[-1].
28648
28649 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28650
28651         [BZ #14544]
28652         * Makeconfig (link-static-before-libc): Replace $(+prector)
28653         with $(+prectorT).
28654         (link-static-after-libc): Replace $(+postctor) with
28655         $(+postctorT).
28656         (link-bounded): Replace $(+prector)/$(+postctor) with
28657         $(+prectorT)/$(+postctorT).
28658         (+prectorT): New macro.
28659         (+postctorT): Likewise.
28660
28661 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28662
28663         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28664         (round_str): Handle values above the maximum for IBM long double
28665         as inexact.
28666         * stdlib/tst-strtod-round.c (tests): Regenerated.
28667
28668 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28669
28670         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28671         assembler flag.
28672         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28673         zarch_nohighgprs around the zarch optimized routines.
28674         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28675         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28676         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28677         for zarch.
28678
28679 2012-09-05  David S. Miller  <davem@davemloft.net>
28680
28681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28682
28683         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28684         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28685         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28686         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28687         entries.
28688
28689 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28690
28691         * malloc/arena.c: Fold copyright years.
28692         * malloc/mcheck.c, malloc/memusage.c: Likewise.
28693
28694 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28695
28696         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28697
28698 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28699
28700         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
28701
28702 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28703
28704         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28705         change internal state upon failure.
28706
28707 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28708
28709         * malloc/mcheck.c (mcheck_check_all): Fix typo.
28710         * malloc/memusage.c (mmap): Likewise.
28711         (mmap64, mremap): Likewise.  Adjust name in comment.
28712
28713 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28714
28715         * libio/fileops.c: Fix typos in comments.
28716         * libio/oldfileops.c: Likewise.
28717         * libio/wfileops.c: Likewise.
28718
28719 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28720
28721         [BZ #1349]
28722         * malloc/Makefile (tests): Add tst-malloc-usable test case.
28723         (tst-malloc-usable-ENV): Set environment for test case.
28724         * malloc/hooks.c (malloc_check_get_size): New function to get
28725         requested size.
28726         * malloc/malloc.c (musable): Use malloc_check_get_size.
28727         * malloc/tst-malloc-usable.c: New test case.
28728
28729 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28730
28731         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28732
28733 2012-09-05  Allan McRae  <allan@archlinux.org>
28734
28735         [BZ #13966]
28736         * configure.in (CXX_SYSINCLUDES): Use compiler output to
28737         determine header location.
28738         * configure: Regenerated.
28739
28740 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28741
28742         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28743         float format.
28744         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28745         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28746         format.
28747         (test): Regenerate.
28748
28749 2012-09-04  David S. Miller  <davem@davemloft.net>
28750
28751         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28752         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28753         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28754
28755 2012-09-04  Florian Weimer  <fweimer@redhat.com>
28756
28757         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28758         failures.
28759
28760         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28761
28762 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
28763
28764         [BZ #9914]
28765         * libio/iogetdelim.c: Include <limits.h>.
28766         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28767         + len + 1 would overflow.
28768
28769 2012-09-03  Andreas Jaeger  <aj@suse.de>
28770
28771         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28772         * sysdeps/i386/fpu/libm-test-ulps: Update.
28773
28774 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28775
28776         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28777         Add s_sinf-sse2, s_conf-sse2.
28778
28779         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28780         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28781         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28782         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28783
28784         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28785         for using routine as __sinf_ia32.
28786         Use macro for function declaration and weak_alias.
28787         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28788         for using routine as __cosf_ia32.
28789         Use macro for function declaration and weak_alias.
28790
28791         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28792         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28793
28794         * sysdeps/x86_64/fpu/s_sinf.S: New file.
28795         * sysdeps/x86_64/fpu/s_cosf.S: New file.
28796         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28797
28798         * math/libm-test.inc (cos_test): Add more test cases.
28799         (sin_test): Likewise.
28800         (sincos_test): Likewise.
28801
28802 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28803
28804         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28805         (IFUNC_RESOLVE): Make pointers to the specialized implementations
28806         hidden.
28807         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28808
28809 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
28810
28811         [BZ #14538]
28812         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28813         first element of the GOT.
28814         (elf_machine_load_address): Return the difference between
28815         the runtime address of _DYNAMIC and elf_machine_dynamic ().
28816
28817 2012-09-01  Allan McRae  <allan@archlinux.org>
28818
28819         [BZ #13412]
28820         * configure.in (AWK): Require gawk version 3.0 or later.
28821         * configure: Regenerated.
28822
28823 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
28824
28825         * sysdeps/unix/sysv/linux/kernel-features.h
28826         (__ASSUME_POSIX_CPU_TIMERS): Remove.
28827         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28828         [__NR_clock_getres]: Make code unconditional.
28829         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28830         (clock_getcpuclockid): Remove code left unreachable by removal of
28831         conditionals.
28832         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28833         code unconditional.
28834         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28835         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28836         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28837         Make code unconditional.
28838         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28839         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28840         * sysdeps/unix/sysv/linux/clock_settime.c
28841         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28842         conditional code.
28843         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28844         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28845
28846 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
28847
28848         [BZ #14476]
28849         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28850         scripts/test-installation.pl.
28851
28852         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28853         and $ld_so_version if it is set.
28854
28855 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28856
28857         [BZ #14516]
28858         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28859         failure if reading from procfs failed.
28860         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28861
28862 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
28863
28864         * sysdeps/unix/sysv/linux/kernel-features.h
28865         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28866         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28867         Remove conditional code.
28868         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28869         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28870         Remove conditional code.
28871         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28872         * sysdeps/unix/sysv/linux/i386/fxstat.c
28873         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28874         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28875         * sysdeps/unix/sysv/linux/i386/fxstatat.c
28876         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28877         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28878         * sysdeps/unix/sysv/linux/i386/lxstat.c
28879         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28880         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28881         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28882         Remove conditional code.
28883         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28884         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28885         Remove conditional code.
28886         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28887         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28888         <kernel-features.h>.
28889         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28890         Remove.
28891         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28892         Remove conditional code.
28893         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28894         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28895         Remove conditional.
28896
28897 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
28898
28899         [BZ #5400]
28900         * NEWS: Add fixed bug number.
28901
28902 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
28903
28904         [BZ #14519]
28905         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28906         underflowing exponent in case of negative sign.
28907         * stdlib/tst-strtod-round-data: Add more tests.
28908         * stdlib/tst-strtod-round.c (tests): Regenerated.
28909
28910         [BZ #3479]
28911         * stdlib/strtod_l.c (NDIG): Remove.
28912         (HEXNDIG): Likewise.
28913         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28914         smallest representable value.
28915         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28916         lie within an exact representation of 1/2 ulp of the result.
28917         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28918         unconditionally.
28919         (TENS_P9_IDX): Define unconditionally.
28920         (TENS_P9_SIZE): Likewise.
28921         (TENS_P10_IDX): Likewise.
28922         (TENS_P10_SIZE): Likewise.
28923         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28924         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28925         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28926         entries for 10^2^13 and 10^2^14.
28927         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28928         (TENS_P13_IDX): Define.
28929         (TENS_P13_SIZE): Likewise.
28930         (TENS_P14_IDX): Likewise.
28931         (TENS_P14_SIZE): Likewise.
28932         (_fpioconst_pow10): Change array size to
28933         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
28934         unconditional.
28935         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28936         1024]: Add entries for 10^2^13 and 10^2^14.
28937         [LAST_POW10 > _LAST_POW10]: Remove #error.
28938         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28939         (_fpioconst_pow10): Change array size to
28940         FPIOCONST_POW10_ARRAY_SIZE.
28941         * stdlib/gen-fpioconst.c: New file.
28942         * stdlib/gen-tst-strtod-round.c: Likewise.
28943         * stdlib/tst-strtod-round-data: Likewise.
28944         * stdlib/tst-strtod-round.c: Likewise.
28945         * stdlib/Makefile (tests): Add tst-strtod-round.
28946
28947         [BZ #14459]
28948         * stdlib/strtod_l.c: Include <stdint.h>.
28949         (NDEBUG): Do not define.
28950         (round_and_return): Change EXPONENT parameter to type intmax_t.
28951         Rearrange calculations to avoid internal overflow possibilities.
28952         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28953         Rearrange calculations to avoid internal overflow possibilities.
28954         Assert that number fits inside MPNSIZE limbs.
28955         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28956         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
28957         calculations and add assertions to avoid internal overflow
28958         possibilities.  Add casts to avoid signed/unsigned operations.
28959         * stdlib/tst-strtod-overflow.c: New file.
28960         * stdlib/Makefile (tests): Add tst-strtod-overflow.
28961
28962 2012-08-25  Marek Polacek  <polacek@redhat.com>
28963
28964         * time/time.h: Fix some typos in comments.
28965
28966 2012-08-23  Roland McGrath  <roland@hack.frob.com>
28967
28968         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28969         * posix/tst-rfc3484-2.c: Likewise.
28970         * posix/tst-rfc3484-3.c: Likewise.
28971
28972 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
28973
28974         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28975         (EF_ARM_ABI_FLOAT_HARD): Likewise.
28976
28977 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
28978
28979         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28980         #include of fxstatat64.c.
28981
28982 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28983
28984         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28985         * shadow/getspent_r.c: Likewise.
28986         * shadow/getspnam.c: Likewise.
28987         * shadow/getspnam_r.c: Likewise.
28988         * gshadow/getsgent.c: Likewise.
28989         * gshadow/getsgent_r.c: Likewise.
28990         * gshadow/getsgnam.c: Likewise.
28991         * gshadow/getsgnam_r.c: Likewise.
28992         * inet/getnetbyad.c: Likewise.
28993         * inet/getnetbyad_r.c: Likewise.
28994         * inet/getnetbynm.c: Likewise.
28995         * inet/getnetbynm_r.c: Likewise.
28996         * inet/getnetent.c: Likewise.
28997         * inet/getnetent_r.c: Likewise.
28998         * inet/getproto.c: Likewise.
28999         * inet/getproto_r.c: Likewise.
29000         * inet/getprtent.c: Likewise.
29001         * inet/getprtent_r.c: Likewise.
29002         * inet/getprtname.c: Likewise.
29003         * inet/getprtname_r.c: Likewise.
29004         * inet/getrpcbyname.c: Likewise.
29005         * inet/getrpcbyname_r.c: Likewise.
29006         * inet/getrpcbynumber.c: Likewise.
29007         * inet/getrpcbynumber_r.c: Likewise.
29008         * inet/getrpcent.c: Likewise.
29009         * inet/getrpcent_r.c: Likewise.
29010         * inet/getaliasent.c: Likewise.
29011         * inet/getaliasent_r.c: Likewise.
29012         * inet/getaliasname.c: Likewise.
29013         * inet/getaliasname_r.c: Likewise.
29014         * nscd/getgrgid_r.c: Likewise.
29015         * nscd/getgrnam_r.c: Likewise.
29016         * nscd/gethstbyad_r.c: Likewise.
29017         * nscd/gethstbynm3_r.c: Likewise.
29018         * nscd/getpwnam_r.c: Likewise.
29019         * nscd/getpwuid_r.c: Likewise.
29020         * nscd/getsrvbynm_r.c: Likewise.
29021         * nscd/getsrvbypt_r.c: Likewise.
29022         * nscd/gai.c: Likewise.
29023
29024         * configure.in (build_nscd): New substituted variable, set
29025         by --disable-build-nscd and defaults to $use_nscd.
29026         * configure: Regenerated.
29027         * config.make.in (build-nscd): New substituted variable.
29028         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29029         Change conditional to require [$(build-nscd) = yes] as well.
29030         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29031
29032         [BZ# 13696]
29033         * configure.in (use_nscd): New substituted variable, set by
29034         --disable-nscd.  If enabled, define USE_NSCD.
29035         * configure: Regenerated.
29036         * config.h.in: Add USE_NSCD.
29037         * config.make.in (use-nscd): New substituted variable.
29038         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29039         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29040         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29041         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29042         (CFLAGS-getgrnam_r.c): Likewise.
29043         (CFLAGS-initgroups.c): Likewise.
29044         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29045         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29046         Variables removed.
29047         * inet/getnetgrent_r.c
29048         (nscd_setnetgrent): New function, broken out of ...
29049         (setnetgrent): ... here.  Call it.
29050         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29051         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29052         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29053         * nscd/Makefile (routines, aux): Move definitions after include of
29054         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29055         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29056         Conditionalize on [USE_NSCD].
29057         (is_nscd, nscd_init_cb): Likewise.
29058         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29059         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29060         * nss/nss_db/db-init.c: Likewise.
29061         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29062         [USE_NSCD].
29063         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29064         (make_request): Use it.
29065         (cache_valid_p): New function.
29066         (__check_pf): Use it.
29067         * NEWS: Add item for --disable-nscd.
29068
29069 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29070
29071         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29072         to support sed >= 4.2.1-20-ga9bf076.
29073         * configure: Regenerated.
29074
29075 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29076
29077         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29078         Conditionalize whole body on [IREL].
29079
29080 2012-08-22  Jeff Law <law@redhat.com>
29081
29082         [BZ #14505]
29083         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29084         if the family is PF_UNSPEC.
29085
29086 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29087
29088         * Makerules (lib-version): Rename from V.
29089         (install-lib-nosubdir): Change V to lib-version.
29090
29091 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29092
29093         [BZ #14252]
29094         * powerpc32/power6/wcschr.c: New file.
29095         * powerpc32/power6/wcscpy.c: New file.
29096         * powerpc32/power6/wcsrchr.c: New file.
29097         * powerpc64/power6/wcschr.c: New file.
29098         * powerpc64/power6/wcscpy.c: New file.
29099         * powerpc64/power6/wcsrchr.c: New file.
29100
29101 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29102
29103         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29104         (two_way_short_needle): Use it.
29105         * string/strstr.c (AVAILABLE1_USES_J): Define.
29106         * string/strcasestr.c: Likewise.
29107
29108         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29109         array references.
29110         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29111
29112         [BZ #11607]
29113         * NEWS: Add an entry.
29114         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29115         define their defaults.
29116         (two_way_short_needle): Detect end-of-string on-the-fly.
29117         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29118         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29119         * string/bug-strcasestr1.c: New test.
29120         * string/Makefile: Run it.
29121
29122 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29123
29124         [BZ #11607]
29125         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29126         the first character.
29127
29128 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29129
29130         * csu/elf-init.c (__libc_csu_irel): Function removed.
29131         * csu/libc-start.c (apply_irel): New function.
29132         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29133
29134 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29135
29136         * sysdeps/unix/sysv/linux/kernel-features.h
29137         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29138         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29139         <kernel-features.h>.
29140         [__NR_fadvise64_64]: Make code unconditional.
29141         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29142         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29143         !__NR_fadvise64_64)]: Likewise.
29144         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29145         !__NR_fadvise64_64))]: Likewise.
29146         [__NR_fadvise64]: Make code unconditional.
29147         [!__NR_fadvise64]: Remove conditional code.
29148         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29149         <kernel-features.h>.
29150         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29151         unconditional.
29152         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29153         conditional code.
29154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29155         not include <kernel-features.h>.
29156         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29157         unconditional.
29158         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29159         conditional code.
29160         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29161         include <kernel-features.h>.
29162         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29163         unconditional.
29164         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29165         conditional code.
29166
29167 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29168
29169         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29170         slight instruction rearrangements per scrollpipe analysis.
29171         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29172
29173 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29174
29175         * manual/syslog.texi (syslog; vsyslog, closelog):
29176         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29177         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29178
29179         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29180         DSOCAPS to match condition on defining it.
29181
29182 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29183
29184         * sysdeps/unix/sysv/linux/kernel-features.h
29185         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29187         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29188         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29190         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29191         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29193         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29194         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29195
29196         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29197         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29198
29199         * sysdeps/unix/sysv/linux/kernel-features.h
29200         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29201         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29202         unconditional.
29203         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29204         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29205         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29206         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29207         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29208         Make code unconditional.
29209         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29210         (__mmap64) [!__NR_mmap2]: Likewise.
29211         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29212         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29213         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29214         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29215         [__NR_mmap2]: Make code unconditional.
29216         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29217         (__mmap64) [!__NR_mmap2]: Likewise.
29218
29219 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29220
29221         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29222
29223 2012-08-18  Andreas Jaeger  <aj@suse.de>
29224
29225         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29226
29227 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29228
29229         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29230         * include/unistd.h (__have_sock_cloexec): Likewise.
29231         (__have_pipe2): Likewise.
29232         (__have_dup3): Likewise.
29233
29234 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29235
29236         [BZ #9685]
29237         * include/unistd.h (__have_pipe2): Change define into an extern int.
29238         (__have_dup3): Likewise.
29239         * socket/have_sock_cloexec.c: Include fcntl.h.
29240         (__have_pipe2): New variable.
29241         (__have_dup3): Likewise.
29242
29243 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29244
29245         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29246
29247 2012-08-17  Marek Polacek  <polacek@redhat.com>
29248
29249         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29250         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29251
29252 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29253
29254         * configure.in: Add AC_SUBST for sysheaders.
29255         * configure: Regenerated.
29256         * config.make.in (sysheaders): New substituted variable.
29257
29258         * sysdeps/unix/mkfifo.c: Moved ...
29259         * sysdeps/posix/mkfifo.c: ... here.
29260         * sysdeps/unix/mkfifoat.c: Moved ...
29261         * sysdeps/posix/mkfifoat.c: ... here.
29262
29263         * sysdeps/unix/utime.c: Moved ...
29264         * sysdeps/posix/utime.c: ... here.
29265
29266         * sysdeps/unix/time.c: Moved ...
29267         * sysdeps/posix/time.c: ... here.
29268         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29269         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29270
29271         * sysdeps/unix/nice.c: Moved ...
29272         * sysdeps/posix/nice.c: ... here.
29273
29274         * sysdeps/unix/alarm.c: Moved ...
29275         * sysdeps/posix/alarm.c: ... here.
29276
29277         * intl/Makefile ($(codeset_mo)): Depend on the input file.
29278
29279 2012-08-17  Jeff Law <law@redhat.com>
29280
29281         * intl/Makefile (codeset_mo): New variable.
29282         ($(codeset_mo)): New target.
29283         (tst-codeset.out): Depend on that.  Remove explicit rule.
29284         (tst-gettext3.out, tst-gettext5.out): Likewise.
29285         (LOCPATH-ENV, tst-codeset-ENV): New variables.
29286         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29287         * intl/tst-codeset.sh: Remove.
29288         * intl/tst-gettext3.sh: Likewise.
29289         * intl/tst-gettext5.sh: Likewise.
29290
29291 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29292
29293         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
29294         * sysdeps/unix/syscalls.list: ... here.
29295
29296         * sysdeps/posix/getaddrinfo.c
29297         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29298         (gaiconf_init, gaiconf_reload): Use them.
29299         [!_STATBUF_ST_NSEC]
29300         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29301         Define using time_t rather than struct timespec.
29302
29303         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29304         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29305         Macros removed.
29306         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29307         [!NO_THREADS].
29308         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29309         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29310         Likewise.
29311
29312         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29313         __libc_cleanup_push argument.
29314
29315         * bits/param.h: New file.
29316         * misc/sys/param.h: New file.
29317         * include/sys/param.h: New file.
29318         * misc/Makefile (headers): Add bits/param.h.
29319         * sysdeps/generic/sys/param.h: File removed.
29320         * sysdeps/unix/sysv/linux/bits/param.h: New file.
29321         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29322         * sysdeps/mach/hurd/bits/param.h: New file.
29323         * sysdeps/mach/hurd/sys/param.h: File removed.
29324
29325         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29326         last change.
29327
29328         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29329         [_IO_MTSAFE_IO].
29330         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29331         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29332         New macros.
29333
29334         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29335         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29336         rather than -D_IO_MTSAFE_IO conditionally.
29337         * stdio-common/Makefile (CPPFLAGS): Likewise.
29338         * wcsmbs/Makefile (CPPFLAGS): Likewise.
29339         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29340         Use $(libio-mtsafe).
29341         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29342         of -D_IO_MTSAFE_IO.
29343         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29344         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29345         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29346         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29347         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29348         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29349         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29350         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29351         (CFLAGS-fread_u_chk.c): Likewise.
29352         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29353         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29354         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29355         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29356         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29357         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29358         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29359         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29360         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29361
29362         * libio/Makefile: Test [$(libc-reentrant) = yes]
29363         instead of [$(filter %REENTRANT, $(defines)) nonempty].
29364
29365         * Makeconfig
29366         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29367         * sysdeps/pthread/configure: File removed.
29368         * sysdeps/pthread/Makeconfig: New file.
29369         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29370         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29371
29372 2012-08-16  Gary Benson  <gbenson@redhat.com>
29373
29374         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29375         unmapping the first object in a namespace.
29376
29377 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29378
29379         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29380         (__internal_setnetgrent): ... this.  Add internal_function to
29381         definition.  Add libc_hidden_def.
29382         (setnetgrent): Update caller.
29383         (internal_endnetgrent): Renamed to ...
29384         (__internal_endnetgrent): ... this.  Add internal_function to
29385         definition.  Add libc_hidden_def.
29386         (endnetgrent): Update caller.
29387         (internal_getnetgrent_r): Renamed to ...
29388         (__internal_getnetgrent_r): ... this.  Add internal_function to
29389         definition.  Add libc_hidden_def.
29390         (__getnetgrent_r): Update caller.
29391         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
29392
29393 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29394
29395         * stdlib/longlong.h: Update from GCC.
29396
29397 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29398
29399         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29400         on _QL, which is set by umul_ppmm but never used.
29401         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29402         variables, which are set by GMP macros but never used.
29403         * stdio-common/_itowa.c (_itowa): Likewise.
29404         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29405         * stdlib/mod_1.c (mpn_mod_1): Likewise.
29406
29407 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
29408
29409         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29410         struct La_sh_regs is not constant.
29411         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29412         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29413         and struct La_sparc64_regs are not constant.
29414
29415 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29416
29417         * sysdeps/unix/sysv/linux/kernel-features.h
29418         (__ASSUME_POSIX_TIMERS): Remove.
29419         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29420         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29421         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29422         Make code unconditional.
29423         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29424         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29425         Make code unconditional.
29426         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29427         * sysdeps/unix/sysv/linux/clock_nanosleep.c
29428         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29429         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29430         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29431         Make code unconditional.
29432         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29433         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29434         (__libc_missing_posix_timers): Remove.
29435
29436 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29437
29438         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29439         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29440
29441         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29442
29443         * elf/dl-sym.c: Include <stdlib.h>.
29444
29445         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29446         constants, which avoids warnings in 32-bit builds.
29447
29448         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29449         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29450
29451         * misc/lseek.c: File moved to ...
29452         * io/lseek.c: ... here.
29453
29454         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29455
29456         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29457         shifting LEN more than 31 bits at once.
29458
29459 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29460
29461         [BZ #14195]
29462         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29463         segmentation fault for a case of two empty input strings.
29464         * string/test-strncasecmp.c (check1): Renamed to...
29465         (bz12205): ...this.
29466         (bz14195): Add new testcase for two empty input strings and N > 0.
29467         (test_main): Call new testcase, adapt for renamed function.
29468
29469 2012-08-15  Andreas Jaeger  <aj@suse.de>
29470
29471         [BZ #14090]
29472         * crypt/md5test2.c: New test, based on test supplied by Serge
29473         Belyshev <belyshev@depni.sinp.msu.ru>.
29474         * crypt/Makefile (xtests): Add md5test-giant..
29475         * crypt/Makefile ($(objpfx)md5test-giant): Add.
29476
29477 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
29478
29479         [BZ #14090]
29480         * crypt/md5.c (md5_process_block): Don't assume the buffer
29481         length is less than 2**32.
29482         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29483         length is less than 2**64.
29484
29485 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29486
29487         * string/str-two-way.h: Include <sys/param.h>.
29488         (MAX): Macro removed.
29489
29490         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29491         Move #define and #undef of memmove to just before and after
29492         including <string.h>.
29493
29494         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29495         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29496         and after including <string.h>.  Move declarations of
29497         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29498         to before #include "string/memmove.c".
29499
29500         * include/dirent.h: Declare __getdirentries.
29501
29502         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29503         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29504
29505 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
29506
29507         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29508         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29509         * sysdeps/i386/configure: Regenerated.
29510         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29511         STABS_CURRENT_FILE, and STABS_FUN.
29512         (END): Remove call to STABS_FUN_END.
29513         (STABS_CURRENT_FILE1): Delete.
29514         (STABS_CURRENT_FILE): Likewise.
29515         (STABS_FUN): Likewise.
29516         (STABS_FUN_END): Likewise.
29517         (STABS_FUN2): Likewise.
29518         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29519         * sysdeps/x86_64/configure: Regenerated.
29520
29521 2012-08-14  Roland McGrath  <roland@hack.frob.com>
29522
29523         * elf/dl-open.c: Include <atomic.h>.
29524         * elf/dl-lookup.c: Likewise.
29525
29526 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
29527
29528         * sysdeps/unix/sysv/linux/kernel-features.h
29529         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29530         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29531         unconditionally.
29532         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29533         unconditionally.
29534         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29535         condition on __ASSUME_CLONE_THREAD_FLAGS.
29536
29537 2012-08-14  Andreas Jaeger  <aj@suse.de>
29538
29539         * sysdeps/i386/fpu/libm-test-ulps: Update.
29540
29541 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
29542
29543         * include/atomic.h (atomic_exchange_and_add): Split into ...
29544         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29545         New atomic macros.
29546
29547 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
29548
29549         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29550
29551 2012-08-13  Jeff Law <law@redhat.com>
29552
29553         * manual/stdio.texi (snprintf): Clarify handling of the trailing
29554         null byte in the output string.
29555
29556 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
29557
29558         * sysdeps/unix/sysv/linux/kernel-features.h
29559         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29560         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29561         (__ASSUME_ARG_MAX_STACK_BASED): Define.
29562         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29563         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29564         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
29565         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29566
29567 2012-08-09  Jeff Law <law@redhat.com>
29568
29569         [BZ #13939]
29570         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29571         When avoid_arena is set, don't retry in the that arena.  Pick the
29572         next one, whatever it might be.
29573         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29574         (arena_lock): Pass in new parameter to arena_get2.
29575         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29576         arena_get2.
29577         (__libc_malloc): Unify retrying after main arena failure with
29578         __libc_memalign version.
29579         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29580
29581 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29582
29583         [BZ #14166]
29584         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29585         to __redirect_strstr.
29586         (__strstr_sse42): Use typeof __redirect_strstr.
29587         (__strstr_ia32): Likewise.
29588         (__libc_strstr): New prototype.
29589         (strstr): Renamed to ...
29590         (__libc_strstr): This.
29591         (strstr): New strong alias of __libc_strstr.
29592         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29593         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29594         __redirect_time.
29595         Include <time.h>.
29596         (__libc_time): New prototype.
29597         (time_ifunc): Replace time with __libc_time.
29598         (time): New strong alias and hidden definition of __libc_time.
29599         (__GI_time): Remove strong alias.
29600         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29601         Include <stddef.h>.
29602         (memmove): Redefined to __redirect_memmove.
29603         (__memmove_sse2): Use typeof __redirect_memmove.
29604         (__memmove_ssse3): Likewise.
29605         (__memmove_ssse3_back): Likewise.
29606         (__libc_memmove): New prototype.
29607         (memmove): Renamed to ...
29608         (__libc_memmove): This.
29609         (memmove): New strong alias of __libc_memmove.
29610
29611 2012-08-08  Mark Salter  <msalter@redhat.com>
29612
29613         * elf/elf.h
29614         (R_MN10300_TLS_GD): Define.
29615         (R_MN10300_TLS_LD): Likewise.
29616         (R_MN10300_TLS_LDO): Likewise.
29617         (R_MN10300_TLS_GOTIE): Likewise.
29618         (R_MN10300_TLS_IE): Likewise.
29619         (R_MN10300_TLS_LE): Likewise.
29620         (R_MN10300_TLS_DTPMOD): Likewise.
29621         (R_MN10300_TLS_DTPOFF): Likewise.
29622         (R_MN10300_TLS_TPOFF): Likewise.
29623         (R_MN10300_SYM_DIFF): Likewise.
29624         (R_MN10300_ALIGN): Likewise.
29625         (R_MN10300_NUM): Update.
29626
29627 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
29628
29629         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29630         Remove.
29631
29632 2012-08-08  Roland McGrath  <roland@hack.frob.com>
29633
29634         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29635
29636         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29637         sysdeps/unix -> sysdeps/posix move.
29638         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29639
29640 2012-08-07      Allan McRae     <allan@archlinux.org>
29641
29642         [BZ #14303]
29643         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29644         (SUNOS_CPP): Likewise.
29645         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29646         not found.
29647         (open_input): Call CPP using execvp.
29648
29649 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29650
29651         * sysdeps/unix/sysv/linux/kernel-features.h
29652         (__ASSUME_PROT_GROWSUPDOWN): Remove.
29653         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29654         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29655         (__ASSUME_WAITID_SYSCALL): Likewise.
29656         * sysdeps/unix/sysv/linux/dl-execstack.c
29657         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29658         code unconditional.
29659         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29660         conditional code.
29661         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29662         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29663         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29664         code.
29665         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29666         unconditional.
29667         [__ASSUME_WAITID_SYSCALL]: Likewise.
29668         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29669
29670 2012-08-07  Roland McGrath  <roland@hack.frob.com>
29671
29672         * sysdeps/unix/closedir.c: Renamed to ...
29673         * sysdeps/posix/closedir.c: ... here.
29674         * sysdeps/unix/dirfd.c: Renamed to ...
29675         * sysdeps/posix/dirfd.c: ... here.
29676         * sysdeps/unix/dirstream.h: Renamed to ...
29677         * sysdeps/posix/dirstream.h: ... here.
29678         * sysdeps/unix/fdopendir.c: Renamed to ...
29679         * sysdeps/posix/fdopendir.c: ... here.
29680         * sysdeps/unix/opendir.c: Renamed to ...
29681         * sysdeps/posix/opendir.c: ... here.
29682         * sysdeps/unix/readdir.c: Renamed to ...
29683         * sysdeps/posix/readdir.c: ... here.
29684         * sysdeps/unix/readdir_r.c: Renamed to ...
29685         * sysdeps/posix/readdir_r.c: ... here.
29686         * sysdeps/unix/rewinddir.c: Renamed to ...
29687         * sysdeps/posix/rewinddir.c: ... here.
29688         * sysdeps/unix/seekdir.c: Renamed to ...
29689         * sysdeps/posix/seekdir.c: ... here.
29690         * sysdeps/unix/telldir.c: Renamed to ...
29691         * sysdeps/posix/telldir.c: ... here.
29692         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29693         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29694         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29695         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29696
29697         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29698         * bits/fcntl.h: ... here.
29699
29700         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29701         not 0.
29702         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29703         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29704         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29705         (struct flock): Move l_start, l_len to the beginning.
29706         Use __pid_t for l_pid.
29707         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29708         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29709         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29710         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29711         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29712         [__USE_LARGEFILE64] (struct flock64): New type.
29713         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29714
29715         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29716         * bits/dirent.h: ... here.
29717
29718         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29719         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29720
29721 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29722
29723         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29724         Change from 2.6.0 to 2.6.16.
29725         * sysdeps/unix/sysv/linux/configure: Regenerated.
29726         * sysdeps/unix/sysv/linux/kernel-features.h
29727         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29728         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29729         version.
29730         (__ASSUME_UTIMES): Likewise.
29731         (__ASSUME_CLONE_STOPPED): Remove.
29732         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29733         architectures, not kernel version.
29734         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29735         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29736         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29737         (__ASSUME_WAITID_SYSCALL): Likewise.
29738         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29739         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29740         * README: State 2.6.16 as minimum Linux kernel version.  Do not
29741         refer to older versions.
29742
29743 2012-08-06  Roland McGrath  <roland@hack.frob.com>
29744
29745         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29746         Define alphasort64 as an alias.
29747         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29748         Define versionsort64 as an alias.
29749         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29750         Define scandir64 as an alias.
29751         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29752         Define scandirat64 as an alias.
29753         * dirent/alphasort64.c (alphasort64):
29754         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29755         * dirent/versionsort64.c: Likewise.
29756         * dirent/scandir64.c: Likewise.
29757         * dirent/scandirat64.c: Likewise.
29758         * sysdeps/wordsize-64/alphasort.c: File removed.
29759         * sysdeps/wordsize-64/alphasort64.c: File removed.
29760         * sysdeps/wordsize-64/scandir.c: File removed.
29761         * sysdeps/wordsize-64/scandir64.c: File removed.
29762         * sysdeps/wordsize-64/scandirat.c: File removed.
29763         * sysdeps/wordsize-64/scandirat64.c: File removed.
29764         * sysdeps/wordsize-64/versionsort.c: File removed.
29765         * sysdeps/wordsize-64/versionsort64.c: File removed.
29766         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29767         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29768         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29769         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29770         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29771         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29772         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29773         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29774
29775         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29776         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29777         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29778         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29779         [defined __arch64__ || defined __sparcv9]
29780         (__INO_T_MATCHES_INO64_T): New macro.
29781         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29782         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29783         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29784         * sysdeps/unix/sysv/linux/bits/dirent.h
29785         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29786         (_DIRENT_MATCHES_DIRENT64): New macro.
29787
29788         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29789         Define lockf64 as an alias.
29790         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29791         Define fseeko64 as an alias.
29792         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29793         Define ftello64 as an alias.
29794         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29795         Define _IO_fgetpos64 and fgetpos64 as aliases.
29796         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29797         Define _IO_fsetpos64 and fsetpos64 as aliases.
29798         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29799         Conditionalize body on this.
29800         * libio/fseeko64.c: Likewise.
29801         * libio/ftello64.c: Likewise.
29802         * libio/iofgetpos64.c: Likewise.
29803         * libio/iofsetpos64.c: Likewise.
29804         * sysdeps/wordsize-64/lockf.c: File removed.
29805         * sysdeps/wordsize-64/lockf64.c: File removed.
29806         * sysdeps/wordsize-64/fseeko.c: File removed.
29807         * sysdeps/wordsize-64/fseeko64.c: File removed.
29808         * sysdeps/wordsize-64/ftello.c: File removed.
29809         * sysdeps/wordsize-64/ftello64.c: File removed.
29810         * sysdeps/wordsize-64/iofgetpos.c: File removed.
29811         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29812         * sysdeps/wordsize-64/iofsetpos.c: File removed.
29813         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29814         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29815         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29816         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29817         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29818         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29819         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29820         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29821         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29822         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29823         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29824
29825         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29826         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29827         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29828         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29829         [defined __arch64__ || defined __sparcv9]
29830         (__OFF_T_MATCHES_OFF64_T): New macro.
29831         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29832         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29833         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29834         (__OFF_T_MATCHES_OFF64_T): New macro.
29835
29836 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
29837
29838         * stdlib/secure-getenv.c (__secure_getenv): Replace
29839         GLIBC_2_16 with GLIBC_2_17.
29840
29841 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
29842
29843         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29844         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29845
29846 2012-08-03  David S. Miller  <davem@davemloft.net>
29847
29848         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29849
29850 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
29851
29852         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29853         Remove.
29854         (__ASSUME_CORRECT_SI_PID): Likewise.
29855         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29856         (__ASSUME_TMPFS_NAME): Likewise.
29857         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29858         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29859         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29860         (HAVE_AUX_SECURE): Make definition unconditional.
29861         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29862         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29863
29864 2012-08-03  Roland McGrath  <roland@hack.frob.com>
29865
29866         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29867         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29868         * sysdeps/mach/hurd/eloop-threshold.h: New file.
29869         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29870         __eloop_threshold instead of SYMLOOP_MAX.
29871
29872         * sysdeps/generic/eloop-threshold.h: New file.
29873         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29874         of MAXSYMLINKS.
29875         * elf/chroot_canon.c (chroot_canon): Likewise.
29876
29877 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
29878
29879         [BZ #13717]
29880         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29881         Change to 2.6.0 everywhere.
29882         * sysdeps/unix/sysv/linux/configure: Regenerated.
29883         * sysdeps/unix/sysv/linux/kernel-features.h
29884         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29885         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29886         kernel versions.
29887         (__ASSUME_POSIX_TIMERS): Define unconditionally.
29888         (__ASSUME_FUTEX_REQUEUE): Remove.
29889         (__ASSUME_STATFS64): Define unconditionally.
29890         (__ASSUME_AT_SECURE): Likewise.
29891         (__ASSUME_CORRECT_SI_PID): Likewise.
29892         (__ASSUME_TGKILL): Define without depending on kernel version for
29893         i386.
29894         (__ASSUME_UTIMES): Likewise.
29895         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29896         kernel version.
29897         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29898         (__ASSUME_TMPFS_NAME): Likewise.
29899         * README: Update reference to Linux kernel versions.
29900
29901 2012-08-02  Marek Polacek  <polacek@redhat.com>
29902
29903         [BZ# 14150]
29904         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
29905         libc_cv_asm_type_prefix with %.
29906         * configure: Regenerated.
29907         * include/libc-symbols.h: Remove comment about
29908         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29909         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29910         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29911         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29912         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29913         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29914         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29915         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29916         * elf/tst-unique2mod1.c: Likewise.
29917         * elf/tst-unique1mod2.c: Likewise.
29918         * elf/tst-unique1mod1.c: Likewise.
29919         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29920         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29921         Replace ASM_TYPE_DIRECTIVE with .type.
29922         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29923         * sysdeps/i386/sysdep.h: Likewise.
29924         * sysdeps/x86_64/sysdep.h: Likewise.
29925         * sysdeps/sh/sysdep.h: Likewise.
29926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29927         Do not define ASM_TYPE_DIRECTIVE.
29928         * sysdeps/powerpc/sysdep.h: Likewise.
29929         * sysdeps/powerpc/powerpc32/sysdep.h:
29930         Replace ASM_TYPE_DIRECTIVE with .type.
29931         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29932         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29933         * sysdeps/i386/fpu/e_powf.S: Likewise.
29934         * sysdeps/i386/fpu/e_expl.S: Likewise.
29935         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29936         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29937         * sysdeps/i386/fpu/e_pow.S: Likewise.
29938         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29939         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29940         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29941         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29942         * sysdeps/i386/fpu/e_log2.S: Likewise.
29943         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29944         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29945         * sysdeps/i386/fpu/e_powl.S: Likewise.
29946         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29947         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29948         * sysdeps/i386/fpu/e_logl.S: Likewise.
29949         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29950         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29951         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29952         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29953         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29954         * sysdeps/i386/fpu/e_log.S: Likewise.
29955         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29956         * sysdeps/i386/fpu/e_logf.S: Likewise.
29957         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29958         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29959         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29960         * sysdeps/i386/fpu/e_log10.S: Likewise.
29961         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29962         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29963         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29964         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29965         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29966         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29967         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29968         * sysdeps/i386/i686/strtok.S: Likewise.
29969         * sysdeps/i386/i386-mcount.S: Likewise.
29970         * sysdeps/i386/strtok.S: Likewise.
29971         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29972         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29973         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29974         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29975         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29976         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29977         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29978         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29979         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29980         * sysdeps/x86_64/_mcount.S: Likewise.
29981         * sysdeps/x86_64/strtok.S: Likewise.
29982         * sysdeps/sh/_mcount.S: Likewise.
29983
29984 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29985
29986         * libio/iofopen.c: Include <fcntl.h>.
29987         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29988         (_IO_fopen64, fopen64): Define as aliases.
29989         * libio/iofopen64.c: Include <fcntl.h>.
29990         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29991         Conditionalize body on this.
29992         * sysdeps/wordsize-64/iofopen.c: File removed.
29993         * sysdeps/wordsize-64/iofopen64.c: File removed.
29994
29995 2012-08-01  Marek Polacek  <polacek@redhat.com>
29996
29997         * libc/Makeconfig: Use elf in place of binfmt-subdir.
29998         Use dlfcn directly instead of a variable.
29999         (binfmt-subdir): Do not define.
30000         (dlfcn): Likewise.
30001
30002 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30003
30004         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30005         Remove all definitions.
30006         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30007         <kernel-features.h>.
30008         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30009         (miss_F_GETOWN_EX): Remove all definitions.
30010         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30011         macro definition.
30012         [!__ASSUME_FCNTL64]: Remove conditional code.
30013         [__ASSUME_FCNTL64]: Make code unconditional.
30014         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30015         <kernel-features.h>.
30016         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30017         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30018         (lockf64) [__NR_fcntl64]: Make code unconditional.
30019         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30020
30021         * sysdeps/unix/sysv/linux/kernel-features.h
30022         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30023         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30024         Make code unconditional.
30025         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30026         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30028         [__NR_vfork]: Make code unconditional.
30029         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30030         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30032         [__NR_vfork]: Make code unconditional.
30033         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30034         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30035
30036 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30037
30038         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30039         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30040
30041         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30042         Define mkstemp64 as an alias.
30043         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30044         Define mkstemps64 as an alias.
30045         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30046         Define mkostemp64 as an alias.
30047         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30048         Define mkostemps64 as an alias.
30049         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30050         Conditionalize body on this.
30051         * misc/mkostemp64.c: Likewise.
30052         * misc/mkostemps64.c: Likewise.
30053         * misc/mkstemps64.c: Likewise.
30054         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30055         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30056         * sysdeps/wordsize-64/mkostemp.c: File removed.
30057         * sysdeps/wordsize-64/mkstemp.c: File removed.
30058         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30059         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30060         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30061         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30062
30063         [BZ #14138]
30064         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30065         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30066         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30067         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30068
30069         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30070         compat_symbol macros from <shlib-compat.h> rather than the underlying
30071         default_symbol_version and symbol_version macros, so that DEFAULT
30072         lines in shlib-versions are respected.
30073         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30074
30075 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30076
30077         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30078         Declare with warn_unused_result.
30079         (setgid, setregid, setegid, setresgid): Likewise.
30080         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30081         Likewise.
30082         * WUR-REPORT: Remove set*id functions.
30083
30084 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30085
30086         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30087
30088 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30089
30090         [BZ #10191]
30091         * include/sys/socket.h (__libc_accept, __libc_accept4):
30092         Add attribute_hidden.
30093         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30094
30095         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30096         use of PTR_MANGLE.
30097         * inet/getnetgrent_r.c (setup): Likewise.
30098
30099         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30100
30101 2012-07-31  David S. Miller  <davem@davemloft.net>
30102
30103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30104
30105 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30106
30107         [BZ #13629]
30108         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30109         value between 1.0 and 2.0 and smaller part has absolute value less
30110         than 1.0.
30111         * math/s_clog10.c (__clog10): Likewise.
30112         * math/s_clog10f.c (__clog10f): Likewise.
30113         * math/s_clog10l.c (__clog10l): Likewise.
30114         * math/s_clogf.c (__clogf): Likewise.
30115         * math/s_clogl.c (__clogl): Likewise.
30116         * math/libm-test.inc (clog_test): Add more tests.
30117         (clog10_test): Likewise.
30118         * sysdeps/i386/fpu/libm-test-ulps: Update.
30119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30120
30121 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30122
30123         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30124         Exit with zero in case no suitable GID is found, and write a
30125         message to standard error.
30126
30127 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30128
30129         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30130         rather than to 1.
30131         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30132         (MAXPATHLEN): Removed.
30133         (NOGROUP, NODEV): New macros.
30134         (setbit, clrbit, isset, isclr): New macros.
30135         (howmany, roundup, powerof2): New macros.
30136         (DEV_BSIZE): New macro.
30137
30138         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30139         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30140
30141         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30142         definition on [!__NO_LONG_DOUBLE_MATH].
30143
30144         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30145         PTR_MANGLE and PTR_DEMANGLE.
30146
30147         * socket/accept4.c (accept4): Rename to __libc_accept4.
30148         Define accept4 as a weak alias.
30149
30150         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30151         on [_DIRENT_HAVE_D_TYPE].
30152         * io/ftw.c (ftw_dir): Likewise.
30153
30154         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30155
30156         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30157
30158         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30159         Use the BSD numbers rather than the arbitrary ones we had.
30160         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30161         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30162         (SIGXCPU, SIGXFSZ): New macros.
30163         (_NSIG): Now 32.
30164
30165         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30166         initializer on [_LIBC_REENTRANT].
30167
30168         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30169         definitions inside [_POSIX_MAPPED_FILES].
30170
30171         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30172
30173         * dirent/opendir.c: Include <fcntl.h>.
30174
30175         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30176         (__libc_getspecific): Likewise.
30177         (__libc_key_create): Likewise.
30178
30179         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30180         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30181         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30182         (tmpfile64): Define as alias.
30183         * sysdeps/wordsize-64/tmpfile.c: File removed.
30184         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30185         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30186         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30187
30188         * stdio-common/vfscanf.c: Include <stdbool.h>.
30189         * nss/makedb.c: Likewise.
30190         * stdio-common/_i18n_number.h: Likewise.
30191         * argp/argp-help.c: Likewise.
30192         * posix/wordexp.c: Likewise.
30193         * sysdeps/posix/spawni.c: Likewise.
30194         * nss/nss_files/files-initgroups.c: Likewise.
30195         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30196         * nss/nss_files/files-initgroups.c: Likewise.
30197         * nss/nss_db/db-netgrp.c: Likewise.
30198         * nss/nss_db/db-initgroups.c: Likewise.
30199         * io/fchmodat.c: Include <sys/stat.h>.
30200
30201         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30202         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30203
30204         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30205         [HAVE_MMAP].
30206
30207         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30208         Add multiple inclusion protection.
30209
30210 2012-07-27  David S. Miller  <davem@davemloft.net>
30211
30212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30213
30214 2012-07-27  Gary Benson  <gbenson@redhat.com>
30215
30216         [BZ #14298]
30217         * elf/rtld.c: Include <stap-probe.h>.
30218         (dl_main): Added static probes "init_start" and "init_complete".
30219         * elf/dl-load.c: Include <stap-probe.h>.
30220         (lose): Take new parameter "nsid".
30221         Added static probe "map_failed".
30222         (_dl_map_object_from_fd): Pass namespace id to lose.
30223         Added static probe "map_start".
30224         (open_verify): Pass namespace id to lose.
30225         * elf/dl-open.c: Include <stap-probe.h>.
30226         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30227         and "reloc_complete".
30228         * elf/dl-close.c: Include <stap-probe.h>.
30229         (_dl_close_worker): Added static probes "unmap_start" and
30230         "unmap_complete".
30231         * elf/rtld-debugger-interface.txt: New file documenting the above.
30232
30233 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30234
30235         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30236         rather than a string variable.
30237         * sunrpc/rpc_main.c (h_output): Likewise.
30238         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30239
30240 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30241
30242         * inet/check_native.c: New file.
30243
30244 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
30245
30246         [BZ #13629]
30247         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30248         if larger part has absolute value 1.0.
30249         * math/s_clog10.c (__clog10): Likewise.
30250         * math/s_clog10f.c (__clog10f): Likewise.
30251         * math/s_clog10l.c (__clog10l): Likewise.
30252         * math/s_clogf.c (__clogf): Likewise.
30253         * math/s_clogl.c (__clogl): Likewise.
30254         * math/libm-test.inc (clog_test): Add more tests.
30255         (clog10_test): Likewise.
30256         * sysdeps/i386/fpu/libm-test-ulps: Update.
30257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30258
30259         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30260         (pltexit): Likewise.
30261         (La_regs): Likewise.
30262         (La_retval): Likewise.
30263         (int_retval): Likewise.
30264         Update #error for removed macros to refer only to definitions in
30265         tst-audit.h.
30266         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30267         macro.
30268         (pltexit): Likewise.
30269         (La_regs): Likewise.
30270         (La_retval): Likewise.
30271         (int_retval): Likewise.
30272         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30273         macro.
30274         (pltexit): Likewise.
30275         (La_regs): Likewise.
30276         (La_retval): Likewise.
30277         (int_retval): Likewise.
30278         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30279         macro.
30280         (pltexit): Likewise.
30281         (La_regs): Likewise.
30282         (La_retval): Likewise.
30283         (int_retval): Likewise.
30284         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30285         macro.
30286         (pltexit): Likewise.
30287         (La_regs): Likewise.
30288         (La_retval): Likewise.
30289         (int_retval): Likewise.
30290         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30291         macro.
30292         (pltexit): Likewise.
30293         (La_regs): Likewise.
30294         (La_retval): Likewise.
30295         (int_retval): Likewise.
30296         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30297         macro.
30298         (pltexit): Likewise.
30299         (La_regs): Likewise.
30300         (La_retval): Likewise.
30301         (int_retval): Likewise.
30302         * sysdeps/generic/tst-audit.h: Update comment to refer only to
30303         macro definitions in tst-audit.h.
30304         * sysdeps/i386/tst-audit.h: New file.
30305         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30306         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30307         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30308         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30309         * sysdeps/sh/tst-audit.h: Likewise.
30310         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30311         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30312         * sysdeps/x86_64/tst-audit.h: Likewise.
30313
30314 2012-07-26  Andreas Jaeger  <aj@suse.de>
30315
30316         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30317         ptrace.
30318
30319         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30320         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30321         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30322         PTRACE_O_MASK.
30323         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30324         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30325         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30326
30327         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30328         value.
30329
30330         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30331         _sigsys.
30332         (si_call_addr, si_syscall, si_arch): Define new macro.
30333         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30334         _sigsys.
30335         (si_call_addr, si_syscall, si_arch): Define new marcro.
30336         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30337         _sigsys.
30338         (si_call_addr, si_syscall, si_arch): Define new macro.
30339         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30340         _sigsys.
30341         (si_call_addr, si_syscall, si_arch): Define new macro.
30342
30343 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30344
30345         [BZ #13717]
30346         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30347         Change to 2.4.21 where previously 2.4.1.
30348         * sysdeps/unix/sysv/linux/configure: Regenerated.
30349         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30350         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30351         Linux kernel version.
30352         (__ASSUME_STD_AUXV): Remove.
30353         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30354         kernel version.
30355         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30356         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30357         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30358         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30359         (__ASSUME_NETLINK_SUPPORT): Likewise.
30360         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30361         (__no_netlink_support): Remove conditional definition.
30362         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30363         Remove.
30364         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30365         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30366         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30367         (if_nameindex_ioctl): Remove.
30368         (if_nameindex_netlink): Do not handle __no_netlink_support.
30369         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30370         code.
30371         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30372         Remove conditional code.
30373         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30374         code.
30375         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30376         unconditional.
30377         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30378         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30379         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30380         Remove.
30381         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30382         [!__ASSUME_STD_AUXV]: Remove conditional code.
30383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30384         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30385         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30387         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30388         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30389         code.
30390         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30392         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30393         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30394         conditional code.
30395         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30397         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30398         code.
30399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30400         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30401         conditional code.
30402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30403         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30404         code unconditional.
30405         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30406         conditional code.
30407         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30408         unconditional.
30409         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30410         conditional code.
30411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30412         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30413         unconditional.
30414         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30415         conditional code.
30416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30417         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30418         code unconditional.
30419         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30420         conditional code.
30421         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30422         unconditional.
30423         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30424         conditional code.
30425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30426         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30427         code unconditional.
30428         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30429         conditional code.
30430         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30431         unconditional.
30432         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30433         conditional code.
30434
30435 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
30436
30437         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30438         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30439         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30440         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30441         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30442         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30443         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30444         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30445         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30446         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30447         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30448         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30449         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30450         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30451         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30452         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30453         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30454         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30455         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30456         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30457         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30458         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30459         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30460
30461 2012-07-25  Florian Weimer  <fweimer@redhat.com>
30462
30463         * Versions.def: Add GLIBC_2.17.
30464         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30465         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30466         Introduce __libc_secure_getenv.
30467         * stdlib/Versions (2.17): Add secure_getenv
30468         (GLIBC_PRIVATE): Add __libc_secure_getenv.
30469         * stdlib/secure-getenv.c: Rename __secure_getenv to
30470         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
30471         symbol __secure_getenv for GLIBC_2.0.
30472         * stdlib/tst-secure-getenv.c: New.
30473         * stdlib/Makefile (tests): Add testcase.
30474         * manual/startup.texi (Environment Access): Document
30475         secure_getenv.
30476         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30477         __libc_secure_getenv.
30478         * inet/ruserpass.c (ruserpass): Likewise.
30479         * malloc/mtrace.c (mtrace): Likewise.
30480         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30481         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30482         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30483         * sysdeps/posix/tempname.c: Likewise.  Evaluate
30484         HAVE_SECURE_GETENV.
30485         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30486         __secure_getenv to __libc_secure_getenv.
30487         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30489         Likewise.
30490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30491         Likewise.
30492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30494         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30499
30500 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30501
30502         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30503         (struct La_i86_retval): Likewise.
30504         (struct La_x86_64_regs): Likewise.
30505         (struct La_x86_64_retval): Likewise.
30506         (struct La_x32_regs): Likewise.
30507         (struct La_x32_retval): Likewise.
30508         (struct La_ppc32_regs): Likewise.
30509         (struct La_ppc32_retval): Likewise.
30510         (struct La_ppc64_regs): Likewise.
30511         (struct La_ppc64_retval): Likewise.
30512         (struct La_sh_regs): Likewise.
30513         (struct La_sh_retval): Likewise.
30514         (struct La_s390_32_regs): Likewise.
30515         (struct La_s390_32_retval): Likewise.
30516         (struct La_s390_64_regs): Likewise.
30517         (struct La_s390_64_retval): Likewise.
30518         (struct La_sparc32_regs): Likewise.
30519         (struct La_sparc32_retval): Likewise.
30520         (struct La_sparc64_regs): Likewise.
30521         (struct La_sparc64_retval): Likewise.
30522         (struct audit_ifaces): Remove architecture-specific pltenter and
30523         pltexit members.
30524         * sysdeps/i386/ldsodefs.h: New file.
30525         * sysdeps/powerpc/ldsodefs.h: Likewise.
30526         * sysdeps/s390/ldsodefs.h: Likewise.
30527         * sysdeps/sh/ldsodefs.h: Likewise.
30528         * sysdeps/sparc/ldsodefs.h: Likewise.
30529         * sysdeps/x86_64/ldsodefs.h: Likewise.
30530
30531 2012-07-25  Marek Polacek  <polacek@redhat.com>
30532
30533         [BZ #6808]
30534         * math/libm-test.inc (yn_test): Add another test.
30535         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30536         to ERANGE when the result is +-Inf.
30537         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30538         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30539         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30540         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30541
30542 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
30543
30544         * conform/data/time.h-data (NULL): Use macro-constant.  Require
30545         equal to 0.
30546         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
30547         clock_t.
30548         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
30549
30550 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
30551
30552         * configure.in <sysdeps resolving>: Correct printing
30553         Implies_before.
30554         * configure: Regenerate.
30555
30556 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
30557
30558         * math/w_ilogb.c: Include <limits.h>.
30559         * math/w_ilogbl.c: Likewise.
30560
30561 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30562
30563         * manual/lang.texi (__va_copy): Document primarily as ISO C99
30564         va_copy.  Document allowing for unavailable va_copy only as
30565         pre-C99 compatibility.
30566         * manual/string.texi (Copying and Concatenation): Use va_copy
30567         instead of __va_copy in concat example.
30568
30569 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
30570
30571         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30572         (__sendto): Use create_address_port.  Initialize APORT and deallocate
30573         it if not null.
30574
30575         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30576         with O_NOLINK passed to __file_name_lookup.
30577
30578         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30579         with O_NOLINK passed to __file_name_lookup.
30580
30581         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30582         negative N or less than NGIDS.
30583
30584         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30585         type to string_t.  Set ERANGE as errno and return it if NAME is not big
30586         enough.  Use memcpy instead of strncpy.
30587
30588 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30589
30590         * elf/Makefile (check-data): Remove.
30591         (localplt.data): New vpath directive.
30592         ($(objpfx)check-localplt.out): Use localplt.data from vpath
30593         instead of $(check-data).
30594         * scripts/data/localplt-generic.data: Move to ...
30595         * sysdeps/generic/localplt.data: ... here.
30596         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30597         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30598         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30600         ... here.
30601         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30603         ... here.
30604         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30606         ... here.
30607         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30609         ... here.
30610         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30612         ... here.
30613         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30615         ... here.
30616
30617 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30618
30619         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30620         PPC32 and PPC64 files.
30621         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30622         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30623
30624 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30625
30626         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30627         __makecontext_ret to ...
30628         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30629         ... here and call exit if uc_link is NULL.  New file.
30630         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30631         __makecontext_ret.S.
30632         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30633         __makecontext_ret to ...
30634         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30635         ... here and call exit if uc_link is NULL.  New file.
30636         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30637         __makecontext_ret.S.
30638
30639 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30640
30641         * elf/elf.h (R_390_IRELATIVE): New definition.
30642         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30643         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
30644         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30645         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30646         (elf_machine_lazy_rel): Likewise.
30647         * sysdeps/s390/dl-irel.h: New file.
30648         * sysdeps/s390/s390-64/memcpy.S: New asm code.
30649         * sysdeps/s390/s390-64/memset.S: New asm code.
30650         * sysdeps/s390/s390-64/memcmp.S: New asm code.
30651         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30652         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30653         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30654         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30655         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30656         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30657         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30658         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30659         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30660         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30661         * sysdeps/s390/s390-32/memcpy.S: New asm code.
30662         * sysdeps/s390/s390-32/memset.S: New asm code.
30663         * sysdeps/s390/s390-32/memcmp.S: New asm code.
30664
30665 2012-07-17  Marek Polacek  <polacek@redhat.com>
30666
30667         [BZ #14349]
30668         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30669         * sysdeps/s390/s390-64/configure.in: Likewise.
30670         * sysdeps/sparc/configure.in: Likewise.
30671         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30672         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30673         * sysdeps/i386/configure.in: Likewise.
30674         * sysdeps/x86_64/configure.in: Likewise.
30675         * sysdeps/sh/configure.in: Likewise.
30676         * sysdeps/s390/s390-32/configure: Regenerated.
30677         * sysdeps/s390/s390-64/configure: Likewise.
30678         * sysdeps/x86_64/configure: Likewise.
30679         * sysdeps/sh/configure: Likewise.
30680         * sysdeps/powerpc/powerpc64/configure: Likewise.
30681         * sysdeps/powerpc/powerpc32/configure: Likewise.
30682         * sysdeps/sparc/configure: Likwise.
30683         * sysdeps/i386/configure: Likewise.
30684
30685         * elf/dl-open.c: Comment fixes.
30686
30687 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
30688
30689         * Makefile [CXX] (check-data): Remove.
30690         [CXX] (c++-types.data): New vpath directive.
30691         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30692         vpath.  Do not allow for C++ type data being missing.
30693         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30694         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30695         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30696         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30697         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30698         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30699         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30701         ... here.
30702         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30704         ... here.
30705         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30707         ... here.
30708         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30710         ... here.
30711         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30713         ... here.
30714         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30716         ... here.
30717         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30719         ... here.
30720         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30722
30723         * elf/tls-macros.h (TLS_LE): Move architecture-specific
30724         definitions to architecture-specific files.
30725         (TLS_IE): Likewise.
30726         (TLS_LD): Likewise.
30727         (TLS_GD): Likewise.
30728         * sysdeps/i386/tls-macros.h: New file.
30729         * sysdeps/powerpc/tls-macros.h: Likewise.
30730         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30731         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30732         * sysdeps/sh/tls-macros.h: Likewise.
30733         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30734         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30735         * sysdeps/x86_64/tls-macros.h: Likewise.
30736
30737 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30738
30739         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30740         zero value for regular exit case.
30741
30742         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30743         (__start_context): Preserve zero value for regular exit case.
30744
30745 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30746             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30747
30748         * manual/setjmp.texi (setcontext): Clarify normal process
30749         termination when uc_link is the null pointer.
30750         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30751         exit call.
30752
30753 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
30754
30755         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30756         preprocessor.  Test for each exception mask separately.
30757
30758 2012-07-16  Andreas Jaeger  <aj@suse.de>
30759
30760         * po/ru.po: Update from translation team.
30761
30762 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
30763
30764         * conform/data/string.h-data (NULL): Use macro-constant.  Require
30765         equal to 0.
30766         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30767         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30768         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30769         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30770         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30771
30772 2012-07-13  Andreas Jaeger  <aj@suse.de>
30773
30774         * po/fr.po: Update from translation team.
30775
30776 2012-07-12  Marek Polacek  <polacek@redhat.com>
30777
30778         [BZ #14173]
30779         * math/libm-test.inc (yn_test): Add test for BZ #14173.
30780         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30781         loop condition.
30782
30783 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
30784
30785         [BZ #13717]
30786         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30787         Change to 2.4.1 where previously 2.4.0.
30788         * sysdeps/unix/sysv/linux/configure: Regenerated.
30789         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30790         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30791         version.
30792         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30793         (__ASSUME_AT_CLKTCK): Remove.
30794         (__ASSUME_AT_PAGESIZE): Likewise.
30795         (__ASSUME_AT_XID): Likewise.
30796         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30797         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30798         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30799         unconditionally.
30800         (HAVE_AUX_PAGESIZE): Likewise.
30801         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30802         [__ASSUME_AT_CLKTCK]: Make code unconditional.
30803         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30804
30805 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
30806
30807         [BZ #14307]
30808         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30809         the temporary buffer used to invoke __gethostbyname2_r,
30810         __gethostbyaddr_r and gethostbyname4_r to make room for struct
30811         host_data / struct gaih_addrtuple.
30812         * resolv/nss_dns/dns-host.c (global scope): Move definition of
30813         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30814         header file nss/nsswitch.h.
30815         * nss/nsswitch.h (global scope): Add definition of implementation
30816         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30817         resolv/nss_dns/dns-host.c).
30818
30819 2012-07-11  Andreas Jaeger  <aj@suse.de>
30820
30821         * po/fr.po: Update from translation team.
30822
30823         * po/sv.po: Update from translation team
30824         * po/fr.po: Another update from translation team.
30825
30826 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30827
30828         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30829         for subnormals or multiply small sinh result by itself.
30830         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30832
30833 2012-07-11  David S. Miller  <davem@davemloft.net>
30834
30835         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30836
30837 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
30838
30839         [BZ #14347]
30840         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30841         (INTERNAL_MARK): Shift it here.
30842
30843 2012-07-10  Marek Polacek  <polacek@redhat.com>
30844
30845         [BZ #14151]
30846         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
30847         libc_cv_asm_global_directive with .globl.
30848         * configure: Regenerated.
30849         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30850         with .globl.
30851         * sysdeps/i386/configure: Regenerated.
30852         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30853         with .globl.
30854         * sysdeps/x86_64/configure: Regenerated.
30855         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30856         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30857         * elf/tst-unique2mod2.c: Likewise.
30858         * elf/tst-unique2mod1.c: Likewise.
30859         * elf/tst-unique1mod2.c: Likewise.
30860         * elf/tst-unique1mod1.c: Likewise.
30861         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30862         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30863         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30864         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30865         * sysdeps/mach/sysdep.h: Likewise.
30866         * sysdeps/i386/sysdep.h: Likewise.
30867         * sysdeps/i386/i386-mcount.S: Likewise.
30868         * sysdeps/x86_64/_mcount.S: Likewise.
30869         * sysdeps/x86_64/sysdep.h: Likewise.
30870         * sysdeps/sh/_mcount.S: Likewise.
30871         * sysdeps/sh/sysdep.h: Likewise.
30872         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30873         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30874         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30875         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30876         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30877         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30878         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30879         * locale/localeinfo.h: Likewise.
30880         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30881         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30882
30883 2012-07-09  Roland McGrath  <roland@hack.frob.com>
30884
30885         [BZ #14336]
30886         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30887         system".
30888         * manual/message.texi (The Uniforum approach): Likewise.
30889         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30890         (glibc iconv Implementation): Likewise.
30891
30892 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
30893
30894         [BZ #14337]
30895         * math/s_clog.c (__clog): Avoid scaling a value down where that
30896         could result in underflow.
30897         * math/s_clog10.c (__clog10): Likewise.
30898         * math/s_clog10f.c (__clog10f): Likewise.
30899         * math/s_clog10l.c (__clog10l): Likewise.
30900         * math/s_clogf.c (__clogf): Likewise.
30901         * math/s_clogl.c (__clogl): Likewise.
30902         * math/libm-test.inc (clog_test): Add more tests.
30903         (clog10_test): Likewise.
30904         * sysdeps/i386/fpu/libm-test-ulps: Update.
30905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30906
30907 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
30908
30909         [BZ #14283]
30910         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30911         by 7 not 8 to examine high bit of fractional part.
30912
30913         [BZ #14042]
30914         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30915         for call to __mcount_internal.
30916         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30917         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30918         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30919
30920 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
30921
30922         [BZ #14154]
30923         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30924         approximation for values within 0x1p-13f of an odd multiple of
30925         pi/4.
30926         * math/libm-test.inc (tan_test): Do not allow spurious underflow
30927         exception.  Add more tests.
30928         * sysdeps/i386/fpu/libm-test-ulps: Update.
30929
30930         [BZ #6778]
30931         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30932         inputs and return -1 for them.  Do not check for +Inf in case not
30933         reachable for +Inf.
30934         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30935         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30936         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30937         and return -1 for them.  Do not check for +Inf in case not
30938         reachable for +Inf.
30939         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30940         define.
30941         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30942         and return -1 for them.  Do not check for +Inf in case not
30943         reachable for +Inf.
30944         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
30945         spurious underflow.
30946         * sysdeps/i386/fpu/libm-test-ulps: Update.
30947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30948
30949 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
30950
30951         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30952
30953 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
30954
30955         [BZ #14157]
30956         [BZ #14331]
30957         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30958         could result in spurious underflow.  Scale down values above
30959         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30960         * math/s_csqrtf.c (__csqrtf): Likewise.
30961         * math/s_csqrtl.c (__csqrtl): Likewise.
30962         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
30963         spurious underflow.
30964         * sysdeps/i386/fpu/libm-test-ulps: Update.
30965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30966
30967 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
30968
30969         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30970         xopen-msg.sed.
30971         * catgets/xopen-msg.awk: New file.
30972         * catgets/xopen-msg.sed: Removed.
30973
30974         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30975         po2text.sed.
30976         * intl/po2test.awk: New file.
30977         * intl/po2test.sed: Removed.
30978
30979 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
30980
30981         [BZ #14328]
30982         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30983         or multiply small sinh result by itself.
30984         * math/s_ctanf.c (__ctanf): Likewise.
30985         * math/s_ctanh.c (__ctanh): Likewise.
30986         * math/s_ctanhf.c (__ctanhf): Likewise.
30987         * math/s_ctanhl.c (__ctanhl): Likewise.
30988         * math/s_ctanl.c (__ctanl): Likewise.
30989         * math/libm-test.inc (ctan_test_tonearest): New function.
30990         (ctan_test_towardzero): Likewise.
30991         (ctan_test_downward): Likewise.
30992         (ctan_test_upward): Likewise.
30993         (ctanh_test_tonearest): Likewise.
30994         (ctanh_test_towardzero): Likewise.
30995         (ctanh_test_downward): Likewise.
30996         (ctanh_test_upward): Likewise.
30997         (main): Call these new functions.
30998         * sysdeps/i386/fpu/libm-test-ulps: Update.
30999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31000
31001 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31002
31003         * .gitignore: Delete /ports entry.
31004
31005 2012-07-03  Andreas Jaeger  <aj@suse.de>
31006
31007         * po/bg.po: Update from translation team.
31008         * po/cs.po: Likewise.
31009         * po/de.po: Likewise.
31010         * po/hr.po: Likewise.
31011         * po/nl.pl: Likewise.
31012         * po/pl.po: Likewise.
31013         * po/vi.po: Likewise.
31014
31015 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31016
31017         * Makeconfig [!+link] (+link-before-libc): New variable.
31018         [!+link] (+link-after-libc): Likewise.
31019         [!+link] (+link-tests): Likewise.
31020         [!+link] (+link): Define in terms of $(+link-before-libc) and
31021         $(+link-after-libc).
31022         [!+link-static] (+link-static-before-libc): New variable.
31023         [!+link-static] (+link-static-after-libc): Likewise.
31024         [!+link-static] (+link-static-tests): Likewise.
31025         [!+link-static] (+link-static): Define in terms of
31026         $(+link-static-before-libc) and $(+link-static-after-libc).
31027         [build-shared] (link-libc-before-gnulib): New variable.
31028         [build-shared] (link-libc-tests): Likewise.
31029         [build-shared] (link-libc): Define in terms of
31030         $(link-libc-before-gnulib).
31031         [!build-shared] (link-libc-tests): New variable.
31032         (link-libc-static-tests): New variable.
31033         [!gnulib] (gnulib-arch): New variable.
31034         [!gnulib] (gnulib-tests): Likewise.
31035         [!gnulib] (static-gnulib-arch): Likewise.
31036         [!gnulib] (static-gnulib-tests): Likewise.
31037         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31038         Define with "=" instead of ":=".
31039         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31040         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31041         * Rules (binaries-all-notests): New variable.
31042         (binaries-all-tests): Likewise.
31043         (binaries-static-notests): Likewise.
31044         (binaries-static-tests): Likewise.
31045         (binaries-all): Define using $(binaries-all-notests) and
31046         $(binaries-all-tests).
31047         (binaries-static): Define using $(binaries-static-notests) and
31048         $(binaries-static-tests).
31049         (binaries-shared-tests): New variable.
31050         (binaries-shared-notests): Likewise.
31051         (binaries-shared): Remove variable.
31052         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31053         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31054         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31055         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31056         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31057         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31058         * elf/Makefile (sln-modules): New variable.
31059         (extra-objs): Add $(sln-modules:=.o).
31060         (ldconfig-modules): Add static-stubs.
31061         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31062         * elf/static-stubs.c: New file.
31063
31064         [BZ #14283]
31065         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31066         by 7 not 8 to examine high bit of fractional part.  Use volatile
31067         variables when splitting into final array of floats if
31068         __FLT_EVAL_METHOD__ != 0.
31069         * math/libm-test.inc (cos_test): Add another test.
31070         (sin_test): Likewise.
31071         * sysdeps/i386/fpu/libm-test-ulps: Update.
31072
31073         [BZ #14273]
31074         * math/libm-test.inc (cosh_test): Add more tests.
31075
31076         * version.h (RELEASE): Set to "development".
31077         (VERSION): Set to "2.16.90".
31078
31079 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31080
31081         * NEWS: Update copyright. Remove last-updated date.
31082         Mention math library bug fixes and timezone data changes.
31083         * README: Mention GNU/Hurd, x32, and HPPA support status.
31084
31085 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31086
31087         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31088
31089 2012-06-27  Andreas Jaeger  <aj@suse.de>
31090
31091         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31092
31093 2012-06-25  Andreas Jaeger  <aj@suse.de>
31094
31095         * sysdeps/s390/fpu/libm-test-ulps: Update.
31096
31097 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31098             Thomas Schwinge  <thomas@codesourcery.com>
31099
31100         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31101         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31102         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31103         fanotify_mark.
31104
31105 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31106
31107         * sysdeps/mach/start.c: Remove file.
31108         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31109         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31110         * sysdeps/sh/init-first.c: Likewise.
31111
31112         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31113         registers for frame unwinding purposes, add CFI directives.
31114         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31115         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31116         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31117         Likewise.
31118
31119         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31120         __fortify_fail returning.
31121         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31122
31123         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31124         sysdeps/sh/____longjmp_chk.S.
31125         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31126         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31127         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31128         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31129
31130         * sysdeps/sh/abort-instr.h: New file.
31131         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31132         process in case exit returns.
31133
31134         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31135         initialize the GOT register before use.
31136
31137         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31138         calculation of ARGC > 4.
31139
31140         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31141         meaningful names to some local labels.
31142
31143 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31144             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31145
31146         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31147         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31148         (__arch_compare_and_exchange_val_16_acq): Likewise.
31149         (__arch_compare_and_exchange_val_32_acq): Likewise.
31150         (atomic_exchange_and_add): Fix gUSA sequence.
31151         (atomic_add): Likewise.
31152         (atomic_add_negative): Likewise.
31153         (atomic_add_zero): Likewise.
31154         (atomic_bit_test_set): Likewise.
31155
31156 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31157
31158         [BZ #13579]
31159         * include/link.h (struct link_map): Add l_free_initfini.
31160         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31161         l_initfini.
31162         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31163         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31164         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31165         set.
31166
31167 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31168
31169         * configure.in: Use AC_LANG_SOURCE.
31170         * configure: Regenerate.
31171
31172 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31173
31174         * configure.in (libc_cv_localstatedir): New substituted variable.
31175         * configure: Regenerated.
31176         * config.make.in (localstatedir): New variable, substituted from
31177         libc_cv_localstatedir.
31178         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31179         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31180         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31181         * sysdeps/gnu/configure: Regenerated.
31182
31183 2012-06-21  Jeff Law  <law@redhat.com>
31184
31185         [BZ #14277]
31186         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31187         free.  Simplify list management for _LIBC case.
31188
31189 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31190
31191         [BZ #14273]
31192         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31193         Clear sign bit of 64-bit integer value before comparing against
31194         overflow value.
31195
31196         * sysdeps/mach/configure: Regenerated.
31197
31198 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31199
31200         [BZ #14278]
31201         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31202
31203 2012-06-21  Jeff Law  <law@redhat.com>
31204
31205         [BZ #13882]
31206         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31207         uint16_t for elements in the "seen" array to avoid char overflows.
31208         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31209         * elf/dl-open.c (dl_open_worker): Likewise.
31210
31211 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31212
31213         * scripts/list-sources.sh: Scan PORTS for translations.
31214         * po/libc.pot: Regenerated.
31215
31216 2012-06-21  Andreas Jaeger  <aj@suse.de>
31217
31218         [BZ #12194]
31219         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31220         warning.
31221         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31222         * bits/byteswap-16.h (__bswap_16): Likewise.
31223         * bits/byteswap.h (__bswap_constant_16): Likewise.
31224
31225 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31226
31227         [BZ #14117]
31228         * sysdeps/i386/fpu_control.h: Removed.
31229         * sysdeps/x86_64/fpu_control.h: Moved to ...
31230         * sysdeps/x86/fpu_control.h: Here.
31231
31232         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31233         (_FPU_SETCW): Likewise.
31234
31235 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31236
31237         [BZ #14117]
31238         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31239         * sysdeps/x86/fpu/bits/mathinline.h: This.
31240         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31241
31242         [BZ #14050]
31243         [BZ #14117]
31244         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31245         functions if __x86_64__ is defined.
31246
31247 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
31248
31249         * string/endian.h: Add !__ASSEMBLER__ condition for including
31250         conversion interfaces.
31251
31252 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
31253
31254         [BZ #14241]
31255         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31256         of ABS(x) in calculating zero to negative powers other than odd
31257         integers.
31258         * math/libm-test.inc (pow_test): Add more tests.
31259
31260 2012-06-15  Andreas Jaeger  <aj@suse.de>
31261
31262         * manual/contrib.texi (Contributors): Update entry of Liubov
31263         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31264         Machado Filho.
31265
31266 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
31267
31268         * string/string.h: Add __wur to GNU version of strerror_r.
31269
31270 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
31271
31272         [BZ #14229]
31273         * string/Makefile (tests): Add tst-strtok_r.
31274         * string/tst-strtok_r.c: New file.
31275         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31276         RAX_LP/RDX_LP on SAVE_PTR.
31277
31278 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31279
31280         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31281
31282 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
31283
31284         * libm_test.inc (csqrt_test): Allow more spurious underflow
31285         exceptions.
31286         (j0_test): Likewise.
31287         (j1_test): Likewise.
31288         (y0_test): Likewise.
31289         (y1_test): Likewise.
31290
31291 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
31292
31293         * po/Makefile (libc.pot): Use UTF-8 charset.
31294
31295 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
31296
31297         [BZ #14210]
31298         Suppress sign-conversion warning from FD_SET.
31299         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31300         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31301         not unsigned long int.
31302         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31303
31304 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
31305
31306         [BZ #14050]
31307         [BZ #14117]
31308         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31309         __extern_always_inline instead of __extern_inline.
31310         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31311         (__signbit): Likewise.
31312         (__signbitl): Support C++ namespace.
31313         (lrintf): New inline function.
31314         (lrint): Likewise.
31315         (llrintf): Likewise.
31316         (llrint): Likewise.
31317         (fmaxf): Likewise.
31318         (fmax): Likewise.
31319         (fminf): Likewise.
31320         (fmin): Likewise.
31321         (rint): Likewise.
31322         (rintf): Likewise.
31323         (ceil): Likewise.
31324         (ceilf): Likewise.
31325         (floor): Likewise.
31326         (floorf): Likewise.
31327         (nearbyint): Likewise.
31328         (nearbyintf): Likewise.
31329
31330 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
31331
31332         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31333         non-default versions.
31334
31335 2012-06-11  Roland McGrath  <roland@hack.frob.com>
31336
31337         [BZ #14218]
31338         * manual/argp.texi (Argp): Reword argp_parse description slightly.
31339
31340 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
31341
31342         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31343         (FE_UPWARD, FE_DOWNWARD): Don't define.
31344         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31345         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31346
31347         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31348         reading it.
31349         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31350         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31351
31352 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31353
31354         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31355         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31356         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31357         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31358
31359 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
31360
31361         [BZ #14117]
31362         * sysdeps/i386/fpu/bits/fenv.h: Removed.
31363         * sysdeps/i386/fpu/Implies: New file.
31364         * sysdeps/x86_64/fpu/Implies: Likewise.
31365         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31366         * sysdeps/x86/fpu/bits/fenv.h: This.
31367
31368         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31369         __SSE_MATH__.
31370
31371 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31372
31373         [BZ #14134]
31374         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31375         character 0xffff that matches the last element of the
31376         conversion table.
31377
31378 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31379
31380         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31381         fmodl commit.
31382
31383 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31384
31385         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31386         values higher than 25.6283.
31387
31388 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31389
31390         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31391         subnormal exponent extraction and add some __builtin_expect.
31392         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31393         Fix for subnormal mantissa calculation.
31394
31395 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
31396
31397         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31398         cpu2 is -1 and errno is not ENOSYS.
31399
31400 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
31401
31402         [BZ #14117]
31403         * sysdeps/i386/i486/bits/string.h: Renamed to ...
31404         * sysdeps/x86/bits/string.h: This.
31405         * sysdeps/x86_64/bits/string.h: Removed.
31406
31407         * sysdeps/i386/i486/bits/string.h: Define inline functions only
31408         if not compiling for x86-64, but compiling for >= i486.
31409
31410         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31411         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31412
31413         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31414         New macro from Linux kernel 3.4.0.
31415         (FP_XSTATE_MAGIC2): Likewise.
31416         (FP_XSTATE_MAGIC2_SIZE): Likewise.
31417         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31418         (struct _fpx_sw_bytes): New struct.
31419         (struct _xsave_hdr): Likewise.
31420         (struct _ymmh_state): Likewise.
31421         (struct _xstate): Likewise.
31422
31423         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31424         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31425         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31426         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31427         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31428         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31429
31430         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31431         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31432         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31433         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31434         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31435         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31436
31437 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31438
31439         [BZ #13743]
31440         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31441         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31442         (sysdep_headers): Include sys/platform/ppc.h.
31443         * sysdeps/powerpc/test-gettimebase.c: Test for
31444         __ppc_get_timebase() to catch future ISA opcode/insn changes.
31445         * manual/Makefile (appendices): Include platform.texi.
31446         * manual/contrib.texi (Contributors): Update @node pointers.
31447         * manual/maint.texi (Maintenance): Likewise.
31448         (Platform): New node.
31449         * manual/platform.texi: New file.  Document the new features.
31450
31451 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31452             Jakub Jelinek  <jakub@redhat.com>
31453
31454         [BZ #14188]
31455         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31456         where __builtin_expect is unavailable.
31457
31458 2012-06-03  David S. Miller  <davem@davemloft.net>
31459
31460         * stdlib/longlong.h: Updated from GCC.
31461
31462 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
31463
31464         [BZ #14042]
31465         * sysdeps/powerpc/powerpc32/mcount.c: New file.
31466         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31467         __mcount_internal.
31468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31469         (GLIBC_2.16): Likewise.
31470
31471 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31472
31473         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31474
31475 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31476
31477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31478         (default-abi): New variable.
31479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31480         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31481         variable.
31482         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31483         Likewise.
31484         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31485         Likewise.
31486         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31487         Likewise.
31488
31489         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31490         definition.  Document in comment.
31491
31492 2012-06-01  David S. Miller  <davem@davemloft.net>
31493
31494         * stdlib/longlong.h: Updated from GCC.
31495
31496 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31497
31498         [BZ #14117]
31499         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31500         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31501         sys/debugreg.h sys/io.h here.
31502         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31503         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31504         sys/io.h.
31505         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31506         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31507         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31508         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31509         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31510         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31511
31512         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31513         Define only if __x86_64__ is defined.
31514
31515 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31516
31517         [BZ #14048]
31518         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31519         Use int64_t for variable i.
31520         * math/libm-test.inc (fmod_test): Add more tests.
31521
31522         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31523         z computation is not scheduled after fetestexcept.
31524         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31525         Use math_force_eval instead of asm to ensure calculation scheduled
31526         before exception test.
31527         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31528         Ensure a1 + u.d computation is not scheduled after fetestexcept.
31529
31530 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
31531
31532         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31533         computation is not scheduled after fetestexcept.
31534
31535 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31536
31537         [BZ #14117]
31538         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31539         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31540
31541 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31542
31543         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31544         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31545
31546 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31547
31548         [BZ #14117]
31549         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31550         <bits/wordsize.h>.
31551         (__WCHAR_MIN): Support __WORDSIZE == 64.
31552         (__WCHAR_MAX): Likewise.
31553
31554         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31555         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31556
31557         [BZ #14183]
31558         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31559         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31560
31561         [BZ #14117]
31562         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31563         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31564
31565         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31566         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31567
31568         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31569         Defined to 1 if __x86_64__ isn't defined.
31570         (_STAT_VER_LINUX_OLD): New.
31571         (st_atime): Remove duplicate.
31572         (st_mtime): Likewise.
31573         (st_ctime): Likewise.
31574
31575 2012-05-31  David S. Miller  <davem@davemloft.net>
31576
31577         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31578         entries.
31579
31580 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
31581
31582         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31583         gen-libm-test.pl.
31584
31585         [BZ #14132]
31586         * elf/dl-reloc.c: Include <_itoa.h>.
31587         (_dl_reloc_bad_type): Remove use of INTUSE.
31588         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31589         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31590         * stdio-common/psiginfo.c (psiginfo): Likewise.
31591         * stdio-common/psignal.c (psignal): Likewise.
31592         * string/strsignal.c (strsignal): Likewise.
31593         * include/signal.h (_sys_siglist): Declare hidden proto.
31594         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
31595         INTVARDEF with libc_hidden_data_def.
31596         * stdio-common/itoa-udigits.c: Likewise.
31597         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31598         (_itoa_lower_digits_internal): Remove declaration.
31599         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31600         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31601         (_sys_sigabbrev_internal): Remove aliases.
31602         (_sys_siglist): Define hidden alias.
31603
31604 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
31605
31606         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31607         bits/sysctl.h.
31608
31609 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31610
31611         [BZ #14117]
31612         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31613         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31614
31615         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31616         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31617         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31618         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31619         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31620         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31621
31622         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31623         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31624         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31625
31626         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31627         with __addr.
31628         (insw): Likewise.
31629         (insl): Likewise.
31630         (outsb): Likewise.
31631         (outsw): Likewise.
31632         (outsl): Likewise.
31633
31634         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31635         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31636         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31637
31638         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31639         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31640         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31641         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31642         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31643         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31644
31645         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31646         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31647
31648         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31649         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31650
31651         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31652         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31653         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31654
31655         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31656         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31657         to ...
31658         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31659
31660         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31661         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31662         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31663
31664         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31665         for x86-64.
31666         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31667
31668 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
31669
31670         * math/math.h (M_El): Use two more decimal places.
31671         (M_LOG2El): Likewise.
31672         (M_LOG10El): Likewise.
31673         (M_LN2l): Likewise.
31674         (M_LN10l): Likewise.
31675         (M_PIl): Likewise.
31676         (M_PI_2l): Likewise.
31677         (M_PI_4l): Likewise.
31678         (M_1_PIl): Likewise.
31679         (M_2_PIl): Likewise.
31680         (M_2_SQRTPIl): Likewise.
31681         (M_SQRT2l): Likewise.
31682         (M_SQRT1_2l): Likewise.
31683
31684 2012-05-31  David S. Miller  <davem@davemloft.net>
31685
31686         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31687         values between float registers.
31688         * sysdeps/sparc/sparc64/memset.S: Likewise.
31689         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31690
31691 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
31692
31693         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31694         -D_FORTIFY_SOURCE=1.
31695         (CPPFLAGS-tst-longjmp_chk.c): Define.
31696         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31697         (CPPFLAGS-tst-longjmp_chk2.c): Define.
31698         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31699         CFLAGS-tst-wchar-h.c.
31700
31701 2012-05-31  Marek Polacek  <polacek@redhat.com>
31702
31703         [BZ #14132]
31704         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31705         __endmntent_internal): Remove declaration.
31706         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31707         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31708         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31709
31710 2012-05-30  David S. Miller  <davem@davemloft.net>
31711
31712         * sysdeps/sparc/sparc32/soft-fp/q_util.c
31713         (___Q_simulate_exceptions): Use real FP ops rather than writing
31714         into the %fsr.
31715         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31716         Likewise.
31717
31718 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31719
31720         [BZ #14117]
31721         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31722         * sysdeps/x86/bits/xtitypes.h: This.
31723
31724         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31725         * sysdeps/x86/bits/wordsize.h: This.
31726
31727         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31728         * sysdeps/x86/bits/huge_vall.h: This.
31729
31730         * sysdeps/i386/bits/select.h: Removed.
31731         * sysdeps/x86_64/bits/select.h: Renamed to ...
31732         * sysdeps/x86/bits/select.h: This.
31733
31734         * sysdeps/i386/bits/setjmp.h: Removed.
31735         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31736         * sysdeps/x86/bits/setjmp.h: This.
31737
31738         * sysdeps/i386/bits/mathdef.h: Removed.
31739         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31740         * sysdeps/x86/bits/mathdef.h: This.
31741
31742 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
31743
31744         [BZ #14132]
31745         * include/sys/socket.h (__connect_internal)
31746         (__libc_sa_len_internal): Remove declaration.
31747         (__connect, __libc_sa_len): Declare hidden_proto.
31748         (SA_LEN): Remove use of INTUSE.
31749         * socket/connect.c: Add libc_hidden_def.
31750         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31751         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31752         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31753         alias.
31754         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31755         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31756         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31757         of adding _internal alias.
31758
31759 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31760
31761         [BZ #14117]
31762         * sysdeps/i386/bits/link.h: Removed.
31763         * sysdeps/i386/bits/linkmap.h: Likewise.
31764         * sysdeps/x86_64/bits/link.h: Renamed to ...
31765         * sysdeps/x86/bits/link.h: This.
31766         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31767         * sysdeps/x86/bits/linkmap.h: This.
31768
31769         * sysdeps/i386/bits/endian.h: Removed.
31770         * sysdeps/x86_64/bits/endian.h: Renamed to ...
31771         * sysdeps/x86/bits/endian.h: This.
31772
31773         * sysdeps/i386/bits/byteswap.h: Removed.
31774         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31775         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31776         * sysdeps/x86/bits/byteswap.h: This.
31777         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31778         * sysdeps/x86/bits/byteswap-16.h: This.
31779         * sysdeps/i386/Implies: Add x86.
31780         * sysdeps/x86_64/Implies: Likewise.
31781
31782 2012-05-30  David S. Miller  <davem@davemloft.net>
31783
31784         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31785         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31786         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31787         (FP_TRAPPING_EXCEPTIONS): Define.
31788         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31789         (FP_TRAPPING_EXCEPTIONS): Define.
31790         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31791         subnormals only when inexact has been signalled or underflow
31792         exceptions are enabled.
31793         (_FP_PACK_CANONICAL): Likewise.
31794
31795 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31796
31797         [BZ #14183]
31798         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31799         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31800
31801 2012-05-30  Richard Henderson  <rth@twiddle.net>
31802
31803         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31804         with #ifndef NOT_IN_libc.
31805
31806         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
31807         marked to avoid plt entry.
31808
31809 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31810
31811         [BZ #14112]
31812         * Makeconfig (default-abi): New macro.
31813         (abi-includes): Likewise.
31814         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
31815         $(abi-$(default-abi)-lib-soname) for soname if defined.
31816         ($(common-objpfx)gnu/lib-names.stmp): Generate from
31817         abi-variants.
31818         * Makefile (installed-stubs): Likewise.
31819         * include/stubs-biarch.h: Removed.
31820         * scripts/lib-names.awk: Only handle one library at a time.
31821         * scripts/soversions.awk: Remove WORDSIZE support.
31822         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31823         entries.
31824         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31825         Removed.
31826         (syscall-list-default-condition): Likewise.
31827         (syscall-list-default-condition): Likewise.
31828         (syscall-list-includes): Likewise.
31829         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31830         syscall-list-* with abi-*.  Handle undefined abi-variants.
31831         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31832         * sysdeps/unix/sysv/linux/i386/Implies: New file.
31833         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31834         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31835         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31836         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31837         Removed.
31838         (syscall-list-32-options): Likewise.
31839         (syscall-list-32-condition): Likewise.
31840         (syscall-list-64-options): Likewise.
31841         (syscall-list-64-condition): Likewise.
31842         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31843         macro.
31844         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31845         Renamed to ...
31846         (abi-*): This.
31847         (abi-64-ld-soname): New macro.
31848         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31849         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31850         Renamed to ...
31851         (abi-*): This.
31852         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31853         * sysdeps/x86_64/x32/shlib-versions: Likewise.
31854
31855 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
31856
31857         * sysdeps/unix/sysv/linux/kernel-features.h
31858         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31859         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31860         include <kernel-features.h>.
31861         [!__NR_ftruncate64]: Remove conditional code.
31862         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31863         [__NR_ftruncate64]: Make code unconditional.
31864         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31865         * sysdeps/unix/sysv/linux/truncate64.c: Do not
31866         include <kernel-features.h>.
31867         [!__NR_ftruncate64]: Remove conditional code.
31868         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31869         [__NR_ftruncate64]: Make code unconditional.
31870         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31872         include <kernel-features.h>.
31873         [!__NR_ftruncate64]: Remove conditional code.
31874         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31875         [__NR_ftruncate64]: Make code unconditional.
31876         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31878         include <kernel-features.h>.
31879         [!__NR_ftruncate64]: Remove conditional code.
31880         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31881         [__NR_ftruncate64]: Make code unconditional.
31882         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31883
31884         * configure.in (libc_cv_fpie): Weaken to a compile test using
31885         LIBC_TRY_CC_OPTION.
31886         * configure: Regenerated.
31887
31888 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31889
31890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31894         Refreshed.
31895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31901         Refreshed.
31902
31903 2012-05-27  David S. Miller  <davem@davemloft.net>
31904
31905         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31906         (___Q_zero): New.
31907         (__Q_simulate_exceptions): Return void.  Change to simulate
31908         exceptions by writing into the %fsr.
31909         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31910         (__Qp_handle_exceptions): Likewise.
31911         (numbers): Delete.
31912         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31913         __Qp_handle_exceptions.
31914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31915         __Qp_handle_exceptions.
31916         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31917         as unused and give dummy FP_RND_NEAREST initializer.
31918         (FP_INHIBIT_RESULTS): Define.
31919         (___Q_simulate_exceptions): Update declaration.
31920         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31921         formatting.
31922         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31923         as unused and give dummy FP_RND_NEAREST initializer.
31924         (__Qp_handle_exceptions): Update declaration.
31925         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31926         formatting.
31927
31928 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
31929
31930         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31931         the temporary FPU control word.
31932         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31933         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31934         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31935         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31936         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31937         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31938         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31939         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31940         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31941         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31942         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31943
31944 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31945
31946         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31947         fields.
31948
31949 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
31950
31951         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31952         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31953         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31954         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31955         Likewise.
31956         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31957         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31958         Likewise.
31959
31960 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
31961
31962         * po/h.po: Update from translation team.
31963
31964 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
31965
31966         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31967
31968         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31969         handling of denormals.
31970         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31971         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31972         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31973         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31974         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31975         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31976         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31977         Likewise.
31978
31979 2012-05-26  Marek Polacek  <polacek@redhat.com>
31980
31981         [BZ #14152]
31982         * math/libm-test.inc (fma_test): Don't always expect underflow
31983         exception.
31984
31985 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31986
31987         [BZ #12416]
31988         * elf/tst-execstack.c: Include stackinfo.h.
31989         (do_test): Adjust test case to ensure that pthread_getattr_np
31990         behaviour remains the same after marking stack executable.
31991
31992 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31993
31994         * sysdeps/unix/sysv/linux/kernel-features.h
31995         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31996         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31997         kernel-features.h.
31998         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31999         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32000         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32001         kernel-features.h.
32002         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32003         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32004
32005 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32006
32007         * configure.in: Define the default includes to being none.
32008         * configure: Regenerated.
32009
32010 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32011
32012         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32013         * sysdeps/x86_64/setjmp.S: Likewise.
32014         * sysdeps/i386/bsd-setjmp.S: Likewise.
32015         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32016         * sysdeps/i386/setjmp.S: Likewise.
32017         * sysdeps/i386/__longjmp.S: Likewise.
32018         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32019         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32020
32021         * include/stap-probe.h: New file.
32022         * configure.in: Handle --enable-systemtap.
32023         * configure: Regenerated.
32024         * config.h.in (USE_STAP_PROBE): New #undef.
32025         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32026         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32027         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32028
32029 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32030
32031         [BZ #13717]
32032         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32033         to 2.4.0 where earlier.
32034         * sysdeps/unix/sysv/linux/configure: Regenerated.
32035         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32036         <kernel-features.h>.
32037         [__ASSUME_32BITUIDS]: Make code unconditional.
32038         [!__ASSUME_32BITUIDS]: Remove conditional code.
32039         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32040         <kernel-features.h>.
32041         [__ASSUME_32BITUIDS]: Make code unconditional.
32042         [!__ASSUME_32BITUIDS]: Remove conditional code.
32043         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32044         [__ASSUME_32BITUIDS]: Make code unconditional.
32045         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32046         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/i386/setegid.c: Do not include
32087         <kernel-features.h>.
32088         [__NR_setresgid] (__setresgid): Do not declare.
32089         [__ASSUME_32BITUIDS]: Make code unconditional.
32090         [!__ASSUME_32BITUIDS]: Remove conditional code.
32091         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32092         <kernel-features.h>.
32093         [__NR_setresuid] (__setresuid): Do not declare.
32094         [__ASSUME_32BITUIDS]: Make code unconditional.
32095         [!__ASSUME_32BITUIDS]: Remove conditional code.
32096         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32097         <kernel-features.h>.
32098         [__ASSUME_32BITUIDS]: Make code unconditional.
32099         [!__ASSUME_32BITUIDS]: Remove conditional code.
32100         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32101         <kernel-features.h>.
32102         [__ASSUME_32BITUIDS]: Make code unconditional.
32103         [!__ASSUME_32BITUIDS]: Remove conditional code.
32104         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32105         <kernel-features.h>.
32106         [__ASSUME_32BITUIDS]: Make code unconditional.
32107         [!__ASSUME_32BITUIDS]: Remove conditional code.
32108         * sysdeps/unix/sysv/linux/i386/setgroups.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/i386/setregid.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/i386/setresgid.c: Do not include
32117         <kernel-features.h>.
32118         [__ASSUME_32BITUIDS]: Make code unconditional.
32119         [!__ASSUME_32BITUIDS]: Remove conditional code.
32120         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32121         <kernel-features.h>.
32122         [__ASSUME_32BITUIDS]: Make code unconditional.
32123         [!__ASSUME_32BITUIDS]: Remove conditional code.
32124         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32125         <kernel-features.h>.
32126         [__ASSUME_32BITUIDS]: Make code unconditional.
32127         [!__ASSUME_32BITUIDS]: Remove conditional code.
32128         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32129         <kernel-features.h>.
32130         [__ASSUME_32BITUIDS]: Make code unconditional.
32131         [!__ASSUME_32BITUIDS]: Remove conditional code.
32132         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32133         <kernel-features.h>.
32134         [__ASSUME_32BITUIDS]: Make code unconditional.
32135         [!__ASSUME_32BITUIDS]: Remove conditional code.
32136         * sysdeps/unix/sysv/linux/kernel-features.h
32137         (__ASSUME_SETRESUID_SYSCALL): Remove.
32138         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32139         (__ASSUME_32BITUIDS): Likewise.
32140         (__ASSUME_LDT_WORKS): Likewise.
32141         (__ASSUME_O_DIRECTORY): Likewise.
32142         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32143         architecture but not kernel version.
32144         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32145         (__ASSUME_MMAP2_SYSCALL): Likewise.
32146         (__ASSUME_STAT64_SYSCALL): Likewise.
32147         (__ASSUME_IPC64): Likewise.
32148         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32149         <kernel-features.h>.
32150         [__ASSUME_32BITUIDS]: Make code unconditional.
32151         [!__ASSUME_32BITUIDS]: Remove conditional code.
32152         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32153         <kernel-features.h>.
32154         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32155         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32156         132096]: Remove conditional code.
32157         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32158         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32159         <kernel-features.h>.
32160         [__ASSUME_32BITUIDS]: Make code unconditional.
32161         [!__ASSUME_32BITUIDS]: Remove conditional code.
32162         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32163         <kernel-features.h>.
32164         [__ASSUME_32BITUIDS]: Make code unconditional.
32165         [!__ASSUME_32BITUIDS]: Remove conditional code.
32166         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32167         <kernel-features.h>.
32168         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32169         unconditional.
32170         (__setresgid): Do not declare.
32171         [__ASSUME_32BITUIDS]: Make code unconditional.
32172         [!__ASSUME_32BITUIDS]: Remove conditional code.
32173         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32174         <kernel-features.h>.
32175         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32176         unconditional.
32177         (__setresuid): Do not declare.
32178         [__ASSUME_32BITUIDS]: Make code unconditional.
32179         [!__ASSUME_32BITUIDS]: Remove conditional code.
32180         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32181         <kernel-features.h>.
32182         [__ASSUME_32BITUIDS]: Make code unconditional.
32183         [!__ASSUME_32BITUIDS]: Remove conditional code.
32184         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32185         <kernel-features.h>.
32186         [__ASSUME_32BITUIDS]: Make code unconditional.
32187         [!__ASSUME_32BITUIDS]: Remove conditional code.
32188
32189 2012-05-25  Richard Henderson  <rth@twiddle.net>
32190
32191         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32192         dl_hwcap to ifunc resolver.
32193         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32194         elf_ifunc_invoke.
32195         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32196         dl_hwcap to ifunc resolver.
32197         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32198
32199 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32200
32201         [BZ #14153]
32202         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32203         for |x| <= 2**-26, not 2**-57.
32204         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32205         exception.
32206
32207 2012-05-24  Jeff Law  <law@redhat.com>
32208
32209         * stdio-common/Makefile (tests): Add bug25.
32210         * stdio-common/bug25.c: New test.
32211
32212 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32213
32214         [BZ #13576]
32215         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32216         multiple of MALLOC_ALIGNMENT in size.
32217         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32218
32219 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32220
32221         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32222         Require >= 256.
32223         (FILENAME_MAX): Use macro-int-constant.
32224         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32225         (_IOFBF): Use macro-int-constant.
32226         (_IOLBF): Likewise.
32227         (_IONBF): Likewise.
32228         (SEEK_CUR): Likewise.
32229         (SEEK_END): Likewise.
32230         (SEEK_SET): Likewise.
32231         (TMP_MAX): Likewise.
32232         (EOF): Use macro-int-constant.  Require < 0.
32233         (NULL): Use macro-constant.  Require == 0.
32234         (stdin): Require type to be FILE *.
32235         (stdout): Likewise.
32236         (stderr): Likewise.
32237         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32238         macro-int-constant.
32239         (EXIT_SUCCESS): Likewise.
32240         (NULL): Use macro-constant.  Require == 0.
32241         (RAND_MAX): Use macro-int-constant.
32242         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32243         [C99-based standards] (strtof): Require function.
32244         [C99-based standards] (strtold): Likewise.
32245         [C99-based standards] (strtoll): Likewise.
32246         [C99-based standards] (strtoull): Likewise.
32247         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32248         [ISO || ISO99 || ISO11] (limits.h): Likewise.
32249         [ISO || ISO99 || ISO11] (math.h): Likewise.
32250         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32251         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32252         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32253
32254 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
32255
32256         [BZ #14132]
32257         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32258         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32259         * intl/dgettext.c (DCGETTEXT): Likewise.
32260         * intl/gettext.c (DCGETTEXT): Likewise.
32261         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32262         * posix/regex_internal.h (gettext): Likewise.
32263         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32264         Remove declaration.
32265         * include/argz.h (__argz_count_internal)
32266         (__argz_stringify_internal): Remove declaration.
32267         (__argz_count, __argz_stringify): Declare hidden proto.
32268         * intl/dcgettext.c: Remove use of INTDEF.
32269         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32270         * string/argz-stringify.c: Likewise.
32271         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32272         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32273         Declare hidden proto.
32274         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32275         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32276         Declare hidden proto.
32277         * include/stdio.h (__asprintf_internal): Don't declare.
32278         (__asprintf): Don't define as macro.  Declare hidden proto.
32279         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32280         (__fsetlocking): Declare hidden proto.
32281         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32282         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32283         hidden proto.
32284         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32285         (_IO_setlinebuf): Remove use of INTUSE.
32286         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32287         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32288         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32289         Remove declaration.
32290         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32291         (_IO_do_flush): Remove use of INTUSE.
32292         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32293         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32294         (_IO_adjust_column, _IO_least_wmarker)
32295         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32296         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32297         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32298         (_IO_default_doallocate, _IO_wdefault_doallocate)
32299         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32300         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32301         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32302         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32303         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32304         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32305         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32306         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32307         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32308         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32309         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32310         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32311         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32312         proto.
32313         (_IO_flush_all_internal, _IO_adjust_column_internal)
32314         (_IO_default_uflow_internal, _IO_default_finish_internal)
32315         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32316         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32317         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32318         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32319         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32320         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32321         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32322         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32323         (_IO_file_close_internal, _IO_file_close_it_internal)
32324         (_IO_file_underflow_internal, _IO_file_overflow_internal)
32325         (_IO_file_init_internal, _IO_file_attach_internal)
32326         (_IO_file_fopen_internal, _IO_file_read_internal)
32327         (_IO_file_sync_internal, _IO_file_seek_internal)
32328         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32329         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32330         (_IO_str_underflow_internal, _IO_str_overflow_internal)
32331         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32332         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32333         (_IO_list_all_internal, _IO_link_in_internal)
32334         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32335         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32336         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32337         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32338         (_IO_do_write_internal, _IO_padn_internal)
32339         (_IO_getline_info_internal, _IO_getline_internal)
32340         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32341         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32342         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32343         (_IO_vfscanf_internal, _IO_vfprintf_internal)
32344         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32345         (_IO_init_internal, _IO_un_link_internal): Don't declare.
32346         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32347         with libc_hidden_ver, remove use of INTUSE.
32348         * libio/genops.c: Likewise.
32349         * libio/freopen.c: Likewise.
32350         * libio/freopen64.c: Likewise.
32351         * libio/iofclose.c: Likewise.
32352         * libio/iofdopen.c: Likewise.
32353         * libio/iofflush.c: Likewise.
32354         * libio/iofflush_u.c: Likewise.
32355         * libio/iofgets.c: Likewise.
32356         * libio/iofgets_u.c: Likewise.
32357         * libio/iofopen.c: Likewise.
32358         * libio/iofopncook.c: Likewise.
32359         * libio/iofread.c: Likewise.
32360         * libio/iofread_u.c: Likewise.
32361         * libio/ioftell.c: Likewise.
32362         * libio/iofwrite.c: Likewise.
32363         * libio/iogetline.c: Likewise.
32364         * libio/iogets.c: Likewise.
32365         * libio/iogetwline.c: Likewise.
32366         * libio/iopadn.c: Likewise.
32367         * libio/iopopen.c: Likewise.
32368         * libio/ioseekoff.c: Likewise.
32369         * libio/ioseekpos.c: Likewise.
32370         * libio/iosetbuffer.c: Likewise.
32371         * libio/iosetvbuf.c: Likewise.
32372         * libio/ioungetc.c: Likewise.
32373         * libio/ioungetwc.c: Likewise.
32374         * libio/iovdprintf.c: Likewise.
32375         * libio/iovsprintf.c: Likewise.
32376         * libio/iovsscanf.c: Likewise.
32377         * libio/memstream.c: Likewise.
32378         * libio/obprintf.c: Likewise.
32379         * libio/oldfileops.c: Likewise.
32380         * libio/oldiofclose.c: Likewise.
32381         * libio/oldiofdopen.c: Likewise.
32382         * libio/oldiofopen.c: Likewise.
32383         * libio/oldiopopen.c: Likewise.
32384         * libio/oldstdfiles.c: Likewise.
32385         * libio/putc.c: Likewise.
32386         * libio/setbuf.c: Likewise.
32387         * libio/setlinebuf.c: Likewise.
32388         * libio/stdfiles.c: Likewise.
32389         * libio/strops.c: Likewise.
32390         * libio/vasprintf.c: Likewise.
32391         * libio/vscanf.c: Likewise.
32392         * libio/vsnprintf.c: Likewise.
32393         * libio/vswprintf.c: Likewise.
32394         * libio/wfiledoalloc.c: Likewise.
32395         * libio/wfileops.c: Likewise.
32396         * libio/wgenops.c: Likewise.
32397         * libio/wmemstream.c: Likewise.
32398         * libio/wstrops.c: Likewise.
32399         * libio/__fpurge.c: Likewise.
32400         * libio/__fsetlocking.c: Likewise.
32401         * assert/assert.c: Likewise.
32402         * debug/fgets_chk.c: Likewise.
32403         * debug/fgets_u_chk.c: Likewise.
32404         * debug/fread_chk.c: Likewise.
32405         * debug/fread_u_chk.c: Likewise.
32406         * debug/gets_chk.c: Likewise.
32407         * debug/obprintf_chk.c: Likewise.
32408         * debug/vasprintf_chk.c: Likewise.
32409         * debug/vdprintf_chk.c: Likewise.
32410         * debug/vsnprintf_chk.c: Likewise.
32411         * debug/vsprintf_chk.c: Likewise.
32412         * malloc/mtrace.c: Likewise.
32413         * misc/error.c: Likewise.
32414         * misc/syslog.c: Likewise.
32415         * stdio-common/asprintf.c: Likewise.
32416         * stdio-common/fxprintf.c: Likewise.
32417         * stdio-common/getw.c: Likewise.
32418         * stdio-common/isoc99_fscanf.c: Likewise.
32419         * stdio-common/isoc99_scanf.c: Likewise.
32420         * stdio-common/isoc99_vfscanf.c: Likewise.
32421         * stdio-common/isoc99_vscanf.c: Likewise.
32422         * stdio-common/isoc99_vsscanf.c: Likewise.
32423         * stdio-common/printf-prs.c: Likewise.
32424         * stdio-common/printf_fp.c: Likewise.
32425         * stdio-common/printf_fphex.c: Likewise.
32426         * stdio-common/printf_size.c: Likewise.
32427         * stdio-common/putw.c: Likewise.
32428         * stdio-common/scanf.c: Likewise.
32429         * stdio-common/sprintf.c: Likewise.
32430         * stdio-common/tmpfile.c: Likewise.
32431         * stdio-common/vfprintf.c: Likewise.
32432         * stdio-common/vfscanf.c: Likewise.
32433         * stdlib/strfmon_l.c: Likewise.
32434         * sunrpc/openchild.c: Likewise.
32435         * sunrpc/xdr_stdio.c: Likewise.
32436         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32437         * sysdeps/mach/hurd/tmpfile.c: Likewise.
32438
32439 2012-05-24  Roland McGrath  <roland@hack.frob.com>
32440
32441         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32442
32443         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32444         in the third column, to generate for the shared library an IFUNC
32445         that uses _dl_vdso_vsym.
32446         * Makerules (COMPILE.c, compile-stdin.c): New variables.
32447         * Makeconfig (object-suffixes-noshared): New variable.
32448
32449         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32450         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32451         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32452         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32453
32454         [BZ #14132]
32455         * include/sys/time.h (__gettimeofday): Remove macro.
32456         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32457         * time/gettimeofday.c (__gettimeofday): Remove #undef.
32458         Remove INTDEF.
32459         (__gettimeofday): Add libc_hidden_def.
32460         (gettimeofday): Add libc_hidden_weak.
32461         * sysdeps/mach/gettimeofday.c: Likewise.
32462         * sysdeps/posix/gettimeofday.c: Likewise.
32463         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32464         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32465         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32466         (__gettimeofday_internal): Remove strong_alias.
32467         (__gettimeofday): Add libc_hidden_def.
32468         (gettimeofday): Add libc_hidden_weak.
32469         * sysdeps/unix/syscalls.list (gettimeofday):
32470         Remove __gettimeofday_internal alias.
32471
32472 2012-05-24  Daniel Jacobowitz  <drow@false.org>
32473             H.J. Lu  <hongjiu.lu@intel.com>
32474
32475         [BZ #12495]
32476         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32477         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32478         (largebin_index_32_big): New.
32479         (largebin_index): Use it for 16-byte alignment.
32480         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
32481         correction with front_misalign.
32482
32483 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32484
32485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32486         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32487         Likewise.
32488         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32489         Likewise.
32490         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32491         Likewise.
32492         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32493         Likewise.
32494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32495         Likewise.
32496         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32497         Likewise.
32498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32499         Likewise.
32500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32501         Likewise.
32502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32503         Likewise.
32504         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32505         Likewise.
32506         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32507         Likewise.
32508         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32509         Likewise.
32510
32511         * scripts/data/c++-types-x32-linux-gnu.data: New file.
32512         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32513
32514 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32515
32516         [BZ #10846]
32517         [BZ #14036]
32518         * math/libm-test.inc (exp_test): Add test from bug 14036.
32519         (pow_test): Add test from bug 10846.
32520
32521         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32522         and other flags.
32523         (special_function): Do not include flags in test name.
32524         (parse_args): Likewise.
32525         * sysdeps/i386/fpu/libm-test-ulps: Update.
32526         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32527         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32528         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32530
32531         * math/gen-libm-test.pl (%beautify): Add entries for underflow
32532         exceptions.
32533         * math/libm-test.inc ("Philosophy"): Update comment about
32534         exception testing.
32535         (UNDERFLOW_EXCEPTION): New macro.
32536         (UNDERFLOW_EXCEPTION_OK): Likewise.
32537         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32538         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32539         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32540         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32541         (INVALID_EXCEPTION_OK): Update value.
32542         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32543         (OVERFLOW_EXCEPTION_OK): Likewise.
32544         (IGNORE_ZERO_INF_SIGN): Likewise.
32545         (test_exceptions): Handle underflow exceptions.
32546         (acos_test): Update for underflow exception expectations.
32547         (cexp_test): Likewise.
32548         (clog_test): Likewise.
32549         (clog10_test): Likewise.
32550         (csqrt_test): Likewise.
32551         (ctan_test): Likewise.
32552         (ctanh_test): Likewise.
32553         (exp_test): Likewise.
32554         (exp10_test): Likewise.
32555         (exp2_test): Likewise.
32556         (expm1_test): Likewise.
32557         (fma_test): Likewise.
32558         (j0_test): Likewise.
32559         (jn_test): Likewise.
32560         (nexttoward_test): Likewise.
32561         (pow_test): Likewise.
32562         (scalbn_test): Likewise.
32563         (scalbln_test): Likewise.
32564         (tan_test): Likewise.
32565         (y1_test): Likewise.
32566         * sysdeps/i386/fpu/libm-test-ulps: Update.
32567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32568
32569 2012-05-23  David S. Miller  <davem@davemloft.net>
32570
32571         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32572         (__libc_sigaction): Remove unused local variables.
32573
32574 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32575
32576         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32577
32578 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
32579
32580         mktime: avoid signed integer overflow
32581         * time/mktime.c (__mktime_internal): Do not mishandle the case
32582         where diff == INT_MIN.
32583
32584         mktime: simplify computation of average
32585         * time/mktime.c (ranged_convert): Use new time_t_avg function
32586         instead of rolling our own (probably-slower) code.
32587
32588         mktime: do not assume signed right shift propagates sign bit
32589         * time/mktime.c (isdst_differ): New static function.
32590         (__mktime_internal): No need to normalize tm_isdst now.
32591         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32592         tm_isdst values.
32593
32594         mktime: merge another wrapv change from gnulib
32595         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32596         from some compilers.
32597
32598         mktime: remove incorrect attempt at unusual arithmetics
32599         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32600         The code didn't really work on such machines anyway.
32601         (TYPE_MINIMUM): Assume two's complement.
32602         (twos_complement_arithmetic): Verify that long_int and time_t
32603         are two's complement (or unsigned, in the latter case).
32604
32605         mktime: check signed shifts on long_int and time_t, too
32606         * time/mktime.c (SHR): Check that shifts work as desired
32607         on the types long_int and time_t too, as SHR is used on
32608         such types.
32609
32610         mktime: do not assume 'long' is wide enough
32611         * time/mktime.c (verify): Move decl up.
32612         (long_int): New type.
32613         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32614         to remove assumption in the code that 'long' is wide enough to
32615         store year values.  This assumption is not true on x32 and on
32616         some non-glibc platforms.
32617
32618         mktime: merge wrapv change from gnulib
32619         * time/mktime.c (WRAPV): New macro.
32620         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32621         (guess_time_tm, __mktime_internal): Do not assume that signed
32622         integer overflow wraps around; modern compilers generate code
32623         where this assumption is no longer valid.
32624
32625 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32626
32627         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32628         Replace "jmp L(pseudo_end)" with "ret".
32629         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32630         Likewise.
32631
32632 2012-05-23  Andreas Jaeger  <aj@suse.de>
32633
32634         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32635         * sysdeps/unix/sysv/linux/poll.c: Remove file.
32636
32637 2012-05-23  Andreas Jaeger  <aj@suse.de>
32638             Maximilian Attems  <max@stro.at>
32639
32640         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32641         New macros.
32642
32643 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32644
32645         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32646         code so that pseudo_end is just ret and the stack pointer is
32647         correct also for static library in error case.
32648
32649 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
32650
32651         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32652         move to syscalls.list.
32653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32657
32658         * manual/install.texi (Running make install): Do not mention Linux
32659         kernel version for which pt_chown is not needed.
32660         (Linux): Do not mention problems with nscd with 2.0 kernels.
32661         * INSTALL: Regenerated.
32662
32663 2012-05-23  Andreas Jaeger  <aj@suse.de>
32664
32665         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32666         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32667         macro.
32668         * sysdeps/unix/sysv/linux/s390/bits/mman.h
32669         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32670         * sysdeps/unix/sysv/linux/sh/bits/mman.h
32671         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32672         * sysdeps/unix/sysv/linux/i386/bits/mman.h
32673         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32674         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32675         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32676         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32677         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32678         * sysdeps/unix/sysv/linux/bits/in.h
32679         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32680
32681 2012-05-22  Roland McGrath  <roland@hack.frob.com>
32682
32683         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32684         (PREPARE_VERSION): Just use assert instead, it will be elided
32685         under [NDEBUG] anyway.
32686
32687 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32688
32689         * sysdeps/unix/sysv/linux/Makefile: Include
32690         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32691         (sysdep_routines): Remove sysctl.
32692         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32693         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32694         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32695         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32696         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32697
32698 2012-05-22  Andreas Jaeger  <aj@suse.de>
32699
32700         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32701         that pseudo_end is just ret and the stack pointer is correct also
32702         for static library in error case.
32703
32704 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32705
32706         [BZ #14122]
32707         * nss/nsswitch.c (defconfig_entries): New variable.
32708         (__nss_database_lookup): Don't leak defconfig entries.
32709         (nss_parse_service_list): Don't leak on error paths.
32710         (free_database_entries): New function.
32711         (free_defconfig): New function.
32712         (free_mem): Move common code to free_database_entries.
32713
32714 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32715
32716         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32717         Add arch_prctl.
32718         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32719
32720         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32721         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32722         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32723         New macro.
32724         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32725         (INTERNAL_SYSCALL_TYPES): Likewise.
32726         (LOAD_ARGS_TYPES_[1-6]): Likewise.
32727         (LOAD_REGS_TYPES_[1-6]): Likewise.
32728         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32729         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32730
32731 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32732
32733         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32734         copysignl for GLIBC_2_0.
32735         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32736         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32737         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32738         logbl for GLIBC_2_0.
32739         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32740         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32741
32742 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32743
32744         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32745         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32746
32747         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32748         Use "neg %eax".
32749
32750         * time/mktime.c: Update copyright years.
32751
32752 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32753
32754         mktime: merge comment-quoting-style change from gnulib
32755         * time/mktime.c: Quote 'like this' in comments.
32756         The GNU coding standards suggest that we no longer quote `like this',
32757         as "`" and "'" are typically rendered asymmetrically nowadays.
32758         The typical gnulib style is to quote 'like this' when quoting
32759         code, and "like this" when quoting English.
32760
32761         * time/mktime.c (compile-command): Add "-I.".
32762
32763         mktime: merge mktime-internal.h change from gnulib
32764         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32765
32766         mktime: merge time_r change from gnulib
32767         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32768
32769         mktime: merge DEBUG change from gnulib
32770         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32771         case system <time.h> has a #define.
32772
32773         mktime: merge <sys/types.h> change from gnulib
32774         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32775         since <time.t> is now guaranteed to define time_t.
32776
32777         mktime: merge HAVE_CONFIG_H change from gnulib
32778         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32779
32780 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32781
32782         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32783         Use "neg %eax".
32784
32785         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32786         __rlim_t cast.
32787         (struct rusage): Use anonymous union to pad each field to
32788         __syscall_slong_t.
32789
32790 2012-05-21  David S. Miller  <davem@davemloft.net>
32791
32792         * Makefules (o-iterator): Remove .s cases.
32793         (compile-command.s): Delete.
32794         (COMPILE.s): Delete.
32795         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32796
32797 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
32798
32799         * configure.in (libc_cv_predef_stack_protector): Only consider
32800         "foobar" and "__stack_chk_fail" lines in libc_undefs.
32801         * configure: Regenerated.
32802
32803 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32804
32805         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32806         New macro.  Use R*LP on int and pointer.
32807         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32808         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32809         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32810         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32811
32812         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32813         [__WORDSIZE_TIME64_COMPAT32] instead of
32814         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32815         (struct utmp): Likewise.
32816         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32817         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32818         Renamed to ...
32819         (__WORDSIZE_TIME64_COMPAT32): This.
32820         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32821         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32822         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32823         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32824         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32825         (__WORDSIZE_TIME64_COMPAT32): New macro.
32826
32827 2012-05-21  Andreas Jaeger  <aj@suse.de>
32828
32829         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32830         only if [SHARED]. Add prototype for __wcschr_ia32.
32831
32832 2012-05-21  Roland McGrath  <roland@hack.frob.com>
32833
32834         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32835         of %rbp unmolested in the jmp_buf while mangling the low bits.
32836         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32837         unmolested high bits of %rbp while demangling the low bits.
32838         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32839
32840 2012-05-21  Andreas Jaeger  <aj@suse.de>
32841
32842         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32843         * sunrpc/svc_simple.c: Use it for registerrpc.
32844         * sunrpc/xcrypt.c: Use it for passwd2des.
32845
32846         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32847
32848 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32849
32850         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32851         Don't define if [__SYSCALL_WORDSIZE != 32].
32852         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32853         New macro.
32854
32855 2012-05-21  Bruno Haible  <bruno@clisp.org>
32856             Andreas Jaeger  <aj@suse.de>
32857
32858         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32859         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32860         inptr and inend for must_buffer_ch.
32861         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32862         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32863         * stdio-common/Makefile (tests): Remove bug15.
32864         (bug15-ENV): Remove macro.
32865         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32866         anymore.
32867
32868 2012-05-19  Andreas Jaeger  <aj@suse.de>
32869             Roland McGrath  <roland@hack.frob.com>
32870
32871         * manual/contrib.texi: Completely rewritten. It contains now an
32872         alphabetical list of contributors and their contributions.
32873
32874 2012-05-21  Richard Henderson  <rth@twiddle.net>
32875
32876         * misc/getauxval.c (__getauxval): Use unsigned long int.
32877         * misc/sys/auxv.h: Include <sys/cdefs.h>.
32878         (getauxval): Use unsigned long int.
32879
32880 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32881
32882         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32883
32884 2012-05-21  Roland McGrath  <roland@hack.frob.com>
32885
32886         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32887         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32888         __alignof__ (long double).
32889
32890 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32891
32892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32893
32894 2012-05-20  Richard Henderson  <rth@twiddle.net>
32895
32896         * misc/getauxval.c: New file.
32897         * misc/sys/auxv.h: New file.
32898         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32899         (routines): Add getauxval.
32900         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32901         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32902         * elf/dl-sysdep.c (_dl_auxv): Remove.
32903         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32904         * elf/dl-support.c (_dl_auxv): New variable.
32905         (_dl_aux_init): Initialize it.
32906         * manual/startup.texi (Auxiliary Vector): New node.
32907         * sysdeps/generic/bits/hwcap.h: New file.
32908         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32909         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
32910         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32911         * sysdeps/sparc/sysdep.h: ... here.  Include it.
32912         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32913         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32915         Update.
32916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32919         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32920         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32924
32925 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32926
32927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32928
32929 2012-05-19  David S. Miller  <davem@davemloft.net>
32930
32931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32932
32933 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32934
32935         [BZ #14123]
32936         * math/s_ccosh.c: Include <float.h>
32937         (__ccosh): Avoid internal overflow calculating sinh and cosh
32938         values before multiplying by sin and cos values.
32939         * math/s_ccoshf.c: Likewise.
32940         * math/s_ccoshl.c: Likewise.
32941         * math/s_csin.c: Likewise.
32942         * math/s_csinf.c: Likewise.
32943         * math/s_csinl.c: Likewise.
32944         * math/s_csinh.c: Likewise.
32945         * math/s_csinhf.c: Likewise.
32946         * math/s_csinhl.c: Likewise.
32947         * math/libm-test.inc (ccos_test): Add more tests.
32948         (ccosh_test): Likewise.
32949         (csin_test): Likewise.
32950         (csinh_test): Likewise.
32951         * sysdeps/i386/fpu/libm-test-ulps: Update.
32952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32953
32954 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
32955
32956         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32957         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32958
32959         * sysdeps/x86_64/x32/_itoa.h: Add comment.
32960
32961 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32962
32963         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32964         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32965         * sysdeps/powerpc/soft-fp/Versions: Likewise.
32966         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32967         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32968         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32969         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32970         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32971         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32972         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32973         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32974         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32975         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32976         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32977         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32978         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32979         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32980         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32981         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32982         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32983         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32984         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32985         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32986         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32987         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32988         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32989         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32990         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32991         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32992         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32993         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32994
32995 2012-05-18  Andreas Jaeger  <aj@suse.de>
32996
32997         * csu/.gitignore: Delete.
32998
32999 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33000
33001         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33002         (timex): Use __syscall_slong_t.
33003
33004 2012-05-18  Andreas Jaeger  <aj@suse.de>
33005             Carlos O'Donell  <carlos_odonell@mentor.com>
33006
33007         * manual/install.texi (Configuring and compiling): Update
33008         description about files modified in the source directory.
33009         * INSTALL: Regenerated.
33010
33011 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33012
33013         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33014         value.  Use "or" to set return value to -1.
33015         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33016         negate return value.
33017
33018 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33019
33020         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33021         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33022         failure if the compiler has Graphite support disabled.
33023         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33024         Likewise.
33025         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33026         (CFLAGS-memmove.c): Likewise.
33027         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33028         Likewise.
33029
33030 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33031
33032         * sysdeps/x86_64/x32/_itoa.h: New file.
33033
33034         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33035         getdents system call only if kernel and user dirents have the
33036         same d_ino and d_off.
33037
33038         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33039         LLONG_MAX != LONG_MAX.
33040         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33041         (_fitoa_word): Likewise.
33042
33043         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33044         years.
33045         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33046         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33047         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33048
33049         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33050         include <bits/wordsize.h>.  Check __x86_64__ instead of
33051         __WORDSIZE.
33052         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33053         if __x86_64__ is defined.  Use anonymous union on fpstate.
33054
33055         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33056         anonymous union.
33057
33058 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33059
33060         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33061         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33062         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33063         Refer to _rtld_local_ro instead of _rtld_global_ro.
33064         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33065         Likewise.
33066         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33067         Likewise.
33068         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33069         Likewise.
33070         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33071         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33072         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33073
33074         * sysdeps/powerpc/powerpc32/dl-machine.c
33075         (__elf_machine_runtime_setup) [PROF]: Don't reference
33076         _dl_prof_resolve.
33077
33078 2012-05-18  Andreas Jaeger  <aj@suse.de>
33079
33080         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33081         function only available for GCCs before 3.4 since GCC 3.4
33082         introduced a builtin.
33083         (lrint): Likewise.
33084         (llrintf): Likewise.
33085         (llrint): Likewise.
33086         (fmaxf): Likewise.
33087         (fmax): Likewise.
33088         (fminf): Likewise.
33089         (fmin): Likewise.
33090         (rint): Likewise.
33091         (rintf): Likewise.
33092         (nearbyint): Likewise.
33093         (nearbyintf): Likewise.
33094         (ceil): Likewise.
33095         (ceilf): Likewise.
33096         (floor): Likewise.
33097         (floorf): Likewise.
33098
33099 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33100
33101         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33102         on both fields and cast pointer to __syscall_ulong_t.
33103
33104         * bits/types.h (__fsword_t): New type.
33105         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33106         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33107         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33108         (__FSWORD_T_TYPE): Likewise.
33109         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33110         (__FSWORD_T_TYPE): Likewise.
33111         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33112         (__FSWORD_T_TYPE): Likewise.
33113         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33114         (__FSWORD_T_TYPE): Likewise.
33115         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33116         __SWORD_TYPE with __fsword_t.
33117         (statfs64): Likewise.
33118
33119 2012-05-17  David S. Miller  <davem@davemloft.net>
33120
33121         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33122
33123 2012-05-17  Andreas Jaeger  <aj@suse.de>
33124
33125         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33126         warning.
33127
33128 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33129
33130         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33131
33132 2012-05-17  Andreas Jaeger  <aj@suse.de>
33133
33134         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33135         when it is used.
33136
33137 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33138
33139         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33140
33141 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33142
33143         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33144         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33145
33146 2012-05-17  Andreas Jaeger  <aj@suse.de>
33147             Carlos O'Donell  <carlos_odonell@mentor.com>
33148
33149         [BZ #14059]
33150         * sysdeps/x86_64/multiarch/init-arch.h
33151         (bit_YMM_Usable): Rename to...
33152         (bit_AVX_Usable): ... this.
33153         (bit_FMA4_Usable): New macro.
33154         (bit_XMM_state): New macro.
33155         (bit_YMM_state): New macro.
33156         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33157         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33158         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33159         (CPUID_OSXSAVE): New macro.
33160         (CPUID_AVX): New macro.
33161         (CPUID_FMA4): New macro.
33162         (index_YMM_Usable): Rename to...
33163         (index_AVX_Usable): ... this.
33164         (HAS_AVX): Use HAS_ARCH_FEATURE.
33165         (HAS_FMA4): Likewise.
33166         (HAS_YMM_USABLE): Remove.
33167         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33168         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33169         are present.
33170         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33171         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33172         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33173         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33174         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33175
33176 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33177
33178         * math/libm-test.c: Support platforms without multiple rounding modes.
33179         * math/bug-nextafter.c: Support platforms without FP exceptions.
33180         * math/bug-nexttoward.c: Likewise.
33181         * math/test-fenv.c: Likewise.
33182         * math/test-misc.c: Likewise.
33183         * stdlib/bug-getcontext.c: Likewise.
33184
33185 2012-05-17  Andreas Jaeger  <aj@suse.de>
33186
33187         * manual/examples/search.c (critter_cmp): Change signature to
33188         avoid warnings.
33189         * manual/string.texi (Collation Functions): Likewise.
33190
33191 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33192
33193         * bits/types.h: Fold copyright years.
33194         * bits/typesizes.h: Likewise.
33195         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33196         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33197         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33198         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33199         * time/time.h: Likewise.
33200
33201 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33202
33203         [BZ #208]
33204         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33205         in instead of returning them.  Return void.
33206         (__libc_mallinfo): Accumulate over all arenas.
33207         (__malloc_stats): Adjust for change in int_mallinfo interface.
33208
33209 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33210
33211         [BZ #10375]
33212         * configure.in (NM): Add AC_CHECK_TOOL for it.
33213         (libc_extra_cflags): New substituted variable.
33214         Check for -fstack-protector being used implicitly.
33215         * configure: Regenerated.
33216         * config.make.in (config-extra-cflags): New variable,
33217         gets @libc_extra_cflags@.
33218         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33219
33220         [BZ #10375]
33221         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33222         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33223         * configure: Regenerated.
33224         * config.make.in (CPPUNDEFS): New substituted variable.
33225         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33226         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33227         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33228
33229 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33230
33231         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33232         (mq_attr): Use __syscall_slong_t.
33233
33234 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33235
33236         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33237         Check __x86_64__ instead of __WORDSIZE.
33238         (_STAT_VER_LINUX): Likewise.
33239         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33240         __syscall_ulong_t and __syscall_slong_t.
33241         (stat64): Likewise.
33242
33243 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33244
33245         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33246
33247 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33248
33249         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33250
33251 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33252
33253         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33254         __syscall_ulong_t.
33255
33256         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33257         include <bits/wordsize.h>.  Check __x86_64__ instead of
33258         __WORDSIZE.
33259         (greg_t): Use "__extension__ long long int" if __x86_64__ is
33260         defined.
33261         (mcontext_t): Replace "unsigned long" with "unsigned long long".
33262
33263         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33264         include <bits/wordsize.h>.  Check __x86_64__ instead of
33265         __WORDSIZE.
33266         (user_regs_struct): Use "__extension__ unsigned long long"
33267         instead of "unsigned long" if __x86_64__ is defined.
33268         (user): Likewise.  Pad after pointer field if __ILP32__ is
33269         defined.
33270
33271 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
33272
33273         * configure.in (makeinfo): Require version 4.5 or later.  Allow
33274         versions 5 to 9.
33275         * configure: Regenerated.
33276         * manual/install.texi (texinfo): Increase version requirement to
33277         4.5 or later.
33278         * INSTALL: Regenerated.
33279
33280         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33281
33282 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33283
33284         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33285
33286         * sysdeps/x86_64/x32/ffs.c: New file.
33287
33288         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33289         __syscall_ulong_t.
33290         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33291         defined.  Use __syscall_ulong_t.
33292         (shminfo): Use __syscall_ulong_t.
33293         (shm_info): Likewise.
33294
33295         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33296         __syscall_ulong_t.
33297
33298         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33299         <bits/wordsize.h>.
33300         (msgqnum_t): Use __syscall_ulong_t.
33301         (msglen_t): Likewise.
33302         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
33303         __syscall_ulong_t.
33304
33305         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33306         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33307
33308         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33309
33310         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33311         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33312
33313         * sysvipc/sys/msg.h (msgbuf): Replace long int with
33314         __syscall_slong_t.
33315
33316         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33317         include <bits/wordsize.h>.  Check __x86_64__ instead of
33318         __WORDSIZE.
33319
33320         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33321         "unsigned long long int" if __x86_64__ is defined.
33322         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33323
33324         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33325         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33326         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33327
33328         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33329         <stdint.h>.
33330         (GET_PC): Cast to uintptr_t first.
33331         (GET_FRAME): Likewise.
33332         (GET_STACK): Likewise.
33333
33334         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33335         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33336         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33337         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33338         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33339         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33340         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33341         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33342         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33343         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33344         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33345         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33346         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33347         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33348         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33349         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33350         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33351         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33352         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33353         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33354         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33355         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33356         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33357         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33358         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33359         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33360         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33361         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33362         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33363
33364 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
33365
33366         * Makerules (+depfiles): Also collect depfiles from .oS in
33367         $(extra-objs).
33368         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33369         .oS, $(libnldbl-routines)).
33370
33371         * Makerules (native-compile-mkdep-flags): Define.
33372         * sunrpc/Makefile (extra-objs): Add $(addprefix
33373         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33374         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33375         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
33376         calling $(make-target-directory).
33377
33378 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33379
33380         * bits/types.h (__snseconds_t): Removed.
33381         * time/time.h (struct timespec): Replace __snseconds_t with
33382         __syscall_slong_t.
33383         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33384         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33385         Likewise.
33386         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33387         (__SNSECONDS_T_TYPE): Likewise.
33388         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33389         (__SNSECONDS_T_TYPE): Likewise.
33390         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33391         (__SNSECONDS_T_TYPE): Likewise.
33392
33393 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33394
33395         * sysdeps/mach/hurd/bits/typesizes.h
33396         (__SYSCALL_SLONG_TYPE): New macro.
33397         (__SYSCALL_ULONG_TYPE): Likewise.
33398
33399 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33400
33401         * bits/types.h (__syscall_slong_t): New type.
33402         (__syscall_ulong_t): Likewise.
33403
33404         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33405         (__SYSCALL_ULONG_TYPE): Likewise.
33406         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33407         (__SYSCALL_SLONG_TYPE): Likewise.
33408         (__SYSCALL_ULONG_TYPE): Likewise.
33409         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33410         (__SYSCALL_SLONG_TYPE): Likewise.
33411         (__SYSCALL_ULONG_TYPE): Likewise.
33412         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33413         (__SYSCALL_SLONG_TYPE): Likewise.
33414         (__SYSCALL_ULONG_TYPE): Likewise.
33415
33416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33417
33418         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33419         Add sigaltstack-offsets.sym.
33420         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33421         <sigaltstack-offsets.h>.
33422         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
33423         longjmp_msg pointer.
33424         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
33425         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33426         signal stack.
33427         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33428
33429 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33430
33431         * elf/stackguard-macros.h: Remove file.
33432         * sysdeps/generic/stackguard-macros.h: New file.
33433         * sysdeps/i386/stackguard-macros.h: Likewise.
33434         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33435         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33436         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33437         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33438         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33439         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33440         * sysdeps/x86_64/stackguard-macros.h: Likewise.
33441         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33442         <elf/stackguard-macros.h>.
33443
33444         [BZ #14109]
33445         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33446         __aligned__ in attribute.
33447         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33448         (gregset_t): Likewise.
33449
33450 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33451
33452         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33453         * sysdeps/x86_64/64/Implies-after: Here.  New file.
33454         * sysdeps/x86_64/x32/Implies-after: New file.
33455
33456 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33457
33458         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33459         and access return value for _dl_profile_fixup.  Use R10_LP to
33460         load frame size.
33461
33462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33463
33464         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33465
33466 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33467
33468         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33469         * sysdeps/x86_64/x32/sysdep.h: New file.
33470
33471 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33472
33473         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33474         * sysdeps/x86_64/setjmp.S: Likewise.
33475
33476 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33477
33478         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33479         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33480         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33481         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33482         remove unused global constant.
33483
33484 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
33485
33486         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33487         include of <not-cancel.h>.
33488
33489 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33490
33491         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33492
33493 2012-05-15  Jeff Law  <law@redhat.com>
33494             Andreas Jaeger  <aj@suse.de>
33495
33496         [BZ #13594]
33497         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33498         out from...
33499         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33500         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33501         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33502         code changing __hst_map_handle.map.
33503
33504 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33505
33506         * configure.in (sysnames): Look for Implies-before and Implies-after
33507         files.
33508         * configure: Regenerated.
33509
33510 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33511
33512         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33513         8-byte data alignment with LP_SIZE alignment.
33514
33515 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33516
33517         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33518         into R10_LP.
33519
33520 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33521
33522         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33523
33524 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33525
33526         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33527         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33528         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33529         Likewise.
33530         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33531
33532 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33533
33534         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33535         (stackinfo_sub_sp): Likewise.
33536
33537 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33538
33539         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33540         RAX_LP.
33541
33542 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33543
33544         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33545         into R*_LP.
33546
33547 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33548
33549         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33550         sizes into R*_LP.
33551
33552 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33553
33554         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33555
33556 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33557
33558         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33559         into R11_LP and load __x86_64_shared_cache_size_half into
33560         R8_LP.
33561
33562 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33563
33564         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33565         R8_LP.
33566
33567 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33568
33569         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33570         logb for POWER7.
33571         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33572         logbf for POWER7.
33573         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33574         logbl for POWER7.
33575         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33576         powerpc32/power7/fpu/s_logb.c via #include.
33577         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33578         powerpc32/power7/fpu/s_logbf.c via #include.
33579         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33580         powerpc32/power7/fpu/s_logbl.c via #include.
33581
33582 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33583
33584         * README.libm: Remove file.
33585
33586 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33587
33588         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33589         count for x32.  Use R*_LP and omit operand-size suffix.
33590
33591 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33592
33593         * shlib-versions: Move x86_64-.*-linux.* entries to ...
33594         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
33595         * sysdeps/x86_64/x32/shlib-versions: New file.
33596
33597 2012-05-14  Roland McGrath  <roland@hack.frob.com>
33598
33599         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33600         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33601         Use _dl_fatal_printf instead.
33602
33603 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33604
33605         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33606         set if not set by the user.  Do not allow for being unset.
33607         * sysdeps/unix/sysv/linux/configure: Regenerated.
33608
33609 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33610
33611         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33612         the `q' suffix from lea and replace .quad with ASM_ADDR.
33613
33614 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33615
33616         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33617         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
33618         instead of $17.
33619         (PTR_DEMANGLE): Likewise.
33620
33621 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33622
33623         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33624         (LP_OP): Likewise.
33625         (ASM_ADDR): Likewise.
33626         (RAX_LP): Likewise.
33627         (RBP_LP): Likewise.
33628         (RBX_LP): Likewise.
33629         (RCX_LP): Likewise.
33630         (RDI_LP): Likewise.
33631         (RSI_LP): Likewise.
33632         (RSP_LP): Likewise.
33633         (R8_LP): Likewise.
33634         (R9_LP): Likewise.
33635         (R10_LP): Likewise.
33636         (R10_LP): Likewise.
33637         (R11_LP): Likewise.
33638         (R12_LP): Likewise.
33639         (R13_LP): Likewise.
33640         (R14_LP): Likewise.
33641         (R15_LP): Likewise.
33642
33643 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33644
33645         * sysdeps/x86_64/x32/dl-machine.h: New file.
33646
33647 2012-05-14  Andreas Jaeger  <aj@suse.de>
33648
33649         * manual/Makefile (subdir): Remove export of subdir.
33650         (all): Remove target.
33651         (.PHONY): Remove all from list.
33652         (mkinstalldirs): Remove.
33653         (.PHONY): Remove installdirs from list.
33654         ($(inst_infodir)/libc.info): Use make-target-directory.
33655         (installdirs): Remove.
33656         (subdir_%): Remove.
33657         (glibc-targets): Remove.
33658         (lib): Remove.
33659         (stubs): Remove.
33660         ($(objpfx)stubs ../po/manual.pot): Remove.
33661         ($(objpfx)stamp%): Remove.
33662         (make-target-directory): Remove.
33663         (subdir_install): Remove.
33664         (routines): Remove.
33665         (aux): Remove.
33666         (sources): Remove.
33667         (objects): Remove.
33668         (headers): Remove.
33669
33670         [BZ #13750]
33671         * manual/.gitignore: Remove, it's not needed anymore.
33672         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33673         all files in it.
33674         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33675         directory.
33676         (texis): Renamed to $(objpfx)texis.
33677         (texis-path): New, contains path to generated files.
33678         (chapters.%): Use texis-path for complete path, add extra argument
33679         libc-texinfo.sh.
33680         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33681         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33682         (summary,texi, stamp-summary): Use complete path of
33683         files. Generate files in build dir.
33684         (dir-add.texi): Build in build dir.
33685         (libm-err.texi,stamp-libm-err): Likewise.
33686         (version.texi, stamp-version): Likewise.
33687         (.%c.texi): Likewise.
33688         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33689         (mostlyclean): Remove target.
33690         (realclean): Remove target.
33691         (generated): Add new variable with contents from mostlyclean and
33692         realclean, remove entries duplicated in common-mostlyclean, add
33693         stamp-libm-err and stamp-version.
33694         (generated-dirs): Add libc directory.
33695         ($(inst_infodir)/libc.info): Install files from build dir.
33696
33697         * manual/install.texi (Configuring and compiling): Adjust since
33698         the info files are not part of the tar ball anymore.
33699
33700 2012-05-14  Andreas Jaeger  <aj@suse.de>
33701
33702         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33703         variable.
33704
33705 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33706
33707         [BZ #13717]
33708         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33709         to 2.2.0 where earlier.
33710         * sysdeps/unix/sysv/linux/configure: Regenerated.
33711         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33712         Remove conditional code.
33713         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33714         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33715         Remove conditional code.
33716         [!__NR_lchown]: Likewise.
33717         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33718         [__NR_lchown]: Likewise.
33719         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33720         comment referencing __ASSUME_LCHOWN_SYSCALL.
33721         * sysdeps/unix/sysv/linux/i386/sigaction.c
33722         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33723         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33724         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33725         Remove conditional code.
33726         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33727         (__protocol_available): Remove #if 0 code.
33728         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33729         conditional code.
33730         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33731         * sysdeps/unix/sysv/linux/kernel-features.h
33732         (__ASSUME_GETCWD_SYSCALL): Don't define.
33733         (__ASSUME_REALTIME_SIGNALS): Likewise.
33734         (__ASSUME_PREAD_SYSCALL): Likewise.
33735         (__ASSUME_PWRITE_SYSCALL): Likewise.
33736         (__ASSUME_POLL_SYSCALL): Likewise.
33737         (__ASSUME_LCHOWN_SYSCALL): Likewise.
33738         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33739         non-SPARC.
33740         (__ASSUME_SIOCGIFNAME): Don't define.
33741         (__ASSUME_MSG_NOSIGNAL): Likewise.
33742         (__ASSUME_SENDFILE): Define unconditionally.
33743         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33744         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33745         conditional code.
33746         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33747         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33748         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33749         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33750         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33751         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33752         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33754         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33755         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33757         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33758         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33760         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33761         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33763         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33764         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33766         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33767         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33769         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33770         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33772         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33773         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33775         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33776         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33777         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33778         Remove conditional code.
33779         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33780         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33781         Remove conditional code.
33782         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33783         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33784         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33785         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33786         Remove conditional code.
33787         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33788         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33789         Remove conditional code.
33790         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33791         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33792         Remove conditional code.
33793         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33794         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33795         Remove conditional code.
33796         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33797         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33798         Remove conditional code.
33799         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33800         * sysdeps/unix/sysv/linux/sh/pwrite64.c
33801         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33802         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33803         * sysdeps/unix/sysv/linux/sigaction.c
33804         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33805         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33806         * sysdeps/unix/sysv/linux/sigpending.c
33807         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33808         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33809         * sysdeps/unix/sysv/linux/sigprocmask.c
33810         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33811         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33812         * sysdeps/unix/sysv/linux/sigsuspend.c
33813         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33814         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33815         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33816         (__libc_missing_rt_sigs): Remove.
33817         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33818         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33819         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33820         Remove conditional code.
33821         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33822         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33823         return 1.
33824         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33825         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33826         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33827         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33828
33829 2012-05-14  Andreas Jaeger  <aj@suse.de>
33830
33831         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33832         it's not used in glibc.
33833         (__coshm1): Likewise.
33834         (__acosh1p): Likewise.
33835         (__sgn): Likewise.
33836
33837         * manual/string.texi (Copying and Concatenation): Add missing
33838         variable in concat example.
33839         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33840
33841 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33842
33843         [BZ #14103]
33844         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33845         __builtin_clzl with __builtin_clzll.
33846
33847 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33848
33849         [BZ #14104]
33850         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33851         libc_freeres_ptr.
33852
33853 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33854
33855         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33856         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33857         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33858         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33859
33860 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
33861
33862         * NEWS: Update ia64 info.
33863
33864 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
33865
33866         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33867         used as bcopy.
33868
33869 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
33870
33871         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33872         * sysdeps/unix/syscalls.list (dup3): Likewise.
33873         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33874         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33875
33876 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
33877
33878         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33879         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33880
33881 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
33882
33883         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33884         thread pointer.
33885         (TLS_IE): Use mov/add instead of movq/addq to load thread
33886         pointer.
33887         (TLS_GD_PREFIX): New.
33888         (TLS_GD): Use it.
33889
33890 2012-05-11  David S. Miller  <davem@davemloft.net>
33891
33892         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33893         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33894         (_FPU_SETCW): Likewise.
33895
33896 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33897
33898         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33899         is 32-byte aligned.
33900
33901 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
33902
33903         [BZ #11837]
33904         * iconvdata/gb18030.c: Update tables.
33905         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
33906         characters specially.
33907         (BODY for TO_LOOP): Add encoding of missing ranges.
33908
33909 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
33910
33911         [BZ #13673]
33912         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33913         * sysdeps/mach/hurd/dup3.c: Likewise.
33914         * sysdeps/mach/hurd/readlinkat.c: Likewise.
33915         * sysdeps/powerpc/memmove.c:: Likewise.
33916
33917 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33918
33919         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33920         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33921
33922 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33923
33924         * elf/elf.h (R_X86_64_RELATIVE64): New.
33925         (R_X86_64_NUM): Updated.
33926         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33927         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
33928         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33929         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33930         tst-quad1pie tst-quad2pie
33931         (modules-names): Add tst-quadmod1 tst-quadmod2.
33932         ($(objpfx)tst-quad1): New dependency.
33933         ($(objpfx)tst-quad2): Likewise.
33934         ($(objpfx)tst-quad1pie): Likewise.
33935         ($(objpfx)tst-quad2pie): Likewise.
33936         * sysdeps/x86_64/tst-quad1.c: New file.
33937         * sysdeps/x86_64/tst-quad1pie.c: New file.
33938         * sysdeps/x86_64/tst-quad2.c: Likewise.
33939         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33940         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33941         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33942         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33943         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33944
33945 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33946
33947         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33948         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33949         * streams/stropts.h (t_scalar_t): Define type.
33950
33951         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33952         (_PATH_PRESERVE): Set to "/var/lib".
33953         (_PATH_RWHODIR): Set to "/var/spool/rwho".
33954
33955         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33956         instead of int.
33957
33958         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33959         if __dir_mkfile succeeded.
33960
33961         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33962         checking for _hurd_dtablesize.  Unlock it right after having
33963         finished _hurd_dtable allocation.
33964
33965 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33966
33967         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33968         * sysdeps/mach/hurd/configure: Regenerated.
33969         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33970         special-casing to...
33971         * sysdeps/gnu/configure.in: ... this new file.
33972         * sysdeps/unix/sysv/linux/configure: Regenerated.
33973         * sysdeps/gnu/configure: New generated file.
33974
33975         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33976         for Linux: use nsec instead of usec, as well as:
33977         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33978         members of type struct timespec.
33979         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33980         New macros.
33981         (struct stat64): Likewise.
33982         (_STATBUF_ST_NSEC): New macro.
33983         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33984
33985         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33986         __strtoul_internal rather than strtoul.
33987
33988 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33989
33990         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33991         and reject them.
33992
33993 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33994
33995         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33996         which preserves existing values.
33997         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33998
33999 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34000
34001         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34002         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34003         greater than FD_SETSIZE.
34004
34005 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34006
34007         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34008         allocated, call __vm_protect to finish enabling the existing space, and
34009         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34010         allocate the remainder.
34011
34012 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34013
34014         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34015         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34016
34017 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34018
34019         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34020         sysdeps/mach/hurd/readlink.c.
34021
34022         * posix/tst-sysconf.c (posix_options): Only use
34023         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34024         _POSIX_SYNCHRONIZED_IO when they are defined
34025         * sysdeps/mach/hurd/bits/posix_opt.h:
34026         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34027         (_XOPEN_REALTIME): Undefine macro.
34028         (_XOPEN_REALTIME_THREADS): Undefine macro.
34029         (_XOPEN_SHM): Undefine macro.
34030         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34031         macro to -1.
34032         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34033         macro to -1.
34034         (_POSIX_ASYNC_IO): Undefine macro.
34035         (_POSIX_PRIORITIZED_IO): Undefine macro.
34036         (_POSIX_SPIN_LOCKS): Define macro to -1.
34037
34038         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34039         SA_NODEFER, SA_RESETHAND.
34040         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34041         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34042         F_DUPFD_CLOEXEC.
34043
34044 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34045
34046         * elf/Makefile (pldd-modules): Define unconditionally.
34047
34048 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34049
34050         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34051
34052 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34053
34054         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34055         Return ENOENT when name is empty.
34056         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34057
34058 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34059
34060         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34061
34062         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34063
34064 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34065
34066         Fix mlock in all cases except non-readable pages.
34067         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34068         instead of VM_PROT_ALL as parameter to __vm_wire function.
34069
34070         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34071         (__mkdir): When path is `/', just fail with EEXIST.
34072         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34073
34074 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34075
34076         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34077         <sys/uio.h> (for writev).
34078         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34079         and <sys/param.h> (for MIN).
34080
34081 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34082
34083         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34084         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34085         if interrupted.
34086
34087 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34088
34089         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34090         Depend on against $(link-rpcuserlibs).
34091
34092 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34093
34094         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34095         (__libc_stack_end): Do not use attribute_relro.
34096         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34097         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34098         to libthread-provided value.
34099         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34100         attribute_relro.
34101
34102 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34103
34104         [BZ #3748]
34105         * bits/libc-lock.h (__libc_once_get): New macro.
34106         * sysdeps/mach/bits/libc-lock.h: Likewise.
34107         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34108         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34109         instead of using implementation details.
34110
34111         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34112         * libio/freopen.c: Likewise.
34113         * libio/freopen64.c: Likewise.
34114         * misc/syslog.c: Likewise.
34115         * nscd/connections.c: Likewise.
34116         * nscd/netgroupcache.c: Likewise.
34117         * sysdeps/posix/getcwd.c: Likewise.
34118
34119 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34120
34121         * math/w_ilogbf.c: Add #include <limits.h>.
34122
34123 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34124
34125         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34126         path instead of returning without unlocking.
34127
34128         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34129         immediate-write ioctls.
34130         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34131
34132 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34133
34134         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34135         __builtin_frame_address instead of making assumptions about the
34136         location of the return address relative to DATA.  Force early load of
34137         the return address.
34138         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34139         __builtin_frame_address.
34140
34141         dup3 for GNU Hurd.
34142         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34143         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34144         implement dup3 and do some further code clean-ups.
34145         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34146         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34147
34148 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34149
34150         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34151
34152         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34153         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34154         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34155         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34156         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34157         d->port.lock.
34158
34159         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34160         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34161         when handler == SIG_ERR, not when handler != SIG_ERR.
34162
34163 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34164
34165         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34166         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34167         definitions.
34168
34169         accept4 for GNU Hurd.
34170         * include/sys/socket.h (__libc_accept4): New prototype.
34171         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34172         to implement __libc_accept4.
34173         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34174         __libc_accept4.
34175         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34176
34177         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34178         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34179         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34180         signal-defines.sym.
34181
34182 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34183
34184         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34185
34186 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34187
34188         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34189         assertion on O_CLOEXEC flag.
34190         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34191         * hurd/intern-fd.c: Likewise.
34192         * hurd/port2fd.c: Likewise.
34193
34194 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34195
34196         [BZ #3906]
34197         * bits/in.h (IPV6_PKTINFO): Define new macro.
34198         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34199
34200 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34201
34202         [BZ #13954]
34203         [BZ #13955]
34204         [BZ #13956]
34205         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34206         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34207         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34208         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34209         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34210         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34211         * math/libm-test.inc (logb_test) : Additional logb tests.
34212
34213 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34214             Andreas Jaeger  <aj@suse.de>
34215
34216         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34217         * configure: Regenerated.
34218         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34219         * config.make.in (link-obsolete-rpc): New substituted variable.
34220         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34221         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34222         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34223         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34224         so that libc.a contains the symbols.
34225         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34226         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34227         * sunrpc/auth_none.c: Likewise.
34228         * sunrpc/auth_unix.c: Likewise.
34229         * sunrpc/authdes_prot.c: Likewise.
34230         * sunrpc/authuxprot.c: Likewise.
34231         * sunrpc/clnt_gen.c: Likewise.
34232         * sunrpc/clnt_perr.c: Likewise.
34233         * sunrpc/clnt_raw.c: Likewise.
34234         * sunrpc/clnt_simp.c: Likewise.
34235         * sunrpc/clnt_tcp.c: Likewise.
34236         * sunrpc/clnt_udp.c: Likewise.
34237         * sunrpc/clnt_unix.c: Likewise.
34238         * sunrpc/des_crypt.c: Likewise.
34239         * sunrpc/des_soft.c: Likewise.
34240         * sunrpc/get_myaddr.c: Likewise.
34241         * sunrpc/key_call.c: Likewise.
34242         * sunrpc/key_prot.c: Likewise.
34243         * sunrpc/netname.c: Likewise.
34244         * sunrpc/pm_getmaps.c: Likewise.
34245         * sunrpc/pm_getport.c: Likewise.
34246         * sunrpc/pmap_clnt.c: Likewise.
34247         * sunrpc/pmap_prot.c: Likewise.
34248         * sunrpc/pmap_prot2.c: Likewise.
34249         * sunrpc/pmap_rmt.c: Likewise.
34250         * sunrpc/publickey.c: Likewise.
34251         * sunrpc/rpc_cmsg.c: Likewise.
34252         * sunrpc/rpc_common.c: Likewise.
34253         * sunrpc/rpc_dtable.c: Likewise.
34254         * sunrpc/rpc_prot.c: Likewise.
34255         * sunrpc/rpc_thread.c: Likewise.
34256         * sunrpc/rtime.c: Likewise.
34257         * sunrpc/svc.c: Likewise.
34258         * sunrpc/svc_auth.c: Likewise.
34259         * sunrpc/svc_raw.c: Likewise.
34260         * sunrpc/svc_run.c: Likewise.
34261         * sunrpc/svc_tcp.c: Likewise.
34262         * sunrpc/svc_udp.c: Likewise.
34263         * sunrpc/svc_unix.c: Likewise.
34264         * sunrpc/svcauth_des.c: Likewise.
34265         * sunrpc/xcrypt.c: Likewise.
34266         * sunrpc/xdr.c: Likewise.
34267         * sunrpc/xdr_array.c: Likewise.
34268         * sunrpc/xdr_float.c: Likewise.
34269         * sunrpc/xdr_intXX_t.c: Likewise.
34270         * sunrpc/xdr_mem.c: Likewise.
34271         * sunrpc/xdr_rec.c: Likewise.
34272         * sunrpc/xdr_ref.c: Likewise.
34273         * sunrpc/xdr_sizeof.c: Likewise.
34274         * sunrpc/xdr_stdio.c: Likewise.
34275
34276 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34277
34278         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34279         change.  Update copyright years.
34280
34281 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34282
34283         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34284
34285 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
34286             Joseph Myers  <joseph@codesourcery.com>
34287             Paul Pluzhnikov  <ppluzhnikov@google.com>
34288
34289         [BZ #14012]
34290         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34291         requiring rpcgen.
34292         [cross-compiling] (extra-libs): Likewise.
34293         [cross-compiling] (extra-libs-others): Likewise.
34294         [cross-compiling] (librpcsvc-routines): Likewise.
34295         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34296         [cross-compiling] (omit-deps): Likewise.
34297         (sunrpc-CPPFLAGS): New variable.
34298         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34299         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34300         (cross-rpcgen-objs): New variable.
34301         (extra-objs): Append $(cross-rpcgen-objs).
34302         ($(cross-rpcgen-objs)): New rule.
34303         ($(objpfx)cross-rpcgen): Likewise.
34304         (rpcgen-cmd): Define to use $(built-program-file).  Expand
34305         comment.
34306         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34307         ($(objpfx)x%.stmp): Likewise.
34308         * sunrpc/proto.h [IS_IN_build] (_): Define.
34309         [IS_IN_build] (_libc_intl_domainname): Likewise.
34310
34311 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34312
34313         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34314         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34315         and R_X86_64_TPOFF64.
34316
34317 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34318
34319         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34320         sysdeps/unix/sysv/syscalls.list.
34321         (stime): Likewise.
34322         (utime): Likewise.
34323         * sysdeps/unix/sysv/syscalls.list: Remove file.
34324
34325 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
34326
34327         [BZ #3440]
34328         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34329         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34330         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34331         (__LC_IDENTIFICATION): Make these macros useful in #if
34332         expressions, as required by C99.
34333
34334 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
34335
34336         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34337         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
34338         after this.
34339
34340 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
34341
34342         * stdlib/longlong.h: Updated from GCC.
34343
34344 2012-05-09  Andreas Jaeger  <aj@suse.de>
34345
34346         * nscd/nscd.c (run_modes): Make named enum, reorder so that
34347         default is first entry.
34348         (run_mode): Set type.
34349         (main): Remove informal message about syslog.
34350         (options): Fix typo.
34351
34352         [BZ #14053]
34353         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34354         to asm.
34355         (lrint): Likewise.
34356         (llrintf): Likewise.
34357         (llrint): Likewise.
34358         (rint): Likewise.
34359         (rintf): Likewise.
34360         (nearbyint): Likewise.
34361         (nearbyintf): Likewise.
34362
34363 2012-05-09  Andreas Jaeger  <aj@suse.de>
34364             Pedro Alves  <palves@redhat.com>
34365
34366         * nscd/nscd.c (run_mode): Use enum.
34367         (main): Cleanup coding style issue.
34368
34369 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
34370             Andreas Jaeger  <aj@suse.de>
34371
34372         * nscd/nscd.c (go_background): Replaced with...
34373         (run_mode): ... this.
34374         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34375         (options): Add -F --foreground.
34376         (main): Implement it.
34377         (parse_opt): Parse it.
34378
34379 2012-05-09  Andreas Jaeger  <aj@suse.de>
34380
34381         [BZ #14083]
34382         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34383         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34384         -Wconversion warning.
34385         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34386         Likewise.
34387
34388 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
34389
34390         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
34391         == 0.
34392         (LC_ALL): Use macro-int-constant.
34393         (LC_COLLATE): Likewise.
34394         (LC_CTYPE): Likewise.
34395         (LC_MESSAGES): Likewise.
34396         (LC_MONETARY): Likewise.
34397         (LC_NUMERIC): Likewise.
34398         (LC_TIME): Likewise.
34399         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34400         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34401         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34402         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34403         Specify type.
34404         [C99-based standards] (float_t): Expect type.
34405         [C99-based standards] (double_t): Expect type.
34406         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
34407         type.
34408         [C99-based standards] (HUGE_VALL): Likewise.
34409         [C99-based standards] (INFINITY): Likewise.
34410         [C99-based standards] (NAN): Likewise.
34411         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34412         [C99-based standards] (FP_NAN): Likewise.
34413         [C99-based standards] (FP_NORMAL): Likewise.
34414         [C99-based standards] (FP_SUBNORMAL): Likewise.
34415         [C99-based standards] (FP_ZERO): Likewise.
34416         [C99-based standards] (FP_FAST_FMA): Use
34417         optional-macro-int-constant.  Specify type.  Require == 1.
34418         [C99-based standards] (FP_FAST_FMAF): Likewise.
34419         [C99-based standards] (FP_FAST_FMAL): Likewise.
34420         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34421         [C99-based standards] (FP_ILOGBNAN): Likewise.
34422         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34423         Specify type.
34424         [C99-based standards] (MATH_ERREXCEPT): Likewise.
34425         [C99-based standards] (math_errhandling): Specify type.
34426         [ISO99 || ISO11] (signgam): Do not allow.
34427         [non-C99-based standards] (copysignf): Do not allow.
34428         [non-C99-based standards] (exp2f): Likewise.
34429         [non-C99-based standards] (log2f): Likewise.
34430         [non-C99-based standards] (modff): Allow.
34431         [non-C99-based standards] (erff): Do not allow.
34432         [non-C99-based standards] (erfcf): Likewise.
34433         [non-C99-based standards] (gammaf): Likewise.
34434         [non-C99-based standards] (hypotf): Likewise.
34435         [non-C99-based standards] (j0f): Likewise.
34436         [non-C99-based standards] (j1f): Likewise.
34437         [non-C99-based standards] (jnf): Likewise.
34438         [non-C99-based standards] (lgammaf): Likewise.
34439         [non-C99-based standards] (tgammaf): Likewise.
34440         [non-C99-based standards] (y0f): Likewise.
34441         [non-C99-based standards] (y1f): Likewise.
34442         [non-C99-based standards] (ynf): Likewise.
34443         [non-C99-based standards] (isnanf): Likewise.
34444         [non-C99-based standards] (acoshf): Likewise.
34445         [non-C99-based standards] (asinhf): Likewise.
34446         [non-C99-based standards] (atanhf): Likewise.
34447         [non-C99-based standards] (cbrtf): Likewise.
34448         [non-C99-based standards] (expm1f): Likewise.
34449         [non-C99-based standards] (ilogbf): Likewise.
34450         [non-C99-based standards] (log1pf): Likewise.
34451         [non-C99-based standards] (logbf): Likewise.
34452         [non-C99-based standards] (nextafterf): Likewise.
34453         [non-C99-based standards] (remainderf): Likewise.
34454         [non-C99-based standards] (rintf): Likewise.
34455         [non-C99-based standards] (scalbf): Likewise.
34456         [non-C99-based standards] (copysignl): Likewise.
34457         [non-C99-based standards] (exp2l): Likewise.
34458         [non-C99-based standards] (log2l): Likewise.
34459         [non-C99-based standards] (modfl): Allow.
34460         [non-C99-based standards] (erfl): Do not allow.
34461         [non-C99-based standards] (erfcl): Likewise.
34462         [non-C99-based standards] (gammal): Likewise.
34463         [non-C99-based standards] (hypotl): Likewise.
34464         [non-C99-based standards] (j0l): Likewise.
34465         [non-C99-based standards] (j1l): Likewise.
34466         [non-C99-based standards] (jnl): Likewise.
34467         [non-C99-based standards] (lgammal): Likewise.
34468         [non-C99-based standards] (tgammal): Likewise.
34469         [non-C99-based standards] (y0l): Likewise.
34470         [non-C99-based standards] (y1l): Likewise.
34471         [non-C99-based standards] (ynl): Likewise.
34472         [non-C99-based standards] (isnanl): Likewise.
34473         [non-C99-based standards] (acoshl): Likewise.
34474         [non-C99-based standards] (asinhl): Likewise.
34475         [non-C99-based standards] (atanhl): Likewise.
34476         [non-C99-based standards] (cbrtl): Likewise.
34477         [non-C99-based standards] (expm1l): Likewise.
34478         [non-C99-based standards] (ilogbl): Likewise.
34479         [non-C99-based standards] (log1pl): Likewise.
34480         [non-C99-based standards] (logbl): Likewise.
34481         [non-C99-based standards] (nextafterl): Likewise.
34482         [non-C99-based standards] (remainderl): Likewise.
34483         [non-C99-based standards] (rintl): Likewise.
34484         [non-C99-based standards] (scalbl): Likewise.
34485         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34486         [non-C99-based standards] (FP_*): Do not allow.
34487         [C99-based standards] (FP_*): Change to
34488         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34489         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34490         allow.
34491         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34492         (SIG_ERR): Likewise.
34493         [X/Open-based standards] (SIG_HOLD): Likewise.
34494         (SIG_IGN): Likewise.
34495         (SIGABRT): Use macro-int-constant.  Specify type.  Require
34496         positive value.
34497         (SIGFPE): Likewise.
34498         (SIGILL): Likewise.
34499         (SIGINT): Likewise.
34500         (SIGSEGV): Likewise.
34501         (SIGTER): Likewise.
34502         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34503         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34504         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34505         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34506         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34507         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34508         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34509         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34510         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34511         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34512         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34513         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34514         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34515         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34516         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34517         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34518         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34519         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34520         [X/Open-based standards] (SIGTRAP): Likewise.
34521         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34522         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34523         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34524         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34525         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34526         allow.
34527
34528 2012-05-08  Ian Wienand  <ianw@vmware.com>
34529
34530         [BZ #14080]
34531         * time/tzset.c (__tzset_parse_tz): Update default rules for
34532         daylight time changes in the Energy Policy Act of 2005.
34533
34534 2012-05-09  Andreas Jaeger  <aj@suse.de>
34535
34536         [BZ #13983]
34537         * elf/ldconfig.c (parse_conf): Change string to make clear that
34538         ldconfig only issued a warning if ld.so.conf does not exist.
34539
34540 2012-05-08  David S. Miller  <davem@davemloft.net>
34541
34542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34543         movxtod instead of popping the value on the stack.
34544
34545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34546
34547 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
34548
34549         * config.h.in: Add HAVE_ARM_PCS_VFP.
34550
34551 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
34552
34553         [BZ #13979]
34554         * include/features.h: Warn if user requests __FORTIFY_SOURCE
34555         checking but the checks are disabled for any reason.
34556
34557 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
34558
34559         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34560         and ELF64_R_TYPE with ELFW(R_TYPE).
34561
34562 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
34563
34564         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34565         (ulimit): Likewise.
34566
34567         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34568         (settimeofday): Likewise.
34569
34570 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
34571
34572         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
34573         a struct th_u2 inside the union, and move tu_block/tu_code into
34574         a new th_u3 union of tu_block/tu_code inside of that.  Move
34575         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
34576         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
34577         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34578         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34579         (th_stuff): Change to th_u1.tu_stuff.
34580         (th_data): Define.
34581         (th_msg): Change to th_u1.th_u2.tu_data.
34582
34583 2012-05-07  David S. Miller  <davem@davemloft.net>
34584
34585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34586
34587         [BZ #14074]
34588         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34589         (SETUP_PIC_REG): Use it.
34590         (SETUP_PIC_REG_LEAF): Use it.
34591
34592 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
34593
34594         [BZ #13885]
34595         [BZ #13923]
34596         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34597         USE_AS_EXPM1L.
34598         (EXPL_FINITE): Likewise.
34599         (FLDLOG): Likewise.
34600         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34601         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34602         e_expl.S.
34603         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34604         USE_AS_EXPM1L.
34605         (EXPL_FINITE): Likewise.
34606         (FLDLOG): Likewise.
34607         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34608         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34609         e_expl.S.
34610         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
34611         test of -max_value argument for long double.
34612         * sysdeps/i386/fpu/libm-test-ulps: Update.
34613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34614
34615 2012-05-06  David S. Miller  <davem@davemloft.net>
34616
34617         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34618         quad soft-float symbols whose references which are compiler
34619         generated.
34620         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34621
34622 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
34623
34624         [BZ #13884]
34625         [BZ #13914]
34626         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34627         USE_AS_EXP10L.
34628         (EXPL_FINITE): Likewise.
34629         (FLDLOG): Likewise.
34630         (c0): Likewise.
34631         (c1): Likewise.
34632         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34633         Adjust comments for base varying.
34634         (__expl_finite): Change alias to EXPL_FINITE.
34635         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34636         e_expl.S.
34637         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34638         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34639         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34640         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34641         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34642         USE_AS_EXP10L.
34643         (EXPL_FINITE): Likewise.
34644         (FLDLOG): Likewise.
34645         (c0): Likewise.
34646         (c1): Likewise.
34647         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34648         Adjust comments for base varying.
34649         (__expl_finite): Change alias to EXPL_FINITE.
34650         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
34651         tests for bugs.
34652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34653
34654         [BZ #14064]
34655         * math/libm-test.inc (check_float_internal): Correct ulp
34656         calculation for subnormal expected results.
34657
34658 2012-05-06  Andreas Jaeger  <aj@suse.de>
34659
34660         * Makeconfig (+math-flags): New, set to -frounding-math.
34661         (+cflags): Add +math-flags so that all of glibc gets compiled with
34662         it.
34663
34664         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34665
34666 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
34667
34668         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34669         Disable one test.
34670
34671         [BZ #13787]
34672         [BZ #13922]
34673         [BZ #14036]
34674         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34675         (__ieee754_expl): Allow for and saturate large arguments.
34676         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34677         (u_threshold): Likewise.
34678         (__exp): Call __ieee754_exp before checking for overflow and
34679         underflow.
34680         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34681         (u_threshold): Likewise.
34682         (__expf): Call __ieee754_expf before checking for overflow and
34683         underflow.
34684         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34685         (u_threshold): Likewise.
34686         (__expl): Call __ieee754_expl before checking for overflow and
34687         underflow.
34688         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34689         (__ieee754_expl): Allow for and saturate large arguments.
34690         * math/libm-test.inc (exp_test): Add another test.  Do not allow
34691         missing overflow exception on overflow.
34692         (expm1_test): Do not allow missing overflow exception on overflow.
34693
34694         * sysdeps/i386/fpu/e_expl.c: Move to ...
34695         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
34696         rather than using inline asm.
34697         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34698         * sysdeps/x86_64/fpu/e_expl.S: Copy from
34699         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34700
34701         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34702         (nice): Likewise.
34703         (poll): Likewise.
34704         (signal): Likewise.
34705         (time): Likewise.
34706         (times): Likewise.
34707
34708 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34709
34710         * sysdeps/unix/syscalls.list (adjtime): Add entry from
34711         sysdeps/unix/common/syscalls.list.
34712         (fchmod): Likewise.
34713         (fchown): Likewise.
34714         (ftruncate): Likewise.
34715         (getrusage): Likewise.
34716         (gettimeofday): Likewise.
34717         (setpgid): Likewise.
34718         (setregid): Likewise.
34719         (setreuid): Likewise.
34720         (sigaction): Likewise.
34721         (truncate): Likewise.
34722         (vhangup): Likewise.
34723         * sysdeps/unix/common/syscalls.list: Remove file.
34724         * sysdeps/unix/bsd/Implies: Don't include unix/common.
34725         * sysdeps/unix/sysv/linux/Implies: Likewise.
34726
34727 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
34728
34729         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34731         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34732         Moved to ...
34733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34734         Here.
34735         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34736         to ...
34737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34738         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34739         to ...
34740         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34741         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34742         to ...
34743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34744         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34745         to ...
34746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34747         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34748         to ...
34749         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34750         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34751         to ...
34752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34753         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34754         to ...
34755         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34756         Here.
34757         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34758         to ...
34759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34760         Here.
34761         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34762         to ...
34763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34764         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34765         Moved to ...
34766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34767         Here.
34768         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34769         to ...
34770         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34771
34772 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34773
34774         * sysdeps/unix/common/bits/dirent.h: Remove file.
34775         * sysdeps/unix/common/bits/fcntl.h: Likewise.
34776
34777         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34778         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34779         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34780         * sysdeps/unix/bsd/isatty.c: Likewise.
34781         * sysdeps/unix/bsd/tcdrain.c: Likewise.
34782         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34783         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34784
34785 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34786
34787         [BZ #13563]
34788         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34789         long double comparison inaccuracies.
34790         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34792
34793 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
34794
34795         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34796         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34797
34798 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34799
34800         [BZ #14049]
34801         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34802         nonzero digits before rounding a hex value.
34803         * stdlib/tst-strtod.c (tests): Add another test.
34804
34805 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34806
34807         * sysdeps/s390/fpu/libm-test-ulps: Update.
34808
34809 2012-05-03  Andreas Jaeger  <aj@suse.de>
34810
34811         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34812         does not get optimized out.
34813         (malloc_opt_barrier): New.
34814
34815 2012-05-03  Andreas Jaeger  <aj@suse.de>
34816             Roland McGrath  <roland@hack.frob.com>
34817
34818         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34819         intermediate file deletion.
34820         (generated): Add .symlist files.
34821
34822 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
34823
34824         [BZ #13775]
34825         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34826         Redirect under this condition.
34827         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34828         [__USE_GNU] (__dprintf_chk): Not under this condition.
34829         [__USE_GNU] (__vdprintf_chk): Likewise.
34830         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34831         under this condition.
34832         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34833         [__USE_XOPEN2K8] (dprintf): Define under this condition.
34834         [__USE_XOPEN2K8] (vdprintf): Likewise.
34835         [__USE_GNU] (__dprintf_chk): Not under this condition.
34836         [__USE_GNU] (__vdprintf_chk): Likewise.
34837         [__USE_GNU] (dprintf): Likewise.
34838         [__USE_GNU] (vdprintf): Likewise.
34839
34840 2012-05-03  Roland McGrath  <roland@hack.frob.com>
34841
34842         * elf/Makefile (common-generated): Set this instead of generated for
34843         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
34844         $(all-built-dso)-derived lists.
34845
34846 2012-05-03  Andreas Jaeger  <aj@suse.de>
34847
34848         * sysdeps/i386/fpu/libm-test-ulps: Update.
34849
34850         * FAQ: Removed.
34851         * FAQ.in: Likewise.
34852         * scripts/gen-FAQ.pl: Likewise.
34853         * manual/install.texi (Installation): Point to online location of
34854         FAQ.
34855         * Makefile (files-for-dist): Remove FAQ.
34856         (FAQ): Remove.
34857
34858 2012-05-02  Allan McRae  <allan@archlinux.org>
34859
34860         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34861         (LDFLAGS-reldepmod5.so): Likewise.
34862         (LDFLAGS-reldep6mod1.so): Likewise.
34863         (LDFLAGS-reldep6mod4.so): Likewise.
34864         (LDFLAGS-reldep8mod3.so): Likewise.
34865         (LDFLAGS-unload4mod1.so): Likewise.
34866         (LDFLAGS-unload4mod2.so): Likewise.
34867         (LDFLAGS-tst-initorder): Likewise.
34868         (LDFLAGS-tst-initordera2.so): Likewise.
34869         (LDFLAGS-tst-initordera3.so): Likewise.
34870         (LDFLAGS-tst-initordera4.so): Likewise.
34871         (LDFLAGS-tst-initorderb2.so): Likewise.
34872         (LDFLAGS-noload): Likewise.
34873         (LDFLAGS-next): Likewise.
34874         (LDFLAGS-order2mod1.so): Likewise.
34875         (LDFLAGS-order2mod2.so): Likewise.
34876         (LDFLAGS-tst-initorder2): Likewise.
34877         (LDFLAGS-tst-initorder2a.so): Likewise.
34878         (LDFLAGS-tst-initorder2b.so): Likewise.
34879         (LDFLAGS-tst-initorder2c.so): Likewise.
34880         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34881
34882 2012-05-02  David S. Miller  <davem@davemloft.net>
34883
34884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34885
34886 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
34887
34888         [BZ #14055]
34889         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34890
34891 2012-05-02  Andreas Jaeger  <aj@suse.de>
34892
34893         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34894         since we manipulate rounding mode.
34895         (CPPFLAGS-test-idouble.c): Likewise.
34896         (CPPFLAGS-test-ifloat.c): Likewise.
34897         (CFLAGS-test-ldouble.c): Likewise.
34898         (CFLAGS-test-double.c): Likewise.
34899         (CFLAGS-test-float.c): Likewise.
34900         (CFLAGS-test-misc.c): Likewise.
34901         (CFLAGS-test-test-fenv.c): Likewise.
34902
34903 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34904
34905         [BZ #2550]
34906         [BZ #2570]
34907         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34908         comparisons to determine direction to adjust input.
34909
34910 2012-05-01  Roland McGrath  <roland@hack.frob.com>
34911
34912         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34913         output to the target.
34914
34915         * scripts/localplt.awk: New file.
34916         * elf/Makefile ($(objpfx)check-localplt): Target removed.
34917         (check-localplt-CFLAGS): Variable removed.
34918         ($(all-built-dso:=.jmprel)): New static pattern rule.
34919         (generated): Add those targets.
34920         (localplt-built-dso): New variable.
34921         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34922
34923         * elf/check-localplt.c: File removed.
34924
34925         * scripts/check-execstack.awk: New file.
34926         * elf/Makefile ($(objpfx)check-execstack): Target removed.
34927         (check-execstack-CFLAGS): Variable removed.
34928         ($(objpfx)check-execstack.h): Target removed.
34929         ($(objpfx)execstack-default): New target.
34930         (generated): Add that instead of check-execstack.h.
34931         ($(all-built-dso:=.phdr)): New static pattern rule.
34932         (generated): Add those targets.
34933         * elf/check-execstack.c: File removed.
34934
34935         * scripts/check-textrel.awk: New file.
34936         * elf/Makefile ($(objpfx)check-textrel): Target removed.
34937         (check-textrel-CFLAGS): Variable removed.
34938         (all-built-dso): Use := to define.o
34939         ($(all-built-dso:=.dyn)): New static pattern rule.
34940         (generated): Add those targets.
34941         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34942         * config.make.in (READELF): New substituted variable.
34943         * elf/check-textrel.c: File removed.
34944
34945 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34946
34947         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34948         allow.
34949         * conform/data/ctype.h-data [C99-based standards] (isblank):
34950         Expect function.
34951         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34952         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34953         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34954         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34955         Specify type.  Require positive value.
34956         (EILSEQ): Likewise.
34957         (ERANGE): Likewise.
34958         [ISO || POSIX] (EILSEQ): Do not expect.
34959         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34960         Specify type.  Require positive value.
34961         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34962         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34963         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34964         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34965         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34966         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34967         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34968         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34969         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34970         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34971         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34972         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34973         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34974         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34975         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34976         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34977         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34978         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34979         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34980         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34981         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34982         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34983         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34984         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34985         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34986         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34987         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34988         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34989         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34990         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34991         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34992         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34993         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34994         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34995         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34996         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34997         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34998         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34999         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35000         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35001         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35002         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35003         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35004         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35005         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35006         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35007         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35008         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35009         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35010         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35011         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35012         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35013         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35014         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35015         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35016         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35017         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35018         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35019         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35020         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35021         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35022         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35023         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35024         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35025         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35026         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35027         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35028         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35029         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35030         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35031         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35032         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35033         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35034         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35035         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35036         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35037         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35038         Require >= 2.
35039         (FLT_ROUNDS): Expect as macro, not constant.
35040         (FLT_MANT_DIG): Use macro-int-constant.
35041         (DBL_MANT_DIG): Likewise.
35042         (LDBL_MANT_DIG): Likewise.
35043         (FLT_DIG): Likewise.
35044         (DBL_DIG): Likewise.
35045         (LDBL_DIG): Likewise.
35046         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35047         (DBL_MIN_EXP): Likewise.
35048         (LDBL_MIN_EXP): Likewise.
35049         (FLT_MAX_EXP): Use macro-int-constant.
35050         (DBL_MAX_EXP): Likewise.
35051         (LDBL_MAX_EXP): Likewise.
35052         (FLT_MAX_10_EXP): Likewise.
35053         (DBL_MAX_10_EXP): Likewise.
35054         (LDBL_MAX_10_EXP): Likewise.
35055         (FLT_MAX): Use macro-constant.
35056         (DBL_MAX): Likewise.
35057         (LDBL_MAX): Likewise.
35058         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35059         (DBL_EPSILON): Likewise.
35060         (LDBL_EPSILON): Likewise.
35061         (FLT_MIN): Likewise.
35062         (DBL_MIN): Likewise.
35063         (LDBL_MIN): Likewise.
35064         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35065         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35066         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35067         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35068         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35069         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35070         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35071         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35072         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35073         [ISO11] (FLT_TRUE_MIN): Likewise.
35074         [ISO11] (LDBL_TRUE_MIN): Likewise.
35075         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35076         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35077         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35078         (SCHAR_MAX): Likewise.
35079         (UCHAR_MAX): Likewise.
35080         (CHAR_MIN): Likewise.
35081         (CHAR_MAX): Likewise.
35082         (MB_LEN_MAX): Use macro-int-constant.
35083         (SHRT_MIN): Use macro-int-constant.  Specify type.
35084         (SHRT_MAX): Likewise.
35085         (USHRT_MAX): Likewise.
35086         (INT_MAX): Likewise.
35087         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35088         bound negative.
35089         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35090         bound with "U".
35091         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35092         bound with "L".
35093         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35094         bound negative.  Suffix upper bound with "L".
35095         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35096         bound with "UL".
35097         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35098         Specify type.
35099         [C99-based standards] (LLONG_MAX): Likewise.
35100         [C99-based standards] (ULLONG_MAX): Likewise.
35101         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35102         == 0.
35103         [ISO11] (max_align_t): Require type.
35104         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35105
35106         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35107         from $CFLAGS, without defining away __attribute__ calls.
35108         (checknamespace): Use $CFLAGS_namespace.
35109
35110         * conform/conformtest.pl (@keywords): Only include C99 keywords
35111         for standards based on C99 or C11.
35112
35113         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35114         Disable tests.
35115         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35116         UNIX98]: Likewise.
35117
35118         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35119         usability of symbols in #if.
35120
35121         * conform/conformtest.pl: If macro or constant types start
35122         "promoted:", expect the symbol to be of the following type
35123         promoted by the integer promotions.
35124
35125         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35126         in one place.  Also handle "macro-constant".
35127
35128         * conform/conformtest.pl: Only accept expected macro values with
35129         "==".  Parse all "macro" lines in one place.
35130         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35131
35132         * conform/conformtest.pl: Handle braced types on "constant" lines
35133         instead of handling "typed-constant".
35134         * conform/data/signal.h-data: Use "constant" instead of
35135         "typed-constant".
35136
35137         * conform/conformtest.pl: Handle "optional-" at start of lines in
35138         one place rather than duplicating several cases.  Handle each
35139         format of "macro" line with initial "optional-".
35140
35141         * conform/conformtest.pl: Only accept expected constant or
35142         optional-constant values with "==".  Parse all "constant" lines in
35143         one place.  Parse all "optional-constant" lines in one place.
35144         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35145         * conform/data/fmtmsg.h-data: Likewise.
35146         * conform/data/netinet/in.h-data: Likewise.
35147         * conform/data/tar.h-data: Likewise.
35148         * conform/data/limits.h-data: Use "==" form on "constant" and
35149         "optional-constant" lines.
35150
35151         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35152         Use -std=c99 for XOPEN2K.
35153         (@knownproblems): Remove.
35154         (newtoken): Don't check %isknown.
35155
35156         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35157         Do not expect macro.
35158         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35159         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35160         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35161         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35162         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35163         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35164         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35165         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35166         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35167         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35168         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35169         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35170         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35171         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35172         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35173         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35174         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35175         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35176         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35177         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35178         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35179         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35180         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35181         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35182         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35183         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35184         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35185         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35186         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35187         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35188         [XPG3] (acosh): Likewise.
35189         [XPG3] (asinh): Likewise.
35190         [XPG3] (atanh): Likewise.
35191         [XPG3] (cbrt): Likewise.
35192         [XPG3] (expm1): Likewise.
35193         [XPG3] (ilogb): Likewise.
35194         [XPG3] (log1p): Likewise.
35195         [XPG3] (logb): Likewise.
35196         [XPG3] (nextafter): Likewise.
35197         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35198         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35199         [XPG3] (remainder): Likewise.
35200         [XPG3] (rint): Likewise.
35201         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35202         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35203         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35204         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35205         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35206         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35207         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35208         [UNIX98 || XOPEN2K] (scalb): Expect.
35209         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35210         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35211         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35212         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35213         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35214         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35215         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35216         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35217         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35218         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35219         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35220         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35221         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35222         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35223         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35224         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35225         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35226         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35227         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35228         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35229         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35230         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35231         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35232         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35233         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35234         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35235         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35236         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35237         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35238         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35239         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35240         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35241         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35242         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35243         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35244         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35245         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35246         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35247         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35248         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35249         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35250         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35251         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35252         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35253         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35254         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35255         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35256         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35257         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35258         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35259         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35260         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35261         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35262         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35263         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35264         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35265         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35266         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35267         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35268         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35269         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35270         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35271         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35272         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35273         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35274         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35275         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35276         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35277         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35278         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35279         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35280         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35281         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35282         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35283         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35284         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35285         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35286         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35287         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35288         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35289         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35290         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35291         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35292         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35293         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35294         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35295         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35296         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35297         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35298         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35299         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35300         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35301         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35302         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35303         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35304         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35305         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35306         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35307         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35308         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35309         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35310         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35311         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35312         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35313         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35314         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35315         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35316         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35317         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35318         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35319         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35320         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35321         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35322         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35323         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35324         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35325         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35326         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35327         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35328         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35329         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35330         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35331         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35332         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35333         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35334         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35335         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35336         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35337         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35338         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35339         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35340         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35341         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35342         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35343         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35344         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35345         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35346
35347         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35348         _XOPEN_SOURCE_EXTENDED for XPG4.
35349
35350         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35351
35352         * Makeconfig (localtime): Remove variable.
35353         (inst_localtime-file): Likewise.
35354
35355 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35356
35357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35358         Update.
35359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35360         Update.
35361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35362         Update.
35363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35364         Update.
35365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35366         Update.
35367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35368         Update.
35369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35370         Update.
35371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35372         Update.
35373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35374         Update.
35375
35376 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35377
35378         [BZ #2550]
35379         [BZ #2570]
35380         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35381         comparisons to determine direction to adjust input.
35382         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35383         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35384         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35385         Likewise.
35386         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35387         Likewise.
35388         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35389         Likewise.
35390         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35391         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35392         Likewise.
35393         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35394         Likewise.
35395         * math/libm-test.inc (nexttoward_test): Add more tests.
35396
35397 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35398
35399         [BZ #14040]
35400         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35401         in version GLIBC_2.1, not GLIBC_2.0.
35402         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35403         Likewise.
35404
35405 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
35406
35407         [BZ #13942]
35408         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35409         (1 - x) * (1 + x).
35410         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35411         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35412         * math/libm-test.inc (acos_test): Add more tests.
35413         (asin_test): Likewise.
35414         * sysdeps/i386/fpu/libm-test-ulps: Update.
35415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35416
35417         [BZ #14034]
35418         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35419         of square root.
35420         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35421         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35422         * math/libm-test.inc (acos_test_tonearest): New function.
35423         (acos_test_towardzero): Likewise.
35424         (acos_test_downward): Likewise.
35425         (acos_test_upward): Likewise.
35426         (asin_test_tonearest): Likewise.
35427         (asin_test_towardzero): Likewise.
35428         (asin_test_downward): Likewise.
35429         (asin_test_upward): Likewise.
35430         (main): Call the new functions.
35431         * sysdeps/i386/fpu/libm-test-ulps: Update.
35432         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35433
35434         [BZ #13884]
35435         [BZ #13924]
35436         * math/e_exp10.c: Include <float.h>.
35437         (__ieee754_exp10): Handle underflow here rather than multiplying
35438         large negative argument by M_LN10.
35439         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35440         of __ieee754_expf.
35441         * math/e_exp10l.c: Include <float.h>.
35442         (__ieee754_exp10l): Handle underflow here rather than multiplying
35443         large negative argument by M_LN10l.
35444         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
35445         spurious overflow exception on underflow.
35446
35447 2012-04-29  Marek Polacek  <polacek@redhat.com>
35448
35449         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35450         (__fortify_function): New macro.
35451         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35452         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35453         __extern_always_inline.
35454         * libio/bits/stdio2.h: Likewise.
35455         * libio/bits/stdio.h: Likewise.
35456         * string/string.h: Likewise.
35457         * string/bits/string3.h: Likewise.
35458         * include/stdio.h: Likewise.
35459         * stdlib/bits/stdlib.h: Likewise.
35460         * stdlib/stdlib.h: Likewise.
35461         * rt/bits/mqueue2.h: Likewise.
35462         * rt/mqueue.h: Likewise.
35463         * posix/bits/unistd.h: Likewise.
35464         * posix/unistd.h: Likewise.
35465         * io/bits/poll2.h: Likewise.
35466         * io/bits/fcntl2.h: Likewise.
35467         * io/fcntl.h: Likewise.
35468         * io/sys/poll.h: Likewise.
35469         * misc/bits/syslog.h: Likewise.
35470         * misc/bits/syslog-ldbl.h: Likewise.
35471         * misc/sys/syslog.h: Likewise.
35472         * socket/bits/socket2.h: Likewise.
35473         * socket/sys/socket.h: Likewise.
35474         * debug/tst-chk1.c: Likewise.
35475         * wcsmbs/bits/wchar2.h: Likewise.
35476         * wcsmbs/bits/wchar-ldbl.h: Likewise.
35477         * wcsmbs/wchar.h: Likewise.
35478
35479 2012-04-29  Andreas Jaeger  <aj@suse.de>
35480
35481         * Makerules (tests): Remove enable-check-abi protection.
35482         (check-abi-warn): Remove.
35483         (check-abi-%): Remove check-abi-warn usage.
35484
35485         * configure.in: Remove check-abi configure option.
35486         * configure: Regenerated.
35487         * config.make.in (enable-check-abi): Remove.
35488
35489 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
35490
35491         [BZ #14033]
35492         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35493         double functions to double *_finite functions.
35494
35495         [BZ #13941]
35496         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35497         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35498         LDBL_MIN_EXP.
35499         * stdio-common/Makefile (tests): Add tst-sprintf3.
35500         * stdio-common/tst-sprintf3.c: New file.
35501
35502         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35503         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35504
35505 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35506
35507         * conform/conformtest.pl: Remove duplicate typed-constant
35508         handling.
35509
35510 2012-04-28  David S. Miller  <davem@davemloft.net>
35511
35512         * Makerules (%.abilist): Add vpath on sysdep_dirs.
35513         (check-abi-%): Remove AWK script prerequisite and explicit
35514         abilist directory.
35515         (check-abi): Rewrite to just diff the symlist with the abilist.
35516         (config-tls, config-abi-config): Delete, no longer used.
35517         (update-abi-%): Remove AWK script and explicit abilist directory.
35518         (update-abi): Rewrite to simply compare and conditionally copy the
35519         symlist and the sysdep abilist file.  Remove update-abi-config
35520         checks.
35521         * abilist/ld.abilist: Remove.
35522         * abilist/libBrokenLocale.abilist: Remove.
35523         * abilist/libanl.abilist: Remove.
35524         * abilist/libcrypt.abilist: Remove.
35525         * abilist/libdl.abilist: Remove.
35526         * abilist/librt.abilist: Remove.
35527         * abilist/libthread_db.abilist: Remove.
35528         * abilist/libutil.abilist: Remove.
35529         * scripts/extract-abilist.awk: Remove.
35530         * scripts/merge-abilist.awk: Remove.
35531         * sysdeps/generic/libcidn.abilist: New file.
35532         * sysdeps/generic/libnss_compat.abilist: New file.
35533         * sysdeps/generic/libnss_db.abilist: New file.
35534         * sysdeps/generic/libnss_dns.abilist: New file.
35535         * sysdeps/generic/libnss_files.abilist: New file.
35536         * sysdeps/generic/libnss_hesiod.abilist: New file.
35537         * sysdeps/generic/libnss_nis.abilist: New file.
35538         * sysdeps/generic/libnss_nisplus.abilist: New file.
35539         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35540         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35541         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35542         file.
35543         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35544         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35545         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35546         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35547         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35548         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35549         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35550         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35551         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35552         file.
35553         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35554         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35555         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35556         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35557         file.
35558         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35559         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35560         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35561         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35562         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35563         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35564         file.
35565         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35566         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35567         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35568         file.
35569         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35570         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35571         New file.
35572         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35573         New file.
35574         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35575         New file.
35576         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35577         New file.
35578         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35579         New file.
35580         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35581         New file.
35582         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35583         New file.
35584         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35585         New file.
35586         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35587         New file.
35588         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35589         New file.
35590         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35591         New file.
35592         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35593         New file.
35594         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35595         New file.
35596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35597         file.
35598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35599         New file.
35600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35601         New file.
35602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35603         file.
35604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35605         New file.
35606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35607         New file.
35608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35609         file.
35610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35611         New file.
35612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35613         New file.
35614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35615         New file.
35616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35617         New file.
35618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35619         New file.
35620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35621         New file.
35622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35624         file.
35625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35626         New file.
35627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35628         file.
35629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35630         file.
35631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35632         file.
35633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35634         file.
35635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35636         file.
35637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35638         New file.
35639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35640         file.
35641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35642         file.
35643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35644         New file.
35645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35646         file.
35647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35649         file.
35650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35651         New file.
35652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35653         file.
35654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35655         file.
35656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35657         file.
35658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35659         file.
35660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35661         file.
35662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35663         New file.
35664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35665         file.
35666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35667         file.
35668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35669         New file.
35670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35671         file.
35672         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35673         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35674         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35675         file.
35676         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35677         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35678         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35679         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35680         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35681         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35682         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35683         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35684         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35685         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35688         file.
35689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35690         New file.
35691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35692         file.
35693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35694         file.
35695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35696         file.
35697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35698         file.
35699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35700         file.
35701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35702         New file.
35703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35704         New file.
35705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35706         file.
35707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35708         New file.
35709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35710         file.
35711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35713         file.
35714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35715         New file.
35716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35717         file.
35718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35719         file.
35720         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35721         file.
35722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35723         file.
35724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35725         file.
35726         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35727         New file.
35728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35729         New file.
35730         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35731         file.
35732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35733         New file.
35734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35735         file.
35736
35737 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35738
35739         * conform/conformtest.pl: Fix typo in handling typed-constant from
35740         allow-header.
35741
35742 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35743
35744         * README: Cut down references to pre-2.6 Linux kernels and
35745         Linuxthreads.  Update lists of configurations in libc and ports
35746         and sort alphabetically.  Say "or newer" with Linux kernel version
35747         requirements.
35748
35749         * config.h.in [IS_IN_build]: Allow compiling without optimization.
35750
35751 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35752
35753         [BZ #887]
35754         * math/libm-test.inc (logb_test_downward): New test to expose
35755         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35756         rounding mode.
35757
35758 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35759
35760         [BZ #14027]
35761         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35762         to be done.
35763         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35764         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35765
35766 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
35767
35768         * sysdeps/unix/i386/brk.S: Remove file.
35769         * sysdeps/unix/i386/dl-brk.S: Likewise.
35770         * sysdeps/unix/i386/pipe.S: Likewise.
35771         * sysdeps/unix/i386/sigreturn.S: Likewise.
35772         * sysdeps/unix/i386/syscall.S: Likewise.
35773         * sysdeps/unix/i386/vfork.S: Likewise.
35774         * sysdeps/unix/i386/wait.S: Likewise.
35775
35776         * sysdeps/unix/common/tcsendbrk.c: Move to ...
35777         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35778
35779         * configure.in (arm*-none*): Do not allow without
35780         --enable-hacker-mode.
35781         (netbsd*): Remove case setting base_os.
35782         (386bsd*): Likewise.
35783         (freebsd*): Likewise.
35784         (bsdi*): Likewise.
35785         (osf*): Likewise.
35786         (sunos*): Likewise.
35787         (ultrix*): Likewise.
35788         (newsos*): Likewise.
35789         (dynix*): Likewise.
35790         (*bsd*): Likewise.
35791         (sysv*): Likewise.
35792         (isc*): Likewise.
35793         (esix*): Likewise.
35794         (sco*): Likewise.
35795         (minix*): Likewise.
35796         (irix4*): Likewise.
35797         (irix6*): Likewise.
35798         (solaris[2-9]*): Likewise.
35799         (none): Likewise.
35800         * configure: Regenerated.
35801
35802 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35803
35804         [BZ #11521]
35805         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35806         overflow or cancellation in calculating denominator.
35807         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35808         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35809         down expression to avoid unexpected rounding in newer GCCs.
35810         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35811
35812 2012-04-26  David S. Miller  <davem@davemloft.net>
35813
35814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35815         long-double compat symbols.
35816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35829
35830 2012-04-25  David S. Miller  <davem@davemloft.net>
35831
35832         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35833         HWCAP_* values only after the memory barriers have been defined.
35834         (atomic_full_barrier): Define.
35835         (atomic_read_barrier): Define.
35836         (atomic_write_barrier): Define.
35837
35838 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35839
35840         * shlib-versions: Add libgcc_s version information.
35841         * sysdeps/generic/libgcc_s.h: Remove.
35842         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35843         libgcc_s.h.
35844         * sysdeps/gnu/unwind-resume.c: Likewise.
35845         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35846
35847 2012-04-25  David S. Miller  <davem@davemloft.net>
35848
35849         * sysdeps/unix/sparc/brk.S: Delete.
35850         * sysdeps/unix/sparc/dl-brk.S: Delete.
35851         * sysdeps/unix/sparc/pipe.S: Delete.
35852         * sysdeps/unix/sparc/sysdep.S: Delete.
35853         * sysdeps/unix/sparc/sysdep.h: Delete.
35854         * sysdeps/unix/sparc/vfork.S: Delete.
35855         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35856         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35857         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35858         (ret_ERRVAL, r0, r1, MOVE): Define.
35859         (JUMPTARGET): Remove.
35860         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35861         sysdeps/unix/sparc/sysdep.h
35862         (ENTRY, END): Remove.
35863         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35864
35865 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
35866
35867         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35868         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35869         -DIS_IN_build.
35870
35871         * timezone/README: Update upstream location and email address for
35872         tzcode and tzdata.
35873         * timezone/zdump.c: Update from tzcode 2012b.
35874         * timezone/zic.c: Likewise.
35875
35876         * configure.in (libc_cv_as_needed): Remove test.
35877         * configure: Regenerated.
35878         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35879         conditional definition.
35880         [$(have-as-needed) != yes] (no-as-needed): Likewise.
35881         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35882         * config.make.in (have-as-needed): Remove variable.
35883
35884 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35885             Paul Pluzhnikov  <ppluzhnikov@google.com>
35886
35887         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35888         strings correctly.
35889
35890 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
35891
35892         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35893         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35894         * sysdeps/sh/strlen.S: Likewise.
35895
35896 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35897
35898         * sysdeps/unix/fork.S: Remove file.
35899         * sysdeps/unix/i386/fork.S: Likewise.
35900         * sysdeps/unix/sparc/fork.S: Likewise.
35901
35902         * sysdeps/unix/system.c: Remove file.
35903         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35904
35905         * sysdeps/unix/getegid.S: Remove file.
35906         * sysdeps/unix/geteuid.S: Likewise.
35907
35908 2012-04-24  Roland McGrath  <roland@hack.frob.com>
35909
35910         * scripts/check-localplt.awk: New file.
35911         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35912         of diff.
35913         * scripts/data/localplt-generic.data: Add a comment.
35914
35915         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35916         NODE when __dir_mkfile failed.
35917         * sysdeps/mach/hurd/symlinkat.c: Likewise.
35918         Reported by Ludovic Courtès <ludo@gnu.org>.
35919
35920 2012-04-24  Andreas Jaeger  <aj@suse.de>
35921
35922         * Makerules (common-clean): Also remove gen-as-const-headers
35923         files.
35924
35925 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35926
35927         * Makerules (native-compile): Do not change working directory for
35928         build.  Use $(OUTPUT_OPTION) in command.
35929         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35930
35931 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35932
35933         [BZ #13886]
35934         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35935         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35936         * math/libm-test.inc (floor_test): Add more tests.
35937         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35938
35939 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35940
35941         * sysdeps/unix/getdents.c: Remove file.
35942         * sysdeps/unix/sysv/getdents.c: Likewise.
35943         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35944
35945         * sysdeps/unix/syscalls.list (madvise): Add syscall from
35946         sysdeps/unix/mman/syscalls.list.
35947         (mmap): Likewise.
35948         (mprotect): Likewise.
35949         (msync): Likewise.
35950         (munmap): Likewise.
35951         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35952         * sysdeps/unix/mman/syscalls.list: Remove.
35953         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35954
35955         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35956         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35957         * configure: Regenerated.
35958         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35959         $(libgcc_s_suffix).
35960         * config.make.in (libgcc_s_suffix): Remove variable.
35961
35962 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
35963
35964         * sysdeps/unix/sysv/gethostname.c: Move to ...
35965         * sysdeps/posix/gethostname.c: ... here.
35966
35967         * sysdeps/unix/execve.S: Remove file.
35968
35969         * sysdeps/unix/_exit.S: Remove file.
35970
35971 2012-04-23  Andreas Jaeger  <aj@suse.de>
35972
35973         [BZ #13739]
35974         * manual/Makefile: Remove make dist support, there's no
35975         need for a stand-alone documentation tar ball.
35976         (TEXI2DVI): Define always, it's not in Makeconfig.
35977         (dist): Removed.
35978         (tar-it): Removed.
35979         (edition): Removed.
35980         (glibc-doc-$(edition).tar): Removed
35981         (%.Z): Removed.
35982         (%.gz): Removed.
35983         (%.uu): Removed.
35984         (ETAGS): Remove, it's in Makeconfig.
35985         (move-if-change): Remove, it's in Makeconfig.
35986
35987 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
35988
35989         [BZ #13970]
35990         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35991         (strtod, strtof, strtold, strtol, strtoul, strtoq)
35992         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35993         (strtod_l, strtof_l, strtold_l): Remove __wur.
35994         It is not necessarily an error to ignore strtol's return value.
35995         One can reliably look at the stored endptr to decide whether
35996         the number had valid syntax.
35997
35998 2012-04-21  Andreas Jaeger  <aj@suse.de>
35999
36000         [BZ #13739]
36001         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36002
36003 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36004
36005         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36006         * sysdeps/unix/sysv/Versions: Remove file.
36007
36008 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36009
36010         [BZ #13927]
36011         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36012
36013 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36014
36015         [BZ #7064]
36016         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36017         version from __vm86.
36018
36019 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36020
36021         * sysdeps/unix/common/lxstat.c: Remove file.
36022         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36023
36024         * sysdeps/unix/sysv/Makefile: Remove file.
36025
36026         * sysdeps/unix/sysv/direct.h: Remove file.
36027
36028         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36029         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36030         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36031         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36032         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36033         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36034         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36035
36036         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36037
36038         * sysdeps/unix/xmknod.c: Remove file.
36039         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36040
36041         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36042
36043         * sysdeps/unix/sysv/i386/time.S: Remove file.
36044
36045         * sysdeps/unix/fxstat.c: Remove file.
36046         * sysdeps/unix/xstat.c: Likewise.
36047         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36048
36049         * sysdeps/unix/sysv/sigaction.c: Remove file.
36050
36051         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36052         (sysdep_headers): Remove variable.
36053         [termio.h not in sysdep_headers] (generated): Likewise.
36054         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36055         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36056         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36057         * sysdeps/unix/sysv/tcflow.c: Likewise.
36058         * sysdeps/unix/sysv/tcflush.c: Likewise.
36059         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36060         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36061         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36062         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36063         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36064
36065         * sysdeps/unix/siglist.c: Remove file.
36066
36067         * sysdeps/unix/getppid.S: Remove file.
36068
36069         * sysdeps/unix/mkdir.c: Remove file.
36070         * sysdeps/unix/rmdir.c: Likewise.
36071
36072 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36073
36074         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36075         ERR_MAX value.
36076         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36077         errlist-compat value.
36078
36079 2012-04-18  David S. Miller  <davem@davemloft.net>
36080
36081         * sysdeps/generic/memcopy.h (reg_char): Delete.
36082         * debug/strcat_chk.c: Use char, not reg_char.
36083         * debug/strcpy_chk.c: Likewise.
36084         * debug/strncat_chk.c: Likewise.
36085         * debug/strncpy_chk.c: Likewise.
36086         * string/memchr.c: Likewise.
36087         * string/memrchr.c: Likewise.
36088         * string/rawmemchr.c: Likewise.
36089         * string/strcat.c: Likewise.
36090         * string/strchr.c: Likewise.
36091         * string/strchrnul.c: Likewise.
36092         * string/strcmp.c: Likewise.
36093         * string/strcpy.c: Likewise.
36094         * string/strncat.c: Likewise.
36095         * string/strncmp.c: Likewise.
36096         * string/strncpy.c: Likewise.
36097
36098 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36099
36100         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36101         __builtin_memcopy is called when src and dest ranges are known to not
36102         overlap.
36103
36104 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36105
36106         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36107         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36108         fwd_align_merge macro call.
36109         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36110         bwd_align_merge macro call.
36111         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36112
36113 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36114
36115         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36116         bwd_align_merge macros.
36117         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36118         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36119         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36120
36121 2012-04-18  David S. Miller  <davem@davemloft.net>
36122
36123         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36124
36125 2012-04-18  Andreas Jaeger  <aj@suse.de>
36126
36127         [BZ# 6794]
36128         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36129         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36130         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36131
36132         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36133         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36134         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36135
36136         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36137         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36138         Adjust for changed ldbl-128 files.
36139
36140         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36141         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36142         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36143
36144 2012-04-17  David S. Miller  <davem@davemloft.net>
36145
36146         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36147
36148 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36149
36150         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36151         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36152         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36153         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36154         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36155         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36156
36157 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36158
36159         [BZ #6794]
36160         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36161         * math/libm-test.inc: Add ilogb errno and exception tests.
36162         * math/w_ilogb.c: New file: ilogb wrapper.
36163         * math/w_ilogbf.c: New file: ilogbf wrapper.
36164         * math/w_ilogbl.c: New file: ilogbl wrapper.
36165         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36166         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36167         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36168         exception being thrown with 0.0 as argument.
36169         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36170         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36171         exception being thrown with 0.0 as argument.
36172         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36173         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36174         exception being thrown with 0.0 as argument.
36175         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36176         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36177         exception being thrown with 0.0 as argument.
36178         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36179         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36180         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36181         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36182         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36183         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36184         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36185         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36186         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36187
36188 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36189
36190         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36191         with altivec.
36192
36193 2012-04-16  Marek Polacek  <polacek@redhat.com>
36194
36195         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36196
36197 2012-04-16  Marek Polacek  <polacek@redhat.com>
36198
36199         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36200         operands of fdivp instruction.
36201
36202 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36203
36204         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36205         * elf/tst-auditmod3b.c: Likewise.
36206         * elf/tst-auditmod4b.c: Likewise.
36207         * elf/tst-auditmod5b.c: Likewise.
36208         * elf/tst-auditmod6b.c: Likewise.
36209         * elf/tst-auditmod6c.c: Likewise.
36210         * elf/tst-auditmod7b.c: Likewise.
36211         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36212         * sysdeps/x86_64/preconfigure.in: Likewise.
36213         * sysdeps/x86_64/preconfigure: Regenerated.
36214
36215 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36216
36217         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36218         __ILP32__.
36219
36220 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36221
36222         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36223         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36224
36225 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36226
36227         [BZ #13973]
36228         * locale/iso-639.def: Fix gl language name. Spotted by
36229         Yaron Shahrabani.
36230
36231 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36232
36233         [BZ #2074]
36234         * libio/libio.h (__io_write_fn): Update comment.
36235
36236 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36237
36238         [BZ #2074]
36239         * stdio.texi (Hook Functions): The user provided writer function
36240         is not allowed to return -1.
36241
36242 2012-04-11  David S. Miller  <davem@davemloft.net>
36243
36244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36245
36246 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
36247
36248         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36249         Add a leading slash to rtkaio.
36250
36251 2012-04-11  Jim Meyering  <meyering@redhat.com>
36252
36253         [BZ #11959]
36254         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36255         It is not necessarily an error to ignore fwrite's return
36256         value.  One can reliably use ferror to test for errors after
36257         the fact.
36258
36259 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36260
36261         * bits/types.h (__snseconds_t): New type.
36262         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36263
36264         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36265         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36266         (__SNSECONDS_T_TYPE): Likewise.
36267         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36268         (__SNSECONDS_T_TYPE): Likewise.
36269         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36270         (__SNSECONDS_T_TYPE): Likewise.
36271
36272 2012-04-10  Andreas Jaeger  <aj@suse.de>
36273
36274         [BZ #2636]
36275         * manual/time.texi (Processor Time): Return type of times is
36276         elapsed real time since an arbitrary point in the past.
36277         (CPU Time): Move CLK_TCK from here...
36278         (Processor Time): ...to here.  Correct description.
36279         * manual/conf.texi (Constants for Sysconf): Correct description of
36280         _SC_CLK_TCK.
36281
36282 2012-04-10  David S. Miller  <davem@davemloft.net>
36283
36284         [BZ #13967]
36285         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36286         where the is a gap between DT_REL(A) and DT_JMPREL.
36287
36288 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36289
36290         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36291         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36292         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36293
36294 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36295
36296         * elf/dl-support.c (_dl_inhibit_cache): New variable.
36297         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36298         (dl_main): Handle --inhibit-cache.
36299         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36300         _dl_inhibit_cache.
36301         * elf/dl-load.c (_dl_map_object): Use it.
36302         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36303
36304 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36305
36306         [BZ #13872]
36307         * sysdeps/i386/fpu/e_powl.S (p78): New object.
36308         (__ieee754_powl): Saturate large exponents rather than testing for
36309         overflow of y*log2(x).
36310         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36311         * math/libm-test.inc (pow_test): Do not permit spurious overflow
36312         exceptions.
36313
36314         [BZ #11521]
36315         * math/s_ctan.c: Include <float.h>.
36316         (__ctan): Avoid internal overflow or cancellation in calculating
36317         denominator.
36318         * math/s_ctanf.c: Likewise.
36319         * math/s_ctanl.c: Likewise.
36320         * math/s_ctanh.c: Likewise.
36321         * math/s_ctanhf.c: Likewise.
36322         * math/s_ctanhl.c: Likewise.
36323         * math/libm-test.inc (ctan_test): Add more tests.
36324         (ctanh_test): Likewise.
36325         * sysdeps/i386/fpu/libm-test-ulps: Update.
36326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36327
36328 2012-04-09  Andreas Jaeger  <aj@suse.de>
36329
36330         [BZ #6894]
36331         * manual/filesys.texi (Directory Entries): Mention that d_namlen
36332         is an optional BSD extension.
36333
36334         [BZ #10254]
36335         * manual/stdio.texi (Opening Streams): Document additional fopen
36336         parameters.
36337
36338 2012-04-09  Roland McGrath  <roland@hack.frob.com>
36339
36340         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36341         %eax without telling the compiler.
36342
36343 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
36344
36345         [BZ # 13963]
36346         * manual/install.texi: Use sourceware.org.
36347
36348 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36349
36350         [BZ #13873]
36351         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36352         (__ieee754_pow): Generate overflow and underflow using huge*huge
36353         and tiny*tiny rather than just returning constant infinity or zero
36354         for large exponents.
36355         * math/libm-test.inc (pow_test): Require overflow exceptions for
36356         applicable cases of large exponents.
36357
36358         [BZ #706]
36359         * sysdeps/i386/fpu/e_pow.S (p10): New object.
36360         (__ieee754_pow): Use iterative multiplication algorithm only for
36361         integer exponents with absolute value below 1024.  Check for odd
36362         integer exponents when using algorithm for real exponents.
36363         * math/libm-test.inc (pow_test): Add more tests.
36364         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36365
36366 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
36367
36368         [BZ #13705]
36369         * math/libm-test.inc (exp_test): Do not allow overflow exception
36370         on underflow test.
36371
36372 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
36373
36374         [BZ #13705]
36375         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36376         instead of __kernel_standard_f.
36377
36378 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
36379
36380         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36381         * sysdeps/x86_64/memset_chk.S: Likewise.
36382
36383 2012-04-08  Andreas Jaeger  <aj@suse.de>
36384
36385         [BZ #10153]
36386         * manual/startup.texi (Environment Access): Describe return value
36387         for putenv and setenv.
36388
36389         [BZ #6895]
36390         * manual/filesys.texi (Directory Entries): Add description for
36391         DT_LNK.
36392
36393         [BZ #6890]
36394         * manual/filesys.texi (Directory Entries): Clarify that it's file
36395         system not operating system in the description of DT_UNKNOWN.
36396
36397         [BZ #6578]
36398         * manual/syslog.texi (closelog): Fix reference, it's openlog.
36399
36400 2012-04-08  Stephen Compall  <s11@member.fsf.org>
36401
36402         [BZ #6649]
36403         * manual/llio.texi (Opening and Closing Files): Add cross
36404         reference to explain mode argument.
36405
36406 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
36407
36408         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36409         * sysdeps/x86_64/memset_chk.S: Likewise.
36410
36411 2012-04-07  David S. Miller  <davem@davemloft.net>
36412
36413         * elf/elf.h (R_SPARC_WDISP10): Define.
36414         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36415         R_SPARC_SIZE32.
36416         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36417         R_SPARC_SIZE64 and R_SPARC_H34.
36418
36419 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
36420
36421         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36422         conditions and remove no longer applicable assertion.
36423
36424 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36425
36426         * bits/byteswap.h: Include <features.h>.
36427         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36428         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36429
36430 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36431
36432         * bits/byteswap.h (__bswap_16): Removed.
36433         Include <bits/byteswap-16.h> to get __bswap_16.
36434         * sysdeps/i386/bits/byteswap.h: Likewise.
36435         * sysdeps/s390/bits/byteswap.h: Likewise.
36436         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36437         * bits/byteswap-16.h: New file.
36438         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36439         * sysdeps/s390/bits/byteswap-16.h: Likewise.
36440         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36441         * string/Makefile (headers): Add bits/byteswap-16.h.
36442
36443 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36444
36445         [BZ #13895]
36446         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36447         extra indirection.
36448         * nss/Makefile (tests-static, tests): Add tst-nss-static.
36449         * nss/tst-nss-static.c: New.
36450
36451 2012-04-06  Robert Millan  <rmh@gnu.org>
36452
36453         [BZ #6486]
36454         * manual/llio.texi (File Position Primitive): lseek
36455         refers to WHENCE when it really means OFFSET.
36456
36457 2012-04-06  Andreas Jaeger  <aj@suse.de>
36458
36459         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36460         strncmp declarations.
36461
36462         * abilist/libc.abilist: Add __poll and __ppoll.
36463
36464 2012-04-05  David S. Miller  <davem@davemloft.net>
36465
36466         * scripts/check-local-headers.sh: Accept a host triplet in the
36467         path matched by the exclude regexp.
36468
36469         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36470         definition.
36471         * sysdeps/powerpc/powerpc32/dl-machine.h
36472         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36473         * sysdeps/s390/s390-32/dl-machine.h
36474         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36475         * sysdeps/sparc/sparc32/dl-machine.h
36476         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36477         * sysdeps/sparc/sparc64/dl-machine.h
36478         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36479
36480         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36481         lazy binding.
36482         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36483         undefined symbol errors.
36484
36485         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36486         DT_NEEDED entries.
36487
36488 2012-04-05  Michael Matz  <matz@suse.de>
36489
36490         [BZ #13592]
36491         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36492
36493 2012-04-05  Andreas Jaeger  <aj@suse.de>
36494
36495         [BZ #13908]
36496         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36497         comment.
36498
36499 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36500
36501         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36502         which ROUND is no valid rounding mode.
36503
36504 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36505
36506         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36507         read again.
36508         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36509
36510 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36511
36512         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36513         an exception using FPU order intentionally.
36514
36515 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36516
36517         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36518         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36519         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36520         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36521
36522 2012-04-05  Simon Josefsson  <simon@josefsson.org>
36523
36524         [BZ #12340]
36525         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36526         EINVAL when BUFLEN is too smal.
36527
36528 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36529
36530         [BZ #13553]
36531         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36532         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36533
36534 2012-04-03  Andreas Jaeger  <aj@suse.de>
36535
36536         [BZ #13938]
36537         * manual/setjmp.texi (System V contexts): Fix sentence.
36538
36539         [BZ #13926]
36540         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36541         New macro for this case.
36542         [!__GNUC__] (__bswap_64): New inline function for this case.
36543         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36544         * bits/byteswap.h: Likewise.
36545         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36546         ull, guard with __GLIBC_HAVE_LONG_LONG.
36547
36548         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36549         __GLIBC_HAVE_LONG_LONG.
36550
36551         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36552         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36553
36554 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36555
36556         [BZ #13691]
36557         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36558         inptr and inend, rather than using last_ch.
36559
36560 2012-04-02  David S. Miller  <davem@davemloft.net>
36561
36562         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36563         * stdio-common/printf-parse.h (read_int): Change return type to
36564         'int', return -1 on INT_MAX overflow.
36565         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36566         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
36567         overflows INT_MAX.  Check for overflow of in-format-string precision
36568         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
36569         SIZE_MAX not INT_MAX for integer overflow test.
36570         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36571         skip the construct in the format string but do not record anything.
36572         * stdio-common/bug22.c: Adjust to test both width/prevision
36573         INT_MAX overflow as well as total length INT_MAX overflow.  Check
36574         explicitly for proper errno values.
36575
36576 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36577
36578         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36579         CHAR_MAX.
36580         * string/test-strcmp.c [! WIDE]: Likewise.
36581         * time/tst-mktime2.c: Likewise for INT_MAX.
36582         * string/test-string.h: #include <sys/param.h> for MIN.
36583
36584         * csu/init-first.c (__libc_init_first): Call __ctype_init.
36585         * sysdeps/i386/init-first.c (init): Likewise.
36586         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36587         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36588         * sysdeps/sh/init-first.c (init): Likewise.
36589
36590 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
36591
36592         * po/ru.po: Update from translation team.
36593         * po/vi.po: Likewise.
36594
36595 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36596
36597         * resolv/nss_dns/dns-host.c: Merge copyright years.
36598
36599 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36600
36601         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36602         Optimize memcpy with prefetch if
36603         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
36604         src, dst pointers have unequal 16 byte alignments.
36605
36606 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36607
36608         [BZ #13928]
36609         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36610         from a CNAME entry and return the minimum ttl for the query.
36611         (gaih_getanswer_slice): Likewise.
36612
36613 2012-03-30  Jeff Law  <law@redhat.com>
36614
36615         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36616         due to long keys.
36617         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36618         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36619
36620         * resolv/nss_dns/dns-host.c: Update copyright year.
36621
36622 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
36623
36624         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36625         requests to save a system call.  Fix check that all bytes are sent.
36626
36627         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36628         comments for sendmmsg.
36629
36630 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36631
36632         [BZ #13691]
36633         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36634         with only 1 character between 0x0041 and 0x01b0.
36635         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36636         * wcsmbs/tst-mbsnrtowcs.c: New file.
36637
36638 2012-03-29  David S. Miller  <davem@davemloft.net>
36639
36640         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36641         small copies by hand.
36642
36643 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36644
36645         [BZ #13761]
36646         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36647         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36648         group memberships.
36649
36650 2012-03-28  David S. Miller  <davem@davemloft.net>
36651
36652         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36653         that branches into memcpy.
36654         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36655         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36656         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36657         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36658         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36659         bits.
36660         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36661         implementation too.
36662         * sysdeps/sparc/mempcpy.S: New file.
36663
36664         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36665         the IFUNC routine in the libc case.
36666         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36667
36668         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36669         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36670         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36671         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36672         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36673         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36674         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36675         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36676
36677         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36678         loop to 256 bytes instead of 64 bytes and fix test signedness.
36679
36680         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36681         * sysdeps/sparc/sparc32/Makefile: rather than here...
36682         * sysdeps/sparc/sparc64/Makefile: and here.
36683
36684 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
36685
36686         * malloc/mallocbug.c: Avoid warnings about unused variables.
36687
36688 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36689
36690         [BZ #13760]
36691         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36692         in the right place. Discard and retry query if response is
36693         larger than input buffer size.
36694
36695 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
36696
36697         [BZ #369]
36698         [BZ #2678]
36699         [BZ #3866]
36700         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36701         x for large integer exponent.
36702         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36703         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
36704         sign of result as needed afterwards.
36705         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36706         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36707         result for underflowing pow the same as for overflow.
36708         (__kernel_standard_l): Handle powl overflow and underflow here
36709         rather than calling __kernel_standard.
36710         * math/libm-test.inc (pow_test): Add more tests.
36711
36712         [BZ #3868]
36713         [BZ #13879]
36714         [BZ #13910]
36715         [BZ #13911]
36716         [BZ #13912]
36717         [BZ #13913]
36718         [BZ #13915]
36719         [BZ #13916]
36720         [BZ #13917]
36721         [BZ #13918]
36722         [BZ #13919]
36723         [BZ #13920]
36724         [BZ #13921]
36725         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36726         * sysdeps/ieee754/k_standard.c: Include <float.h>.
36727         (__kernel_standard_l): New function.
36728         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36729         __kernel_standard.
36730         * math/w_acosl.c (__acosl): Likewise.
36731         * math/w_asinl.c (__asinl): Likewise.
36732         * math/w_atan2l.c (__atan2l): Likewise.
36733         * math/w_atanhl.c (__atanhl): Likewise.
36734         * math/w_coshl.c (__coshl): Likewise.
36735         * math/w_exp10l.c (__exp10l): Likewise.
36736         * math/w_exp2l.c (__exp2l): Likewise.
36737         * math/w_fmodl.c (__fmodl): Likewise.
36738         * math/w_hypotl.c (__hypotl): Likewise.
36739         * math/w_j0l.c (__j0l, __y0l): Likewise.
36740         * math/w_j1l.c (__j1l, __y1l): Likewise.
36741         * math/w_jnl.c (__jnl, __ynl): Likewise.
36742         * math/w_lgammal.c (__lgammal): Likewise.
36743         * math/w_log10l.c (__log10l): Likewise.
36744         * math/w_log2l.c (__log2l): Likewise.
36745         * math/w_logl.c (__logl): Likewise.
36746         * math/w_powl.c (__powl): Likewise.
36747         * math/w_remainderl.c (__remainderl): Likewise.
36748         * math/w_scalbl.c (sysv_scalbl): Likewise.
36749         * math/w_sinhl.c (__sinhl): Likewise.
36750         * math/w_sqrtl.c (__sqrtl): Likewise.
36751         * math/w_tgammal.c (__tgammal): Likewise.
36752         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36753         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36754         * math/libm-test.inc (acos_test): Add more tests.
36755         (acosh_test): Likewise.
36756         (asin_test): Likewise.
36757         (atanh_test): Likewise.
36758         (exp_test): Likewise.
36759         (exp10_test): Likewise.
36760         (exp2_test): Likewise.
36761         (expm1_test): Likewise.
36762         (lgamma_test): Likewise.
36763         (log_test): Likewise.
36764         (log10_test): Likewise.
36765         (log1p_test): Likewise.
36766         (log2_test): Likewise.
36767         (pow_test): Do not allow some spurious overflow exceptions.
36768         (sqrt_test): Add more tests.
36769         (tgamma_test): Likewise.
36770         (y0_test): Likewise.
36771         (y1_test): Likewise.
36772         (yn_test): Likewise.
36773
36774 2012-03-27  Anton Blanchard  <anton@samba.org>
36775
36776         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36777         MAP_HUGETLB.
36778         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36779         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36780         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36781
36782 2012-03-27  David S. Miller  <davem@davemloft.net>
36783
36784         * conform/Makefile: Run run-conformtest.sh using $(BASH).
36785
36786         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36787         have-as-vis3 check.
36788
36789 2012-03-27  Andreas Jaeger  <aj@suse.de>
36790
36791         * sysdeps/x86_64/elf/configure.in: Moved to ...
36792         * sysdeps/x86_64/configure.in: ... here.
36793         * sysdeps/x86_64/elf/start.S: Moved to ...
36794         * sysdeps/x86_64/start.S: ... here.
36795         * sysdeps/x86_64/elf/configure: Delete.
36796
36797         * sysdeps/x86_64/configure.in: Merge contents from
36798         sysdeps/i386/configure.in (without i686 check).
36799
36800         * sysdeps/i386/elf/Versions: Merge into ...
36801         * sysdeps/i386/Versions: ... this.
36802         * sysdeps/i386/elf/Versions: Delete file.
36803         * sysdeps/i386/elf/start.S: Moved to ...
36804         * sysdeps/i386/start.S: ...here.
36805         * sysdeps/i386/elf/configure.in: Merge into...
36806         * sysdeps/i386/configure.in: ...here.
36807         * sysdeps/i386/elf/configure.in: Delete file.
36808         * sysdeps/i386/elf/configure: Delete file.
36809
36810         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36811         * debug/backtracesyms.c: ... here.
36812         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36813         * debug/backtracesymsfd.c: ... here.
36814         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36815         * sysdeps/generic/ifunc-sel.h: ... here.
36816
36817         * sysdeps/unix/i386/start.c: Delete file.
36818         * sysdeps/unix/sparc/start.c: Delete file.
36819         * sysdeps/unix/start.c: Delete file.
36820
36821         * sysdeps/sh/elf/configure.in: Moved to ...
36822         * sysdeps/sh/configure.in: ... here.
36823         * sysdeps/sh/elf/start.S: Moved to ...
36824         * sysdeps/sh/start.S: ... here.
36825         * sysdeps/sh/elf/configure: Delete file.
36826
36827         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36828         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36829         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36830         * sysdeps/powerpc/powerpc64/entry.h: ... here.
36831         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36832         * sysdeps/powerpc/powerpc64/start.S: here.
36833         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36834         * sysdeps/powerpc/powerpc64/Makefile: ... this.
36835         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36836         * sysdeps/powerpc/powerpc64/configure.in: ... this.
36837         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36838
36839         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36840         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36841         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36842         * sysdeps/powerpc/powerpc32/start.S: ... here.
36843         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36844         * sysdeps/powerpc/powerpc32/configure.in: ... this.
36845         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36846
36847         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36848         * sysdeps/powerpc/ifunc-sel.h: ... here.
36849         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36850         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36851
36852         * sysdeps/sparc/elf/configure.in: Moved to ...
36853         * sysdeps/sparc/configure.in: ... here.
36854         * sysdeps/sparc/elf/configure: Delete file.
36855         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36856         * sysdeps/sparc/sparc32/start.S: ... here.
36857         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36858         * sysdeps/sparc/sparc64/start.S: ... here.
36859         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36860         * sysdeps/sparc/sparc32/Makefile: ... this.
36861         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36862         * sysdeps/sparc/sparc64/Makefile: ... this.
36863
36864         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36865         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36866         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36867         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36868         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36869         * sysdeps/s390/s390-32/setjmp.S: ... here.
36870         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36871         * sysdeps/s390/s390-32/configure.in: ... here.
36872         * sysdeps/s390/s390-32/elf/configure: Delete file.
36873         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36874         * sysdeps/s390/s390-32/start.S: ... here.
36875
36876         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36877         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36878         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36879         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36880         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36881         * sysdeps/s390/s390-64/setjmp.S: ... here.
36882         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36883         * sysdeps/s390/s390-64/configure.in: ... here
36884         * sysdeps/s390/s390-64/elf/configure: Delete file.
36885         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36886         * sysdeps/s390/s390-64/start.S: ... here.
36887         * sysdeps/s390/s390-64/elf/configure: Delete.
36888
36889         * configure.in: Remove support for elf directories in sysdeps.
36890
36891         * configure: Regenerated.
36892         * sysdeps/i386/configure: Regenerated.
36893         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36894         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36895         * sysdeps/s390/s390-32/configure: Regenerated.
36896         * sysdeps/s390/s390-64/configure: Regenerated.
36897         * sysdeps/sh/configure: Regenerated.
36898         * sysdeps/sparc/configure: Regenerated.
36899         * sysdeps/x86_64/configure: Regenerated.
36900
36901 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
36902
36903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36904
36905         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36906         denormal result into account.
36907
36908 2012-03-25  Roland McGrath  <roland@hack.frob.com>
36909
36910         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36911         Reported by Allan McRae <allan@archlinux.org>.
36912
36913 2012-03-23  Jeff Law  <law@redhat.com>
36914
36915         * nss/getnssent.c (__nss_getent): Fix typo.
36916
36917 2012-03-23  David S. Miller  <davem@davemloft.net>
36918
36919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36920
36921 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
36922
36923         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36924         to pad to uint64_t for each field.
36925         (dl_tls_index): Replace unsigned long with uint64_t.
36926
36927 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
36928         Paul Pluzhnikov  <ppluzhnikov@google.com>
36929
36930         [BZ #6528]
36931         * grp/Makefile (otherlibs): Don't set it.
36932         * inet/Makefile (otherlibs): Likewise.
36933         * login/Makefile (otherlibs): Likewise.
36934         * nscd/Makefile (otherlibs): Likewise.
36935         * posix/Makefile (otherlibs): Likewise.
36936         * pwd/Makefile (otherlibs): Likewise.
36937         * rt/Makefile (otherlibs): Likewise.
36938         * sunrpc/Makefile (otherlibs): Likewise.
36939         * nss/Makefile (otherlibs): Likewise.
36940         Add libnss_files to routines and static-only-routines.
36941         ($(objpfx)getent): Remove rule.
36942         * resolv/Makefile: Add libnss_dns and libresolv to routines and
36943         static-only-routines.
36944
36945 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36946
36947         [BZ #13892]
36948         * math/s_cexp.c: Include <float.h>.
36949         (__cexp): Handle exp result overflowing not necessarily
36950         overflowing both real and imaginary parts of result.
36951         * math/s_cexpf.c: Likewise.
36952         * math/s_cexpl.c: Likewise.
36953         * math/libm-test.inc (cexp_test): Add more tests.
36954         * sysdeps/i386/fpu/libm-test-ulps: Update.
36955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36956
36957 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36958
36959         * include/link.h (ELFW): New macro.
36960         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36961         Replace ELF64_R_TYPE with ELFW(R_TYPE).
36962
36963 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36964
36965         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36966         with uint64_t.
36967
36968 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36969
36970         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36971         declaration.
36972         (struct La_x32_retval): Likewise.
36973
36974 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36975
36976         * sysdeps/x86_64/preconfigure.in: New file.
36977         * sysdeps/x86_64/preconfigure: New generated file.
36978
36979 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36980
36981         [BZ #13824]
36982         * math/e_exp2l.c: Include <float.h>.
36983         (__ieee754_exp2l): Handle overflow and underflow cases
36984         separately.  Only pass fractional part of argument to
36985         __ieee754_expl.
36986         * math/libm-test.inc (exp2_test): Add more tests.
36987
36988         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36989         negating x to take absolute value.
36990         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36991         Likewise.
36992         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36993         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36994         Likewise.
36995         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36996         computing low part if x was negated.
36997         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36998
36999 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37000
37001         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37002         la_x32_gnu_pltexit.
37003         (pltexit): Cast int_retval to ptrdiff_t.
37004         * elf/tst-auditmod3b.c: Likewise.
37005         * elf/tst-auditmod4b.c: Likewise.
37006         * elf/tst-auditmod5b.c: Likewise.
37007         * elf/tst-auditmod6b.c: Likewise.
37008         * elf/tst-auditmod6c.c: Likewise.
37009         * elf/tst-auditmod7b.c: Likewise.
37010
37011         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37012         and x32_gnu_pltexit.
37013
37014         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37015         __ELF_NATIVE_CLASS.
37016         (La_x32_regs): New macro.
37017         (La_x32_retval): Likewise.
37018         (la_x32_gnu_pltenter): New function prototype.
37019         (la_x32_gnu_pltexit): Likewise.
37020
37021 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37022
37023         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37024         exponent.
37025
37026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37027
37028         * configure.in (libc_cv_cc_nofma): Check for option to disable
37029         generation of FMA instructions.
37030         * configure: Regenerate.
37031         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37032         * sysdeps/ieee754/dbl-64/Makefile: New file.
37033         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37034         Remove brandred-fma4.
37035         (CFLAGS-brandred-fma4.c): Remove.
37036         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37037         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37038         define.
37039         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37040         define.
37041
37042 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37043
37044         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37045         LLONG_MAX != LONG_MAX.
37046         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37047         (_fitoa_word): Likewise.
37048         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37049         LLONG_MAX != LONG_MAX.
37050         * stdio-common/_itowa.h: Include <_itoa.h>.
37051         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37052         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37053         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37054         only if not defined.
37055         (_ITOA_WORD_TYPE): Likewise.
37056         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37057         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37058
37059 2012-03-21  David S. Miller  <davem@davemloft.net>
37060
37061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37062
37063 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37064
37065         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37066         of x86_64 when setting libc_cv_slibdir, libdir and
37067         libc_cv_localedir.
37068         * sysdeps/unix/sysv/linux/configure: Regenerated.
37069
37070 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37071
37072         * manual/lang.texi (Old Varargs): Remove section.
37073         (How Variadic): Update menu.
37074         (va_start): Do not mention varargs.h.
37075
37076 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37077             Joseph Myers  <joseph@codesourcery.com>
37078
37079         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37080         link test.
37081         * configure: Regenerated.
37082
37083 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37084
37085         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37086         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37087         conformtest.pl
37088
37089 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37090
37091         * NOTES: Remove.
37092         * Makefile (files-for-dist): Remove NOTES.
37093         (NOTES): Remove rule.
37094         * README: Don't refer to NOTES.
37095         * manual/creature.texi: Don't include macros.texi.
37096         * manual/intro.texi (creature.texi): Remove comment referring to
37097         NOTES.
37098
37099         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37100         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37101         * configure: Regenerated.
37102         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37103         LIBC_TRY_CC_OPTION.
37104         (libc_cv_as_i686): Likewise.
37105         (libc_cv_cc_avx): Likewise.
37106         (libc_cv_cc_sse2avx): Likewise.
37107         (libc_cv_cc_fma4): Likewise.
37108         (libc_cv_cc_novzeroupper): Likewise.
37109         * sysdeps/i386/configure: Regenerated.
37110
37111         [BZ #13883]
37112         * sysdeps/i386/fpu/s_cexp.S: Remove.
37113         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37114         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37115         * math/libm-test.inc (cexp_test): Add more tests.
37116         * sysdeps/i386/fpu/libm-test-ulps: Update.
37117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37118
37119 2012-03-21  Allan McRae  <allan@archlinux.org>
37120
37121         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37122
37123 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37124
37125         [BZ #13871]
37126         * math/w_exp2.c: Do not include <float.h>.
37127         (o_threshold, u_threshold): Remove.
37128         (__exp2): Calculate result before checking finiteness and calling
37129         __kernel_standard.
37130         * math/w_exp2f.c: Likewise.
37131         * math/w_exp2l.c: Likewise.
37132         * math/libm-test.inc (exp2_test): Require overflow exception for
37133         1e6 input.
37134
37135         [BZ #3866]
37136         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37137         range of signed 64-bit integers before using fistpll.  Remove
37138         checks for whether integers fit in mantissa bits.
37139         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37140         the range of signed 32-bit integers before using fistpl.  Remove
37141         checks for whether integers fit in mantissa bits.
37142         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37143         (__ieee754_powl): Test for y outside the range of signed 64-bit
37144         integers before using fistpll.  Reduce 64-bit values to 63-bit
37145         ones as needed.
37146         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37147         divide-by-zero is raised for zero to large negative powers.
37148         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37149         (__ieee754_powl): Test for y outside the range of signed 64-bit
37150         integers before using fistpll.  Reduce 64-bit values to 63-bit
37151         ones as needed.
37152         * math/libm-test.inc (pow_test): Add more tests.
37153
37154 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37155
37156         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37157         <stdio-common/_itoa.h>.
37158         * debug/segfault.c: Likewise.
37159         * elf/dl-cache.c: Likewise.
37160         * elf/dl-minimal.c: Likewise.
37161         * elf/dl-misc.c: Likewise.
37162         * elf/dl-sysdep.c: Likewise.
37163         * elf/dl-version.c: Likewise.
37164         * elf/rtld.c: Likewise.
37165         * hurd/hurdsock.c: Likewise.
37166         * hurd/lookup-retry.c: Likewise.
37167         * malloc/malloc.c: Likewise.
37168         * malloc/mtrace.c: Likewise.
37169         * nscd/nscd_getgr_r.c: Likewise.
37170         * nscd/nscd_getpw_r.c: Likewise.
37171         * nscd/nscd_getserv_r.c: Likewise.
37172         * posix/getopt_init.c: Likewise.
37173         * posix/wordexp.c: Likewise.
37174         * stdio-common/_itoa.c: Likewise.
37175         * stdio-common/printf_fphex.c: Likewise.
37176         * stdio-common/vfprintf.c: Likewise.
37177         * string/_strerror.c: Likewise.
37178         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37179         * sysdeps/i386/i686/hp-timing.h: Likewise.
37180         * sysdeps/mach/_strerror.c: Likewise.
37181         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37182         * sysdeps/mach/hurd/sethostid.c: Likewise.
37183         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37184         * sysdeps/mach/xpg-strerror.c: Likewise.
37185         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37186         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37187         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37188         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37189         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37190         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37191         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37192         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37193         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37194         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37195         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37196         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37197         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37198         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37199         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37200         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37201         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37202         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37203         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37204         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37205         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37206
37207         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37208
37209         * stdio-common/_itoa.h: Moved to ...
37210         * sysdeps/generic/_itoa.h: Here.
37211
37212         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37213
37214         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37215         instead of "_itoa.h" and "_itowa.h".
37216         * stdio-common/vfprintf.: Likewise.
37217
37218 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37219
37220         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37221         <bits/wordsize.h>.
37222         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37223         (__signbit): Likwise.
37224         (llrintf): Likwise.
37225         (llrint): Likwise.
37226
37227 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37228
37229         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37230         __WORDSIZE != 64.
37231
37232 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37233
37234         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37235         OVERFLOW_EXCEPTION_OK.
37236         * math/libm-test.inc ("Philosophy"): Update comment about
37237         exception testing.
37238         (OVERFLOW_EXCEPTION): Define.
37239         (OVERFLOW_EXCEPTION_OK): Likewise.
37240         (INVALID_EXCEPTION_OK): Renumber.
37241         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37242         (IGNORE_ZERO_INF_SIGN): Likewise.
37243         (test_exceptions): Handle FE_OVERFLOW.
37244         (exp10_test): Expect overflow exceptions.
37245         (exp2_test): Likewise.
37246         (expm1_test): Likewise.
37247         (nextafter_test): Likewise.
37248         (pow_test): Likewise.
37249         (scalbn_test): Likewise.
37250         (scalbln_test): Likewise.
37251
37252 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37253
37254         * sysdeps/x86_64/bits/atomic.h
37255         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37256         64bit integer.
37257         (atomic_exchange_acq): Likewise.
37258         (__arch_exchange_and_add_body): Likewise.
37259         (__arch_add_body): Likewise.
37260         (atomic_add_negative): Likewise.
37261         (atomic_add_zero): Likewise.
37262
37263 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37264
37265         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37266         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37267
37268 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37269
37270         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37271         Check __x86_64__ instead of __WORDSIZE.
37272
37273 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37274
37275         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37276
37277 2012-03-19  David S. Miller  <davem@davemloft.net>
37278
37279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37280
37281         * sysdeps/sparc/fpu/fenv_private.h: New file.
37282         * sysdeps/sparc/fpu/math_private.h: Use it.
37283         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37284         Remove.
37285         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37286         (libc_feholdexcept_setroundl): Remove.
37287         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37288         Remove.
37289         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37290         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37291
37292 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37293
37294         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37295         int64_t instead of long int.
37296         (INSERT_WORDS64): Likwise.
37297
37298 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37299
37300         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37301         _Unwind_GetCFA return to _Unwind_Ptr first.
37302
37303 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
37304
37305         [BZ #13629]
37306         * math/s_clog.c: Include <float.h>.
37307         (__clog): Scale large or subnormal inputs.
37308         * math/s_clogf.c: Likewise.
37309         * math/s_clogl.c: Likewise.
37310         * math/s_clog10.c: Include <float.h>.
37311         (M_LOG10_2): Define.
37312         (__clog10): Scale large or subnormal inputs.
37313         * math/s_clog10f.c: Likewise.
37314         * math/s_clog10l.c: Likewise.
37315         * math/libm-test.inc (clog_test): Add more tests.
37316         (clog10_test): Likewise.
37317         * sysdeps/i386/fpu/libm-test-ulps: Update.
37318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37319
37320         [BZ #11451]
37321         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37322         x and y.
37323         * math/libm-test.inc (atan2_test): Add another test.
37324
37325         * Makerules (common-objdir-compile): Remove.
37326         * sysdeps/unix/Makefile (config-generated): Do not add
37327         $(unix-generated) to variable.
37328         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37329         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37330         Remove rule.
37331         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37332         Likewise.
37333         [generic bits/local_lim.h] (before-compile): Do not append to
37334         variable.
37335         [generic bits/local_lim.h] (common-generated): Likewise.
37336         [generic sys/param.h] (before-compile): Do not append to variable.
37337         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37338         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37339         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37340         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37341         include.
37342         [generic sys/param.h] (sys/param.h-includes): Remove variable.
37343         [generic sys/param.h] (sys/param.h-includes): Remove rule.
37344         [generic sys/param.h] ($(addprefix
37345         $(common-objpfx),$(sys/param.h-includes))): Likewise.
37346         [generic sys/param.h] (common-generated): Do not append to
37347         variable.
37348         [generic sys/param.h] (sysdep_headers): Likewise.
37349         [generic bits/errno.h] (before-compile): Do not append to
37350         variable.
37351         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37352         rule.
37353         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37354         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37355         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37356         [generic bits/errno.h] (common-generated): Do not append to
37357         variable.
37358         [generic bits/ioctls.h] (before-compile): Do not append to
37359         variable.
37360         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37361         rule.
37362         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37363         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37364         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37365         rule.
37366         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37367         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37368         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37369         [generic bits/ioctls.h] (common-generated): Do not append to
37370         variable.
37371         [generic sys/syscall.h] (syscall.h): Remove variable.
37372         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37373         rule.
37374         [generic sys/syscall.h] (before-compile): Do not append to
37375         variable.
37376         [generic sys/syscall.h] (common-generated): Likewise.
37377         * sysdeps/unix/errnos-tmpl.c: Remove file.
37378         * sysdeps/unix/errnos.awk: Likewise.
37379         * sysdeps/unix/ioctls-tmpl.c: Likewise.
37380         * sysdeps/unix/ioctls.awk: Likewise.
37381         * sysdeps/unix/mk-local_lim.c: Likewise.
37382         * sysdeps/unix/snarf-ioctls: Likewise.
37383
37384 2012-03-19  Richard Henderson  <rth@twiddle.net>
37385
37386         * sysdeps/i386/fpu/fenv_private.h: New file.
37387         * sysdeps/i386/fpu/math_private.h: Use it.
37388         (math_opt_barrier, math_force_eval): Remove.
37389         (libc_feholdexcept_setround_53bit): Remove.
37390         (libc_feupdateenv_53bit): Remove.
37391         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37392         (math_opt_barrier, math_force_eval): Remove.
37393         (libc_feholdexcept): Remove.
37394         (libc_feholdexcept_setround): Remove.
37395         (libc_fetestexcept, libc_fesetenv): Remove.
37396         (libc_feupdateenv_test): Remove.
37397         (libc_feupdateenv, libc_feholdsetround): Remove.
37398         (libc_feresetround): Remove.
37399
37400         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37401         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37402
37403         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37404         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37405         (libc_feupdateenv_testl): New.
37406         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37407         (libc_feupdateenv_testf): New.
37408         (libc_feupdateenv): Use libc_feupdateenv_test.
37409         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37410         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37411
37412         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37413         (libc_feholdsetroundf, libc_feholdsetroundl): New.
37414         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37415         (libc_feresetround_noex): New.
37416         (libc_feresetround_noexf): New.
37417         (libc_feresetround_noexl): New.
37418         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37419         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37420         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37421         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37422         SET_RESTORE_ROUND.
37423         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37424         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37425         (__cos): Likewise.
37426         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37427         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37428         SET_RESTORE_ROUND_NOEX.
37429         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37430         SET_RESTORE_ROUND_NOEXF.
37431         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37432         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37433         (libc_feholdsetroundf): New.
37434         (libc_feresetround, libc_feresetroundf): New.
37435
37436         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37437         (libc_feholdexcept_setround_53bit): Convert from macro to function.
37438         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
37439
37440         * sysdeps/generic/math_private.h: Include <fenv.h>.
37441         (default_libc_feholdexcept): New.
37442         (default_libc_feholdexcept_setround): New.
37443         (default_libc_fesetenv, default_libc_feupdateenv): New.
37444         (libc_feholdexcept): Only define if undefined.
37445         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37446         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37447         (libc_feholdexcept_setroundl): Likewise.
37448         (libc_feholdexcept_setround_53bit): Likewise.
37449         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37450         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37451         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37452         (libc_feupdateenv_53bit): Likewise.
37453         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37454         (libc_feholdexcept): Convert from macro to inline function.
37455         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37456         (libc_fesetenv, libc_feupdateenv): Likewise.
37457
37458         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37459         not previously defined.
37460         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37461         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37462         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37463         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37464         * sysdeps/ieee754/flt-32/math_private.h: New file.
37465         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37466         math_private.h below SET_FLOAT_WORD.
37467         (__isnan, __isinf_ns, __finite): Remove.
37468         (__isnanf, __isinf_nsf, __finitef): Remove.
37469
37470 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
37471
37472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37473
37474 2012-03-17  David S. Miller  <davem@davemloft.net>
37475
37476         [BZ #6471]
37477         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37478         for 2.16.
37479
37480 2012-03-16  David S. Miller  <davem@davemloft.net>
37481
37482         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37483         warnings.
37484
37485         [BZ #6471]
37486         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37487         properly.
37488         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37489         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37490         sysdep_routines when subdir is sysvipc.
37491         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37492         __getshmlba helper.
37493
37494         * sysdeps/sparc/fpu/libm-test/ulps: Update.
37495
37496 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37497
37498         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37499         [__LP64__].
37500
37501 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37502
37503         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37504         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37505         (__lround): Renamed to ...
37506         (__llround): This.  Replace long int with long long int.
37507         Define lround functions as aliases of llround functions.
37508         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37509
37510 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37511
37512         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37513         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
37514         adresses to uintptr_t.  Replace "long int" and "unsigned long
37515         int" with "greg_t" on va_arg.
37516
37517 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37518
37519         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37520         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37521
37522         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37523         Move e_machine check before EI_CLASS check.  Handle x32
37524         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37525         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37526         SKIP_EM_IA_64 and include
37527         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37528
37529         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37530         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37531         (add_system_dir): New macro.
37532
37533         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37534         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37535
37536 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37537
37538         [BZ #2551]
37539         [BZ #2552]
37540         [BZ #2553]
37541         [BZ #2554]
37542         [BZ #2562]
37543         [BZ #2563]
37544         [BZ #2565]
37545         [BZ #2566]
37546         [BZ #2576]
37547         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37548         (y0): Likewise.
37549         * math/w_j0f.c (j0f): Likewise.
37550         (y0f): Likewise.
37551         * math/w_j0l.c (__j0l): Likewise.
37552         (__y0l): Likewise.
37553         * math/w_j1.c (j1): Likewise.
37554         (y1): Likewise.
37555         * math/w_j1f.c (j1f): Likewise.
37556         (y1f): Likewise.
37557         * math/w_j1l.c (__j1l): Likewise.
37558         (__y1l): Likewise.
37559         * math/w_jn.c (jn): Likewise.
37560         (yn): Likewise.
37561         * math/w_jnf.c (jnf): Likewise.
37562         (ynf): Likewise.
37563         * math/w_jnl.c (__jnl): Likewise.
37564         (__ynl): Likewise.
37565         * math/libm-test.inc (j0_test): Add more tests.
37566         (j1_test): Likewise.
37567         (jn_test): Likewise.  Add trailing semicolon to existing test.
37568         (y0_test): Likewise.
37569         (y1_test): Likewise.
37570         * sysdeps/i386/fpu/libm-test-ulps: Update.
37571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37572
37573         [BZ #13851]
37574         [BZ #13854]
37575         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37576         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37577         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37578         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37579         (__tanl): Set errno for infinite argument.
37580         * sysdeps/i386/fpu/mptan.c: Remove.
37581         * sysdeps/i386/fpu/s_tan.S: Likewise.
37582         * sysdeps/i386/fpu/s_tanl.S: Likewise.
37583         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37584         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37585         * math/libm-test.inc (tan_test): Add more tests and enable more
37586         tests for double and long double.
37587         * sysdeps/i386/fpu/libm-test-ulps: Update.
37588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37589
37590 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
37591
37592         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37593         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37594
37595 2012-03-16  Roland McGrath  <roland@hack.frob.com>
37596
37597         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37598         * configure.in: Use it for both main tree and add-ons.
37599         * configure: Regenerated.
37600
37601 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37602
37603         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37604
37605 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37606
37607         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37608         in comment.
37609
37610         [BZ #13851]
37611         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37612         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37613         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37614         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37615         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37616         infinite argument.
37617         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37618         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37619         != 0 for prec == 2.
37620         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37621         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37622         * sysdeps/i386/fpu/s_cosl.S: Likewise.
37623         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37624         * sysdeps/i386/fpu/s_sinl.S: Likewise.
37625         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37626         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37627         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37628         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37629         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37630         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37631         * math/libm-test.inc (cos_test): Add more tests and enable more
37632         tests for long double.
37633         (sin_test): Likewise.
37634         (sincos_test): Likewise.
37635         * sysdeps/i386/fpu/libm-test-ulps: Update.
37636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37637
37638 2012-03-16  David S. Miller  <davem@davemloft.net>
37639
37640         * sysdeps/sparc/fpu/math_private.h: New file.
37641
37642 2012-03-15  David S. Miller  <davem@davemloft.net>
37643
37644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37645         file.
37646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37648         file.
37649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37650         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37651         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37652         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37653         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37654         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37655         sysdep routines.
37656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37657
37658         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37659         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37660
37661         * sysdeps/sparc/sparc-ifunc.h: New file.
37662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37663         sparc-ifunc.h
37664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37666         Likewise.
37667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37668         Likewise.
37669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37673         Likewise.
37674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37679         Likewise.
37680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37681         Likewise.
37682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37686         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37687         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37688         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37689         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37690         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37691         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37692         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37693         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37694         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37695         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37696         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37697         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37698         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37699         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37700         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37701         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37702         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37703         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37704         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37705         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37706
37707 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37708
37709         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37710         scaling.
37711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37712
37713 2012-03-15  Andreas Jaeger  <aj@suse.de>
37714
37715         [BZ #13852]
37716         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37717         ieee754/flt-32 implementation for sin, cos and sincos.
37718         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37719         * sysdeps/i386/fpu/s_cosf.S: Likewise.
37720         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37721         * sysdeps/i386/fpu/s_sinf.S: Likewise.
37722         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37723         ieee754/flt-32 implementation for tan.
37724
37725         * math/libm-test.inc (cos_test): Enable some large input tests for
37726         float as well
37727         (sin_test): Likewise.
37728         (sincos_test): Likewise.
37729         (tan_test): Add tests for large input.
37730
37731         * sysdeps/i386/fpu/libm-test-ulps: Update.
37732
37733 2012-03-15  Andreas Jaeger  <aj@suse.de>
37734
37735         [BZ #13658]
37736         * math/libm-test.inc (cos_test): Add more test cases.
37737         (sin_test): Likewise.
37738         (sincos_test): Likewise.
37739
37740 2012-03-15  Andreas Jaeger  <aj@suse.de>
37741
37742         [BZ #13837]
37743         * math/libm-test.inc (cos_test): Add a test case for large input
37744         value.
37745         (sin_test): Likewise.
37746         (sincos_test): Likewise.
37747
37748 2012-03-15  Andreas Jaeger  <aj@suse.de>
37749             Joseph Myers  <joseph@codesourcery.com>
37750
37751         [BZ #13658]
37752         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37753         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37754         * sysdeps/i386/fpu/branred.c: Likewise.
37755         * sysdeps/i386/fpu/dosincos.c: Likewise.
37756         * sysdeps/i386/fpu/mpa.c: Likewise.
37757         * sysdeps/i386/fpu/s_cos.S: Likewise.
37758         * sysdeps/i386/fpu/s_sin.S: Likewise.
37759         * sysdeps/i386/fpu/s_sincos.S: Likewise.
37760         * sysdeps/i386/fpu/sincos32.c: Likewise.
37761
37762         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37763         Define.
37764         (libc_feupdateenv_53bit): Define.
37765         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37766         Define.
37767         (libc_feupdateenv_53bit): Define.
37768
37769         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37770         53 bit (without extend i386 double precision).
37771
37772         * math/libm-test.inc (sincos_test): Add tests for large input.
37773         (sin): Likewise.
37774         (cos): Likewise.
37775
37776         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37777
37778 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37779
37780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37781
37782 2012-03-15  David S. Miller  <davem@davemloft.net>
37783
37784         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37785         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37786         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37787         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37792         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37793         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37794         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37795         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37796         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37797         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37798         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37800         file.
37801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37803         file.
37804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37806         file.
37807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37809         file.
37810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37811         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37812         fmin/fmax sysdep routines.
37813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37814
37815 2012-03-14  David S. Miller  <davem@davemloft.net>
37816
37817         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37818         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37819         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37820         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37821         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37822         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37823         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37824         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37825         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37826         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37827         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37828         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37829         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37830         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37831         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37832         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37833         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37834         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37835         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37836         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37837         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37838         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37839         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37840         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37841         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37842         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37843         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37844         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37845         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37846         routines.
37847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37848         file.
37849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37851         file.
37852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37854         file.
37855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37857         file.
37858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37860         file.
37861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37863         file.
37864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37865         file.
37866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37867         file.
37868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37869         file.
37870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37871         New file.
37872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37873         file.
37874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37875         file.
37876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37878         file.
37879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37881         file.
37882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37884         file.
37885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37887         VIS3 routines.
37888
37889         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37890         New file.
37891
37892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37893
37894         * sysdeps/sparc/configure.in: New file.
37895         * sysdeps/sparc/configure: Generate.
37896         * configure.in (libc_cv_sparc_as_vis3): Substitute.
37897         * configure: Regenerate.
37898         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37899         * config.make.in (have-as-vis3): New.
37900         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37901         available use -Av9d instead of -Av9a.
37902         * sysdeps/sparc/sparc64/Makefile: Likewise.
37903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37905         New file.
37906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37907         file.
37908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37909         New file.
37910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37911         file.
37912         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37913         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37914         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37915         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37916         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37917
37918         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37919         fzeros/fnegs to load 0x80000000 into a float register instead of
37920         using the stack.
37921         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37922
37923 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37924
37925         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37926         bits/syscall.h.
37927         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37928         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37929         ($(inst_includedir)/bits/syscall.h): Remove rule.
37930         ($(objpfx)bits/syscall.d): Include instead of
37931         $(objpfx)syscall-list.d.
37932         (generated): Change syscall-list.h and syscall-list.d to
37933         bits/syscall.h and bits/syscall.d.
37934
37935 2012-03-14  Roland McGrath  <roland@hack.frob.com>
37936
37937         [BZ #13846]
37938         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37939
37940 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37941
37942         [BZ #13841]
37943         * math/s_csqrt.c: Include <float.h>.
37944         (__csqrt): Scale large or subnormal inputs.
37945         * math/s_csqrtf.c: Likewise.
37946         * math/s_csqrtl.c: Likewise.
37947         * math/libm-test.inc (csqrt_test): Add more tests.
37948         * sysdeps/i386/fpu/libm-test-ulps: Update.
37949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37950
37951         [BZ #13840]
37952         * math/libm-test.inc (hypot_test): Add more tests.
37953
37954 2012-03-13  David S. Miller  <davem@davemloft.net>
37955
37956         [BZ #13840]
37957         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37958         double-precision for the calculation instead of scaling.
37959
37960 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
37961
37962         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37963         manipulate bits before adding and subtracting TWO52[sx].
37964         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37965         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37966         Likewise.
37967         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37968
37969 2012-03-13  David S. Miller  <davem@davemloft.net>
37970
37971         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37972         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37973         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37974         rtld-global-offsets.h
37975         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37976
37977         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37978         large parameters.
37979
37980         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37981
37982         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37983         'err' in the ifdef scope in which it is actually used.
37984
37985         * nss/nss_db/db-init.c: Include string.h
37986
37987 2012-03-12  David S. Miller  <davem@davemloft.net>
37988
37989         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37990         masking out of the most significant byte of random value used.
37991         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37992         Fix coding style in previous change.
37993
37994         * sysdeps/unix/sysv/linux/kernel-features.h
37995         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37996         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37997         expression.
37998         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37999         later.
38000
38001 2012-03-11  David S. Miller  <davem@davemloft.net>
38002
38003         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38004         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38005         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38006         for 'resultvar' otherwise things get truncated on 64-bit.
38007
38008         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38009         Fix masking out of the most significant byte of random value used.
38010
38011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38012
38013 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38014
38015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38016
38017 2012-03-09  David S. Miller  <davem@davemloft.net>
38018
38019         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38020         variables with appropriate CPP guards.
38021         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38022         from the frame pointer, not the stack pointer.  Correct layout
38023         comments.  Fix test on resulting framesize and the management of
38024         the outregs buffer for pltexit.  Preserve floating point return
38025         values across _dl_call_pltexit call.
38026         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38027         framesize and the management of the outregs buffer for pltexit.
38028         Preserve floating point return values across _dl_call_pltexit
38029         call.
38030         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38031         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38032         (la_sparc64_gnu_pltexit): New functions.
38033         (print_exit): Fix format string for return register value.
38034
38035 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38036
38037         * sunrpc/Makefile (others): Add rpcgen.
38038         ($(objpfx)rpcgen): Remove special build rule and dependency on
38039         libc.
38040         * sunrpc/rpcgen.c: New file.
38041
38042 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38043
38044         [BZ #13673]
38045         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38046         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38047         * sysdeps/i386/crti.S: Likewise.
38048         * sysdeps/i386/crtn.S: Likewise.
38049         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38050         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38051         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38052         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38053         * sysdeps/sh/crti.S: Likewise.
38054         * sysdeps/sh/crtn.S: Likewise.
38055         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38056
38057         [BZ #13673]
38058         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38059         with URL.
38060         * locale/programs/locfile-kw.gperf: Likewise.
38061         * locale/programs/charmap-kw.h: Regenerated.
38062         * locale/programs/locfile-kw.h: Likewise.
38063
38064         [BZ #13673]
38065         * intl/plural.y: Replace FSF snail mail address with URL.
38066         * intl/plural.c: Regenerated.
38067
38068 2012-03-09  Richard Henderson  <rth@twiddle.net>
38069
38070         * include/math_private.h: Remove file.
38071         * math/math_private.h: Move file ...
38072         * sysdeps/generic/math_private.h: ... here.
38073
38074         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38075         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38076         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38077
38078         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38079         and <math_private.h>.
38080         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38081         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38082         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38083         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38084         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38085         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38086         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38087         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38088         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38089         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38090         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38091         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38092         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38093         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38094         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38095         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38096         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38097         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38098         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38099         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38100         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38101         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38102         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38103         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38104         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38105         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38106         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38107         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38108         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38109         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38110         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38111         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38112         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38113         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38114         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38115         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38116         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38117         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38118         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38119         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38120         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38121         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38122         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38123         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38124         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38125         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38126         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38127         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38128         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38129         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38130         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38131         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38132         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38133         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38134         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38135         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38136         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38137         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38138         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38139         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38140         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38141         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38142         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38143         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38144         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38145         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38146         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38147         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38148         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38149         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38150         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38151         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38152         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38153         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38154         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38155         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38156         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38157         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38158         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38159         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38160         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38161         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38162         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38163         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38164         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38165         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38166         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38167         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38168         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38169         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38170         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38171         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38172         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38173         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38174         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38175         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38176         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38177         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38178         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38179         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38180         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38181         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38182         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38183         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38184         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38185         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38186         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38187         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38188         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38189         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38190         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38191         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38192         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38193         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38194         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38195         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38196         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38197         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38198         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38199         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38200         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38201         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38202         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38203         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38204         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38205         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38206         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38207         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38208         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38209         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38210         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38211         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38212         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38213         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38214         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38215         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38216         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38217         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38218         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38219         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38220         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38221         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38222         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38223         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38224         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38225         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38226         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38227         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38228         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38229         * sysdeps/ieee754/k_standard.c: Likewise.
38230         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38231         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38232         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38233         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38234         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38235         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38236         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38237         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38238         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38239         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38240         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38241         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38242         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38243         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38244         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38245         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38246         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38247         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38248         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38249         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38250         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38251         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38252         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38253         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38254         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38255         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38256         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38257         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38258         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38259         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38260         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38261         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38262         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38263         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38264         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38265         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38266         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38267         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38268         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38269         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38270         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38271         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38272         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38273         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38274         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38275         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38276         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38277         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38278         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38279         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38280         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38281         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38282         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38283         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38284         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38285         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38286         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38287         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38288         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38289         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38290         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38291         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38292         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38293         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38294         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38295         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38296         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38297         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38298         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38299         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38300         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38301         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38302         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38303         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38304         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38305         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38306         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38307         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38308         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38309         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38310         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38311         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38312         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38313         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38314         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38315         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38316         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38317         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38318         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38319         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38320         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38321         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38322         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38323         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38324         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38325         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38326         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38327         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38328         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38329         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38330         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38331         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38332         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38333         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38334         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38335         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38336         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38337         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38338         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38339         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38340         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38341         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38342         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38343         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38344         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38345         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38346         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38347         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38348         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38349         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38350         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38351         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38352         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38353         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38354         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38355         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38356         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38357         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38358         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38359         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38360         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38361         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38362         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38363         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38364         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38365         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38366         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38367         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38368         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38369         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38370         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38371         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38372         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38373         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38374         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38375         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38376         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38377         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38378         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38379         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38380         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38381         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38382         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38383         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38384         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38385         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38386         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38387         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38388         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38389         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38390         * sysdeps/ieee754/s_lib_version.c: Likewise.
38391         * sysdeps/ieee754/s_matherr.c: Likewise.
38392         * sysdeps/ieee754/s_signgam.c: Likewise.
38393         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38394         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38395         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38396         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38397         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38398         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38399         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38400         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38401         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38402         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38403         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38404         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38405         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38406         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38407         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38408         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38409         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38410         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38411         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38412         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38413         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38414
38415 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38416
38417         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38418         * sunrpc/rpc_main.c: Likewise.
38419         * sunrpc/rpc_svcout.c: Likewise.
38420
38421 2012-03-09  David S. Miller  <davem@davemloft.net>
38422
38423         * include/math_private.h: New file.
38424
38425 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38426
38427         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38428         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38429         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38430         from <bits/socket_type.h>.
38431         (enum __socket_type): Don't define here.
38432         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38433         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38434         bits/socket_type.h.
38435
38436         [BZ #13566]
38437         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38438         checking __USE_GNU.
38439
38440         * Makerules ($(inst_includedir)/%.h): New rule.
38441         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38442         (install-others): Remove variable setting.
38443         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38444
38445 2012-03-08  Richard Henderson  <rth@twiddle.net>
38446
38447         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38448         from macro to inline function; merge with the
38449         !__LIBC_INTERNAL_MATH_INLINES version.
38450         (__ieee754_sqrtf): Likewise.
38451
38452         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38453         to inline function.
38454         (__rintf, __floor, __floorf): Likewise.
38455
38456         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38457         macro to inline function.
38458         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38459
38460         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38461         not <math/math_private.h>.
38462
38463 2012-03-08  David S. Miller  <davem@davemloft.net>
38464
38465         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38466         copyright year.
38467         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38468
38469 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
38470
38471         * resolv/gai_misc.c (handle_requests): Fix struct timespec
38472         normalization.
38473         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38474         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38475
38476 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
38477
38478         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
38479         be defined individually, they must be defined as a block.  Define
38480         S for printing a string instead of hidint the different by using a
38481         macro for adding the 'l'.
38482         * stdio-common/tst-fphex-wide.c: Adjust.
38483
38484 2012-03-07  Marek Polacek  <polacek@redhat.com>
38485
38486         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38487
38488 2012-03-08  Marek Polacek  <polacek@redhat.com>
38489
38490         [BZ #13806]
38491         * stdio-common/Makefile (tests): Add tst-fphex-wide.
38492         * stdio-common/tst-fphex.c: Define a few macros to make the
38493         test reusable.  Use them.
38494         * stdio-common/tst-fphex-wide.c: New file.
38495
38496 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
38497
38498         [BZ #6911]
38499         * manual/macros.texi (gnusystems): New macro.
38500         (nongnusystems): Likewise.
38501         (gnulinuxhurdsystems): Likewise.
38502         (gnuhurdsystems): Likewise..
38503         (gnulinuxsystems): Likewise.
38504         * manual/charset.texi: Use new macros or @theglibc{} to refer to
38505         variants of the GNU system, not "GNU system".
38506         * manual/conf.texi: Likewise.
38507         * manual/errno.texi: Likewise.  Update example of errno macro
38508         expansion.
38509         * manual/filesys.texi: Likewise.
38510         (getumask): Document as specific to GNU/Hurd.
38511         * manual/install.texi: Likewise.  Reword some references to
38512         GNU/Linux.
38513         * manual/intro.texi: Likewise.
38514         * manual/io.texi: Likewise.
38515         (File Name Portability): Detail which constraints are inapplicable
38516         to all GNU systems and which are only inapplicable to GNU/Hurd.
38517         * manual/job.texi: Likewise.
38518         * manual/llio.texi: Likewise.
38519         (O_NOCTTY): Document as present on GNU/Linux.
38520         * manual/maint.texi: Likewise.
38521         * manual/memory.texi: Likewise.
38522         * manual/pattern.texi: Likewise.
38523         * manual/pipe.texi: Likewise.
38524         * manual/process.texi: Likewise.
38525         * manual/resource.texi: Likewise.
38526         (RUSAGE_CHILDREN): Remove statement about specifying a particular
38527         child on GNU/Hurd.
38528         * manual/setjmp.texi: Likewise.
38529         * manual/signal.texi: Likewise.
38530         * manual/startup.texi: Likewise.
38531         * manual/stdio.texi: Likewise.
38532         * manual/terminal.texi: Likewise.
38533         (ONLCR): Document as POSIX.
38534         (OXTABS): Document availability on GNU/Linux as XTABS.
38535         (ONOEOT): Document availability separately from other bits.
38536         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38537         * manual/time.texi: Likewise.
38538         * manual/users.texi: Likewise.
38539         * INSTALL: Regenerated.
38540         * sysdeps/gnu/errlist.c: Regenerated.
38541
38542         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38543         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38544         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
38545         puts.
38546         * configure: Regenerated.
38547
38548 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
38549
38550         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38551         default includes instead of AC_HEADER_CHECK.
38552         * sysdeps/i386/configure: Regenerated.
38553
38554         [BZ #10716]
38555         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38556         * math/s_cacoshf.c (__cacoshf): Likewise.
38557         * math/s_cacoshl.c (__cacoshl): Likewise.
38558         * math/s_casinh.c (__casinh): Set signs of result from argument.
38559         * math/s_casinhf.c (__casinhf): Likewise.
38560         * math/s_casinhl.c (__casinhl): Likewise.
38561         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38562         (casinh_test): Add more tests.
38563         * sysdeps/i386/fpu/libm-test-ulps: Update.
38564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38565
38566 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
38567
38568         * po/zh_TW.po: Update from translation team.
38569
38570         * login/Makefile (distribute): Remove variable.
38571         * catgets/Makefile: Likewise.
38572         * mach/Makefile: Likewise.
38573         * malloc/Makefile: Likewise.
38574         * misc/Makefile: Likewise.
38575         * iconv/Makefile: Likewise.
38576         * nscd/Makefile: Likewise.
38577         * hurd/Makefile: Likewise.
38578         * manual/Makefile: Likewise.
38579         * locale/Makefile: Likewise.
38580         * intl/Makefile: Likewise.
38581         * conform/Makefile: Likewise.
38582         * nss/Makefile: Likewise.
38583         * time/Makefile: Likewise.
38584         * soft-fp/Makefile: Likewise.
38585         * dirent/Makefile: Likewise.
38586         * gmon/Makefile: Likewise.
38587         * po/Makefile: Likewise.
38588         * rt/Makefile: Likewise.
38589         * socket/Makefile: Likewise.
38590         * math/Makefile: Likewise.
38591         * signal/Makefile: Likewise.
38592         * debug/Makefile: Likewise.
38593         * elf/Makefile: Likewise.
38594         * timezone/Makefile: Likewise.
38595         * stdlib/Makefile: Likewise.
38596         * iconvdata/Makefile: Likewise.
38597         * sunrpc/Makefile: Likewise.
38598         * io/Makefile: Likewise.
38599         * argp/Makefile: Likewise.
38600         * inet/Makefile: Likewise.
38601         * hesiod/Makefile: Likewise.
38602         * grp/Makefile: Likewise.
38603         * csu/Makefile: Likewise.
38604         * wctype/Makefile: Likewise.
38605         * crypt/Makefile: Likewise.
38606         * libio/Makefile: Likewise.
38607         * string/Makefile: Likewise.
38608         * nis/Makefile: Likewise.
38609         * resolv/Makefile: Likewise.
38610         * stdio-common/Makefile: Likewise.
38611         * wcsmbs/Makefile: Likewise.
38612         * dlfcn/Makefile: Likewise.
38613         * posix/Makefile: Likewise.
38614
38615         [BZ #6959]
38616         * timezone/Makefile: Don't install timezone files, just the programs
38617         and scripts.
38618
38619 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
38620
38621         * nss/databases.def: Add missing gshadow entry.
38622
38623         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
38624
38625 2012-03-06  Marek Polacek  <polacek@redhat.com>
38626
38627         [BZ #13726]
38628         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38629         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38630         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38631         * stdio-common/tst-long-dbl-fphex.c: New file.
38632
38633 2012-03-06  David S. Miller  <davem@davemloft.net>
38634
38635         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38636         (set_obp_int): New function.
38637         (get_obp_int): New function.
38638         (__get_clockfreq_via_dev_openprom): Likewise.
38639         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38640         Avoid unused variable warnings on 'val' and use builtin_expect.
38641         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38642         __builtin_expect.
38643         (INLINE_CLONE_SYSCALL): Likewise.
38644
38645 2012-03-05  David S. Miller  <davem@davemloft.net>
38646
38647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38648
38649 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
38650
38651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38652
38653         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38654         only for |x| >= 40.
38655         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38656
38657 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38658
38659         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38660         Replace gettimeofday with __vdso_gettimeofday.
38661
38662         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38663         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38664         __vdso_clock_gettime and __vdso_getcpu.
38665
38666         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38667         time with __vdso_time.
38668
38669 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38670
38671         * manual/lang.texi (size_t): Note types to which size_t may be
38672         equivalent with the GNU C Library, but do not describe when
38673         differences between them are significant.
38674
38675 2012-03-05  Andreas Jaeger  <aj@suse.de>
38676
38677         * sysdeps/i386/fpu/libm-test-ulps: Update.
38678
38679 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38680
38681         [BZ #3976]
38682         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38683         (__ieee754_pow): Save and restore rounding mode and use
38684         round-to-nearest for main computations.
38685         * math/libm-test.inc (pow_test_tonearest): New function.
38686         (pow_test_towardzero): Likewise.
38687         (pow_test_downward): Likewise.
38688         (pow_test_upward): Likewise.
38689         (main): Call the new functions.
38690         * sysdeps/i386/fpu/libm-test-ulps: Update.
38691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38692
38693         [BZ #3976]
38694         * math/libm-test.inc (cosh_test_tonearest): New function.
38695         (cosh_test_towardzero): Likewise.
38696         (cosh_test_downward): Likewise.
38697         (cosh_test_upward): Likewise.
38698         (sinh_test_tonearest): Likewise.
38699         (sinh_test_towardzero): Likewise.
38700         (sinh_test_downward): Likewise.
38701         (sinh_test_upward): Likewise.
38702         (main): Call the new functions.
38703         * sysdeps/i386/fpu/libm-test-ulps: Update.
38704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38705
38706 2012-03-05  Tom de Vries  <tom@codesourcery.com>
38707
38708         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38709         default stack guard is set in last bytes.
38710         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38711
38712 2012-03-05  Kees Cook  <keescook@chromium.org>
38713
38714         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38715
38716         [BZ #13656]
38717         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38718         possibly allocate from heap instead of stack.
38719         * stdio-common/bug-vfprintf-nargs.c: New file.
38720         * stdio-common/Makefile (tests): Add nargs overflow test.
38721
38722 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
38723
38724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38725
38726 2012-03-03  Marek Polacek  <polacek@redhat.com>
38727
38728         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38729         * math/math_private.h: Likewise.
38730         * stdlib/tst-strtod.c: Likewise.
38731         * sysdeps/i386/i486/bits/atomic.h: Likewise.
38732         * sysdeps/x86_64/bits/atomic.h: Likewise.
38733
38734 2012-03-02  David S. Miller  <davem@davemloft.net>
38735
38736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38740         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38741         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38742         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38743         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38744
38745 2012-03-02  Roland McGrath  <roland@hack.frob.com>
38746
38747         [BZ #13792]
38748         * manual/examples/README: New file, says the example source files
38749         can be used under GPL>=2.
38750         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38751         line containing just "*/".
38752         * manual/examples/add.c: Add copyright header (GPL>=2).
38753         * manual/examples/argp-ex1.c: Likewise.
38754         * manual/examples/argp-ex2.c: Likewise.
38755         * manual/examples/argp-ex3.c: Likewise.
38756         * manual/examples/argp-ex4.c: Likewise.
38757         * manual/examples/atexit.c: Likewise.
38758         * manual/examples/db.c: Likewise.
38759         * manual/examples/dir.c: Likewise.
38760         * manual/examples/dir2.c: Likewise.
38761         * manual/examples/execinfo.c: Likewise.
38762         * manual/examples/filecli.c: Likewise.
38763         * manual/examples/filesrv.c: Likewise.
38764         * manual/examples/fmtmsgexpl.c: Likewise.
38765         * manual/examples/genpass.c: Likewise.
38766         * manual/examples/inetcli.c: Likewise.
38767         * manual/examples/inetsrv.c: Likewise.
38768         * manual/examples/isockad.c: Likewise.
38769         * manual/examples/longopt.c: Likewise.
38770         * manual/examples/memopen.c: Likewise.
38771         * manual/examples/memstrm.c: Likewise.
38772         * manual/examples/mkfsock.c: Likewise.
38773         * manual/examples/mkisock.c: Likewise.
38774         * manual/examples/mygetpass.c: Likewise.
38775         * manual/examples/pipe.c: Likewise.
38776         * manual/examples/popen.c: Likewise.
38777         * manual/examples/rprintf.c: Likewise.
38778         * manual/examples/search.c: Likewise.
38779         * manual/examples/select.c: Likewise.
38780         * manual/examples/setjmp.c: Likewise.
38781         * manual/examples/sigh1.c: Likewise.
38782         * manual/examples/sigusr.c: Likewise.
38783         * manual/examples/stpcpy.c: Likewise.
38784         * manual/examples/strdupa.c: Likewise.
38785         * manual/examples/strftim.c: Likewise.
38786         * manual/examples/strncat.c: Likewise.
38787         * manual/examples/subopt.c: Likewise.
38788         * manual/examples/swapcontext.c: Likewise.
38789         * manual/examples/termios.c: Likewise.
38790         * manual/examples/testopt.c: Likewise.
38791         * manual/examples/testpass.c: Likewise.
38792         * manual/examples/timeval_subtract.c: Likewise.
38793
38794         [BZ #13792]
38795         * manual/time.texi (Elapsed Time): Move timeval_subtract example
38796         function to ...
38797         * manual/timeval_subtract.c.texi: ... here, new file.
38798
38799 2012-03-02  David S. Miller  <davem@davemloft.net>
38800
38801         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38802
38803 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
38804
38805         [BZ #3976]
38806         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38807         (__sin): Save and restore rounding mode and use round-to-nearest
38808         for all computations.
38809         (__cos): Save and restore rounding mode and use round-to-nearest
38810         for all computations.
38811         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38812         <fenv.h>.
38813         (tan): Save and restore rounding mode and use round-to-nearest for
38814         all computations.
38815         * math/libm-test.inc (cos_test_tonearest): New function.
38816         (cos_test_towardzero): Likewise.
38817         (cos_test_downward): Likewise.
38818         (cos_test_upward): Likewise.
38819         (sin_test_tonearest): Likewise.
38820         (sin_test_towardzero): Likewise.
38821         (sin_test_downward): Likewise.
38822         (sin_test_upward): Likewise.
38823         (tan_test_tonearest): Likewise.
38824         (tan_test_towardzero): Likewise.
38825         (tan_test_downward): Likewise.
38826         (tan_test_upward): Likewise.
38827         (main): Call the new functions.
38828         * sysdeps/i386/fpu/libm-test-ulps: Update.
38829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38830
38831         [BZ #10135]
38832         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38833         small n, then large n, before computing and testing k+n.
38834         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38835         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38836         Likewise.
38837         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38838         Likewise.
38839         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38840         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38841         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38842         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38843         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38844         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38845         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38846         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38847         * math/libm-test.inc (scalbn_test): Add more tests.
38848         (scalbln_test): Likewise.
38849
38850         * manual/filesys.texi (mode_t): Describe constraints on size and
38851         signedness, not exact equivalence to a particular type.
38852         (ino_t): Likewise.
38853         (ino64_t): Likewise.
38854         (dev_t): Likewise.
38855         (nlink_t): Likewise.
38856         (blkcnt_t): Likewise.
38857         (blkcnt64_t): Likewise.
38858         * manual/llio.texi (off_t): Likewise.
38859
38860         [BZ #3976]
38861         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38862         (__ieee754_exp): Save and restore rounding mode and use
38863         round-to-nearest for all computations.
38864         * math/libm-test.inc (exp_test_tonearest): New function.
38865         (exp_test_towardzero): Likewise.
38866         (exp_test_downward): Likewise.
38867         (exp_test_upward): Likewise.
38868         (main): Call the new functions.
38869         * sysdeps/i386/fpu/libm-test-ulps: Update.
38870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38871
38872 2012-03-01  Chris Demetriou  <cgd@google.com>
38873
38874         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38875         have predictable order.
38876
38877 2012-03-01  David S. Miller  <davem@davemloft.net>
38878
38879         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38880
38881         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38882         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38883         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38884         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38885
38886         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38887         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38888         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38890         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38891         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38892         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38893         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38894         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38895
38896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38897
38898         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38899         * sysdeps/sparc/fpu/libm-test-ulps: to here.
38900         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38901
38902         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38903         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38904         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38905         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38906         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38907         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38908         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38909         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38910         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38911         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38912         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38913         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38914         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38915         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38916         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38917         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38918         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38919         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38920         * sysdeps/sparc/elf/configure: Regenerated.
38921
38922 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
38923
38924         * configure.in (AS, LD): Require binutils 2.20 or later.
38925         * configure: Regenerated.
38926         * manual/install.texi (Tools for Compilation): Give binutils 2.20
38927         as required minimum version.
38928         * INSTALL: Regenerated.
38929
38930         [BZ #2541]
38931         [BZ #4108]
38932         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38933         before squaring exponent.
38934         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38935         bottom long double and 27 bits of top long double before squaring
38936         exponent.
38937         * math/libm-test.inc (erfc_test): Add more tests.
38938         * sysdeps/i386/fpu/libm-test-ulps: Update.
38939         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38941
38942 2012-03-01  Kai Tietz  <ktietz@redhat.com>
38943
38944         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38945         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38946         containing bit-fields.
38947         * soft-fp/extended.h (_FP_UNION_E): Likewise.
38948         * soft-fp/single.h (_FP_UNION_S): Likewise.
38949         * soft-fp/double.h (_FP_UNION_D): Likewise.
38950
38951 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38952
38953         [BZ #13786]
38954         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38955         not include ../strcmp.S.
38956         [USE_AS_STRNCASECMP_L]: Likewise.
38957         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38958         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38959         * sysdeps/i386/i686/multiarch/strncase_l-c.c
38960         (__strncasecmp_l_ia32): Define as alias to
38961         __strncasecmp_l_nonascii.
38962
38963         [BZ #5794]
38964         * math/libm-test.inc (expm1_test): Add test for bug 5794.
38965         * sysdeps/i386/fpu/libm-test-ulps: Update.
38966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38967
38968         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38970
38971 2012-02-29  Jeff Law  <law@redhat.com>
38972
38973         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38974         out of bounds read.
38975
38976 2012-02-29  Marek Polacek  <polacek@redhat.com>
38977
38978         [BZ #13706]
38979         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38980         * elf/Makefile: Add rules to run tst-unused-dep.out.
38981
38982 2012-02-28  David S. Miller  <davem@davemloft.net>
38983
38984         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38985         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38986         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38987         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38988         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38989         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38990
38991 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38992
38993         * math/libm-test.inc (llround_test): Move one test from
38994         lround_test.  Use TEST_f_L in moved test.
38995         (lround_test): Move misplaced test to llround_test.  Add testcase
38996         from bug 2561.
38997
38998 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
38999
39000         * sysdeps/x86_64/fpu/e_expf.S: New file.
39001         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39002
39003 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39004
39005         [BZ #13637]
39006         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39007         of remain_len that may cause incomplete multi-byte character and
39008         false match.
39009         * posix/bug-regex33.c: New file.
39010         * posix/Makefile (tests): Add bug-regex33.
39011
39012 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39013
39014         * manual/macros.texi: New file.
39015         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39016         * manual/libc.texinfo: Include macros.texi.
39017         * manual/creatute.texi: Likewise.
39018         * manual/install.texi: Likewise.
39019         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39020         @glibcadj{} in references to the GNU C Library.
39021         * manual/charset.texi: Likewise.
39022         * manual/conf.texi: Likewise.
39023         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39024         when not using those macros.
39025         * manual/creature.texi: Likewise.
39026         * manual/crypt.texi: Likewise.
39027         * manual/errno.texi: Likewise.
39028         * manual/filesys.texi: Likewise.
39029         * manual/header.texi: Likewise.
39030         * manual/install.texi: Likewise.
39031         * manual/intro.texi: Likewise.
39032         * manual/io.texi: Likewise.
39033         * manual/job.texi: Likewise.
39034         * manual/lang.texi: Likewise.
39035         * manual/libc.texiinfo: Likewise.
39036         * manual/llio.texi: Likewise.
39037         * manual/locale.texi: Likewise.
39038         * manual/maint.texi: Likewise.
39039         * manual/math.texi: Likewise.
39040         * manual/memory.texi: Likewise.
39041         * manual/message.texi: Likewise.
39042         * manual/nss.texi: Likewise.
39043         * manual/pattern.texi: Likewise.
39044         * manual/process.texi: Likewise.
39045         * manual/resource.texi: Likewise.
39046         * manual/search.texi: Likewise.
39047         * manual/setjmp.texi: Likewise.
39048         * manual/signal.texi: Likewise.
39049         * manual/socket.texi: Likewise.
39050         * manual/startup.texi: Likewise.
39051         * manual/stdio.texi: Likewise.
39052         * manual/string.texi: Likewise.
39053         * manual/sysinfo.texi: Likewise.
39054         * manual/syslog.texi: Likewise.
39055         * manual/terminal.texi: Likewise.
39056         * manual/time.texi: Likewise.
39057         * manual/users.texi: Likewise.
39058         * INSTALL: Regenerated.
39059         * NOTES: Regenerated.
39060         * sysdeps/gnu/errlist.c: Regenerated.
39061
39062 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39063
39064         * include/dirent.h: Include <dirstream.h> before
39065         <dirent/dirent.h>.
39066
39067 2012-02-28  David S. Miller  <davem@davemloft.net>
39068
39069         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39070         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39071         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39072         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39073
39074 2012-02-27  David S. Miller  <davem@davemloft.net>
39075
39076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39078         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39079         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39080
39081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39082         frame pointer instead of stack pointer relative arg slot.
39083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39084         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39085         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39086
39087 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39088
39089         [BZ #3992]
39090         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39091
39092 2012-02-27  David S. Miller  <davem@davemloft.net>
39093
39094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39098         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39099         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39100         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39101         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39102
39103 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39104
39105         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39106         later.  Allow versions 5-9.
39107         * configure: Regenerated.
39108         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39109         required minimum version and 4.6 as recommended version.  Do not
39110         mention bugs in GCC 2.7 and 2.8.
39111         * INSTALL: Regenerated.
39112
39113 2012-02-27  David S. Miller  <davem@davemloft.net>
39114
39115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39119         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39120         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39121         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39122         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39123
39124         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39125         manipulate bits before adding and subtracting TWO112[sx].
39126         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39127
39128 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39129
39130         [BZ #13775]
39131         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39132         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39133         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39134         being in POSIX, because they are in 1003.1-2008.
39135
39136         * rt/tst-aio.c: Include <fcntl.h>.
39137         * rt/tst-aio7.c: Likewise.
39138         * rt/tst-aio64.c: Likewise.
39139
39140         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39141
39142 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39143
39144         * manual/install.texi (--with-headers): Describe headers as
39145         interface headers, not private headers.
39146         (Specific advice for GNU/Linux systems): Describe use of headers
39147         from "make headers_install", not private headers from older
39148         kernels.
39149         * INSTALL: Regenerated.
39150         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39151         Change to 2.6.19.
39152         * sysdeps/unix/sysv/linux/configure: Regenerated.
39153
39154         * manual/llio.texi (fclean): Remove documentation.
39155
39156         * manual/Makefile (libc-texi-generated): New variable.  Include
39157         version.texi.
39158         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39159         $(libc-texi-generated), not duplicated list of files.
39160         (version.texi, stamp-version): New rules.
39161         (realclean): Remove $(libc-texi-generated), not individual files
39162         from that list.  Do not remove dir-add.texinfo.
39163         * manual/libc.texinfo: Comment out uses of edition numbers and
39164         references to printed manual.  Remove last-updated dates.
39165         (EDITION): Comment out.
39166         (ISBN): Likewise.
39167         (VERSION, UPDATED): Remove.
39168         (version.texi): Include.
39169
39170 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39171
39172         * sysdeps/posix/spawni.c: Include <signal.h>.
39173         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39174         * sysdeps/pthread/aio_fsync.c: Likewise.
39175
39176 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39177
39178         * conform/Makefile (tests): Run only when not cross-compiling and
39179         when fast-check is not defined.
39180
39181         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39182         * conform/data/limits.h-data: Fixes for POSIX2008.
39183         * conform/run-conformtest.sh: Run all tests.
39184         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39185         headers.
39186         * include/bits/dlfcn.h: Likewise.
39187         * include/langinfo.h: Likewise.
39188         * include/monetary.h: Likewise.
39189         * include/sys/poll.h: Likewise.
39190
39191         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39192         for __USE_GNU.
39193         * posix/spawn.h: Define __need_sigset_t.
39194         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39195         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39196         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39197         to get sigevent_t only.
39198         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39199         only for __USE_GNU.
39200         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39201         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39202         process_vm_writev only for __USE_GNU.
39203         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39204
39205         * conform/Makefile: For now ignore errors from run-conformtest.
39206         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39207         POSIX to avoid namespace pollution.  Don't prepend headers.
39208         * conform/data/aio.h-data: Fixes for POSIX testing.
39209         * conform/data/fcntl.h-data: Likewise.
39210         * conform/data/glob.h-data: Likewise.
39211         * conform/data/grp.h-data: Likewise.
39212         * conform/data/pthread.h-data: Likewise.
39213         * conform/data/pwd.h-data: Likewise.
39214         * conform/data/signal.h-data: Likewise.
39215         * conform/data/spawn.h-data: Likewise.
39216         * conform/data/stdio.h-data: Likewise.
39217         * conform/data/stdlib.h-data: Likewise.
39218         * conform/data/stropts.h-data: Likewise.
39219         * conform/data/sys/mman.h-data: Likewise.
39220         * conform/data/sys/stat.h-data: Likewise.
39221         * conform/data/sys/types.h-data: Likewise.
39222         * conform/data/sys/wait.h-data: Likewise.
39223         * conform/data/time.h-data: Likewise.
39224         * conform/data/unistd.h-data: Likewise.
39225         * conform/data/utime.h-data: Likewise.
39226
39227         * io/sys/stat.h: fchmod was always in POSIX.
39228         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39229         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39230         * rt/aio.h: Define __need_timespec before including <time.h>.
39231         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39232         struct.  Add forward declaration of pthread_attr_t and use it in
39233         sigevent.
39234         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39235         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39236         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39237         always remove CLK_TCK definition.
39238
39239 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39240
39241         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39242
39243 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39244
39245         * conform/run-conformtest.sh: New file.
39246         * conform/Makefile: Run run-conformtest for tests.
39247         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
39248         support.
39249
39250         * conform/data/uchar.h-data: New file.
39251         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39252         * conform/data/arpa/inet.h-data: Likewise.
39253         * conform/data/assert.h-data: Likewise.
39254         * conform/data/complex.h-data: Likewise.
39255         * conform/data/cpio.h-data: Likewise.
39256         * conform/data/ctype.h-data: Likewise.
39257         * conform/data/dirent.h-data: Likewise.
39258         * conform/data/dlfcn.h-data: Likewise.
39259         * conform/data/errno.h-data: Likewise.
39260         * conform/data/fcntl.h-data: Likewise.
39261         * conform/data/float.h-data: Likewise.
39262         * conform/data/fmtmsg.h-data: Likewise.
39263         * conform/data/fnmatch.h-data: Likewise.
39264         * conform/data/ftw.h-data: Likewise.
39265         * conform/data/glob.h-data: Likewise.
39266         * conform/data/grp.h-data: Likewise.
39267         * conform/data/iconv.h-data: Likewise.
39268         * conform/data/inttypes.h-data: Likewise.
39269         * conform/data/langinfo.h-data: Likewise.
39270         * conform/data/libgen.h-data: Likewise.
39271         * conform/data/limits.h-data: Likewise.
39272         * conform/data/locale.h-data: Likewise.
39273         * conform/data/math.h-data: Likewise.
39274         * conform/data/monetary.h-data: Likewise.
39275         * conform/data/mqueue.h-data: Likewise.
39276         * conform/data/ndbm.h-data: Likewise.
39277         * conform/data/net/if.h-data: Likewise.
39278         * conform/data/netdb.h-data: Likewise.
39279         * conform/data/netinet/in.h-data: Likewise.
39280         * conform/data/nl_types.h-data: Likewise.
39281         * conform/data/poll.h-data: Likewise.
39282         * conform/data/pthread.h-data: Likewise.
39283         * conform/data/pwd.h-data: Likewise.
39284         * conform/data/regex.h-data: Likewise.
39285         * conform/data/sched.h-data: Likewise.
39286         * conform/data/search.h-data: Likewise.
39287         * conform/data/semaphore.h-data: Likewise.
39288         * conform/data/setjmp.h-data: Likewise.
39289         * conform/data/signal.h-data: Likewise.
39290         * conform/data/spawn.h-data: Likewise.
39291         * conform/data/stdarg.h-data: Likewise.
39292         * conform/data/stdio.h-data: Likewise.
39293         * conform/data/stdlib.h-data: Likewise.
39294         * conform/data/string.h-data: Likewise.
39295         * conform/data/strings.h-data: Likewise.
39296         * conform/data/stropts.h-data: Likewise.
39297         * conform/data/sys/ipc.h-data: Likewise.
39298         * conform/data/sys/mman.h-data: Likewise.
39299         * conform/data/sys/msg.h-data: Likewise.
39300         * conform/data/sys/resource.h-data: Likewise.
39301         * conform/data/sys/select.h-data: Likewise.
39302         * conform/data/sys/sem.h-data: Likewise.
39303         * conform/data/sys/shm.h-data: Likewise.
39304         * conform/data/sys/socket.h-data: Likewise.
39305         * conform/data/sys/stat.h-data: Likewise.
39306         * conform/data/sys/statvfs.h-data: Likewise.
39307         * conform/data/sys/time.h-data: Likewise.
39308         * conform/data/sys/timeb.h-data: Likewise.
39309         * conform/data/sys/times.h-data: Likewise.
39310         * conform/data/sys/types.h-data: Likewise.
39311         * conform/data/sys/uio.h-data: Likewise.
39312         * conform/data/sys/un.h-data: Likewise.
39313         * conform/data/sys/utsname.h-data: Likewise.
39314         * conform/data/sys/wait.h-data: Likewise.
39315         * conform/data/syslog.h-data: Likewise.
39316         * conform/data/tar.h-data: Likewise.
39317         * conform/data/termios.h-data: Likewise.
39318         * conform/data/utime.h-data: Likewise.
39319         * conform/data/utmpx.h-data: Likewise.
39320         * conform/data/varargs.h-data: Likewise.
39321         * conform/data/wchar.h-data: Likewise.
39322         * conform/data/wctype.h-data: Likewise.
39323         * conform/data/wordexp.h-data: Likewise.
39324
39325         * include/stropts.h: New file.
39326         * include/uchar.h: New file.
39327         * include/aio.h: Changes to allow conformtest.pl to use the headers.
39328         * include/assert.h: Likewise.
39329         * include/ctype.h: Likewise.
39330         * include/dirent.h: Likewise.
39331         * include/dlfcn.h: Likewise.
39332         * include/fcntl.h: Likewise.
39333         * include/fnmatch.h: Likewise.
39334         * include/glob.h: Likewise.
39335         * include/grp.h: Likewise.
39336         * include/libio.h: Likewise.
39337         * include/locale.h: Likewise.
39338         * include/math.h: Likewise.
39339         * include/net/if.h: Likewise.
39340         * include/netdb.h: Likewise.
39341         * include/netinet/in.h: Likewise.
39342         * include/pthread.h: Likewise.
39343         * include/pwd.h: Likewise.
39344         * include/regex.h: Likewise.
39345         * include/sched.h: Likewise.
39346         * include/search.h: Likewise.
39347         * include/setjmp.h: Likewise.
39348         * include/signal.h: Likewise.
39349         * include/stdio.h: Likewise.
39350         * include/stdlib.h: Likewise.
39351         * include/string.h: Likewise.
39352         * include/sys/cdefs.h: Likewise.
39353         * include/sys/mman.h: Likewise.
39354         * include/sys/msg.h: Likewise.
39355         * include/sys/resource.h: Likewise.
39356         * include/sys/select.h: Likewise.
39357         * include/sys/socket.h: Likewise.
39358         * include/sys/stat.h: Likewise.
39359         * include/sys/statvfs.h: Likewise.
39360         * include/sys/time.h: Likewise.
39361         * include/sys/times.h: Likewise.
39362         * include/sys/uio.h: Likewise.
39363         * include/sys/utsname.h: Likewise.
39364         * include/sys/wait.h: Likewise.
39365         * include/termios.h: Likewise.
39366         * include/time.h: Likewise.
39367         * include/ulimit.h: Likewise.
39368         * include/unistd.h: Likewise.
39369         * include/utime.h: Likewise.
39370         * include/wchar.h: Likewise.
39371         * include/wctype.h: Likewise.
39372         * include/wordexp.h: Likewise.
39373
39374         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39375
39376         * time/time.h: TIME_UTC must be a macro.
39377         Make timespec_get available for ISO C11 only as well.
39378
39379 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
39380
39381         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39382         Reported by Peng Haitao <penght@cn.fujitsu.com>.
39383
39384 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39385
39386         * configure.in: Use -o not -a in test for unsupported multi-arch.
39387
39388 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39389
39390         * manual/texinfo.tex: Update to version 2012-01-19.16.
39391
39392 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39393
39394         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39395
39396 2012-02-24  Roland McGrath  <roland@hack.frob.com>
39397
39398         [BZ #13738]
39399         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39400         * manual/fdl-1.3.texi: New file.
39401         * manual/fdl-1.1.texi: File removed.
39402
39403         [BZ #13738]
39404         * manual/libc.texinfo (FDL_VERSION): New @set.
39405         Use it for mention of FDL in cover text.
39406         (Documentation License): Use it in @include file name.
39407
39408 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39409             Roland McGrath  <roland@hack.frob.com>
39410
39411         [BZ #5461]
39412         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39413         (not LONG_LONG_MAX and LONG_LONG_MIN.
39414         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39415         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
39416         name.
39417         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39418
39419 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39420
39421         [BZ #2547]
39422         [BZ #11365]
39423         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39424         manipulate bits before adding and subtracting TWO23[sx].
39425         * math/libm-test.inc (nearbyint_test): Add more tests.
39426
39427 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39428
39429         [BZ #2548]
39430         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39431         bits before adding and subtracting TWO23[sx].
39432         * math/libm-test.inc (rint_test): Add more tests.
39433         (rint_test_tonearest): Likewise.
39434         (rint_test_towardzero): Likewise.
39435         (rint_test_downward): Likewise.
39436         (rint_test_upward: Likewise.
39437
39438 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39439
39440         [BZ #10110]
39441         * include/stdc-predef.h: New file.  Extracted from features.h.
39442         * include/features.h: Include stdc-predef.h.
39443         * Makefile (headers): Add stdc-predef.h.
39444         * CONFORMANCE (Compiler limitations): Update.
39445
39446 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39447
39448         * manual/libc.texinfo (VERSION, UPDATED): Revert.
39449
39450 2012-02-21  David S. Miller  <davem@davemloft.net>
39451
39452         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39453         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39454
39455 2012-02-20  David S. Miller  <davem@davemloft.net>
39456
39457         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39458         using a normal save/restore sequence, rather than allocating a
39459         dummy stack frame just to store a frame pointer and restore.
39460         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39461
39462 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39463
39464         * manual/install.texi: Fix stray word in line-wrapped comment.
39465
39466 2012-02-20  David S. Miller  <davem@davemloft.net>
39467
39468         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39469         both binutils and gcc support GOTDATA.
39470
39471         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39472         "rd %pc" in the PIC register setup sequences.
39473
39474         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39475         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39476         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39477         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39478         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39479         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39480         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39481         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39482         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39483         (SYSCALL_ERROR_HANDLER): Likewise.
39484         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39485         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39486         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39487         (SYSCALL_ERROR_HANDLER): Likewise.
39488
39489         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39490         (HAVE_GCC_GOTDATA): New.
39491         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39492         relocation support in both binutils and gcc.
39493         * sysdeps/sparc/elf/configure: Regenerate.
39494
39495         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39496         * sysdeps/sparc/sparc32/elf/configure: Delete.
39497         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39498         * sysdeps/sparc/sparc64/elf/configure: Delete.
39499         * sysdeps/sparc/elf/configure.in: New file.
39500         * sysdeps/sparc/elf/configure: Generate.
39501
39502         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39503         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39504         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39505         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39506         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39507
39508 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39509
39510         * manual/install.texi: Do not mention specific glibc version
39511         numbers.
39512         * manual/libc.texinfo (VERSION, UPDATED): Update.
39513         (@copying): Use @copyright{} and range of years.
39514
39515 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39516
39517         [BZ #13695]
39518         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39519         [crti.S not in sysdirs] (generated): Do not append.
39520         [crti.S not in sysdirs] (omit-deps): Likewise.
39521         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39522         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39523         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39524         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39525         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39526         Likewise.
39527         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39528         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39529         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39530         * csu/defs.awk: Remove file.
39531         * sysdeps/generic/initfini.c: Likewise.
39532         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39533         variable.
39534         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39535         Likewise.
39536
39537 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39538
39539         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39540         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39541         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39542         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39543         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39544         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39545         <bits/epoll.h>.
39546         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39547         (__EPOLL_PACKED): Define to empty if not defined by
39548         <bits/epoll.h>.
39549         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39550         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39551         bits/epoll.h.
39552
39553 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39554
39555         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39556         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39557         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39558         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39559         <bits/timerfd.h>.
39560         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39561         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39562         bits/timerfd.h.
39563
39564 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39565
39566         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39567         in C locale.
39568         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39569         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39570         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39572
39573 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
39574
39575         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39576         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39577
39578 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
39579
39580         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39581         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39582         defined.
39583         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39584         Likewise.
39585         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39586         entry for 2.16.
39587
39588 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
39589
39590         * math/w_acos.c: Use non-signaling floating-point comparisons.
39591         * math/w_acosf.c: Likewise.
39592         * math/w_acosh.c: Likewise.
39593         * math/w_acoshf.c: Likewise.
39594         * math/w_acoshl.c: Likewise.
39595         * math/w_acosl.c: Likewise.
39596         * math/w_asin.c: Likewise.
39597         * math/w_asinf.c: Likewise.
39598         * math/w_asinl.c: Likewise.
39599         * math/w_atanh.c: Likewise.
39600         * math/w_atanhf.c: Likewise.
39601         * math/w_atanhl.c: Likewise.
39602         * math/w_exp2.c: Likewise.
39603         * math/w_exp2f.c: Likewise.
39604         * math/w_exp2l.c: Likewise.
39605         * math/w_j0.c: Likewise.
39606         * math/w_j0f.c: Likewise.
39607         * math/w_j0l.c: Likewise.
39608         * math/w_j1.c: Likewise.
39609         * math/w_j1f.c: Likewise.
39610         * math/w_j1l.c: Likewise.
39611         * math/w_jn.c: Likewise.
39612         * math/w_jnf.c: Likewise.
39613         * math/w_log.c: Likewise.
39614         * math/w_log10.c: Likewise.
39615         * math/w_log10f.c: Likewise.
39616         * math/w_log10l.c: Likewise.
39617         * math/w_log2.c: Likewise.
39618         * math/w_log2f.c: Likewise.
39619         * math/w_log2l.c: Likewise.
39620         * math/w_logf.c: Likewise.
39621         * math/w_logl.c: Likewise.
39622         * math/w_sqrt.c: Likewise.
39623         * math/w_sqrtf.c: Likewise.
39624         * math/w_sqrtl.c: Likewise.
39625         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39626         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39627         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39628         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39629         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39630
39631 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39632
39633         [BZ #9739]
39634         * manual/string.texi (strnlen): Use correct parameter name in
39635         equivalent expression.
39636
39637 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39638
39639         [BZ #11174]
39640         * manual/users.texi (seteuid): Consistently use neweuid for
39641         argument name.
39642
39643 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39644
39645         [BZ #13704]
39646         * manual/nss.texi (Services in the NSS configuration): Correct
39647         list of services in example configuration file.
39648
39649 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
39650
39651         [BZ #11322]
39652         * manual/arith.texi: Remove statements about negative zero
39653         behaving identically to zero.
39654
39655 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39656
39657         [BZ #5993]
39658         * manual/install.texi: Do not document upgrading from libc5.
39659
39660 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39661
39662         [BZ #4596]
39663         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39664
39665 2012-02-18  David S. Miller  <davem@davemloft.net>
39666
39667         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39668         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39669         %o7 across the call.
39670         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39671         instead.
39672         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39673         SETUP_PIC_REG_LEAF.
39674         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39675         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39676         * sysdeps/sparc/crtn.S: Likewise.
39677
39678 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
39679
39680         * aout/Makefile: Remove.
39681
39682 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
39683
39684         [BZ #13058]
39685         * manual/examples/argp-ex1.c (main): Format definition in GNU
39686         style.
39687         * manual/examples/argp-ex2.c (main): Likewise.
39688         * manual/examples/argp-ex3.c (main): Likewise.
39689         * manual/examples/argp-ex4.c (main): Likewise.
39690         * manual/examples/longopt.c (main): Use new-style prototype
39691         definition.
39692         * manual/examples/strncat.c (main): Specify return type and use
39693         (void) for arguments.
39694         * manual/examples/subopt.c (main): Use char **argv argument.
39695
39696 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39697
39698         [BZ #5077]
39699         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39700         rounding modes.
39701
39702 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
39703
39704         [BZ #6907]
39705         * manual/string.texi (strchr): Change when strchrnul is
39706         recommended.
39707
39708 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
39709
39710         [BZ #174]
39711         * manual/locale.texi (setlocale): Document LOCPATH.
39712
39713 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39714
39715         [BZ #10210]
39716         * manual/process.texi (execle): Move @dots{} before last argument.
39717
39718 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
39719
39720         [BZ #12047]
39721         * manual/charset.texi (Generic Charset Conversion): Fix typo
39722         (LC_TYPE -> LC_CTYPE).
39723
39724 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
39725
39726         [BZ #5805]
39727         * manual/arith.texi (scalbn): Use @var{} on parameter names.
39728         (scalbnf): Likewise.
39729         (scalbnl): Likewise.
39730         (scalbln): Likewise.
39731         (scalblnf): Likewise.
39732         (scalblnl): Likewise.
39733         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39734         (vwarnx): Likewise.
39735         (verr): Likewise.
39736         (verrx): Likewise.
39737         * manual/filesys.texi (telldir): Use braces around return type.
39738         * manual/llio.texi (mmap): Add space after comma.
39739         (mmap64): Likewise.
39740         * manual/math.texi (jn): Use @var{} on parameter names.
39741         (jnf): Likewise.
39742         (jnl): Likewise.
39743         (yn): Likewise.
39744         (ynf): Likewise.
39745         (ynl): Likewise.
39746         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39747         line.
39748         * manual/resource.texi (ulimit): Use @dots{} instead of literal
39749         "...".
39750         (sched_get_priority_min): Remove semicolon on @deftypefun line.
39751         (sched_get_priority_max): Likewise.
39752         * manual/signal.texi (sigvec): Add space after comma.
39753         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39754         names.
39755         (if_indextoname): Likewise.
39756         (if_freenameindex): Likewise.
39757         (sendto): Use ',' instead of '.' in prototype.
39758         * manual/startup.texi (syscall): Use @dots{} instead of literal
39759         "...".
39760         * manual/stdio.texi (__fpending): Separate initial words of
39761         paragraph from @deftypefun line.
39762         * manual/syslog.texi (syslog): Use @dots{} instead of literal
39763         "...".
39764         (vsyslog): Use @var{} on parameter names.
39765         * manual/terminal.texi (stty): Use @var{} on parameter names.
39766         * manual/users.texi (getutmp): Use @var{} on parameter names.
39767         (getutmpx): Likewise.
39768
39769 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39770
39771         [BZ #6884]
39772         * manual/stdio.texi (fopen): Fix typos in description of
39773         ",ccs=STRING".
39774
39775 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
39776
39777         [BZ #4026]
39778         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39779         get clock_id definition.
39780
39781 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
39782
39783         [BZ #4822]
39784         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39785         (madvise): Cast every argument to void on its own.
39786
39787 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39788
39789         [BZ #9902]
39790         * manual/startup.texi (Exit Status): Fix typo.
39791
39792 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39793
39794         [BZ #10140]
39795         * manual/examples/argp-ex1.c: Include <stdlib.h>.
39796         * manual/examples/argp-ex2.c: Likewise.
39797         * manual/examples/argp-ex3.c: Likewise.
39798
39799 2012-02-16  Richard Henderson  <rth@redhat.com>
39800
39801         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39802         * sysdeps/s390/s390-32/initfini.c: Remove.
39803         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39804         * sysdeps/s390/s390-64/initfini.c: Remove.
39805
39806 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39807
39808         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39809         compiler output for sysdeps/generic/initfini.c.
39810         * sysdeps/sh/elf/initfini.c: Remove file.
39811
39812 2012-02-16  David S. Miller  <davem@davemloft.net>
39813
39814         [BZ #11494]
39815         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39816
39817         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39818         * sysdeps/sparc/crti.S: New file.
39819         * sysdeps/sparc/crtn.S: New file.
39820         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39821         * sysdeps/sparc/sparc64/Makefile: Likewise.
39822
39823 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
39824
39825         [BZ #3335]
39826         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39827
39828 2012-02-15  Roland McGrath  <roland@hack.frob.com>
39829
39830         [BZ #4822]
39831         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39832
39833         * mach/devstream.c (cookie_io_functions_t): Macro removed.
39834         (write, read, close): Likewise.
39835         Patch by Aurelien Jarno <aurelien@aurel32.net>.
39836
39837 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
39838
39839         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39840         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39841         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39842         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39843         <bits/signalfd.h>.
39844         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39845         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39846         bits/signalfd.h.
39847
39848 2012-02-14  Marek Polacek  <polacek@redhat.com>
39849
39850         * sysdeps/x86_64/crti.S: New file.
39851         * sysdeps/x86_64/crtn.S: New file.
39852         * sysdeps/x86_64/elf/initfini.c: Remove file.
39853
39854 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
39855
39856         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39857         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39858         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39859         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39860         <bits/inotify.h>.
39861         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39862         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39863         bits/inotify.h.
39864
39865 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
39866
39867         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39868         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39869         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39870         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39871         <bits/eventfd.h>.
39872         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39873         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39874         bits/eventfd.h.
39875
39876 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
39877
39878         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39879         __feraiseexcept instead of feraiseexcept.
39880
39881         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39882         nanosleep invocations.
39883         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39884         strings, and add error checking for a nanosleep invocations.
39885
39886 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
39887
39888         Replace FSF snail mail address with URLs, as per GNU coding standards.
39889         Most of the snail mail addresses were wrong anyway, and omitting
39890         them makes the source code easier to maintain.  Almost all of the
39891         changes are to license notices and to locale LC_IDENTIFICATION
39892         addresses, except for this one:
39893         * manual/libc.texinfo: In "Published by", give the FSF's URL,
39894         not its snail mail address.
39895
39896 2012-02-09  Richard Henderson  <rth@twiddle.net>
39897
39898         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39899         of kernel-features.h.
39900
39901         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39902
39903 2012-02-08  Marek Polacek  <polacek@redhat.com>
39904
39905         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39906         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39907         * sysdeps/gnu/_G_config.h: Likewise.
39908         * sysdeps/generic/_G_config.h: Likewise.
39909
39910 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
39911
39912         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39913         tests.
39914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39915
39916         * sysdeps/powerpc/powerpc32/crti.S: New file.
39917         * sysdeps/powerpc/powerpc32/crtn.S: New file.
39918         * sysdeps/powerpc/powerpc64/crti.S: New file.
39919         * sysdeps/powerpc/powerpc64/crtn.S: New file.
39920
39921         * Makeconfig (have-initfini): Don't set.
39922         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39923         * configure.in (nopic_initfini): Don't substitute.
39924         * config.h.in (HAVE_INITFINI): Don't #undef.
39925         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39926         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39927
39928 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
39929
39930         Support crti.S and crtn.S provided directly by architectures.
39931         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39932         [crti.S in sysdirs] (omit-deps): Likewise.
39933         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39934         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39935         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39936         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39937         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39938         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39939         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39940         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39941         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39942         compiler output for sysdeps/generic/initfini.c.
39943         * sysdeps/i386/elf/Makefile: Remove file.
39944         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39945
39946 2012-02-07  Marek Polacek  <polacek@redhat.com>
39947
39948         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39949         * sysdeps/gnu/_G_config.h: Likewise.
39950         * sysdeps/mach/hurd/_G_config.h: Likewise.
39951
39952 2012-02-07  Marek Polacek  <polacek@redhat.com>
39953
39954         * math/Makefile (tests): Add tst-CMPLX2.
39955         * math/tst-CMPLX2.c: New file.
39956
39957 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
39958
39959         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39960
39961         * math/libm-test.inc (jn_test): Add missing L suffix.
39962
39963 2012-02-06  Marek Polacek  <polacek@redhat.com>
39964
39965         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39966         * sysdeps/i386/fpu/e_powf.S: Likewise.
39967         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39968         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39969         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39970         * sysdeps/i386/fpu/e_pow.S: Likewise.
39971         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39972         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39973         * sysdeps/i386/fpu/s_expm1.S: Likewise.
39974         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39975         * sysdeps/i386/fpu/e_log2.S: Likewise.
39976         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39977         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39978         * sysdeps/i386/fpu/e_powl.S: Likewise.
39979         * sysdeps/i386/fpu/s_log1p.S: Likewise.
39980         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39981         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39982         * sysdeps/i386/fpu/e_logl.S: Likewise.
39983         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39984         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39985         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39986         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39987         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39988         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39989         * sysdeps/i386/fpu/e_log.S: Likewise.
39990         * sysdeps/i386/fpu/s_cexp.S: Likewise.
39991         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39992         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39993         * sysdeps/i386/fpu/e_logf.S: Likewise.
39994         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39995         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39996         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39997         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39998         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39999         * sysdeps/i386/fpu/e_log10.S: Likewise.
40000         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40001         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40002         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40003         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40004         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40005         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40006         * sysdeps/i386/asm-syntax.h: Likewise.
40007         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40008         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40009         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40010         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40011         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40012         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40013         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40014         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40015         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40016         * sysdeps/powerpc/sysdep.h: Likewise.
40017         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40018         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40019
40020 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40021
40022         [BZ #411]
40023         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40024
40025 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40026
40027         * sysdeps/i386/sysdep.h: Include <features.h>.
40028         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40029         version.
40030
40031 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40032
40033         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40034         Define.
40035         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40036         LOAD_PIC_REG_STR.
40037
40038 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40039
40040         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40041         (SETUP_PIC_REG): Use GET_PC_THUNK.
40042         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40043         macro.
40044
40045 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40046
40047         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40048         for non-PIC compilation.
40049         (SETUP_PIC_REG): Add .p2align directive.
40050         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40051         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40052         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40053         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40054         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40055         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40056         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40057         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40058         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40059         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40060         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40061         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40062         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40063         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40064         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40065         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40066         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40067         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40068         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40069         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40070         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40071         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40072         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40073         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40074         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40075         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40076         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40077         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40078         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40079         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40080         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40081         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40082         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40083         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40084         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40085         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40086         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40087         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40088         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40089         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40090         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40091
40092 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40093
40094         * math/tst-CMPLX.c: Include <stdio.h>.
40095
40096 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40097
40098         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40099         float.
40100         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40101         * sysdeps/sparc/bits/mathdef.h: Likewise.
40102
40103 2012-01-31  Marek Polacek  <polacek@redhat.com>
40104
40105         * libio/libio.h: Don't define _PARAMS.
40106         * locale/programs/config.h: Don't define PARAMS.
40107         * stdlib/strtol_l.c: Likewise.
40108         (__strtol_l): Remove PARAMS from the prototype.
40109
40110 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40111
40112         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40113         names.  Just use the correct names.  Remove unnecessary wrapper
40114         functions.
40115         * malloc/arena.c: Likewise.
40116         * malloc/hooks.c: Likewise.
40117
40118         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40119         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40120         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40121
40122 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40123
40124         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40125         into tail calls.
40126         (update_get_addr): New function.
40127         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40128         GET_ADDR_MODULE parameter.
40129
40130 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40131
40132         * crypt/cert.c: Remove __STDC__ conditionals.
40133         * crypt/crypt-entry.c: Likewise.
40134         * crypt/crypt_util.c: Likewise.
40135         * libio/filedoalloc.c: Likewise.
40136         * libio/fileops.c: Likewise.
40137         * libio/genops.c: Likewise.
40138         * libio/iofclose.c: Likewise.
40139         * libio/iofdopen.c: Likewise.
40140         * libio/iofopen.c: Likewise.
40141         * libio/iofopen64.c: Likewise.
40142         * libio/iogetdelim.c: Likewise.
40143         * libio/iopopen.c: Likewise.
40144         * libio/obprintf.c: Likewise.
40145         * libio/oldfileops.c: Likewise.
40146         * libio/oldiofclose.c: Likewise.
40147         * libio/oldiofdopen.c: Likewise.
40148         * libio/oldiofopen.c: Likewise.
40149         * libio/oldiopopen.c: Likewise.
40150         * libio/wfiledoalloc.c: Likewise.
40151         * libio/wgenops.c: Likewise.
40152         * locale/programs/xmalloc.c: Likewise.
40153         * misc/syslog.c: Likewise.
40154         * stdio-common/xbug.c: Likewise.
40155         * string/memchr.c: Likewise.
40156         * string/memcmp.c: Likewise.
40157         * string/memrchr.c: Likewise.
40158         * string/rawmemchr.c: Likewise.
40159         * sysdeps/posix/getcwd.c: Likewise.
40160         * time/strftime_l.c: Likewise.
40161
40162 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40163
40164         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40165         * config.make.in (config-cflags-sse2avx): Define.
40166         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40167         Fix typo.
40168
40169 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40170
40171         * scripts/config.guess: Update from upstream config git repository.
40172         * scripts/config.sub: Likewise.
40173
40174 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40175
40176         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40177         (EM_NUM): Update.
40178         (R_TILEPRO_*, R_TILEGX_*): New macros.
40179
40180         * scripts/firstversions.awk: Fix bug in version range handling.
40181
40182         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40183
40184         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40185
40186         * include/sys/epoll.h: New file.
40187         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40188         libc_hidden_def.
40189
40190 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40191
40192         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40193         Avoid unnecessary __WORDSIZE == 64 test.
40194         (fmaxf): Use VEX format if possible.
40195         (fmax): Likewise.
40196         (fminf): Likewise.
40197         (fmin): Likewise.
40198
40199         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40200         * math/math_private.h: Remove libc_fegetround* and
40201         libc_fesetround*.
40202         * sysdeps/i386/configure.in: Check for -msse2avx.
40203         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40204         also if SSE2AVX is defined.
40205         Remove libc_fegetround* and libc_fesetround*.
40206         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40207         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40208         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40209         of HAS_YMM_USABLE.
40210         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40211         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40212         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40213         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40214         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40215
40216         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40217
40218 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40219
40220         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40221         size is not set.
40222         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40223
40224 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40225
40226         [BZ #13618]
40227         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40228         relocation.
40229         * Makeconfig (libm): Define.
40230         * elf/Makefile: Add rules to build and run tst-relsort1.
40231         * elf/tst-relsort1.c: New file.
40232         * elf/tst-relsort1mod1.c: New file.
40233         * elf/tst-relsort1mod2.c: New file.
40234
40235 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40236
40237         * math/s_ldexp.c: Remove __STDC__ conditionals.
40238         * math/s_ldexpf.c: Likewise.
40239         * math/s_ldexpl.c: Likewise.
40240         * math/s_nextafter.c: Likewise.
40241         * math/s_nexttowardf.c: Likewise.
40242         * math/s_significand.c: Likewise.
40243         * math/s_significandf.c: Likewise.
40244         * math/s_significandl.c: Likewise.
40245         * math/w_jnl.c: Likewise.
40246         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40247         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40248         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40249         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40250         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40251         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40252         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40253         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40254         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40255         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40256         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40257         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40258         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40259         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40260         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40261         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40262         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40263         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40264         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40265         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40266         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40267         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40268         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40269         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40270         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40271         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40272         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40273         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40274         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40275         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40276         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40277         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40278         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40279         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40280         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40281         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40282         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40283         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40284         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40285         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40286         * sysdeps/ieee754/k_standard.c: Likewise.
40287         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40288         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40289         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40290         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40291         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40292         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40293         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40294         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40295         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40296         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40297         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40298         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40299         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40300         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40301         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40302         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40303         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40304         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40305         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40306         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40307         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40308         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40309         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40310         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40311         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40312         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40313         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40314         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40315         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40316         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40317         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40318         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40319         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40320         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40321         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40322         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40323         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40324         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40325         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40326         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40327         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40328         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40329         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40330         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40331         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40332         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40333         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40334         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40335         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40336         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40337         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40338         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40339         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40340         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40341         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40342         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40343         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40344         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40345         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40346         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40347         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40348         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40349         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40350         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40351         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40352         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40353         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40354         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40355         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40356         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40357         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40358         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40359         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40360         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40361         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40362         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40363         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40364         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40365         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40366         * sysdeps/ieee754/s_matherr.c: Likewise.
40367         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40368         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40369         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40370         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40371
40372 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40373
40374         * crypt/md5.h: Remove __STDC__ conditionals.
40375         * libio/libioP.h: Likewise.
40376         * locale/programs/config.h: Likewise.
40377         * sysdeps/generic/sysdep.h: Likewise.
40378         * sysdeps/i386/asm-syntax.h: Likewise.
40379         * sysdeps/s390/asm-syntax.h: Likewise.
40380         * sysdeps/unix/sysdep.h: Likewise.
40381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40383
40384 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40385
40386         * libio/libio.h: Remove __STDC__ conditionals.
40387         * malloc/obstack.h: Likewise.
40388         * math/complex.h: Likewise.
40389         * math/math.h: Likewise.
40390         * sysdeps/generic/_G_config.h: Likewise.
40391         * sysdeps/gnu/_G_config.h: Likewise.
40392         * sysdeps/mach/hurd/_G_config.h: Likewise.
40393         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40394         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40395         * sysdeps/sparc/bits/mathdef.h: Likewise.
40396
40397 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
40398
40399         [BZ #13583]
40400         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40401         Clean up HAS_* macros.
40402         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40403         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40404         possible.
40405         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40406         HAS_AVX.
40407         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40408         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40409         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40410         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40411         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40412
40413 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
40414
40415         * elf/tst-unique3.cc (gets): Remove declaration.
40416         * elf/tst-unique3lib.cc (gets): Likewise.
40417         * elf/tst-unique3lib2.cc (gets): Likewise.
40418         * elf/tst-unique4.cc (gets): Likewise.
40419
40420 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
40421
40422         * include/stdio.h: Add C++ protection.  Add gets declarations and
40423         definitions.
40424         * debug/tst-chk1.c: Don't declare gets here.
40425         * stdio-common/tst-gets.c: Likewise.
40426
40427 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40428
40429         * posix/glob: Remove directory.
40430
40431 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40432
40433         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40434
40435 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
40436
40437         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40438         of the non-standard EPFNOSUPPORT.
40439
40440 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40441
40442         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40443         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40444         ANYWHERE set to 1 only on KERN_NO_SPACE error.
40445
40446 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
40447
40448         * wcsmbs/uchar.h: Test __STDC_VERSION__.
40449
40450 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
40451
40452         * nscd/aicache.c (addhstaiX): Do not cache negative results of
40453         transient errors.
40454         * nscd/grpcache.c (cache_addgr): Likewise.
40455         * nscd/hstcache.c (cache_addhst): Likewise.
40456         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40457         * nscd/pwdcache.c (cache_addpw): Likewise.
40458         * nscd/servicescache.c (cache_addserv): Likewise.
40459
40460 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
40461
40462         * malloc/malloc.c: Various cleanups.
40463         * malloc/hooks.c: Likewise.
40464
40465         * stdlib/Makefile (tests): Add bug-fmtmsg1.
40466         * stdlib/bug-fmtmsg1.c: New file.
40467
40468         * stdlib/fmtmsg.c (init): Add missing unlock.
40469         Patch by Peng Haitao <penght@cn.fujitsu.com>.
40470
40471 2012-01-12  Marek Polacek  <polacek@redhat.com>
40472
40473         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40474         and _GNU_SOURCE.
40475
40476 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40477
40478         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40479         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40480         macro to ensure uniqueness of label name.
40481         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40482         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40483
40484 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
40485
40486         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40487
40488         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40489         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40490         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40491         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40492
40493 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
40494
40495         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40496
40497         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40498         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40499         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40500
40501         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40502
40503         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40504         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40505         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40506         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40507
40508         * math/bits/math-finite.h: Add ldexp support.
40509
40510 2012-01-10  Marek Polacek  <polacek@redhat.com>
40511
40512         * locale/programs/localedef.h (show_archive_content): Add noreturn
40513         attribute.
40514
40515 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
40516
40517         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40518
40519 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40520
40521         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40522
40523         * io/Makefile (headers): Add bits/poll2.h.
40524
40525 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
40526
40527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40528         typo #include statement.
40529
40530 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40531
40532         * include/sys/cdefs.h: Define __attribute_alloc_size.
40533         * catgets/gencat.c: Add alloc_size attribute and apply consistently
40534         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40535         * elf/pldd.c: Likewise.
40536         * iconv/iconv_charmap.c: Likewise.
40537         * iconv/iconvconfig.c: Likewise.
40538         * iconv/strtab.c: Likewise.
40539         * locale/programs/locale.c: Likewise.
40540         * locale/programs/localedef.h: Likewise.
40541         * locale/programs/simple-hash.c: Likewise.
40542         * nscd/nscd.h: Likewise.
40543         * nss/makedb.c: Likewise.
40544         * sysdeps/generic/ldconfig.h: Likewise.
40545         * locale/programs/localedef.c: Remove xmalloc prototype.
40546         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40547
40548 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40549
40550         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40551         appropriate.
40552
40553 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40554
40555         * math/Makefile (tests): Add tst-CMPLX.
40556         * math/tst-CMPLX.c: New file.
40557
40558         * math/complex.h (CMPLXL): Fix typo.
40559
40560         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40561         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40562         GLIBC_2.16.
40563         * debug/tst-chk1.c: Add poll and ppoll tests.
40564         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40565         * include/sys/poll.h: Add hidden proto for ppoll.
40566         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40567         * sysdeps/mach/hurd/ppoll.c: Likewise.
40568         * io/ppoll.c: Likewise.
40569         * debug/poll_chk.c: New file.
40570         * debug/ppoll_chk.c: New file.
40571         * include/bits/poll2.h: New file.
40572         * io/bits/poll2.h: New file.
40573
40574         [BZ #1350]
40575         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40576
40577         * configure.in: static is always set to yes.  Remove.
40578         * config.make.in: Don't set build-static.
40579         * Makeconfig: Remove use of build-static.
40580         * dlfcn/Makefile: Likewise.
40581         * elf/Makefile: Likewise.
40582         * math/Makefile: Likewise.
40583         * misc/Makefile: Likewise.
40584         * nptl/Makefile: Likewise.
40585         * sysdeps/mach/hurd/Makefile: Likewise.
40586
40587         * configure.in: PWD_P is not used anymore.
40588         * config.make.in: Remove PWD_P entry.
40589
40590         * configure.in: Remove last remnants of RANLIB.
40591         No need to check for signed size_t anymore.
40592         Don't set libc_commonpagesize and libc_relro_required here for Alpha
40593         and IA-64.
40594         Remove __builtin_expect test because we require at least gcc 3.4.
40595         * aclocal.m4: Likewise.
40596
40597         * wcsmbs/mbrtoc16.c: Implement using towc function.
40598         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40599         * wcsmbs/wcsmbsload.c: Likewise.
40600         * iconv/gconv_simple.c: Likewise.
40601         * iconv/gconv_int.h: Likewise.
40602         * iconv/gconv_builtin.h: Likewise.
40603         * iconv/iconv_prog.c: Remove CHAR16 handling.
40604
40605         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40606
40607         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40608
40609         * configure.in: Remove --with-elf and --enable-bounded options.
40610         Dont set base_machine for ia64.  More non-ELF conditions removed.
40611         Remove testing and setting of leading underscore information.
40612         * config.make.in (build-bounded): Set to no.
40613         * config.h.in: Remove NO_UNDERSCORES entry.
40614         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
40615         them.
40616         * csu/start.c: Remove !NO_UNDERSCORE code.
40617         * locale/localeinfo.h: Likewise.
40618         * sysdeps/generic/machine-gmon.h: Likewise.
40619         * sysdeps/generic/sysdep.h: Likewise.
40620         * sysdeps/i386/sysdep.h: Likewise.
40621         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40622         * sysdeps/mach/sysdep.h: Likewise.
40623         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40624         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40625         * sysdeps/sh/sysdep.h: Likewise.
40626         * sysdeps/sparc/sparc32/alloca.S: Likewise.
40627         * sysdeps/unix/i386/sysdep.S: Likewise.
40628         * sysdeps/unix/sparc/start.c: Likewise.
40629         * sysdeps/unix/sparc/sysdep.S: Likewise.
40630         * sysdeps/unix/sparc/sysdep.h: Likewise.
40631         * sysdeps/unix/start.c: Likewise.
40632         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40633         * sysdeps/x86_64/sysdep.h: Likewise.
40634
40635 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
40636
40637         [BZ #13553]
40638         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40639         for non-gcc.
40640         * argp/argp-fmtstream.h: Use const instead __const.
40641         * argp/argp.h: Likewise.
40642         * assert/assert.h: Likewise.
40643         * bits/fenv.h: Likewise.
40644         * bits/sched.h: Likewise.
40645         * bits/sigset.h: Likewise.
40646         * bits/sigthread.h: Likewise.
40647         * catgets/nl_types.h: Likewise.
40648         * conform/data/pthread.h-data: Likewise.
40649         * crypt/crypt-private.h: Likewise.
40650         * crypt/crypt.h: Likewise.
40651         * crypt/crypt_util.c: Likewise.
40652         * ctype/ctype.h: Likewise.
40653         * debug/execinfo.h: Likewise.
40654         * debug/mbsnrtowcs_chk.c: Likewise.
40655         * debug/mbsrtowcs_chk.c: Likewise.
40656         * debug/wcsnrtombs_chk.c: Likewise.
40657         * debug/wcsrtombs_chk.c: Likewise.
40658         * debug/wcstombs_chk.c: Likewise.
40659         * dirent/dirent.h: Likewise.
40660         * dlfcn/dlfcn.h: Likewise.
40661         * elf/neededtest4.c: Likewise.
40662         * grp/grp.h: Likewise.
40663         * gshadow/gshadow.h: Likewise.
40664         * iconv/gconv.h: Likewise.
40665         * iconv/gconv_int.h: Likewise.
40666         * iconv/gconv_simple.c: Likewise.
40667         * iconv/iconv.h: Likewise.
40668         * iconv/loop.c: Likewise.
40669         * iconv/skeleton.c: Likewise.
40670         * include/aio.h: Likewise.
40671         * include/aliases.h: Likewise.
40672         * include/argz.h: Likewise.
40673         * include/arpa/inet.h: Likewise.
40674         * include/assert.h: Likewise.
40675         * include/dirent.h: Likewise.
40676         * include/dlfcn.h: Likewise.
40677         * include/execinfo.h: Likewise.
40678         * include/fcntl.h: Likewise.
40679         * include/fenv.h: Likewise.
40680         * include/glob.h: Likewise.
40681         * include/grp.h: Likewise.
40682         * include/libintl.h: Likewise.
40683         * include/mntent.h: Likewise.
40684         * include/netdb.h: Likewise.
40685         * include/pwd.h: Likewise.
40686         * include/rpc/netdb.h: Likewise.
40687         * include/sched.h: Likewise.
40688         * include/search.h: Likewise.
40689         * include/shadow.h: Likewise.
40690         * include/signal.h: Likewise.
40691         * include/stdio.h: Likewise.
40692         * include/stdlib.h: Likewise.
40693         * include/string.h: Likewise.
40694         * include/sys/socket.h: Likewise.
40695         * include/sys/stat.h: Likewise.
40696         * include/sys/statfs.h: Likewise.
40697         * include/sys/statvfs.h: Likewise.
40698         * include/sys/syslog.h: Likewise.
40699         * include/sys/time.h: Likewise.
40700         * include/sys/uio.h: Likewise.
40701         * include/time.h: Likewise.
40702         * include/unistd.h: Likewise.
40703         * include/utmp.h: Likewise.
40704         * include/wchar.h: Likewise.
40705         * include/wctype.h: Likewise.
40706         * inet/aliases.h: Likewise.
40707         * inet/arpa/inet.h: Likewise.
40708         * inet/netinet/ether.h: Likewise.
40709         * inet/netinet/in.h: Likewise.
40710         * intl/libintl.h: Likewise.
40711         * io/bits/fcntl2.h: Likewise.
40712         * io/fcntl.h: Likewise.
40713         * io/ftw.h: Likewise.
40714         * io/sys/poll.h: Likewise.
40715         * io/sys/stat.h: Likewise.
40716         * io/sys/statfs.h: Likewise.
40717         * io/sys/statvfs.h: Likewise.
40718         * io/utime.h: Likewise.
40719         * libio/bits/stdio.h: Likewise.
40720         * libio/bits/stdio2.h: Likewise.
40721         * libio/libio.h: Likewise.
40722         * libio/libioP.h: Likewise.
40723         * libio/stdio.h: Likewise.
40724         * locale/lc-ctype.c: Likewise.
40725         * locale/locale.h: Likewise.
40726         * login/utmp.h: Likewise.
40727         * malloc/arena.c: Likewise.
40728         * malloc/malloc.c: Likewise.
40729         * malloc/malloc.h: Likewise.
40730         * malloc/mcheck.c: Likewise.
40731         * malloc/mtrace.c: Likewise.
40732         * math/bits/mathcalls.h: Likewise.
40733         * math/fenv.h: Likewise.
40734         * math/math_private.h: Likewise.
40735         * misc/bits/error.h: Likewise.
40736         * misc/bits/syslog.h: Likewise.
40737         * misc/err.h: Likewise.
40738         * misc/error.h: Likewise.
40739         * misc/fstab.h: Likewise.
40740         * misc/mntent.h: Likewise.
40741         * misc/regexp.h: Likewise.
40742         * misc/search.h: Likewise.
40743         * misc/sgtty.h: Likewise.
40744         * misc/sys/mman.h: Likewise.
40745         * misc/sys/syslog.h: Likewise.
40746         * misc/sys/uio.h: Likewise.
40747         * misc/sys/xattr.h: Likewise.
40748         * misc/ttyent.h: Likewise.
40749         * nis/rpcsvc/ypclnt.h: Likewise.
40750         * nss/nss.h: Likewise.
40751         * posix/bits/unistd.h: Likewise.
40752         * posix/fnmatch.h: Likewise.
40753         * posix/glob.h: Likewise.
40754         * posix/sched.h: Likewise.
40755         * posix/spawn.h: Likewise.
40756         * posix/sys/wait.h: Likewise.
40757         * posix/unistd.h: Likewise.
40758         * posix/wordexp.h: Likewise.
40759         * pwd/pwd.h: Likewise.
40760         * resolv/netdb.h: Likewise.
40761         * resource/sys/resource.h: Likewise.
40762         * rt/aio.h: Likewise.
40763         * rt/bits/mqueue2.h: Likewise.
40764         * rt/mqueue.h: Likewise.
40765         * shadow/shadow.h: Likewise.
40766         * signal/signal.h: Likewise.
40767         * socket/send.c: Likewise.
40768         * socket/sendto.c: Likewise.
40769         * socket/sys/socket.h: Likewise.
40770         * stdio-common/printf.h: Likewise.
40771         * stdlib/bits/stdlib.h: Likewise.
40772         * stdlib/fmtmsg.h: Likewise.
40773         * stdlib/monetary.h: Likewise.
40774         * stdlib/stdlib.h: Likewise.
40775         * stdlib/ucontext.h: Likewise.
40776         * streams/stropts.h: Likewise.
40777         * string/argz.h: Likewise.
40778         * string/bits/string2.h: Likewise.
40779         * string/string.h: Likewise.
40780         * string/strings.h: Likewise.
40781         * sunrpc/rpc/auth.h: Likewise.
40782         * sunrpc/rpc/auth_des.h: Likewise.
40783         * sunrpc/rpc/clnt.h: Likewise.
40784         * sunrpc/rpc/netdb.h: Likewise.
40785         * sunrpc/rpc/pmap_clnt.h: Likewise.
40786         * sunrpc/rpc/xdr.h: Likewise.
40787         * sysdeps/generic/inttypes.h: Likewise.
40788         * sysdeps/generic/net/if.h: Likewise.
40789         * sysdeps/generic/sys/swap.h: Likewise.
40790         * sysdeps/gnu/net/if.h: Likewise.
40791         * sysdeps/gnu/utmpx.h: Likewise.
40792         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40793         * sysdeps/i386/i486/bits/string.h: Likewise.
40794         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40795         * sysdeps/s390/bits/string.h: Likewise.
40796         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40797         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40798         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40799         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40800         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40801         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40802         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40803         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40804         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40805         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40806         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40807         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40808         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40809         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40810         * sysdeps/unix/sysv/linux/readv.c: Likewise.
40811         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40812         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40813         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40814         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40815         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40816         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40817         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40818         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40819         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40820         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40821         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40822         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40823         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40824         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40825         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40826         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40827         * sysvipc/sys/ipc.h: Likewise.
40828         * sysvipc/sys/msg.h: Likewise.
40829         * sysvipc/sys/sem.h: Likewise.
40830         * sysvipc/sys/shm.h: Likewise.
40831         * termios/termios.h: Likewise.
40832         * time/sys/time.h: Likewise.
40833         * time/time.h: Likewise.
40834         * wcsmbs/bits/wchar2.h: Likewise.
40835         * wcsmbs/uchar.h: Likewise.
40836         * wcsmbs/wchar.h: Likewise.
40837         * wctype/wctype.h: Likewise.
40838
40839         [BZ #13551]
40840         * Makeconfig: Remove all but ELF support including AIX support.
40841         * Makerules: Likewise.
40842         * config.h.in: Likewise.
40843         * config.make.in: Likewise.
40844         * configure: Likewise.
40845         * configure.in: Likewise.
40846         * csu/Makefile: Likewise.
40847         * csu/version.c: Likewise.
40848         * debug/Makefile: Likewise.
40849         * dlfcn/Makefile: Likewise.
40850         * elf/Makefile: Likewise.
40851         * extra-lib.mk: Likewise.
40852         * iconv/Makefile: Likewise.
40853         * include/libc-symbols.h: Likewise.
40854         * include/shlib-compat.h: Likewise.
40855         * resolv/Makefile: Likewise.
40856         * resolv/res_libc.c: Likewise.
40857         * rt/Makefile: Likewise.
40858         * sysdeps/i386/asm-syntax.h: Likewise.
40859         * sysdeps/i386/sysdep.h: Likewise.
40860         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40861         * sysdeps/mach/sysdep.h: Likewise.
40862         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40863         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40864         * sysdeps/s390/asm-syntax.h: Likewise.
40865         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40866         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40867         * sysdeps/sh/sysdep.h: Likewise.
40868         * sysdeps/unix/sparc/sysdep.h: Likewise.
40869         * sysdeps/wordsize-32/divdi3.c: Likewise.
40870         * sysdeps/x86_64/sysdep.h: Likewise.
40871
40872         * argp/Versions: Remove _argp_unlock_xxx.
40873
40874         [BZ #13559]
40875         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
40876         * abilist/libBrokenLocale.abilist: Likewise.
40877         * abilist/libanl.abilist: Likewise.
40878         * abilist/libc.abilist: Likewise.
40879         * abilist/libcrypt.abilist: Likewise.
40880         * abilist/libdl.abilist: Likewise.
40881         * abilist/libm.abilist: Likewise.
40882         * abilist/libnsl.abilist: Likewise.
40883         * abilist/libpthread.abilist: Likewise.
40884         * abilist/libresolv.abilist: Likewise.
40885         * abilist/librt.abilist: Likewise.
40886         * abilist/libthread_db.abilist: Likewise.
40887         * abilist/libutil.abilist: Likewise.
40888         * abilist/libnss_db.abilist: New file.
40889
40890         * scripts/abilist.awk: Add support for indirect functions.
40891
40892         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40893
40894         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40895
40896         * shlib-versions: Remove entries for ports architectures.
40897
40898         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
40899         files in ports.
40900         * elf/stackguard-macros.h: Remove support for IA-64.
40901         * elf/tst-auditmod1.c: Likewise.
40902         * sysdeps/generic/ldsodefs.h: Likewise.
40903
40904         * sysdeps/unix/sysv/linux/configure.in: Ports should define
40905         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40906         configure files.
40907
40908         [BZ #13552]
40909         * configure.in: Remove --enable-omitfp support.
40910         * FAQ.in: Adjust.
40911         * config.make.in: Likewise.
40912         * Makeconfig: Likewise.
40913         * manual/install.texi: Likewise.
40914
40915         In case anyone cares, the IA-64 architecture could move to ports.
40916         * sysdeps/ia64/*: Removed.
40917         * sysdeps/unix/sysv/linux/ia64/*: Removed.
40918         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40919
40920         [BZ #13555]
40921         * configure.in: Remove entries for unsupported architectures.
40922
40923         [BZ #13533]
40924         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40925         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
40926         routines.
40927         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40928         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40929         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
40930         fall back to using wcrtomb.
40931         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40932         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
40933         renaming.
40934         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40935         * wcsmbs/tst-c16c32-1.c: New file.
40936
40937         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40938         local variable.
40939
40940         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40941
40942         * elf/tst-unique3.cc: Add explicit declaration of gets.
40943         * elf/tst-unique3lib.cc: Likewise.
40944         * elf/tst-unique3lib2.cc: Likewise.
40945         * elf/tst-unique4.cc: Likewise.
40946
40947         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40948
40949 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
40950
40951         [BZ #13566]
40952         * assert/assert.h (static_assert): Don't define for C++.
40953         * libio/stdio.h (gets): Do declare for C++ <= C++11.
40954         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40955
40956 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
40957
40958         * iconv/loop.c (single loop): Fix assertion in storing of
40959         remaining bytes.
40960
40961         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40962
40963 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
40964
40965         * posix/getconf.c: Update copyright year.
40966         * nss/getent.c: Likewise.
40967         * nss/makedb.c: Likewise.
40968         * iconv/iconvconfig.c: Likewise.
40969         * iconv/iconv_prog.c: Likewise.
40970         * elf/ldconfig.c: Likewise.
40971         * elf/pldd.c: Likewise.
40972         * elf/sotruss.ksh: Likewise.
40973         * catgets/gencat.c: Likewise.
40974         * csu/version.c: Likewise.
40975         * elf/ldd.bash.in: Likewise.
40976         * elf/sprof.c (print_version): Likewise.
40977         * locale/programs/locale.c: Likewise.
40978         * locale/programs/localedef.c: Likewise.
40979         * login/programs/pt_chown.c: Likewise.
40980         * nscd/nscd.c (print_version): Likewise.
40981         * debug/xtrace.sh: Likewise.
40982         * malloc/memusage.sh: Likewise.
40983         * malloc/mtrace.pl: Likewise.
40984         * debug/catchsegv.sh: Likewise.
40985
40986 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
40987
40988         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40989         pure attribute.
40990
40991 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
40992
40993         [BZ #13533]
40994         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40995         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40996         transformations.
40997         * iconv/gconv_int.h: Likewise.
40998         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40999         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41000         from libc for GLIBC_2.16.
41001         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41002         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41003         * wcsmbs/uchar.h: Really define mbstate_t.
41004         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41005         * wcsmbs/c16rtomb.c: New file.
41006         * wcsmbs/mbrtoc16.c: New file.
41007         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41008         for C/POSIX locale.
41009         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41010         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41011
41012         * wcsmbs/wchar.h: Add missing __restrict.
41013
41014 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41015
41016         [BZ #13532]
41017         * time/Makefile (routines): Add timespec_get.
41018         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41019         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41020         timespec for ISO C11.
41021         * time/timespec_get.c: New file.
41022         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41023         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41024
41025         [BZ #13531]
41026         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41027         * stdlib/stdlib.h: Declare aligned_alloc.
41028         * Versions.def: Add GLIBC_2.16 for libc.
41029         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41030
41031         [BZ 13527]
41032         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41033         ISO C11.
41034
41035         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41036         code.
41037
41038         [BZ #13528]
41039         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41040
41041         [BZ #13529]
41042         * assert/assert.h (static_assert): Define.
41043
41044         * version.h: Update for 2.16 development version.
41045
41046         [BZ #13526]
41047         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41048         _ISOC11_SOURCE.
41049
41050         * version.h (RELEASE): Bump for 2.15 release.
41051         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41052
41053         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41054         Patch by Marek Polacek <mpolacek@redhat.com>.
41055
41056         * bits/byteswap.h: Protect long long constants with __extension__.
41057         * sysdeps/i386/bits/byteswap.h: Likewise.
41058         * sysdeps/ia64/bits/byteswap.h: Likewise.
41059         * sysdeps/s390/bits/byteswap.h: Likewise.
41060         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41061
41062 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41063
41064         [BZ #13540]
41065         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41066         destination buffer.
41067         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41068
41069 2011-12-23  Marek Polacek  <polacek@redhat.com>
41070
41071         * elf/dl-addr.c (determine_info): Add inline keyword.
41072         * elf/tst-auditmod4b.c (check_avx): Likewise.
41073         * elf/tst-auditmod6b.c (check_avx): Likewise.
41074         * elf/tst-auditmod6c.c (check_avx): Likewise.
41075         * elf/tst-auditmod7b.c (check_avx): Likewise.
41076
41077 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41078
41079         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41080         !__SSE_MATH__.
41081
41082 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41083
41084         [BZ #13540]
41085         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41086         processing for last bytes.
41087
41088 2011-08-06  Bruno Haible  <bruno@clisp.org>
41089
41090         [BZ #13061]
41091         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41092         U+0385, not to U+1FEE.
41093
41094         [BZ #13062]
41095         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41096         entry for U+00A5 U+0301.
41097
41098 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41099
41100         [BZ #13166]
41101         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41102         buffer for the output is too small.
41103
41104         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41105         optimization.
41106
41107         [BZ #13185]
41108         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41109         SSE flags if possible.
41110
41111 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41112
41113         [BZ #13540]
41114         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41115         processing for last bytes.
41116
41117 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41118
41119         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41120         (syscall-list-default-options, syscall-list-default-condition)
41121         (syscall-list-includes): Define.
41122         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41123         list of ABIs and options and #if conditions for each ABI.  Do not
41124         handle common syscalls between ABIs specially.
41125         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41126         Remove.
41127         (syscall-list-variants, syscall-list-32bit-options)
41128         (syscall-list-32bit-condition, syscall-list-64bit-options)
41129         (syscall-list-64bit-condition): Define.
41130         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41131         (syscall-list-variants, syscall-list-32bit-options)
41132         (syscall-list-32bit-condition, syscall-list-64bit-options)
41133         (syscall-list-64bit-condition): Define.
41134         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41135         Remove.
41136         (syscall-list-variants, syscall-list-32bit-options)
41137         (syscall-list-32bit-condition, syscall-list-64bit-options)
41138         (syscall-list-64bit-condition): Define.
41139         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41140         Remove.
41141         (syscall-list-variants, syscall-list-32bit-options)
41142         (syscall-list-32bit-condition, syscall-list-64bit-options)
41143         (syscall-list-64bit-condition): Define.
41144
41145 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41146
41147         * locale/iso-639.def: Add brx entry.
41148
41149         [BZ #13328]
41150         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41151         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41152
41153         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41154         __feraiseexcept_renamed.
41155
41156 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41157
41158         [BZ #13538]
41159         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41160         EPOLLET with unsigned values.
41161         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41162         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41163
41164         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41165         to large cancellation.
41166         * math/s_cacoshf.c: Likewise.
41167         * math/s_cacoshl.c: Likewise.
41168
41169 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41170
41171         [BZ #13305]
41172         [BZ #12786]
41173         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41174         * math/s_cacoshf.c: Likewise.
41175         * math/s_cacoshl.c: Likewise.
41176
41177 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41178
41179         [BZ #13439]
41180         * iconv/gconv.h: Define __GCONV_SWAP.
41181         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41182         * iconvdata/utf-16.c: Likewise.
41183         * iconvdata/utf-32.c: Likewise.
41184
41185 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41186
41187         [BZ #13524]
41188         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41189         numerator after shifting it by one limb.
41190
41191 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41192
41193         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41194         under [__USE_EXTERN_INLINES].
41195
41196 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41197
41198         [BZ #13446]
41199         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41200
41201 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41202
41203         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41204         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41205         optimized code.
41206         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41207         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41208         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41209         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41210         for strncasecmp/strncasecmp_l compilation.
41211         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41212         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41213
41214 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41215
41216         [BZ #13484]
41217         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41218         of __asm__.
41219
41220 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41221
41222         [BZ #13506]
41223         * time/tzfile.c (__tzfile_read): Check values from file header.
41224
41225 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41226
41227         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41228         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41229         * powerpc/powerpc32/dl-start.S: Likewise.
41230         * powerpc/powerpc32/elf/start.S: Likewise.
41231         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41232         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41233         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41234         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41235         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41236         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41237         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41238         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41239         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41240         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41241         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41242         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41243         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41244         * powerpc/powerpc32/memset.S: Likewise.
41245         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41246         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41247         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41248         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41249         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41250         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41251         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41252         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41253         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41254         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41255         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41256         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41257         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41258
41259 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41260
41261         * math/libm-test.inc: Added more nearbyint tests.
41262         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41263         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41264         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41265         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41266
41267 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
41268
41269         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41270         FD_CLOEXEC.
41271
41272 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41273
41274         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41275         Add wcscpy-ssse3 wcscpy-c.
41276         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41277         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41278         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41279         * sysdeps/x86_64/wcschr.S: New file.
41280         * sysdeps/x86_64/wcsrchr.S: New file.
41281         * string/test-strcmp.c: Remove checking of wcscmp function for
41282         wrong alignments.
41283         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41284         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41285         wcsrchr-sse2 wcsrchr-c.
41286         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41287         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41288         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41289         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41290         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41291         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41292         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41293         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41294         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41295         * wcsmbc/wcschr.c (WCSCHR): New macro.
41296
41297 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41298
41299         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41300         * wcsmbs/test-wcsrchr.c: New file.
41301         * string/test-strrchr.c: Add wcsrchr support.
41302         (WIDE): New macro.
41303         * wcsmbs/test-wcscpy.c: New file.
41304         * string/test-strcpy.c: Add wcscpy support.
41305         (WIDE): New macro.
41306
41307 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
41308
41309         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41310         the inner loop.
41311
41312 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
41313
41314         [BZ #13472]
41315         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41316
41317 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
41318
41319         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41320         Minor optimizations.
41321
41322         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41323         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41324         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41325
41326 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
41327
41328         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41329         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41330         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41331         for gcc to avoid warnings.
41332         * inet/Makefile (tests): Add tst-checks.
41333         * inet/tst-checks.c: New file.
41334
41335         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41336         warning.
41337
41338         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41339         __wmemcmp_sse2.
41340
41341         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41342         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41343
41344         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41345
41346 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
41347
41348         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41349         problem.
41350
41351         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41352
41353 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
41354
41355         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41356         conditional on GCC version.
41357         (__arch_compare_and_exchange_val_8_acq)
41358         (__arch_compare_and_exchange_val_16_acq)
41359         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41360         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41361         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41362
41363 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
41364
41365         * sysdeps/sh/backtrace.c: New file.
41366
41367 2011-12-02  Andreas Schwab  <schwab@redhat.com>
41368
41369         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
41370         parenthesis.
41371
41372 2011-12-01  Andreas Schwab  <schwab@redhat.com>
41373
41374         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41375         falling back to utime.
41376
41377 2011-11-30  Andreas Schwab  <schwab@redhat.com>
41378
41379         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41380         expectations for float.
41381
41382 2011-11-29  Andreas Schwab  <schwab@redhat.com>
41383
41384         * locale/weight.h (findidx): Add parameter len.
41385         * locale/weightwc.h (findidx): Likewise.
41386         * posix/fnmatch_loop.c (FCT): Adjust caller.
41387         * posix/regcomp.c (build_equiv_class): Likewise.
41388         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41389         * posix/regexec.c (check_node_accept_bytes): Likewise.
41390         * string/strcoll_l.c (STRCOLL): Likewise.
41391         * string/strxfrm_l.c (STRXFRM): Likewise.
41392
41393 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
41394
41395         * Makefile.in: Remove CVSOPT handling.
41396         * configure.in: Remove use of AC_REVISION.
41397         * iconvdata/Makefile (distribute): No need to filter out CVS.
41398         * scripts/list-sources.sh: Remove CVS, subversion and monotone
41399         handling.
41400
41401 2011-11-16  Andreas Schwab  <schwab@redhat.com>
41402
41403         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41404         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41405         [USE_AS_STRNCASECMP_L]: Likewise.
41406         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41407         NO_TLS_DIRECT_SEG_REFS.
41408         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41409         Fix argument offsets for non-PIC.
41410         [USE_AS_STRNCASECMP_L]: Likewise.
41411         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41412         NO_TLS_DIRECT_SEG_REFS.
41413
41414 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41415
41416         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41417         O_CLOEXEC.
41418         * locale/loadlocale.c (_nl_load_locale): Likewise.
41419
41420 2011-11-15  Andreas Schwab  <schwab@redhat.com>
41421
41422         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41423         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41424         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41425         (SYSCALL_GETTIME): Set errno on error.
41426
41427         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41428         count references to noai6ai_cached.
41429
41430 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41431
41432         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41433
41434         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41435         FD_CLOEXEC for /proc/self/maps.
41436
41437         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41438         FD_CLOEXEC for /proc/meminfo.
41439
41440         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41441         gai.conf.
41442
41443         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
41444         FD_CLOEXEC for given file.
41445
41446         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41447
41448         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41449         FD_CLOEXEC for /etc/hosts.
41450         (_gethtent): Likewise.
41451
41452         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41453
41454         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41455         cancellation and set FD_CLOEXEC for /etc/netgroup.
41456
41457         * nss/nss_files/files-key.c (search): Don't allow cancellation when
41458         reading /etc/publickey.
41459
41460         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41461         allow cancellation when reading /etc/group.
41462
41463         * nss/nss_files/files-alias.c (internal_setent): Don't allow
41464         cancellation.
41465         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
41466
41467         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41468         when using data file.
41469
41470         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41471
41472         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41473         (write_nis_obj): Use "c" and "e" in fopen.
41474
41475         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41476
41477         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41478
41479         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41480
41481         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41482
41483         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41484         locale.alias.
41485
41486         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41487
41488         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41489
41490         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41491
41492         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41493         file parsing and set FD_CLOEXEC.
41494
41495 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41496
41497         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41498
41499 2011-11-14  Andreas Schwab  <schwab@redhat.com>
41500
41501         * malloc/arena.c (arena_get2): Don't call reused_arena when
41502         _int_new_arena failed.
41503
41504 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41505
41506         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41507         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41508         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41509         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41510         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41511         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41512         to compile strcasecmp and strncasecmp.
41513         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41514         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41515
41516         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41517
41518 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
41519
41520         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41521         locale-defines.sym to gen-as-const-headers.
41522         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41523         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41524         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41525         to compile strcasecmp and strncasecmp.
41526         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41527         strcasecmp_l and strncasecmp_l.
41528         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41529         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41530         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41531         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41532         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41533         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41534         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41535         * sysdeps/i386/i686/multiarch/strncase.S: New file.
41536         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41537         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41538         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41539
41540 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
41541
41542         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41543         result of SYSDEP_GETTIME_CPU to retval.
41544         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41545         parameter list to macro.  Remove trailing semicolon.  Adjust users.
41546
41547         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41548         variable.
41549
41550         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41551         mantissa words.
41552         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41553
41554         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41555         from unused variable.
41556
41557         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41558         DWARF definitions.
41559         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41560         for assembling.
41561
41562         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41563         over namespaces.
41564
41565         * sunrpc/rpc_prot.c (rejected): Fix case value.
41566
41567         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41568         unsigned long long int to avoid warnings in shift.
41569
41570         * posix/regex_internal.c (re_string_reconstruct): Actually use result
41571         of use of trans.
41572         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41573         variable tmp.
41574
41575         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41576         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41577         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41578
41579         * nis/nis_table.c (nis_list): Use variable of correct type for
41580         result of __follow_path call.
41581
41582 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41583
41584         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41585         of math functions ceil, trunc, floor, round, and sqrt, when
41586         avaliable on the platform.
41587         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41588         name clash.
41589         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41590         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41591         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41592
41593 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
41594
41595         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41596         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41597
41598 2011-11-11  Roland McGrath  <roland@hack.frob.com>
41599
41600         * include/unistd.h: Fix __readlink return type.
41601         Reported by Chris Metcalf <cmetcalf@tilera.com>.
41602
41603 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
41604
41605         * stdlib/ucontext.h: Undo last change for makecontext.
41606
41607 2011-11-11  Andreas Schwab  <schwab@redhat.com>
41608
41609         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41610
41611         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41612         * setjmp/setjmp.h: Mark functions as non-leaf.
41613         * setjmp/bits/setjmp2.h: Likewise.
41614         * stdlib/ucontext.h: Likewise.
41615
41616 2011-11-10  Andreas Schwab  <schwab@redhat.com>
41617
41618         * malloc/arena.c (_int_new_arena): Don't increment narenas.
41619         (reused_arena): Don't check arena limit.
41620         (arena_get2): Atomically check arena limit.
41621
41622 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
41623
41624         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41625         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41626
41627         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41628         instructions.
41629
41630 2011-11-07  Andreas Schwab  <schwab@redhat.com>
41631
41632         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41633         handler when locking.
41634
41635         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41636         Fix size of allocated buffer.
41637
41638 2011-11-04  Andreas Schwab  <schwab@redhat.com>
41639
41640         [BZ #10103]
41641         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41642         declarations for long double functions.
41643         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41644
41645         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41646
41647 2011-11-03  Andreas Schwab  <schwab@redhat.com>
41648
41649         * nscd/nscd.c (main): Don't start AVC thread until credentials are
41650         installed.
41651
41652         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41653         is disabled.
41654
41655 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41656
41657         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41658
41659 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41660
41661         * include/alloca.h (stackinfo_alloca_round): Define.
41662         (extend_alloca): Use it.
41663         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41664         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41665         here.
41666
41667         * scripts/check-local-headers.sh: Ignore libaudit.h.
41668
41669         * nscd/Makefile (extra-objs): Make recursively expanded.
41670
41671 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
41672
41673         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41674         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41675
41676         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41677         * posix/tst-rfc3484-2.c: Likewise.
41678         * posix/tst-rfc3484-3.c: Likewise.
41679
41680         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41681         process_vm_writev.
41682         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41683         process_vm_writev.
41684         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41685         process_vm_writev from libc using GLIBC_2.15 version.
41686
41687         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41688
41689 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
41690
41691         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41692         stack usage.
41693
41694 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
41695
41696         [BZ #13367]
41697         * nss/getent.c (initgroups_keys): Show error message in case no group
41698         names are given.
41699
41700         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41701         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41702         __bump_nl_timestamp.
41703         * nscd/connections (nscd_init): When host database is served open
41704         netlink socket and request notification about configuration changes.
41705         (main_loop_poll): Track netlink file descriptor and bump timestamp
41706         in case data becomes available.
41707         (main_loop_epoll): Likewise.
41708         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41709         (database_pers_head): Add extra_data fileds.
41710         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41711         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41712         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41713         Adjust caller.
41714         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41715         in6ai data, call __free_in6ai.
41716         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41717         Add -DHAVE_NETLINK.
41718         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
41719         interface information.  Reuse previous data if netlink timestamp
41720         is not changed.
41721         (__bump_nl_timestamp): New function.
41722         (__free_in6ai): New function.
41723
41724 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
41725
41726         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41727         close_not_cancel_no_status here.
41728         (__check_pf): Reorganize code a bit to not call close twice if OOM.
41729
41730 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41731
41732         [BZ #13276]
41733         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41734         return value.
41735
41736         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41737         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41738         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41739
41740 2011-07-03  Andreas Jaeger  <aj@suse.de>
41741
41742         [BZ #10709]
41743         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41744         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41745         * math/libm-test.inc (sin_test): Add test case.
41746
41747 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41748
41749         [BZ #13337]
41750         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41751         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41752
41753         * elf/chroot_canon.c (chroot_canon): Cleanups.
41754
41755         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41756
41757         [BZ #13335]
41758         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41759         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41760
41761         * string/test-strchr.c: Make usable for strchrnul testing.
41762         * string/test-strchrnul.c: New file.
41763         * string/Makefile (strop-tests): Add strchrnul.
41764
41765         * po/it.po: Update from translation team.
41766         * po/es.po: Likewise.
41767
41768 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
41769
41770         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41771         the three constants needed as parameters.  Drop the others.
41772         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41773         __m128i_strloadu_tolower.
41774         Create and initialize variable zero and use it in all the places
41775         where _mm_setzero_si128 was used.
41776
41777         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41778         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41779         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41780         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41781         anymore.
41782         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41783         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41784         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41785         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41786         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41787         __mpranred, __mptan.
41788         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41789         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41790         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41791         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41792         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41793         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41794         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41795         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41796         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41797
41798 2011-10-28  Andreas Schwab  <schwab@redhat.com>
41799
41800         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41801         redefine if SHARED.
41802         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41803
41804         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41805         wide char related routines to wcsmbs subdir.
41806
41807 2011-10-27  Andreas Schwab  <schwab@redhat.com>
41808
41809         [BZ #13344]
41810         * misc/sys/cdefs.h (__THROWNL): Define.
41811         * posix/unistd.h: Use __THREADNL instead of __THREAD
41812         for memory synchronization functions.
41813
41814 2011-10-26  Roland McGrath  <roland@hack.frob.com>
41815
41816         [BZ #13349]
41817         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41818         doesn't exist.
41819         * manual/stdio.texi (Obstack Streams): Node removed.
41820
41821 2011-10-26  Andreas Schwab  <schwab@redhat.com>
41822
41823         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41824         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41825         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41826
41827         * math/math_private.h (math_force_eval): Allow non-addressable
41828         arguments.
41829         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41830
41831 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41832
41833         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41834         file is not needed.
41835
41836         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41837         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41838         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41839         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41840         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41841         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41842         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41843         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41844         Add AVX variants.
41845         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41846         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41847         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41848         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41849         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41850         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41851         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41852         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41853         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41854         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41855         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41856         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41857         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41858         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41859         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41860         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41861         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41862         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41863         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41864
41865         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41866         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
41867
41868         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41869         place.  Use VEX encoding when compiling for AVX.
41870
41871 2011-10-25  Andreas Schwab  <schwab@redhat.com>
41872
41873         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41874         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41875
41876         * string/test-strchr.c (do_test): Don't generate NUL bytes.
41877
41878 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41879
41880         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41881         useless if() expression.
41882         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41883         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41884         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41885         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41886         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41887         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41888         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41889         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41890         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41891         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41892         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41893         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41894         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41895         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41896         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41897         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41898         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41899         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41900         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41901
41902         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41903
41904 2011-10-25  Andreas Schwab  <schwab@redhat.com>
41905
41906         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41907         condition.
41908         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41909
41910 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41911
41912         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41913         .text section.  Avoid duplicate constants.
41914         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41915         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41916         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41917         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41918         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41919         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41920         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41921         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41922         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41923         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41924         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41925         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41926         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41927         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41928         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41929         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41930         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41931         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41932         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41933         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41934         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41935         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41936         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41937         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41938         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41939         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41940         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41941         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41942         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41943         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41944         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41945         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41946         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41947         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41948         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41949         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41950         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41951         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41952         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41953         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41954         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41955         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41956         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41957         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41958         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41959
41960 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
41961
41962         * sysdeps/x86_64/dla.h: Move to ...
41963         * sysdeps/x86_64/fpu/dla.h: ...here.
41964         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41965         situations.  Use __builtin_fma only for gcc 4.6 and up.
41966
41967         * config.make.in: Add have-mfma4 entry.
41968         * configure.in: Substitute libc_cv_cc_fma4.
41969         * math/Makefile (dbl-only-routines): Add sincostab.
41970         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41971         Use __sincostab not sincos.
41972         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41973         name is a macro.
41974         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41975         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41976         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41977         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
41978         using __copysign.
41979         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
41980         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
41981         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41982         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41983         and __inv.
41984         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41985         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41986         __copysign.
41987         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
41988         define aliases when function name is a macro.
41989         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41990         sysdeps/ieee754/dbl-64/sincos.tbl.
41991         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41992         fma4-enabled routines.
41993         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41994         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41995         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41996         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41997         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41998         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41999         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42000         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42001         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42002         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42003         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42004         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42005         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42006         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42007         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42008         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42009         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42010         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42011         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42012         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42013         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42014         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42015         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42016         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42017         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42018         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42019         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42020         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42021         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42022         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42023
42024         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42025         rename.
42026         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42027         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42028         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42029         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42030         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42031         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42032         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42033         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42034
42035 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42036
42037         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42038
42039 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42040
42041         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42042
42043         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42044         prediction.
42045         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42046
42047         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42048         Remove unused variable magic_bits.
42049         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42050
42051         * string/strnlen.c: Define and use STRNLEN macro.
42052         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42053         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42054         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42055         * wcsmbs/wcslen.c: Define and use WCSLEN.
42056         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42057         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42058         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42059         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42060         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42061         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42062         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42063
42064 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42065
42066         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42067         strnlen-sse2-no-bsf.
42068         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42069         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42070         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42071         Add strnlen support.
42072         (USE_AS_STRNLEN): New macro.
42073         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42074         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42075         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42076         * sysdeps/x86_64/wcslen.S: New file.
42077
42078 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42079
42080         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42081         XMM-moves are used for copying on small sizes.
42082
42083 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42084
42085         * wcsmbs/Makefile (strop-tests): Add wcschr.
42086         * wcsmbs/test-wcschr.c: New file.
42087         * string/test-strchr.c: Update.
42088         Add wcschr support.
42089         (WIDE): New macro.
42090
42091 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42092
42093         * wcsmbs/Makefile (strop-tests): Add wcslen.
42094         * wcsmbs/test-wcslen.c: New file.
42095         * string/test-strlen.c: Update.
42096         Add wcslen support.
42097         (WIDE): New macro.
42098
42099 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42100
42101         * po/it.po: Update from translation team.
42102
42103 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42104
42105         * sysdeps/x86_64/wcscmp.S: Update.
42106         Fix wrong comparison semantics.
42107         wcscmp shall use signed comparison not unsigned.
42108         Don't use substraction to avoid overflow bug.
42109         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42110         * wcsmbc/wcscmp.c: Likewise.
42111         * string/test-strcmp.c: Likewise.
42112         Add new tests to check cases with negative values.
42113
42114 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42115
42116         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42117         * sysdeps/x86_64/dla.h: ...here.  New file.
42118         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42119         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42120         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42121         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42122         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42123         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42124         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42125         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42126         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42127
42128 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42129
42130         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42131         __ynl_finite aliases.
42132
42133 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42134
42135         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42136
42137         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42138         define DLA_FMA.
42139         [DLA_FMA] (EMULV): Use DLA_FMA.
42140         [DLA_FMA] (MUL12): Use EMULV.
42141         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42142         that are not needed.
42143         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42144         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42145         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42146         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42147         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42148         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42149         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42150
42151 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42152
42153         * math/s_nan.c: Undef __nan.
42154         * math/s_nanf.c: Undef __nanf.
42155         * math/s_nanl.c: Undef __nanl.
42156         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42157         "math_private.h".
42158
42159 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42160
42161         * math/s_catan.c: Add branch predictions.
42162         * math/s_catanf.c: Likewise.
42163         * math/s_catanh.c: Likewise.
42164         * math/s_catanhf.c: Likewise.
42165         * math/s_catanhl.c: Likewise.
42166         * math/s_catanl.c: Likewise.
42167         * math/s_cexp.c: Likewise.
42168         * math/s_cexpf.c: Likewise.
42169         * math/s_cexpl.c: Likewise.
42170         * math/s_clog.c: Likewise.
42171         * math/s_clog10.c: Likewise.
42172         * math/s_clog10f.c: Likewise.
42173         * math/s_clog10l.c: Likewise.
42174         * math/s_clogf.c: Likewise.
42175         * math/s_clogl.c: Likewise.
42176         * math/s_csqrt.c: Likewise.
42177         * math/s_csqrtf.c: Likewise.
42178         * math/s_csqrtl.c: Likewise.
42179         * math/s_ctanf.c: Likewise.
42180         * math/s_ctanh.c: Likewise.
42181         * math/s_ctanhf.c: Likewise.
42182         * math/s_ctanhl.c: Likewise.
42183         * math/s_ctanl.c: Likewise.
42184
42185         * math/math_private.h: Define __nan, __nanf, __nanl.
42186         * math/s_cacosh.c: Include <math_private.h>.
42187         * math/s_cacoshl.c: Likewise.
42188         * math/s_casinh.c: Likewise.
42189         * math/s_casinhf.c: Likewise.
42190         * math/s_casinhl.c: Likewise.
42191         * math/s_ccos.c: Rely entire on ccosh.
42192         * math/s_ccosf.c: Rely entire on ccoshf.
42193         * math/s_ccosl.c: Rely entirely on ccoshl.
42194         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42195         Remove tests for FE_INVALID.
42196         * math/s_ccoshf.c: Likewise.
42197         * math/s_ccoshl.c: Likewise.
42198         * math/s_csin.c: Likewise.
42199         * math/s_csinf.c: Likewise.
42200         * math/s_csinh.c Likewise.
42201         * math/s_csinhf.c: Likewise.
42202         * math/s_csinhl.c: Likewise.
42203         * math/s_csinl.c: Likewise.
42204         * math/s_ctan.c: Likewise.
42205         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42206         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42207         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42208
42209 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42210
42211         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42212         compilation problems.
42213
42214         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42215         __builtin_expect.
42216
42217 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42218
42219         * sysdeps/i386/configure.in: Test for -mfma4 option.
42220         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42221         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42222         COMMON_CPUID_INDEX_80000001.
42223         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42224         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42225         use it if FMA3 is not supported.
42226         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42227
42228         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42229         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42230
42231 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42232
42233         [BZ #12892]
42234         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42235         it would create a cycle with a link time dependency.
42236
42237 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42238
42239         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42240         instruction.
42241         * string/Makefile (strop-tests): Add rawmemchr.
42242         * string/test-rawmemchr.c: New file.
42243
42244         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42245         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
42246         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
42247         when compiling str{,n}casecmp and when AVX is available.  Hook up
42248         new optimized code in initializers.
42249
42250 2011-10-19  Andreas Schwab  <schwab@redhat.com>
42251
42252         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42253         __feraiseexcept instead of feraiseexcept.
42254
42255 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
42256
42257         * math/math_private.h: Define defaults for libc_fetestexcept and
42258         libc_feupdateenv.
42259         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42260         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42261         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42262         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42263         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42264         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42265         libc_fetestexcept and libc_feupdateenv.
42266
42267         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42268         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42269         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42270         * sysdeps/x86_64/fpu/math_private.h: Define special version of
42271         libc_feholdexcept_setround.
42272
42273         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42274         Add s_nearbyint-c and s_nearbyintf-c.
42275         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42276         nearbyintf inlines.
42277         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42278         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42279         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42280         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42281
42282         * math/math_private.h: Define defaults for libc_fegetround,
42283         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42284         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42285         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42286         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42287         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42288         standard functions.
42289         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42290         Remove comments and hacks for old compiler versions.
42291         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42292         libc_fegetround, libc_fesetround, libc_feholdexcept, and
42293         libc_feholdexceptl.
42294
42295 2011-10-18  Andreas Schwab  <schwab@redhat.com>
42296
42297         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42298         (__feraiseexcept_renamed): Add __NTH.
42299         (feraiseexcept): Add __NTH.  Rename local variables to fix
42300         namespace violations.
42301
42302 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
42303
42304         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42305
42306         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42307
42308         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42309         recently added interfaces.
42310         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42311
42312         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42313         about macro parameter expansion.
42314
42315         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42316         __NO_MATH_INLINES is defined.  Cleanups.
42317
42318         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42319         and __floorf is target has SSE4.1.
42320         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42321         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42322         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42323         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42324
42325         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42326         name.
42327         (floorf): Likewise.
42328
42329         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42330
42331 2011-10-17  Andreas Schwab  <schwab@redhat.com>
42332
42333         * misc/sys/cdefs.h: Fix last change.
42334
42335         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42336         database lookup.
42337
42338 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
42339
42340         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42341
42342         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42343         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42344         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42345         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42346         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42347         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42348         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42349         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42350         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42351         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42352         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42353         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42354         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42355         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42356         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42357         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42358         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42359         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42360         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42361         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42362         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42363         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42364
42365         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42366         ceil, ceilf, floor, floorf.
42367
42368         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42369         Perform IRELATIVE relocations last.
42370
42371         * elf/do-rel.h: Add another parameter nrelative, replacing the
42372         local variable with the same name.  Change name of the function
42373         to end in Rel or Rela (uppercase).
42374         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42375         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
42376         elf_dynamic_do_##reloc function.
42377
42378 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42379
42380         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42381         is sufficient, at least on modern CPUs.
42382
42383         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42384
42385         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42386         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42387
42388         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42389         __expl_finite.
42390         * math/bits/math-finite.h: Add entries for exp.
42391         * math/e_expl.c: Add __*_finite alias.
42392         * sysdeps/i386/fpu/e_exp.S: Likewise.
42393         * sysdeps/i386/fpu/e_expf.S: Likewise.
42394         * sysdeps/i386/fpu/e_expl.c: Likewise.
42395         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42396         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42397         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42398         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42399         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42400         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42401         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42402
42403         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42404         is sufficient, at least on modern CPUs.
42405
42406         * ctype/ctype-info.c (__ctype_init): Define.
42407         * include/ctype.h (__ctype_init): Declare.
42408         (__ctype_b_loc): The variable is always initialized.
42409         (__ctype_toupper_loc): Likewise.
42410         (__ctype_tolower_loc): Likewise.
42411         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42412         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42413
42414 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
42415
42416         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42417
42418         * configure.in: Also look in $cxxmachine/include for C++ system
42419         headers.
42420
42421 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42422
42423         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42424         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42425         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42426         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
42427         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42428         (USE_AS_WMEMCMP): New macro.
42429         Fixing indents.
42430         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42431         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42432         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42433         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42434         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42435         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42436         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42437         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42438         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42439         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42440         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42441         (USE_AS_WMEMCMP): New macro.
42442         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42443         * sysdeps/string/test-memcmp.c: Update.
42444         Fix simple_wmemcmp.
42445         Add new tests.
42446         * wcsmbs/wmemcmp.c: Update.
42447         (WMEMCMP): New macro.
42448         Fix overflow bug.
42449
42450 2011-10-12  Andreas Jaeger  <aj@suse.de>
42451
42452         [BZ #13268]
42453         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42454
42455 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42456
42457         * libio/iofwide.c (do_length): Avoid warning.
42458
42459         * ctype/ctype.h (__isctype_f): Add missing __THROW.
42460
42461 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
42462
42463         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42464
42465         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42466         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42467         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42468         * sysdeps/i386/i686/fpu/e_log.S: New file.
42469         * sysdeps/i386/i686/fpu/e_logf.S: New file.
42470         * sysdeps/i386/i686/fpu/e_logl.S: New file.
42471
42472         * ctype/ctype.h: Add support for inlined isXXX functions when
42473         compiling C++ code.
42474
42475 2011-10-14  Andreas Schwab  <schwab@redhat.com>
42476
42477         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42478
42479         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42480
42481 2011-10-13  Roland McGrath  <roland@hack.frob.com>
42482
42483         [BZ #13291]
42484         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42485
42486 2011-10-13  Andreas Schwab  <schwab@redhat.com>
42487
42488         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42489         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42490         feraiseexcept.
42491
42492         * sysdeps/x86_64/memrchr.S: Check for zero size.
42493
42494         * string/stratcliff.c: Add memrchr tests.
42495
42496 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42497
42498         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42499         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42500         rawmemchr-sse2 rawmemchr-sse2-bsf.
42501         * sysdeps/i386/i686/multiarch/memchr.S: New file.
42502         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42503         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42504         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42505         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42506         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42507         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42508         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42509         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42510         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42511         * string/memrchr.c (MEMRCHR): New macro.
42512
42513 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
42514
42515         Add integration with gcc's -ffinite-math-only and optimize wrapper
42516         functions in libm.
42517         * Versions.def: Define GLIBC_2.15 version for libm.
42518         * math/Makefile (headers): Add bits/math-finite.h.
42519         * math/bits/math-finite.h: New file.
42520         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42521         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42522         * math/e_acoshl.c: Add __*_finite alias.
42523         * math/e_acosl.c: Likewise.
42524         * math/e_asinl.c: Likewise.
42525         * math/e_atan2l.c: Likewise.
42526         * math/e_atanhl.c: Likewise.
42527         * math/e_coshl.c: Likewise.
42528         * math/e_exp10.c: Likewise.
42529         * math/e_exp10f.c: Likewise.
42530         * math/e_exp10l.c: Likewise.
42531         * math/e_exp2l.c: Likewise.
42532         * math/e_fmodl.c: Likewise.
42533         * math/e_gammal_r.c: Likewise.
42534         * math/e_hypotl.c: Likewise.
42535         * math/e_j0l.c: Likewise.
42536         * math/e_j1l.c: Likewise.
42537         * math/e_jnl.c: Likewise.
42538         * math/e_lgammal_r.c: Likewise.
42539         * math/e_log10l.c: Likewise.
42540         * math/e_log2l.c: Likewise.
42541         * math/e_logl.c: Likewise.
42542         * math/e_powl.c: Likewise.
42543         * math/e_sinhl.c: Likewise.
42544         * math/e_sqrtl.c: Likewise.
42545         * math/e_scalb.c: Completely rewritten and optimized.
42546         * math/e_scalbf.c: Likewise.
42547         * math/e_scalbl.c: Likewise.
42548         * math/w_acos.c: Likewise.
42549         * math/w_acosf.c: Likewise.
42550         * math/w_acosl.c: Likewise.
42551         * math/w_acosh.c: Likewise.
42552         * math/w_acoshf.c: Likewise.
42553         * math/w_acoshl.c: Likewise.
42554         * math/w_asin.c: Likewise.
42555         * math/w_asinf.c: Likewise.
42556         * math/w_asinl.c: Likewise.
42557         * math/w_atan2.c: Likewise.
42558         * math/w_atan2f.c: Likewise.
42559         * math/w_atan2l.c: Likewise.
42560         * math/w_atanh.c: Likewise.
42561         * math/w_atanhf.c: Likewise.
42562         * math/w_atanhl.c: Likewise.
42563         * math/w_exp10.c: Likewise.
42564         * math/w_exp10f.c: Likewise.
42565         * math/w_exp10l.c: Likewise.
42566         * math/w_fmod.c: Likewise.
42567         * math/w_fmodf.c: Likewise.
42568         * math/w_fmodl.c: Likewise.
42569         * math/w_j0.c: Likewise.
42570         * math/w_j0f.c: Likewise.
42571         * math/w_j0l.c: Likewise.
42572         * math/w_j1.c: Likewise.
42573         * math/w_j1f.c: Likewise.
42574         * math/w_j1l.c: Likewise.
42575         * math/w_jn.c: Likewise.
42576         * math/w_jnf.c: Likewise.
42577         * math/w_log.c: Likewise.
42578         * math/w_logf.c: Likewise.
42579         * math/w_logl.c: Likewise.
42580         * math/w_log10.c: Likewise.
42581         * math/w_log10f.c: Likewise.
42582         * math/w_log10l.c: Likewise.
42583         * math/w_log2.c: Likewise.
42584         * math/w_log2f.c: Likewise.
42585         * math/w_log2l.c: Likewise.
42586         * math/w_pow.c: Likewise.
42587         * math/w_powf.c: Likewise.
42588         * math/w_powl.c: Likewise.
42589         * math/w_remainder.c: Likewise.
42590         * math/w_remainderf.c: Likewise.
42591         * math/w_remainderl.c: Likewise.
42592         * math/w_scalb.c: Likewise.
42593         * math/w_scalbf.c: Likewise.
42594         * math/w_scalbl.c: Likewise.
42595         * math/w_sqrt.c: Likewise.
42596         * math/w_sqrtf.c: Likewise.
42597         * math/w_sqrtl.c: Likewise.
42598         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42599         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
42600         used.
42601         * math/math_private.h: Declare __kernel_standard_f.
42602         * math/w_cosh.c: Remove cruft and optimize a bit.
42603         * math/w_coshf.c: Likewise.
42604         * math/w_coshl.c: Likewise.
42605         * math/w_exp2.c: Likewise.
42606         * math/w_exp2f.c: Likewise.
42607         * math/w_exp2l.c: Likewise.
42608         * math/w_hypot.c: Likewise.
42609         * math/w_hypotf.c: Likewise.
42610         * math/w_hypotl.c: Likewise.
42611         * math/w_lgamma.c: Likewise.
42612         * math/w_lgamma_r.c: Likewise.
42613         * math/w_lgammaf.c: Likewise.
42614         * math/w_lgammaf_r.c: Likewise.
42615         * math/w_lgammal.c: Likewise.
42616         * math/w_lgammal_r.c: Likewise.
42617         * math/w_sinh.c: Likewise.
42618         * math/w_sinhf.c: Likewise.
42619         * math/w_sinhl.c: Likewise.
42620         * math/w_tgamma.c: Likewise.
42621         * math/w_tgammaf.c: Likewise.
42622         * math/w_tgammal.c: Likewise.
42623         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42624         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42625         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42626         Minor optimizations.  Pretty printing.  Remove cruft.
42627         * sysdeps/i386/fpu/e_acosf.S: Likewise.
42628         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42629         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42630         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42631         * sysdeps/i386/fpu/e_acosl.c: Likewise.
42632         * sysdeps/i386/fpu/e_asin.S: Likewise.
42633         * sysdeps/i386/fpu/e_asinf.S: Likewise.
42634         * sysdeps/i386/fpu/e_atan2.S: Likewise.
42635         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42636         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42637         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42638         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42639         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42640         * sysdeps/i386/fpu/e_exp10.S: Likewise.
42641         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42642         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42643         * sysdeps/i386/fpu/e_exp2.S: Likewise.
42644         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42645         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42646         * sysdeps/i386/fpu/e_fmod.S: Likewise.
42647         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42648         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42649         * sysdeps/i386/fpu/e_hypot.S: Likewise.
42650         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42651         * sysdeps/i386/fpu/e_log.S: Likewise.
42652         * sysdeps/i386/fpu/e_log10.S: Likewise.
42653         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42654         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42655         * sysdeps/i386/fpu/e_log2.S: Likewise.
42656         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42657         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42658         * sysdeps/i386/fpu/e_logf.S: Likewise.
42659         * sysdeps/i386/fpu/e_logl.S: Likewise.
42660         * sysdeps/i386/fpu/e_pow.S: Likewise.
42661         * sysdeps/i386/fpu/e_powf.S: Likewise.
42662         * sysdeps/i386/fpu/e_powl.S: Likewise.
42663         * sysdeps/i386/fpu/e_remainder.S: Likewise.
42664         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42665         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42666         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42667         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42668         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42669         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42670         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42671         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42672         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42673         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42674         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42675         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42676         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42677         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42678         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42679         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42680         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42681         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42682         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42683         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42684         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42685         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42686         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42687         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42688         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42689         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42690         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42691         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42692         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42693         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42694         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42695         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42696         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42697         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42698         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42699         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42700         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42701         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42702         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42703         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42704         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42705         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42706         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42707         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42708         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42709         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42710         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42711         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42712         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42713         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42714         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42715         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42716         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42717         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42718         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42719         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42720         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42721         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42722         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42723         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42724         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42725         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42726         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42727         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42728         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42729         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42730         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42731         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42732         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42733         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42734         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42735         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42736         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42737         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42738         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42739         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42740         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42741         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42742         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42743         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42744         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42745         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42746         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42747         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42748         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42749         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42750         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42751         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42752         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42753         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42754         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42755         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42756         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42757         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42758         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42759         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42760         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42761         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42762         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42763         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42764         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42765         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42766         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42767         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42768         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42769         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42770         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42771         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42772         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42773         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42774         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42775         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42776         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42777         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42778         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42779         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42780         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42781         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42782         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
42783         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42784         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42785         (__isnanf): Likewise.
42786         (__isinf_ns): Likewise.
42787         (__isinf_nsf): Likewise.
42788         (__finite): Likewise.
42789         (__finitef): Likewise.
42790         (__ieee754_sqrt): Define as macro.
42791         (__ieee754_sqrtf): Define as macro.
42792         (__ieee754_sqrtl): Define as macro.
42793         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42794         inlined copy.
42795         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42796         __FINITE_MATH_ONLY__ consistent.
42797         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42798
42799 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
42800
42801         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42802         of rawmemchr.
42803
42804         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42805
42806 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
42807
42808         * po/ja.po: Update from translation team.
42809
42810 2011-10-08  Roland McGrath  <roland@hack.frob.com>
42811
42812         * locale/programs/locarchive.c (prepare_address_space): New function.
42813         (create_archive, enlarge_archive, open_archive): Use it.
42814
42815         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42816         inside [SHARED], where it is used.
42817
42818         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42819
42820         * nss/getent.c (netgroup_keys): Remove unused variable.
42821         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42822
42823 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
42824
42825         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42826         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42827         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42828         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42829         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42830         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42831         * math/Makefile (libm-calls): Add s_isinf_ns.
42832         * math/divtc3.c: Use __isinf_nsl instead of isinf.
42833         * math/multc3.c: Likewise.
42834         * math/s_casin.c: Likewise.
42835         * math/s_casinf.c: Likewise.
42836         * math/s_casinl.c: Likewise.
42837         * math/s_ccos.c: Likewise.
42838         * math/s_ccosf.c: Likewise.
42839         * math/s_ccosl.c: Likewise.
42840         * math/s_ctan.c: Likewise.
42841         * math/s_ctanf.c: Likewise.
42842         * math/s_ctanh.c: Likewise.
42843         * math/s_ctanhf.c: Likewise.
42844         * math/s_ctanhl.c: Likewise.
42845         * math/s_ctanl.c: Likewise.
42846         * math/w_fmod.c: Likewise.
42847         * math/w_fmodf.c: Likewise.
42848         * math/w_fmodl.c: Likewise.
42849         * math/w_remainder.c: Likewise.
42850         * math/w_remainderf.c: Likewise.
42851         * math/w_remainderl.c: Likewise.
42852         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42853         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42854         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42855         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42856         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42857         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42858         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42859         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42860
42861         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42862         of the number.
42863         * stdio-common/printf_fphex.c: Likewise.
42864         * stdio-common/printf_size.c: Likewise.
42865
42866         * math/e_exp10.c: Include math_private.h using <...> not "...".
42867         * math/e_exp10f.c: Likewise.
42868         * math/e_exp10l.c: Likewise.
42869         * math/e_exp2l.c: Likewise.
42870         * math/e_j0l.c: Likewise.
42871         * math/e_j1l.c: Likewise.
42872         * math/e_jnl.c: Likewise.
42873         * math/e_lgammal_r.c: Likewise.
42874         * math/e_rem_pio2l.c: Likewise.
42875         * math/e_scalb.c: Likewise.
42876         * math/e_scalbf.c: Likewise.
42877         * math/e_scalbl.c: Likewise.
42878         * math/k_cosl.c: Likewise.
42879         * math/k_sinl.c: Likewise.
42880         * math/k_tanl.c: Likewise.
42881         * math/s_cacoshf.c: Likewise.
42882         * math/s_catan.c: Likewise.
42883         * math/s_catanf.c: Likewise.
42884         * math/s_catanh.c: Likewise.
42885         * math/s_catanhf.c: Likewise.
42886         * math/s_catanhl.c: Likewise.
42887         * math/s_catanl.c: Likewise.
42888         * math/s_ccosh.c: Likewise.
42889         * math/s_ccoshf.c: Likewise.
42890         * math/s_ccoshl.c: Likewise.
42891         * math/s_cexp.c: Likewise.
42892         * math/s_cexpf.c: Likewise.
42893         * math/s_cexpl.c: Likewise.
42894         * math/s_clog.c: Likewise.
42895         * math/s_clog10.c: Likewise.
42896         * math/s_clog10f.c: Likewise.
42897         * math/s_clog10l.c: Likewise.
42898         * math/s_clogf.c: Likewise.
42899         * math/s_clogl.c: Likewise.
42900         * math/s_csin.c: Likewise.
42901         * math/s_csinf.c: Likewise.
42902         * math/s_csinh.c: Likewise.
42903         * math/s_csinhf.c: Likewise.
42904         * math/s_csinhl.c: Likewise.
42905         * math/s_csinl.c: Likewise.
42906         * math/s_csqrt.c: Likewise.
42907         * math/s_csqrtf.c: Likewise.
42908         * math/s_csqrtl.c: Likewise.
42909         * math/s_ctan.c: Likewise.
42910         * math/s_ctanf.c: Likewise.
42911         * math/s_ctanh.c: Likewise.
42912         * math/s_ctanhf.c: Likewise.
42913         * math/s_ctanhl.c: Likewise.
42914         * math/s_ctanl.c: Likewise.
42915         * math/s_ldexp.c: Likewise.
42916         * math/s_ldexpf.c: Likewise.
42917         * math/s_ldexpl.c: Likewise.
42918         * math/s_significand.c: Likewise.
42919         * math/s_significandf.c: Likewise.
42920         * math/s_significandl.c: Likewise.
42921         * math/w_acos.c: Likewise.
42922         * math/w_acosf.c: Likewise.
42923         * math/w_acosh.c: Likewise.
42924         * math/w_acoshf.c: Likewise.
42925         * math/w_acoshl.c: Likewise.
42926         * math/w_acosl.c: Likewise.
42927         * math/w_asin.c: Likewise.
42928         * math/w_asinf.c: Likewise.
42929         * math/w_asinl.c: Likewise.
42930         * math/w_atan2.c: Likewise.
42931         * math/w_atan2f.c: Likewise.
42932         * math/w_atan2l.c: Likewise.
42933         * math/w_atanh.c: Likewise.
42934         * math/w_atanhf.c: Likewise.
42935         * math/w_atanhl.c: Likewise.
42936         * math/w_cosh.c: Likewise.
42937         * math/w_coshf.c: Likewise.
42938         * math/w_coshl.c: Likewise.
42939         * math/w_dremf.c: Likewise.
42940         * math/w_exp10.c: Likewise.
42941         * math/w_exp10f.c: Likewise.
42942         * math/w_exp10l.c: Likewise.
42943         * math/w_exp2.c: Likewise.
42944         * math/w_exp2f.c: Likewise.
42945         * math/w_fmod.c: Likewise.
42946         * math/w_fmodf.c: Likewise.
42947         * math/w_fmodl.c: Likewise.
42948         * math/w_hypot.c: Likewise.
42949         * math/w_hypotf.c: Likewise.
42950         * math/w_hypotl.c: Likewise.
42951         * math/w_j0.c: Likewise.
42952         * math/w_j0f.c: Likewise.
42953         * math/w_j0l.c: Likewise.
42954         * math/w_j1.c: Likewise.
42955         * math/w_j1f.c: Likewise.
42956         * math/w_j1l.c: Likewise.
42957         * math/w_jn.c: Likewise.
42958         * math/w_jnf.c: Likewise.
42959         * math/w_jnl.c: Likewise.
42960         * math/w_lgamma.c: Likewise.
42961         * math/w_lgamma_r.c: Likewise.
42962         * math/w_lgammaf.c: Likewise.
42963         * math/w_lgammaf_r.c: Likewise.
42964         * math/w_lgammal.c: Likewise.
42965         * math/w_lgammal_r.c: Likewise.
42966         * math/w_log.c: Likewise.
42967         * math/w_log10.c: Likewise.
42968         * math/w_log10f.c: Likewise.
42969         * math/w_log10l.c: Likewise.
42970         * math/w_log2.c: Likewise.
42971         * math/w_log2f.c: Likewise.
42972         * math/w_log2l.c: Likewise.
42973         * math/w_logf.c: Likewise.
42974         * math/w_logl.c: Likewise.
42975         * math/w_pow.c: Likewise.
42976         * math/w_powf.c: Likewise.
42977         * math/w_powl.c: Likewise.
42978         * math/w_remainder.c: Likewise.
42979         * math/w_remainderf.c: Likewise.
42980         * math/w_remainderl.c: Likewise.
42981         * math/w_scalb.c: Likewise.
42982         * math/w_scalbf.c: Likewise.
42983         * math/w_scalbl.c: Likewise.
42984         * math/w_sinh.c: Likewise.
42985         * math/w_sinhf.c: Likewise.
42986         * math/w_sinhl.c: Likewise.
42987         * math/w_sqrt.c: Likewise.
42988         * math/w_sqrtf.c: Likewise.
42989         * math/w_sqrtl.c: Likewise.
42990         * math/w_tgamma.c: Likewise.
42991         * math/w_tgammaf.c: Likewise.
42992         * math/w_tgammal.c: Likewise.
42993
42994         * po/ja.po: Update from translation team.
42995
42996 2011-09-29  Andreas Jaeger  <aj@suse.de>
42997
42998         [BZ #13179]
42999         * sunrpc/netname.c (netname2host): Fix logic.
43000
43001         [BZ #6779]
43002         [BZ #6783]
43003         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43004         correctly.
43005         * math/w_remainder.c (__remainder): Likewise.
43006         * math/w_remainderf.c (__remainderf): Likewise.
43007         * math/libm-test.inc (remainder_test): Add test cases.
43008
43009 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43010
43011         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43012         sdiv_qrnnd.
43013
43014 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43015
43016         * string/test-memcmp.c: Avoid unncessary #defines.
43017         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43018
43019 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43020
43021         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43022         Use new sse2 version for core i3 - i7 as it's faster
43023         than sse42 version.
43024         (bit_Prefer_PMINUB_for_stringop): New.
43025         * sysdeps/x86_64/rawmemchr.S: Update.
43026         Replace with faster SSE2 version.
43027         * sysdeps/x86_64/memrchr.S: New file.
43028         * sysdeps/x86_64/memchr.S: Update.
43029         Replace with faster SSE2 version.
43030
43031 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43032
43033         * elf/dl-load.c (lose): Add cast to avoid warning.
43034
43035 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43036
43037         * po/ca.po: Update from translation team.
43038
43039         * inet/getnetgrent_r.c: Hook up nscd.
43040         * nscd/Makefile (routines): Add nscd_netgroup.
43041         (nscd-modules): Add netgroupcache.
43042         (CFLAGS-netgroupcache.c): Define.
43043         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43044         (cache_search): Add const to second parameter.
43045         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43046         INNETGR.
43047         (dbs): Add netgrdb entry.
43048         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43049         (verify_persistent_db): Handle netgrdb.
43050         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43051         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43052         GETFDNETGR.
43053         (netgroup_response_header): Define.
43054         (innetgroup_response_header): Define.
43055         (datahead): Add netgroup_response_header and innetgroup_response_header
43056         elements.
43057         * nscd/nscd.conf: Add entries for netgroup cache.
43058         * nscd/nscd.h (dbtype): Add netgrdb.
43059         (_PATH_NSCD_NETGROUP_DB): Define.
43060         (netgroup_iov_disabled): Declare.
43061         (xmalloc, xcalloc, xrealloc): Move declarations here.
43062         (cache_search): Adjust prototype.
43063         Add netgroup-related prototypes.
43064         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43065         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43066         (__nscd_innetgr): Declare.
43067         * nscd/selinux.c (perms): Use access_vector_t as element type and
43068         add netgroup-related initializers.
43069         * nscd/netgroupcache.c: New file.
43070         * nscd/nscd_netgroup.c: New file.
43071         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43072         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43073         For four parameters use innetgr.
43074         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43075         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43076         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43077         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43078
43079         * nscd/connections.c (register_traced_file): Don't register file
43080         for disabled databases.
43081
43082 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43083
43084         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43085
43086         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43087         from tree and freeing node.
43088
43089 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43090
43091         * nss/nsswitch.c (__nss_database_lookup): Handle
43092         nss_parse_service_list out of memory case.
43093
43094 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43095
43096         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43097         out of memory case.
43098
43099 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43100
43101         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43102         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43103         pass it down.
43104         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43105         elf_machine_rela, elf_machine_lazy_rel.
43106         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43107         (ELF_DYNAMIC_DO_REL): Likewise.
43108         (ELF_DYNAMIC_DO_RELA): Likewise.
43109         (ELF_DYNAMIC_RELOCATE): Likewise.
43110         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43111         to ELF_DYNAMIC_DO_REL.
43112         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43113         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43114         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43115         elf_machine_rela.
43116         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43117         skip_ifunc, don't call ifunc function if non-zero.
43118         (elf_machine_rela): Likewise.
43119         (elf_machine_lazy_rel): Likewise.
43120         (elf_machine_lazy_rela): Likewise.
43121         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43122         (elf_machine_lazy_rel): Likewise.
43123         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43124         Likewise.
43125         (elf_machine_lazy_rel): Likewise.
43126         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43127         Likewise.
43128         (elf_machine_lazy_rel): Likewise.
43129         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43130         (elf_machine_lazy_rel): Likewise.
43131         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43132         (elf_machine_lazy_rel): Likewise.
43133         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43134         (elf_machine_lazy_rel): Likewise.
43135         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43136         (elf_machine_lazy_rel): Likewise.
43137         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43138         (elf_machine_lazy_rel): Likewise.
43139         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43140         (elf_machine_lazy_rel): Likewise.
43141
43142 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43143
43144         * nss/nss_files/files-init.c (_nss_files_init): Use static
43145         initialization for all the *_traced_file variables.
43146
43147 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43148
43149         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43150
43151 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43152
43153         [BZ #13226]
43154         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43155
43156 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43157
43158         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43159         Reread the line before reparsing it.
43160
43161 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43162
43163         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43164
43165 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43166             Maxim Kuvyrkov  <maxim@codesourcery.com>
43167             Joseph Myers  <joseph@codesourcery.com>
43168
43169         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43170         if needed for __stack_chk_guard.
43171
43172 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43173
43174         * sysdeps/posix/spawni.c (script_execute): Always define it.
43175         It will be optimized away if unused.
43176         (maybe_script_execute): New function.
43177         (__spawni): Call it.
43178
43179         * Makerules: Don't include tls.make.
43180         (config-tls): Always set to thread.
43181         * tls.make.c: File removed.
43182
43183 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43184
43185         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43186         * config.make.in (CPPFLAGS-config): New substituted variable.
43187
43188 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43189
43190         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43191
43192         [BZ #13192]
43193         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43194         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43195
43196 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43197
43198         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43199         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43200         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43201         (CALL_FAIL): Likewise.
43202         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43203         (CALL_FAIL): Macro removed.
43204         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43205
43206 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43207
43208         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43209         for __FINITE_MATH_ONLY__ == 1.
43210
43211 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43212
43213         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43214         __ieee754_sqrt instead of sqrt.
43215         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43216         __ieee754_sqrtf instead of sqrtf.
43217         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43218         __floorf instead of floorf.
43219         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43220         __floorf, __truncf instead of floorf, truncf.
43221
43222 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43223
43224         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43225
43226         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43227         __extern_always_inline.
43228         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43229         32-bit.
43230
43231 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43232
43233         * elf/rtld.c (dl_main): Also relocate in dependency order when
43234         doing symbol dependency testing.
43235
43236 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43237
43238         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43239         Always define `refsym'.
43240
43241 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43242
43243         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43244         (__FD_ELT): Renamed from __FDELT.
43245         * misc/bits/select2.h (__FD_ELT): Likewise.
43246         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43247         __FD_MASK instead of __FDELT, __FDMASK.
43248         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43249         Likewise.
43250         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43251         Likewise.
43252
43253         * elf/Makefile (gen-ldd): Fix pattern.
43254
43255         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43256         (init_tls): Likewise.
43257
43258 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
43259
43260         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43261
43262 2011-09-12  Andreas Schwab  <schwab@redhat.com>
43263
43264         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43265         `struct cmsghdr *' instead of `void *'.
43266         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43267         Likewise.
43268
43269 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
43270
43271         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43272         if non-absolute.
43273         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43274         ldd_rewrite_script.
43275
43276 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
43277
43278         * configure.in: Remove --with-tls option.
43279         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43280         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43281         out in case it is missing.
43282         * sysdeps/ia64/elf/configure.in: Likewise.
43283         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43284         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43285         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43286         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43287         * sysdeps/sh/elf/configure.in: Likewise.
43288         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43289         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43290         * sysdeps/x86_64/elf/configure.in: Likewise.
43291         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43292         * sysdeps/mach/hurd/tls.h: Likewise.
43293
43294         [BZ #13067]
43295         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43296
43297         [BZ #13090]
43298         * configure.in: Fix use of AC_INIT.
43299
43300         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43301
43302 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
43303
43304         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43305         __set_errno.
43306         * malloc/hooks.c: Likewise.
43307
43308         [BZ #11929]
43309         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
43310         variables statically.
43311         (narenas): Initialize.
43312         (list_lock): Initialize.
43313         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
43314         initializtion of main_arena and list_lock.  Small cleanups.
43315         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43316         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
43317         Add initializers to main_arena and mp_.
43318         (malloc_state): Remove pagesize member.  Change all users to use
43319         GLRO(dl_pagesize).
43320
43321         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43322         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
43323         is always initialized.
43324
43325         * malloc/malloc.c: Removed unused configurations and dead code.
43326         * malloc/arena.c: Likewise.
43327         * malloc/hooks.c: Likewise.
43328         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43329
43330         * include/tls.h: Removed.  USE___THREAD must always be defined.
43331         * bits/libc-tsd.h: Don't handle !USE___THREAD.
43332         * elf/dl-libc.c: Likewise.
43333         * elf/dl-tsd.c: Likewise.
43334         * include/errno.h: Likewise.
43335         * include/netdb.h: Likewise.
43336         * include/resolv.h: Likewise.
43337         * inet/herrno-loc.c: Likewise.
43338         * inet/herrno.c: Likewise.
43339         * malloc/arena.c: Likewise.
43340         * malloc/hooks.c: Likewise.
43341         * malloc/malloc.c: Likewise.
43342         * resolv/res-state.c: Likewise.
43343         * resolv/res_libc.c: Likewise.
43344         * sysdeps/i386/dl-machine.h: Likewise.
43345         * sysdeps/ia64/dl-machine.h: Likewise.
43346         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43347         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43348         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43349         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43350         * sysdeps/sh/dl-machine.h: Likewise.
43351         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43352         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43353         * sysdeps/unix/i386/sysdep.S: Likewise.
43354         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43355         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43356         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43357         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43358         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43359         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43360         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43361         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43362         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43363         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43364         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43365         * sysdeps/x86_64/dl-machine.h: Likewise.
43366         * tls.make.c: Likewise.
43367
43368         * configure.in: Remove --with-__thread option.  Make tests for
43369         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43370         tls_model attribute fail if no support is available.  Remove
43371         USE_IN_LIBIO.
43372         * Makeconfig: Adjust for dropped configure option.  All features are
43373         now mandatory.
43374         * Makerules: Likewise.
43375         * Versions.def: Likewise.
43376         * argp/argp-fmtstream.c: Likewise.
43377         * argp/argp-fmtstream.h: Likewise.
43378         * argp/argp-help.c: Likewise.
43379         * assert/assert.c: Likewise.
43380         * config.h.in: Likewise.
43381         * config.make.in: Likewise.
43382         * configure: Likewise.
43383         * configure.in: Likewise.
43384         * csu/Versions: Likewise.
43385         * csu/init.c: Likewise.
43386         * elf/tst-audit2.c: Likewise.
43387         * elf/tst-tls10.c: Likewise.
43388         * elf/tst-tls10.h: Likewise.
43389         * elf/tst-tls11.c: Likewise.
43390         * elf/tst-tls12.c: Likewise.
43391         * elf/tst-tls14.c: Likewise.
43392         * elf/tst-tlsmod11.c: Likewise.
43393         * elf/tst-tlsmod12.c: Likewise.
43394         * elf/tst-tlsmod13.c: Likewise.
43395         * elf/tst-tlsmod13a.c: Likewise.
43396         * elf/tst-tlsmod14a.c: Likewise.
43397         * elf/tst-tlsmod15b.c: Likewise.
43398         * elf/tst-tlsmod16a.c: Likewise.
43399         * elf/tst-tlsmod16b.c: Likewise.
43400         * elf/tst-tlsmod7.c: Likewise.
43401         * elf/tst-tlsmod8.c: Likewise.
43402         * elf/tst-tlsmod9.c: Likewise.
43403         * gmon/gmon.c: Likewise.
43404         * grp/fgetgrent_r.c: Likewise.
43405         * grp/putgrent.c: Likewise.
43406         * hurd/fopenport.c: Likewise.
43407         * include/libc-symbols.h: Likewise.
43408         * include/tls.h: Likewise.
43409         * intl/gettextP.h: Likewise.
43410         * intl/loadinfo.h: Likewise.
43411         * locale/global-locale.c: Likewise.
43412         * locale/localeinfo.h: Likewise.
43413         * mach/devstream.c: Likewise.
43414         * malloc/arena.c: Likewise.
43415         * malloc/set-freeres.c: Likewise.
43416         * misc/err.c: Likewise.
43417         * misc/getttyent.c: Likewise.
43418         * misc/mntent_r.c: Likewise.
43419         * posix/getopt.c: Likewise.
43420         * posix/wordexp.c: Likewise.
43421         * pwd/fgetpwent_r.c: Likewise.
43422         * resolv/Versions: Likewise.
43423         * resolv/res_hconf.c: Likewise.
43424         * shadow/fgetspent_r.c: Likewise.
43425         * shadow/putspent.c: Likewise.
43426         * stdio-common/printf_fphex.c: Likewise.
43427         * stdio-common/tmpfile.c: Likewise.
43428         * stdlib/abort.c: Likewise.
43429         * stdlib/fmtmsg.c: Likewise.
43430         * sunrpc/auth_unix.c: Likewise.
43431         * sunrpc/clnt_perr.c: Likewise.
43432         * sunrpc/clnt_tcp.c: Likewise.
43433         * sunrpc/clnt_udp.c: Likewise.
43434         * sunrpc/clnt_unix.c: Likewise.
43435         * sunrpc/openchild.c: Likewise.
43436         * sunrpc/svc_simple.c: Likewise.
43437         * sunrpc/svc_tcp.c: Likewise.
43438         * sunrpc/svc_udp.c: Likewise.
43439         * sunrpc/svc_unix.c: Likewise.
43440         * sunrpc/xdr.c: Likewise.
43441         * sunrpc/xdr_array.c: Likewise.
43442         * sunrpc/xdr_rec.c: Likewise.
43443         * sunrpc/xdr_ref.c: Likewise.
43444         * sunrpc/xdr_stdio.c: Likewise.
43445
43446 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43447
43448         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43449
43450 2011-07-03  Andreas Jaeger  <aj@suse.de>
43451
43452         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43453         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43454         regenerate with gen-libm-tests.pl.
43455
43456 2010-05-12  Petr Baudis  <pasky@suse.cz>
43457
43458         [BZ #11589]
43459         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43460         around j0() zero points by switching to j1().
43461         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43462         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43463         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43464         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43465
43466 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43467
43468         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43469         instead of 0.
43470         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43471         instead of 0.
43472         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43473         Patch in part by Pavel Roskin <proski@gnu.org>.
43474
43475         [BZ #13138]
43476         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43477         realloc.
43478         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
43479         Free memory block if necessary.
43480
43481         [BZ #12847]
43482         * libio/genops.c (INTDEF): For string streams the _lock pointer can
43483         be NULL.  Don't lock in this case.
43484
43485 2011-09-09  Roland McGrath  <roland@hack.frob.com>
43486
43487         * elf/elf.h (ELFOSABI_GNU): New macro.
43488         (ELFOSABI_LINUX): Define to that.
43489
43490 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
43491
43492         * string/strncat.c (strncat): Undef the symbol in case it has been
43493         defined in bits/string.h.
43494
43495 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43496
43497         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43498
43499         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43500         link map.
43501
43502 2011-08-17  Andreas Jaeger  <aj@suse.de>
43503
43504         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43505
43506 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43507             Ian Lance Taylor  <iant@google.com>
43508
43509         * math/libm-test.inc (lround_test): New testcase.
43510         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43511
43512 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
43513
43514         * Makefile: Remove support for automatic cvs check-ins.
43515         * Makerules: Likewise.
43516         * config.make.in: Likewise.
43517         * configure.in: Likewise.
43518         * intl/Makefile: Likewise.
43519         * locale/Makefile: Likewise.
43520         * po/Makefile: Likewise.
43521         * posix/Makefile: Likewise.
43522         * sysdeps/gnu/Makefile: Likewise.
43523         * sysdeps/mach/hurd/Makefile: Likewise.
43524         * sysdeps/sparc/sparc32/Makefile: Likewise.
43525
43526         [BZ #13118]
43527         * posix/Makefile (bug-regex32-ENV): Define.
43528         Patch by John Stanley <jpsinthemix@verizon.net>.
43529
43530         * misc/Makefile (headers): Add bits/select2.h.
43531         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43532         * misc/bits/select2.h: New file.
43533         * include/bits/select2.h: New file.
43534         * debug/Makefile (routines): Add fdelt_chk.
43535         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43536         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43537         FD_ISSET.
43538         * debug/fdelt_chk.c: New file.
43539
43540         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
43541         * wcsmbs/test-wmemcmp.c: Likewise.
43542         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43543         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43544
43545 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43546
43547         * string/Makefile (strop-tests): Add memcmp.
43548         * string/test-wmemcmp.c: New file.
43549         * string/test-memcmp.c: Add wmemcmp support.
43550
43551 2011-09-08  Roland McGrath  <roland@hack.frob.com>
43552
43553         [BZ #13153]
43554         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43555         2011-07-19 change.
43556
43557         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43558         garbage value in a __mach_port_mod_refs call in the cases of the
43559         task-self and thread-self ports.
43560
43561 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43562
43563         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43564
43565 2011-09-08  Andreas Schwab  <schwab@redhat.com>
43566
43567         * elf/dl-load.c (lose): Check for non-null L.
43568
43569 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43570
43571         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43572
43573         * elf/dl-libc.c (dlerror_run): Pass back error code from
43574         dl_catch_error.
43575
43576         [BZ #13123]
43577         * elf/dl-load.c (lose): Free l_origin if it is valid.
43578
43579         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43580         names.
43581         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43582         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43583         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43584         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43585         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43586         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43587
43588 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43589
43590         * sysdeps/powerpc/fpu/e_hypot.c: New file.
43591         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43592         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43593         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43594         * sysdeps/powerpc/fpu/k_cosf.c: New file.
43595         * sysdeps/powerpc/fpu/k_sinf.c: New file.
43596         * sysdeps/powerpc/fpu/s_cosf.c: New file.
43597         * sysdeps/powerpc/fpu/s_sinf.c: New file.
43598         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43599         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43600
43601 2011-08-15  Alan Modra  <amodra@gmail.com>
43602
43603         [BZ #13092]
43604         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43605         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43606         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
43607         ppc_mcount to static-only-routines.
43608         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43609         __mcount_internal.
43610         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43611         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
43612
43613 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
43614
43615         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43616         for finite and infinity parameters.
43617
43618 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43619
43620         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43621         and add nop instructions for throughput optimization.
43622         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43623
43624 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
43625
43626         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43627         aligned copy for power7 with vector-scalar instructions.
43628         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43629
43630 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
43631
43632         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43633         AVX check.
43634
43635 2011-09-07  Andreas Schwab  <schwab@redhat.com>
43636
43637         [BZ #13144]
43638         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43639         last change.
43640
43641 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43642
43643         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43644         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43645         syscall wrapper around clock_gettime in __vdso_clock_gettime.
43646         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43647         clock_gettime.
43648
43649 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43650
43651         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43652         Forgot to demangle the pointer.
43653
43654         * sysdeps/i386/sysdep.h: Define atom_text_section.
43655         * sysdeps/x86_64/sysdep.h: Likewise.
43656         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43657         section with atom_text_section.
43658         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43659         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43660         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43661         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43662         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43663
43664         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43665         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43666         already be defined.  Change to take two parameters and don't assign
43667         result to variable.  Adjust all users.
43668         Define INTERNAL_GETTIME if not already defined.
43669         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43670         call.
43671         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43672         HAVE_CLOCK_GETTIME_VSYSCALL.
43673         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43674
43675         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43676         gettimeofday vsyscall, just use time.
43677
43678 2011-09-06  Andreas Schwab  <schwab@redhat.com>
43679
43680         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43681         <errno.h>.
43682
43683 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43684
43685         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43686         syscall on x86-64.
43687         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43688         syscall.
43689         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43690         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43691         syscall if possible.
43692
43693 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43694
43695         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43696         e_ident.  Don't pass to find_mapsXX.
43697         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43698
43699 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43700
43701         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43702         strchr-sse2-no-bsf strrchr-sse2-no-bsf
43703         * sysdeps/x86_64/multiarch/strchr.S: Update.
43704         Check bit_slow_BSF bit.
43705         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43706         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43707         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43708
43709 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43710
43711         [BZ #13134]
43712         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43713         before glibc 2.15.
43714         (tryshell): Define.
43715         (__spawni): Change last parameter to be flag.  Test
43716         SPAWN_XFLAGS_USE_PATH flag to use path or not.
43717         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43718         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43719         * posix/spawni.c: Likewise.
43720         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43721         * posix/spawnp.c: Likewise.  Change normal version to use
43722         SPAWN_XFLAGS_USE_PATH.
43723         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43724         SPAWN_XFLAGS_TRY_SHELL.
43725
43726         [BZ #13150]
43727         * posix/glob.h: Remove gcc 1.x support.
43728
43729         [BZ #13068]
43730         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43731
43732 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43733
43734         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43735         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43736         strrchr-sse2-bsf
43737         * sysdeps/i386/i686/multiarch/strchr.S: New file.
43738         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43739         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43740         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43741         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43742         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43743
43744 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43745
43746         * sysdeps/x86_64/wcscmp.S: New file.
43747
43748         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43749         wcscmp-c wcscmp-sse2
43750         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43751         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43752         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43753         * wcsmbs/wcscmp.c: Allow renaming.
43754
43755 2011-09-05  David S. Miller  <davem@davemloft.net>
43756
43757         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43758         stack slot, rather than the struct return pointer slot.
43759         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43760         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43762         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43763
43764 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43765
43766         * po/ja.po: Update from translation team.
43767
43768         [BZ #13144]
43769         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43770         kernel in 64-bit binaries.
43771
43772 2011-09-01  David S. Miller  <davem@davemloft.net>
43773
43774         * elf/elf.h (HWCAP_SPARC_*): Move to..
43775         * sysdeps/sparc/sysdep.h: this new file and add new values.
43776         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43777         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43778         _DL_HWCAP_COUNT to 24.
43779         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43780         entries.
43781         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43782         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43783         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43784         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43785         instead of magic constants.
43786         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43787
43788 2011-08-31  David S. Miller  <davem@davemloft.net>
43789
43790         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43791         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43792         Reimplement to do errno handling inline.
43793         (SYSCALL_ERROR_HANDLER): New macro.
43794         (__SYSCALL_STRING): Do not do errno handling in asm.
43795         (__CLONE_SYSCALL_STRING): Delete.
43796         (__INTERNAL_SYSCALL_STRING): Delete.
43797         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43798         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43799         (PSEUDO): Reimplement to do errno handling inline.
43800         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43801         (SYSCALL_ERROR_HANDLER): New macro.
43802         (__SYSCALL_STRING): Do not do errno handling in asm.
43803         (__CLONE_SYSCALL_STRING): Delete.
43804         (__INTERNAL_SYSCALL_STRING): Delete.
43805         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43806         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43807         i386.
43808         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43809         (inline_syscall*): Add 'err' argument.
43810         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43811         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43812         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43813         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43814
43815         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43816         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43817
43818 2011-08-30  Andreas Schwab  <schwab@redhat.com>
43819
43820         * elf/rtld.c (dl_main): Relocate objects in dependency order.
43821
43822 2011-08-29  Jiri Olsa <jolsa@redhat.com>
43823
43824         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43825         directive.
43826
43827 2011-08-24  David S. Miller  <davem@davemloft.net>
43828
43829         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43830
43831 2011-08-24  Andreas Schwab  <schwab@redhat.com>
43832
43833         * elf/Makefile: Add rules to build and run unload8 test.
43834         * elf/unload8.c: New file.
43835         * elf/unload8mod1.c: New file.
43836         * elf/unload8mod1x.c: New file.
43837         * elf/unload8mod2.c: New file.
43838         * elf/unload8mod3.c: New file.
43839
43840         * elf/dl-close.c (_dl_close_worker): Reset private search list if
43841         it wasn't used.
43842
43843 2011-08-23  David S. Miller  <davem@davemloft.net>
43844
43845         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43846         subtract stack bias.
43847         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43848         %sp not %fp in calculations.
43849         (_JMPBUF_UNWINDS_ADJ): Likewise.
43850
43851         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43852         (aio_suspend): Call it to force an exception region around the
43853         AIO_MISC_WAIT() invocation.
43854
43855 2011-08-23  Andreas Schwab  <schwab@redhat.com>
43856
43857         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43858         backslash.
43859
43860 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
43861
43862         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43863         protection macro.
43864         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43865         and <dl-machine.h>.
43866         (Elf64_FuncDesc): Remove.
43867
43868 2011-08-22  David S. Miller  <davem@davemloft.net>
43869
43870         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43871         sigaltstack check, add missing cfi directives.
43872         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43873         missing cfi directives, and sigaltstack handling.
43874
43875 2011-08-16  Andreas Schwab  <schwab@redhat.com>
43876
43877         [BZ #11724]
43878         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43879         object is seen twice.
43880         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43881
43882         * elf/Makefile (distribute): Add tst-initorder2.c.
43883         (tests): Add tst-initorder2.
43884         (modules-names): Add tst-initorder2a tst-initorder2b
43885         tst-initorder2c tst-initorder2d.  Add rules to build them.
43886         ($(objpfx)tst-initorder2.out): New rule.
43887         * elf/tst-initorder2.c: New file.
43888         * elf/tst-initorder2.exp: New file.
43889
43890 2011-08-22  Andreas Schwab  <schwab@redhat.com>
43891
43892         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43893
43894         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43895         dependencies back to end of function.
43896
43897         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43898         $(elfobjdir)/ld.so.
43899
43900 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
43901
43902         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43903         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43904         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43905         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43906         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43907         of __vdso_gettimeofday.
43908         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43909         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
43910         attribute_hidden.
43911         (_libc_vdso_platform_setup): Remove initialization of
43912         __vdso_gettimeofday and __vdso_time.
43913
43914 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
43915
43916         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43917         and fgetc_unlocked.
43918         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43919         getc_unlocked.
43920
43921         * elf/dl-open.c (add_to_global): Report additions to the global scope
43922         for LD_DEBUG=scopes.
43923         (dl_open_worker): Also print scope of newly loaded dependencies.
43924         (_dl_show_scope): Indicate if there is no scope.
43925
43926         [BZ #13114]
43927         * stdio-common/Makefile (tests): Add bug24.
43928         * stdio-common/bug24.c: New file.
43929
43930 2011-08-19  Andreas Jaeger  <aj@suse.de>
43931
43932         [BZ #13114]
43933         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43934         non-existant file when using close-on-exec mode.
43935
43936 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
43937
43938         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43939         the very first instruction.
43940
43941         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43942         the CFI state in the end.
43943         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43944         inclusion of dl-trampoline.h.
43945         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43946
43947 2011-08-19  Andreas Schwab  <schwab@redhat.com>
43948
43949         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43950         expectations for long double.
43951
43952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43953         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43954
43955 2011-08-14  David S. Miller  <davem@davemloft.net>
43956
43957         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43958         artificual limit depends upon the system page size.
43959
43960 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43961
43962         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43963         * resolv/Makefile: Define CFLAGS-libresolv.
43964
43965 2011-08-17  Andreas Schwab  <schwab@redhat.com>
43966
43967         * nss/makedb.c (compute_tables): Make variables used in nested
43968         function static.
43969
43970 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43971
43972         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43973         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43974         if buffer was too small.
43975
43976         * elf/pldd.c (main): Attach to all threads in the process.
43977         Rewrite /proc handling to use *at functions.
43978
43979 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
43980
43981         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43982         specifies first scope to show.
43983         (dl_open_worker): Update callers.  Move printing scope of new
43984         object to before the relocation.
43985         * elf/rtld.c (dl_main): Update _dl_show_scope call.
43986         * sysdeps/generic/ldsodefs.h: Update declaration.
43987
43988         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43989         string for the scope number.
43990
43991 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
43992
43993         * nscd/servicescache.c (cache_addserv): Make sure written is always
43994         initialized.
43995
43996 2011-08-14  Roland McGrath  <roland@hack.frob.com>
43997
43998         * sysdeps/i386/i486/bits/atomic.h
43999         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44000         statement expression, so as to suppress "set but not used" warning.
44001         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44002
44003         * string/strncat.c (STRNCAT): Use prototype definition.
44004
44005         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44006         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44007         -Iprograms here.
44008         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44009         (localedef-modules): Add localedef.
44010         (locale-modules): Add locale.
44011
44012         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44013         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44014         to avoid a warning.
44015
44016 2011-08-14  David S. Miller  <davem@davemloft.net>
44017
44018         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44019         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44020
44021 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44022
44023         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44024         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44025         * elf/rtld.c (dl_main): Set l_name of vDSO.
44026         Call _dl_show_scope when DL_DEBUG_SCOPES.
44027         (process_dl_debug): Recognize scopes flag and also set it for all.
44028         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44029         Declare _dl_show_scope.
44030
44031         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44032         (do_dlopen): Pass caller_dlopen to dl_open.
44033         (__libc_dlopen_mode): Initialize caller_dlopen.
44034
44035         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44036         of libc.  Make tolower call locale-independent.  Optimize a bit by
44037         using isdigit instead of isalnum.
44038         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44039
44040 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44041
44042         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44043         was a dependency or dynamically loaded.
44044
44045 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44046
44047         * intl/l10nflist.c: Allow architecture-specific pop function.
44048         * sysdeps/x86_64/l10nflist.c: New file.
44049
44050         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44051         classification.
44052
44053 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44054
44055         * include/dirent.h: Add libc_hidden_proto for scandirat and
44056         scandirat64.  Don't declare __scandirat64.
44057         * dirent/scandirat.c: Add libc_hidden_def.
44058         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44059         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44060
44061 2011-08-10  David S. Miller  <davem@davemloft.net>
44062
44063         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44064         enum.
44065         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44066         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44067         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44068
44069 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44070
44071         * Versions.def [libc]: Add GLIBC_2.15.
44072         * dirent/Makefile (routines): Add scandirat and scandirat64.
44073         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44074         GLIBC_2.15.
44075         * dirent/dirent.h: Declare scandirat and scandirat64.
44076         * dirent/scandirat.c: New file.
44077         * dirent/scandirat64.c: New file.
44078         * sysdeps/wordsize-64/scandirat.c: New file.
44079         * sysdeps/wordsize-64/scandirat64.c: New file.
44080         * dirent/opendir.c: Define opendirat.
44081         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44082         using scandirat.
44083         * dirent/scandir64.c: Adjust for scandir.c change.
44084         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44085         __scandirat64, and __scandir_cancel_handler.
44086         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44087         additional parameter and use openat instead of open (outside of ld.so).
44088         Add new __opendir as wrapper around __opendirat.
44089         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44090         here without requiring old scandirat implementation.
44091
44092 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44093
44094         * dirent/scandir.c (cancel_handler): Renamed to
44095         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44096         defined.  Adjust users.
44097         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44098         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44099
44100 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44101
44102         * string/test-string.h (IMPL): Use __STRING to expand name and then
44103         stringify it.
44104
44105         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44106         of cleanups.
44107
44108 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44109
44110         * string/Makefile: Update.
44111         (strop-tests): Append strncat.
44112         * string/test-wcscmp.c: New file.
44113         New comprehensive test for wcscmp.
44114         * string/test-strcmp.c: Update.
44115         (WIDE): New define.
44116
44117 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44118
44119         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44120         line.
44121
44122 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44123
44124         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44125         encoding to ACE if AI_IDN.
44126
44127 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44128
44129         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44130         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44131
44132 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44133
44134         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44135         Fix overflow bug in strncat.
44136         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44137
44138         * string/test-strncat.c: Update.
44139         Add new tests for checking overflow bugs.
44140
44141 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44142
44143         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44144         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44145         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44146         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44147         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44148         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44149         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44150         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44151         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44152
44153         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44154         (USE_AS_STRCAT): Define.
44155         Add strcat and strncat support.
44156         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44157
44158 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44159
44160         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44161         __n bigger than INT_MAX+1.
44162         (__strncmp_g): Likewise.
44163
44164 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44165
44166         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44167         * libio/stido.h: Likewise.
44168
44169         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44170         (AF_NFC): Define.
44171         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44172         (AF_NFC): Define.
44173
44174         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44175         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44176         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44177         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44178         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44179
44180         [BZ #13021]
44181         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44182         installed.
44183
44184         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44185         typo.
44186         (_dl_x86_64_save_sse): Likewise.
44187
44188 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44189
44190         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44191         OSXSAVE.
44192         (_dl_x86_64_save_sse): Likewise.
44193
44194         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44195
44196         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44197
44198 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44199
44200         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44201         change.
44202         (_dl_x86_64_save_sse): Use correct AVX check.
44203
44204 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44205
44206         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44207         bug in strncpy/strncat.
44208         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44209
44210 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44211
44212         * string/tester.c (test_strcat): Add tests for different alignments
44213         of source and destination.
44214         (test_strncat): Likewise.
44215
44216 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44217
44218         [BZ #12852]
44219         * posix/glob.c (glob): Check passed in values before using them in
44220         expressions to avoid some overflows.
44221         (glob_in_dir): Likewise.
44222
44223         [BZ #13007]
44224         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44225         check for AVX enablement so that we don't crash with old kernels and
44226         new hardware.
44227         * elf/tst-audit4.c: Add same checks here.
44228         * elf/tst-audit6.c: Likewise.
44229
44230         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44231
44232 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44233
44234         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44235
44236 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44237
44238         * po/cs.po: Update from translation team.
44239         * po/bg.po: Likewise.
44240
44241 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44242
44243         * misc/sys/cdefs.h: Add support for const attribute.
44244         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44245         to gnu_dev_{major,minor,makedev} functions.
44246
44247 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
44248
44249         * intl/dcigettext.c (get_output_charset): Add missing bracket.
44250
44251 2011-07-20  Andreas Schwab  <schwab@redhat.com>
44252
44253         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44254         strlen results.
44255
44256 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44257
44258         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44259         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44260         register in order to avoid conflicts with the soft frame pointer
44261         being held in r11 when necessary.
44262         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44263         (INTERNAL_VSYSCALL_NCS): Likewise.
44264
44265 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
44266
44267         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44268         * elf/dl-fini.c (_dl_fini): Adjust caller.
44269         * elf/dl-close.c (_dl_close_worker): Likewise.
44270         * sysdeps/generic/ldsodefs.h: Adjust declaration.
44271
44272 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44273
44274         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44275         "aux_cache->nlibs < 0".
44276
44277         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44278         in the reload-count case.
44279
44280 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44281
44282         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44283         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44284         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44285         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44286         * sysdeps/x86_64/multiarch/strcat.S: New file.
44287         * sysdeps/x86_64/multiarch/strncat.S: New file.
44288         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44289         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44290         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44291         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44292         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44293         (USE_AS_STRCAT): Define.
44294         Add strcat and strncat support.
44295         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44296         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44297         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44298         * string/strncat.c: Update.
44299         (USE_AS_STRNCAT): Define.
44300         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44301         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44302         and i7.
44303         * sysdeps/x86_64/multiarch/init-arch.h
44304         (bit_Prefer_PMINUB_for_stringop): New.
44305         (index_Prefer_PMINUB_for_stringop): Likewise.
44306         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44307         bit_Prefer_PMINUB_for_stringop.
44308
44309 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44310
44311         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44312         buffer64.
44313         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44314         of casting of buffer.
44315         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44316         buffer32 and buffer64.
44317         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44318         writes instead of casting of buffer.
44319         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44320         buffer32.
44321         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44322         casting of buffer.
44323
44324 2011-07-19  Andreas Schwab  <schwab@redhat.com>
44325
44326         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44327
44328 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44329
44330         * nscd/nscd.c (termination_handler): Don't do anything for a database
44331         if it has not yet been initialized.
44332
44333 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44334
44335         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44336
44337 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44338
44339         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44340
44341 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44342
44343         * po/nl.po: Update from translation team.
44344         * po/sv.po: Likewise.
44345
44346 2011-07-16  Roland McGrath  <roland@hack.frob.com>
44347
44348         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44349         now disallowed by GCC.
44350
44351         * configure.in (use-default-link): Default to yes if a test -shared
44352         link meets our qualifications.
44353         * configure: Regenerated.
44354
44355         * config.make.in (output-format): New variable.
44356         * configure.in: Check for ld --print-output-format support.
44357         * configure: Regenerated.
44358         * Makerules ($(common-objpfx)format.lds)
44359         [$(output-format) != unknown]: Just use $(output-format),
44360         instead of the linker-script munging.
44361
44362 2011-07-14  Roland McGrath  <roland@hack.frob.com>
44363
44364         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44365         of $(common-objpfx)shlib.lds.
44366         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44367
44368         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44369         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44370
44371         * configure.in (-z relro check): Adjust test code to add a large
44372         writable data section after it.
44373         * configure: Regenerated.
44374
44375 2011-07-11  Roland McGrath  <roland@hack.frob.com>
44376
44377         * configure.in (-z relro check): Fix test code to make the variable
44378         truly const.
44379         * configure: Regenerated.
44380
44381 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
44382
44383         * nscd/nscd.h (struct traced_file): Define.
44384         (struct database_dyn): Remove inotify_descr, reset_res, and filename
44385         elements.  Add traced_files.
44386         (inotify_fd): Declare.
44387         (register_traced_file): Declare.
44388         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44389         (inotify_fd): Export.
44390         (resolv_conf_descr): Remove.
44391         (nscd_init): Move inotify descriptor creation to main.
44392         Don't register files for notification here.
44393         (register_traced_file): New function.
44394         (invalidate_cache): Don't use reset_res to determine whether to call
44395         res_init, go through the list of registered files.
44396         (main_loop_poll): The inotify descriptors are now stored in the
44397         structures for the traced files.
44398         (main_loop_epoll): Likewise
44399         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
44400         to __nss_disable_nscd.
44401         * nscd/cache.c (prune_cache): There is no single inotify descriptor
44402         for a database anymore.  Check the records for all the registered
44403         files instead.
44404         * nss/Makefile (libnss_files-routines): Add files-init.
44405         (libnss_db-routines): Add db-init.
44406         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44407         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44408         * nss/nss_db/db-init.c: New file.
44409         * nss/nss_files/files-init.c: New file.
44410         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
44411         __nss_lookup_function.
44412         (__nss_lookup_function): Call nss_load_library.
44413         (nss_load_all_libraries): New function.
44414         (__nss_disable_nscd): Take parameter with callback function for files
44415         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
44416         used for the cached services.
44417         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44418         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44419         options for features to all the files in nscd.
44420
44421         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44422
44423 2011-07-10  Roland McGrath  <roland@hack.frob.com>
44424
44425         * csu/elf-init.c (__libc_csu_init): Comment typo.
44426
44427 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
44428
44429         * po/pl.po: Update from translation team.
44430         * po/ja.po: Likewise.
44431         * po/ru.po: Likewise.
44432         * po/ko.po: Likewise.
44433         * po/fr.po: Likewise.
44434
44435 2011-07-09  Roland McGrath  <roland@hack.frob.com>
44436
44437         * configure.in (.ctors/.dtors header and trailer check):
44438         Use an empirical test on a built program.
44439         * configure: Regenerated.
44440
44441         * configure.in (-z relro check): Use an empirical test on a built DSO.
44442         Detect, but do not require, on ia64.
44443         * configure: Regenerated.
44444
44445         * configure.in (READELF): Find it with AC_CHECK_TOOL.
44446         Update tests that use readelf to use $READELF instead.
44447         * configure: Regenerated.
44448
44449 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
44450
44451         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44452         if the result is not used.
44453
44454 2011-07-05  Andreas Jaeger  <aj@suse.de>
44455
44456         [BZ#9696]
44457         * stdlib/tst-strtod.c: Add testcase.
44458
44459 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
44460
44461         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44462         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44463         The latter has a higher limit.  Take additional parameter to pass to
44464         the new function.
44465         (__pathconf): Pass file to __statfs_link_max.
44466         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44467         __statfs_link_max.
44468         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44469         __statfs_link_max.
44470
44471         [BZ #12868]
44472         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44473         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44474         Handle Lustre.
44475         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44476         (__statfs_filesize_max): Likewise.
44477         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44478
44479 2011-07-05  Andreas Jaeger  <aj@suse.de>
44480
44481         * resolv/res_comp.c (dn_skipname): Remove unused variable.
44482
44483 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
44484
44485         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44486         `status' variable.
44487         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44488         Likewise.
44489
44490 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
44491
44492         * Makefile (strop-tests): Add strncat.
44493         * string/test-strncat.c: New file.
44494
44495 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
44496
44497         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44498
44499 2011-06-21  Andreas Jaeger  <aj@suse.de>
44500
44501         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44502         Copy rule from iconvdata/Makefile.
44503
44504 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44505
44506         [BZ #12922]
44507         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44508         but no long options are defined, just return 'W'.
44509
44510 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
44511
44512         [BZ #9696]
44513         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44514
44515 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44516
44517         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44518         netgroups to read.
44519         (innetgr): Likewise.
44520
44521 2011-07-05  Roland McGrath  <roland@hack.frob.com>
44522
44523         * config.make.in (install_root): Default to $(DESTDIR).
44524
44525 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
44526
44527         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44528
44529 2011-07-02  Roland McGrath  <roland@hack.frob.com>
44530
44531         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44532
44533         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44534         containing directory rather than embedding absolute directory names.
44535
44536         * scripts/check-local-headers.sh: Rewritten using awk.
44537         Match by word, not by line.  Print error messages for matches.
44538         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44539
44540         * Makerules [shlib-lds-flags empty]:
44541         ($(common-objpfx)libc_pic.opts): New target.
44542         ($(common-objpfx)libc_pic.os.clean): New target.
44543         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44544
44545         * config.make.in (OBJCOPY): New variable.
44546         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44547         * configure: Regenerated.
44548
44549         * config.make.in (use-default-link): New variable.
44550         * configure.in (use_default_link): Grok --with-default-link to set it.
44551         * configure: Regenerated.
44552         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44553         (shlib-lds, shlib-lds-flags): Define to empty.
44554
44555         * Makerules (shlib-lds): New variable.
44556         (shlib-lds-flags): New variable.
44557         (build-shlib, build-moduile, build-module-asneeded): Use it.
44558         ($(common-objpfx)libc.so): Use $(shlib-lds).
44559         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44560         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44561
44562         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44563         DT_FLAGS/DT_FLAGS_1 with zero flags.
44564
44565         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44566         linker script munging.
44567
44568 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
44569
44570         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44571         as 128-bit value.
44572         * crypt/sha512.c (sha512_process_block): Perform total addition using
44573         128-bit if possible.
44574         (__sha512_finish_ctx): Likewise.
44575         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44576         as 64-bit value.
44577         * crypt/sha256.c (SWAP64): Define.
44578         (sha256_process_block): Perform total addition using 64-bit if
44579         possible.
44580         (__sha256_finish_ctx): Likewise.
44581
44582 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
44583
44584         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
44585         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44586         * nscd/hstcache.c (cache_addhst): Likewise.
44587         * nscd/grpcache.c (cache_addgr): Likewise.
44588         * nscd/aicache.c (addhstaiX): Likewise
44589         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44590
44591 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
44592
44593         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44594         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44595         * nscd/hstcache.c (cache_addhst): Likewise.
44596         * nscd/grpcache.c (cache_addgr): Likewise.
44597         * nscd/aicache.c (addhstaiX): Likewise
44598
44599 2011-07-01  Andreas Schwab  <schwab@redhat.com>
44600
44601         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44602         domain only when needed.
44603
44604 2011-06-30  Andreas Schwab  <schwab@redhat.com>
44605
44606         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44607         is always restored.
44608
44609 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
44610
44611         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44612         are re-adding the entry.
44613         * nscd/servicescache.c (cache_addserv): Likewise.
44614
44615 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
44616
44617         * sysdeps/generic/dl-irel.h: fix protection against multiple
44618         inclusions.
44619         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44620
44621 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
44622
44623         [BZ #12935]
44624         * malloc/memusage.sh: Fix quoting in message.
44625         * debug/xtrace.sh: Likewise.
44626
44627         * configure.in: Remove support for --experimental-malloc option, make
44628         it the default.
44629         * config.make.in: Likewise.
44630         * malloc/Makefile: Likewise.
44631
44632 2011-06-27  Andreas Schwab  <schwab@redhat.com>
44633
44634         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44635         two-byte characters.
44636
44637 2011-06-27  Roland McGrath  <roland@hack.frob.com>
44638
44639         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44640         AC_CACHE_CHECK invocation.
44641         * configure: Regenerated.
44642
44643         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44644
44645 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
44646
44647         [BZ #12350]
44648         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
44649         bit from old_res_options.
44650
44651         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44652
44653         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44654         value type for setfct.
44655
44656 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
44657
44658         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44659         __gettimeofday instead of gettimeofday.
44660
44661 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
44662
44663         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44664
44665 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
44666
44667         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44668
44669         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44670         info.
44671
44672 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44673
44674         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44675         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44676         strcpy-sse2-unaligned strncpy-sse2-unaligned
44677         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44678         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44679         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44680         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44681         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44682         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44683         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44684         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44685         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44686         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44687         (STRCPY): Support SSE2 and SSSE3 versions.
44688
44689 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
44690
44691         [BZ #12874]
44692         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44693         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44694         kernels which artificially limit size of requests.
44695
44696 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44697
44698         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44699         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44700         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44701         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44702         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44703         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44704         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44705         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44706         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44707         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44708         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44709         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44710         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44711         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44712         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44713         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44714         Enable unaligned load optimization for Intel Core i3, i5 and i7
44715         processors.
44716         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44717         Define.
44718         (index_Fast_Unaligned_Load): Define.
44719         (HAS_FAST_UNALIGNED_LOAD): Define.
44720
44721 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
44722
44723         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44724
44725 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44726
44727         [BZ #12907]
44728         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44729         until it is clear that the information is realy needed.
44730         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44731
44732 2011-06-22  Andreas Schwab  <schwab@redhat.com>
44733
44734         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44735
44736 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44737
44738         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44739         /sys/devices/system/cpu/online if it is usable.
44740
44741         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44742         reading the information from the /proc filesystem to once a second.
44743
44744 2011-06-21  Andreas Jaeger  <aj@suse.de>
44745
44746         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44747         NULL after inclusion of kernel headers.
44748
44749 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
44750
44751         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44752         calls to internal_setent.
44753
44754         [BZ #12885]
44755         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44756         addresses using gethostbyname4_r ignore IPv4 addresses.
44757
44758         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44759         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
44760
44761         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44762
44763 2011-06-20  David S. Miller  <davem@davemloft.net>
44764
44765         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44766         inclusions.
44767         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44768
44769         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44770         (elf_irel): Use it.
44771         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44772         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44773         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44774         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44775         * sysdeps/x86_64/dl-irel.h: Likewise.
44776
44777         * elf/dl-runtime.c: Use elf_ifunc_invoke.
44778         * elf/dl-sym.c: Likewise.
44779
44780 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44781
44782         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
44783         need to dereference resplen2.
44784
44785 2011-06-14  Andreas Schwab  <schwab@redhat.com>
44786
44787         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44788
44789 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44790
44791         * Makeconfig: Define vardbdir and inst_vardbdir.
44792         * nss/Makefile: Add rules to install db-Makefile.
44793
44794         * nss/nss_db/db-XXX.c: Cleanup.
44795
44796         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44797         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44798         GLIBC_PRIVATE.
44799         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44800         * nss/makedb.c: Implement -g option to specify that value strings
44801         are generated and should not be added to table iterated over for
44802         get*ent calls.
44803         * nss/nss_db/db-initgroups.c: New file.
44804
44805         * nss/getent.c: Add support for initgroups lookups through getgrouplist
44806         interface.
44807
44808         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44809         (internal_getgrouplist): Adjust to name change.
44810         Update use_initgroups_entry if this is not the first call.
44811         * nss/databases.def: Add initgroups entry.
44812
44813         * nss/makedb.c (compute_tables): Check result of multiple hash table
44814         sizes to minimize maximum chain length.
44815
44816 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
44817
44818         * Versions.def: Add entry for libnss_db.
44819         * shlib-versions: Likewise.
44820         * nss/Makefile: Add rules to build libnss_db.
44821         * nss/Versions: Add libnss_db information.  Organize libnss_files
44822         entries better.
44823         * nss/db-Makefile: Add gshadow support.  Change rules for the new
44824         makedb progra.  Some minor improvements to generate smaller files.
44825         * nss/nss_db/nss_db.h: Move NSS database header data structures to
44826         here from...
44827         * nss/makedb.c: ...here.
44828         Improve database format to be smaller and require less memory at
44829         runtime.
44830         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
44831         db anymore.
44832         * nss/nss_db/db-netgrp.c: Likewise.
44833         * nss/nss_db/db-open.c: Likewise.
44834         * nss/nss_files/flies-XXX.x: Adjust comments.
44835         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44836         * nss/nss_files/files-grp.c: Likewise.
44837         * nss/nss_files/files-hosts.c: Likewise.
44838         * nss/nss_files/files-network.c: Likewise.
44839         * nss/nss_files/files-proto.c: Likewise.
44840         * nss/nss_files/files-pwd.c: Likewise.
44841         * nss/nss_files/files-rpc.c: Likewise.
44842         * nss/nss_files/files-service.c: Likewise.
44843         * nss/nss_files/files-sgrp.c: Likewise.
44844         * nss/nss_files/files-spwd.c: Likewise.
44845         * nss/nss_db/db-alias.c: Removed.
44846         * nss/nss_db/dummy-db.h: Removed.
44847
44848 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
44849
44850         * nss/makedb.c: Rewritten to not use database library.
44851         * nss/Makefile: Update to build new makedb program.
44852
44853 2011-06-14  Andreas Jaeger  <aj@suse.de>
44854
44855         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44856         memset declaration.
44857
44858 2011-06-10  Andreas Schwab  <schwab@redhat.com>
44859
44860         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44861         tmpbuf.
44862
44863 2011-06-10  Roland McGrath  <roland@hack.frob.com>
44864
44865         * Makerules (shlib.lds): Fail if the linker script comes out empty.
44866         * elf/Makefile ($(objpfx)ld.so): Likewise.
44867
44868         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44869         Don't list ld.so twice in dependencies.
44870
44871         * posix/bug-regex31.c: Include <stdlib.h>.
44872
44873         * nscd/hstcache.c (cache_addhst): Remove unused variable.
44874
44875         * nis/nss_compat/compat-spwd.c
44876         (getspent_next_nss_netgr): Remove unused variable.
44877         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44878
44879         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44880         nonmembers" output to use the right array.
44881
44882         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44883
44884         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44885
44886         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44887         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44888         * catgets/gencat.c (read_input_file): Likewise.
44889         * locale/programs/locarchive.c (enlarge_archive): Likewise.
44890
44891         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44892         variable definition inside #if's controlling its use.
44893
44894         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44895
44896         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44897
44898         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44899
44900         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44901         unreachable code.
44902
44903         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44904
44905         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44906         * configure: Regenerated.
44907
44908         * Makerules: Revert last change.
44909         * elf/Makefile: Likewise.
44910
44911 2011-06-09  Roland McGrath  <roland@hack.frob.com>
44912
44913         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44914         * elf/Makefile ($(objpfx)librtld.os): Likewise.
44915         (reloc-link): Likewise.
44916
44917 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
44918
44919         * elf/Makefile: Add rules to build pldd.
44920         * elf/pldd.c: New file.
44921         * elf/pldd-xx.c: New file.
44922
44923 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
44924
44925         * version.h: Update for 2.15 development version.
44926
44927 2011-06-07  David S. Miller  <davem@davemloft.net>
44928
44929         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44930         ifuncs.
44931         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44932         elf_machine_lazy_rel): Likewise.
44933         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44934         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44935         elf_machine_lazy_rel): Likewise.
44936         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44937         dl_hwcap via passed in argument.
44938         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44939         Likewise.
44940
44941 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44942
44943         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
44944
44945 2011-06-06  Roland McGrath  <roland@hack.frob.com>
44946
44947         [BZ #12849]
44948         * manual/fdl-1.1.texi: New file, verbatim from:
44949         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44950         * manual/lgpl-2.1.texi: New file, verbatim from:
44951         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44952         * manual/Makefile (licenses): New variable, list those new file names.
44953         (texis): Use it.
44954         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44955
44956         * manual/fdl.texi: File removed.
44957         * manual/lesser.texi: File removed.
44958         * manual/libc.texinfo (Copying, Documentation License):
44959         Use new @include file names, put @appendix directive before @include.
44960
44961 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
44962
44963         [BZ #12841]
44964         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44965         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44966         (mq_open): Add __NTH.
44967
44968 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
44969
44970         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44971         Assume Intel Core i3/i5/i7 processor if AVX is available.
44972
44973 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44974
44975         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44976         typo.
44977
44978 2011-05-31  Andreas Schwab  <schwab@redhat.com>
44979
44980         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44981         memory.  Use alloca_account.  Fix memory leak when retrying.
44982
44983 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44984
44985         * version.h (RELEASE): Bump for 2.14 release.
44986         * include/features.h (__GLIBC_MINOR__): Bump to 14.
44987
44988         * config.make.in (RANLIB): Remove entry.
44989
44990 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
44991
44992         * po/Makefile (po-sed-cmd): Add ksh to extensions.
44993         (libc.pot): Work around missing support for .ksh extension in xgettext.
44994
44995         [BZ #12684]
44996         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44997         if both request failed.
44998         (send_dg): In case of server errors clear resplen or *resplen2.
44999
45000         [BZ #12454]
45001         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45002         when there are multiple maps.
45003         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45004         (_dl_fini): Remove test here.
45005
45006         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45007
45008 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45009
45010         [BZ #12350]
45011         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45012         bit from old_res_options.
45013         (gaih_inet): Likewise.
45014
45015         [BZ #11099]
45016         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45017         as signed.
45018
45019         * resolv/res_init.c (res_setoptions): Make the code more compact.
45020
45021         [BZ #11558]
45022         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45023         set RES_USEVC.
45024
45025         [BZ #11634]
45026         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45027
45028         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45029
45030         [BZ #11781]
45031         * malloc/malloc.h: Declare malloc hook variables as volatile.
45032
45033         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45034         in last patch.
45035
45036         [BZ #11799]
45037         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45038         raise in the comment.
45039         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45040         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45041         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45042
45043 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45044
45045         [BZ #12811]
45046         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45047         grow the buffers more if it already has to be sufficient.
45048         (build_wcs_upper_buffer): Likewise.
45049         * posix/regexec.c (check_matching): Likewise.
45050         (clean_state_log_if_needed): Likewise.
45051         (extend_buffers): Don't enlarge buffers beyond size of the input
45052         buffer.
45053         Patches mostly by Emil Wojak <emil@wojak.eu>.
45054         * posix/bug-regex32.c: New file.
45055         * posix/Makefile (tests): Add bug-regex32.
45056
45057         * locale/findlocale.c (_nl_find_locale): Return right away if
45058         _nl_explode_name failed.
45059         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45060
45061         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45062
45063         * debug/xtrace.sh: Unify messages.
45064         * malloc/memusage.sh: Likewise.
45065
45066         [BZ #12813]
45067         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45068         time symbol from vDSO.  Substitute with vsyscall if not available.
45069         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45070         __vdso_time.
45071
45072         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45073         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45074         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45075         Add sendmmsg and internal_sendmmsg.
45076         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45077         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45078         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45079
45080         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45081         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45082         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45083
45084 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45085
45086         [BZ #12813]
45087         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45088         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45089         available.
45090         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45091         __vdso_getcpu.
45092
45093         [BZ #12814]
45094         * iconvdata/Makefile (tests): Add bug-iconv9.
45095         * iconvdata/bug-iconv9.c: New file.
45096
45097 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45098
45099         [BZ #12814]
45100         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45101
45102 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45103
45104         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45105         (struct user_regs_struct): Change intcs field back to cs.
45106
45107 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45108
45109         * po/ja.po: Update from translation team.
45110
45111 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45112
45113         [BZ #12795]
45114         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45115         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45116
45117 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45118
45119         * stdlib/longlong.h: Update from GCC.
45120
45121 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45122
45123         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45124         parameter name.
45125         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45126         Add parameter name.
45127         (__sysconf): Pass it down.
45128
45129 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45130
45131         [BZ #12671]
45132         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45133         some situations.
45134         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45135         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45136         add in in __libc_use_alloca calls.  Adjust callers.
45137         (glob): Use malloc in some situations.
45138
45139         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45140         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45141         pltexit.
45142
45143 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45144
45145         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45146         and CLOCK_BOOTTIME_ALARM.
45147
45148         [BZ #12782]
45149         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45150         is returned.
45151
45152         * string/_strerror.c (__strerror_r): Print negative errors as signed
45153         numbers.
45154
45155         [BZ #12777]
45156         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45157         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45158         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45159
45160         * configure.in: Fix typo in redirection and correct removal of test
45161         files in two cases.
45162
45163         [BZ #12788]
45164         * locale/setlocale.c (new_composite_name): Fix test to check for
45165         identical name of all categories.
45166
45167         [BZ #12792]
45168         * libio/filedoalloc.c (local_isatty): New function.
45169         (_IO_file_doallocate): Use local_isatty.
45170         * stdio-common/perror.c (perror): In case a new stream is used
45171         forward the stream error.
45172         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45173         error flag.
45174
45175 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45176
45177         [BZ #11869]
45178         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45179         alloca.
45180         * include/alloca.h (extend_alloca_account): Define.
45181
45182         [BZ #11857]
45183         * posix/regex.h: Fix comments with documentation of user-accessible
45184         fields after compilation and describe correct free'ing of pattern
45185         after re_compile_pattern.
45186         Patch by Reuben Thomas <rrt@sc3d.org>.
45187
45188 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45189
45190         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45191         and -mno-altivec to prevent the compiler from using Altivec and/or
45192         VSX instructions when the corresponding registers are not available.
45193
45194 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45195
45196         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45197
45198 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45199
45200         * libio/freopen.c (freopen): Use __dup2, not dup2.
45201         * libio/freopen64.c (freopen64): Likewise.
45202
45203 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45204
45205         [BZ #12775]
45206         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45207         * math/Makefile (tests): Add test-powl.
45208         (CFLAGS-test-powl.c): Define.
45209         * math/test-powl.c: New file.
45210
45211 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45212
45213         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45214
45215 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45216
45217         [BZ #11837]
45218         * iconvdata/gb18030.c: Update to GB18020-2005.
45219
45220 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45221
45222         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45223         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45224         Patch by Aharon Robbins <arnold@skeeve.com>.
45225
45226         [BZ #11892]
45227         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45228         on the stack.
45229
45230         [BZ #11895]
45231         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45232         through underflows.
45233
45234         [BZ #12766]
45235         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45236         point to strings before performing equality test for error_one_per_line
45237         mode.
45238
45239         [BZ #11697]
45240         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45241
45242         [BZ #11820]
45243         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45244         (struct user_fpregs_struct): Avoid __uint*_t types.
45245
45246         [BZ #6420]
45247         * malloc/mtrace.c (tr_where): Add additional parameter to point to
45248         symbol info.  Use it instead of calling _dl_addr locally.
45249         (lock_and_info): New function.
45250         (tr_freehook): Call lock_and_info and pass symbol info as additional
45251         parameter to tr_where.
45252         (tr_mallochook): Likewise.
45253         (tr_reallochook): Likewise.
45254         (tr_memalignhook): Likewise.
45255
45256         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
45257         used and couldn't be at all thread-safe.
45258
45259 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
45260
45261         * libio/freopen.c (freopen): Don't close old file descriptor
45262         before the new one is opened.  Instead dup the new file descriptor
45263         to the old one after the new stream is created.
45264         * libio/freopen64.c (freopen64): Likewise.
45265         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45266         * libio/fileops.c (_IO_new_file_close_it): Handle new
45267         _IO_FLAGS2_NOCLOSE flag.
45268         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45269         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45270         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45271         _IO_FLAGS2_NOCLOSE flag.
45272         * include/unistd.h: Add hidden_proto for dup3.
45273         Define __have_dup3.
45274         * io/dup3.c: Define hidden symbol.
45275         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45276
45277         [BZ #7101]
45278         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45279         when an incomplete long option is used.
45280         * posix/tst-getopt_long1.c: New file.
45281         * posix/Makefile (tests): Add tst-getopt_long1.
45282
45283         [BZ #10138]
45284         * scripts/config.guess: Update from autoconf-2.68.
45285         * scripts/config.sub: Likewise.
45286
45287         [BZ #10157]
45288         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45289         tests into ...
45290         (has_cpuclock): ...this.  New function.
45291         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45292         macro here based on has_cpuclock code.
45293
45294         [BZ #10149]
45295         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45296         First byte (not low byte) is now always NUL.
45297         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45298
45299         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45300         Use non-cancelable interfaces.
45301
45302         [BZ #9809]
45303         * locale/iso-639.def: Add entry for Sorani.
45304
45305         [BZ #11901]
45306         * include/stdlib.h: Move include protection to the right place.
45307         Define abort_msg_s.  Declare __abort_msg with it.
45308         * stdlib/abort.c (__abort_msg): Adjust type.
45309         * assert/assert.c (__assert_fail_base): New function.  Majority
45310         of code from __assert_fail.  Allocate memory for __abort_msg with
45311         mmap.
45312         (__assert_fail): Now call __assert_fail_base.
45313         * assert/assert-perr.c: Remove bulk of implementation.  Use
45314         __assert_fail_base.
45315         * include/assert.hL Declare __assert_fail_base.
45316         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45317         mmap.
45318         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45319
45320 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
45321
45322         [BZ #11952]
45323         [BZ #12453]
45324         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45325         until all modules are registered in the DTV.
45326         * elf/Makefile: Add rules to build and run tst-tls19.
45327         * elf/tst-tls19.c: New file.
45328         * elf/tst-tls19mod1.c: New file.
45329         * elf/tst-tls19mod2.c: New file.
45330         * elf/tst-tls19mod3.c: New file.
45331         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45332
45333         [BZ #12083]
45334         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45335         correctly.
45336
45337         [BZ #12601]
45338         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45339         two-byte sequence errors.
45340         * iconvdata/Makefile (tests): Add bug-iconv8.
45341         * iconvdata/bug-iconv8.c: New file.
45342
45343         [BZ #12626]
45344         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45345         buf2 definition.
45346
45347         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45348
45349         [BZ #12432]
45350         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45351         (dummy_getcfa): New function.
45352         (init): Get _Unwind_GetCFA address, use dummy if not found.
45353         (backtrace_helper): In recursion check, also check whether CFA changes.
45354         (__backtrace): Completely initialize arg.
45355
45356         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45357         storing incomplete byte sequence in state object.  Avoid testing for
45358         guaranteed too small input if we know there is enough data available.
45359
45360 2011-05-11  Andreas Schwab  <schwab@redhat.com>
45361
45362         * Makeconfig (+link-pie): Indent.
45363         * Rules (binaries-pie): Define if $(have-fpie) and
45364         $(build-shared).
45365         (binaries-shared): Also filter out $(binaries-pie).
45366         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45367         * nscd/Makefile (others-pie): Add nscd.
45368         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45369         ($(objpfx)nscd): Remove command override.
45370         * login/Makefile (others-pie): Add pt_chown.
45371         ($(objpfx)pt_chown): Remove command override.
45372         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45373         remove command overrides.
45374
45375 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
45376
45377         * libio/tst_putwc.c: Fix error messages.
45378
45379         [BZ #12724]
45380         * libio/fileops.c (_IO_new_file_close_it): Always flush when
45381         currently writing and seek to current position when not.
45382         * libio/Makefile (tests): Add bug-fclose1.
45383         * libio/bug-fclose1.c: New file.
45384
45385 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
45386
45387         [BZ #12511]
45388         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45389         don't set DF_1_NODELETE here.
45390         (do_lookup_x): When entering new entry test for copy relocation
45391         and if necessary set DF_1_NODELETE flag.
45392         * elf/tst-unique4.cc: New file.
45393         * elf/tst-unique4.h: New file.
45394         * elf/tst-unique4lib.cc: New file.
45395         * elf/Makefile: Add rules to build and run tst-unique4.
45396         Patch by Piotr Bury <pbury@goahead.com>.
45397
45398 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
45399
45400         [BZ #12052]
45401         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45402
45403         [BZ #12625]
45404         * misc/mntent_r.c (addmntent): Flush the stream after the output
45405
45406         [BZ #12393]
45407         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45408         (is_trusted_path_normalize): Skip initial colon.  Append slash
45409         to empty buffer.  Duplicate is_trusted_path code but allow
45410         constructed patch to be prefix.
45411         (is_dst): Allow $ORIGIN followed by /.
45412         (_dl_dst_substitute): Correct clearing of check_for_trusted.
45413         Correct testing of result of is_trusted_path_normalize
45414         (decompose_rpath): Fix warning.
45415
45416 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
45417
45418         [BZ #11257]
45419         * grp/initgroups.c (internal_getgrouplist): When we found the service
45420         list through the initgroups entry in nsswitch.conf do not always
45421         continue on a successful lookup.  Don't always use the
45422         __nss_group_database value if it is set.
45423         * nss/nsswitch.conf (initgroups): Change action for successful db
45424         lookup to continue for compatibility.
45425
45426 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
45427
45428         [BZ #11532]
45429         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45430         and CP774 modules.
45431         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45432         and CP774 modules.
45433         * iconvdata/tst-tables.sh: Likewise.
45434         * iconvdata/cp770.c: New file.
45435         * iconvdata/cp771.c: New file.
45436         * iconvdata/cp772.c: New file.
45437         * iconvdata/cp773.c: New file.
45438         * iconvdata/cp774.c: New file.
45439         * iconvdata/testdata/CP770: New file.
45440         * iconvdata/testdata/CP770..UTF8: New file.
45441         * iconvdata/testdata/CP771: New file.
45442         * iconvdata/testdata/CP771..UTF8: New file.
45443         * iconvdata/testdata/CP772: New file.
45444         * iconvdata/testdata/CP772..UTF8: New file.
45445         * iconvdata/testdata/CP773: New file.
45446         * iconvdata/testdata/CP773..UTF8: New file.
45447         * iconvdata/testdata/CP774: New file.
45448         * iconvdata/testdata/CP774..UTF8: New file.
45449
45450         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45451         END CHARMAP line.
45452         * iconvdata/gen-8bit-gap.sh: Likewise.
45453         * iconvdata/gen-8bit.sh: Likewise.
45454
45455         * locale/iso-639.def: Add ary entry.
45456
45457         [BZ #11258]
45458         * locale/C-translit.h.in: Add U20A1 transliteration.
45459
45460         [BZ #12178]
45461         * locale/iso-639.def: Add wae entry.
45462         Patch by Kevin Bortis <bortis@translate-wae.ch>.
45463
45464         [BZ #12545]
45465         * locale/programs/localedef.c (construct_output_path): Use ssize_t
45466         for n.
45467
45468         [BZ #12711]
45469         * locale/C-translit.h.in: Add entry for U20B9.
45470         Patch by pravin.d.s@gmail.com.
45471
45472 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
45473
45474         [BZ #12713]
45475         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45476         ENAMETOOLONG use generic getcwd.
45477         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
45478         in rtld.  Use *stat64.
45479         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45480         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45481         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45482         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45483         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45484         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45485         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45486         __fstatat64 macros.
45487         * include/dirent.h: Add libc_hidden_proto for rewinddir.
45488         * dirent/rewinddir.c: Add libc_hidden_def.
45489         * sysdeps/mach/hurd/rewinddir.c: Likewise.
45490         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
45491
45492         * include/dirent.h (__alloc_dir): Add flags parameter.
45493         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45494         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45495         __alloc_dir.
45496         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
45497         from fdopendir if O_CLOEXEC is already set.
45498
45499 2011-03-15  Alan Modra  <amodra@gmail.com>
45500
45501         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45502         l_tls_firstbyte_offset non-zero.  Save padding offset in
45503         l_tls_firstbyte_offset for later use.
45504         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45505         freeing static tls block.
45506
45507 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
45508
45509         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45510         where #ifdef was intended.  The intent is to prevent ARG_MAX from
45511         being defined by the kernel headers.
45512
45513 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
45514
45515         [BZ #12734]
45516         * resolv/resolv.h: Define RES_NOTLDQUERY.
45517         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45518         no-tld-query and set RES_NOTLDQUERY.
45519         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45520         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45521         modern BIND to search name as TLD unless forbidden.
45522
45523 2011-05-07  Petr Baudis  <pasky@suse.cz>
45524             Ulrich Drepper  <drepper@gmail.com>
45525
45526         [BZ #12393]
45527         * elf/dl-load.c (fillin_rpath): Move trusted path check...
45528         (is_trusted_path): ...to here.
45529         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45530         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45531         using is_trusted_path_normalize() in setuid scripts.
45532
45533 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45534
45535         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45536         __BEGIN/__END_DECLS.
45537
45538 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
45539
45540         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45541         NSS_STATUS_NOTFOUND if no record was found.
45542
45543 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45544
45545         * sunrpc/Makefile (headers): Add rpc/netdb.h.
45546         (headers-not-in-tirpc): Remove rpc/netdb.h
45547         * resolv/netdb.h: Revert last change.
45548
45549 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45550
45551         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45552         circular dependency between libgcc.a and libc.a.
45553
45554 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45555
45556         * resolv/netdb.h: Don't include <rpc/netdb.h>.
45557         * nis/Makefile: Don't install rpcsvc/*.
45558         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45559         instead of <rpc/types.h>.
45560         (MAXHOSTNAMELEN): Define.
45561
45562 2011-05-03  Andreas Schwab  <schwab@redhat.com>
45563
45564         * elf/ldconfig.c (add_dir): Don't crash on empty path.
45565
45566 2011-04-28  Maciej Babinski  <mbabinski@google.com>
45567
45568         [BZ #12714]
45569         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45570         gethostbyname4_r when IPv6 results are possible.
45571
45572 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
45573
45574         [BZ #12723]
45575         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45576         _PC_PIPE_BUF handling.
45577
45578 2011-04-30  Bruno Haible  <bruno@clisp.org>
45579
45580         [BZ #12717]
45581         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45582         * resolv/netdb.h (getnameinfo): Change type of flags parameter
45583         to 'int'.
45584         * inet/getnameinfo.c (getnameinfo): Likewise.
45585
45586 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
45587
45588         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45589         to groups setting in database lookup.
45590         * nss/nsswitch.conf: Add initgroups entry.
45591
45592 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
45593
45594         [BZ #12685]
45595         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45596         mode string.
45597         Patch by Eric Blake <eblake@redhat.com>.
45598
45599 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
45600
45601         * sunrpc/Makefile (need-export-routines): Add svc_run.
45602         (routines): Remove svc_run.
45603         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45604         * sunrpc/clnt_perr.c (clnt_perrno): Export.
45605         * sunrpc/svc_run.c (svc_run): Likewise.
45606         * sunrpc/svc_udp.c (svcudp_create): Likewise.
45607
45608 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
45609
45610         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45611         problem in reallocation in last patch.
45612
45613 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
45614
45615         * sunrpc/Makefile: Move inclusion of Rules.
45616
45617 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45618
45619         * nss/nss_files/files-initgroups.c: New file.
45620         * nss/Makefile (libnss_files-routines): Add files-initgroups.
45621         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45622         _nss_files_initgroups_dyn.
45623
45624 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
45625
45626         * elf/elf.h (R_ARM_IRELATIVE): Define.
45627
45628 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45629
45630         * po/ru.po: Update from translation team.
45631
45632 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45633
45634         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45635         dependencies.
45636
45637 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
45638
45639         [BZ #12653]
45640         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45641         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45642         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45643         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45644         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45645
45646 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
45647
45648         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45649         differing bytes.
45650         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45651         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45652         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45653
45654 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45655
45656         [BZ #12420]
45657         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45658         storing it.
45659         * stdlib/bug-getcontext.c: New file.
45660         * stdlib/Makefile: Add rules to build and run bug-getcontext.
45661
45662 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45663
45664         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45665         instructions into .machine "z9-109".
45666         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45667         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45668
45669 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45670
45671         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45672         between environment variables and auxiliary vector.
45673
45674 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
45675
45676         * Makefile: Add rules to build linkobj/libc.so.
45677         * include/libc-symbols.h: Define libc_hidden_nolink.
45678         * include/rpc/auth.h: Mark functions which are to be hidden.
45679         * include/rpc/auth_des.h: Likewise.
45680         * include/rpc/auth_unix.h: Likewise.
45681         * include/rpc/clnt.h: Likewise.
45682         * include/rpc/des_crypt.h: Likewise.
45683         * include/rpc/key_prot.h: Likewise.
45684         * include/rpc/pmap_clnt.h: Likewise.
45685         * include/rpc/pmap_prot.h: Likewise.
45686         * include/rpc/pmap_rmt.h: Likewise.
45687         * include/rpc/rpc_msg.h: Likewise.
45688         * include/rpc/svc.h: Likewise.
45689         * include/rpc/svc_auth.h: Likewise.
45690         * include/rpc/xdr.h: Likewise.
45691         * nis/Makefile: Link all DSOs against linkobj/libc.so.
45692         * nss/Makefile: Likewise.
45693         * sunrpc/Makefile: Don't install headers.  Build library with normal
45694         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
45695         * sunrpc/auth_des.c: Hide exported symbols by default, export some
45696         for the compat linking library.  Remove use of INTDEF/INTUSE.
45697         * sunrpc/auth_none.c: Likewise.
45698         * sunrpc/auth_unix.c: Likewise.
45699         * sunrpc/authdes_prot.c: Likewise.
45700         * sunrpc/authuxprot.c: Likewise.
45701         * sunrpc/clnt_gen.c: Likewise.
45702         * sunrpc/clnt_perr.c: Likewise.
45703         * sunrpc/clnt_raw.c: Likewise.
45704         * sunrpc/clnt_simp.c: Likewise.
45705         * sunrpc/clnt_tcp.c: Likewise.
45706         * sunrpc/clnt_udp.c: Likewise.
45707         * sunrpc/clnt_unix.c: Likewise.
45708         * sunrpc/des_crypt.c: Likewise.
45709         * sunrpc/des_soft.c: Likewise.
45710         * sunrpc/get_myaddr.c: Likewise.
45711         * sunrpc/key_call.c: Likewise.
45712         * sunrpc/key_prot.c: Likewise.
45713         * sunrpc/netname.c: Likewise.
45714         * sunrpc/pm_getmaps.c: Likewise.
45715         * sunrpc/pm_getport.c: Likewise.
45716         * sunrpc/pmap_clnt.c: Likewise.
45717         * sunrpc/pmap_prot.c: Likewise.
45718         * sunrpc/pmap_prot2.c: Likewise.
45719         * sunrpc/pmap_rmt.c: Likewise.
45720         * sunrpc/publickey.c: Likewise.
45721         * sunrpc/rpc_cmsg.c: Likewise.
45722         * sunrpc/rpc_common.c: Likewise.
45723         * sunrpc/rpc_dtable.c: Likewise.
45724         * sunrpc/rpc_prot.c: Likewise.
45725         * sunrpc/rpc_thread.c: Likewise.
45726         * sunrpc/rtime.c: Likewise.
45727         * sunrpc/svc.c: Likewise.
45728         * sunrpc/svc_auth.c: Likewise.
45729         * sunrpc/svc_authux.c: Likewise.
45730         * sunrpc/svc_raw.c: Likewise.
45731         * sunrpc/svc_run.c: Likewise.
45732         * sunrpc/svc_simple.c: Likewise.
45733         * sunrpc/svc_tcp.c: Likewise.
45734         * sunrpc/svc_udp.c: Likewise.
45735         * sunrpc/svc_unix.c: Likewise.
45736         * sunrpc/svcauth_des.c: Likewise.
45737         * sunrpc/xcrypt.c: Likewise.
45738         * sunrpc/xdr.c: Likewise.
45739         * sunrpc/xdr_array.c: Likewise.
45740         * sunrpc/xdr_float.c: Likewise.
45741         * sunrpc/xdr_intXX_t.c: Likewise.
45742         * sunrpc/xdr_mem.c: Likewise.
45743         * sunrpc/xdr_rec.c: Likewise.
45744         * sunrpc/xdr_ref.c: Likewise.
45745         * sunrpc/xdr_sizeof.c: Likewise.
45746         * sunrpc/xdr_stdio.c: Likewise.
45747
45748 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
45749
45750         [BZ #12650]
45751         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45752         * sysdeps/ia64/dl-tls.h: Likewise.
45753         * sysdeps/powerpc/dl-tls.h: Likewise.
45754         * sysdeps/s390/dl-tls.h: Likewise.
45755         * sysdeps/sh/dl-tls.h: Likewise.
45756         * sysdeps/sparc/dl-tls.h: Likewise.
45757         * sysdeps/x86_64/dl-tls.h: Likewise.
45758         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45759
45760 2011-03-14  Andreas Schwab  <schwab@redhat.com>
45761
45762         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45763         rpath element also skip the following colon.
45764         (expand_dynamic_string_token): Add is_path parameter and pass
45765         down to DL_DST_REQUIRED and _dl_dst_substitute.
45766         (decompose_rpath): Call expand_dynamic_string_token with
45767         non-zero is_path.  Ignore empty rpaths.
45768         (_dl_map_object_from_fd): Call expand_dynamic_string_token
45769         with zero is_path.
45770
45771 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
45772
45773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45774         Make cancelable.
45775
45776 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
45777
45778         [BZ #12655]
45779         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45780         Patch by Filipe David Manana <fdmanana@apache.org>.
45781
45782 2011-04-07  Andreas Schwab  <schwab@redhat.com>
45783
45784         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45785         Maintain aligned stack.
45786         (CHECK_RSP): Remove unused macro.
45787
45788 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
45789
45790         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45791         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45792
45793 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
45794
45795         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45796
45797         * include/features.h: Mention __USE_XOPEN2K8 in comment.
45798
45799 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
45800
45801         [BZ #12518]
45802         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45803         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45804         * sysdeps/x86_64/memmove.c: New file.
45805         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45806         (memcpy): Renamed to ...
45807         (__new_memcpy): This.
45808         (memcpy): Provide GLIBC_2_14 memcpy.
45809         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45810         (memcpy): Provide GLIBC_2_2_5 memcpy.
45811
45812 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45813
45814         [BZ #12631]
45815         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45816
45817 2011-03-30  Andreas Schwab  <schwab@redhat.com>
45818
45819         * misc/syncfs.c: New file.
45820         * misc/Makefile (routines): Add syncfs.
45821         * posix/unistd.h: Declare syncfs.
45822         * sysdeps/unix/syscalls.list: Add syncfs.
45823
45824 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45825
45826         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45827         open_by_handle_at.
45828         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45829         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45830         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45831         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45832         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45833         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45834         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45835
45836 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45837
45838         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45839         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45840         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45841         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45842         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45843         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45844         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45845
45846         * io/Makefile: Compile fallocate.c, fallocate64.c, and
45847         sync_file_range.c with -fexceptions.
45848         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45849         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45850         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45851         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45852         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45853         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45854         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45855         sync_file_range as cancellation point
45856         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
45857         now a wrapper around __call_sync_file_range with cancellation handling.
45858         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45859         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
45860         function name to __call_sync_file_range.
45861         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45862         Add call_sync_file_range.
45863
45864 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45865
45866         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45867         bits/timex.h.
45868
45869 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45870
45871         * iconv/iconv.h: Fix typo in comment.
45872         * io/fcntl.h: Likewise.
45873         * libio/stdio.h: Likewise.
45874         * posix/spawn.h: Likewise.
45875         * posix/unistd.h: Likewise.
45876         * stdlib/stdlib.h: Likewise.
45877         * time/time.h: Likewise.
45878         * wcsmbs/wchar.h: Likewise.
45879
45880         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45881         open_by_handle): Add.
45882         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45883         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
45884         Augment a few comments.
45885         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45886         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45887         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45888         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45889         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45890         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45891         open_by_handle.
45892
45893         * io/fcntl.h (AT_EMPTY_PATH): Define.
45894
45895 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
45896
45897         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45898         * sysdeps/unix/sysv/linux/bits/time.h: New file.
45899         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45900         to...
45901         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
45902         * Versions.def: Add GLIBC_2.14.
45903         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45904         Export.
45905
45906 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
45907
45908         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45909         round counter.
45910         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45911
45912 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45913
45914         [BZ #12597]
45915         * string/test-strncmp.c (do_page_test): New function.
45916         (check2): Likewise.
45917         (test_main): Call check2.
45918         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45919
45920 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
45921
45922         [BZ #12587]
45923         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45924         Handle cache information in CPU leaf 4.
45925         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45926
45927 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
45928
45929         [BZ #12583]
45930         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45931         character representation.
45932         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45933
45934 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
45935
45936         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45937         END(__isnan) to END(__isnanf) to match function entry point/label
45938         EALIGN(__isnanf,...).
45939
45940 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
45941
45942         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45943
45944 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
45945
45946         [BZ #12510]
45947         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45948         copy from the symbol referenced in the relocation to initialize the
45949         used variable.
45950         Patch by Piotr Bury <pbury@goahead.com>.
45951         * elf/Makefile: Add rules to build and tst-unique3.
45952         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45953         * elf/tst-unique3.cc: New file.
45954         * elf/tst-unique3.h: New file.
45955         * elf/tst-unique3lib.cc: New file.
45956         * elf/tst-unique3lib2.cc: New file.
45957
45958         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45959
45960 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
45961
45962         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45963         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
45964         to _start.
45965
45966 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
45967
45968         * elf/dl-load.c (_dl_map_object): If we are looking for the first
45969         to-be-loaded object along a path to loader is ld.so.
45970
45971 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45972             Ulrich Drepper  <drepper@gmail.com>
45973
45974         * sysdeps/x86_64/memset.S: After aligning destination, code
45975         branches to different locations depending on the value of
45976         misalignment, when multiarch is enabled. Fix this.
45977
45978 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45979
45980         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45981         Set _x86_64_preferred_memory_instruction for AMD processsors.
45982         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45983         Set bit_Prefer_SSE_for_memop for AMD processors.
45984
45985 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
45986
45987         * libio/fmemopen.c (fmemopen): Optimize a bit.
45988
45989 2011-03-03  Andreas Schwab  <schwab@redhat.com>
45990
45991         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45992
45993 2011-03-03  Roland McGrath  <roland@redhat.com>
45994
45995         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45996
45997 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
45998
45999         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46000         __bzero_ultra1 instead of __memset_ultra1.
46001
46002 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46003             Ulrich Drepper  <drepper@gmail.com>
46004
46005         [BZ #12509]
46006         * include/link.h (struct link_map): Add l_orig_initfini.
46007         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46008         returning unsuccessfully.
46009         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46010         close of a file loaded at startup, restore the original l_initfini
46011         list.
46012         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46013         list, store the pointer.
46014         * elf/Makefile ($(objpfx)noload-mem): New rule.
46015         (noload-ENV): Define.
46016         (tests): Add $(objpfx)noload-mem.
46017         * elf/noload.c: Include <memcheck.h>.
46018         (main): Call mtrace.  Close all opened handles.
46019
46020 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46021
46022         [BZ #12454]
46023         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46024         dependencies are missing.
46025
46026 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46027
46028         Fix __if_freereq crash: Unlike the generic version which uses free,
46029         Hurd needs munmap.
46030         * sysdeps/mach/hurd/ifreq.h: New file.
46031
46032 2011-01-27  Petr Baudis  <pasky@suse.cz>
46033             Ulrich Drepper  <drepper@gmail.com>
46034
46035         [BZ 12445]#
46036         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46037         to extend_alloca().
46038         * stdio-common/bug23.c: New file.
46039         * stdio-common/Makefile (tests): Add bug23.
46040
46041 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46042             Ulrich Drepper  <drepper@gmail.com>
46043
46044         [BZ #12489]
46045         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46046         before performing relro protection.  At old place add assertion
46047         to make sure nothing changed.
46048
46049 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46050             Glauber de Oliveira Costa  <glommer@gmail.com>
46051
46052         * elf/elf.h: Add new ARM TLS relocs.
46053
46054 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46055
46056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46057         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46058         cast from r3.
46059         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46060         'tests' variable.
46061         * sysdeps/wordsize-64/tst-writev.c: New file.
46062
46063 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46064
46065         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46066         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46067         insns in _dl_start to prevent a TOC reference before relocs are
46068         resolved.
46069
46070 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46071
46072         [BZ #12469]
46073         * Makeconfig: Remove RANLIB definition.
46074         * Makerules: Don't use RANLIB.
46075         * aclocal.m4: Remove ranlib test.
46076         * configure.in: No need to check for ranlib.
46077         * elf/rtld-Rules: Don't use RANLIB.
46078
46079 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46080
46081         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46082         protection macro.
46083         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46084         inclusion protection macro.
46085
46086         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46087         SIGRTMIN and SIGRTMAX and print information in that case only when
46088         SIGRTMIN is defined.
46089
46090 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46091
46092         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46093         arginfo fn returning -1.
46094
46095         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46096         and thousands string is zero terminated.
46097
46098 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46099
46100         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46101         sysdeps/unix/sysv/linux/bits/socket.h.
46102
46103 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46104
46105         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46106         (__CPU_COUNT): Remove old macros.
46107         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46108         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46109         (__CPU_ALLOC, __CPU_FREE): Add macros.
46110         (__sched_cpualloc, __sched_cpufree): Add declarations.
46111
46112 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46113
46114         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46115         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46116         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46117         (readdhstai): Return value of addhstaiX call.
46118         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46119         (addgrbyX): Return value returned by cache_addgr.
46120         (readdgrbyname): Return value returned by addgrbyX.
46121         (readdgrbygid): Likewise.
46122         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46123         (addpwbyX): Return value returned by cache_addpw.
46124         (readdpwbyname): Return value returned by addhstbyX.
46125         (readdpwbyuid): Likewise.
46126         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46127         (addservbyX): Return value returned by cache_addserv.
46128         (readdservbyname): Return value returned by addservbyX:
46129         (readdservbyport): Likewise.
46130         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46131         (addhstbyX): Return value returned by cache_addhst.
46132         (readdhstbyname): Return value returned by addhstbyX.
46133         (readdhstbyaddr): Likewise.
46134         (readdhstbynamev6): Likewise.
46135         (readdhstbyaddrv6): Likewise.
46136         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46137         (readdinitgroups): Return value returned by addinitgroupsX.
46138         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46139         (prune_cache): Keep track of timeout value of re-added entries.
46140         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46141         * nscd/nscd.h: Adjust prototypes of readd* functions.
46142
46143 2011-02-04  Roland McGrath  <roland@redhat.com>
46144
46145         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46146         (nis_stats): Likewise.
46147         * nis/nis_modify.c (nis_modify): Likewise.
46148         * nis/nis_remove.c (nis_remove): Likewise.
46149         * nis/nis_add.c (nis_add): Likewise.
46150
46151         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46152
46153         * posix/fnmatch_loop.c: Add some consts.
46154
46155         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46156
46157 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46158
46159         [BZ #12460]
46160         * config.make.in (config-cflags-novzeroupper): Define.
46161         * configure.in: Substitute libc_cv_cc_novzeroupper.
46162         * elf/Makefile (AVX-CFLAGS): Define.
46163         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46164         (CFLAGS-tst-auditmod4a.c): Likewise.
46165         (CFLAGS-tst-auditmod4b.c): Likewise.
46166         (CFLAGS-tst-auditmod6b.c): Likewise.
46167         (CFLAGS-tst-auditmod6c.c): Likewise.
46168         (CFLAGS-tst-auditmod7b.c): Likewise.
46169         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46170
46171 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46172
46173         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46174         function to the callback.
46175         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46176
46177 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46178
46179         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46180         of errno.
46181
46182 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46183
46184         [BZ #11724]
46185         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46186         of constructors.
46187         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46188         of destructors.
46189         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46190
46191         [BZ #11724]
46192         * elf/Makefile: Add rules to build and run new test.
46193         * elf/tst-initorder.c: New file.
46194         * elf/tst-initorder.exp: New file.
46195         * elf/tst-initordera1.c: New file.
46196         * elf/tst-initordera2.c: New file.
46197         * elf/tst-initordera3.c: New file.
46198         * elf/tst-initordera4.c: New file.
46199         * elf/tst-initorderb1.c: New file.
46200         * elf/tst-initorderb2.c: New file.
46201         * elf/tst-order-a1.c: New file.
46202         * elf/tst-order-a2.c: New file.
46203         * elf/tst-order-a3.c: New file.
46204         * elf/tst-order-a4.c: New file.
46205         * elf/tst-order-b1.c: New file.
46206         * elf/tst-order-b2.c: New file.
46207         * elf/tst-order-main.c: New file.
46208         New test case by George Gensure <werkt0@gmail.com>.
46209
46210 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46211
46212         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46213         decoding ACE if AI_CANONIDN.
46214
46215 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46216
46217         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46218
46219 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46220
46221         * version.h (RELEASE): Bump for 2.13 release.
46222         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46223
46224         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46225
46226         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46227         MADV_NOHUGEPAGE.
46228         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46229         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46230         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46231         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46232         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46233         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46234
46235         * posix/getconf.c: Update copyright year.
46236         * catgets/gencat.c: Likewise.
46237         * csu/version.c: Likewise.
46238         * debug/catchsegv.sh: Likewise.
46239         * debug/xtrace.sh: Likewise.
46240         * elf/ldconfig.c: Likewise.
46241         * elf/ldd.bash.in: Likewise.
46242         * elf/sprof.c (print_version): Likewise.
46243         * iconv/iconv_prog.c: Likewise.
46244         * iconv/iconvconfig.c: Likewise.
46245         * locale/programs/locale.c: Likewise.
46246         * locale/programs/localedef.c: Likewise.
46247         * malloc/memusage.sh: Likewise.
46248         * malloc/mtrace.pl: Likewise.
46249         * nscd/nscd.c (print_version): Likewise.
46250         * nss/getent.c: Likewise.
46251
46252         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46253         PF_CAIF, and PF_ALG.
46254         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46255
46256 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
46257
46258         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46259         (modules-names): Use them.
46260         (ifunc-test-modules, ifunc-pie-tests): Define.
46261         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46262         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46263         (test-extras): Likewise.
46264         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46265         $(compile-command.c).
46266         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46267         (all-built-dso): Define.
46268         (check-textrel.out, check-execstack.out): Depend on it.
46269
46270         * configure.in: Don't override --enable-multi-arch.
46271
46272 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
46273
46274         [BZ #6812]
46275         * nscd/hstcache.c (tryagain): Define.
46276         (cache_addhst): Return tryagain not notfound for temporary errors.
46277         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46278         failed.
46279
46280 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
46281
46282         [BZ #10563]
46283         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46284         to make the syscall.
46285         * sysdeps/unix/sysv/linux/setgroups.c: New file.
46286
46287         [BZ #12378]
46288         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46289         and fall back to matching as normal character if the string ends before
46290         the matching ']' is found.  This is what POSIX requires.
46291         * posix/testfnm.c: Adjust test result.
46292         * posix/globtest.sh: Adjust test result.  Add new test.
46293         * posix/tst-fnmatch.input: Likewise.
46294         * posix/tst-fnmatch2.c: Add new test.
46295
46296 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
46297
46298         * elf/Makefile (check-execstack): Revert last change.  Depend on
46299         check-execstack.h.
46300         (check-execstack.h): New target.
46301         (generated): Add check-execstack.h.
46302         * elf/check-execstack.c: Include "check-execstack.h".
46303         (main): Revert last change.
46304         (handle_file): Return zero if GNU_STACK is absent and
46305         DEFAULT_STACK_PERMS doesn't include PF_X.
46306
46307 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
46308
46309         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46310         in child fails because the descriptor is already closed.
46311         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46312         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46313         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46314
46315         [BZ #12397]
46316         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46317         syscall.
46318
46319         [BZ #10484]
46320         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46321         temporary buffer used to handle multi lookups locally.
46322         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46323
46324 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46325
46326         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46327         loader is ld.so.
46328
46329 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
46330
46331         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46332         alignment for SSE2.
46333
46334 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46335
46336         [BZ #12394]
46337         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46338         characters.  When rounding increased number of integer digits recompute
46339         number of groups.
46340         * stdio-common/tst-grouping.c: New file.
46341         * stdio-common/Makefile: Add rules to build and run tst-grouping.
46342
46343 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
46344
46345         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46346         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
46347
46348         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46349         void.
46350         * bits/select.h: Likewise.
46351
46352 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
46353
46354         * po/ja.po: Update from translation team.
46355
46356 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
46357
46358         [BZ #11155]
46359         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46360         implementation just like for lxstat, fxstatat, et al.
46361
46362 2010-12-27  Jim Meyering  <meyering@redhat.com>
46363
46364         [BZ #12348]
46365         * posix/regexec.c (build_trtable): Return failure indication upon
46366         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
46367
46368 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
46369
46370         [BZ #12201]
46371         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46372         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46373         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46374         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46375
46376         [BZ #12207]
46377         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46378
46379         [BZ #12204]
46380         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46381         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46382
46383 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
46384
46385         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46386         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46387         script has SORT_BY_INIT_PRIORITY.
46388         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46389         NO_CTORS_DTORS_SECTIONS is defined.
46390         * elf/soinit.c: Likewise.
46391         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46392         NO_CTORS_DTORS_SECTIONS is defined.
46393         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46394         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46395         * sysdeps/sh/init-first.c: Likewise.
46396         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46397
46398 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
46399
46400         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46401         always use the slow path.
46402
46403 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
46404
46405         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46406         similar rule which adds the sysdep directories to the header search in
46407         order to pick up the correct platform stackinfo.h.
46408         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46409         perform test if it is, otherwise return successfully without testing.
46410         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46411         DEFAULT_STACK_PERMS define in stackinfo.h.
46412         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46413         defined in stackinfo.h.
46414         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46415         DEFAULT_STACK_PERMS defined in stackinfo.h.
46416         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46417         * sysdeps/ia64/stackinfo.h: Likewise.
46418         * sysdeps/s390/stackinfo.h: Likewise.
46419         * sysdeps/sh/stackinfo.h: Likewise.
46420         * sysdeps/sparc/stackinfo.h: Likewise.
46421         * sysdeps/x86_64/stackinfo.h: Likewise.
46422         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46423         PF_X for powerpc64.  Retain PF_X for powerpc32.
46424
46425 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
46426
46427         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46428         accurately.
46429         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46430         GETDENTS_64BIT_ALIGNED.
46431
46432 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
46433
46434         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46435
46436 2010-12-10  Andreas Schwab  <schwab@redhat.com>
46437
46438         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46439         _GNU_SOURCE.
46440
46441         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46442         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46443         Remove __restrict.
46444         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46445         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46446
46447 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
46448
46449         [BZ #11655]
46450         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46451         are initialized.
46452
46453 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
46454
46455         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46456
46457 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
46458
46459         * po/it.po: Update from translation team.
46460
46461 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
46462
46463         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46464         unused codes.
46465
46466 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
46467
46468         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46469
46470 2010-11-24  Andreas Schwab  <schwab@redhat.com>
46471
46472         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46473         specially.
46474         (gaih_getanswer_slice): Likewise.
46475
46476 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
46477
46478         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46479
46480 2010-05-31  Petr Baudis  <pasky@suse.cz>
46481
46482         [BZ #11149]
46483         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46484         silently even in the chroot mode.
46485
46486 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
46487
46488         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46489         last patch a bit.  Pretty printing
46490
46491 2010-05-31  Petr Baudis <pasky@suse.cz>
46492
46493         [BZ #10085]
46494         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46495         initialization of skip_initgroups_dyn.
46496
46497 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
46498
46499         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46500         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46501
46502 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
46503
46504         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46505
46506 2010-11-11  Andreas Schwab  <schwab@redhat.com>
46507
46508         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46509         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46510         (tst-fnmatch-ENV): Set MALLOC_TRACE.
46511         ($(objpfx)tst-fnmatch-mem): New rule.
46512         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46513         * posix/tst-fnmatch.c (main): Call mtrace.
46514
46515 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
46516
46517         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46518         Support Intel processor model 6 and model 0x2c.
46519
46520 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
46521
46522         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46523           signed comparison.
46524
46525 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
46526
46527         [BZ #12205]
46528         * string/test-strncasecmp.c (check_result): New function.
46529         (do_one_test): Use it.
46530         (check1): New function.
46531         (test_main): Use it.
46532         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46533         Support strcasecmp and strncasecmp.
46534
46535 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
46536
46537         [BZ #12194]
46538         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46539         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46540
46541 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46542
46543         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46544         IFUNC support.
46545         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46546         memset-x86-64.
46547         * sysdeps/x86_64/multiarch/bzero.S: New file.
46548         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46549         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46550         * sysdeps/x86_64/multiarch/memset.S: New file.
46551         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46552         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46553         Set bit_Prefer_SSE_for_memop for Intel processors.
46554         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46555         Define.
46556         (index_Prefer_SSE_for_memop): Define.
46557         (HAS_PREFER_SSE_FOR_MEMOP): Define.
46558
46559 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
46560
46561         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46562         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46563
46564 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
46565
46566         [BZ #12191]
46567         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46568         (__x86_64_raw_data_cache_size_half): Likewise.
46569         (__x86_64_raw_shared_cache_size): Likewise.
46570         (__x86_64_raw_shared_cache_size_half): Likewise.
46571
46572         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46573         (__x86_64_raw_data_cache_size_half): Likewise.
46574         (__x86_64_raw_shared_cache_size): Likewise.
46575         (__x86_64_raw_shared_cache_size_half): Likewise.
46576         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46577         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46578         and __x86_64_raw_shared_cache_size_half.  Round
46579         __x86_64_data_cache_size_half, __x86_64_data_cache_size
46580         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46581         to multiple of 256 bytes.
46582
46583 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
46584
46585         [BZ #12167]
46586         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46587         of inacessible symlinks.  Verify result of symlink before returning it.
46588         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46589         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46590
46591 2010-10-28  Erich Ritz  <erichritz@gmail.com>
46592
46593         * math/math.h (isinf): Fix typo in comment.
46594
46595 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
46596
46597         * po/da.po: Update from translation team.
46598
46599 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
46600
46601         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46602         is added to the list.
46603
46604 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46605             Ulrich Drepper  <drepper@gmail.com>
46606
46607         * elf/dl-object.c (_dl_new_object): Don't append the new object to
46608         the global list here.  Move code to...
46609         (_dl_add_to_namespace_list): ...here.  New function.
46610         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46611         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46612         * elf/dl-load.c (lose): Don't remove the element from the list.
46613         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46614         (_dl_map_object): Likewise.
46615
46616 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
46617
46618         [BZ #12159]
46619         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46620         into all bytes of SSE register.
46621         Patch by Richard Li <richardpku@gmail.com>.
46622
46623 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
46624
46625         [BZ #12140]
46626         * malloc/malloc.c (_int_free): Fill correct number of bytes when
46627         perturbing.
46628
46629 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
46630
46631         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46632         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46633         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46634         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46636         submachine.
46637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46638
46639 2010-10-22  Andreas Schwab  <schwab@redhat.com>
46640
46641         * include/dlfcn.h (__RTLD_SECURE): Define.
46642         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
46643         mode & __RTLD_SECURE instead.
46644         (open_path): Rename preloaded parameter to secure.
46645         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46646         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46647         * elf/dl-deps.c (openaux): Likewise.
46648         * elf/rtld.c (struct map_args): Remove is_preloaded.
46649         (map_doit): Don't use it.
46650         (dl_main): Likewise.
46651         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46652         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46653
46654 2010-09-09  Andreas Schwab  <schwab@redhat.com>
46655
46656         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46657         (sysd-rules-targets): Remove duplicates.
46658         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46659         rtld-%.$o dependency.
46660
46661 2010-10-18  Andreas Schwab  <schwab@redhat.com>
46662
46663         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46664         _dl_map_object do it.
46665
46666 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
46667
46668         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46669         fast fma builtins, define the macros in the C99 standard.
46670         (FP_FAST_FMAF): Likewise.
46671         (FP_FAST_FMAL): Likewise.
46672         * sysdeps/x86_64/bits/mathdef.h: Likewise.
46673
46674         * bits/mathdef.h: Update copyright year.
46675         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46676
46677 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
46678
46679         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46680         builtins, define the macros in the C99 standard.
46681         (FP_FAST_FMAF): Likewise.
46682         (FP_FAST_FMAL): Likewise.
46683         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46684         multiply/add.
46685         (FP_FAST_FMAF): Likewise.
46686
46687 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
46688
46689         [BZ #3268]
46690         * math/libm-test.inc (fma_test): Some new testcases.
46691         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46692         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46693         y and infinite z.  Do multiplication by C already in long double.
46694         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46695         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46696         y and infinite z.  Do bitwise or of inexact bit into u.d.
46697         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46698         * sysdeps/i386/fpu/s_fmaf.S: Removed.
46699         * sysdeps/i386/fpu/s_fma.S: Removed.
46700         * sysdeps/i386/fpu/s_fmal.S: Removed.
46701
46702 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
46703
46704         [BZ #3268]
46705         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46706         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46707         computation is not scheduled after fetestexcept.  Fix value
46708         of minimum denormal long double.
46709
46710 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
46711
46712         [BZ #3268]
46713         * math/libm-test.inc (fma_test): Add some more tests.
46714         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46715         correctly.
46716
46717 2010-10-15  Andreas Schwab  <schwab@redhat.com>
46718
46719         * scripts/data/localplt-s390-linux-gnu.data: New file.
46720         * scripts/data/localplt-s390x-linux-gnu.data: New file.
46721
46722 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
46723
46724         [BZ #3268]
46725         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46726         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46727         instead of dbl-64.
46728         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46729         inlines.
46730         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46731         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46732         if one of x and y is very large and the other is subnormal.
46733         * sysdeps/s390/fpu/s_fmaf.c: New file.
46734         * sysdeps/s390/fpu/s_fma.c: New file.
46735         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46736         * sysdeps/powerpc/fpu/s_fma.S: New file.
46737         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46738         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46739         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46740
46741 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
46742
46743         [BZ #3268]
46744         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46745         fma tests.
46746         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46747         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46748         * sysdeps/i386/i686/multiarch/s_fma.c: Include
46749         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46750         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46751         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46752         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46753
46754 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
46755
46756         [BZ #12078]
46757         * posix/regcomp.c (parse_branch): One more memory leak plugged.
46758         * posix/bug-regex31.input: Add test case.
46759
46760 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46761
46762         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46763         * posix/bug-regex31.input: New file.
46764
46765         [BZ #12078]
46766         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46767         (parse_sub_exp): Fix last change, use postorder.
46768
46769         * posix/bug-regex31.c: New file.
46770         * posix/Makefile: Add rules to build and run bug-regex31.
46771
46772         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46773
46774         [BZ #12078]
46775         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46776
46777         [BZ #12108]
46778         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46779         to have entries in sys_siglist.
46780
46781         [BZ #12093]
46782         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46783         be NULL.
46784
46785 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
46786
46787         [BZ #3268]
46788         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46789         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46790         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46791         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46792         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46793         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46794         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46795         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46796         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46797         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46798         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46799         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46800         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46801         * math/ftestexcept.c (fetestexcept): Likewise.
46802         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46803         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46804         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46805         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46806         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46807         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46808         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46809
46810 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46811
46812         [BZ #12107]
46813         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46814         newline.
46815
46816 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
46817
46818         * string/bug-strstr1.c: New file.
46819         * string/Makefile: Add rules to build and run bug-strstr1.
46820
46821 2010-10-05  Eric Blake  <eblake@redhat.com>
46822
46823         [BZ #12092]
46824         * string/str-two-way.h (two_way_long_needle): Always clear memory
46825         when skipping input due to the shift table.
46826
46827 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
46828
46829         [BZ #12005]
46830         * malloc/mcheck.c: Handle large requests.
46831
46832         [BZ #12077]
46833         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46834         for strncmp and strncasecmp.
46835         * string/stratcliff.c: Add tests for strcmp and strncmp.
46836         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46837
46838 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46839
46840         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46841         __set_fpscr.
46842
46843 2010-09-30  Andreas Jaeger  <aj@suse.de>
46844
46845         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46846         (CGROUP_SUPER_MAGIC): Define.
46847         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46848         Handle btrfs and cgroup file systems.
46849         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46850         Likewise.
46851
46852 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
46853
46854         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46855         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46856
46857 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46858
46859         [BZ #12067]
46860         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46861         trying to locate the ELF header.
46862
46863 2010-09-27  Andreas Schwab  <schwab@redhat.com>
46864
46865         [BZ #11611]
46866         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46867         Mask out sign-bit copies when constructing f_fsid.
46868
46869 2010-09-24  Petr Baudis <pasky@suse.cz>
46870
46871         * debug/stack_chk_fail_local.c: Add missing licence exception.
46872         * debug/warning-nop.c: Likewise.
46873
46874 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
46875
46876         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46877         implementing getdents64 using getdents syscall, set d_type if
46878         __ASSUME_GETDENTS32_D_TYPE.
46879
46880 2010-09-16  Andreas Schwab  <schwab@redhat.com>
46881
46882         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46883         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46884
46885 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
46886
46887         [BZ #12037]
46888         * posix/unistd.h: Undo change of feature selection for ftruncate from
46889         2010-01-11.
46890
46891 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
46892
46893         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46894         detection.
46895
46896 2010-09-20  Andreas Schwab  <schwab@redhat.com>
46897
46898         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46899         fanotify_mark.
46900         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46901
46902 2010-09-14  Andreas Schwab  <schwab@redhat.com>
46903
46904         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46905         variables after CHECK_SP call.
46906         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46907
46908 2010-09-13  Andreas Schwab  <schwab@redhat.com>
46909             Ulrich Drepper  <drepper@redhat.com>
46910
46911         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46912         re-relocationg ld.so.
46913         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46914         _dl_init_paths call.
46915         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
46916         here anymore.
46917
46918 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
46919
46920         * resolv/res_init.c (__res_vinit): Count the default server we added.
46921
46922 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
46923             Ulrich Drepper  <drepper@redhat.com>
46924
46925         [BZ #11968]
46926         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46927         (____longjmp_chk): Use %ebx for saving value across system call.
46928         Add unwind info.
46929
46930 2010-09-06  Andreas Schwab  <schwab@redhat.com>
46931
46932         * manual/Makefile: Don't mix pattern rules with normal rules.
46933
46934 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
46935
46936         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46937         operation.
46938         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46939         * libio/iofopncook.c (_IO_cookie_init): Likewise.
46940         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46941         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46942         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46943         Likewise.
46944
46945 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
46946
46947         [BZ #11979]
46948         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46949         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46950
46951 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
46952
46953         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46954         * sysdeps/x86_64/addmul_1.S: Likewise.
46955         * sysdeps/x86_64/lshift.S: Likewise.
46956         * sysdeps/x86_64/mul_1.S: Likewise.
46957         * sysdeps/x86_64/rshift.S: Likewise.
46958         * sysdeps/x86_64/sub_n.S: Likewise.
46959         * sysdeps/x86_64/submul_1.S: Likewise.
46960
46961 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46962
46963         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46964         Define __sched_param instead of SCHED_* and sched_param when
46965         <bits/sched.h> is included with __need_schedparam defined.
46966         * bits/sched.h [__need_schedparam]
46967         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46968         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46969         (__defined_schedparam): Define to 1.
46970         (__sched_param): New structure, identical to sched_param.
46971         (__need_schedparam): Undefine.
46972
46973 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
46974
46975         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46976         (epoll_create1): Declare.
46977
46978         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46979
46980 2010-08-31  Andreas Schwab  <schwab@redhat.com>
46981
46982         [BZ #7066]
46983         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46984         shifting retval into place.
46985
46986 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
46987
46988         * nis/rpcsvc/nis.h: Update copyright notice.
46989         * nis/rpcsvc/nis.x: Likewise.
46990         * nis/rpcsvc/nis_callback.h: Likewise.
46991         * nis/rpcsvc/nis_callback.x: Likewise.
46992         * nis/rpcsvc/nis_object.x: Likewise.
46993         * nis/rpcsvc/nis_tags.h: Likewise.
46994         * nis/rpcsvc/yp.h: Likewise.
46995         * nis/rpcsvc/yp.x: Likewise.
46996         * nis/rpcsvc/ypupd.h: Likewise.
46997         * nis/yp_xdr.c: Likewise.
46998         * nis/ypupdate_xdr.c: Likewise.
46999
47000         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47001         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47002         (pmap_getport): Use __libc_rpc_getport.
47003         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47004         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47005         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47006
47007 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47008
47009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47010         fanotify_mark.
47011
47012 2010-08-27  Roland McGrath  <roland@redhat.com>
47013
47014         * sysdeps/i386/i686/multiarch/Makefile
47015         (CFLAGS-varshift.c): New variable.
47016
47017 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47018
47019         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47020         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47021
47022         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47023
47024         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47025
47026 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47027
47028         * sysdeps/x86_64/strlen.S: Unroll the loop.
47029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47030         strlen-sse2 strlen-sse2-bsf.
47031         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47032         __strlen_no_bsf if bit_Slow_BSF is set.
47033         (__strlen_sse42): Removed.
47034         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47035         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47036
47037 2010-08-25  Roland McGrath  <roland@redhat.com>
47038
47039         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47040         * sysdeps/x86_64/multiarch/varshift.c: New file.
47041         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47042         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47043         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47044         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47045
47046 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47047
47048         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47049         strlen-sse2 strlen-sse2-bsf.
47050         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47051         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47052         (__strlen_sse2): Removed.
47053         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47054         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47055         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47056         bit_Slow_BSF for Atom.
47057         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47058         (index_Slow_BSF): Define.
47059         (HAS_SLOW_BSF): Define.
47060
47061 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47062
47063         [BZ #10851]
47064         * resolv/res_init.c (__res_vinit): When no server address at all
47065         is given default to loopback.
47066
47067 2010-08-24  Roland McGrath  <roland@redhat.com>
47068
47069         * configure.in: Remove config-name.h generation.
47070         * configure: Regenerated.
47071         * config-name.in: File removed.
47072         * scripts/config-uname.sh: New file.
47073         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47074         ($(objdir)config-name.h): New target.
47075
47076         * sunrpc/rpc_parse.h: Avoid nested comment.
47077
47078 2010-08-24  Richard Henderson  <rth@redhat.com>
47079             Ulrich Drepper  <drepper@redhat.com>
47080             H.J. Lu  <hongjiu.lu@intel.com>
47081
47082         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47083         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47084         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47085         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47086         _mm_alignr_epi8 with _mm_loadu_si128.
47087         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47088         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47089         (__m128i_shift_right): Removed.
47090         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47091         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47092         * sysdeps/x86_64/multiarch/varshift.h: New file.
47093         * sysdeps/x86_64/multiarch/varshift.S: New file.
47094
47095 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47096
47097         * configure.in: Move assembler checks to before sysdep dir checking.
47098
47099 2010-08-20  Petr Baudis  <pasky@suse.cz>
47100
47101         * LICENSES: Sync the sunrpc license.
47102
47103 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47104
47105         * sunrpc/auth_des.c: Update copyright notice once again.
47106         * sunrpc/auth_none.c: Likewise.
47107         * sunrpc/auth_unix.c: Likewise.
47108         * sunrpc/authdes_prot.c: Likewise.
47109         * sunrpc/authuxprot.c: Likewise.
47110         * sunrpc/bindrsvprt.c: Likewise.
47111         * sunrpc/clnt_gen.c: Likewise.
47112         * sunrpc/clnt_perr.c: Likewise.
47113         * sunrpc/clnt_raw.c: Likewise.
47114         * sunrpc/clnt_simp.c: Likewise.
47115         * sunrpc/clnt_tcp.c: Likewise.
47116         * sunrpc/clnt_udp.c: Likewise.
47117         * sunrpc/clnt_unix.c: Likewise.
47118         * sunrpc/des_crypt.c: Likewise.
47119         * sunrpc/des_soft.c: Likewise.
47120         * sunrpc/get_myaddr.c: Likewise.
47121         * sunrpc/getrpcport.c: Likewise.
47122         * sunrpc/key_call.c: Likewise.
47123         * sunrpc/key_prot.c: Likewise.
47124         * sunrpc/openchild.c: Likewise.
47125         * sunrpc/pm_getmaps.c: Likewise.
47126         * sunrpc/pm_getport.c: Likewise.
47127         * sunrpc/pmap_clnt.c: Likewise.
47128         * sunrpc/pmap_prot.c: Likewise.
47129         * sunrpc/pmap_prot2.c: Likewise.
47130         * sunrpc/pmap_rmt.c: Likewise.
47131         * sunrpc/rpc/auth.h: Likewise.
47132         * sunrpc/rpc/auth_unix.h: Likewise.
47133         * sunrpc/rpc/clnt.h: Likewise.
47134         * sunrpc/rpc/des_crypt.h: Likewise.
47135         * sunrpc/rpc/key_prot.h: Likewise.
47136         * sunrpc/rpc/netdb.h: Likewise.
47137         * sunrpc/rpc/pmap_clnt.h: Likewise.
47138         * sunrpc/rpc/pmap_prot.h: Likewise.
47139         * sunrpc/rpc/pmap_rmt.h: Likewise.
47140         * sunrpc/rpc/rpc.h: Likewise.
47141         * sunrpc/rpc/rpc_des.h: Likewise.
47142         * sunrpc/rpc/rpc_msg.h: Likewise.
47143         * sunrpc/rpc/svc.h: Likewise.
47144         * sunrpc/rpc/svc_auth.h: Likewise.
47145         * sunrpc/rpc/types.h: Likewise.
47146         * sunrpc/rpc/xdr.h: Likewise.
47147         * sunrpc/rpc_clntout.c: Likewise.
47148         * sunrpc/rpc_cmsg.c: Likewise.
47149         * sunrpc/rpc_common.c: Likewise.
47150         * sunrpc/rpc_cout.c: Likewise.
47151         * sunrpc/rpc_dtable.c: Likewise.
47152         * sunrpc/rpc_hout.c: Likewise.
47153         * sunrpc/rpc_main.c: Likewise.
47154         * sunrpc/rpc_parse.c: Likewise.
47155         * sunrpc/rpc_parse.h: Likewise.
47156         * sunrpc/rpc_prot.c: Likewise.
47157         * sunrpc/rpc_sample.c: Likewise.
47158         * sunrpc/rpc_scan.c: Likewise.
47159         * sunrpc/rpc_scan.h: Likewise.
47160         * sunrpc/rpc_svcout.c: Likewise.
47161         * sunrpc/rpc_tblout.c: Likewise.
47162         * sunrpc/rpc_util.c: Likewise.
47163         * sunrpc/rpc_util.h: Likewise.
47164         * sunrpc/rpcinfo.c: Likewise.
47165         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47166         * sunrpc/rpcsvc/key_prot.x: Likewise.
47167         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47168         * sunrpc/rpcsvc/mount.x: Likewise.
47169         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47170         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47171         * sunrpc/rpcsvc/rex.x: Likewise.
47172         * sunrpc/rpcsvc/rstat.x: Likewise.
47173         * sunrpc/rpcsvc/rusers.x: Likewise.
47174         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47175         * sunrpc/rpcsvc/spray.x: Likewise.
47176         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47177         * sunrpc/rtime.c: Likewise.
47178         * sunrpc/svc.c: Likewise.
47179         * sunrpc/svc_auth.c: Likewise.
47180         * sunrpc/svc_authux.c: Likewise.
47181         * sunrpc/svc_raw.c: Likewise.
47182         * sunrpc/svc_run.c: Likewise.
47183         * sunrpc/svc_simple.c: Likewise.
47184         * sunrpc/svc_tcp.c: Likewise.
47185         * sunrpc/svc_udp.c: Likewise.
47186         * sunrpc/svc_unix.c: Likewise.
47187         * sunrpc/svcauth_des.c: Likewise.
47188         * sunrpc/xcrypt.c: Likewise.
47189         * sunrpc/xdr.c: Likewise.
47190         * sunrpc/xdr_array.c: Likewise.
47191         * sunrpc/xdr_float.c: Likewise.
47192         * sunrpc/xdr_mem.c: Likewise.
47193         * sunrpc/xdr_rec.c: Likewise.
47194         * sunrpc/xdr_ref.c: Likewise.
47195         * sunrpc/xdr_sizeof.c: Likewise.
47196         * sunrpc/xdr_stdio.c: Likewise.
47197
47198         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47199         handling.
47200
47201 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47202
47203         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47204
47205 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47206
47207         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47208         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47209         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47210         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47211         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47212         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47213         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47214         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47215         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47216         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47217         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47218         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47219         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47220         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47221
47222 2010-07-26  Anton Blanchard  <anton@samba.org>
47223
47224         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47225         * malloc/arena.c (heap_trim): Likewise.
47226
47227 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47228
47229         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47230         here.  Not...
47231         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47232         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47233
47234 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47235
47236         * sysdeps/i386/elf/Makefile: New file.
47237
47238 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47239
47240         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47241         from fanotify_init.
47242         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47243         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47244
47245 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
47246
47247         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47248         of strncasecmp_l.
47249         * sysdeps/multiarch/strcmp.S: Likewise.
47250
47251 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
47252
47253         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47254         strncase_l-nonascii.
47255         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47256         Add strncase_l-ssse3.
47257         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47258         * sysdeps/x86_64/strcmp.S: Likewise.
47259         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47260         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47261         * sysdeps/x86_64/strncase.S: New file.
47262         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47263         * sysdeps/x86_64/strncase_l.S: New file.
47264         * string/Makefile (strop-tests): Add strncasecmp.
47265         * string/test-strncasecmp.c: New file.
47266
47267         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47268         warning.
47269
47270         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47271         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47272
47273 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47274
47275         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47276
47277 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
47278
47279         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47280         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47281         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47282
47283 2010-05-01  Alan Modra  <amodra@gmail.com>
47284
47285         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47286         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47287         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47288         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47289         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47290         tidying.  Don't tail-call __sigjmp_save for static lib.
47291         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47292         save location.
47293         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47294         (CALL_MCOUNT): Add eh info, and nop after bl.
47295         (TAIL_CALL_SYSCALL_ERROR): New macro.
47296         (PSEUDO_RET): Use it.
47297         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47298         Correct save location of integer regs and cr.
47299         (_dl_profile_resolve): Correct cr save location.  Delete nops
47300         after bl when SHARED.  Reduce cfi size a little by better
47301         placement of cfi directives.
47302         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47303         make a stack frame.  Instead use parm save area as a temp.
47304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47305         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
47306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47307         Don't make a stack frame for parent, use parm save area.
47308         Increase child stack frame to 112 bytes.  Don't save unused reg,
47309         and adjust reg usage.  Set up cfi on error recovery and
47310         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47312         (__makecontext): Add dummy nop after jump to exit.
47313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47314         Use correct parm save area and cr save, reduce stack frame.
47315         Correct cfi for possible PSEUDO_RET frame setup.
47316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47317         Branch to local label emitted by PSEUDO_RET rather than
47318         __syscall_error.
47319
47320 2010-08-12  Andreas Schwab  <schwab@redhat.com>
47321
47322         [BZ #11904]
47323         * locale/programs/locale.c (print_assignment): New function.
47324         (show_locale_vars): Use it.
47325
47326 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
47327
47328         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47329         field.
47330         (struct statfs64): Likewise.
47331         (_STATFS_F_FLAGS): Define.
47332         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47333         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47334         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47335         (ST_VALID): Define locally.
47336         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47337         __statvfs_getflags, use the provided value.
47338         * sysdeps/unix/sysv/linux/kernel-features.h: Define
47339         __ASSUME_STATFS_F_FLAGS.
47340
47341         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47342
47343         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47344         Add sys/fanotify.h.
47345         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47346         fanotify_mask for GLIBC_2.13.
47347         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47348         fanotify_init and fanotify_mark.
47349         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47350         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47351
47352         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47353         Add prlimit.
47354         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47355         prlimit64 for GLIBC_2.13.
47356         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47357         prlimit64.
47358         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47359         syscall.
47360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47361         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47362         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47363         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47364         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
47365         add prlimit alias.
47366         * sysdeps/unix/sysv/linux/prlimit.c: New file.
47367
47368         [BZ #11903]
47369         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47370         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47371
47372         * nss/Makefile: Add rules to build and run tst-nss-test1.
47373         * shlib-versions: Add entry for libnss_test1.
47374         * nss/nss_test1.c: New file.
47375         * nss/tst-nss-test1.c: New file.
47376
47377         * nss/nsswitch.c (__nss_database_custom): Define new variable.
47378         (__nss_configure_lookup): Set appropriate entry in
47379         __nss_configure_lookup to true.
47380         * nss/nsswitch.h: Define enum with indeces of databases in
47381         databases and __nss_database_custom arrays.  Declare
47382         __nss_database_custom.
47383         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47384         to avoid using nscd when custom rules are installed.
47385         * nss/getXXbyYY_r.c: Likewise.
47386         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47387
47388         * nss/nss_files/files-parse.c: Whitespace fixes.
47389
47390 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
47391
47392         [BZ #11883]
47393         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47394         * posix/fnmatch_loop.c: Likewise.
47395
47396 2010-07-17  Andi Kleen  <ak@linux.intel.com>
47397
47398         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47399         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47400         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47401         * Versions.def [GLIBC_2.13]: Add.
47402
47403 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
47404
47405         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47406         Also fail if tpwd after pwuid call is NULL.
47407
47408 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47409
47410         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47411         when converting to ms.
47412
47413 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47414
47415         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47416         EOPNOTSUPP errors with ENOTTY.
47417         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47418         EOPNOTSUPP errors with ENOTTY.
47419
47420 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
47421
47422         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47423         Add strcasecmp_l-ssse3.
47424         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47425         strcasecmp.
47426         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47427         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47428         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47429
47430 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
47431
47432         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47433
47434         * string/Makefile (strop-tests): Add strcasecmp.
47435         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47436         strcasecmp_l-nonascii.
47437         (gen-as-const-headers): Add locale-defines.sym.
47438         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47439         * sysdeps/x86_64/strcasecmp.S: New file.
47440         * sysdeps/x86_64/strcasecmp_l.S: New file.
47441         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47442         * sysdeps/x86_64/locale-defines.sym: New file.
47443         * string/test-strcasecmp.c: New file.
47444
47445         * string/test-strcasestr.c: Test both ends of the range of characters.
47446         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47447
47448 2010-07-29  Roland McGrath  <roland@redhat.com>
47449
47450         [BZ #11856]
47451         * manual/locale.texi (Yes-or-No Questions): Fix example code.
47452
47453 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
47454
47455         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47456         for ld.so.
47457
47458 2010-07-27  Andreas Schwab  <schwab@redhat.com>
47459
47460         * manual/memory.texi (Malloc Tunable Parameters): Document
47461         M_PERTURB.
47462
47463 2010-07-26  Roland McGrath  <roland@redhat.com>
47464
47465         [BZ #11840]
47466         * configure.in (-fgnu89-inline check): Set and substitute
47467         gnu89_inline, not libc_cv_gnu89_inline.
47468         * configure: Regenerated.
47469         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47470
47471 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
47472
47473         * string/test-strnlen.c: New file.
47474         * string/Makefile (strop-tests): Add strnlen.
47475         * string/tester.c (test_strnlen): Add a few more test cases.
47476         * string/tst-strlen.c: Better error reporting.
47477
47478         * sysdeps/x86_64/strnlen.S: New file.
47479
47480 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
47481
47482         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47483         lower-latency instructions.
47484
47485 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
47486
47487         * string/test-strcasestr.c: New file.
47488         * string/test-strstr.c: New file.
47489         * string/Makefile (strop-tests): Add strstr and strcasestr.
47490         * string/str-two-way.h: Don't undefine MAX.
47491         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47492
47493 2010-07-21  Andreas Schwab  <schwab@redhat.com>
47494
47495         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47496         strcasestr-nonascii.
47497         (CFLAGS-strcasestr-nonascii.c): Define.
47498         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47499         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47500         Remove unused attribute.
47501
47502 2010-07-20  Roland McGrath  <roland@redhat.com>
47503
47504         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47505         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
47506         ld.so.cache was broken.  With it, there is no way to disable dsocaps
47507         like LD_HWCAP_MASK can disable hwcaps.
47508
47509 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47510
47511         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47512
47513 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
47514
47515         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47516         call in strcasestr.
47517         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47518         __strcasestr_sse42_nonascii.
47519         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47520         strcasestr-nonascii.c.
47521         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47522
47523 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
47524
47525         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47526         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47527         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47528         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47529
47530 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
47531
47532         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47533         fcntl.
47534
47535 2010-07-06  Andreas Schwab  <schwab@redhat.com>
47536
47537         [BZ #11577]
47538         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47539         dl_signal_cerror.
47540
47541 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
47542
47543         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47544         _PC_PIPE_BUF using F_GETPIPE_SZ.
47545
47546 2010-07-05  Roland McGrath  <roland@redhat.com>
47547
47548         * manual/arith.texi (Rounding Functions): Fix rint description
47549         implicit in round description.
47550
47551 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
47552
47553         * elf/Makefile: Fix linking for a few tests to make recent linker
47554         happy.
47555
47556 2010-06-30  Andreas Schwab  <schwab@redhat.com>
47557
47558         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47559         $(common-objpfx)libc_nonshared.a.
47560
47561 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
47562
47563         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47564         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47565         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47566         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47567         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47568         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47569         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47570         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47585         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47586         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47587         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47588         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47589         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47590         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47591         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47592         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47593         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47594         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47595         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47596         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47611
47612 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
47613
47614         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47615         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
47616         * string/memmove.c (memmove): Renamed to ...
47617         (MEMMOVE): ...this.  Default to memmove.
47618         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47619         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47620         (END_CHK): Define.
47621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47622         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47623         mempcpy-ssse3-back memmove-ssse3-back.
47624         * sysdeps/x86_64/multiarch/bcopy.S: New file .
47625         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47626         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47627         * sysdeps/x86_64/multiarch/memcpy.S: New file.
47628         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47629         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47630         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47631         * sysdeps/x86_64/multiarch/memmove.c: New file.
47632         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47633         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47634         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47635         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47636         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47637         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47638         Define.
47639         (index_Fast_Copy_Backward): Define.
47640         (HAS_ARCH_FEATURE): Define.
47641         (HAS_FAST_REP_STRING): Define.
47642         (HAS_FAST_COPY_BACKWARD): Define.
47643
47644 2010-06-21  Andreas Schwab  <schwab@redhat.com>
47645
47646         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47647         Restore proper fallback handling.
47648
47649 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
47650
47651         [BZ #11701]
47652         * posix/group_member.c (__group_member): Correct checking loop.
47653
47654         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47655         OOM in getpwuid_r correctly.  Return error number when the caller
47656         should return, otherwise -1.
47657         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47658         call returning > 0 value.
47659         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47660
47661 2010-06-07  Andreas Schwab  <schwab@redhat.com>
47662
47663         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47664         libc_nonshared.a from targets in modules-names.
47665
47666 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
47667
47668         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47669         requires it.
47670
47671 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
47672
47673         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47674         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47675         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47676         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47677
47678 2010-06-02  Andreas Schwab  <schwab@redhat.com>
47679
47680         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47681
47682 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
47683
47684         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47685         and F_GETPIPE_SZ.
47686         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47687         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47688         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47689         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47690         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47691         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47692
47693 2010-06-14  Roland McGrath  <roland@redhat.com>
47694
47695         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47696
47697 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
47698
47699         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47700         __REDIRECT followed by __THROW.
47701         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47702         * posix/getopt.h (getopt): Likewise.
47703
47704 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47705
47706         * hurd/lookup-at.c (__file_name_lookup_at): Accept
47707         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
47708         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47709         in AT_FLAGS.
47710         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47711         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47712
47713 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
47714
47715         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47716
47717 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
47718
47719         [BZ #11640]
47720         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47721         Properly check family and model.
47722
47723 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
47724
47725         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47726
47727 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
47728
47729         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47730
47731 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
47732
47733         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47734         symbol reference.
47735
47736 2010-05-19  Andreas Schwab  <schwab@redhat.com>
47737
47738         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47739         symbol reference.
47740
47741 2010-05-21  Andreas Schwab  <schwab@redhat.com>
47742
47743         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47744         and internal_recvmmsg.
47745         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47746         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47747         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47748         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47749
47750         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47751         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47752         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47753
47754 2010-05-20  Andreas Schwab  <schwab@redhat.com>
47755
47756         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47757
47758 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
47759
47760         POWER7 optimizations.
47761         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47762         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47763
47764 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
47765
47766         * version.h: Update for 2.13 development version.
47767
47768 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
47769
47770         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47771         exceptions.  Return 0.
47772
47773 2010-05-07  Roland McGrath  <roland@redhat.com>
47774
47775         * elf/ldconfig.c (main): Add a const.
47776
47777 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
47778
47779         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47780         (args_options): Add no-idn option.
47781         (ahosts_keys_int): Add idn_flags to ai_flags.
47782         (parse_option): Handle 'i' option to clear idn_flags.
47783
47784         * malloc/malloc.c (_int_free): Possible race in the most recently
47785         added check.  Only act on the data if no current modification
47786         happened.
47787
47788 See ChangeLog.17 for earlier changes.