1 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7 (__libc_vfork): New strong alias.
8 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10 2014-06-14 Andi Kleen <ak@linux.intel.com>
12 * sysdeps/generic/elide.h: New file.
14 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
16 * Makefile (installed-headers): Adjust path of pthread.h header.
18 2014-06-13 Roland McGrath <roland@hack.frob.com>
20 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
21 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
22 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
23 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
25 * nptl/sysdeps/s390/Makefile: Moved ...
26 * sysdeps/s390/nptl/Makefile: ... here.
27 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
28 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
29 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
30 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
32 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
35 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
36 * sysdeps/s390/nptl/pthreaddef.h: ... here.
37 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
38 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
39 * nptl/sysdeps/s390/tls.h: Moved ...
40 * sysdeps/s390/nptl/tls.h: ... here.
42 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
43 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
45 2014-06-13 David S. Miller <davem@davemloft.net>
47 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
48 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
49 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
51 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
52 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
53 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
54 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
55 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
56 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
57 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
58 Remove RESET_PID cpp guards.
59 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
60 Remove RESET_PID cpp guards.
61 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
63 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
65 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
68 2014-06-13 Andi Kleen <ak@linux.intel.com>
70 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
71 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
72 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
73 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
74 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
75 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
76 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
77 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
78 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
79 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
80 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
81 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
82 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
83 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
84 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
85 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
86 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
87 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
88 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
89 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
91 2014-06-13 Andi Kleen <ak@linux.intel.com>
93 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
94 (pthread_rwlock_rdlock): Add elision.
95 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
96 (pthread_rwlock_wrlock): Add elision.
97 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
98 (pthread_rwlock_trywrlock): Add elision.
99 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
100 (pthread_rwlock_tryrdlock): Add elision.
101 * nptl/pthread_rwlock_unlock.c: Include elide.h.
102 (pthread_rwlock_tryrdlock): Add elision unlock.
103 * nptl/sysdeps/pthread/pthread.h:
104 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
105 (PTHREAD_RWLOCK_INITIALIZER,
106 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
107 Handle new elision field.
108 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
109 * sysdeps/arm/nptl/bits/pthreadtypes.h
110 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
111 * sysdeps/sh/nptl/bits/pthreadtypes.h
112 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
113 * sysdeps/tile/nptl/bits/pthreadtypes.h
114 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
115 * sysdeps/a/nptl/bits/pthreadtypes.h
116 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
117 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
118 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
119 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
120 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
121 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
122 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
123 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
124 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
125 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
126 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
127 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
128 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
129 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
130 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
131 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
132 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
133 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
134 (elision_init): Set try_xbegin to zero when no RTM.
135 * sysdeps/x86/nptl/bits/pthreadtypes.h
136 (pthread_rwlock_t): Change __pad1 to __rwelision.
137 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
139 2014-06-13 Andi Kleen <ak@linux.intel.com>
141 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
142 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
143 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
144 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
146 2014-06-13 Meador Inge <meadori@codesourcery.com>
149 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
150 that the cached result has been set before returning it.
152 2014-06-12 Roland McGrath <roland@hack.frob.com>
154 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
155 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
156 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
157 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
158 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
159 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
161 * nptl/sysdeps/sparc/Makefile: Moved ...
162 * sysdeps/sparc/nptl/Makefile: ... here.
163 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
164 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
165 * nptl/sysdeps/sparc/tls.h: Moved ...
166 * sysdeps/sparc/nptl/tls.h: ... here.
167 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
168 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
169 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
170 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
171 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
172 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
173 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
174 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
175 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
176 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
177 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
178 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
179 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
180 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
181 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
182 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
183 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
184 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
186 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
187 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
189 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
190 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
192 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
193 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
196 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
198 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
199 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
201 * sysdeps/pthread/posix-timer.h: Include <list.h>.
202 (struct list_links): Type removed.
203 (struct thread_node, struct timer_node): Replace struct list_links
204 with struct list_head.
205 (list_unlink_ip): Likewise.
206 * sysdeps/pthread/timer_routines.c
207 (timer_free_list, thread_free_list, thread_active_list): Likewise.
208 (list_append, list_insbefore): Likewise.
209 (list_init): Function removed.
210 (thread_init, init_module): Use INIT_LIST_HEAD instead.
211 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
212 * sysdeps/pthread/Makefile: ... here, new file.
214 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
215 * sysdeps/nptl/Implies: ... here.
216 * sysdeps/unix/sysv/linux/Implies: Add nptl.
217 * nptl/sysdeps/pthread/list.h: Moved ...
218 * include/list.h: ... here.
219 * nptl/sysdeps/pthread/createthread.c: Moved ...
220 * nptl/createthread.c: ... here.
221 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
222 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
223 * nptl/pt-longjmp.c: ... here.
224 * nptl/sysdeps/pthread/Makefile: Moved ...
225 * sysdeps/nptl/Makefile: ... here.
226 * nptl/sysdeps/pthread/Subdirs: Moved ...
227 * sysdeps/nptl/Subdirs: ... here.
228 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
229 * sysdeps/nptl/aio_misc.h: ... here.
230 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
231 * sysdeps/nptl/bits/libc-lock.h: ... here.
232 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
233 * sysdeps/nptl/bits/libc-lockP.h: ... here.
234 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
235 * sysdeps/nptl/bits/stdio-lock.h: ... here.
236 * nptl/sysdeps/pthread/configure: Moved ...
237 * sysdeps/nptl/configure: ... here.
238 * nptl/sysdeps/pthread/configure.ac: Moved ...
239 * sysdeps/nptl/configure.ac: ... here.
240 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
241 * sysdeps/nptl/gai_misc.h: ... here.
242 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
243 * sysdeps/nptl/librt-cancellation.c: ... here.
244 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
245 * sysdeps/nptl/malloc-machine.h: ... here.
246 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
247 * sysdeps/nptl/pthread-functions.h: ... here.
248 * nptl/sysdeps/pthread/pthread.h: Moved ...
249 * sysdeps/nptl/pthread.h: ... here.
250 * nptl/sysdeps/pthread/setxid.h: Moved ...
251 * sysdeps/nptl/setxid.h: ... here.
252 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
253 * sysdeps/nptl/sigfillset.c: ... here.
254 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
255 * sysdeps/nptl/tcb-offsets.h: ... here.
256 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
257 * sysdeps/nptl/tst-mqueue8x.c: ... here.
258 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
259 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
260 * nptl/sysdeps/pthread/allocalim.h: Moved ...
261 * sysdeps/pthread/allocalim.h: ... here.
262 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
263 * sysdeps/pthread/bits/sigthread.h: ... here.
264 * nptl/sysdeps/pthread/flockfile.c: Moved ...
265 * sysdeps/pthread/flockfile.c: ... here.
266 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
267 * sysdeps/pthread/ftrylockfile.c: ... here.
268 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
269 * sysdeps/pthread/funlockfile.c: ... here.
270 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
271 * sysdeps/pthread/posix-timer.h: ... here.
272 * nptl/sysdeps/pthread/timer_create.c: Moved ...
273 * sysdeps/pthread/timer_create.c: ... here.
274 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
275 * sysdeps/pthread/timer_delete.c: ... here.
276 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
277 * sysdeps/pthread/timer_getoverr.c: ... here.
278 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
279 * sysdeps/pthread/timer_gettime.c: ... here.
280 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
281 * sysdeps/pthread/timer_routines.c: ... here.
282 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
283 * sysdeps/pthread/timer_settime.c: ... here.
284 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
285 * sysdeps/pthread/tst-timer.c: ... here.
286 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
287 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
289 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
290 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
292 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
293 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
294 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
295 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
296 Update #include target.
297 * nptl/sysdeps/i386/i686/Makefile: Moved ...
298 * sysdeps/i386/i686/nptl/Makefile: ... here.
299 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
300 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
301 Update #include target.
302 * nptl/sysdeps/i386/i686/tls.h: Moved ...
303 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
304 * nptl/sysdeps/i386/Makefile: Moved ...
305 * sysdeps/i386/nptl/Makefile: ... here.
306 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
307 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
308 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
309 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
310 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
311 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
312 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
313 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
314 * sysdeps/i386/nptl/pthreaddef.h: ... here.
315 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
316 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
317 * nptl/sysdeps/i386/tls.h: Moved ...
318 * sysdeps/i386/nptl/tls.h: ... here.
320 * sysdeps/sh/Makefile [$(subdir) = csu]
321 (gen-as-const-headers): Add tcb-offsets.sym.
322 * nptl/sysdeps/sh/Makefile: File removed.
323 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
324 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
325 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
326 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
327 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
328 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
329 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
330 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
331 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
332 * sysdeps/sh/nptl/pthreaddef.h: ... here.
333 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
334 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
335 * nptl/sysdeps/sh/tls.h: Moved ...
336 * sysdeps/sh/nptl/tls.h: ... here.
337 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
338 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
339 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
340 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
341 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
342 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
343 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
344 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
345 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
346 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
347 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
348 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
349 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
350 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
351 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
352 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
353 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
354 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
355 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
356 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
357 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
358 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
359 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
360 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
361 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
363 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
364 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
366 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
367 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
368 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
369 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
370 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
371 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
372 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
373 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
374 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
375 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
376 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
377 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
378 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
379 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
380 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
381 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
382 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
383 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
384 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
386 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
388 * posix/spawn_faction_addopen.c: Include string.h.
390 2014-06-11 Roland McGrath <roland@hack.frob.com>
392 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
393 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
394 * nptl/sysdeps/x86_64/Makefile: Moved ...
395 * sysdeps/x86_64/nptl/Makefile: ... here.
396 * nptl/sysdeps/x86_64/configure: Moved ...
397 * sysdeps/x86_64/nptl/configure: ... here.
398 * nptl/sysdeps/x86_64/configure.ac: Moved ...
399 * sysdeps/x86_64/nptl/configure.ac: ... here.
400 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
401 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
402 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
403 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
404 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
405 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
406 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
407 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
408 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
409 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
410 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
411 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
412 * nptl/sysdeps/x86_64/tls.h: Moved ...
413 * sysdeps/x86_64/nptl/tls.h: ... here.
414 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
415 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
416 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
417 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
419 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
421 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
425 2014-06-11 Joseph Myers <joseph@codesourcery.com>
427 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
429 [POSIX] (off_t): Likewise.
430 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
431 [POSIX] (S_ISBLK): Require macro.
432 [POSIX] (S_ISCHR): Likewise.
433 [POSIX] (S_ISDIR): Likewise.
434 [POSIX] (S_ISFIFO): Likewise.
435 [POSIX] (S_ISREG): Likewise.
436 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
438 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
440 [POSIX] (time_t): Likewise.
441 [POSIX] (timer_t): Likewise.
443 2014-06-11 Florian Weimer <fweimer@redhat.com>
446 * posix/spawn_int.h (struct __spawn_action): Make the path string
447 non-const to support deallocation.
448 * posix/spawn_faction_addopen.c
449 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
450 * posix/spawn_faction_destroy.c
451 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
452 path in all spawn_do_open actions.
453 * posix/tst-spawn.c (do_test): Exercise the copy operation in
454 posix_spawn_file_actions_addopen.
456 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
458 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
459 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
460 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
461 conditional code always true.
462 (__libc_vfork): New alias.
464 2014-06-11 Roland McGrath <roland@hack.frob.com>
466 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
467 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
469 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
471 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
472 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
474 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
475 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
477 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
478 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
480 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
482 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
483 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
484 multiarch strcmp for PPC64.
485 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
486 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
488 multiarch optimizations.
489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
490 (__libc_ifunc_impl_list): Likewise.
492 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
494 * benchtests/scripts/validate_benchout.py: New script.
495 * benchtests/Makefile (bench-func): Call it.
496 * benchtests/scripts/benchout.schema.json: New file.
498 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
500 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
501 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
502 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
503 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
504 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
505 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
506 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
507 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
508 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
509 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
510 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
511 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
512 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
513 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
514 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
515 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
619 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
620 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
621 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
622 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
623 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
625 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
627 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
628 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
629 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
630 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
631 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
632 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
633 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
634 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
635 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
636 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
637 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
638 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
639 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
641 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
642 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
644 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
645 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
646 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
647 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
649 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
650 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
651 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
652 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
653 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
654 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
655 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
657 2014-06-10 Wilco <wdijkstr@arm.com>
659 * math/test-fenv-return.c: New file.
660 * math/Makefile: Add new test test-fenv-return.
662 2014-06-10 Joseph Myers <joseph@codesourcery.com>
665 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
667 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
668 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
669 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
670 0.0L for an argument of 1.0L.
671 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
673 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
674 value when x - 1 is zero.
675 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
676 * sysdeps/i386/fpu/libm-test-ulps: Update.
677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
679 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
682 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
684 2014-06-09 Roland McGrath <roland@hack.frob.com>
686 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
687 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
689 2014-06-09 Roland McGrath <roland@hack.frob.com>
691 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
692 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
694 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
695 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
697 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
698 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
700 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
701 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
703 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
704 if not already defined.
705 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
706 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
707 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
708 (TLS_INIT_TP): Use it.
709 (TLS_DEFINE_INIT_TP): New macro.
710 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
712 2014-06-09 Joseph Myers <joseph@codesourcery.com>
714 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
716 [POSIX] (IXANY): Likewise.
717 [POSIX] (OLCUC): Likewise.
718 [POSIX || POSIX2008] (CBAUD): Do not allow.
719 [POSIX || POSIX2008] (DEFECHO): Likewise.
720 [POSIX || POSIX2008] (ECHOCTL): Likewise.
721 [POSIX || POSIX2008] (ECHOKE): Likewise.
722 [POSIX || POSIX2008] (ECHOPRT): Likewise.
723 [POSIX || POSIX2008] (EXTA): Likewise.
724 [POSIX || POSIX2008] (EXTB): Likewise.
725 [POSIX || POSIX2008] (FLUSHO): Likewise.
726 [POSIX || POSIX2008] (LOBLK): Likewise.
727 [POSIX || POSIX2008] (PENDIN): Likewise.
728 [POSIX || POSIX2008] (SWTCH): Likewise.
729 [POSIX || POSIX2008] (VDISCARD): Likewise.
730 [POSIX || POSIX2008] (VDSUSP): Likewise.
731 [POSIX || POSIX2008] (VLNEXT): Likewise.
732 [POSIX || POSIX2008] (VREPRINT): Likewise.
733 [POSIX || POSIX2008] (VSTATUS): Likewise.
734 [POSIX || POSIX2008] (VWERASE): Likewise.
735 (B*): Change to B[0123456789]*.
736 * conform/data/time.h-data [POSIX || UNIX98]
737 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
738 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
739 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
740 [POSIX] (tm_*): Do not allow.
742 2014-06-07 Joseph Myers <joseph@codesourcery.com>
744 * Makefile (install): Don't set LANGUAGE.
745 * Makefile.in (install): Likewise.
746 * assert/Makefile (test-assert-ENV): Remove variable.
747 (test-assert-perr-ENV): Likewise.
748 * elf/Makefile (neededtest4-ENV): Likewise.
749 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
750 [$(cross-compiling) = no]: Don't set LANGUAGE.
751 * io/ftwtest-sh (LANG): Remove variable.
752 * libio/Makefile (tst-widetext-ENV): Likewise.
753 * manual/install.texi (Running make install): Don't refer to
754 environment settings for make install.
755 * INSTALL: Regenerated.
756 * nptl/tst-tls6.sh: Don't set LANG.
757 * posix/globtest.sh (LANG): Remove variable.
758 * string/Makefile (tester-ENV): Likewise.
759 (inl-tester-ENV): Likewise.
760 (noinl-tester-ENV): Likewise.
761 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
762 [$(cross-compiling) = no]: Don't set LANGUAGE.
763 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
764 without explicit environment settings.
766 2014-06-06 Roland McGrath <roland@hack.frob.com>
768 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
769 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
770 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
771 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
773 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
775 * crypt/crypt-private.h [DOS]: Add some includes taken from the
776 other files in the crypt directory.
777 * crypt/crypt.c: Remove duplicate includes.
778 * crypt/crypt-entry.c: Likewise.
779 * crypt/crypt_util.c: Likewise.
781 2014-06-06 Joseph Myers <joseph@codesourcery.com>
783 * Makeconfig (run-program-env): New variable.
784 (run-program-prefix-before-env): Likewise.
785 (run-program-prefix-after-env): Likewise.
786 (run-program-prefix): Define in terms of new variables.
787 (built-program-cmd-before-env): New variable.
788 (built-program-cmd-after-env): Likewise.
789 (built-program-cmd): Define in terms of new variables.
790 (test-program-prefix-before-env): New variable.
791 (test-program-prefix-after-env): Likewise.
792 (test-program-prefix): Define in terms of new variables.
793 (test-program-cmd-before-env): New variable.
794 (test-program-cmd-after-env): Likewise.
795 (test-program-cmd): Define in terms of new variables.
796 * Rules (make-test-out): Use $(run-program-env).
797 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
798 (help): Do not mention environment variables. Mention
799 --timeoutfactor option.
800 (timeoutfactor): New variable.
801 (blacklist_exports): Remove function.
802 (exports): Remove variable.
803 (command): Do not include ${exports}.
804 * manual/install.texi (Configuring and compiling): Do not mention
805 test wrappers preserving environment variables. Mention that last
806 assignment to a variable must take precedence.
807 * INSTALL: Regenerated.
808 * benchtests/Makefile (run-bench): Use $(run-program-env).
809 * catgets/Makefile ($(objpfx)test1.cat): Use
810 $(built-program-cmd-before-env), $(run-program-env) and
811 $(built-program-cmd-after-env).
812 ($(objpfx)test2.cat): Do not specify environment variables
814 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
815 $(run-program-env) and $(built-program-cmd-after-env).
816 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
817 $(run-program-env) and $(test-program-cmd-after-env).
818 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
820 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
821 run_program_env and test_program_cmd_after_env arguments.
822 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
823 * elf/tst-pathopt.sh: Use run_program_env argument.
824 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
825 $(test-wrapper-env) and $(run-program-env).
826 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
827 run_program_env arguments.
828 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
829 * intl/Makefile ($(objpfx)tst-gettext.out): Use
830 $(test-program-prefix-before-env), $(run-program-env) and
831 $(test-program-prefix-after-env).
832 ($(objpfx)tst-gettext2.out): Likewise.
833 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
834 run_program_env and test_program_prefix_after_env arguments.
835 * intl/tst-gettext2.sh: Likewise.
836 * intl/tst-gettext4.sh: Do not set environment variables
838 * intl/tst-gettext6.sh: Likewise.
839 * intl/tst-translit.sh: Likewise.
840 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
841 $(test-program-prefix-before-env), $(run-program-env) and
842 $(test-program-prefix-after-env).
843 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
844 run_program_env and test_program_prefix_after_env arguments.
845 * math/Makefile (run-regen-ulps): Use $(run-program-env).
846 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
847 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
848 explicitly with each use of ${test_wrapper_env}.
849 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
850 $(test-program-prefix-before-env), $(run-program-env) and
851 $(test-program-prefix-after-env).
852 * posix/tst-getconf.sh: Do not set environment variables
854 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
855 run_program_env and test_program_prefix_after_env arguments.
856 * stdio-common/tst-printf.sh: Do not set environment variables
858 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
859 $(test-program-prefix-before-env), $(run-program-env) and
860 $(test-program-prefix-after-env).
861 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
862 run_program_env and test_program_prefix_after_env arguments.
863 Split $test calls into $test_pre and $test.
864 * timezone/Makefile (build-testdata): Use
865 $(built-program-cmd-before-env), $(run-program-env) and
866 $(built-program-cmd-after-env).
868 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
870 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
871 strlen for non SHARED builds.
873 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
875 * nptl/allocatestack.c (check_list): Inlined function...
876 (__reclaim_stacks): ... here.
878 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
881 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
884 2014-06-05 Joseph Myers <joseph@codesourcery.com>
886 * Rules (make-test-out): Include
887 LOCPATH=$(common-objpfx)localedata in default environment.
888 * debug/Makefile (tst-chk1-ENV): Remove variable.
889 (tst-chk2-ENV): Likewise.
890 (tst-chk3-ENV): Likewise.
891 (tst-chk4-ENV): Likewise.
892 (tst-chk5-ENV): Likewise.
893 (tst-chk6-ENV): Likewise.
894 (tst-lfschk1-ENV): Likewise.
895 (tst-lfschk2-ENV): Likewise.
896 (tst-lfschk3-ENV): Likewise.
897 (tst-lfschk4-ENV): Likewise.
898 (tst-lfschk5-ENV): Likewise.
899 (tst-lfschk6-ENV): Likewise.
900 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
901 (tst-iconv7-ENV): Likewise.
902 * intl/Makefile (LOCPATH-ENV): Likewise.
903 (tst-codeset-ENV): Likewise.
904 (tst-gettext3-ENV): Likewise.
905 (tst-gettext5-ENV): Likewise.
906 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
907 (tst-fopenloc-ENV): Likewise.
908 (tst-fgetws-ENV): Remove variable.
909 (tst-ungetwc1-ENV): Likewise.
910 (tst-ungetwc2-ENV): Likewise.
911 (bug-ungetwc2-ENV): Likewise.
912 (tst-swscanf-ENV): Likewise.
913 (bug-ftell-ENV): Likewise.
914 (tst-fgetwc-ENV): Likewise.
915 (tst-fseek-ENV): Likewise.
916 (tst-ftell-partial-wide-ENV): Likewise.
917 (tst-ftell-active-handler-ENV): Likewise.
918 (tst-ftell-append-ENV): Likewise.
919 * posix/Makefile (tst-fnmatch-ENV): Likewise.
920 (tst-regexloc-ENV): Likewise.
921 (bug-regex1-ENV): Likewise.
922 (tst-regex-ENV): Likewise.
923 (tst-regex2-ENV): Likewise.
924 (bug-regex5-ENV): Likewise.
925 (bug-regex6-ENV): Likewise.
926 (bug-regex17-ENV): Likewise.
927 (bug-regex18-ENV): Likewise.
928 (bug-regex19-ENV): Likewise.
929 (bug-regex20-ENV): Likewise.
930 (bug-regex22-ENV): Likewise.
931 (bug-regex23-ENV): Likewise.
932 (bug-regex25-ENV): Likewise.
933 (bug-regex26-ENV): Likewise.
934 (bug-regex30-ENV): Likewise.
935 (bug-regex32-ENV): Likewise.
936 (bug-regex33-ENV): Likewise.
937 (bug-regex34-ENV): Likewise.
938 (bug-regex35-ENV): Likewise.
939 (tst-rxspencer-ENV): Likewise.
940 (tst-rxspencer-no-utf8-ENV): Likewise.
941 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
942 (tst-sscanf-ENV): Likewise.
943 (tst-swprintf-ENV): Likewise.
944 (tst-swscanf-ENV): Likewise.
945 (test-vfprintf-ENV): Likewise.
946 (scanf13-ENV): Likewise.
947 (bug14-ENV): Likewise.
948 (tst-grouping-ENV): Likewise.
949 * stdlib/Makefile (tst-strtod-ENV): Likewise.
950 (tst-strtod3-ENV): Likewise.
951 (tst-strtod4-ENV): Likewise.
952 (tst-strtod5-ENV): Likewise.
953 (testmb2-ENV): Likewise./
954 * string/Makefile (tst-strxfrm-ENV): Likewise.
955 (tst-strxfrm2-ENV): Likewise.
956 (bug-strcoll1-ENV): Likewise.
957 (test-strcasecmp-ENV): Likewise.
958 (test-strncasecmp-ENV): Likewise.
959 * time/Makefile (tst-strptime-ENV): Likewise.
960 (tst-ftime_l-ENV): Likewise.
961 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
962 (tst-mbrtowc-ENV): Likewise.
963 (tst-wcrtomb-ENV): Likewise.
964 (tst-mbrtowc2-ENV): Likewise.
965 (tst-c16c32-1-ENV): Likewise.
966 (tst-mbsnrtowcs-ENV): Likewise.
968 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
970 * manual/resource.texi (How to get information about the memory
971 subsystem?): Fix typo.
972 Reported by Peon de la Parra Ivan <peon@keba.com>
974 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
977 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
978 (pthread_spin_lock): Branch out of spin loop to proper location.
979 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
980 (pthread_spin_lock): Likewise.
982 * nptl/tst-spin4.c: New test.
983 * nptl/Makefile (tests): Add tst-spin4.
985 2014-06-03 Andreas Schwab <schwab@suse.de>
988 * resolv/res_send.c (send_dg): Reload file descriptor after
991 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
993 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
995 2014-06-03 Richard Henderson <rth@redhat.com>
997 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
998 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
999 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1000 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1001 in the SAVE_PID block.
1002 (__libc_vfork): New alias.
1003 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1005 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1006 child in registers, not on the stack. Remove RESET_PID conditionals.
1007 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1009 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1011 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1013 2014-06-03 Wilco <wdijkstr@arm.com>
1015 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1016 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1017 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1018 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1019 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1022 2014-06-03 Wilco <wdijkstr@arm.com>
1024 * sysdeps/aarch64/fpu/math_private.h
1025 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1026 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1027 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1028 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1031 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1033 * crypt/crypt-private.h: Include ufc-crypt.h.
1034 (__b64_from_24bit): Declare extern.
1035 * crypt/crypt_util.c(__b64_from_24bit): New function.
1036 (b64t): New static const variable.
1037 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1038 (b64t): Remove variable.
1039 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1040 * crypt/sha256-crypt.c: Include crypt-private.h.
1041 (b64t): Remove variable.
1042 (__sha256_crypt_r): Remove b64_from_24bit and replace
1043 with __b64_from_24bit.
1044 * crypt/sha512-crypt.c: Likewise.
1046 2014-06-02 Roland McGrath <roland@hack.frob.com>
1048 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1049 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1050 Label the code __libc_vfork rather than __vfork.
1051 [!NOT_IN_libc] (vfork): Define as weak alias.
1052 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1053 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1054 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1056 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1058 * malloc/malloc.c (malloc_info): Fix format specifier for
1061 2014-06-02 Wilco <wdijkstr@arm.com>
1063 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1066 2014-06-02 Wilco <wdijkstr@arm.com>
1069 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1070 Rewrite to reduce FPCR/FPSR accesses.
1072 2014-06-01 David S. Miller <davem@davemloft.net>
1074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1076 2014-05-31 David S. Miller <davem@davemloft.net>
1078 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1079 to occur in round to nearest mode when |x| >= 2.0
1081 2014-05-30 Richard Henderson <rth@twiddle.net>
1083 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1084 (PSEUDO_RET_NOERRNO): Remove.
1085 (ret): Don't redefine.
1086 (ret_NOERRNO): Define in terms of ret.
1087 (ret_ERRVAL): Likewise.
1089 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1090 use of PSEUDO_RET; perform the error check directly.
1092 2014-05-30 Marko Myllynen <myllynen@redhat.com>
1094 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1097 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1099 * malloc/malloc (malloc_info): Fix formatting.
1101 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1102 Roland McGrath <roland@hack.frob.com>
1104 * malloc/malloc (malloc_info): Also print mmapped statistics.
1106 2014-05-30 Roland McGrath <roland@hack.frob.com>
1108 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1109 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1111 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
1113 * malloc/malloc.c (malloc_info): Inline mi_arena.
1115 2014-05-29 Richard Henderson <rth@twiddle.net>
1117 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1118 Remove comma before expanding ASM_ARGS_##nr.
1119 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1120 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1122 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1123 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1124 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1125 (ASM_ARGS_1): Add leading comma.
1127 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1128 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1129 to __errno_location.
1130 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1131 Remove the expected plt for __errno_location.
1133 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1134 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1137 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1138 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1139 it and break it down.
1140 (DOCARGS_0, DOCARGS_1): Do nothing.
1141 (DOCARGS_2): Update to store into the new stack frame.
1142 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1143 (UNDOCARGS_1): Update to restore from the new stack frame.
1144 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1145 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1147 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1148 (SINGLE_THREAD_P): New parameter for result regno.
1149 (PSEUDO): Update to match; use cbz instead of beq.
1151 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1152 Use ENTRY to define the _nocancel entry point. Share the syscall
1153 and syscall error check paths with the cancel path.
1156 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1157 whitespace; tabs before and after asm mnemonics.
1159 2014-05-29 Eric Wong <normalperson@yhbt.net>
1162 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1163 Call fstat64 or stat64 internally, depending on arguments passed.
1164 Replace stat buffer argument with file descriptor argument.
1165 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1166 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1167 Pass fd to __internal_statvfs instead of calling fstat64.
1168 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1169 Pass fd to __internal_statvfs64 instead of calling fstat64.
1170 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1171 Pass -1 to __internal_statvfs instead of calling stat64.
1172 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1173 Pass -1 to __internal_statvfs64 instead of calling stat64.
1175 2014-05-28 Roland McGrath <roland@hack.frob.com>
1177 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1178 that was previously under [RESET_PID].
1179 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1181 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1182 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1184 2014-05-27 Roland McGrath <roland@hack.frob.com>
1186 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1188 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1189 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1191 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
1193 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1195 2014-05-27 Andreas Schwab <schwab@suse.de>
1197 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1199 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1200 * elf/rtld.c (init_tls, dl_main): Likewise.
1201 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1202 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1203 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1204 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1205 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1206 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1207 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1208 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1209 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1210 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1211 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1212 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1213 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1214 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1215 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1216 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1217 * sysdeps/generic/tls.h: Update description.
1219 2014-05-27 Will Newton <will.newton@linaro.org>
1222 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1223 and restore r2 rather than just restoring.
1225 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1228 * libio/tst-ftell-append.c: New test case.
1229 * libio/Makefile (tests): Add test case.
1230 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1232 * libio/wfileops.c (do_ftell_wide): Likewise.
1234 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1238 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1242 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1243 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1244 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1245 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1246 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1247 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1248 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1251 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1254 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1255 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1256 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1257 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1258 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1260 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1261 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1263 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1265 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1267 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1268 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1269 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1271 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1272 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1273 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1274 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1276 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1279 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1282 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1285 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1289 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1292 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1297 conditional [RESET_PID].
1298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1299 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1301 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1306 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1307 (__libc_vfork): New strong alias.
1308 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1310 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1315 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1316 (__libc_vfork): New strong alias.
1317 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1319 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1322 2014-05-26 Carlos O'Donell <carlos@redhat.com>
1324 * malloc/malloc.c (mi_arena): New function.
1325 (malloc_info): Remove nested function mi_arena. Call non-nosted
1328 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1330 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1332 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1333 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1334 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1335 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1336 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1337 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1338 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1340 2014-05-26 Andreas Schwab <schwab@suse.de>
1343 * locale/programs/repertoire.c (repertoire_read): Add slash
1344 between I18NPATH element and file name.
1345 * locale/programs/locfile.c (locfile_read): Likewise.
1347 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1349 * nptl/pthread_mutexattr_settype.c
1350 (__pthread_mutexattr_settype):
1351 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1353 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1355 * nptl/tst-mutex5 (do_test):
1356 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1358 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1360 * benchtests/README: Document 'init' directive.
1361 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1363 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1364 (parse_file): Recognize 'init' directive.
1366 2014-05-26 Kyle McMartin <kyle@redhat.com>
1369 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1370 alignment of struct pthread.
1372 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1375 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1376 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1377 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1378 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1380 2014-05-25 Richard Henderson <rth@twiddle.net>
1382 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1383 (SINGLE_THREAD_P_PIC): Remove.
1384 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1385 (SINGLE_THREAD_P_PIC): Remove.
1387 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1388 branch to syscall error ...
1390 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1391 from __local_syscall_error to .Lsyscall_error.
1392 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1393 (SYSCALL_ERROR): Update label name.
1395 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1396 Do not use DOARGS/UNDOARGS.
1397 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1398 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1399 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1400 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1401 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1403 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1406 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1407 define if !NOT_IN_libc.
1408 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1409 define with non-default symbol versions.
1411 2014-05-23 Richard Henderson <rth@twiddle.net>
1413 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1414 (vfork, __vfork): Define via compat_symbol.
1416 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1417 [!HAVE_IFUNC] (vfork_compat): Remove.
1418 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1420 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1423 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1424 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1427 2014-05-23 Richard Henderson <rth@twiddle.net>
1429 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1430 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1431 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1432 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1434 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1435 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1436 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1437 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1438 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1439 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1440 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1441 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1442 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1443 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1444 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1445 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1446 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1447 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1448 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1449 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1450 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1451 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1452 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1453 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1454 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1455 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1456 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1457 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1458 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1459 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1460 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1461 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1462 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1463 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1464 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1465 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1466 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1467 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1468 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1469 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1470 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1471 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1472 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1473 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1474 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1475 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1476 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1477 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1478 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1479 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1480 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1481 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1482 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1483 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1484 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1485 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1486 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1487 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1488 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1489 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1491 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1492 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1493 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1494 before exiting on error.
1495 (__libc_vfork): New strong alias.
1496 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1497 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1499 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1500 that was previously under [RESET_PID].
1501 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1503 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1505 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1508 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1509 value when x - 1 is zero.
1510 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1511 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1512 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1513 0.0L for an argument of 1.0L.
1514 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1516 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1517 value when x - 1 is zero.
1518 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1519 * sysdeps/i386/fpu/libm-test-ulps: Update.
1520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1522 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1524 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1525 alphasort and versionsort.
1527 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1529 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1531 [copysignf]: Likewise.
1533 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1535 * crypt/md5-crypt.c: Fix formatting.
1537 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1539 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1540 (b64_from_24bit): New function.
1542 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1544 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1545 libc_hidden_builtin_def to ifunc.
1546 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1547 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1549 2014-05-21 Roland McGrath <roland@hack.frob.com>
1551 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1552 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1554 2014-05-21 Joseph Myers <joseph@codesourcery.com>
1556 * nscd/Depend (linuxthreads): Remove.
1558 * resolv/Depend (linuxthreads): Remove.
1559 * rt/Depend (linuxthreads): Remove.
1561 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1562 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1563 $(common-objpfx)elf/.
1564 (link-libc-before-gnulib): Likewise.
1565 (elfobjdir): Remove variable.
1566 * Makefile (install): Use $(elf-objpfx) instead of
1567 $(common-objpfx)elf/.
1568 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1570 (link-libc-deps): Likewise.
1571 ($(common-objpfx)libc.so): Likewise.
1572 ($(common-objpfx)linkobj/libc.so): Likewise.
1573 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1574 instead of $(common-objpfx)elf/.
1575 (symbolic-link-list): Likewise.
1576 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1577 [$(cross-compiling) = no]: Likewise.
1578 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1580 (static-gnulib-arch): Likewise.
1581 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1582 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1583 $(common-objpfx)elf/.
1585 2014-05-21 Richard Henderson <rth@redhat.com>
1587 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1588 (SINGLE_THREAD_P): Use the correct width load. Fold
1589 into the ldr offset.
1591 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1592 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1594 2014-05-20 Joseph Myers <joseph@codesourcery.com>
1596 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1597 (libgcc_s_resume): Use __attribute_used__.
1598 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1601 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1603 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1604 optimization when used with float constants.
1606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1608 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1611 * locale/nl_langinfo_l.c: Make direct reference to every
1612 _nl_current_CATEGORY symbol.
1613 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1614 (tests-static): Add tst-langinfo-static.
1615 (tests-special): Add tst-langinfo-static.out.
1616 ($(objpfx)tst-langinfo.out): Redirect output.
1617 ($(objpfx)tst-langinfo-static.out): New.
1618 * localedata/tst-langinfo.sh: Send output to stdout.
1619 * localedata/tst-langinfo-static.c: New file.
1622 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1623 when the shift amount is modulo the limb size.
1625 2014-05-20 Richard Henderson <rth@redhat.com>
1628 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1629 Change type of sa_flags from unsigned int to int.
1632 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1634 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1636 2014-05-20 Will Newton <will.newton@linaro.org>
1638 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1639 Test the return value of the system call in the nocancel case.
1641 2014-05-20 Will Newton <will.newton@linaro.org>
1642 Yvan Roux <yvan.roux@linaro.org>
1644 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1645 #include of asm/ptrace.h.
1646 (PTRACE_GET_THREAD_AREA): Remove #undef.
1647 (PTRACE_GETHBPREGS): Likewise.
1648 (PTRACE_SETHBPREGS): Likewise.
1649 (struct user_regs_struct): New structure.
1650 (struct user_fpsimd_struct): New structure.
1651 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1652 #include of asm/ptrace.h and second #include of sys/user.h.
1653 (PTRACE_GET_THREAD_AREA): Remove #undef.
1654 (PTRACE_GETHBPREGS): Likewise.
1655 (PTRACE_SETHBPREGS): Likewise.
1656 (ELF_NGREG): Use new struct user_regs_struct.
1657 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1659 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1661 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1662 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1664 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1667 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1668 membar to avoid block loads/stores to overlap previous stores.
1670 2014-05-17 Richard Henderson <rth@redhat.com>
1672 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1673 Create the __##syscall_name##_nocancel entry point.
1674 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1675 Remove; let the sysdep-cancel.h code create it.
1677 2014-05-17 David S. Miller <davem@davemloft.net>
1679 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1680 Protect with __USE_GNU.
1681 (TIOCSET_TEMPT): Likewise.
1682 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1683 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1684 these are already provided in bits/ioctl-types.h
1686 2014-05-16 Roland McGrath <roland@hack.frob.com>
1688 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1689 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1691 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1692 Use wait4 regardless of [__NR_waitpid].
1694 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1697 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1698 (_FP_NANSIGN_Q): Set the quiet bit.
1700 2014-05-16 Joseph Myers <joseph@codesourcery.com>
1702 * benchtests/Makefile
1703 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1704 not $(common-objpfx)math/libm.so.
1705 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1706 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1707 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1708 $(common-objpfx)dlfcn/libdl.so.
1709 ($(objpfx)tst-audit8): Depend on $(libm), not
1710 $(common-objpfx)math/libm.so.
1711 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1712 not $(common-objpfx)dlfcn/libdl.so.
1714 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1715 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1716 [$(build-shared) = yes].
1717 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1718 $(common-objpfx)nptl/libpthread.so.
1719 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1720 $(common-objpfx)math/libm.so$(libm.so-version) or
1721 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1722 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1723 $(common-objpfx)dlfcn/libdl.so.
1724 * setjmp/Makefile (link-libm): Remove variable.
1725 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1726 * stdio-common/Makefile (link-libm): Remove variable.
1727 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1728 * stdlib/Makefile (link-libm): Remove variable.
1729 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1730 ($(objpfx)tst-strtod-round): Likewise.
1731 ($(objpfx)tst-tininess): Likewise.
1732 ($(objpfx)tst-strtod-underflow): Likewise.
1733 ($(objpfx)tst-strtod6): Likewise.
1734 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1735 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1736 $(common-objpfx)dlfcn/libdl.so.
1738 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1740 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1741 BSD terminal modes definitions.
1743 2014-05-16 Roland McGrath <roland@hack.frob.com>
1745 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1746 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1748 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1749 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1750 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1751 Don't do #include_next.
1752 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1753 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1754 Don't do #include_next.
1755 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1756 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1757 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1758 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1760 2014-05-16 Allan McRae <allan@archlinux.org>
1762 * po/sv.po: Update Swedish translation from translation project.
1764 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1767 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1770 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1771 errno if the TIOCGPTN ioctl fails with an error different than
1773 * login/tst-ptsname.c: New file.
1774 * login/Makefile (tests): Add tst-ptsname.
1777 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1780 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1784 herrno to return EAI_AGAIN.
1786 2014-05-14 Roland McGrath <roland@hack.frob.com>
1788 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1789 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1790 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1791 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1792 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1793 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1794 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1795 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1796 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1797 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1798 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1799 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1800 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1801 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1802 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1803 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1804 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1805 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1806 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1807 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1808 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1809 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1810 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1811 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1812 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1813 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1814 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1815 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1816 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1817 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1819 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1821 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1824 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1826 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1828 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1830 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1832 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1834 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1836 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1838 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1840 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1842 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1844 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1846 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1848 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1850 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1853 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1855 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1857 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1859 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1861 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1863 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1865 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1867 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1869 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1871 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1874 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1876 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1878 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1879 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1880 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1881 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1882 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1883 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1884 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1885 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1886 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1887 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1888 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1889 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1890 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1891 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1892 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1893 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1894 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1895 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1896 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1897 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1898 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1899 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1900 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1901 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1902 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1903 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1904 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1905 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1906 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1907 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1908 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1910 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1911 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1913 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1914 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1915 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1916 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1917 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1918 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1920 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1921 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1923 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1924 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1926 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1927 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1929 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1930 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1931 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1932 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1934 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1935 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1936 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1937 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1938 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1939 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1940 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1941 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1943 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1944 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1946 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1948 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1949 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1950 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1951 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1952 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1954 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1956 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1958 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1959 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1960 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1961 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1962 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1963 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1965 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1966 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1968 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1969 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1971 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1972 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1974 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1975 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1976 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1977 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1979 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1980 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1981 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1982 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1983 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1984 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1985 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1986 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1988 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1989 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1991 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1993 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1994 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1995 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1996 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1997 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1999 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2001 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2003 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2004 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2005 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2006 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2007 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2008 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2009 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2010 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2011 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2012 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2014 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2015 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2017 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2018 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2020 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2021 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2023 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2024 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2025 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2026 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2027 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2028 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2030 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2031 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2032 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2033 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2034 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2035 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2036 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2037 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2039 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2040 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2042 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2044 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2045 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2046 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2047 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2048 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2050 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2052 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2054 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2055 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2056 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2057 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2058 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2059 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2060 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2061 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2062 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2063 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2064 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2066 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2067 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2069 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2070 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2072 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2073 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2074 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2075 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2076 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2077 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2078 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2079 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2080 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2081 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2082 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2083 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2084 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2085 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2086 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2087 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2088 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2089 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2091 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2092 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2093 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2094 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2096 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2097 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2098 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2099 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2100 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2101 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2102 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2103 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2105 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2106 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2108 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2109 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2110 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2111 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2112 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2113 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2114 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2115 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2116 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2117 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2118 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2119 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2120 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2121 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2122 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2123 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2124 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2126 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2127 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2128 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2129 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2130 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2132 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2133 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2134 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2135 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2136 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2137 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2138 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2139 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2140 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2141 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2143 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2144 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2146 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2147 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2148 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2149 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2150 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2151 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2152 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2153 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2154 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2155 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2156 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2157 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2158 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2159 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2160 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2162 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2164 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2166 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2168 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2176 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2178 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2180 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2181 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2182 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2183 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2184 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2185 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2186 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2187 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2188 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2189 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2190 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2191 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2192 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2193 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2194 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
2196 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2197 that was previously under [RESET_PID].
2198 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2199 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2200 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2202 * sysdeps/i386/nptl/Implies: New file.
2203 * sysdeps/x86_64/nptl/Implies: New file.
2204 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2205 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2206 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2207 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2209 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2210 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2211 (__libc_vfork): New strong alias.
2212 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2213 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2215 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2216 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2217 (__libc_vfork): New strong alias.
2218 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2219 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2221 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2222 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2223 (__libc_vfork): New strong alias.
2224 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2225 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2226 * nptl/pt-vfork.c: New file.
2227 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2228 (libpthread: GLIBC_2.20): New version set (empty).
2230 2014-05-14 Will Newton <will.newton@linaro.org>
2232 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2235 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2238 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2239 arguments with exponent 65 or above.
2240 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2241 arguments 0x1p113L or above.
2242 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2243 to arguments 0x1p107L or above.
2244 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2245 positive arguments with exponent 65 or above.
2246 * math/auto-libm-test-in: Add more tests of log1p.
2247 * math/auto-libm-test-out: Regenerated.
2250 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2251 non-finite arguments is +0.
2252 * math/s_cacosf.c (__cacosf): Likewise.
2253 * math/s_cacosl.c (__cacosl): Likewise.
2254 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2255 * sysdeps/i386/fpu/libm-test-ulps: Update.
2256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2259 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2261 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2262 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2263 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2264 for explicit high bit of mantissa when testing for argument equal
2266 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2267 * sysdeps/i386/fpu/libm-test-ulps: Update.
2268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2271 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2272 (__erf): Scale by 16 instead of 8 in potentially underflowing
2273 case. Ensure exception if result actually underflows.
2274 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2275 (__erff): Scale by 16 instead of 8 in potentially underflowing
2276 case. Ensure exception if result actually underflows.
2277 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2278 (efx8): Remove variable.
2279 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2280 case. Ensure exception if result actually underflows.
2281 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2282 (efx8): Remove variable.
2283 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2284 case. Ensure exception if result actually underflows.
2285 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2286 (efx8): Remove variable.
2287 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2288 case. Ensure exception if result actually underflows.
2289 * math/auto-libm-test-in: Add more tests of erf.
2290 * math/auto-libm-test-out: Regenerated.
2292 2014-05-14 Andreas Schwab <schwab@suse.de>
2294 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2295 Remove code conditionalized on USE___THREAD.
2297 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2298 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2301 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2303 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2304 Define unconditionally.
2305 (__ASSUME_O_CLOEXEC): Likewise.
2306 (__ASSUME_SOCK_CLOEXEC): Likewise.
2307 (__ASSUME_IN_NONBLOCK): Likewise.
2308 (__ASSUME_PIPE2): Likewise.
2309 (__ASSUME_EVENTFD2): Likewise.
2310 (__ASSUME_SIGNALFD4): Likewise.
2311 (__ASSUME_DUP3): Likewise.
2312 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2313 (__ASSUME_DUP3): Do not define.
2314 (__ASSUME_EVENTFD2): Likewise.
2315 (__ASSUME_IN_NONBLOCK): Likewise.
2316 (__ASSUME_O_CLOEXEC): Likewise.
2317 (__ASSUME_PIPE2): Likewise.
2318 (__ASSUME_SIGNALFD4): Likewise.
2319 (__ASSUME_SOCK_CLOEXEC): Likewise.
2320 (__ASSUME_UTIMES): Undefine.
2321 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2322 (__ASSUME_UTIMES): Do not define.
2323 (__ASSUME_O_CLOEXEC): Likewise.
2324 (__ASSUME_SOCK_CLOEXEC): Likewise.
2325 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2326 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2328 (__ASSUME_PIPE2): Likewise.
2329 (__ASSUME_EVENTFD2): Likewise.
2330 (__ASSUME_SIGNALFD4): Likewise.
2331 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2332 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2334 (__ASSUME_EVENTFD2): Likewise.
2335 (__ASSUME_SIGNALFD4): Likewise.
2336 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2337 (__ASSUME_32BITUIDS): Likewise.
2338 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2339 (__ASSUME_IPC64): Likewise.
2340 (__ASSUME_ST_INO_64_BIT): Likewise.
2341 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2342 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2343 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2344 (__ASSUME_UTIMES): Do not define.
2345 (__ASSUME_PSELECT): Likewise.
2346 (__ASSUME_PPOLL): Likewise.
2347 (__ASSUME_O_CLOEXEC): Likewise.
2348 (__ASSUME_SOCK_CLOEXEC): Likewise.
2349 (__ASSUME_IN_NONBLOCK): Likewise.
2350 (__ASSUME_PIPE2): Likewise.
2351 (__ASSUME_EVENTFD2): Likewise.
2352 (__ASSUME_SIGNALFD4): Likewise.
2353 (__ASSUME_DUP3): Likewise.
2354 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2355 (__ASSUME_UTIMES): Likewise.
2356 (__ASSUME_O_CLOEXEC): Likewise.
2357 (__ASSUME_SOCK_CLOEXEC): Likewise.
2358 (__ASSUME_IN_NONBLOCK): Likewise.
2359 (__ASSUME_PIPE2): Likewise.
2360 (__ASSUME_EVENTFD2): Likewise.
2361 (__ASSUME_SIGNALFD4): Likewise.
2362 (__ASSUME_DUP3): Likewise.
2363 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2364 (__ASSUME_UTIMES): Likewise.
2365 (__ASSUME_O_CLOEXEC): Likewise.
2366 (__ASSUME_SOCK_CLOEXEC): Likewise.
2367 (__ASSUME_IN_NONBLOCK): Likewise.
2368 (__ASSUME_PIPE2): Likewise.
2369 (__ASSUME_EVENTFD2): Likewise.
2370 (__ASSUME_SIGNALFD4): Likewise.
2371 (__ASSUME_DUP3): Likewise.
2372 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2374 (__ASSUME_UTIMES): Likewise.
2375 (__ASSUME_EVENTFD2): Likewise.
2376 (__ASSUME_SIGNALFD4): Likewise.
2377 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2378 (__ASSUME_O_CLOEXEC): Likewise.
2379 (__ASSUME_SOCK_CLOEXEC): Likewise.
2380 (__ASSUME_IN_NONBLOCK): Likewise.
2381 (__ASSUME_PIPE2): Likewise.
2382 (__ASSUME_EVENTFD2): Likewise.
2383 (__ASSUME_SIGNALFD4): Likewise.
2384 (__ASSUME_DUP3): Likewise.
2385 (__ASSUME_UTIMES): Undefine.
2387 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2388 feclearexcept. Remove symbol versioning code.
2389 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2390 symbol versioning code.
2391 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2392 symbol versioning code.
2393 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2394 feupdateenv. Remove symbol versioning code.
2395 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2396 fegetexceptflag. Remove symbol versioning code.
2397 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2398 fesetexceptflag. Remove symbol versioning code.
2399 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2400 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2401 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2402 (__posix_fadvise64_l32): Remove prototype.
2403 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2406 2014-05-13 Roland McGrath <roland@hack.frob.com>
2408 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2409 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2410 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2411 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2413 2014-05-13 Sami Kerola <kerolasa@iki.fi>
2415 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2416 current working directory
2418 2014-05-13 Roland McGrath <roland@hack.frob.com>
2420 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2421 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2422 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2423 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2424 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2425 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2426 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2427 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2428 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2429 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2430 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2431 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2432 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2433 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2434 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2435 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2436 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2437 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2438 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2439 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2440 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2441 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2442 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2443 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2444 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2445 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2446 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2447 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2448 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2449 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2450 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2451 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2452 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2453 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2454 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2455 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2456 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2457 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2458 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2459 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2460 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2461 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2463 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2464 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2466 * sysdeps/unix/sysv/linux/arm/Makefile
2467 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2468 Add rt-aeabi_unwind_cpp_pr1.
2469 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2470 Add nptl-aeabi_unwind_cpp_pr1.
2471 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2472 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2473 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2474 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2475 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2476 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2478 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2479 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2480 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2481 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2483 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2484 Deconditionalize the code that was previously under [RESET_PID].
2485 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2487 * sysdeps/generic/exit-thread.h: New file.
2488 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2489 * include/unistd.h (__exit_thread): Remove declaration.
2490 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2491 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2492 * csu/libc-start.c: Include <exit-thread.h>.
2493 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2494 * nptl/pthread_create.c: Include <exit-thread.h>.
2495 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2496 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2497 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2498 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2499 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2500 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2501 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2502 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2503 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2504 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2505 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2506 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2507 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2508 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2509 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2510 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2511 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2513 2014-05-13 Andreas Schwab <schwab@suse.de>
2515 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2517 2014-05-12 Joseph Myers <joseph@codesourcery.com>
2519 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2520 (__ASSUME_UTIMES): Do not condition on kernel version.
2521 (__ASSUME_PSELECT): Define unconditionally.
2522 (__ASSUME_PPOLL): Likewise.
2523 (__ASSUME_ATFCTS): Likewise.
2524 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2525 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2526 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2527 (__ASSUME_UTIMENSAT): Define unconditionally.
2528 (__ASSUME_PRIVATE_FUTEX): Likewise.
2529 (__ASSUME_FALLOCATE): Likewise.
2530 (__ASSUME_O_CLOEXEC): Likewise.
2531 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2532 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2533 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2534 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2535 (__ASSUME_IN_NONBLOCK): Likewise.
2536 (__ASSUME_PIPE2): Likewise.
2537 (__ASSUME_EVENTFD2): Likewise.
2538 (__ASSUME_SIGNALFD4): Likewise.
2539 (__ASSUME_DUP3): Likewise.
2540 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2541 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2542 (__ASSUME_AT_RANDOM): Likewise.
2543 (__ASSUME_PREADV): Likewise.
2544 (__ASSUME_PWRITEV): Likewise.
2545 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2546 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2547 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2548 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2549 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2550 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2551 (__ASSUME_O_CLOEXEC): Define unconditionally.
2552 (__ASSUME_PSELECT): Do not undefine conditionally.
2553 (__ASSUME_PPOLL): Likewise.
2554 (__ASSUME_ATFCTS): Likewise.
2555 (__ASSUME_SET_ROBUST_LIST): Likewise.
2556 (__ASSUME_UTIMENSAT): Likewise.
2557 (__ASSUME_FDATASYNC): Define unconditionally.
2558 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2559 (__ASSUME_SIGFRAME_V2): Likewise.
2560 )__ASSUME_EVENTFD2): Likewise.
2561 (__ASSUME_SIGNALFD4): Likewise.
2562 (__ASSUME_PSELECT): Do not undefine conditionally.
2563 (__ASSUME_PPOLL): Likewise.
2564 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2565 (__ASSUME_PSELECT): Define unconditionally.
2566 (__ASSUME_PPOLL): Likewise.
2567 (__ASSUME_O_CLOEXEC): Likewise.
2568 (__ASSUME_SOCK_CLOEXEC): Likewise.
2569 (__ASSUME_IN_NONBLOCK): Likewise.
2570 (__ASSUME_PIPE2): Likewise.
2571 (__ASSUME_EVENTFD2): Likewise.
2572 (__ASSUME_SIGNALFD4): Likewise.
2573 (__ASSUME_DUP3): Likewise.
2574 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2575 (__ASSUME_O_CLOEXEC): Likewise.
2576 (__ASSUME_SOCK_CLOEXEC): Likewise.
2577 (__ASSUME_IN_NONBLOCK): Likewise.
2578 (__ASSUME_PIPE2): Likewise.
2579 (__ASSUME_EVENTFD2): Likewise.
2580 (__ASSUME_SIGNALFD4): Likewise.
2581 (__ASSUME_DUP3): Likewise.
2582 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2583 (__ASSUME_EVENTFD2): Likewise.
2584 (__ASSUME_SIGNALFD4): Likewise.
2585 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2587 2014-05-12 Andreas Schwab <schwab@suse.de>
2590 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2591 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2592 than maximum RPC packet size.
2593 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2594 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2595 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2596 (_nss_nis_getservbyport_r): Likewise.
2598 2014-05-12 Will Newton <will.newton@linaro.org>
2600 * malloc/Makefile (tests): Add tst-mallopt.
2601 * malloc/tst-mallopt.c: New file.
2603 2014-05-09 Roland McGrath <roland@hack.frob.com>
2605 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2606 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2608 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2610 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2611 (tst-tlsmod6.so): Likewise.
2613 2014-05-09 Roland McGrath <roland@hack.frob.com>
2615 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2617 2014-05-09 Joseph Myers <joseph@codesourcery.com>
2620 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2621 and <dl-procinfo.h>.
2622 (__fegetenv): Save SSE state in envp->__eip if supported.
2623 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2624 envp->__eip if supported.
2625 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2626 and <dl-procinfo.h>.
2627 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2628 __data_offset and __data_selector in environment to 0. Set SSE
2630 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2632 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2634 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2636 2014-05-09 Will Newton <will.newton@linaro.org>
2638 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2639 and libc_relro_required for ARM.
2640 * sysdeps/arm/preconfigure: Regenerate.
2642 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2643 Stefan Liebler <stli@linux.vnet.ibm.com>
2645 * config.make.in (enable-lock-elision): New Makefile variable.
2646 * configure.ac: Likewise.
2647 * configure: Regenerate.
2648 * sysdeps/s390/configure.ac:
2649 Add check for gcc transactions support.
2650 * sysdeps/s390/configure: Regenerate.
2651 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2652 Build elision files if enabled.
2653 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2654 Add lock elision support for s390.
2655 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2656 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2657 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2658 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2659 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2660 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2661 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2663 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2665 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2667 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2669 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2670 (__lll_timedlock_elision, __lll_lock_elision)
2671 (__lll_unlock_elision, __lll_trylock_elision)
2672 (lll_timedlock_elision, lll_lock_elision)
2673 (lll_unlock_elision, lll_trylock_elision): Add.
2674 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2675 (pthread_mutex_t): Add lock elision support for s390.
2677 2014-05-14 Wilco <wdijkstr@arm.com>
2679 * sysdeps/arm/fclrexcpt.c: Cleanup.
2680 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2681 * sysdeps/arm/feenablxcpt.c: Cleanup.
2682 * sysdeps/arm/fegetenv.c: Cleanup.
2683 * sysdeps/arm/fegetexcept.c: Cleanup.
2684 * sysdeps/arm/fegetround.c: Cleanup.
2685 * sysdeps/arm/feholdexcpt.c: Cleanup.
2686 * sysdeps/arm/fesetenv.c: Cleanup.
2687 * sysdeps/arm/fesetround.c: Cleanup.
2688 * sysdeps/arm/feupdateenv.c: Cleanup.
2689 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2690 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2691 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2692 * sysdeps/arm/ftestexcept.c: Cleanup.
2693 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2694 * sysdeps/arm/setfpucw.c: Cleanup.
2696 2014-05-09 Will Newton <will.newton@linaro.org>
2698 * sysdeps/arm/armv7/strcmp.S: New file.
2699 * NEWS: Mention addition of ARMv7 optimized strcmp.
2701 2014-05-08 Roland McGrath <roland@hack.frob.com>
2703 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2704 look for %.ac rather than %.in.
2706 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2707 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2708 * sysdeps/mach/hurd/configure: Regenerated.
2709 * sysdeps/unix/sysv/linux/configure: Regenerated.
2711 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2713 2014-05-07 Steve Ellcey <sellcey@mips.com>
2716 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2720 2014-05-07 Andreas Schwab <schwab@suse.de>
2722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2723 when skipping over non-matching result from nscd.
2725 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
2728 * nptl/sockperf.c (client): Check socket return value.
2731 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2732 nscd security class.
2734 2014-05-06 Roland McGrath <roland@hack.frob.com>
2736 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2737 * sysdeps/arm/unwind.h: ... here.
2739 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2742 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2745 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2747 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2748 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2749 multiarch strncpy for PPC64.
2750 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2751 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2752 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2753 multiarch optimizations.
2754 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2755 (__libc_ifunc_impl_list): Likewise.
2756 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2757 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2758 multiarch stpncpy for PPC64.
2759 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2760 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2762 2014-05-06 Andreas Schwab <schwab@suse.de>
2765 * gmon/mcount.c (_MCOUNT_DECL): Use
2766 atomic_compare_and_exchange_bool_acq instead of
2767 catomic_compare_and_exchange_bool_acq.
2769 2014-05-05 Roland McGrath <roland@hack.frob.com>
2771 * elf/Makefile (others, install-bin): Remove pldd.
2772 (pldd-modules): Variable removed.
2773 ($(objpfx)pldd): Target removed.
2774 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2775 (others, install-bin): Append pldd here.
2776 ($(objpfx)pldd): New target.
2778 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2779 to 0, so the first #if test emitted later doesn't see it undefined.
2780 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2781 * sysdeps/gnu/errlist.c: Regenerated.
2783 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2785 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2786 [libc_hidden_builtin_def]: Define to empty value.
2787 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2788 [libc_hidden_builtin_def]: Likewise.
2789 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2790 [libc_hidden_builtin_def]: Likewise.
2791 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2792 [libc_hidden_builtin_def]: Likewise.
2793 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2794 __redirect_memcpy and define ifunc as default hidden symbol.
2795 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2796 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2798 2014-05-04 Adam Conrad <adconrad@0c3.net>
2800 * locale/iso-4217.def: Reintroduce XDR currency.
2802 2014-05-04 Allan McRae <allan@archlinux.org>
2804 * po/eo.po: Update Esperanto translation from translation project.
2806 2014-05-02 Carlos O'Donell <carlos@redhat.com>
2808 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2809 and FEATURE_INDEX_MAX to 1.
2810 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2812 2014-05-01 Steve Ellcey <sellcey@mips.com>
2814 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2815 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2816 * iconvdata/big5.c (ONE_DIRECTION): Define.
2817 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2818 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2819 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2820 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2821 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2822 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2823 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2824 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2825 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2826 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2827 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2828 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2829 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2830 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2831 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2832 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2833 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2834 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2835 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2836 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2837 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2838 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2839 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2840 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2841 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2842 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2843 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2844 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2845 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2846 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2847 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2848 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2849 * iconvdata/johab.c (ONE_DIRECTION): Define.
2850 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2851 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2852 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2853 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2854 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2855 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2856 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2857 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2858 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2859 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2861 2014-05-01 Roland McGrath <roland@hack.frob.com>
2863 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2864 (_IO_JUMPS_OFFSET): Define to 0.
2866 * nptl/sysdeps/pthread/bits/libc-lock.h
2867 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2868 (__libc_lock_define_initialized_recursive): Always define using
2869 initializer. Modern compilers treat uninitialized (implicit zero) and
2870 explicit zero initializers the same (i.e. put the datum in bss).
2872 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2874 * nscd/nscd-client.h: Include <string.h>.
2876 2014-05-01 David S. Miller <davem@davemloft.net>
2879 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2880 multiple zero bytes exist at the end of a string.
2881 Reported by Aurelien Jarno <aurelien@aurel32.net>
2883 * string/test-strcmp.c (check): Add explicit test for situations where
2884 there are multiple zero bytes after the first.
2886 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2889 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2890 when compiling wprintf.
2891 * stdio-common/tstdiomisc.c (t3): New function.
2894 2014-05-01 Steve Ellcey <sellcey@mips.com>
2896 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2897 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2898 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2899 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2901 2014-05-01 Steve Ellcey <sellcey@mips.com>
2903 * stdlib/longlong.h: Updated from GCC.
2905 2014-05-01 Will Newton <will.newton@linaro.org>
2906 Bernard Ogden <bernie.ogden@linaro.org>
2908 * NEWS: Update fixed bug list.
2911 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2913 2014-04-30 David S. Miller <davem@davemloft.net>
2915 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2916 (libc_feholdexcept_setround_sparc_ctx): New function.
2917 (libc_fesetenv_sparc_ctx): Likewise.
2918 (libc_feupdateenv_sparc_ctx): Likewise.
2919 (libc_feholdsetround_sparc_ctx): Likewise.
2920 (libc_feholdexcept_setround_ctx): Define.
2921 (libc_feholdexcept_setroundf_ctx): Likewise.
2922 (libc_feholdexcept_setroundl_ctx): Likewise.
2923 (libc_fesetenv_ctx): Likewise.
2924 (libc_fesetenvf_ctx): Likewise.
2925 (libc_fesetenvl_ctx): Likewise.
2926 (libc_feupdateenv_ctx): Likewise.
2927 (libc_feupdateenvf_ctx): Likewise.
2928 (libc_feupdateenvl_ctx): Likewise.
2929 (libc_feresetround_ctx): Likewise.
2930 (libc_feresetroundf_ctx): Likewise.
2931 (libc_feresetroundl_ctx): Likewise.
2932 (libc_feholdsetround_ctx): Likewise.
2933 (libc_feholdsetroundf_ctx): Likewise.
2934 (libc_feholdsetroundl_ctx): Likewise.
2936 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2937 with __USE_GNU instead of XOPEN cpp guards.
2939 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2942 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2943 with XOPEN cpp guards.
2945 2014-04-30 Julian Brown <julian@codesourcery.com>
2948 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2951 2014-04-30 Joseph Myers <joseph@codesourcery.com>
2954 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2956 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2957 * sysdeps/unix/sysv/linux/configure: Regenerated.
2958 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2959 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2960 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2961 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2962 * README: Update reference to required Linux kernel version.
2963 * manual/install.texi (Linux): Update reference to required Linux
2964 kernel headers version.
2965 * INSTALL: Regenerated.
2967 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2969 [POSIX] (limits.h): Likewise.
2970 [POSIX] (math.h): Likewise.
2971 [POSIX] (sys/wait.h): Likewise.
2972 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2974 [POSIX] (stddef.h): Do not allow header inclusion.
2976 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2978 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
2980 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2982 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2983 Return immediately after lll_futex_wake.
2985 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2988 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2990 (datahead_init_pos): Call datahead_init_common early.
2991 (datahead_init_neg): Likewise.
2993 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2994 datahead_init_neg): New functions.
2995 * nscd/aicache.c (addhstaiX): Use them.
2996 * nscd/grpcache.c (cache_addgr): Likewise.
2997 * nscd/hstcache.c (cache_addhst): Likewise.
2998 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2999 * nscd/netgroupcache.c (do_notfound): Likewise.
3000 (addgetnetgrentX): Likewise.
3001 (addinnetgrX): Likewise.
3002 * nscd/pwdcache.c (cache_addpw): Likewise.
3003 * nscd/servicescache.c (cache_addserv): Likewise.
3005 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3006 Atsushi Onoe <atsushi@onoe.org>
3011 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3012 one response is valid.
3013 * resolv/res_send.c (send_dg): Check for validity of other
3014 response if the current response is a referral.
3016 2014-04-29 Steve Ellcey <sellcey@mips.com>
3018 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3020 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3023 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3024 Always divide by positive zero when computing -Inf result.
3025 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3026 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3028 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3030 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3031 FPSCR if value do not change.
3032 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3033 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3034 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3035 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3036 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3037 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3040 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3042 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3043 * sysdeps/unix/sysv/linux/hppa: Move directory from
3044 ports/systeps/unix/sysv/linux/hppa.
3045 * README: Update listing for hppa-*-linux-gnu.
3047 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3050 * manual/stdio.texi (Hook functions): Fix types of stream hook
3053 * socket/sys/socket.h: Fix typo in comment.
3055 2014-04-28 Wilco <wdijkstr@arm.com>
3057 * sysdeps/arm/fenv_private.h: New file.
3058 * sysdeps/arm/math_private.h: New file.
3059 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3061 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3063 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3065 (La_x86_64_retval): Likewise.
3067 2014-04-24 Ian Bolton <ian.bolton@arm.com>
3069 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3070 fpsr if value didn't change.
3071 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3072 to fpcr if value didn't change.
3073 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3074 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3075 fpsr or fpcr if value didn't change.
3076 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3077 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3078 fpcr if value didn't change.
3079 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3080 to fpsr if value didn't change.
3082 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3084 * nptl/tst-sem3.c: Use test-skeleton.c
3085 (main): Rename to do_test. Use return instead of
3087 * nptl/tst-sem4.c: Use test-skeleton.c
3088 (main): Rename to do_test.
3090 2014-04-22 David S. Miller <davem@davemloft.net>
3092 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3093 (struct sigaction): New struct member __glibc_reserved0, change
3094 type of sa_flags to int.
3096 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3098 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3099 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3101 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3103 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3104 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3106 2014-04-22 Will Newton <will.newton@linaro.org>
3107 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3109 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3110 (__longjmp): Add longjmp and longjmp_target SystemTap
3112 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3113 (__sigsetjmp): Add setjmp SystemTap probe.
3115 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3117 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3120 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3122 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3124 * sysdeps/powerpc/fpu/fenv_private.h
3125 (libc_feholdexcept_setroundl_ctx): Define to
3126 libc_feholdexcept_setround_ppc_ctx.
3127 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3128 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3129 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3130 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3132 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3134 * sysdeps/aarch64/math-tests.h: New file.
3136 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3138 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3141 Check and set bit_AVX2_Usable.
3142 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3144 (bit_AVX2): Likewise.
3145 (index_AVX2_Usable): Likewise.
3146 (CPUID_AVX2): Likewise.
3147 (HAS_AVX2): Likewise.
3149 2014-04-17 Will Newton <will.newton@linaro.org>
3151 * manual/setjmp.texi (System V contexts): Add note that
3152 calling setcontext on a context created by a call to a
3153 signal handler is undefined. Update text to note that
3154 setcontext from a signal handler is possible but not
3158 * stdlib/tst-setcontext.c: Include signal.h.
3159 (main): Check that the signal stack before and
3160 after swapcontext is the same.
3162 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3163 Re-implement to restore registers in user code and avoid
3164 rt_sigreturn system call.
3166 2014-04-17 Wilco <wdijkstr@arm.com>
3168 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3169 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3170 * math/test-fenv.c: Skip exception trap tests on targets which only
3171 support non-stop mode.
3173 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3174 Wilco Dijkstra <wilco.dijkstra@arm.com>
3176 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3177 (libc_feholdsetround_aarch64_ctx)
3178 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3179 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3180 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3181 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3182 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3183 (libc_feresetround_noexl_ctx): Define.
3185 2014-04-16 Richard Henderson <rth@redhat.com>
3187 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3189 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3192 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3193 const from the non-libc, non-ldso copy.
3195 * sysdeps/alpha/libm-test-ulps: Regenerate.
3197 2014-04-16 Ian Bolton <ian.bolton@arm.com>
3198 Wilco Dijkstra <wilco.dijkstra@arm.com>
3200 * sysdeps/aarch64/fpu/math_private.h: New file.
3202 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3204 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3206 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3208 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3209 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3210 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3211 Intel MPX bound registers before _dl_profile_fixup.
3212 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3213 registers after _dl_profile_fixup. Save and restore bound
3214 registers bnd0/bnd1 when calling _dl_call_pltexit.
3215 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3216 (LR_BND_OFFSET): Likewise.
3217 (LRV_BND0_OFFSET): Likewise.
3218 (LRV_BND1_OFFSET): Likewise.
3220 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3222 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3224 * sysdeps/mach/hurd/i386/tls.h: ... here.
3225 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3226 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3229 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3231 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3233 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3235 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3237 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3240 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3241 * sysdeps/s390/configure: Regenerate.
3244 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3245 Set round-to-nearest internally to reduce error accumulation.
3247 2014-04-16 Alan Modra <amodra@gmail.com>
3251 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3252 * math/libm-test.inc (frexp_test_data): Add tests.
3253 * NEWS: Update fixed bug list.
3255 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3257 * benchtests/Makefile: Depend on libraries in build directory.
3258 (bench-math): Separate out math tests.
3259 (bench-pthread): Separate out pthread tests.
3260 (bench): Include math and pthread tests.
3262 2014-04-14 Carlos O'Donell <carlos@redhat.com>
3265 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3266 _dl_debug_initialize.
3268 * configure.ac: Remove SELinux header check.
3269 * configure: Regenerate.
3270 * nscd/selinux.c (perms): Array of const char* to permission names.
3271 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3272 default policy. Call string_to_security_class and string_to_av_perm to
3273 translate strings. Enforce default policy and call avs_has_perm with
3274 results of translated strings.
3276 2014-04-13 David S. Miller <davem@davemloft.net>
3278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3280 2014-04-12 Allan McRae <allan@archlinux.org>
3283 * manual/string.texi (Collation Functions): Fix qsort argument
3285 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3287 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3289 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3290 Make the test a no-op if there are no exceptions defined.
3292 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3294 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3295 enable-hardcoded-path-in-tests
3297 2014-04-11 Will Newton <will.newton@linaro.org>
3299 * benchtests/Makefile (extra-objs): Add json-lib.o.
3300 (bench-func): Tidy up JSON output.
3301 * benchtests/bench-skeleton.c: Include json-lib.h.
3302 (main): Use JSON library functions to do output of
3304 * benchtests/bench-timing-type.c (main): Output the
3305 timing type simply, leaving formatting to the user.
3306 * benchtests/json-lib.c: New file.
3307 * benchtests/json-lib.h: Likewise.
3309 2014-04-11 Torvald Riegel <triegel@redhat.com>
3312 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3313 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3314 memory barriers. Add comments.
3315 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3316 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3317 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3318 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3319 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3320 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3322 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3324 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3325 * sysdeps/s390/s390-64/configure.ac: ... this ...
3326 * sysdeps/s390/configure.ac: ... to here.
3327 * sysdeps/s390/s390-32/configure: Delete file.
3328 * sysdeps/s390/s390-64/configure: Delete file.
3329 * sysdeps/s390/configure: Regenerate.
3331 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3333 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3335 2014-04-11 Will Newton <will.newton@linaro.org>
3337 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3338 to zero if it is not defined elsewhere. (mtrim): Test
3339 the value of MALLOC_DEBUG with #if rather than #ifdef.
3341 2014-04-10 Torvald Riegel <triegel@redhat.com>
3343 * benchtests/pthread_once-inputs: New file.
3344 * benchtests/pthread_once-source.c: New file.
3345 * benchtests/README: Update documentation.
3347 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3348 H.J. Lu <hongjiu.lu@intel.com>
3350 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3351 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3352 * sysdeps/x86_64/configure: Regenerated.
3353 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3355 (REGISTER_SAVE_RAX): Likewise.
3356 (REGISTER_SAVE_RCX): Likewise.
3357 (REGISTER_SAVE_RDX): Likewise.
3358 (REGISTER_SAVE_RSI): Likewise.
3359 (REGISTER_SAVE_RDI): Likewise.
3360 (REGISTER_SAVE_R8): Likewise.
3361 (REGISTER_SAVE_R9): Likewise.
3362 (REGISTER_SAVE_BND0): Likewise.
3363 (REGISTER_SAVE_BND1): Likewise.
3364 (REGISTER_SAVE_BND2): Likewise.
3365 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3366 bound registers when calling _dl_fixup.
3368 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3370 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3371 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3373 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3374 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3375 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3376 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3377 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3378 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3379 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3381 2014-04-09 Peter Brett <peter@peter-b.co.uk>
3384 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3385 pathconf(_PC_NAME_MAX).
3387 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3389 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3391 (__PTHREAD_SPINS): Move definition to ...
3392 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3393 (__PTHREAD_SPINS): ... here.
3394 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3395 (__PTHREAD_SPIN): Likewise.
3396 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3397 (__PTHREAD_SPIN): Likewise.
3398 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3399 (__PTHREAD_SPIN): Likewise.
3400 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3401 (__PTHREAD_SPIN): Likewise.
3402 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3403 (__PTHREAD_SPIN): Likewise.
3404 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3405 (__PTHREAD_SPIN): Likewise.
3406 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3407 (__PTHREAD_SPIN): Likewise.
3408 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3409 (__PTHREAD_SPIN): Likewise.
3410 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3411 (__PTHREAD_SPIN): Likewise.
3412 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3413 (__PTHREAD_SPIN): Likewise.
3414 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3415 (__PTHREAD_SPIN): Likewise.
3416 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3417 (__PTHREAD_SPIN): Likewise.
3419 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3420 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3421 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3422 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3424 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3425 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3426 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3427 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3429 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3430 strlen symbol for non multi-arch builds.
3431 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3432 missing hidden_def and weak_alias.
3434 2014-04-08 Carlos O'Donell <carlos@redhat.com>
3436 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3438 2014-04-07 Will Newton <will.newton@linaro.org>
3440 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3441 and contents. [!_LIBC] Remove #ifndef and contents.
3442 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3443 * string/memccpy.c (__memccpy): Use ANSI prototype.
3444 * string/memfrob.c (memfrob): Likewise.
3445 * string/strcoll.c (STRCOLL): Likewise.
3446 * string/strlen.c (strlen): Likewise.
3447 * string/strtok.c (STRTOK): Likewise.
3448 * string/strcat.c: Remove unused #include of memcopy.h.
3449 (strcat): Use ANSI prototype.
3450 * string/strchr.c: Remove unused #include of memcopy.h.
3451 (strchr): Use ANSI prototype.
3452 * string/strcmp.c: Remove unused #include of memcopy.h.
3453 (strcmp): Use ANSI prototype.
3454 * string/strcpy.c: Remove unused #include of memcopy.h.
3455 (strcpy): Use ANSI prototype.
3457 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3459 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3460 * config.make.in (config-extra-cppflags): Set it from
3461 libc_extra_cppflags.
3462 * configure.ac (libc_extra_cflags): Make it accumulate over
3463 configure fragments.
3464 (libc_extra_cppflags): New flag.
3465 * configure. Regenerate.
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3467 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3468 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3472 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3473 result for FE_DOWNWARD rounding mode.
3474 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3478 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3480 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3481 in function argument name.
3483 2014-04-03 David Svoboda <svoboda@cert.org>
3486 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3489 2014-04-03 Roland McGrath <roland@hack.frob.com>
3491 * elf/dl-unmap-segments.h: New file.
3492 * sysdeps/generic/ldsodefs.h
3493 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3494 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3495 * elf/dl-fptr.c: Likewise.
3496 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3497 * sysdeps/aarch64/tlsdesc.c: Likewise.
3498 * sysdeps/arm/tlsdesc.c: Likewise.
3499 * sysdeps/i386/tlsdesc.c: Likewise.
3500 * sysdeps/tile/dl-runtime.c: Likewise.
3501 * sysdeps/x86_64/tlsdesc.c: Likewise.
3502 * elf/dl-load.h: New file.
3503 * elf/dl-load.c: Include it.
3504 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3505 Macros moved to dl-load.h.
3506 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3507 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3508 Use _dl_unmap_segments in place of __munmap.
3509 Break out segment-mapping loop into ...
3510 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3512 2014-04-03 Will Newton <will.newton@linaro.org>
3514 * elf/dl-lookup.c (do_lookup_x): Remove comment
3515 referring to nested function and move variable
3516 declarations down to before first use.
3518 2014-04-02 Joseph Myers <joseph@codesourcery.com>
3522 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3524 * math/s_catanf.c (__catanf): Likewise.
3525 * math/s_catanh.c (__catanh): Likewise.
3526 * math/s_catanhf.c (__catanhf): Likewise.
3527 * math/s_catanhl.c (__catanhl): Likewise.
3528 * math/s_catanl.c (__catanl): Likewise.
3529 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3530 by positive zero when computing -Inf result.
3531 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3532 (catanh_test): Likewise.
3533 * sysdeps/i386/fpu/libm-test-ulps: Update.
3534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3537 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3538 instead of using underflowing value in computing result.
3539 * math/s_clog10.c (__clog10): Likewise.
3540 * math/s_clog10f.c (__clog10f): Likewise.
3541 * math/s_clog10l.c (__clog10l): Likewise.
3542 * math/s_clogf.c (__clogf): Likewise.
3543 * math/s_clogl.c (__clogl): Likewise.
3544 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3545 (clog10_test): Likewise.
3546 * sysdeps/i386/fpu/libm-test-ulps: Update.
3547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3549 2014-04-02 Alan Modra <amodra@gmail.com>
3552 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3553 output when value is near a power of two. Use int64_t for lx and
3554 remove casts. Use decimal rather than hex exponent constants.
3555 Don't use long double multiplication when double will suffice.
3556 * math/libm-test.inc (nextafter_test_data): Add tests.
3557 * NEWS: Add 16739 and 16786 to bug list.
3559 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3561 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3563 2014-04-01 Will Newton <will.newton@linaro.org>
3565 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3566 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3568 2014-04-01 Florian Weimer <fweimer@redhat.com>
3571 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3572 * nptl/tst-setuid2.c: New file.
3573 * nptl/Makefile (xtests): Add tst-setuid2.
3575 2014-04-01 Alan Modra <amodra@gmail.com>
3578 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3580 2014-03-31 Joseph Myers <joseph@codesourcery.com>
3584 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3585 set errno as appropriate.
3586 * math/w_scalbf.c (__scalbf): Likewise.
3587 * math/w_scalbl.c (__scalbl): Likewise.
3588 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3589 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3590 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3594 * math/w_atan2.c: Include <errno.h>.
3595 (__atan2): Set errno for result underflowing to zero.
3596 * math/w_atan2f.c: Include <errno.h>.
3597 (__atan2f): Set errno for result underflowing to zero.
3598 * math/w_atan2l.c: Include <errno.h>.
3599 (__atan2l): Set errno for result underflowing to zero.
3600 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3602 * math/auto-libm-test-out: Regenerated.
3604 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3606 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3607 Encode instruction correctly in little endian.
3608 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3610 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3612 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3614 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3617 2014-03-31 Joseph Myers <joseph@codesourcery.com>
3620 * sysdeps/unix/sysv/linux/kernel-features.h
3621 [__sparc__ && !__arch64__ && !__sparc_v9__]
3622 (__ASSUME_SET_ROBUST_LIST): Do not define.
3623 [__sparc__ && !__arch64__ && !__sparc_v9__]
3624 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3625 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3627 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3628 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3629 (__ASSUME_REQUEUE_PI): Likewise.
3630 (__ASSUME_SET_ROBUST_LIST): Likewise.
3631 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3632 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3634 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3635 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3637 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3639 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3641 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3642 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3644 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3645 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3649 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3650 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3651 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3653 2014-03-31 Will Newton <will.newton@linaro.org>
3655 * benchtests/Makefile (bench): Add ffs and ffsll to list
3657 * benchtests/ffs-inputs: New file.
3658 * benchtests/ffsll-inputs: Likewise.
3660 2014-03-29 Joseph Myers <joseph@codesourcery.com>
3663 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3664 too large before casting to int.
3665 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3666 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3667 * math/libm-test.inc (scalb_test_data): Add more tests.
3669 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3671 * benchtests/Makefile (DETAILED_OPT): New make option.
3672 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3674 * benchtests/bench-skeleton.c: Include stdbool.h.
3675 (main): Store and print timings per input.
3676 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3677 member to each argument value.
3678 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3679 (_print_arg_data): Initialize per-input timing to 0.
3681 * benchtests/Makefile (timing-type): New binary.
3682 (bench-clean): Also remove bench-timing-type.
3683 (bench): New target for timing-type.
3684 (bench-func): Print output in JSON format.
3685 * benchtests/bench-skeleton.c (main): Print output in JSON
3687 * benchtests/bench-timing-type.c: New file.
3688 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3689 (TIMING_PRINT_STATS): Remove.
3690 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3693 * benchtests/bench-modf.c: Remove.
3694 * benchtests/modf-inputs: New inputs file.
3696 2014-03-28 Joseph Myers <joseph@codesourcery.com>
3699 * math/s_clog10.c (M_PI_LOG10E): New macro.
3700 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3701 imaginary parts are 0.
3702 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3703 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3704 imaginary parts are 0.
3705 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3706 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3707 imaginary parts are 0.
3708 * math/libm-test.inc (clog10_test_data): Update expected results
3709 for when real and imaginary parts are 0.
3711 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3713 * elf/dl-load.c: Finish conversion of __builtin_expect into
3716 2014-03-27 Joseph Myers <joseph@codesourcery.com>
3719 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3720 1+x for argument with exponent below -67.
3721 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3723 * math/auto-libm-test-in: Add more tests of exp.
3724 * math/auto-libm-test-out: Regenerated.
3726 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3729 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3730 (nscd_getnetgrent): Use it.
3733 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3736 2014-03-27 Andi Kleen <ak@linux.intel.com>
3738 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3739 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3740 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3741 (lll_robust_unlock): Remove out of line section. Use cfi
3743 (LLL_STUB_UNWIND_INFO*): Remove.
3744 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3745 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3746 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3747 (lll_robust_unlock): Remove out of line section. Use cfi
3749 (LLL_STUB_UNWIND_INFO*): Remove.
3751 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3754 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3757 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3759 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3761 2014-03-26 Joseph Myers <joseph@codesourcery.com>
3764 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3766 * math/test-fenv-preserve.c: New file.
3767 * math/Makefile (tests): Add test-fenv-preserve.
3769 2014-03-26 Will Newton <will.newton@linaro.org>
3771 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3773 2014-03-25 Roland McGrath <roland@hack.frob.com>
3775 * scripts/versionlist.awk: Partition the version sets and emit all
3776 GLIBC_* (sorted) before all others (sorted).
3778 2014-03-25 Joseph Myers <joseph@codesourcery.com>
3780 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3781 GLIBC_2.2.5 version.
3783 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3785 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3788 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3793 2014-03-25 Andreas Schwab <schwab@suse.de>
3795 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3796 label to be used after in6ailist is initialized.
3798 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3800 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3801 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3803 2014-03-25 Joseph Myers <joseph@codesourcery.com>
3807 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3809 (fp_formats): Update initializers.
3810 (init_fp_formats): Initialize new field.
3811 (output_for_one_input_case): Allow underflow for results up to
3813 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3814 * math/auto-libm-test-in: Don't mark some underflows from asin and
3816 * math/auto-libm-test-out: Regenerated.
3817 * sysdeps/i386/fpu/libm-test-ulps: Update.
3818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3820 2014-03-25 Andreas Schwab <schwab@suse.de>
3822 * libio/Makefile (tst-ftell-partial-wide-ENV)
3823 (tst-ftell-active-handler-ENV): Define.
3825 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3827 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3829 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3831 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3833 2014-03-24 Joseph Myers <joseph@codesourcery.com>
3835 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3836 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3837 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3839 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3842 * elf/dl-load.c (open_verify): Add mode parameter.
3843 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3844 (open_path): Change from boolean 'secure' to complete flag 'mode'
3845 (_dl_map_object): Adjust.
3846 * elf/Makefile (tests): Add tst-dlopen-aout.
3847 * elf/tst-dlopen-aout.c: New test.
3849 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3852 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3853 (struct stat): Rename member pad0 to __glibc_reserved0.
3856 * sysdeps/s390/s390-32/bits/wordsize.h
3857 (__WORDSIZE32_SIZE_ULONG): New define.
3858 * sysdeps/s390/s390-64/bits/wordsize.h
3859 (__WORDSIZE32_SIZE_ULONG): Likewise.
3860 * sysdeps/generic/stdint.h (SIZE_MAX):
3861 Define as UL if __WORDSIZE32_SIZE_ULONG.
3864 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3865 (__glibc_reserved0): New variable.
3866 (sa_flags): Change type to int.
3868 * posix/Makefile (before-compile): Use += before-compile instead
3871 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3872 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3874 2014-03-20 Andreas Schwab <schwab@suse.de>
3877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3878 non-matching result from nscd.
3880 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3882 * scripts/bench.py: Moved to ...
3883 * benchtests/scripts/bench.py: ... here.
3884 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3886 2014-03-24 Andreas Schwab <schwab@suse.de>
3889 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3890 alloca_account and account alloca use for struct in6ailist.
3892 2014-03-24 Joseph Myers <joseph@codesourcery.com>
3895 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3896 rounding mode to recompute results that overflow to infinity or
3898 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3900 * math/auto-libm-test-out: Regenerated.
3901 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3902 (ccosh_test): Likewise.
3903 (csin_test_data): Use plus_oflow.
3904 (csin_test): Use ALL_RM_TEST.
3905 (csinh_test_data): Use plus_oflow.
3906 (csinh_test): Use ALL_RM_TEST.
3907 * sysdeps/i386/fpu/libm-test-ulps: Update.
3908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3910 2014-03-21 Joseph Myers <joseph@codesourcery.com>
3912 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3913 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3914 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3917 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3919 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3920 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3921 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3922 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3924 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3925 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3927 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3928 * sysdeps/i386/fpu/libm-test-ulps: Update.
3929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3931 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3933 * scripts/bench.pl: Remove file.
3934 * scripts/bench.py: New benchmark script.
3935 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3936 * benchtests/README: Mention python dependency.
3937 * scripts/pylintrc: New file.
3938 * scripts/pylint: New file.
3940 * bits/mathdef.h: Use #ifdef instead of #if.
3941 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3942 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3943 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3944 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3945 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3946 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3948 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3949 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3951 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3953 and strpbrk-ppc64 objects.
3954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3955 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3956 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3957 multiarch strpbrk for POWER7.
3958 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3959 multiarch strpbrk for PPC64.
3960 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3962 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3965 2014-03-20 Joseph Myers <joseph@codesourcery.com>
3967 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3968 (atan_test): Likewise.
3969 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3970 (atanh_test): Use ALL_RM_TEST.
3971 (atan2_test_data): Likewise.
3972 (cabs_test): Likewise.
3973 (cacosh_test): Likewise.
3974 (carg_test): Likewise.
3975 (casin_test): Likewise.
3976 (casinh_test): Likewise.
3977 (cbrt_test): Likewise.
3978 (csqrt_test): Likewise.
3979 (erf_test): Likewise.
3980 (erfc_test): Likewise.
3981 (pow10_test): Likewise.
3982 (exp2_test): Likewise.
3983 (hypot_test): Likewise.
3984 (j0_test): Likewise.
3985 (j1_test): Likewise.
3986 (lgamma_test): Likewise.
3987 (gamma_test): Likewise.
3988 (sincos_test): Likewise.
3989 (tanh_test): Likewise.
3990 (y0_test): Likewise.
3991 (y1_test): Likewise.
3992 * sysdeps/i386/fpu/libm-test-ulps: Update.
3993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3995 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3997 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3998 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
3999 and strcspn-ppc64 objects.
4000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4001 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4002 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4003 multiarch strcspn for POWER7.
4004 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4005 multiarch strcspn for PPC64.
4006 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4008 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4011 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4013 * math/gen-libm-test.pl (generate_testfile): Expect only function
4014 name as argument to AUTO_TESTS_* and pass results for all rounding
4015 modes to parse_args.
4016 (parse_auto_input): Separate inputs of automatic tests from
4017 outputs before storing in %auto_tests.
4018 * math/libm-test.inc (acos_test_data): Update call to
4020 (acos_test): Use ALL_RM_TEST.
4021 (acos_tonearest_test_data): Remove.
4022 (acos_test_tonearest): Likewise.
4023 (acos_towardzero_test_data): Likewise.
4024 (acos_test_towardzero): Likewise.
4025 (acos_downward_test_data): Likewise.
4026 (acos_test_downward): Likewise.
4027 (acos_upward_test_data): Likewise.
4028 (acos_test_upward): Likewise.
4029 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4030 (asin_test_data): Likewise.
4031 (asin_test): Use ALL_RM_TEST.
4032 (asin_tonearest_test_data): Remove.
4033 (asin_test_tonearest): Likewise.
4034 (asin_towardzero_test_data): Likewise.
4035 (asin_test_towardzero): Likewise.
4036 (asin_downward_test_data): Likewise.
4037 (asin_test_downward): Likewise.
4038 (asin_upward_test_data): Likewise.
4039 (asin_test_upward): Likewise.
4040 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4041 (atan_test_data): Likewise.
4042 (atanh_test_data): Likewise.
4043 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4044 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4045 (carg_test_data): Likewise.
4046 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4047 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4048 (ccosh_test_data): Likewise.
4049 (cexp_test_data): Likewise.
4050 (clog_test_data): Likewise.
4051 (clog10_test_data): Likewise.
4052 (cos_test_data): Update call to AUTO_TESTS_f_f.
4053 (cos_test): Use ALL_RM_TEST.
4054 (cos_tonearest_test_data): Remove.
4055 (cos_test_tonearest): Likewise.
4056 (cos_towardzero_test_data): Likewise.
4057 (cos_test_towardzero): Likewise.
4058 (cos_downward_test_data): Likewise.
4059 (cos_test_downward): Likewise.
4060 (cos_upward_test_data): Likewise.
4061 (cos_test_upward): Likewise.
4062 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4063 (cosh_test): Use ALL_RM_TEST.
4064 (cosh_tonearest_test_data): Remove.
4065 (cosh_test_tonearest): Likewise.
4066 (cosh_towardzero_test_data): Likewise.
4067 (cosh_test_towardzero): Likewise.
4068 (cosh_downward_test_data): Likewise.
4069 (cosh_test_downward): Likewise.
4070 (cosh_upward_test_data): Likewise.
4071 (cosh_test_upward): Likewise.
4072 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4073 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4074 (ctan_test_data): Likewise.
4075 (ctan_test): Use ALL_RM_TEST.
4076 (ctan_tonearest_test_data): Remove.
4077 (ctan_test_tonearest): Likewise.
4078 (ctan_towardzero_test_data): Likewise.
4079 (ctan_test_towardzero): Likewise.
4080 (ctan_downward_test_data): Likewise.
4081 (ctan_test_downward): Likewise.
4082 (ctan_upward_test_data): Likewise.
4083 (ctan_test_upward): Likewise.
4084 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4085 (ctanh_test): Use ALL_RM_TEST.
4086 (ctanh_tonearest_test_data): Remove.
4087 (ctanh_test_tonearest): Likewise.
4088 (ctanh_towardzero_test_data): Likewise.
4089 (ctanh_test_towardzero): Likewise.
4090 (ctanh_downward_test_data): Likewise.
4091 (ctanh_test_downward): Likewise.
4092 (ctanh_upward_test_data): Likewise.
4093 (ctanh_test_upward): Likewise.
4094 (erf_test_data): Update call to AUTO_TESTS_f_f.
4095 (erfc_test_data): Likewise.
4096 (exp_test_data): Likewise.
4097 (exp_test): Use ALL_RM_TEST.
4098 (exp_tonearest_test_data): Remove.
4099 (exp_test_tonearest): Likewise.
4100 (exp_towardzero_test_data): Likewise.
4101 (exp_test_towardzero): Likewise.
4102 (exp_downward_test_data): Likewise.
4103 (exp_test_downward): Likewise.
4104 (exp_upward_test_data): Likewise.
4105 (exp_test_upward): Likewise.
4106 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4107 (exp10_test): Use ALL_RM_TEST.
4108 (exp10_tonearest_test_data): Remove.
4109 (exp10_test_tonearest): Likewise.
4110 (exp10_towardzero_test_data): Likewise.
4111 (exp10_test_towardzero): Likewise.
4112 (exp10_downward_test_data): Likewise.
4113 (exp10_test_downward): Likewise.
4114 (exp10_upward_test_data): Likewise.
4115 (exp10_test_upward): Likewise.
4116 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4117 (expm1_test_data): Likewise.
4118 (expm1_test): Use ALL_RM_TEST.
4119 (expm1_tonearest_test_data): Remove.
4120 (expm1_test_tonearest): Likewise.
4121 (expm1_towardzero_test_data): Likewise.
4122 (expm1_test_towardzero): Likewise.
4123 (expm1_downward_test_data): Likewise.
4124 (expm1_test_downward): Likewise.
4125 (expm1_upward_test_data): Likewise.
4126 (expm1_test_upward): Likewise.
4127 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4128 (fma_test): Use ALL_RM_TEST.
4129 (fma_towardzero_test_data): Remove.
4130 (fma_test_towardzero): Likewise.
4131 (fma_downward_test_data): Likewise.
4132 (fma_test_downward): Likewise.
4133 (fma_upward_test_data): Likewise.
4134 (fma_test_upward): Likewise.
4135 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4136 (j0_test_data): Update call to AUTO_TESTS_f_f.
4137 (j1_test_data): Likewise.
4138 (jn_test_data): Update call to AUTO_TESTS_if_f.
4139 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4140 (log_test_data): Update call to AUTO_TESTS_f_f.
4141 (log10_test_data): Likewise.
4142 (log1p_test_data): Likewise.
4143 (log2_test_data): Likewise.
4144 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4145 (pow_tonearest_test_data): Likewise.
4146 (sin_test_data): Update call to AUTO_TESTS_f_f.
4147 (sin_test): Use ALL_RM_TEST.
4148 (sin_tonearest_test_data): Remove.
4149 (sin_test_tonearest): Likewise.
4150 (sin_towardzero_test_data): Likewise.
4151 (sin_test_towardzero): Likewise.
4152 (sin_downward_test_data): Likewise.
4153 (sin_test_downward): Likewise.
4154 (sin_upward_test_data): Likewise.
4155 (sin_test_upward): Likewise.
4156 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4157 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4158 (sinh_test): Use ALL_RM_TEST.
4159 (sinh_tonearest_test_data): Remove.
4160 (sinh_test_tonearest): Likewise.
4161 (sinh_towardzero_test_data): Likewise.
4162 (sinh_test_towardzero): Likewise.
4163 (sinh_downward_test_data): Likewise.
4164 (sinh_test_downward): Likewise.
4165 (sinh_upward_test_data): Likewise.
4166 (sinh_test_upward): Likewise.
4167 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4168 (sqrt_test): Use ALL_RM_TEST.
4169 (sqrt_tonearest_test_data): Remove.
4170 (sqrt_test_tonearest): Likewise.
4171 (sqrt_towardzero_test_data): Likewise.
4172 (sqrt_test_towardzero): Likewise.
4173 (sqrt_downward_test_data): Likewise.
4174 (sqrt_test_downward): Likewise.
4175 (sqrt_upward_test_data): Likewise.
4176 (sqrt_test_upward): Likewise.
4177 (tan_test_data): Update call to AUTO_TESTS_f_f.
4178 (tan_test): Use ALL_RM_TEST.
4179 (tan_tonearest_test_data): Remove.
4180 (tan_test_tonearest): Likewise.
4181 (tan_towardzero_test_data): Likewise.
4182 (tan_test_towardzero): Likewise.
4183 (tan_downward_test_data): Likewise.
4184 (tan_test_downward): Likewise.
4185 (tan_upward_test_data): Likewise.
4186 (tan_test_upward): Likewise.
4187 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4188 (tgamma_test_data): Likewise.
4189 (y0_test_data): Likewise.
4190 (y1_test_data): Likewise.
4191 (yn_test_data): Update call to AUTO_TESTS_if_f.
4192 (main): Do not call removed functions.
4194 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4196 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4197 (ldexp_test_data): Remove.
4198 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4200 (scalb_test): Use ALL_RM_TEST.
4202 2014-03-19 Andreas Schwab <schwab@suse.de>
4204 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4206 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4209 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4210 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4211 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4212 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4213 (__ASSUME_PREADV): Undefine.
4214 (__ASSUME_PWRITEV): Likewise.
4216 2014-03-18 Roland McGrath <roland@hack.frob.com>
4218 * bits/mman-linux.h: Add comment about non-Linux use.
4219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4220 bits/mman-linux.h resting place.
4222 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4223 * bits/mman-linux.h: ... here.
4225 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4227 * conform/conformtest.pl: Add standard definition when calling C
4228 preprocessor on data files.
4229 (checknamespace): Remove unused variable.
4231 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4233 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4234 minus_oflow, plus_uflow and minus_uflow in expected results.
4235 * math/libm-test.inc (scalbn_test_data): Add more tests of
4236 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4238 (scalbn_test): Use ALL_RM_TEST.
4239 (scalbln_test_data): Add more tests of negative arguments. Use
4240 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4241 (scalbln_test): Use ALL_RM_TEST.
4243 2014-03-18 Roland McGrath <roland@hack.frob.com>
4245 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4247 2014-03-18 Will Newton <will.newton@linaro.org>
4249 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4252 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4254 * Makerules [!subdir] (check-abi): Exit with error status if a
4257 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4259 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4260 for rint. Include results for all rounding modes.
4261 (nearbyint_test): Use ALL_RM_TEST.
4262 (rint_test_data): Include all tests used for nearbyint.
4264 2014-03-17 Will Newton <will.newton@linaro.org>
4266 * nptl/sysdeps/pthread/pthread.h: Revert previous
4269 * sysdeps/generic/ldsodefs.h: Revert previous
4272 * libio/genops.c: Revert previous change.
4273 * libio/libioP.h: Likewise.
4274 * stdio-common/vfprintf.c: Likewise.
4276 * sysdeps/generic/math_private.h: Revert previous
4279 * sysdeps/generic/math_private.h: Check whether
4280 HAVE_RM_CTX is defined with #ifdef rather
4283 * argp/argp-fmtstream.h: Check whether
4284 __STRICT_ANSI__ is defined with #ifdef rather
4286 * argp/argp.h: Likewise.
4288 * libio/genops.c: Check whether
4289 _IO_JUMPS_OFFSET is defined with #ifdef rather
4291 * libio/libioP.h: Likewise.
4292 * stdio-common/vfprintf.c: Likewise.
4294 * sysdeps/generic/ldsodefs.h: Check whether
4295 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4298 * nptl/sysdeps/pthread/pthread.h: Check
4299 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4302 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4304 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4306 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4310 * libio/fileops.c (_IO_file_open): Seek to end of file but
4311 don't cache the offset.
4312 (get_file_offset): Remove function.
4313 (do_ftell): Use cached offset when available.
4314 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4315 don't cache the offset.
4316 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4318 (do_one_test): Call it.
4319 (do_ftell_test): Fix up expected old offset for a+ mode.
4320 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4323 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4324 up test status with function return status.
4325 (do_write_test): Likewise.
4326 (do_append_test): Likewise.
4328 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4329 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4332 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4334 * math/gen-libm-test.pl (parse_args): Handle results specified for
4335 each rounding mode separately.
4336 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4337 tests and results from lrint_tonearest_test_data,
4338 lrint_towardzero_test_data, lrint_downward_test_data and
4339 lrint_upward_test_data.
4340 (lrint_test): Use ALL_RM_TEST.
4341 (lrint_tonearest_test_data): Remove.
4342 (lrint_test_tonearest): Likewise.
4343 (lrint_towardzero_test_data): Likewise.
4344 (lrint_test_towardzero): Likewise.
4345 (lrint_downward_test_data): Likewise.
4346 (lrint_test_downward): Likewise.
4347 (lrint_upward_test_data): Likewise.
4348 (lrint_test_upward): Likewise.
4349 (llrint_test_data): Merge in per-rounding-mode tests and results
4350 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4351 llrint_downward_test_data and llrint_upward_test_data.
4352 (llrint_test): Use ALL_RM_TEST.
4353 (llrint_tonearest_test_data): Remove.
4354 (llrint_test_tonearest): Likewise.
4355 (llrint_towardzero_test_data): Likewise.
4356 (llrint_test_towardzero): Likewise.
4357 (llrint_downward_test_data): Likewise.
4358 (llrint_test_downward): Likewise.
4359 (llrint_upward_test_data): Likewise.
4360 (llrint_test_upward): Likewise.
4361 (rint_test_data): Merge in per-rounding-mode tests and results
4362 from rint_tonearest_test_data, rint_towardzero_test_data,
4363 rint_downward_test_data and rint_upward_test_data. Add
4364 per-rounding-mode results for tests not in those arrays.
4365 (rint_test): Use ALL_RM_TEST.
4366 (rint_tonearest_test_data): Remove.
4367 (rint_test_tonearest): Likewise.
4368 (rint_towardzero_test_data): Likewise.
4369 (rint_test_towardzero): Likewise.
4370 (rint_downward_test_data): Likewise.
4371 (rint_test_downward): Likewise.
4372 (rint_upward_test_data): Likewise.
4373 (rint_test_upward): Likewise.
4374 (main): Don't call removed functions.
4376 2014-03-14 Roland McGrath <roland@hack.frob.com>
4378 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4379 "Compiled on ..." crapola. It is anti-useful.
4381 2014-03-14 Joseph Myers <joseph@codesourcery.com>
4383 * scripts/evaluate-test.sh: Handle fourth argument to determine
4384 whether test run should stop on failure.
4385 * Makeconfig (stop-on-test-failure): New variable.
4386 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4387 $(stop-on-test-failure).
4388 * Makefile (tests): Give a summary of results from testing and
4389 exit with failure status if they include an ERROR or FAIL.
4391 * manual/install.texi (Configuring and compiling): Mention
4392 stop-on-test-failure=y.
4393 * INSTALL: Regenerated.
4395 2014-03-14 Roland McGrath <roland@hack.frob.com>
4397 * scripts/versionlist.awk: New file.
4398 * Makerules [$(build-shared) = yes]
4399 (postclean-generated): Add Versions.def, not Versions.def.v and
4401 ($(common-objpfx)Versions.def.v.i): Target removed.
4402 ($(common-objpfx)Versions.def): New target.
4403 ($(common-objpfx)Versions.all): Depend on that rather that
4404 $(common-objpfx)Versions.def.v.
4405 * Versions.def: File removed.
4407 * Makeconfig (+gccwarn): Add -Wundef.
4408 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4409 a dl-sysdep.h breaking its contract.
4410 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4411 * include/stackinfo.h: New file.
4412 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4413 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4414 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4415 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4416 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4417 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4418 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4419 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4420 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4421 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4422 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4423 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4424 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4425 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4426 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4428 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4431 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4433 * math/libm-test.inc (round_test_data): Add more tests.
4436 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4438 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4441 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4443 * math/libm-test.inc (ceil_test_data): Add more tests.
4445 * math/libm-test.inc (trunc_test_data): Add more tests related to
4448 2014-03-14 Roland McGrath <roland@hack.frob.com>
4450 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4451 with #if rather than #ifdef.
4452 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4454 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4456 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4457 first. Disable AVX-512 GCC support if assembler doesn't support
4459 * sysdeps/x86_64/configure: Regenerated.
4461 2014-03-13 Carlos O'Donell <carlos@redhat.com>
4463 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4464 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4465 (__old_pthread_attr_setstack): Likewise.
4466 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4467 [!_STACK_GROWS_DOWN]: Likewise.
4469 2014-03-13 Mike Frysinger <vapier@gentoo.org>
4471 * config.make.in (have-bash2): Delete.
4472 * configure.ac (libc_cv_have_bash2): Delete.
4473 * configure: Regenerate.
4474 * elf/Makefile (common-ldd-rewrite): Rename to ...
4475 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4476 (sh-ldd-rewrite): Delete.
4477 (bash-ldd-rewrite): Delete.
4478 (have-bash2): Delete checks.
4479 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4482 * config.make.in (have-ksh): Delete.
4484 * configure.ac (libc_cv_have_ksh): Delete.
4485 * configure: Regenerate.
4487 * elf/Makefile: Delete $(have-ksh) check.
4488 ($(objpfx)sotruss): Change KSH to BASH.
4489 * elf/sotruss.ksh: Rename to ...
4490 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4491 function style to match POSIX. Drop ksh vim mode setting.
4493 * manual/time.texi (Specifying the Time Zone with TZ): Change
4494 Tuesday to Thursday.
4496 * debug/tst-longjmp_chk2.c: Update header comment.
4497 (stackoverflow_handler): Add comment. Call assert on pass value.
4499 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4501 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4502 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4503 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4504 (La_x86_64_vector): Add zmm.
4505 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4506 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4507 ($(objpfx)tst-audit10): New target.
4508 ($(objpfx)tst-audit10.out): Likewise.
4509 (tst-audit10-ENV): New.
4510 (AVX512-CFLAGS): Likewise.
4511 (CFLAGS-tst-audit10.c): Likewise.
4512 (CFLAGS-tst-auditmod10a.c): Likewise.
4513 (CFLAGS-tst-auditmod10b.c): Likewise.
4514 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4515 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4516 * sysdeps/x86_64/configure: Regenerated.
4517 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4518 AVX-512 zmm register support.
4519 (_dl_x86_64_save_sse): Likewise.
4520 (_dl_x86_64_restore_sse): Likewise.
4521 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4522 size vector registers.
4523 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4524 (ZMM_SIZE): Likewise.
4525 * sysdeps/x86_64/tst-audit10.c: New file.
4526 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4527 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4529 2014-03-13 Roland McGrath <roland@hack.frob.com>
4531 * configure.ac (HAVE_EHDR_START): New check.
4532 * configure: Regenerated.
4533 * config.h.in (HAVE_EHDR_START): New #undef.
4534 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4535 assuming the lowest-addressed segment maps the start of the file.
4537 2014-03-13 Joseph Myers <joseph@codesourcery.com>
4539 * INSTALL: Regenerated.
4541 2014-03-13 Will Newton <will.newton@linaro.org>
4543 * manual/setjmp.texi (System V contexts): Improve
4544 clarity and grammar of documentation.
4546 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4549 * elf/Makefile (tests): Add tst-pie2.
4550 (tests-pie): Add tst-pie2.
4551 * elf/tst-pie2.c: New file.
4552 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4554 * elf/rtld.c (map_doit): Load executable as lt_executable.
4555 (dl_main): Likewise.
4557 2014-03-12 Joseph Myers <joseph@codesourcery.com>
4560 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4561 (__ASSUME_PSELECT): Undefine.
4563 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4566 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4567 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4569 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4570 selector for static builds.
4572 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4575 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4578 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4580 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4581 IFUNC selector for static builds.
4583 2014-03-11 Joseph Myers <joseph@codesourcery.com>
4585 * sysdeps/mips/math_private.h [__mips_hard_float]
4586 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4587 libc_feresetround_mips_ctx.
4588 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4589 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4590 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4593 * math/s_nextafter.c (__nextafter): Do not return value from
4594 overflowing computation.
4595 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4596 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4597 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4599 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4601 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4602 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4604 2014-03-11 Roland McGrath <roland@hack.frob.com>
4606 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4607 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4608 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4609 the new mov targetting sp.
4611 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4614 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4615 Define it for static builds as well.
4616 (NO_BZERO_IMPL): Likewise.
4618 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4620 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4621 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4622 multiarch strspn for PPC64.
4623 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4624 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4626 (__libc_ifunc_impl_list): Likewise.
4627 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4628 multiarch optimizations
4629 * string/strspn.c (strspn): Using macro to redefine symbol name.
4631 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4632 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4634 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4635 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4636 multiarch strncat for PPC64.
4637 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4638 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4640 (__libc_ifunc_impl_list): Likewise.
4641 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4642 multiarch optimizations
4644 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4647 * nscd/nscd.service: Make service type forking.
4649 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4651 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4652 sign in non default rounding modes.
4653 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4655 2014-03-08 Joseph Myers <joseph@codesourcery.com>
4657 * math/libm-test.inc (ALL_RM_TEST): New macro.
4658 (ceil_test): Use ALL_RM_TEST.
4659 (cimag_test): Likewise.
4660 (conj_test): Likewise.
4661 (copysign_test): Likewise.
4662 (cproj_test): Likewise.
4663 (creal_test): Likewise.
4664 (fabs_test): Likewise.
4665 (floor_test): Likewise.
4666 (fmax_test): Likewise.
4667 (fmin_test): Likewise.
4668 (fmod_test): Likewise.
4669 (fpclassify_test): Likewise.
4670 (frexp_test): Likewise.
4671 (ilogb_test): Likewise.
4672 (isfinite_test): Likewise.
4673 (finite_test): Likewise.
4674 (isgreater_test): Likewise.
4675 (isgreaterequal_test): Likewise.
4676 (isinf_test): Likewise.
4677 (isless_test): Likewise.
4678 (islessequal_test): Likewise.
4679 (islessgreater_test): Likewise.
4680 (isnan_test): Likewise.
4681 (isnormal_test): Likewise.
4682 (issignaling_test): Likewise.
4683 (isunordered_test): Likewise.
4684 (logb_test): Likewise.
4685 (logb_downward_test_data): Remove.
4686 (logb_test_downward): Likewise.
4687 (lround_test): Use ALL_RM_TEST.
4688 (llround_test): Likewise.
4689 (modf_test): Likewise.
4690 (nexttoward_test): Likewise.
4691 (remainder_test): Likewise.
4692 (drem_test): Likewise.
4693 (remainder_tonearest_test_data): Likewise.
4694 (remainder_test_tonearest): Likewise.
4695 (drem_test_tonearest): Likewise.
4696 (remainder_towardzero_test_data): Likewise.
4697 (remainder_test_towardzero): Likewise.
4698 (drem_test_towardzero): Likewise.
4699 (remainder_downward_test_data): Likewise.
4700 (remainder_test_downward): Likewise.
4701 (drem_test_downward): Likewise.
4702 (remainder_upward_test_data): Likewise.
4703 (remainder_test_upward): Likewise.
4704 (drem_test_upward): Likewise.
4705 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4706 (round_test): Use ALL_RM_TEST.
4707 (signbit_test): Likewise.
4708 (trunc_test): Likewise.
4709 (significand_test): Likewise.
4710 (main): Don't call removed functions.
4712 2014-03-07 Joseph Myers <joseph@codesourcery.com>
4715 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4717 (ILL_ILLOPN): Likewise.
4718 (ILL_ILLADR): Likewise.
4719 (ILL_ILLTRP): Likewise.
4720 (ILL_PRVOPC): Likewise.
4721 (ILL_PRVREG): Likewise.
4722 (ILL_COPROC): Likewise.
4723 (ILL_BADSTK): Likewise.
4724 (FPE_INTDIV): Likewise.
4725 (FPE_INTOVF): Likewise.
4726 (FPE_FLTDIV): Likewise.
4727 (FPE_FLTOVF): Likewise.
4728 (FPE_FLTUND): Likewise.
4729 (FPE_FLTRES): Likewise.
4730 (FPE_FLTINV): Likewise.
4731 (FPE_FLTSUB): Likewise.
4732 (SEGV_MAPERR): Likewise.
4733 (SEGV_ACCERR): Likewise.
4734 (BUS_ADRALN): Likewise.
4735 (BUS_ADRERR): Likewise.
4736 (BUS_OBJERR): Likewise.
4737 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4738 (TRAP_TRACE): Likewise.
4739 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4741 (CLD_KILLED): Likewise.
4742 (CLD_DUMPED): Likewise.
4743 (CLD_TRAPPED): Likewise.
4744 (CLD_STOPPED): Likewise.
4745 (CLD_CONTINUED): Likewise.
4746 (POLL_IN): Likewise.
4747 (POLL_OUT): Likewise.
4748 (POLL_MSG): Likewise.
4749 (POLL_ERR): Likewise.
4750 (POLL_PRI): Likewise.
4751 (POLL_HUP): Likewise.
4752 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4754 (ILL_ILLOPN): Likewise.
4755 (ILL_ILLADR): Likewise.
4756 (ILL_ILLTRP): Likewise.
4757 (ILL_PRVOPC): Likewise.
4758 (ILL_PRVREG): Likewise.
4759 (ILL_COPROC): Likewise.
4760 (ILL_BADSTK): Likewise.
4761 (FPE_INTDIV): Likewise.
4762 (FPE_INTOVF): Likewise.
4763 (FPE_FLTDIV): Likewise.
4764 (FPE_FLTOVF): Likewise.
4765 (FPE_FLTUND): Likewise.
4766 (FPE_FLTRES): Likewise.
4767 (FPE_FLTINV): Likewise.
4768 (FPE_FLTSUB): Likewise.
4769 (SEGV_MAPERR): Likewise.
4770 (SEGV_ACCERR): Likewise.
4771 (BUS_ADRALN): Likewise.
4772 (BUS_ADRERR): Likewise.
4773 (BUS_OBJERR): Likewise.
4774 (BUS_MCEERR_AR): Likewise.
4775 (BUS_MCEERR_AO): Likewise.
4776 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4777 (TRAP_TRACE): Likewise.
4778 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4780 (CLD_KILLED): Likewise.
4781 (CLD_DUMPED): Likewise.
4782 (CLD_TRAPPED): Likewise.
4783 (CLD_STOPPED): Likewise.
4784 (CLD_CONTINUED): Likewise.
4785 (POLL_IN): Likewise.
4786 (POLL_OUT): Likewise.
4787 (POLL_MSG): Likewise.
4788 (POLL_ERR): Likewise.
4789 (POLL_PRI): Likewise.
4790 (POLL_HUP): Likewise.
4791 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4792 (ILL_ILLOPN): Likewise.
4793 (ILL_ILLADR): Likewise.
4794 (ILL_ILLTRP): Likewise.
4795 (ILL_PRVOPC): Likewise.
4796 (ILL_PRVREG): Likewise.
4797 (ILL_COPROC): Likewise.
4798 (ILL_BADSTK): Likewise.
4799 (FPE_INTDIV): Likewise.
4800 (FPE_INTOVF): Likewise.
4801 (FPE_FLTDIV): Likewise.
4802 (FPE_FLTOVF): Likewise.
4803 (FPE_FLTUND): Likewise.
4804 (FPE_FLTRES): Likewise.
4805 (FPE_FLTINV): Likewise.
4806 (FPE_FLTSUB): Likewise.
4807 (SEGV_MAPERR): Likewise.
4808 (SEGV_ACCERR): Likewise.
4809 (BUS_ADRALN): Likewise.
4810 (BUS_ADRERR): Likewise.
4811 (BUS_OBJERR): Likewise.
4812 (BUS_MCEERR_AR): Likewise.
4813 (BUS_MCEERR_AO): Likewise.
4814 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4815 (TRAP_TRACE): Likewise.
4816 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4818 (CLD_KILLED): Likewise.
4819 (CLD_DUMPED): Likewise.
4820 (CLD_TRAPPED): Likewise.
4821 (CLD_STOPPED): Likewise.
4822 (CLD_CONTINUED): Likewise.
4823 (POLL_IN): Likewise.
4824 (POLL_OUT): Likewise.
4825 (POLL_MSG): Likewise.
4826 (POLL_ERR): Likewise.
4827 (POLL_PRI): Likewise.
4828 (POLL_HUP): Likewise.
4829 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4831 (ILL_ILLOPN): Likewise.
4832 (ILL_ILLADR): Likewise.
4833 (ILL_ILLTRP): Likewise.
4834 (ILL_PRVOPC): Likewise.
4835 (ILL_PRVREG): Likewise.
4836 (ILL_COPROC): Likewise.
4837 (ILL_BADSTK): Likewise.
4838 (ILL_BADIADDR): Likewise.
4839 (ILL_BREAK): Likewise.
4840 (FPE_INTDIV): Likewise.
4841 (FPE_INTOVF): Likewise.
4842 (FPE_FLTDIV): Likewise.
4843 (FPE_FLTOVF): Likewise.
4844 (FPE_FLTUND): Likewise.
4845 (FPE_FLTRES): Likewise.
4846 (FPE_FLTINV): Likewise.
4847 (FPE_FLTSUB): Likewise.
4848 (FPE_DECOVF): Likewise.
4849 (FPE_DECDIV): Likewise.
4850 (FPE_DECERR): Likewise.
4851 (FPE_INVASC): Likewise.
4852 (FPE_INVDEC): Likewise.
4853 (SEGV_MAPERR): Likewise.
4854 (SEGV_ACCERR): Likewise.
4855 (SEGV_PSTKOVF): Likewise.
4856 (BUS_ADRALN): Likewise.
4857 (BUS_ADRERR): Likewise.
4858 (BUS_OBJERR): Likewise.
4859 (BUS_MCEERR_AR): Likewise.
4860 (BUS_MCEERR_AO): Likewise.
4861 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4862 (TRAP_TRACE): Likewise.
4863 (TRAP_BRANCH): Likewise.
4864 (TRAP_HWBKPT): Likewise.
4865 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4867 (CLD_KILLED): Likewise.
4868 (CLD_DUMPED): Likewise.
4869 (CLD_TRAPPED): Likewise.
4870 (CLD_STOPPED): Likewise.
4871 (CLD_CONTINUED): Likewise.
4872 (POLL_IN): Likewise.
4873 (POLL_OUT): Likewise.
4874 (POLL_MSG): Likewise.
4875 (POLL_ERR): Likewise.
4876 (POLL_PRI): Likewise.
4877 (POLL_HUP): Likewise.
4878 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4879 (ILL_ILLOPN): Likewise.
4880 (ILL_ILLADR): Likewise.
4881 (ILL_ILLTRP): Likewise.
4882 (ILL_PRVOPC): Likewise.
4883 (ILL_PRVREG): Likewise.
4884 (ILL_COPROC): Likewise.
4885 (ILL_BADSTK): Likewise.
4886 (FPE_INTDIV): Likewise.
4887 (FPE_INTOVF): Likewise.
4888 (FPE_FLTDIV): Likewise.
4889 (FPE_FLTOVF): Likewise.
4890 (FPE_FLTUND): Likewise.
4891 (FPE_FLTRES): Likewise.
4892 (FPE_FLTINV): Likewise.
4893 (FPE_FLTSUB): Likewise.
4894 (SEGV_MAPERR): Likewise.
4895 (SEGV_ACCERR): Likewise.
4896 (BUS_ADRALN): Likewise.
4897 (BUS_ADRERR): Likewise.
4898 (BUS_OBJERR): Likewise.
4899 (BUS_MCEERR_AR): Likewise.
4900 (BUS_MCEERR_AO): Likewise.
4901 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4902 (TRAP_TRACE): Likewise.
4903 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4905 (CLD_KILLED): Likewise.
4906 (CLD_DUMPED): Likewise.
4907 (CLD_TRAPPED): Likewise.
4908 (CLD_STOPPED): Likewise.
4909 (CLD_CONTINUED): Likewise.
4910 (POLL_IN): Likewise.
4911 (POLL_OUT): Likewise.
4912 (POLL_MSG): Likewise.
4913 (POLL_ERR): Likewise.
4914 (POLL_PRI): Likewise.
4915 (POLL_HUP): Likewise.
4916 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4917 (ILL_ILLOPN): Likewise.
4918 (ILL_ILLADR): Likewise.
4919 (ILL_ILLTRP): Likewise.
4920 (ILL_PRVOPC): Likewise.
4921 (ILL_PRVREG): Likewise.
4922 (ILL_COPROC): Likewise.
4923 (ILL_BADSTK): Likewise.
4924 (FPE_INTDIV): Likewise.
4925 (FPE_INTOVF): Likewise.
4926 (FPE_FLTDIV): Likewise.
4927 (FPE_FLTOVF): Likewise.
4928 (FPE_FLTUND): Likewise.
4929 (FPE_FLTRES): Likewise.
4930 (FPE_FLTINV): Likewise.
4931 (FPE_FLTSUB): Likewise.
4932 (SEGV_MAPERR): Likewise.
4933 (SEGV_ACCERR): Likewise.
4934 (BUS_ADRALN): Likewise.
4935 (BUS_ADRERR): Likewise.
4936 (BUS_OBJERR): Likewise.
4937 (BUS_MCEERR_AR): Likewise.
4938 (BUS_MCEERR_AO): Likewise.
4939 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4940 (TRAP_TRACE): Likewise.
4941 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4943 (CLD_KILLED): Likewise.
4944 (CLD_DUMPED): Likewise.
4945 (CLD_TRAPPED): Likewise.
4946 (CLD_STOPPED): Likewise.
4947 (CLD_CONTINUED): Likewise.
4948 (POLL_IN): Likewise.
4949 (POLL_OUT): Likewise.
4950 (POLL_MSG): Likewise.
4951 (POLL_ERR): Likewise.
4952 (POLL_PRI): Likewise.
4953 (POLL_HUP): Likewise.
4954 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4955 (ILL_ILLOPN): Likewise.
4956 (ILL_ILLADR): Likewise.
4957 (ILL_ILLTRP): Likewise.
4958 (ILL_PRVOPC): Likewise.
4959 (ILL_PRVREG): Likewise.
4960 (ILL_COPROC): Likewise.
4961 (ILL_BADSTK): Likewise.
4962 (FPE_INTDIV): Likewise.
4963 (FPE_INTOVF): Likewise.
4964 (FPE_FLTDIV): Likewise.
4965 (FPE_FLTOVF): Likewise.
4966 (FPE_FLTUND): Likewise.
4967 (FPE_FLTRES): Likewise.
4968 (FPE_FLTINV): Likewise.
4969 (FPE_FLTSUB): Likewise.
4970 (SEGV_MAPERR): Likewise.
4971 (SEGV_ACCERR): Likewise.
4972 (BUS_ADRALN): Likewise.
4973 (BUS_ADRERR): Likewise.
4974 (BUS_OBJERR): Likewise.
4975 (BUS_MCEERR_AR): Likewise.
4976 (BUS_MCEERR_AO): Likewise.
4977 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4978 (TRAP_TRACE): Likewise.
4979 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4981 (CLD_KILLED): Likewise.
4982 (CLD_DUMPED): Likewise.
4983 (CLD_TRAPPED): Likewise.
4984 (CLD_STOPPED): Likewise.
4985 (CLD_CONTINUED): Likewise.
4986 (POLL_IN): Likewise.
4987 (POLL_OUT): Likewise.
4988 (POLL_MSG): Likewise.
4989 (POLL_ERR): Likewise.
4990 (POLL_PRI): Likewise.
4991 (POLL_HUP): Likewise.
4992 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4993 (ILL_ILLOPN): Likewise.
4994 (ILL_ILLADR): Likewise.
4995 (ILL_ILLTRP): Likewise.
4996 (ILL_PRVOPC): Likewise.
4997 (ILL_PRVREG): Likewise.
4998 (ILL_COPROC): Likewise.
4999 (ILL_BADSTK): Likewise.
5000 (ILL_DBLFLT): Likewise.
5001 (ILL_HARDWALL): Likewise.
5002 (FPE_INTDIV): Likewise.
5003 (FPE_INTOVF): Likewise.
5004 (FPE_FLTDIV): Likewise.
5005 (FPE_FLTOVF): Likewise.
5006 (FPE_FLTUND): Likewise.
5007 (FPE_FLTRES): Likewise.
5008 (FPE_FLTINV): Likewise.
5009 (FPE_FLTSUB): Likewise.
5010 (SEGV_MAPERR): Likewise.
5011 (SEGV_ACCERR): Likewise.
5012 (BUS_ADRALN): Likewise.
5013 (BUS_ADRERR): Likewise.
5014 (BUS_OBJERR): Likewise.
5015 (BUS_MCEERR_AR): Likewise.
5016 (BUS_MCEERR_AO): Likewise.
5017 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5018 (TRAP_TRACE): Likewise.
5019 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5021 (CLD_KILLED): Likewise.
5022 (CLD_DUMPED): Likewise.
5023 (CLD_TRAPPED): Likewise.
5024 (CLD_STOPPED): Likewise.
5025 (CLD_CONTINUED): Likewise.
5026 (POLL_IN): Likewise.
5027 (POLL_OUT): Likewise.
5028 (POLL_MSG): Likewise.
5029 (POLL_ERR): Likewise.
5030 (POLL_PRI): Likewise.
5031 (POLL_HUP): Likewise.
5032 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5033 (ILL_ILLOPN): Likewise.
5034 (ILL_ILLADR): Likewise.
5035 (ILL_ILLTRP): Likewise.
5036 (ILL_PRVOPC): Likewise.
5037 (ILL_PRVREG): Likewise.
5038 (ILL_COPROC): Likewise.
5039 (ILL_BADSTK): Likewise.
5040 (FPE_INTDIV): Likewise.
5041 (FPE_INTOVF): Likewise.
5042 (FPE_FLTDIV): Likewise.
5043 (FPE_FLTOVF): Likewise.
5044 (FPE_FLTUND): Likewise.
5045 (FPE_FLTRES): Likewise.
5046 (FPE_FLTINV): Likewise.
5047 (FPE_FLTSUB): Likewise.
5048 (SEGV_MAPERR): Likewise.
5049 (SEGV_ACCERR): Likewise.
5050 (BUS_ADRALN): Likewise.
5051 (BUS_ADRERR): Likewise.
5052 (BUS_OBJERR): Likewise.
5053 (BUS_MCEERR_AR): Likewise.
5054 (BUS_MCEERR_AO): Likewise.
5055 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5056 (TRAP_TRACE): Likewise.
5057 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5059 (CLD_KILLED): Likewise.
5060 (CLD_DUMPED): Likewise.
5061 (CLD_TRAPPED): Likewise.
5062 (CLD_STOPPED): Likewise.
5063 (CLD_CONTINUED): Likewise.
5064 (POLL_IN): Likewise.
5065 (POLL_OUT): Likewise.
5066 (POLL_MSG): Likewise.
5067 (POLL_ERR): Likewise.
5068 (POLL_PRI): Likewise.
5069 (POLL_HUP): Likewise.
5070 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5071 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5074 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5075 before #include of <time.h>.
5076 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5077 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5078 (test-xfail-UNIX98/sched.h/conform): Likewise.
5080 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5082 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5083 error absence of trapping exception support.
5084 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5086 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5088 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5089 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5090 * timezone/Makefile (testdata): Move definition above include of
5092 (test-zones): New variable.
5093 (tests-special): Add zone files.
5094 (build-testdata): Use $(evaluate-test).
5096 * elf/Makefile (tests-special): Rename tests to end with .out.
5097 ($(objpfx)noload-mem): Likewise.
5098 ($(objpfx)tst-leaks1-mem): Likewise.
5099 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5100 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5101 $(objpfx)test-iconvconfig.out.
5102 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5103 set -e inside subshell and redirect output to file.
5104 * iconvdata/Makefile (generated): Rename tests to end with .out.
5106 (tests-special): Rename tests to end with .out.
5107 ($(objpfx)mtrace-tst-loading): Likewise.
5108 * intl/Makefile (generated): Likewise.
5109 (tests-special): Likewise.
5110 ($(objpfx)mtrace-tst-gettext): Likewise.
5111 * misc/Makefile (generated): Likewise.
5112 (tests-special): Likewise.
5113 ($(objpfx)tst-error1-mem): Likewise.
5114 * nptl/Makefile (tests-special): Likewise.
5115 ($(objpfx)tst-stack3-mem): Likewise.
5116 (generated): Likewise.
5117 * posix/Makefile (generated): Likewise.
5118 (tests-special): Likewise.
5119 (xtests-special): Likewise.
5120 ($(objpfx)tst-fnmatch-mem): Likewise.
5121 ($(objpfx)bug-regex2-mem): Likewise.
5122 ($(objpfx)bug-regex14-mem): Likewise.
5123 ($(objpfx)bug-regex21-mem): Likewise.
5124 ($(objpfx)bug-regex31-mem): Likewise.
5125 ($(objpfx)tst-vfork3-mem): Likewise.
5126 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5127 ($(objpfx)tst-pcre-mem): Likewise.
5128 ($(objpfx)tst-boost-mem): Likewise.
5129 ($(objpfx)bug-ga2-mem): Likewise.
5130 ($(objpfx)bug-glob2-mem): Likewise.
5131 * resolv/Makefile (generate): Likewise.
5132 (tests-special): Likewise.
5133 (xtests-special): Likewise.
5134 (generated): Likewise.
5135 ($(objpfx)mtrace-tst-leaks): Likewise.
5136 ($(objpfx)mtrace-tst-leaks2): Likewise.
5138 * scripts/merge-test-results.sh: New file.
5139 * Makefile (tests-special-notdir): New variable.
5140 (tests): Run merge-test-results.sh.
5142 * Rules (tests-special-notdir): New variable.
5143 (xtests-special-notdir): Likewise.
5144 (tests): Run merge-test-results.sh
5147 * Makeconfig (test-xfail-name): New variable.
5148 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5149 compute variable name for expected failures.
5150 * conform/Makefile (conformtest-headers-data): New variable.
5151 (conformtest-standards): Likewise.
5152 (conformtest-headers-ISO): Likewise.
5153 (conformtest-headers-ISO99): Likewise.
5154 (conformtest-headers-ISO11): Likewise.
5155 (conformtest-headers-POSIX): Likewise.
5156 (conformtest-headers-XPG3): Likewise.
5157 (conformtest-headers-XPG4): Likewise.
5158 (conformtest-headers-UNIX98): Likewise.
5159 (conformtest-headers-XOPEN2K): Likewise.
5160 (conformtest-headers-POSIX2008): Likewise.
5161 (conformtest-headers-XOPEN2K8): Likewise.
5162 (conformtest-header-list-base): Likewise.
5163 (conformtest-header-list-tests): Likewise.
5164 (conformtest-header-base): Likewise.
5165 (conformtest-header-tests): Likewise.
5166 (tests-special): Add $(conformtest-header-list-tests). If
5167 [$(fast-check) && !$(cross-compiling)], add
5168 $(conformtest-header-tests) instead of
5169 $(objpfx)run-conformtest.out.
5170 (generated): Add $(conformtest-header-list-base). If
5171 [$(fast-check) && !$(cross-compiling)], add
5172 $(conformtest-header-base). Remove previous setting.
5173 ($(conformtest-header-list-tests)): New target.
5174 (test-xfail-run-conformtest): Remove variable.
5175 ($(objpfx)run-conformtest.out): Remove target.
5176 (test-xfail-ISO11/complex.h/conform): New variable.
5177 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5178 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5179 (test-xfail-XPG3/varargs.h/conform): Likewise.
5180 (test-xfail-XPG4/varargs.h/conform): Likewise.
5181 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5182 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5183 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5184 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5185 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5186 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5187 (test-xfail-XPG3/ftw.h/conform): Likewise.
5188 (test-xfail-XPG3/grp.h/conform): Likewise.
5189 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5190 (test-xfail-XPG3/limits.h/conform): Likewise.
5191 (test-xfail-XPG3/pwd.h/conform): Likewise.
5192 (test-xfail-XPG3/search.h/conform): Likewise.
5193 (test-xfail-XPG3/signal.h/conform): Likewise.
5194 (test-xfail-XPG3/stdio.h/conform): Likewise.
5195 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5196 (test-xfail-XPG3/string.h/conform): Likewise.
5197 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5198 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5199 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5200 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5201 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5202 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5203 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5204 (test-xfail-XPG3/termios.h/conform): Likewise.
5205 (test-xfail-XPG3/time.h/conform): Likewise.
5206 (test-xfail-XPG3/unistd.h/conform): Likewise.
5207 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5208 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5209 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5210 (test-xfail-XPG4/netdb.h/conform): Likewise.
5211 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5212 (test-xfail-XPG4/signal.h/conform): Likewise.
5213 (test-xfail-XPG4/stdio.h/conform): Likewise.
5214 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5215 (test-xfail-XPG4/stropts.h/conform): Likewise.
5216 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5217 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5218 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5219 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5220 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5221 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5222 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5223 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5224 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5225 (test-xfail-XPG4/termios.h/conform): Likewise.
5226 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5227 (test-xfail-XPG4/unistd.h/conform): Likewise.
5228 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5229 (test-xfail-POSIX/sched.h/conform): Likewise.
5230 (test-xfail-POSIX/signal.h/conform): Likewise.
5231 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5232 (test-xfail-POSIX/tar.h/conform): Likewise.
5233 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5234 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5235 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5236 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5237 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5238 (test-xfail-UNIX98/sched.h/conform): Likewise.
5239 (test-xfail-UNIX98/signal.h/conform): Likewise.
5240 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5241 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5242 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5243 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5244 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5245 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5246 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5247 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5248 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5249 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5250 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5251 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5252 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5253 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5254 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5255 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5256 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5257 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5258 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5259 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5260 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5261 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5262 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5263 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5264 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5265 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5266 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5267 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5268 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5269 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5270 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5271 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5272 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5273 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5274 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5275 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5276 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5277 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5278 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5279 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5280 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5281 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5282 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5283 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5284 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5285 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5286 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5287 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5288 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5289 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5290 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5291 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5292 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5293 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5294 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5295 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5296 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5297 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5298 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5299 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5300 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5301 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5302 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5303 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5304 (conformtest-cc-flags): Likewise.
5305 ($(conformtest-header-tests): New target.
5306 * conform/check-header-lists.sh: New file.
5307 * conform/run-conformtest.sh: Remove.
5309 * conform/conformtest.pl: Allow ' and \ in values given for
5311 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5313 [POSIX] (sys/types.h): Likewise.
5314 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5316 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5318 * conform/data/signal.h-data (SIGIO): Remove expectation.
5319 [XPG3] (SIGBUS): Do not expect.
5320 [POSIX || XPG3] (SIGPOLL): Likewise.
5321 [POSIX || XPG3] (SIGPROF): Likewise.
5322 [POSIX || XPG3] (SIGSYS): Likewise.
5323 [XPG3] (SIGTRAP): Likewise.
5324 [POSIX || XPG3] (SIGURG): Likewise.
5325 [POSIX || XPG3] (SIGVTALRM): Likewise.
5326 [POSIX || XPG3] (SIGXCPU): Likewise.
5327 [POSIX || XPG3] (SIGXFSZ): Likewise.
5328 [POSIX] (SA_SIGINFO): Expect.
5329 [XPG3] (siginfo_t): Do not expect type or contents.
5330 [POSIX] (si_pid): Do not expect element.
5331 [POSIX] (si_uid): Likewise.
5332 [POSIX] (si_addr): Likewise.
5333 [POSIX] (si_status): Likewise.
5334 [POSIX] (si_band): Likewise.
5335 [XPG4] (si_value): Likewise.
5336 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5337 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5338 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5339 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5340 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5341 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5342 [POSIX || XPG3] (ILL_COPROC): Likewise.
5343 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5344 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5345 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5346 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5347 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5348 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5349 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5350 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5351 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5352 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5353 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5354 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5355 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5356 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5357 [POSIX || XPG3] (CLD_EXITED): Likewise.
5358 [POSIX || XPG3] (CLD_KILLED): Likewise.
5359 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5360 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5361 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5362 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5363 [POSIX || XPG3] (POLL_IN): Likewise.
5364 [POSIX || XPG3] (POLL_OUT): Likewise.
5365 [POSIX || XPG3] (POLL_MSG): Likewise.
5366 [POSIX || XPG3] (POLL_ERR): Likewise.
5367 [POSIX || XPG3] (POLL_PRI): Likewise.
5368 [POSIX || XPG3] (POLL_HUP): Likewise.
5369 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5370 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5371 (SIG*): Do not allow.
5372 [XPG3] (si_*): Likewise.
5373 [XPG3] (SI_*): Likewise.
5374 [XPG3 || XPG4] (sigev_*): Likewise.
5375 [XPG3 || XPG4] (SIGEV_*): Likewise.
5376 [XPG3 || XPG4] (sival_*): Likewise.
5377 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5378 [POSIX || XPG3] (BUS_*): Likewise.
5379 [POSIX || XPG3] (CLD_*): Likewise.
5380 [POSIX || XPG3] (FPE_*): Likewise.
5381 [POSIX || XPG3] (ILL_*): Likewise.
5382 [POSIX || XPG3] (POLL_*): Likewise.
5383 [POSIX || XPG3] (SEGV_*): Likewise.
5384 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5385 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5386 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5387 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5388 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5389 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5390 Specify type and value.
5391 (TVERSLEN): Likewise.
5392 (REGTYPE): Likewise.
5393 (AREGTYPE): Likewise.
5394 (LNKTYPE): Likewise.
5395 (SYMTYPE): Likewise.
5396 (CHRTYPE): Likewise.
5397 (BLKTYPE): Likewise.
5398 (DIRTYPE): Likewise.
5399 (FIFOTYPE): Likewise.
5400 (CONTTYPE): Likewise.
5405 (TUWRITE): Likewise.
5408 (TGWRITE): Likewise.
5411 (TOWRITE): Likewise.
5413 [POSIX] (TSVTX): Expect constant.
5415 2014-03-06 Joseph Myers <joseph@codesourcery.com>
5417 * Makefile (tests): Change dependencies to ....
5418 (tests-special): ... additions to this variable.
5419 (tests): Depend on $(tests-special).
5420 * Makerules (check-abi-list): New variable.
5421 (check-abi): Depend on $(check-abi-list).
5422 [$(subdir) = elf] (tests-special): Add
5423 $(objpfx)check-abi-libc.out.
5424 [$(build-shared) = yes && subdir] (tests-special): Add
5426 [$(build-shared) = yes && subdir] (tests): Do not depend on
5428 * Rules (tests): Depend on $(tests-special).
5429 (xtests): Depend on $(xtests-special).
5430 * catgets/Makefile (tests): Change dependencies to ....
5431 (tests-special): ... additions to this variable.
5432 * conform/Makefile (tests): Change dependencies to ....
5433 (tests-special): ... additions to this variable.
5434 * elf/Makefile (tests): Change dependencies to ....
5435 (tests-special): ... additions to this variable.
5436 * grp/Makefile (tests): Change dependencies to ....
5437 (tests-special): ... additions to this variable.
5438 * iconv/Makefile (xtests): Change dependencies to ....
5439 (xtests-special): ... additions to this variable.
5440 * iconvdata/Makefile (tests): Change dependencies to ....
5441 (tests-special): ... additions to this variable.
5442 * intl/Makefile (tests): Change dependencies to ....
5443 (tests-special): ... additions to this variable. Also add
5444 $(objpfx)tst-gettext.out.
5445 * io/Makefile (tests): Change dependencies to ....
5446 (tests-special): ... additions to this variable.
5447 * libio/Makefile (tests): Change dependencies to ....
5448 (tests-special): ... additions to this variable.
5449 * malloc/Makefile (tests): Change dependencies to ....
5450 (tests-special): ... additions to this variable.
5451 * misc/Makefile (tests): Change dependencies to ....
5452 (tests-special): ... additions to this variable.
5453 * nptl/Makefile (tests): Change dependencies to ....
5454 (tests-special): ... additions to this variable.
5455 * nptl_db/Makefile (tests): Change dependencies to ....
5456 (tests-special): ... additions to this variable.
5457 * posix/Makefile (tests): Change dependencies to ....
5458 (tests-special): ... additions to this variable.
5459 (xtests): Change dependencies to ....
5460 (xtests-special): ... additions to this variable.
5461 * resolv/Makefile (tests): Change dependencies to ....
5462 (tests-special): ... additions to this variable.
5463 (xtests): Change dependencies to ....
5464 (xtests-special): ... additions to this variable.
5465 * stdio-common/Makefile (tests): Change dependencies to ....
5466 (tests-special): ... additions to this variable.
5467 (do-tst-unbputc): Remove target.
5468 (do-tst-printf): Likewise.
5469 * stdlib/Makefile (tests): Change dependencies to ....
5470 (tests-special): ... additions to this variable.
5471 * string/Makefile (tests): Change dependencies to ....
5472 (tests-special): ... additions to this variable.
5473 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5474 (tests-special): ... additions to this variable.
5476 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5478 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5480 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5481 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5483 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5484 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5485 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5486 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5487 * conform/data/libgen.h-data [XPG3]: Likewise.
5488 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5489 * conform/data/ndbm.h-data [XPG3]: Likewise.
5490 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5491 * conform/data/netdb.h-data [XPG3]: Likewise.
5492 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5493 * conform/data/poll.h-data [XPG3]: Likewise.
5494 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5495 * conform/data/strings.h-data [XPG3]: Likewise.
5496 * conform/data/stropts.h-data [XPG3]: Likewise.
5497 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5498 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5499 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5501 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5502 * conform/data/sys/time.h-data [XPG3]: Likewise.
5503 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5504 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5505 * conform/data/sys/un.h-data [XPG3]: Likewise.
5506 * conform/data/syslog.h-data [XPG3]: Likewise.
5507 * conform/data/ucontext.h-data [XPG3]: Likewise.
5508 * conform/data/utmpx.h-data [XPG3]: Likewise.
5509 * conform/data/varargs.h-data [UNIX98]: Enable file.
5511 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5513 * math/libm-test.inc (struct test_f_f_data): Move expected results
5514 into structure for each rounding mode.
5515 (struct test_ff_f_data): Likewise.
5516 (struct test_ff_f_data_nexttoward): Likewise.
5517 (struct test_fi_f_data): Likewise.
5518 (struct test_fl_f_data): Likewise.
5519 (struct test_if_f_data): Likewise.
5520 (struct test_fff_f_data): Likewise.
5521 (struct test_c_f_data): Likewise.
5522 (struct test_f_f1_data): Likewise.
5523 (struct test_fF_f1_data): Likewise.
5524 (struct test_ffI_f1_data): Likewise.
5525 (struct test_c_c_data): Likewise.
5526 (struct test_cc_c_data): Likewise.
5527 (struct test_f_i_data): Likewise.
5528 (struct test_ff_i_data): Likewise.
5529 (struct test_f_l_data): Likewise.
5530 (struct test_f_L_data): Likewise.
5531 (struct test_fFF_11_data): Likewise.
5533 (RM_FE_DOWNWARD): Likewise.
5534 (RM_FE_TONEAREST): Likewise.
5535 (RM_FE_TOWARDZERO): Likewise.
5536 (RM_FE_UPWARD): Likewise.
5537 (RUN_TEST_LOOP_f_f): Update references to expected results.
5538 (RUN_TEST_LOOP_2_f): Likewise.
5539 (RUN_TEST_LOOP_fff_f): Likewise.
5540 (RUN_TEST_LOOP_c_f): Likewise.
5541 (RUN_TEST_LOOP_f_f1): Likewise.
5542 (RUN_TEST_LOOP_fF_f1): Likewise.
5543 (RUN_TEST_LOOP_fI_f1): Likewise.
5544 (RUN_TEST_LOOP_ffI_f1): Likewise.
5545 (RUN_TEST_LOOP_c_c): Likewise.
5546 (RUN_TEST_LOOP_cc_c): Likewise.
5547 (RUN_TEST_LOOP_f_i): Likewise.
5548 (RUN_TEST_LOOP_f_i_tg): Likewise.
5549 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5550 (RUN_TEST_LOOP_f_b): Likewise.
5551 (RUN_TEST_LOOP_f_b_tg): Likewise.
5552 (RUN_TEST_LOOP_f_l): Likewise.
5553 (RUN_TEST_LOOP_f_L): Likewise.
5554 (RUN_TEST_LOOP_fFF_11): Likewise.
5555 * math/gen-libm-test.pl (parse_args): Output four copies of
5556 expected results for each test.
5558 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5559 (__ASSUME_UTIMES): Remove.
5560 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5561 (__ASSUME_UTIMES): Likewise.
5563 * math/gen-auto-libm-tests.c: Update comment on output format.
5564 (output_for_one_input_case): Generate before-rounding and
5565 after-rounding information as conditions on output flags not
5566 floating-point format.
5567 * math/auto-libm-test-out: Regenerated.
5568 * math/gen-libm-test.pl (cond_value): New function.
5569 (or_cond_value): Use cond_value.
5570 (generate_testfile): Handle conditional exceptions.
5572 2014-03-05 Joseph Myers <joseph@codesourcery.com>
5574 * math/libm-test.inc (max_valid_error): New variable.
5575 (init_max_error): Take new argument specifying whether function
5576 results are exactly determined. Set max_valid_error and bound
5577 other variables for errors based on this argument.
5578 (set_max_error): Do not record results above max_valid_error.
5579 (check_float_internal): Only accept errors of up to 0.5ulps if
5580 also at most max_valid_error.
5581 (START): Take new argument EXACT and pass it to init_max_error.
5582 (acos_test): Update call to START.
5583 (acos_test_tonearest): Likewise.
5584 (acos_test_towardzero): Likewise.
5585 (acos_test_downward): Likewise.
5586 (acos_test_upward): Likewise.
5587 (acosh_test): Likewise.
5588 (asin_test): Likewise.
5589 (asin_test_tonearest): Likewise.
5590 (asin_test_towardzero): Likewise.
5591 (asin_test_downward): Likewise.
5592 (asin_test_upward): Likewise.
5593 (asinh_test): Likewise.
5594 (atan_test): Likewise.
5595 (atanh_test): Likewise.
5596 (atan2_test): Likewise.
5597 (cabs_test): Likewise.
5598 (cacos_test): Likewise.
5599 (cacosh_test): Likewise.
5600 (carg_test): Likewise.
5601 (casin_test): Likewise.
5602 (casinh_test): Likewise.
5603 (catan_test): Likewise.
5604 (catanh_test): Likewise.
5605 (cbrt_test): Likewise.
5606 (ccos_test): Likewise.
5607 (ccosh_test): Likewise.
5608 (ceil_test): Likewise.
5609 (cexp_test): Likewise.
5610 (cimag_test): Likewise.
5611 (clog_test): Likewise.
5612 (clog10_test): Likewise.
5613 (conj_test): Likewise.
5614 (copysign_test): Likewise.
5615 (cos_test): Likewise.
5616 (cos_test_tonearest): Likewise.
5617 (cos_test_towardzero): Likewise.
5618 (cos_test_downward): Likewise.
5619 (cos_test_upward): Likewise.
5620 (cosh_test): Likewise.
5621 (cosh_test_tonearest): Likewise.
5622 (cosh_test_towardzero): Likewise.
5623 (cosh_test_downward): Likewise.
5624 (cosh_test_upward): Likewise.
5625 (cpow_test): Likewise.
5626 (cproj_test): Likewise.
5627 (creal_test): Likewise.
5628 (csin_test): Likewise.
5629 (csinh_test): Likewise.
5630 (csqrt_test): Likewise.
5631 (ctan_test): Likewise.
5632 (ctan_test_tonearest): Likewise.
5633 (ctan_test_towardzero): Likewise.
5634 (ctan_test_downward): Likewise.
5635 (ctan_test_upward): Likewise.
5636 (ctanh_test): Likewise.
5637 (ctanh_test_tonearest): Likewise.
5638 (ctanh_test_towardzero): Likewise.
5639 (ctanh_test_downward): Likewise.
5640 (ctanh_test_upward): Likewise.
5641 (erf_test): Likewise.
5642 (erfc_test): Likewise.
5643 (exp_test): Likewise.
5644 (exp_test_tonearest): Likewise.
5645 (exp_test_towardzero): Likewise.
5646 (exp_test_downward): Likewise.
5647 (exp_test_upward): Likewise.
5648 (exp10_test): Likewise.
5649 (exp10_test_tonearest): Likewise.
5650 (exp10_test_towardzero): Likewise.
5651 (exp10_test_downward): Likewise.
5652 (exp10_test_upward): Likewise.
5653 (pow10_test): Likewise.
5654 (exp2_test): Likewise.
5655 (expm1_test): Likewise.
5656 (expm1_test_tonearest): Likewise.
5657 (expm1_test_towardzero): Likewise.
5658 (expm1_test_downward): Likewise.
5659 (expm1_test_upward): Likewise.
5660 (fabs_test): Likewise.
5661 (fdim_test): Likewise.
5662 (floor_test): Likewise.
5663 (fma_test): Likewise.
5664 (fma_test_towardzero): Likewise.
5665 (fma_test_downward): Likewise.
5666 (fma_test_upward): Likewise.
5667 (fmax_test): Likewise.
5668 (fmin_test): Likewise.
5669 (fmod_test): Likewise.
5670 (fpclassify_test): Likewise.
5671 (frexp_test): Likewise.
5672 (hypot_test): Likewise.
5673 (ilogb_test): Likewise.
5674 (isfinite_test): Likewise.
5675 (finite_test): Likewise.
5676 (isgreater_test): Likewise.
5677 (isgreaterequal_test): Likewise.
5678 (isinf_test): Likewise.
5679 (isless_test): Likewise.
5680 (islessequal_test): Likewise.
5681 (islessgreater_test): Likewise.
5682 (isnan_test): Likewise.
5683 (isnormal_test): Likewise.
5684 (issignaling_test): Likewise.
5685 (isunordered_test): Likewise.
5686 (j0_test): Likewise.
5687 (j1_test): Likewise.
5688 (jn_test): Likewise.
5689 (ldexp_test): Likewise.
5690 (lgamma_test): Likewise.
5691 (gamma_test): Likewise.
5692 (lrint_test): Likewise.
5693 (lrint_test_tonearest): Likewise.
5694 (lrint_test_towardzero): Likewise.
5695 (lrint_test_downward): Likewise.
5696 (lrint_test_upward): Likewise.
5697 (llrint_test): Likewise.
5698 (llrint_test_tonearest): Likewise.
5699 (llrint_test_towardzero): Likewise.
5700 (llrint_test_downward): Likewise.
5701 (llrint_test_upward): Likewise.
5702 (log_test): Likewise.
5703 (log10_test): Likewise.
5704 (log1p_test): Likewise.
5705 (log2_test): Likewise.
5706 (logb_test): Likewise.
5707 (logb_test_downward): Likewise.
5708 (lround_test): Likewise.
5709 (llround_test): Likewise.
5710 (modf_test): Likewise.
5711 (nearbyint_test): Likewise.
5712 (nextafter_test): Likewise.
5713 (nexttoward_test): Likewise.
5714 (pow_test): Likewise.
5715 (pow_test_tonearest): Likewise.
5716 (pow_test_towardzero): Likewise.
5717 (pow_test_downward): Likewise.
5718 (pow_test_upward): Likewise.
5719 (remainder_test): Likewise.
5720 (drem_test): Likewise.
5721 (remainder_test_tonearest): Likewise.
5722 (drem_test_tonearest): Likewise.
5723 (remainder_test_towardzero): Likewise.
5724 (drem_test_towardzero): Likewise.
5725 (remainder_test_downward): Likewise.
5726 (drem_test_downward): Likewise.
5727 (remainder_test_upward): Likewise.
5728 (drem_test_upward): Likewise.
5729 (remquo_test): Likewise.
5730 (rint_test): Likewise.
5731 (rint_test_tonearest): Likewise.
5732 (rint_test_towardzero): Likewise.
5733 (rint_test_downward): Likewise.
5734 (rint_test_upward): Likewise.
5735 (round_test): Likewise.
5736 (scalb_test): Likewise.
5737 (scalbn_test): Likewise.
5738 (scalbln_test): Likewise.
5739 (signbit_test): Likewise.
5740 (sin_test): Likewise.
5741 (sin_test_tonearest): Likewise.
5742 (sin_test_towardzero): Likewise.
5743 (sin_test_downward): Likewise.
5744 (sin_test_upward): Likewise.
5745 (sincos_test): Likewise.
5746 (sinh_test): Likewise.
5747 (sinh_test_tonearest): Likewise.
5748 (sinh_test_towardzero): Likewise.
5749 (sinh_test_downward): Likewise.
5750 (sinh_test_upward): Likewise.
5751 (sqrt_test): Likewise.
5752 (sqrt_test_tonearest): Likewise.
5753 (sqrt_test_towardzero): Likewise.
5754 (sqrt_test_downward): Likewise.
5755 (sqrt_test_upward): Likewise.
5756 (tan_test): Likewise.
5757 (tan_test_tonearest): Likewise.
5758 (tan_test_towardzero): Likewise.
5759 (tan_test_downward): Likewise.
5760 (tan_test_upward): Likewise.
5761 (tanh_test): Likewise.
5762 (tgamma_test): Likewise.
5763 (trunc_test): Likewise.
5764 (y0_test): Likewise.
5765 (y1_test): Likewise.
5766 (yn_test): Likewise.
5767 (significand_test): Likewise.
5769 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5770 individual tests in comment.
5771 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5772 (prev_max_error): New variable.
5773 (prev_real_max_error): Likewise.
5774 (prev_imag_max_error): Likewise.
5775 (compare_ulp_data): Don't refer to test names in comment.
5776 (find_test_ulps): Remove function.
5777 (find_function_ulps): Likewise.
5778 (find_complex_function_ulps): Likewise.
5779 (init_max_error): Take function name as argument. Look up ulps
5781 (print_ulps): Remove function.
5782 (print_max_error): Use prev_max_error instead of calling
5784 (print_complex_max_error): Use prev_real_max_error and
5785 prev_imag_max_error instead of calling find_complex_function_ulps.
5786 (check_float_internal): Take max_ulp parameter instead of calling
5787 find_test_ulps. Don't call print_ulps.
5788 (check_float): Update call to check_float_internal.
5789 (check_complex): Update calls to check_float_internal.
5790 (START): Pass argument to init_max_error.
5791 * math/gen-libm-test.pl (%results): Don't include "kind"
5793 (parse_ulps): Don't handle ulps of individual tests.
5794 (print_ulps_file): Likewise.
5795 (output_ulps): Likewise.
5796 * math/README.libm-test: Update.
5797 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5799 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5800 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5801 * sysdeps/arm/libm-test-ulps: Likewise.
5802 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5803 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5804 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5805 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5806 * sysdeps/microblaze/libm-test-ulps: Likewise.
5807 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5808 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5809 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5810 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5811 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5812 * sysdeps/sh/libm-test-ulps: Likewise.
5813 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5814 * sysdeps/tile/libm-test-ulps: Likewise.
5815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5817 2014-03-04 Joseph Myers <joseph@codesourcery.com>
5819 * math/libm-test.inc (print_complex_max_error): Check separately
5820 whether real and imaginary errors are within allowed range and
5821 pass 0 to print_complex_function_ulps instead of value within
5824 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5826 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5828 (get_handles_fopen): Likewise.
5829 (do_write_test): Likewise.
5831 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5833 * libio/fileops.c (do_ftell): Use cached offset when
5835 * libio/iofwide.c (do_ftell_wide): Likewise.
5836 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5838 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5841 * libio/libioP.h (get_file_offset): New function.
5842 * libio/fileops.c (get_file_offset): Likewise.
5843 (do_ftell): Likewise.
5844 (_IO_new_file_seekoff): Split out ftell logic.
5845 * libio/wfileops.c (do_ftell_wide): Likewise.
5846 (_IO_wfile_seekoff): Split out ftell logic.
5847 * libio/tst-ftell-active-handler.c: New test case.
5848 * libio/Makefile (tests): Add it.
5850 2014-03-03 Roland McGrath <roland@hack.frob.com>
5852 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5853 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5855 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5858 * nscd/connections.c (nscd_init): Call do_exit.
5859 (start_threads): Call do_exit and notify_parent.
5860 (begin_drop_privileges): Call do_exit.
5861 (finish_drop_privileges): Likewise.
5862 * nscd/selinux.c (preserve_capabilities): Likewise.
5863 (install_real_capabilities): Likewise.
5864 (nscd_selinux_enabled): Likewise.
5865 (avc_create_thread): Likewise.
5866 (avc_alloc_lock): Likewise.
5867 (nscd_avc_init): Likewise.
5868 * nscd/nscd.c (parent_fd): New static variable.
5869 (main): Create a pipe between parent and child processes.
5870 Skip closing parent_fd.
5871 (monitor_child): New function.
5872 (do_exit): Likewise.
5873 (notify_parent): Likewise.
5874 * nscd/nscd.h (notify_parent): Likewise.
5875 (do_exit): Likewise.
5877 2014-03-03 Carlos O'Donell <carlos@redhat.com>
5879 * malloc/malloc.c (__libc_calloc): Revert last change.
5881 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5885 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5887 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5891 (__libc_ifunc_impl_list): Likewise.
5892 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5893 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5894 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5895 * string/strrchr.c: Define STRRCHR.
5897 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
5899 * benchtest/bench-strtok.c (simple_strtok): Delete.
5900 (strtok_string): Use as benchmark.
5901 * string/strtok (STRTOK): New macro.
5903 2014-02-28 Carlos O'Donell <carlos@redhat.com>
5905 * manual/threads.texi: Add header and standard comments to all
5908 * elf/dl-lookup.c (check_match): New function.
5909 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5910 (do_lookup_x): Remove nested function check_match. Use non-nested
5911 function check_match.
5913 2014-02-28 Roland McGrath <roland@hack.frob.com>
5915 * csu/Makefile (generated, before-compile): Use += rather than =.
5916 * catgets/Makefile (generated, generated-dirs): Likewise.
5917 * debug/Makefile (generated): Likewise.
5918 * dlfcn/Makefile (generated): Likewise.
5919 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5920 * iconvdata/Makefile (before-compile, generated): Likewise.
5921 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5922 * libio/Makefile (generated): Likewise.
5923 * malloc/Makefile (generated): Likewise.
5924 * manual/Makefile (generated, generated-dirs): Likewise.
5925 * misc/Makefile (generated): Likewise.
5926 * posix/Makefile (generated): Likewise.
5927 * resolv/Makefile (generated): Likewise.
5928 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5929 * timezone/Makefile (generated, generated-dirs): Likewise.
5931 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5933 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5936 power8 implementation.
5937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5938 file: POWER8 llround ifunc implementation.
5939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5940 (__lllround): Add POWER8 implementation.
5941 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5942 POWER8 llround implementation.
5944 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5945 power8 implementation.
5946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5947 file: POWER8 llrint ifunc implementation.
5948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5949 Add POWER8 implementation.
5950 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5951 POWER8 llrint implementation.
5953 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5954 power8 implementation.
5955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5956 file: POWER8 finite ifunc implementation.
5957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5958 Add POWER8 implementation.
5959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5961 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5962 POWER8 finite implementation.
5963 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5965 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5966 power8 implementation.
5967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5968 file: POWER8 isinf ifunc implementation.
5969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5970 POWER8 implementation.
5971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5973 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5974 isinf implementation.
5975 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5977 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5978 (INIT_ARCH): Add hwcap2 initialization.
5979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5980 power8 implementation.
5981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5982 file: POWER8 isnan ifunc implementation.
5983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5984 POWER8 implementation.
5985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5987 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5988 isnan implementation.
5989 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5991 2014-02-27 Joey Ye <joey.ye@arm.com>
5993 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5994 (_FP_NANFRAC_Q): Set to zero.
5996 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5999 * math/auto-libm-test-in: New test inputs.
6000 * math/auto-libm-test-out: Regenerate.
6001 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6004 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6006 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6008 * scripts/evaluate-test.sh: Take new argument indicating whether
6009 failure is expected.
6010 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6011 indicating whether failure is expected.
6012 * conform/Makefile (test-xfail-run-conformtest): New variable.
6013 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6015 * posix/Makefile (test-xfail-annexc): New variable.
6016 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6018 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6020 * argp/Makefile: Include Makeconfig immediately after defining
6022 * assert/Makefile: Likewise.
6023 * benchtests/Makefile: Likewise.
6024 * catgets/Makefile: Likewise.
6025 * conform/Makefile: Likewise.
6026 * crypt/Makefile: Likewise.
6027 * csu/Makefile: Likewise.
6028 (all): Remove target.
6029 * ctype/Makefile: Include Makeconfig immediately after defining
6031 * debug/Makefile: Likewise.
6032 * dirent/Makefile: Likewise.
6033 * dlfcn/Makefile: Likewise.
6034 * gmon/Makefile: Likewise.
6035 * gnulib/Makefile: Likewise.
6036 * grp/Makefile: Likewise.
6037 * gshadow/Makefile: Likewise.
6038 * hesiod/Makefile: Likewise.
6039 * hurd/Makefile: Likewise.
6040 (all): Remove target.
6041 * iconvdata/Makefile: Include Makeconfig immediately after
6043 * inet/Makefile: Likewise.
6044 * intl/Makefile: Likewise.
6045 * io/Makefile: Likewise.
6046 * libio/Makefile: Likewise.
6047 (all): Remove target.
6048 * locale/Makefile: Include Makeconfig immediately after defining
6050 * login/Makefile: Likewise.
6051 * mach/Makefile: Likewise.
6052 (all): Remove target.
6053 * malloc/Makefile: Include Makeconfig immediately after defining
6055 (all): Remove target.
6056 * manual/Makefile: Include Makeconfig immediately after defining
6058 * math/Makefile: Likewise.
6059 * misc/Makefile: Likewise.
6060 * nis/Makefile: Likewise.
6061 * nss/Makefile: Likewise.
6062 * po/Makefile: Likewise.
6063 (all): Remove target.
6064 * posix/Makefile: Include Makeconfig immediately after defining
6066 * pwd/Makefile: Likewise.
6067 * resolv/Makefile: Likewise.
6068 * resource/Makefile: Likewise.
6069 * rt/Makefile: Likewise.
6070 * setjmp/Makefile: Likewise.
6071 * shadow/Makefile: Likewise.
6072 * signal/Makefile: Likewise.
6073 * socket/Makefile: Likewise.
6074 * soft-fp/Makefile: Likewise.
6075 * stdio-common/Makefile: Likewise.
6076 * stdlib/Makefile: Likewise.
6077 * streams/Makefile: Likewise.
6078 * string/Makefile: Likewise.
6079 * sunrpc/Makefile: Likewise.
6080 (all): Remove target.
6081 * sysvipc/Makefile: Include Makeconfig immediately after defining
6083 * termios/Makefile: Likewise.
6084 * time/Makefile: Likewise.
6085 * timezone/Makefile: Likewise.
6086 (all): Remove target.
6087 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6089 * wctype/Makefile: Likewise.
6091 2014-02-26 Steve Ellcey <sellcey@mips.com>
6093 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6094 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6095 (libc_feholdexcept_setround_mips): Ditto.
6096 (libc_feholdsetround): New.
6097 (libc_feholdsetroundf): New.
6098 (libc_feholdsetroundl): New.
6099 (libc_feupdateenv_test_mips): New.
6100 (libc_feupdateenv_test): New.
6101 (libc_feupdateenv_testf): New.
6102 (libc_feupdateenv_testl): New.
6103 (libc_feresetround): New.
6104 (libc_feresetroundf): New.
6105 (libc_feresetroundl): New.
6106 (libc_fetestexcept_mips): New.
6107 (libc_fetestexcept): New.
6108 (libc_fetestexceptf): New.
6109 (libc_fetestexceptl): New.
6111 (libc_feholdexcept_setround_mips_ctx): New.
6112 (libc_feholdexcept_setround_ctx): New.
6113 (libc_feholdexcept_setroundf_ctx): New.
6114 (libc_feholdexcept_setroundl_ctx): New.
6115 (libc_fesetenv_mips_ctx): New.
6116 (libc_fesetenv_ctx): New.
6117 (libc_fesetenv_ctxf): New.
6118 (libc_fesetenv_ctxl): New.
6119 (libc_feupdateenv_mips_ctx): New.
6120 (libc_feupdateenv_ctx): New.
6121 (libc_feupdateenvf_ctx): New.
6122 (libc_feupdateenvl_ctx): New.
6123 (libc_feholdsetround_mips_ctx): New.
6124 (libc_feholdsetround_ctx): New.
6125 (libc_feholdsetroundf_ctx): New.
6126 (libc_feholdsetroundl_ctx): New.
6127 (libc_feresetround_mips_ctx): New.
6128 (libc_feresetround_ctx): New.
6129 (libc_feresetroundf_ctx): New.
6130 (libc_feresetroundl_ctx): New.
6132 2014-02-26 Carlos O'Donell <carlos@redhat.com>
6134 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6136 * manual/ipc.texi: New file.
6137 * manual/Makefile (chapters): Add ipc.
6138 * manual/job.texi: Add "Inter-Process Communication" to next.
6139 * manual/process.texi: Add "Inter-Process Communication" to prev.
6141 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6145 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
6147 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6149 * manual/arith.texi: Fix spaces after sentences.
6150 * manual/charset.texi: Likewise.
6151 * manual/errno.texi: Likewise.
6152 * manual/install.texi: Likewise.
6153 * manual/llio.texi: Likewise.
6154 * manual/locale.texi: Likewise.
6155 * manual/maint.texi: Likewise.
6156 * manual/math.texi: Likewise.
6157 * manual/memory.texi: Likewise.
6158 * manual/message.texi: Likewise.
6159 * manual/probes.texi: Likewise.
6160 * manual/resource.texi: Likewise.
6161 * manual/signal.texi: Likewise.
6162 * manual/socket.texi: Likewise.
6163 * manual/stdio.texi: Likewise.
6164 * manual/string.texi: Likewise.
6165 * manual/time.texi: Likewise.
6166 * manual/users.texi: Likewise.
6168 2014-02-25 Carlos O'Donell <carlos@redhat.com>
6171 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6172 _DEFAULT_SOURCE is defined.
6174 2014-02-25 Ulrich Drepper <drepper@gmail.com>
6175 Carlos O'Donell <carlos@redhat.com>
6178 * elf/dl-tls.c (_dl_count_modids): New function.
6179 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6180 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6181 audit library and increment generation counter.
6182 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6183 * elf/tst-audit9.c: New file.
6184 * elf/tst-auditmod9a.c: New file.
6185 * elf/tst-auditmod9b.c: New file.
6186 * elf/Makefile: Add rules to build and run tst-audit9.
6188 2014-02-25 Florian Weimer <fweimer@redhat.com>
6191 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6193 2014-02-25 Will Newton <will.newton@linaro.org>
6195 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6196 (__longjmp): Restore sp and lr before restoring callee
6197 saved registers. Add longjmp and longjmp_target
6198 SystemTap probe point.
6199 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6200 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6201 Define to zero to match jmpbuf layout.
6202 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6203 (__sigsetjmp): Save sp and lr before saving callee
6204 saved registers. Add setjmp SystemTap probe point.
6206 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6208 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6210 2014-02-24 Andreas Schwab <schwab@suse.de>
6213 * elf/pldd.c (wait_for_ptrace_stop): New function.
6214 (main): Call it after attaching.
6216 2014-02-22 Roland McGrath <roland@hack.frob.com>
6218 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6219 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6220 Versions files is now verboten.
6221 * hurd/Versions (libc: GLIBC_2.0):
6222 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6223 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6224 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6225 * mach/Versions: Likewise.
6227 * csu/Versions: Remove unused %include.
6228 * resolv/Versions: Likewise.
6230 2014-02-21 Joseph Myers <joseph@codesourcery.com>
6232 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6233 ($(objpfx)check-local-headers.out): Likewise.
6234 ($(objpfx)begin-end-check.out): Likewise.
6235 * Makerules (check-abi-%.out): Likewise.
6236 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6237 ($(objpfx)test2.cat): Likewise.
6238 ($(objpfx)de/libc.cat): Likewise.
6239 ($(objpfx)test-gencat.out): Likewise.
6240 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6241 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6242 ($(objpfx)noload-mem): Likewise.
6243 ($(objpfx)tst-pathopt.out): Likewise.
6244 ($(objpfx)tst-rtld-load-self.out): Likewise.
6245 ($(objpfx)tst-array1-cmp.out): Likewise.
6246 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6247 ($(objpfx)tst-array2-cmp.out): Likewise.
6248 ($(objpfx)tst-array3-cmp.out): Likewise.
6249 ($(objpfx)tst-array4-cmp.out): Likewise.
6250 ($(objpfx)tst-array5-cmp.out): Likewise.
6251 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6252 ($(objpfx)check-textrel.out): Likewise.
6253 ($(objpfx)check-execstack.out): Likewise.
6254 ($(objpfx)check-localplt.out): Likewise.
6255 ($(objpfx)order2-cmp.out): Likewise.
6256 ($(objpfx)tst-leaks1-mem): Likewise.
6257 ($(objpfx)tst-leaks1-static-mem): Likewise.
6258 ($(objpfx)tst-initorder-cmp.out): Likewise.
6259 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6260 ($(objpfx)tst-unused-dep.out): Likewise.
6261 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6262 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6263 * iconv/Makefile (test-iconvconfig): Likewise.
6264 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6265 ($(objpfx)iconv-test.out): Likewise.
6266 ($(objpfx)tst-tables.out): Likewise.
6267 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6268 ($(objpfx)tst-gettext.out): Likewise.
6269 ($(objpfx)tst-translit.out): Likewise.
6270 ($(objpfx)tst-gettext2.out): Likewise.
6271 ($(objpfx)tst-gettext4.out): Likewise.
6272 ($(objpfx)tst-gettext6.out): Likewise.
6273 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6274 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6275 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6276 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6277 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6278 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6279 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6280 ($(objpfx)wordexp-tst.out): Likewise.
6281 ($(objpfx)annexc.out): Likewise.
6282 ($(objpfx)tst-fnmatch-mem): Likewise.
6283 ($(objpfx)bug-regex2-mem): Likewise.
6284 ($(objpfx)bug-regex14-mem): Likewise.
6285 ($(objpfx)bug-regex21-mem): Likewise.
6286 ($(objpfx)bug-regex31-mem): Likewise.
6287 ($(objpfx)tst-vfork3-mem): Likewise.
6288 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6289 ($(objpfx)tst-pcre-mem): Likewise.
6290 ($(objpfx)tst-boost-mem): Likewise.
6291 ($(objpfx)tst-getconf.out): Likewise.
6292 ($(objpfx)bug-ga2-mem): Likewise.
6293 ($(objpfx)bug-glob2-mem): Likewise.
6294 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6295 ($(objpfx)mtrace-tst-leaks2): Likewise.
6296 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6297 ($(objpfx)tst-printf.out): Likewise.
6298 ($(objpfx)tst-setvbuf1.out): Likewise.
6299 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6300 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6301 ($(objpfx)tst-fmtmsg.out): Likewise.
6302 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6303 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6305 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6306 * bits/sigaction.h [__USE_MISC]: Likewise.
6307 * bits/waitstatus.h: Update #endif comments.
6308 * ctype/ctype.h: Likewise.
6309 * dirent/dirent.h: Likewise.
6310 [__USE_MISC]: Remove redundant conditionals.
6311 * grp/grp.h: Update #endif comments.
6312 [__USE_GNU]: Remove redundant conditionals.
6313 [__USE_MISC]: Likewise.
6314 * inet/netinet/in.h [__USE_GNU]: Likewise.
6315 * io/sys/stat.h [__USE_MISC]: Likewise.
6316 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6317 * libio/bits/stdio.h: Update #endif comments.
6318 [__USE_MISC]: Remove redundant conditionals.
6319 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6320 * libio/stdio.h: Update #endif comments.
6321 [__USE_MISC]: Remove redundant conditionals.
6322 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6323 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6324 * math/math.h: Update #else and #endif comments.
6325 [__USE_MISC]: Remove redundant conditionals.
6326 * misc/sys/uio.h: Update #endif comments.
6327 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6328 * posix/glob.h [__USE_MISC]: Likewise.
6329 * posix/sys/types.h: Update #endif comments.
6330 [__USE_MISC]: Remove redundant conditionals.
6331 * posix/sys/wait.h: Update #endif comments.
6332 [__USE_MISC]: Remove redundant conditionals.
6333 * posix/unistd.h: Update #endif comments.
6334 [__USE_MISC]: Remove redundant conditionals.
6335 * pwd/pwd.h [__USE_GNU]: Likewise.
6336 [__USE_MISC]: Likewise.
6337 * resolv/netdb.h [__USE_GNU]: Likewise.
6338 * signal/signal.h: Update #endif comments.
6339 [__USE_MISC]: Remove redundant conditionals.
6340 * stdlib/stdlib.h: Update #else and #endif comments.
6341 [__USE_MISC]: Remove redundant conditionals.
6342 [__USE_GNU]: Likewise.
6343 * string/bits/string2.h [__USE_MISC]: Likewise.
6344 * string/string.h: Update #endif comments.
6345 [__USE_MISC]: Remove redundant conditionals.
6346 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6348 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6349 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6350 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6352 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6354 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6356 [__USE_MISC]: Remove redundant conditionals.
6357 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6358 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6359 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6360 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6361 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6363 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6364 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6366 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6367 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6369 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6371 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6372 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6374 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6376 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6377 * sysdeps/x86/bits/string.h: Update #endif comments.
6378 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6380 * time/sys/time.h: Update #endif comments.
6381 * time/time.h: Likewise.
6382 [__USE_MISC]: Remove redundant conditionals.
6384 2014-02-21 Yury Gribov <y.gribov@samsung.com>
6387 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6389 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6391 * Versions.def (librt): Add GLIBC_2.17.
6393 2014-02-21 Adam Conrad <adconrad@0c3.net>
6395 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6396 synonym for _SYS_AUXV_H to allow direct inclusion.
6397 * sysdeps/sparc/bits/hwcap.h: Likewise.
6398 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6399 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6400 * sysdeps/sparc/sysdep.h: Likewise.
6402 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6404 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6406 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6408 * benchtests/bench-strrchr.c: Print length instead of position.
6410 2014-02-20 Joseph Myers <joseph@codesourcery.com>
6413 * sysdeps/unix/sysv/linux/kernel-features.h
6414 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6415 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6416 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6417 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6419 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6420 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6421 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6422 (__ASSUME_SENDMMSG): Define instead of using previous
6423 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6424 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6425 (__ASSUME_SENDMMSG_SYSCALL): Define.
6426 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6427 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6429 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6430 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6432 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6433 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6435 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6436 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6437 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6438 [__ASSUME_SENDMMSG]: Change conditionals to
6439 [__ASSUME_SENDMMSG_SOCKETCALL].
6440 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6441 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6443 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6444 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6446 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6447 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6448 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6449 [!__ASSUME_SENDMMSG]: Change conditional to
6450 [!__ASSUME_SENDMMSG_SOCKETCALL].
6451 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6452 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6456 * sysdeps/unix/sysv/linux/kernel-features.h
6457 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6458 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6459 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6460 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6461 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6462 [__i386__ || __sparc__]
6463 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6464 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6465 (__ASSUME_RECVMMSG): Define instead of using previous
6466 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6467 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6468 (__ASSUME_RECVMMSG_SYSCALL): Define.
6469 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6470 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6472 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6473 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6475 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6476 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6478 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6479 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6480 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6481 [__ASSUME_RECVMMSG]: Change condition to
6482 [__ASSUME_RECVMMSG_SOCKETCALL].
6483 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6484 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6486 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6487 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6488 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6490 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6491 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6492 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6493 [!__ASSUME_RECVMMSG]: Change condition to
6494 [!__ASSUME_RECVMMSG_SOCKETCALL].
6495 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6496 (__ASSUME_RECVMMSG_SYSCALL): Define.
6499 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6500 __powerpc__ || __s390__ || __sh__ || __sparc__]
6501 (__ASSUME_SOCKETCALL): Define.
6502 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6503 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6504 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6505 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6506 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6507 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6508 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6509 (__ASSUME_ACCEPT4): Define instead of using previous
6510 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6511 __powerpc__ || __sparc__ || __s390__)] condition.
6512 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6513 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6514 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6515 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6516 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6517 [!__ASSUME_ACCEPT4]: Change condition to
6518 [!__ASSUME_ACCEPT4_SOCKETCALL].
6519 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6520 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6521 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6522 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6523 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6524 __ASSUME_ACCEPT4_SYSCALL.
6525 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6526 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6527 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6528 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6529 __ASSUME_ACCEPT4_SYSCALL.
6530 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6531 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6532 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6533 [__ASSUME_ACCEPT4]: Change condition to
6534 [__ASSUME_ACCEPT4_SOCKETCALL].
6535 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6536 (__ASSUME_SOCKETCALL): Define.
6537 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6538 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6539 (__ASSUME_SOCKETCALL): Define.
6540 (__ASSUME_ACCEPT4): Remove.
6541 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6543 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6544 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6546 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6547 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6549 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6551 (HWCAP_ARM_LPAE): Likewise.
6552 (HWCAP_ARM_EVTSTRM): Likewise.
6553 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6554 Add vpfd32, lpae and evtstrm.
6555 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6558 2014-02-19 Joseph Myers <joseph@codesourcery.com>
6560 * math/auto-libm-test-in: Add tests of clog10.
6561 * math/auto-libm-test-out: Regenerated.
6562 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6563 * sysdeps/i386/fpu/libm-test-ulps: Update.
6564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6566 2014-02-18 Andreas Schwab <schwab@suse.de>
6569 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6570 Store non-zero if the second buffer was newly allocated.
6571 (send_dg): Likewise.
6572 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6573 to send_vc and send_dg.
6574 (res_nsend): Pass NULL for ansp2_malloced.
6575 * resolv/res_query.c (__libc_res_nquery): Add parameter
6576 answerp2_malloced and pass it down to __libc_res_nsend.
6577 (res_nquery): Pass additional NULL to __libc_res_nquery.
6578 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6579 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6580 second answer buffer if answerp2_malloced was set.
6581 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6582 (__libc_res_nquerydomain): Add parameter
6583 answerp2_malloced and pass it down to __libc_res_nquery.
6584 (res_nquerydomain): Pass additional NULL to
6585 __libc_res_nquerydomain.
6586 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6587 additional NULL to __libc_res_nsend and __libc_res_nquery.
6588 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6589 additional NULL to __libc_res_nsearch.
6590 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6591 parameter of __libc_res_nsearch to check for separately allocated
6593 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6595 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6596 additional NULL to __libc_res_nquery.
6597 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6599 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6600 * include/resolv.h: Update prototypes of __libc_res_nquery,
6601 __libc_res_nsearch, __libc_res_nsend.
6603 2014-02-18 Joseph Myers <joseph@codesourcery.com>
6605 * math/auto-libm-test-in: Add tests of fma.
6606 * math/auto-libm-test-out: Regenerated.
6607 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6608 (fma_towardzero_test_data): Likewise.
6609 (fma_downward_test_data): Likewise.
6610 (fma_upward_test_data): Likewise.
6611 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6613 (rounding_modes): Add values for new field.
6614 (func_calc_method): Add value mpfr_fff_f.
6615 (func_calc_desc): Add mpfr_fff_f union field.
6616 (test_function): Add field exact_args.
6617 (FUNC): Add macro argument EXACT_ARGS.
6618 (FUNC_mpfr_f_f): Update call to FUNC.
6619 (FUNC_mpfr_f_f): Likewise.
6620 (FUNC_mpfr_ff_f): Likewise.
6621 (FUNC_mpfr_if_f): Likewise.
6622 (FUNC_mpc_c_f): Likewise.
6623 (FUNC_mpc_c_c): Likewise.
6624 (test_functions): Add fma. Update calls to FUNC.
6625 (handle_input_arg): Add argument exact_args.
6626 (add_test): Update call to handle_input_arg.
6627 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6628 (output_for_one_input_case): Update call to calc_generic_results.
6629 Recalculate exact zero results in each rounding mode.
6631 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6632 non-negative before setting low bit.
6633 * math/auto-libm-test-in: Mark one asin test possibly having
6635 * math/auto-libm-test-out: Regenerated.
6636 * sysdeps/i386/fpu/libm-test-ulps: Update.
6637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6639 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6641 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6642 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6643 ports/sysdeps/unix/sysv/linux/microblaze.
6644 * README: Add missing listing for microblaze*-*-linux-gnu.
6646 2014-02-16 Mike Frysinger <vapier@gentoo.org>
6648 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6649 * sysdeps/unix/sysv/linux/ia64: Move directory from
6650 ports/sysdeps/unix/sysv/linux/ia64.
6651 * README: Update listing for ia64-*-linux-gnu.
6653 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6654 Joseph Myers <joseph@codesourcery.com>
6656 * Makeconfig (test-name): New variable.
6657 (evaluate-test): Likewise.
6658 * Makerules (do-test-clean): Remove .test-result files.
6659 (common-mostlyclean): Likewise.
6660 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6661 * scripts/evaluate-test.sh: New file.
6663 2014-02-14 Joseph Myers <joseph@codesourcery.com>
6665 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6666 separate $(objpfx)tst-fopenloc-cmp.out and
6667 $(objpfx)tst-fopenloc-mem.out targets.
6668 (tests): Update dependencies.
6669 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6670 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6671 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6672 (tst-rxspencer-no-utf8-ARGS): New variable.
6673 (tst-rxspencer-no-utf8-ENV): Likewise.
6674 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6675 instead of $(objpfx)tst-rxspencer-mem.
6676 ($(objpfx)tst-rxspencer-mem): Change target to
6677 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6678 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6679 * posix/tst-rxspencer-no-utf8.c: New file.
6681 * elf/Makefile ($(objpfx)order.out): Remove rule.
6682 [$(run-built-tests) = yes] (tests): Depend on
6683 $(objpfx)order-cmp.out.
6684 ($(objpfx)order-cmp.out): New rule.
6685 [$(run-built-tests) = yes] (tests): Depend on
6686 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6687 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6688 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6689 $(objpfx)tst-array5-static-cmp.out.
6690 ($(objpfx)tst-array1.out): Remove rule.
6691 ($(objpfx)tst-array1-cmp.out): New rule.
6692 ($(objpfx)tst-array1-static.out): Remove rule.
6693 ($(objpfx)tst-array1-static-cmp.out): New rule.
6694 ($(objpfx)tst-array2.out): Remove rule.
6695 ($(objpfx)tst-array2-cmp.out): New rule.
6696 ($(objpfx)tst-array3.out): Remove rule.
6697 ($(objpfx)tst-array3-cmp.out): New rule.
6698 ($(objpfx)tst-array4.out): Remove rule.
6699 ($(objpfx)tst-array4-cmp.out): New rule.
6700 ($(objpfx)tst-array5.out): Remove rule.
6701 ($(objpfx)tst-array5-cmp.out): New rule.
6702 ($(objpfx)tst-array5-static.out): Remove rule.
6703 ($(objpfx)tst-array5-static-cmp.out): New rule.
6704 [$(run-built-tests) = yes] (tests): Depend on
6705 $(objpfx)order2-cmp.out.
6706 ($(objpfx)order2.out): Remove rule.
6707 ($(objpfx)order2-cmp.out): New rule.
6708 ($(objpfx)tst-initorder.out): Remove rule.
6709 [$(run-built-tests) = yes] (tests): Depend on
6710 $(objpfx)tst-initorder-cmp.out.
6711 ($(objpfx)tst-initorder-cmp.out): New rule.
6712 ($(objpfx)tst-initorder2.out): Remove rule.
6713 [$(run-built-tests) = yes] (tests): Depend on
6714 $(objpfx)tst-initorder2-cmp.out.
6715 ($(objpfx)tst-initorder2-cmp.out): New rule.
6716 [$(run-built-tests) = yes] (tests): Depend on
6717 $(objpfx)tst-unused-dep-cmp.out.
6718 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6719 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6720 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6721 on $(objpfx)tst-setvbuf1-cmp.out.
6722 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6723 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6724 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6725 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6726 ($(objpfx)tst-svc.out): Remove rule.
6727 ($(objpfx)tst-svc-cmp.out): New rule.
6729 2014-02-13 Joseph Myers <joseph@codesourcery.com>
6731 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6732 * ctype/ctype.h [__USE_MISC]: Likewise.
6733 * dirent/dirent.h [__USE_MISC]: Likewise.
6734 * grp/grp.h [__USE_MISC]: Likewise.
6735 * io/fcntl.h [__USE_MISC]: Likewise.
6736 * io/sys/stat.h [__USE_MISC]: Likewise.
6737 * libio/stdio.h [__USE_MISC]: Likewise.
6738 * posix/unistd.h [__USE_MISC]: Likewise.
6739 * pwd/pwd.h [__USE_MISC]: Likewise.
6740 * stdlib.h [__USE_MISC]: Likewise.
6741 * string/bits/string2.h [__USE_MISC]: Likewise.
6742 * string/string.h [__USE_MISC]: Likewise.
6743 * time/time.h [__USE_MISC]: Likewise.
6745 2014-02-13 Andreas Schwab <schwab@suse.de>
6748 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6749 second answer buffer if it was separately allocated.
6751 2014-02-12 Joseph Myers <joseph@codesourcery.com>
6753 * sysdeps/mips/math-tests.h: Include <features.h>.
6754 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6755 (ROUNDING_TESTS_long_double): Do not define.
6756 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6757 (EXCEPTION_TESTS_long_double): Likewise.
6758 * sysdeps/mips/mips64/libm-test-ulps: Update.
6760 * include/features.h (__USE_BSD): Remove macro definitions.
6761 (__USE_SVID): Likewise.
6762 (_BSD_SOURCE): Likewise.
6763 (_SVID_SOURCE): Likewise.
6764 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6765 from definition of _DEFAULT_SOURCE.
6766 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6768 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6769 * bits/mman.h [__USE_BSD]: Likewise.
6770 * bits/termios.h [__USE_BSD]: Likewise.
6771 * bits/waitstatus.h [__USE_BSD]: Likewise.
6772 * ctype/ctype.h [__USE_SVID]: Likewise.
6773 * dirent/dirent.h [__USE_BSD]: Likewise.
6774 * grp/grp.h [__USE_SVID]: Likewise.
6775 [__USE_BSD]: Likewise.
6776 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6777 * io/fcntl.h [__USE_BSD]: Likewise.
6778 * io/ftw.h [__USE_BSD]: Likewise.
6779 * io/sys/stat.h [__USE_BSD]: Likewise.
6780 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6781 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6782 * libio/stdio.h [__USE_SVID]: Likewise.
6783 [__USE_BSD]: Likewise.
6784 * math/math.h [__USE_SVID]: Likewise.
6785 [__USE_BSD]: Likewise.
6786 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6787 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6788 * misc/search.h [__USE_SVID]: Likewise.
6789 * misc/sys/mman.h [__USE_BSD]: Likewise.
6790 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6791 * misc/sys/uio.h [__USE_BSD]: Likewise.
6792 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6793 * posix/glob.h [__USE_BSD]: Likewise.
6794 * posix/regex.h [__USE_BSD]: Likewise.
6795 * posix/sys/types.h [__USE_BSD]: Likewise.
6796 [__USE_SVID]: Likewise.
6797 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6798 * posix/sys/wait.h [__USE_BSD]: Likewise.
6799 [__USE_SVID]: Likewise.
6800 * posix/unistd.h [__USE_BSD]: Likewise.
6801 [__USE_SVID]: Likewise.
6802 * pwd/pwd.h [__USE_SVID]: Likewise.
6803 * resolv/netdb.h [__USE_BSD]: Likewise.
6804 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6805 * signal/signal.h [__USE_BSD]: Likewise.
6806 [__USE_SVID]: Likewise.
6807 * socket/sys/socket.h [__USE_BSD]: Likewise.
6808 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6809 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6810 [__USE_SVID]: Likewise.
6811 * string/bits/string2.h [__USE_BSD]: Likewise.
6812 [__USE_SVID]: Likewise.
6813 * string/bits/string3.h [__USE_BSD]: Likewise.
6814 * string/endian.h [__USE_BSD]: Likewise.
6815 * string/string.h [__USE_SVID]: Likewise.
6816 [__USE_BSD]: Likewise.
6817 * string/strings.h [__USE_BSD]: Likewise.
6818 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6819 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6820 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6821 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6822 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6823 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6825 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6827 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6828 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6830 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6831 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6833 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6835 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6836 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6837 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6839 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6841 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6842 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6843 * termios/termios.h [__USE_BSD]: Likewise.
6844 * time/sys/time.h [__USE_BSD]: Likewise.
6845 * time/time.h [__USE_BSD]: Likewise.
6846 [__USE_SVID]: Likewise.
6848 * Makefile (subdir_targets): Remove subdir_lint.out.
6850 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6851 (do-tst-printf): Likewise.
6852 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6853 $(objpfx)tst-printf.out.
6855 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6857 * Makerules (check-abi-%): Change target to
6858 $(objpfx)check-abi-%.out.
6859 (check-abi target): Update dependencies.
6860 (check-abi-pattern variable): Redirect output of diff to $@.
6861 (check-abi variable): Likewise.
6862 * elf/Makefile (check-abi): Update dependencies.
6864 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6866 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6867 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6869 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6870 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6871 value has largest subnormal exponent.
6872 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6873 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6874 * sysdeps/aarch64/soft-fp/sfp-machine.h
6875 (_FP_TININESS_AFTER_ROUNDING): New macro.
6876 * sysdeps/alpha/soft-fp/sfp-machine.h
6877 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6878 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6880 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6881 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6882 * sysdeps/mips/soft-fp/sfp-machine.h
6883 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6884 * sysdeps/powerpc/soft-fp/sfp-machine.h
6885 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6886 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6888 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6889 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6890 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6891 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6892 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6895 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
6898 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6901 2014-02-12 Richard Henderson <rth@redhat.com>
6903 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
6904 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6905 * sysdeps/unix/sysv/linux/alpha: Move directory from
6906 ports/sysdeps/unix/sysv/linux/alpha.
6907 * README: Update listing for alpha-*-linux-gnu.
6909 2014-02-11 Joseph Myers <joseph@codesourcery.com>
6911 * include/features.h: Update comment documenting feature test
6913 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6915 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6916 (_SVID_SOURCE): Likewise.
6917 (_DEFAULT_SOURCE): Update description of default features.
6918 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6920 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6921 (S_ISVTX): Likewise.
6922 * manual/math.texi (Mathematical Constants): Likewise.
6923 * manual/signal.texi (Interrupted Primitives): Likewise.
6924 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6925 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6926 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6927 Don't refer to _SVID_SOURCE in warning text.
6929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6931 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6933 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6934 * sysdeps/mips/dl-lookup.c: Remove.
6935 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6937 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6940 * math/auto-libm-test-in: Add testcase for expl.
6941 * math/auto-libm-test-out: Regenerate.
6942 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6943 calculation of unsafe.
6944 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6946 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6948 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6949 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6950 ports/sysdeps/unix/sysv/linux/aarch64.
6951 * README: Update listing for aarch64*-*-linux-gnu.
6953 2014-02-11 Will Newton <will.newton@linaro.org>
6955 * manual/probes.texi (Mathematical Function Probes): Use
6956 "triggered" instead of "hit".
6958 * manual/probes.texi (Internal Probes): Add documentation
6959 of setjmp, longjmp and longjmp_target probes.
6961 * include/stap-probe.h: Add comment about probe argument
6964 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6965 definition. (tr_where, tr_freehook, tr_mallochook,
6966 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6968 2014-02-11 David S. Miller <davem@davemloft.net>
6970 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6971 processing int_tests.
6973 2014-02-10 Joseph Myers <joseph@codesourcery.com>
6975 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6976 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6977 * sysdeps/unix/sysv/linux/mips: Move directory from
6978 ports/sysdeps/unix/sysv/linux/mips.
6979 * README: Update listing for mips-*-linux-gnu and
6982 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6984 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6985 * sysdeps/unix/sysv/linux/m68k: Move directory from
6986 ports/sysdeps/unix/sysv/linux/m68k.
6987 * README: Update listing for m68k-*-linux-gnu.
6989 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6991 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6992 * sysdeps/unix/sysv/linux/generic: Move directory from
6993 ports/sysdeps/unix/sysv/linux/generic.
6994 * sysdeps/unix/sysv/linux/tile: Move directory from
6995 ports/sysdeps/unix/sysv/linux/tile.
6996 * README: Update listing for tile*-*-linux-gnu.
6998 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7000 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7002 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7003 * catgets/open_catalog.c (__open_catalog): Likewise.
7004 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7005 * debug/confstr_chk.c: Likewise.
7006 * debug/fread_chk.c (__fread_chk): Likewise.
7007 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7008 * debug/getgroups_chk.c: Likewise.
7009 * debug/mbsnrtowcs_chk.c: Likewise.
7010 * debug/mbsrtowcs_chk.c: Likewise.
7011 * debug/mbstowcs_chk.c: Likewise.
7012 * debug/memcpy_chk.c: Likewise.
7013 * debug/memmove_chk.c: Likewise.
7014 * debug/mempcpy_chk.c: Likewise.
7015 * debug/memset_chk.c: Likewise.
7016 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7017 * debug/strcat_chk.c (__strcat_chk): Likewise.
7018 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7019 * debug/strncat_chk.c (__strncat_chk): Likewise.
7020 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7021 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7022 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7023 * debug/wcpncpy_chk.c: Likewise.
7024 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7025 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7026 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7027 * debug/wcsncpy_chk.c: Likewise.
7028 * debug/wcsnrtombs_chk.c: Likewise.
7029 * debug/wcsrtombs_chk.c: Likewise.
7030 * debug/wcstombs_chk.c: Likewise.
7031 * debug/wmemcpy_chk.c: Likewise.
7032 * debug/wmemmove_chk.c: Likewise.
7033 * debug/wmempcpy_chk.c: Likewise.
7034 * debug/wmemset_chk.c: Likewise.
7035 * dirent/scandirat.c (SCANDIRAT): Likewise.
7036 * dlfcn/dladdr1.c (dladdr1): Likewise.
7037 * dlfcn/dladdr.c (dladdr): Likewise.
7038 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7039 * dlfcn/dlerror.c (__dlerror): Likewise.
7040 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7041 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7042 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7043 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7044 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7045 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7046 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7047 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7049 * elf/dl-conflict.c: Likewise.
7050 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7051 * elf/dl-dst.h: Likewise.
7052 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7053 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7054 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7055 * elf/dl-init.c (call_init, _dl_init): Likewise.
7056 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7057 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7058 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7060 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7062 * elf/dl-minimal.c (__libc_memalign): Likewise.
7063 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7064 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7065 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7066 * elf/dl-sym.c (do_sym): Likewise.
7067 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7068 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7069 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7070 * elf/dl-writev.h (_dl_writev): Likewise.
7071 * elf/ldconfig.c (search_dir): Likewise.
7072 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7073 (dl_main): Likewise.
7074 * elf/setup-vdso.h (setup_vdso): Likewise.
7075 * grp/compat-initgroups.c (compat_call): Likewise.
7076 * grp/fgetgrent.c (fgetgrent): Likewise.
7077 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7078 * grp/putgrent.c (putgrent): Likewise.
7079 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7081 * hurd/hurdinit.c: Likewise.
7082 * iconvdata/8bit-gap.c (struct): Likewise.
7083 * iconvdata/ansi_x3.110.c : Likewise.
7084 * iconvdata/big5.c : Likewise.
7085 * iconvdata/big5hkscs.c : Likewise.
7086 * iconvdata/cp1255.c: Likewise.
7087 * iconvdata/cp1258.c : Likewise.
7088 * iconvdata/cp932.c : Likewise.
7089 * iconvdata/euc-cn.c: Likewise.
7090 * iconvdata/euc-jisx0213.c : Likewise.
7091 * iconvdata/euc-jp.c: Likewise.
7092 * iconvdata/euc-jp-ms.c : Likewise.
7093 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7094 * iconvdata/gb18030.c : Likewise.
7095 * iconvdata/gbbig5.c (const): Likewise.
7096 * iconvdata/gbgbk.c: Likewise.
7097 * iconvdata/gbk.c : Likewise.
7098 * iconvdata/ibm1364.c : Likewise.
7099 * iconvdata/ibm930.c : Likewise.
7100 * iconvdata/ibm932.c: Likewise.
7101 * iconvdata/ibm933.c : Likewise.
7102 * iconvdata/ibm935.c : Likewise.
7103 * iconvdata/ibm937.c : Likewise.
7104 * iconvdata/ibm939.c : Likewise.
7105 * iconvdata/ibm943.c: Likewise.
7106 * iconvdata/iso_11548-1.c: Likewise.
7107 * iconvdata/iso-2022-cn.c : Likewise.
7108 * iconvdata/iso-2022-cn-ext.c : Likewise.
7109 * iconvdata/iso-2022-jp-3.c: Likewise.
7110 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7111 * iconvdata/iso-2022-kr.c : Likewise.
7112 * iconvdata/iso646.c (gconv_end): Likewise.
7113 * iconvdata/iso_6937-2.c : Likewise.
7114 * iconvdata/iso_6937.c : Likewise.
7115 * iconvdata/iso8859-1.c: Likewise.
7116 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7117 * iconvdata/shift_jisx0213.c : Likewise.
7118 * iconvdata/sjis.c : Likewise.
7119 * iconvdata/t.61.c : Likewise.
7120 * iconvdata/tcvn5712-1.c : Likewise.
7121 * iconvdata/tscii.c: Likewise.
7122 * iconvdata/uhc.c : Likewise.
7123 * iconvdata/unicode.c (gconv_end): Likewise.
7124 * iconvdata/utf-16.c (gconv_end): Likewise.
7125 * iconvdata/utf-32.c (gconv_end): Likewise.
7126 * iconvdata/utf-7.c (base64): Likewise.
7127 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7128 * iconv/gconv_close.c (__gconv_close): Likewise.
7129 * iconv/gconv_open.c (__gconv_open): Likewise.
7130 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7131 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7132 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7133 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7134 (ucs4le_internal_loop_single): Likewise.
7135 * iconv/iconv.c (iconv): Likewise.
7136 * iconv/iconv_close.c: Likewise.
7137 * iconv/loop.c (SINGLE): Likewise.
7138 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7139 * include/atomic.h: Likewise.
7140 * inet/inet6_option.c (option_alloc): Likewise.
7141 * intl/bindtextdom.c (set_binding_values): Likewise.
7142 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7143 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7144 * intl/localealias.c (read_alias_file): Likewise.
7145 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7146 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7147 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7148 * libio/fmemopen.c (fmemopen): Likewise.
7149 * libio/iofgets.c (_IO_fgets): Likewise.
7150 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7151 * libio/iofgetws.c (fgetws): Likewise.
7152 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7153 * libio/iogetdelim.c (_IO_getdelim): Likewise.
7154 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7155 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7156 * locale/findlocale.c (_nl_find_locale): Likewise.
7157 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7158 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7160 * locale/setlocale.c (setlocale): Likewise.
7161 * login/programs/pt_chown.c (main): Likewise.
7162 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7163 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7164 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7165 (mmap, mmap64, mremap, munmap): Likewise.
7166 * math/e_exp2l.c: Likewise.
7167 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7168 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7169 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7170 * math/s_catan.c (__catan): Likewise.
7171 * math/s_catanf.c (__catanf): Likewise.
7172 * math/s_catanh.c (__catanh): Likewise.
7173 * math/s_catanhf.c (__catanhf): Likewise.
7174 * math/s_catanhl.c (__catanhl): Likewise.
7175 * math/s_catanl.c (__catanl): Likewise.
7176 * math/s_ccosh.c (__ccosh): Likewise.
7177 * math/s_ccoshf.c (__ccoshf): Likewise.
7178 * math/s_ccoshl.c (__ccoshl): Likewise.
7179 * math/s_cexp.c (__cexp): Likewise.
7180 * math/s_cexpf.c (__cexpf): Likewise.
7181 * math/s_cexpl.c (__cexpl): Likewise.
7182 * math/s_clog10.c (__clog10): Likewise.
7183 * math/s_clog10f.c (__clog10f): Likewise.
7184 * math/s_clog10l.c (__clog10l): Likewise.
7185 * math/s_clog.c (__clog): Likewise.
7186 * math/s_clogf.c (__clogf): Likewise.
7187 * math/s_clogl.c (__clogl): Likewise.
7188 * math/s_csin.c (__csin): Likewise.
7189 * math/s_csinf.c (__csinf): Likewise.
7190 * math/s_csinh.c (__csinh): Likewise.
7191 * math/s_csinhf.c (__csinhf): Likewise.
7192 * math/s_csinhl.c (__csinhl): Likewise.
7193 * math/s_csinl.c (__csinl): Likewise.
7194 * math/s_csqrt.c (__csqrt): Likewise.
7195 * math/s_csqrtf.c (__csqrtf): Likewise.
7196 * math/s_csqrtl.c (__csqrtl): Likewise.
7197 * math/s_ctan.c (__ctan): Likewise.
7198 * math/s_ctanf.c (__ctanf): Likewise.
7199 * math/s_ctanh.c (__ctanh): Likewise.
7200 * math/s_ctanhf.c (__ctanhf): Likewise.
7201 * math/s_ctanhl.c (__ctanhl): Likewise.
7202 * math/s_ctanl.c (__ctanl): Likewise.
7203 * math/w_pow.c: Likewise.
7204 * math/w_powf.c: Likewise.
7205 * math/w_powl.c: Likewise.
7206 * math/w_scalb.c (sysv_scalb): Likewise.
7207 * math/w_scalbf.c (sysv_scalbf): Likewise.
7208 * math/w_scalbl.c (sysv_scalbl): Likewise.
7209 * misc/error.c (error_tail): Likewise.
7210 * misc/pselect.c (__pselect): Likewise.
7211 * nis/nis_callback.c (__nis_create_callback): Likewise.
7212 * nis/nis_call.c (__nisfind_server): Likewise.
7213 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7214 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7215 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7216 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7217 * nis/nis_lookup.c (nis_lookup): Likewise.
7218 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7219 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7220 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7221 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7222 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7223 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7224 * nis/nss_compat/compat-initgroups.c (add_group)
7225 (internal_getgrent_r): Likewise.
7226 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7227 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7228 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7229 (internal_getspnam_r): Likewise.
7230 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7231 (_nss_nis_getaliasbyname_r): Likewise.
7232 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7233 (_nss_nis_getntohost_r): Likewise.
7234 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7235 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7236 (_nss_nis_getgrgid_r): Likewise.
7237 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7238 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7239 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7240 (_nss_nis_gethostbyname4_r): Likewise.
7241 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7242 (initgroups_netid): Likewise.
7243 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7244 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7245 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7246 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7247 (_nss_nis_getprotobynumber_r): Likewise.
7248 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7249 (_nss_nis_getsecretkey): Likewise.
7250 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7251 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7252 (_nss_nis_getpwuid_r): Likewise.
7253 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7254 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7255 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7256 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7257 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7258 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7259 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7261 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7262 (_nss_nisplus_getntohost_r): Likewise.
7263 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7264 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7265 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7266 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7268 * nis/nss_nisplus/nisplus-initgroups.c
7269 (_nss_nisplus_initgroups_dyn): Likewise.
7270 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7271 (_nss_nisplus_getnetbyaddr_r): Likewise.
7272 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7273 (_nss_nisplus_getprotobynumber_r): Likewise.
7274 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7275 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7276 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7278 * nis/nss_nisplus/nisplus-service.c
7279 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7280 (_nss_nisplus_getservbyport_r): Likewise.
7281 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7282 (_nss_nisplus_getspnam_r): Likewise.
7283 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7285 * nscd/aicache.c (addhstaiX): Likewise.
7286 * nscd/cache.c (cache_search, prune_cache): Likewise.
7287 * nscd/connections.c (register_traced_file, send_ro_fd)
7288 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7289 (main_loop_epoll): Likewise.
7290 * nscd/grpcache.c (addgrbyX): Likewise.
7291 * nscd/hstcache.c (addhstbyX): Likewise.
7292 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7293 * nscd/mem.c (gc, mempool_alloc): Likewise.
7294 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7295 (addinnetgrX): Likewise.
7296 * nscd/nscd-client.h (__nscd_acquire_maplock)
7297 (__nscd_drop_map_ref): Likewise.
7298 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7299 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7300 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7302 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7303 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7304 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7305 (__nscd_get_map_ref): Likewise.
7306 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7307 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7309 * nscd/pwdcache.c (addpwbyX): Likewise.
7310 * nscd/selinux.c (preserve_capabilities): Likewise.
7311 * nscd/servicescache.c (addservbyX): Likewise.
7312 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7313 * posix/fnmatch.c (fnmatch): Likewise.
7314 * posix/getopt.c (_getopt_internal_r): Likewise.
7315 * posix/glob.c (glob, glob_in_dir): Likewise.
7316 * posix/wordexp.c (exec_comm_child): Likewise.
7317 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7318 (getanswer_r, gaih_getanswer_slice): Likewise.
7319 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7320 * resolv/res_init.c: Likewise.
7321 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7322 * resolv/res_query.c (__libc_res_nquery): Likewise.
7323 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7325 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7326 * stdio-common/perror.c (perror): Likewise.
7327 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7328 * stdio-common/tmpnam.c (tmpnam): Likewise.
7329 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7330 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7331 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7333 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7334 * stdlib/putenv.c (putenv): Likewise.
7335 * stdlib/setenv.c (__add_to_environ): Likewise.
7336 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7337 * stdlib/strtol_l.c (INTERNAL): Likewise.
7338 * string/memmem.c (memmem): Likewise.
7339 * string/strerror.c (strerror): Likewise.
7340 * string/strnlen.c (__strnlen): Likewise.
7341 * string/test-memmem.c (simple_memmem): Likewise.
7342 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7343 * sunrpc/pm_getport.c (__get_socket): Likewise.
7344 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7345 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7346 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7347 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7349 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7350 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7351 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7352 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7353 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7354 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7356 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7358 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7359 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7360 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7361 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7362 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7363 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7364 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7365 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7366 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7367 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7368 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7369 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7371 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7373 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7375 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7376 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7377 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7378 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7379 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7380 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7381 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7382 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7383 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7384 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7385 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7386 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7387 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7388 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7390 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7392 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7394 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7396 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7398 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7399 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7400 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7402 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7403 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7404 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7405 * sysdeps/posix/sleep.c: Likewise.
7406 * sysdeps/posix/tempname.c: Likewise.
7407 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7408 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7410 * sysdeps/powerpc/powerpc32/dl-machine.h
7411 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7412 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7413 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7414 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7415 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7417 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7418 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7419 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7420 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7421 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7422 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7423 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7424 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7425 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7426 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7427 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7428 (elf_machine_lazy_rel): Likewise.
7429 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7430 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7431 (elf_machine_lazy_rel): Likewise.
7432 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7433 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7434 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7435 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7436 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7437 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7438 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7439 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7441 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7442 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7443 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7444 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7445 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7446 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7447 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7448 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7449 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7450 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7451 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7453 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7454 (__posix_fallocate64_l64): Likewise.
7455 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7456 (posix_fallocate): Likewise.
7457 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7459 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7460 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7461 (getifaddrs_internal): Likewise.
7462 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7463 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7464 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7465 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7466 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7467 (__posix_fallocate64_l64): Likewise.
7468 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7470 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7471 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7472 (__get_clockfreq): Likewise.
7473 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7474 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7475 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7476 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7477 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7478 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7479 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7480 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7482 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7483 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7484 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7485 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7486 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7487 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7488 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7490 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7491 (posix_fallocate): Likewise.
7492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7493 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7494 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7495 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7496 (elf_machine_rela, elf_machine_rela_relative)
7497 (elf_machine_lazy_rel): Likewise.
7498 * time/asctime.c (asctime_internal): Likewise.
7499 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7500 * time/tzset.c (__tzset_parse_tz): Likewise.
7501 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7502 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7503 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7504 * wcsmbs/wcsmbsload.h: Likewise.
7507 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7509 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7510 (arena_get2): Remove THREAD_STATS conditionals.
7511 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7512 (__malloc_stats, int): Likewise.
7514 2014-02-08 Mike Frysinger <vapier@gentoo.org>
7516 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7517 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7519 * manual/setjmp.texi: Fix typos/grammar errors.
7521 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7522 Only return early when n is <= 0. Delete unused return statement.
7524 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7525 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7526 * debug/tst-longjmp_chk3.c: New file.
7528 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7529 (test_main): Replace code with set_fortify_handler call.
7530 * debug/test-strcpy_chk.c: Likewise.
7531 * debug/tst-chk1.c: Likewise.
7532 * debug/tst-longjmp_chk.c: Likewise.
7533 * test-skeleton.c: Include fcntl.h & paths.h
7534 (set_fortify_handler): Define.
7536 * debug/tst-longjmp_chk.c: Add header comment and include
7538 (do_test): Mark static.
7539 (TEST_FUNCTION): Define.
7541 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7542 (IP_PMTUDISC_INTERFACE): Likewise.
7543 (IP_MULTICAST_IF): Likewise.
7544 (IP_MULTICAST_TTL): Likewise.
7545 (IP_MULTICAST_LOOP): Likewise.
7546 (IP_ADD_MEMBERSHIP): Likewise.
7547 (IP_DROP_MEMBERSHIP): Likewise.
7548 (IP_UNBLOCK_SOURCE): Likewise.
7549 (IP_BLOCK_SOURCE): Likewise.
7550 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7551 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7552 (IP_MSFILTER): Likewise.
7553 (MCAST_JOIN_GROUP): Likewise.
7554 (MCAST_BLOCK_SOURCE): Likewise.
7555 (MCAST_UNBLOCK_SOURCE): Likewise.
7556 (MCAST_LEAVE_GROUP): Likewise.
7557 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7558 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7559 (MCAST_MSFILTER): Likewise.
7560 (IP_MULTICAST_ALL): Likewise.
7561 (IP_UNICAST_IF): Likewise.
7563 * timezone/Makefile: Delete $(have-ksh) check.
7564 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7565 * timezone/tzselect.ksh: Add +x mode bits.
7567 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7568 (ANON_INODE_FS_MAGIC): Likewise.
7569 (BDEVFS_MAGIC): Likewise.
7570 (BINFMTFS_MAGIC): Likewise.
7571 (BTRFS_TEST_MAGIC): Likewise.
7572 (CRAMFS_MAGIC_WEND): Likewise.
7573 (DEBUGFS_MAGIC): Likewise.
7574 (ECRYPTFS_SUPER_MAGIC): Likewise.
7575 (EXT3_SUPER_MAGIC): Likewise.
7576 (EXT4_SUPER_MAGIC): Likewise.
7577 (FUTEXFS_SUPER_MAGIC): Likewise.
7578 (HOSTFS_SUPER_MAGIC): Likewise.
7579 (HUGETLBFS_MAGIC): Likewise.
7580 (MINIX3_SUPER_MAGIC): Likewise.
7581 (MTD_INODE_FS_MAGIC): Likewise.
7582 (NILFS_SUPER_MAGIC): Likewise.
7583 (OPENPROM_SUPER_MAGIC): Likewise.
7584 (PIPEFS_MAGIC): Likewise.
7585 (PSTOREFS_MAGIC): Likewise.
7586 (QNX6_SUPER_MAGIC): Likewise.
7587 (RAMFS_MAGIC): Likewise.
7588 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7589 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7590 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7591 (SECURITYFS_MAGIC): Likewise.
7592 (SELINUX_MAGIC): Likewise.
7593 (SMACK_MAGIC): Likewise.
7594 (SOCKFS_MAGIC): Likewise.
7595 (SQUASHFS_MAGIC): Likewise.
7596 (STACK_END_MAGIC): Likewise.
7597 (TMPFS_MAGIC): Likewise.
7598 (USBDEVICE_SUPER_MAGIC): Likewise.
7599 (V9FS_MAGIC): Likewise.
7600 (XENFS_SUPER_MAGIC): Likewise.
7601 (CRAMFS_MAGIC): Fix typo in comment.
7602 (EXT2_SUPER_MAGIC): Update comment.
7603 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7605 2014-02-08 Joseph Myers <joseph@codesourcery.com>
7607 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7608 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7609 * sysdeps/unix/sysv/linux/arm: Move directory from
7610 ports/sysdeps/unix/sysv/linux/arm.
7611 * README: Update listing for arm-*-linux-gnueabi.
7613 * README: Remove mention of am33.
7615 2014-02-07 Roland McGrath <roland@hack.frob.com>
7617 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7618 than the comma operator, to avoid "rhs of comma has no effect"
7620 (__sigfillset, __sigandset, __sigorset): Likewise.
7621 * include/signal.h (__sigemptyset): Likewise.
7622 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7624 2014-02-07 Allan McRae <allan@archlinux.org>
7626 * version.h (RELEASE): Set to "development".
7627 (VERSION): Set to "2.19.90"
7628 * NEWS: Add 2.20 section.
7630 2014-02-06 Carlos O'Donell <carlos@redhat.com>
7633 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7635 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7637 * manual/contrib.texi: Update entry for Carlos O'Donell,
7638 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7640 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
7642 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7644 * sysdeps/unix/sysv/linux/kernel-features.h
7645 [__LINUX_KERNEL_VERSION >= 0x020621]
7646 (__ASSUME_PROC_PID_TASK_COMM): Define.
7648 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7651 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7652 conversion when destination buffer does not have enough space.
7653 * libio/tst-ftell-partial-wide.c: New test case.
7654 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7656 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7657 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7658 Leonard and Allan McRae.
7660 2014-02-04 David S. Miller <davem@davemloft.net>
7662 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7665 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7694 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7696 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7697 * shlib-versions: Likewise.
7699 2014-02-04 Roland McGrath <roland@hack.frob.com>
7700 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7702 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7703 (abilist-pattern): New variable, set to %-le.abilist.
7705 * Makerules (abilist-pattern): New variable.
7706 (vpath): Use $(abilist-pattern) in place of %.abilist.
7707 (check-abi-% pattern rule): Likewise.
7708 (check-abi, update-abi): Likewise.
7710 2014-02-04 Eric Wong <normalperson@yhbt.net>
7712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7714 2014-02-03 Carlos O'Donell <carlos@redhat.com>
7716 * manual/startup.texi: Add next, previous, and top entries for
7717 the `Program Arguments' and `Environment Variables' nodes.
7719 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
7721 * manual/macros.texi: Add comments before MTASC-safety macros.
7723 * manual/users.texi: Document MTASC-safety properties.
7725 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7726 (pthread_getspecific, pthread_setspecific): Format with
7727 @deftypefun, and add @safety note.
7728 * manual/signal.texi: Move comments that analyze the above
7729 functions to their home place.
7731 2014-02-03 Allan McRae <allan@archlinux.org>
7733 * po/sl.po: Update Slovenian translation from translation project.
7735 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
7737 * manual/time.texi (timegm): Add missing blank after @c.
7738 Reported by Joseph Myers <joseph@codesourcery.com>.
7740 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
7742 * manual/check-safety.sh: New.
7743 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7745 * manual/terminal.texi: Document MTASC-safety properties.
7747 * manual/filesys.texi: Document MTASC-safety properties.
7749 * manual/errno.texi: Document MTASC-safety properties.
7751 * manual/intro.texi: Document safety identifiers and
7754 * manual/string.texi (wcstok): Fix prototype.
7755 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7757 * manual/time.texi: Document MTASC-safety properties.
7759 * manual/string.texi: Document MTASC-safety properties.
7761 * manual/threads.texi: Document MTASC-safety properties.
7763 * manual/stdio.texi: Document MTASC-safety properties.
7765 * manual/syslog.texi: Document MTASC-safety properties.
7767 * manual/sysinfo.texi: Document MTASC-safety properties.
7769 * manual/startup.texi: Document MTASC-safety properties.
7771 * manual/socket.texi: Document MTASC-safety properties.
7773 * manual/signal.texi: Document MTASC-safety properties.
7775 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
7777 * manual/setjmp.texi: Document MTASC-safety properties.
7779 * manual/search.texi: Document MTASC-safety properties.
7781 * manual/resource.texi: Document MTASC-safety properties.
7783 * manual/process.texi: Document MTASC-safety properties.
7785 * manual/platform.texi: Document MTASC-safety properties.
7787 * manual/pipe.texi: Document MTASC-safety properties.
7789 * manual/pattern.texi: Document MTASC-safety properties.
7791 * manual/message.texi: Document MTASC-safety properties.
7794 * manual/memory.texi: Document MTASC-safety properties.
7796 * manual/math.texi: Document MTASC-safety properties.
7798 * manual/locale.texi: Document MTASC-safety properties.
7800 * manual/llio.texi: Document MTASC-safety properties.
7802 * manual/libdl.texi: New.
7804 * manual/lang.texi: Document MTASC-safety properties.
7806 * manual/job.texi: Document MTASC-safety properties.
7808 * manual/getopt.texi: Document MTASC-safety properties.
7810 * manual/ctype.texi: Document MTASC-safety properties.
7812 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7815 * csu/libc-tls.c (static_map): Remove variable.
7816 (__libc_setup_tls): Use main executable's link map for TLS data.
7817 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7818 casing for LM_ID_BASE and GL(dl_nns).
7819 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7820 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7821 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7822 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7823 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7825 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7828 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
7830 * manual/debug.texi: Document MTASC-safety properties.
7832 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7835 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7836 of __x86_64__ when disabling x87 inline functions.
7838 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
7840 * manual/charset.texi: Document MTASC-safety properties.
7842 * manual/crypt.texi: Document MTASC-safety properties.
7844 * manual/conf.texi: Document MTASC-safety properties.
7846 * manual/arith.texi: Document MTASC-safety properties.
7848 * manual/argp.texi: Document MTASC-safety properties.
7850 * manual/macros.texi: Introduce macros to document multi
7851 thread, asynchronous signal and asynchronous cancellation
7853 * manual/intro.texi: Introduce the properties themselves.
7855 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7857 * sysdeps/sh/sh4/Makefile: New file.
7859 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7861 * math/gen-libm-test.pl ($srcdir): New variable.
7862 ($auto_input): Use it.
7864 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7867 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7868 access beyond array bounds when parsing netgroups file.
7870 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7871 the old buffer before realloc.
7873 2014-01-27 Allan McRae <allan@archlinux.org>
7875 * po/fr.po: Update French translation from translation project.
7877 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7879 * sysdeps/sh/libm-test-ulps: Regenerate.
7881 2014-01-24 David S. Miller <davem@davemloft.net>
7883 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7885 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7887 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7888 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7890 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7893 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7894 string pointers after reallocation.
7896 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7898 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7899 __SH4A__ instead of __SH_FPU_ANY__.
7901 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7903 * sysdeps/sh/fpu_control.h: New file.
7904 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7905 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7906 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7907 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7908 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7909 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7910 * sysdeps/sh/sys/ucontext.h: Remove.
7911 * sysdeps/sh/sys: Remove directory.
7913 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7915 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7916 s390/sys/ucontext.h.
7917 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7918 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7920 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7923 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7925 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7928 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7929 Adjust the vDSO correctly for internal calls.
7930 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7932 2014-01-20 Allan McRae <allan@archlinux.org>
7934 * po/ca.po: Update Catalan translation from translation project.
7936 2014-01-16 Mike Frysinger <vapier@gentoo.org>
7938 * sysdeps/s390/sotruss-lib.c: New file.
7940 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7943 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
7944 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7945 local calls issues by not having a PLT stub required for IFUNC calls.
7946 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7948 2014-01-16 Joseph Myers <joseph@codesourcery.com>
7950 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7951 * math/test-fpucw-static.c: Likewise.
7953 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7956 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7958 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7960 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7961 implementation for powerpc.
7963 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
7966 * sysdeps/posix/system.c (__libc_system): Do not enable
7967 asynchronous cancellation.
7969 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7972 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7973 handling only for numbers special also in the IEEE case.
7975 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7977 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7979 2014-01-11 Allan McRae <allan@archlinux.org>
7981 * po/bg.po: Update Bulgarian translation from translation project.
7983 * po/de.po: Update German translation from translation project.
7985 2014-01-10 Roland McGrath <roland@hack.frob.com>
7987 * sysdeps/generic/gcc-compat.h: New file.
7989 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7991 * benchtests/asin-inputs: Correct slow inputs.
7992 * benchtests/acos-inputs: Likewise.
7994 2014-01-10 Allan McRae <allan@archlinux.org>
7996 * po:sv.po: Update Swedish translation from translation project.
7998 * po/vi.po: Update Vietnamese translation from translation project.
8000 * po/eo.po: Update Esperanto translation from translation project.
8002 * po/cs.po: Update Czech translation from translation project.
8004 * po/nl.po: Update Dutch translation from translation project.
8006 * po/pl.po: Update Polish translation from translation project.
8008 * po/ru.po: Update Russian translation from translation project.
8010 * po/uk.po: Update Ukrainian translation from translation project.
8012 2014-01-08 Brooks Moses <bmoses@google.com>
8014 * elf/dl-load.c: Fix comment typo.
8016 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8018 * po/header.pot: Rename to...
8019 * po/pot.header: ... this.
8020 * po/Makefile: Use pot.header.
8022 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8023 Maxim Kuvyrkov <maxim@kugelworks.com>
8026 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8027 SRC and DEST against LEN.
8029 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8032 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8034 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8036 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8040 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8043 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8044 for large positive arguments.
8046 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8048 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8050 * math/auto-libm-test-in: Mark various tests with
8051 xfail-rounding:ldbl-128ibm.
8052 * math/auto-libm-test-out: Regenerated.
8055 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8056 Increase overflow threshold.
8058 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
8061 * stdio-common/vfprintf.c: Check for integer overflow.
8063 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8065 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8066 the first argument and return value of __tls_get_addr_internal.
8068 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8070 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8071 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8073 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8075 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8076 * sysdeps/s390/rtld-global-offsets.sym: New file.
8077 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8079 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8080 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8081 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8083 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8084 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8090 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8091 halfs of GPRs for high_gprs contexts.
8092 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8093 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8095 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8097 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8099 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8100 for high GPRs (uc_high_gprs) and for future extensions
8102 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8103 for future extensions (__reserved).
8104 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8106 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8107 SC_HIGHGPRS offset definition.
8108 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8109 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8111 * Versions.def: Add GLIBC_2.19 for libpthread.
8112 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8113 siglongjmp for libpthread with GLIBC_2.19 symver.
8114 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8115 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8116 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8117 * sysdeps/s390/__longjmp.c: New file.
8118 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8119 * sysdeps/s390/longjmp.c: New file.
8120 * sysdeps/s390/setjmp.S: New file.
8121 * sysdeps/s390/sigjmp.S: New file.
8122 * sysdeps/s390/v1-longjmp.c: New file.
8123 * sysdeps/s390/v1-setjmp.h: New file.
8124 * sysdeps/s390/v1-sigjmp.c: New file.
8125 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8126 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8128 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8129 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8130 versioned symbols for ____longjmp_chk.
8131 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8141 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8142 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8143 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8144 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8145 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8146 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8147 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8148 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8149 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8150 * sysdeps/s390/rtld-__longjmp.c: New file.
8151 * sysdeps/s390/rtld-setjmp.S: New file.
8153 2014-01-06 Joseph Myers <joseph@codesourcery.com>
8156 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8157 Return -__logl (x) for small positive arguments without evaluating
8160 2014-01-06 Mike Frysinger <vapier@gentoo.org>
8162 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8164 (__ptrace_peeksiginfo_args): ... this.
8165 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8166 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8167 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8169 2014-01-06 Allan McRae <allan@archlinux.org>
8171 * inet/netinet/in.h: Fix typo in comment.
8173 2014-01-05 Andreas Jaeger <aj@suse.de>
8175 * sysdeps/i386/fpu/libm-test-ulps: Update.
8177 2014-01-05 Allan McRae <allan@archlinux.org>
8179 * po/libc.pot: Regenerated.
8181 * malloc/memusagestat.c: Fix gettext call formatting.
8183 2014-01-04 Sami Kerola <kerolasa@iki.fi>
8185 * nscd/nscd.c: Improve usage() output.
8187 2014-01-04 Mike Frysinger <vapier@gentoo.org>
8189 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8190 * sysdeps/unix/sysv/linux/configure: Regenerated.
8191 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8192 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8194 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8197 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8198 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8200 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8202 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8203 extra tokens at end of #undef directive.
8204 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8205 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8206 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8208 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8210 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8212 * math/auto-libm-test-in: Mark various tests with
8213 xfail-rounding:ldbl-128ibm.
8214 * math/auto-libm-test-out: Regenerated.
8216 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8219 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8220 numbers with subnormal high part when calculating exponent.
8223 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8227 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8229 (__ieee754_acoshl): Use __log1pl not __log1p.
8231 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
8233 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8234 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8235 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8236 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8237 (reused_arena, arena_get2): Convert to GNU style.
8238 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8239 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8240 (memalign_check, __malloc_set_state): Likewise.
8241 * malloc/mallocbug.c (main): Likewise.
8242 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8243 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8244 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8245 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8246 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8247 (__posix_memalign, malloc_info): Likewise.
8248 * malloc/malloc.h: Likewise.
8249 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8250 (mallochook, memalignhook, reallochook, mabort): Likewise.
8251 * malloc/mcheck.h: Likewise.
8252 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8253 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8254 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8255 * malloc/morecore.c (__default_morecore): Likewise.
8256 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8257 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8258 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8259 (print_and_abort): Likewise.
8260 * malloc/obstack.h: Likewise.
8261 * malloc/set-freeres.c (__libc_freeres): Likewise.
8262 * malloc/tst-mallocstate.c (main): Likewise.
8263 * malloc/tst-mtrace.c (main): Likewise.
8264 * malloc/tst-realloc.c (do_test): Likewise.
8266 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8269 * nscd/netgroupcache.c (do_notfound): New function.
8270 (addgetnetgrentX): Use it.
8273 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8274 NSS_STATUS_NOTFOUND.
8276 2014-01-01 Joseph Myers <joseph@codesourcery.com>
8278 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8281 2014-01-01 Allan McRae <allan@archlinux.org>
8283 * scripts/update-copyrights: Update configure input file suffix.
8285 * NEWS: Update copyright year.
8286 * catgets/gencat.c: Likewise.
8287 * csu/version.c: Likewise.
8288 * debug/catchsegv.sh: Likewise.
8289 * debug/pcprofiledump.c: Likewise.
8290 * debug/xtrace.sh: Likewise.
8291 * elf/ldconfig.c: Likewise.
8292 * elf/ldd.bash.in: Likewise.
8293 * elf/pldd.c: Likewise.
8294 * elf/sotruss.ksh: Likewise.
8295 * elf/sprof.c: Likewise.
8296 * iconv/iconv_prog.c: Likewise.
8297 * iconv/iconvconfig.c: Likewise.
8298 * locale/programs/locale.c: Likewise.
8299 * locale/programs/localedef.c: Likewise.
8300 * login/programs/pt_chown.c: Likewise.
8301 * malloc/memusage.sh: Likewise.
8302 * malloc/memusagestat.c: Likewise.
8303 * malloc/mtrace.pl: Likewise.
8304 * manual/libc.texinfo: Likewise.
8305 * nscd/nscd.c: Likewise.
8306 * nss/getent.c: Likewise.
8307 * nss/makedb.c: Likewise.
8308 * posix/getconf.c: Likewise.
8309 * scripts/test-installation.pl: Likewise.
8311 * All files with FSF copyright notices: Update copyright dates
8312 using scripts/update-copyrights.
8313 * intl/plural.c: Regenerated.
8314 * locale/programs/charmap-kw.h: Likewise.
8315 * locale/programs/locfile-kw.h: Likewise.
8317 2013-12-31 Mike Frysinger <vapier@gentoo.org>
8319 * sysdeps/unix/sysv/linux/configure: Regenerated.
8320 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8321 the linux/fanotify.h header.
8322 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8323 HAVE_LINUX_FANOTIFY_H is defined.
8325 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8327 * benchtests/cos-inputs: New inputs.
8328 * benchtests/sin-inputs: Likewise.
8330 * benchtests/atan-inputs: New inputs. Fix name of multiple
8331 precision fallback inputs.
8333 * benchtests/atanh-inputs: New inputs.
8334 * benchtests/tanh-inputs: Likewise.
8336 * benchtests/acosh-inputs: New inputs.
8337 * benchtests/asinh-inputs: Likewise.
8339 * benchtests/cosh-inputs: New inputs.
8340 * benchtests/sinh-inputs: Likewise.
8342 * benchtests/acos-inputs: Add more inputs.
8343 * benchtests/asin-inputs: Likewise.
8345 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
8348 * manual/arith.texi: Fix spelling.
8349 * manual/charset.texi: Likewise.
8350 * manual/errno.texi: Likewise.
8351 * manual/filesys.texi: Likewise.
8352 * manual/lang.texi: Likewise.
8353 * manual/llio.texi: Likewise.
8354 * manual/locale.texi: Likewise.
8355 * manual/message.texi: Likewise.
8356 * manual/resource.texi: Likewise.
8357 * manual/search.texi: Likewise.
8358 * manual/setjmp.texi: Likewise.
8359 * manual/stdio.texi: Likewise.
8360 * manual/string.texi: Likewise.
8361 * manual/sysinfo.texi: Likewise.
8362 * manual/time.texi: Likewise.
8364 2013-12-27 Carlos O'Donell <carlos@redhat.com>
8366 * po/sl.po: New file.
8368 2013-12-27 Mike Frysinger <vapier@gentoo.org>
8370 * .gitignore: Add core/.gdbinit/.gdb_history.
8372 2013-12-27 Allan McRae <allan@archlinux.org>
8375 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8376 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8378 2013-12-24 Brooks Moses <bmoses@google.com>
8380 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8381 all compilers that claim C++98 compliance, not just GCC.
8382 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8385 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8387 * NEWS: Restore accidentally deleted bug-fix entries.
8389 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8390 Ondřej Bílka <neleai@seznam.cz>
8393 * malloc/malloc.c (_int_free): Perform sanity check only if we
8396 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
8399 * manual/stdio.texi (String Input Conversions): Clarify that character
8400 classes are not supported.
8402 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8406 2013-12-22 Joseph Myers <joseph@codesourcery.com>
8409 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8410 Calculate results for small negative arguments directly rather
8411 than using reflection formula with special underflow handling.
8413 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8414 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8415 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8416 (fchflags): Likewise.
8418 (setlogin): Likewise.
8419 (sigaltstack): Likewise.
8422 (sigsetmask): Likewise.
8424 (waitpid): Likewise.
8425 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8426 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8428 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8429 * sysdeps/unix/bsd/Makefile: ... here.
8430 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8431 * sysdeps/unix/bsd/Versions: ... here.
8432 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8433 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8434 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8435 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8436 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8437 * sysdeps/unix/bsd/sigblock.c: ... here.
8438 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8439 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8440 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8441 * sysdeps/unix/bsd/sigvec.c: ... here.
8442 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8443 * sysdeps/unix/bsd/tcdrain.c: ... here.
8444 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8445 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8446 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8447 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8448 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8449 * sysdeps/unix/bsd/wait.c: ... here.
8450 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8451 * sysdeps/unix/bsd/wait3.c: ... here.
8452 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8453 * sysdeps/unix/bsd/waitpid.c: ... here.
8455 2013-12-21 Joseph Myers <joseph@codesourcery.com>
8458 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8459 round-to-nearest for [!USE_AS_EXPM1L].
8460 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8461 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8462 more tests of exp and exp10. Expect some exp10 tests to miss
8463 exceptions or fail in directed rounding modes.
8464 * math/auto-libm-test-out: Regenerated.
8465 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8466 (exp10_test_tonearest): New function.
8467 (exp10_towardzero_test_data): New array.
8468 (exp10_test_towardzero): New function.
8469 (exp10_downward_test_data): New array.
8470 (exp10_test_downward): New function.
8471 (exp10_upward_test_data): New array.
8472 (exp10_test_upward): New function.
8473 (main): Call the new functions.
8474 * sysdeps/i386/fpu/libm-test-ulps: Update.
8475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8477 2013-12-20 Joseph Myers <joseph@codesourcery.com>
8479 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8480 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8481 * math/auto-libm-test-out: Regenerated.
8482 * math/libm-test.inc (acosh_test_data): Add more tests.
8483 (atanh_test_data): Likewise.
8484 (ceil_test_data): Likewise.
8485 (copysign_test_data): Likewise.
8486 * sysdeps/i386/fpu/libm-test-ulps: Update.
8487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8489 * timezone/checktab.awk: Update from tzcode 2013i.
8490 * timezone/private.h: Likewise.
8491 * timezone/scheck.c: Likewise.
8492 * timezone/tzfile.h: Likewise.
8493 * timezone/tzselect.ksh: Likewise.
8494 * timezone/zdump.c: Likewise.
8495 * timezone/zic.c: Likewise.
8497 * math/auto-libm-test-in: Add tests of cpow.
8498 * math/auto-libm-test-out: Regenerated.
8499 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8500 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8502 (func_calc_desc): Add mpc_cc_c union field.
8503 (test_functions): Add cpow.
8504 (special_fill_2pi): New function.
8505 (special_real_inputs): Add 2pi.
8506 (calc_generic_results): Handle mpc_cc_c.
8507 * sysdeps/i386/fpu/libm-test-ulps: Update.
8508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8510 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8511 csqrt, ctan and ctanh.
8512 * math/auto-libm-test-out: Regenerated.
8513 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8514 (TEST_COND_x86): Likewise.
8515 (ccos_test_data): Use AUTO_TESTS_c_c.
8516 (ccosh_test_data): Likewise.
8517 (cexp_test_data): Likewise.
8518 (clog_test_data): Likewise.
8519 (csqrt_test_data): Likewise.
8520 (ctan_test_data): Likewise.
8521 (ctan_tonearest_test_data): Likewise.
8522 (ctan_towardzero_test_data): Likewise.
8523 (ctan_downward_test_data): Likewise.
8524 (ctan_upward_test_data): Likewise.
8525 (ctanh_test_data): Likewise.
8526 (ctanh_tonearest_test_data): Likewise.
8527 (ctanh_towardzero_test_data): Likewise.
8528 (ctanh_downward_test_data): Likewise.
8529 (ctanh_upward_test_data): Likewise.
8530 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8532 (func_calc_desc): Add mpc_c_c union field.
8533 (FUNC_mpc_c_c): New macro.
8534 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8535 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8537 (special_fill_min_subnorm_p120): New function.
8538 (special_real_inputs): Add min_subnorm_p120.
8539 (calc_generic_results): Handle mpc_c_c.
8540 * sysdeps/i386/fpu/libm-test-ulps: Update.
8541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8543 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8545 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8546 (do_sin_slow): New functions.
8547 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8548 (cslow2, csloww1, csloww2): Use the new functions.
8550 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8551 Use M to change sign of result instead of X. Assume X is
8553 (csloww1): Likewise.
8557 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8562 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8564 (sloww1): Don't adjust sign of DX.
8565 (csloww1): Likewise.
8566 (sloww2): Use X directly and don't adjust sign of DX.
8567 (csloww2): Likewise.
8569 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8571 * math/auto-libm-test-in: Add tests of cabs and carg.
8572 * math/auto-libm-test-out: Regenerated.
8573 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8574 (carg_test_data): Likewise.
8575 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8577 (func_calc_desc): Add mpc_c_f union field.
8578 (test_functions): Add cabs and carg.
8579 (calc_generic_results): Handle mpc_c_f.
8581 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8582 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8583 as a macro and a compat symbol.
8584 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8585 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8586 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8587 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8588 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8589 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8591 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8593 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8595 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8597 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8599 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8601 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8602 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8605 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8609 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8611 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8612 trailing whitespace removed.
8613 * scripts/config.guess: Update to version 2013-11-29.
8614 * scripts/config.sub: Update to version 2013-10-01.
8616 * math/auto-libm-test-in: Add tests of sincos.
8617 * math/auto-libm-test-out: Regenerated.
8618 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8619 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8621 (func_calc_desc): Add mpfr_f_11 union field.
8622 (test_functions): Add sincos.
8623 (calc_generic_results): Handle mpfr_f_11.
8624 * sysdeps/i386/fpu/libm-test-ulps: Update.
8625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8627 2013-12-19 Andreas Schwab <schwab@suse.de>
8629 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8631 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8632 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8633 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8635 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8637 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8638 * sysdeps/i386/fpu/libm-test-ulps: Update.
8639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8642 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8643 round-to-nearest mode when using frndint.
8644 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8645 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8646 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8648 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8650 * math/auto-libm-test-out: Regenerated.
8651 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8652 (TEST_COND_x86): Likewise.
8653 (expm1_tonearest_test_data): New array.
8654 (expm1_test_tonearest): New function.
8655 (expm1_towardzero_test_data): New array.
8656 (expm1_test_towardzero): New function.
8657 (expm1_downward_test_data): New array.
8658 (expm1_test_downward): New function.
8659 (expm1_upward_test_data): New array.
8660 (expm1_test_upward): New function.
8661 (main): Run the new test functions.
8662 * sysdeps/i386/fpu/libm-test-ulps: Update.
8663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8665 * include/features.h: Update comment documenting feature test
8666 macros. Mention _DEFAULT_SOURCE in comment.
8667 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8668 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8669 _BSD_SOURCE and _SVID_SOURCE.
8670 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8671 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8672 !_SVID_SOURCE]: Likewise.
8673 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8674 (__USE_POSIX_IMPLICITLY): Define.
8675 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8676 (_POSIX_SOURCE): Undefine and redefine.
8677 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8678 (_POSIX_C_SOURCE): Likewise.
8679 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8680 (Feature Test Macros): Update documentation of default features.
8682 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8684 * benchtests/Makefile: Add bench-strtok.
8685 * benchtests/bench-strtok.c: New file: strtok benchtest.
8687 2013-12-19 Allan McRae <allan@archlinux.org>
8689 * manual/install.texi: Suppress menu for plain text output.
8690 * INSTALL: Regenerated.
8692 2013-12-18 Brooks Moses <bmoses@google.com>
8695 * misc/getauxval.c: Include errno.h.
8696 (__getauxval): Set errno to ENOENT if the requested type is not
8698 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8699 don't declare with __attribute_const__.
8700 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8701 * manual/startup.texi: Document that getauxval sets errno.
8703 2013-12-18 Joseph Myers <joseph@codesourcery.com>
8705 * math/auto-libm-test-in: Add tests of jn and yn.
8706 * math/auto-libm-test-out: Regenerated.
8707 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8708 (yn_test_data): Likewise.
8709 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8711 (func_calc_desc): Add mpfr_if_f union field.
8712 (FUNC_mpfr_if_f): New macro.
8713 (test_functions): Add jn and yn.
8714 (calc_generic_results): Assert type of second input for
8715 mpfr_ff_f. Handle mpfr_if_f.
8716 (output_for_one_input_case): Disable all checking for arguments
8717 fitting floating-point types in case of an integer argument.
8718 * sysdeps/i386/fpu/libm-test-ulps: Update.
8719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8722 Don't expect fegetround reference in libm.so.
8724 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8726 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8727 $(config-cflags-nofma).
8729 2013-12-18 Joseph Myers <joseph@codesourcery.com>
8731 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8732 * math/auto-libm-test-out: Regenerated.
8735 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8736 to determine exponent and adjust argument to have exponent of -1.
8737 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8739 * math/auto-libm-test-out: Regenerated.
8740 * sysdeps/i386/fpu/libm-test-ulps: Update.
8741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8743 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
8745 * manual/probes.texi: Remove cases when per-thread arenas are
8748 2013-12-18 Andreas Schwab <schwab@suse.de>
8750 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8751 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8752 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8753 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8754 * sysdeps/i386/i686/multiarch/Makefile: Update.
8755 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8757 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8759 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8760 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8762 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8765 Support TZ transition times < 00:00:00.
8766 This is needed for version-3 tz-format files; it supports time
8767 stamps past 2037 for America/Godthab (the only entry in the tz
8768 database for which this change is relevant).
8769 * manual/time.texi (TZ Variable): Document transition times
8770 from -167:59:59 through -00:00:01.
8771 * time/tzset.c (tz_rule): Time of day is now signed.
8772 (__tzset_parse_tz): Parse negative time of day.
8774 Document TZ transition times >= 25:00:00.
8775 * manual/time.texi (TZ Variable): Document transition times from
8776 25:00:00 through 167:59:59. These are already supported, and this
8777 support will help with version-3 tz-format files.
8779 * manual/time.texi (TZ Variable): Modernize North America example
8780 to reflect current (i.e., 2007-and-later) daylight saving rules.
8782 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8784 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8786 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8787 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8788 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8789 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8790 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8791 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8792 * sysdeps/unix/bsd/clock.c: Likewise.
8793 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8794 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8795 * sysdeps/unix/bsd/init-posix.c: Likewise.
8796 * sysdeps/unix/bsd/poll.c: Likewise.
8797 * sysdeps/unix/bsd/ptsname.c: Likewise.
8798 * sysdeps/unix/bsd/seekdir.c: Likewise.
8799 * sysdeps/unix/bsd/setegid.c: Likewise.
8800 * sysdeps/unix/bsd/seteuid.c: Likewise.
8801 * sysdeps/unix/bsd/setgid.c: Likewise.
8802 * sysdeps/unix/bsd/setrgid.c: Likewise.
8803 * sysdeps/unix/bsd/setruid.c: Likewise.
8804 * sysdeps/unix/bsd/setsid.c: Likewise.
8805 * sysdeps/unix/bsd/setuid.c: Likewise.
8806 * sysdeps/unix/bsd/sigaction.c: Likewise.
8807 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8808 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8809 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8810 * sysdeps/unix/bsd/telldir.c: Likewise.
8811 * sysdeps/unix/bsd/times.c: Likewise.
8812 * sysdeps/unix/bsd/usleep.c: Likewise.
8814 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8815 ($(objpfx)libbsd-compat.a): Remove rule.
8817 * include/features.h (__FAVOR_BSD): Do not define.
8818 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8819 features conflicting with POSIX.
8820 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8821 (_BSD_SOURCE): Remove description of not being a subset of other
8822 feature test macros.
8823 * manual/job.texi (getpgrp): Do not document BSD version.
8824 (getpgid): Do not document by reference to BSD getpgrp.
8825 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8826 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8827 * signal/signal.h [__FAVOR_BSD]: Likewise.
8828 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8829 instead of making contents conditional on [__FAVOR_BSD].
8830 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8832 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8836 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8839 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8840 values below 2**-450, not 2**-500.
8841 * math/auto-libm-test-in: Don't allow spurious underflow from
8843 * math/auto-libm-test-out: Regenerated.
8847 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8848 values of ha and hb and sort them after adjusting subnormal
8850 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8852 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8853 values of ea and eb and sort them after adjusting subnormal
8855 * math/auto-libm-test-in: Do not expect some hypot tests of
8856 subnormals to fail. Add more hypot tests.
8857 * math/auto-libm-test-out: Regenerated.
8859 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8862 * sysdeps/sh/s_fma.c: New file.
8863 * sysdeps/sh/s_fmaf.c: New file.
8864 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8866 * sysdeps/sh/Implies: Add sh/soft-fp.
8868 2013-12-16 Roland McGrath <roland@hack.frob.com>
8870 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8871 level of indirection to members `objname', `errstring', `malloced'.
8872 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8873 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8874 it as the __longjmp argument (just pass 1 instead).
8875 (_dl_catch_error): Initialize C with argument pointers and address of
8876 volatile local ERRCODE rather than copying values out of C at return.
8878 2013-12-16 Joseph Myers <joseph@codesourcery.com>
8880 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8881 * math/auto-libm-test-out: Regenerated.
8882 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8883 (hypot_test_data): Likewise.
8884 (pow_test_data): Likewise.
8885 (pow_tonearest_test_data): Likewise.
8886 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8888 (func_calc_desc): Add mpfr_ff_f union field.
8889 (FUNC_mpfr_ff_f): New macro.
8890 (test_functions): Add atan2, hypot and pow.
8891 (special_fill_min): New function.
8892 (special_fill_minus_min): Likewise.
8893 (special_fill_min_subnorm): Likewise.
8894 (special_fill_minus_min_subnorm): Likewise.
8895 (special_real_inputs): Add min, -min, min_subnorm and
8897 (calc_generic_results): Handle mpfr_ff_f.
8898 * sysdeps/i386/fpu/libm-test-ulps: Update.
8899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8901 2013-12-16 Will Newton <will.newton@linaro.org>
8903 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8904 (Aligned Memory Blocks): Add documentation for aligned_alloc
8905 and suggest it as an alternative to posix_memalign.
8906 (Hooks for Malloc): Document __memalign_hook is also called
8907 for aligned_alloc. (Summary of Malloc): Add summary for
8908 aligned alloc. Document __memalign_hook is also called
8911 2013-12-16 Will Newton <will.newton@linaro.org>
8913 * manual/memory.texi (Malloc Examples): Clarify default
8914 alignment documentation. Suggest posix_memalign rather
8915 than memalign or valloc.
8916 (Aligned Memory Blocks): Remove suggestion to use memalign
8917 or valloc. Remove obsolete comment about BSD.
8918 Document memalign errno values and mark the function obsolete.
8919 Document posix_memalign returned error codes. Mark valloc
8920 as obsolete. (Hooks for Malloc): __memalign_hook is also
8921 called for posix_memalign and valloc.
8922 (Summary of Malloc): Add posix_memalign to function summary.
8923 __memalign_hook is also called for posix_memalign and valloc.
8925 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8927 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8931 (sloww): Use mynumber union. Expand ternary operator into
8933 (cslow): use mynumber union.
8935 2013-12-16 Allan McRae <allan@archlinux.org>
8937 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8938 * configure: Regenerated.
8940 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8943 * configure.ac: Added --enable-maintainer-mode. Check for
8944 autoconf when enabled.
8945 * configure: Regenerated.
8947 * nscd/nscd.service: New file.
8948 * nscd/nscd.tmpfiles: New file.
8950 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
8953 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8954 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8955 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8956 (strstr): Add __strstr_sse2_unaligned ifunc.
8957 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8958 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8959 (strcasestr): Remove __strcasestr_sse42 ifunc.
8960 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8964 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8966 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8967 * sysdeps/sh/bits/fenv.h: ... here.
8968 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8970 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8972 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8974 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8975 hypotf multiarch implementations.
8976 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8977 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8978 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8979 multiarch hypot for PPC64.
8980 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8981 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8982 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8983 multiarch hypotf for PPC64.
8985 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8986 modff multiarch implementations.
8987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8990 multiarch modf for PPC64.
8991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8994 multiarch modff for PPC64.
8996 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8997 and logl multiarch implementations.
8998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9001 multiarch logb for PPC64.
9002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9005 multiarch logb for PPC64.
9006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9009 multiarch logb for PPC64.
9011 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9012 isinff multiarch implementation.
9013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9017 multiarch isinf for PPC64.
9018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9021 multiarch isinff for PPC64.
9023 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9024 finitef multiarch implementation.
9025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9029 multiarch finite for PPC64.
9030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9033 multiarch finitef for PPC64.
9035 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9036 lrint multiarch implementation.
9037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9041 multiarch llrint for PPC64.
9042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9043 multiarch lrint for PPC64.
9045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9046 copysignf multiarch implementation.
9047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9052 multiarch copysign for PPC64.
9053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9054 multiarch copysignf for PPC64.
9056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9057 multiarch implementation.
9058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9066 multiarch llround for PPC64.
9067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9068 multiarch trunc for PPC64.
9069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9070 multiarch truncf for PPC64.
9072 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9073 multiarch implementation.
9074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9082 multiarch llround for PPC64.
9083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9084 multiarch round for PPC64.
9085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9086 multiarch roundf for PPC64.
9088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9089 multiarch implementation.
9090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9098 multiarch llround for PPC64.
9099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9100 multiarch floor for PPC64.
9101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9102 multiarch floorf for PPC64.
9104 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9105 multiarch implementation.
9106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9114 multiarch llround for PPC64.
9115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9116 multiarch ceil for PPC64.
9117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9118 multiarch ceilf for PPC64.
9120 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9121 multiarch implementation.
9122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9129 multiarch llround for PPC64.
9130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9131 multiarch lround for PPC64.
9133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9134 multiarch implementation.
9135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9142 multiarch isnan for PPC64.
9143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9144 multiarch isnanf for PPC64.
9146 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9147 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9148 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9149 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9150 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9153 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9154 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9155 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9156 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9159 multiarch implementations.
9160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9161 (__libc_ifunc_impl_list): Likewise.
9162 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9163 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9164 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9165 multiarch stpcpy for PPC64.
9167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9168 multiarch implementations.
9169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9170 (__libc_ifunc_impl_list): Likewise.
9171 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9172 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9173 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9174 multiarch strcpy for PPC64.
9176 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9177 redefine function name.
9178 (_wordcopy_fwd_dest_aligned): Likewise.
9179 (_wordcopy_bwd_aligned): Likewise.
9180 (_wordcopy_bwd_dest_aligned): Likewise.
9181 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9182 multiarch implementations.
9183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9184 (__libc_ifunc_impl_list): Likewise.
9185 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9186 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9187 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9188 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9189 multiarch wcscpy for PPC64.
9191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9192 multiarch implementations.
9193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9194 (__libc_ifunc_impl_list): Likewise.
9195 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9196 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9197 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9198 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9199 multiarch wcscpy for PPC64.
9201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9202 multiarch implementations.
9203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9204 (__libc_ifunc_impl_list): Likewise.
9205 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9206 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9207 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9208 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9209 multiarch wcsrchr for PPC64.
9211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9212 multiarch implementations.
9213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9214 (__libc_ifunc_impl_list): Likewise.
9215 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9216 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9217 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9218 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9219 multiarch wcschr for PPC64.
9221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9222 multiarch implementations.
9223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9224 (__libc_ifunc_impl_list): Likewise.
9225 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9226 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9227 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9228 multiarch strchrnul for PPC64.
9230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9233 (__libc_ifunc_impl_list): Likewise.
9234 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9235 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9236 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9237 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9243 (__libc_ifunc_impl_list): Likewise.
9244 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9245 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9246 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9247 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9251 multiarch implementations.
9252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9253 (__libc_ifunc_impl_list): Likewise.
9254 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9255 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9256 strncasecmp for PPC64.
9257 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9258 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9259 multiarch strncasecmp_l for PPC64.
9261 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9262 multiarch implementations.
9263 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9264 (__libc_ifunc_impl_list): Likewise.
9265 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9266 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9267 multiarch strcasecmp for PPC64.
9268 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9270 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9271 multiarch strcasecmp_l for PPC64.
9273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9276 (__libc_ifunc_impl_list): Likewise.
9277 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9278 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9279 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9285 (__libc_ifunc_impl_list): Likewise.
9286 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9287 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9288 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9294 (__libc_ifunc_impl_list): Likewise.
9295 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9296 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9297 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9298 rawmemrchr for PPC64.
9300 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9303 (__libc_ifunc_impl_list): Likewise.
9304 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9305 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9306 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9312 (__libc_ifunc_impl_list): Likewise.
9313 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9314 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9315 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9321 (__libc_ifunc_impl_list): Likewise.
9322 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9323 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9324 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9327 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9328 avoid cretion of __bzero symbol.
9329 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9331 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9333 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9336 multiarch implementations.
9337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9338 (__libc_ifunc_impl_list): Likewise.
9339 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9340 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9341 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9342 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9344 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9345 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9346 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9347 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9348 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9350 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9352 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9356 (__libc_ifunc_impl_list): Likewise.
9357 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9358 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9359 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9360 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9364 multiarch for POWER/PPC64.
9365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9366 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9367 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9368 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9369 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9370 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9371 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9372 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9373 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9376 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9377 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9378 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9379 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9380 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9381 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9382 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9383 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9384 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9385 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9386 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9387 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9388 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9389 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9390 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9399 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9401 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9403 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9405 * benchtests/Makefile (bench): Add exp2 and log2.
9406 (LDLIBS-bench-exp2): Add -lm.
9407 (LDLIBS-bench-log2): Likewise.
9408 * benchtests/exp2-inputs: New inputs file.
9409 * benchtests/log2-inputs: New inputs file.
9410 * benchtests/log-inputs: Add new inputs.
9411 * benchtests/tan-inputs: Likewise.
9413 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9415 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9417 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9418 (csloww2): ... from here.
9420 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9421 instead of structures.
9422 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9423 (POLYNOMIAL): Likewise.
9424 (TAYLOR_SLOW): Likewise.
9432 (bsloww1): Likewise.
9433 (bsloww2): Likewise.
9436 (csloww1): Likewise.
9437 (csloww2): Likewise.
9439 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
9441 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9442 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9443 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9444 * malloc/hooks.c (realloc_check): Likewise.
9446 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9447 * malloc/arena.c: Remove PER_THREAD conditional.
9448 [!PER_THREAD]: Remove code.
9449 (ptmalloc_unlock_all2): Likewise.
9450 (ptmalloc_init): Likewise.
9451 (_int_new_arena): Likewise.
9452 (arena_get2): Likewise.
9453 * malloc/hooks.c (__malloc_get_state): Likewise.
9454 (__malloc_set_state): Likewise.
9455 * malloc/malloc.c: Likewise.
9456 (struct malloc_state): Likewise.
9457 (struct malloc_par): Likewise.
9458 (__libc_realloc): Likewise.
9459 (__libc_mallopt): Likewise.
9461 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9463 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9465 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
9467 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9468 macro to a function. Check for zero perturb_byte.
9469 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9471 * malloc/malloc.c: (force_reg): Remove.
9472 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9473 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9474 force_reg by atomic_forced_read.
9475 * malloc/arena.c (ptmalloc_init): Likewise.
9476 * malloc/hooks.c (top_check): Likewise.
9478 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9482 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9486 2013-12-08 Joseph Myers <joseph@codesourcery.com>
9488 * math/auto-libm-test-in: Add tests of lgamma.
9489 * math/auto-libm-test-out: Regenerated.
9490 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9491 (M_LOG_2_SQRT_PIl): Likewise.
9492 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9493 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9495 (func_calc_desc): Add mpfr_f_f1 union field.
9504 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9505 (test_functions): Add lgamma.
9506 (calc_generic_results): Handle mpfr_f_f1.
9507 * sysdeps/i386/fpu/libm-test-ulps: Update.
9508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9510 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9512 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9513 __mpn_add_n for PowerPC64/POWER7.
9514 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9515 __mpn_sub_n for PowerPC64/POWER7.
9517 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9518 __mpn_addmul_1 for PowerPC64.
9519 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9520 __mpn_submul_1 for PowerPC64.
9521 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9523 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9526 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9529 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9531 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9533 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9535 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9536 add multiarch folders.
9537 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9538 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9539 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9540 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9541 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9542 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9543 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9544 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9545 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9546 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9547 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9556 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9562 multiarch __ieee754_hypot for PowerPC32.
9563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9568 multiarch __ieee754_hypotf for PowerPC32.
9570 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9571 long_double_symbol only if __logbl is defined.
9572 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9573 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9574 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9575 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9576 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9577 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9578 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9579 path for implementation.
9580 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9581 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9583 logb, and logbl multiarch implementations for PowerPC32.
9584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9589 multiarch logb for PowerPC32.
9590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9595 multiarch logbf for PowerPC32.
9596 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9600 multiarch logbl implementation for PowerPC32.
9602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9603 and modff multiarch implementations.
9604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9609 multiarch modf for PowerPC32.
9610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9615 multiarch modff for PowerPC32.
9617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9618 and lrintf multiarch implementations.
9619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9624 multiarch lrint for PowerPC32.
9625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9626 file: multiarch lrintf for PowerPC32.
9628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9629 and lroundf multiarch implementations.
9630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9637 multiarch lround for PowerPC32.
9638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9639 file: multiarch lroundf for PowerPC32.
9641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9642 copysign and copysignf multiarch implementations.
9643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9648 file: multiarch copysign for PowerPC32.
9649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9650 file: multiarch copysignf for PowerPC32.
9652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9653 and truncf multiarch implementations.
9654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9659 multiarch trunc for PowerPC32.
9660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9665 multiarch truncf for PowerPC32.
9667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9668 and roundf multiarch implementations.
9669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9674 multiarch round for PowerPC32.
9675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9680 multiarch roundf for PowerPC32.
9682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9683 and floorf multiarch implementations.
9684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9689 multiarch floor for PowerPC32.
9690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9695 multiarch floorf for PowerPC32.
9697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9698 and ceilf multiarch implementations.
9699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9704 multiarch ceil for PowerPC32.
9705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9710 multiarch ceilf for PowerPC32.
9712 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9714 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9717 and finitef multiarch implementations.
9718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9723 multiarch finite for PowerPC32.
9724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9727 file: multiarch finitef for PowerPC32.
9729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9730 and isinff multiarch implementations.
9731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9736 multiarch isinf for PowerPC32.
9737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9740 multiarch isinff for PowerPC32.
9742 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9743 alias when __isnan is defined.
9744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9745 and isnanf multiarch implementations.
9746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9755 multiarch isnan for PowerPC32.
9756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9761 multiarch isnanf for PowerPC32.
9763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9764 and sqrtf multiarch implementations.
9765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9770 multiarch sqrt for PowerPC32.
9771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9776 multiarch sqrtf for PowerPC32.
9778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9779 and llroundf multiarch implementations.
9780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9787 file: multiarch llround for PowerPC32.
9788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9789 file: multiarch llroundf for PowerPC32.
9791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9792 multiarch PowerPC32 fpu implementations.
9793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9798 multiarch llrint for PowerPC32.
9799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9808 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9810 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9812 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9814 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9815 multiarch wordcopy for PPC32.
9816 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9818 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9819 (__libc_ifunc_impl_list): Likewise.
9820 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9821 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9822 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9823 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9824 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9825 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9827 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9828 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9830 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9832 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9834 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9835 multiarch wcscpy for PPC32.
9836 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9838 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9839 (__libc_ifunc_impl_list): Likewise.
9840 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9841 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9842 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9843 sysdeps/powerpc/power6/wcscpy.c.
9845 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9846 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9848 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9850 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9852 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9853 multiarch wcsrchr for PPC32.
9854 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9856 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9857 (__libc_ifunc_impl_list): Likewise.
9858 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9859 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9860 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9861 sysdeps/powerpc/power6/wcsrchr.c.
9863 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9865 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9867 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9868 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9869 multiarch wcschr for PPc32.
9870 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9872 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9873 (__libc_ifunc_impl_list): Likewise.
9874 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9875 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9876 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9877 sysdeps/powerpc/power6/wcschr.c.
9879 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9880 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9882 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9883 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9884 file: multiarch strchr for PPC32.
9885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9888 (__libc_ifunc_impl_list): Likewise.
9890 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9892 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9894 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9896 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9897 multiarch strchrnul for PPC32.
9898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9901 (__libc_ifunc_impl_list): Likewise.
9903 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9905 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9906 multiarch strncasecmp for PPC32.
9907 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9909 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9910 multiarch strncasecmp_l for PPC32.
9911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9912 strncasecmp multiarch objects.
9913 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9914 (__libc_ifunc_impl_list): Likewise.
9916 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9918 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9919 multiarch strncasecmp for PPC32.
9920 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9922 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9923 multiarch strcasecmp_l for PPC32.
9924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9927 (__libc_ifunc_impl_list): Likewise.
9929 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9931 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9933 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9934 multiarch strncmp for PPC32.
9935 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9937 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9938 (__libc_ifunc_impl_list): Likewise.
9940 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9941 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9943 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9944 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9948 (__libc_ifunc_impl_list): Likewise.
9950 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9952 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9954 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9955 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9958 (__libc_ifunc_impl_list): Likewise.
9960 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9962 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9964 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9965 multiarch rawmemchr for PPC32.
9966 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9968 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9969 (__libc_ifunc_impl_list): Likewise.
9971 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9973 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9975 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9976 file: memrchr multiarch for PPC32.
9977 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9979 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9980 (__libc_ifunc_impl_list): Likewise.
9982 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9983 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9985 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9986 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9987 multiarch memchr for PPC32.
9988 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9990 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9991 (__libc_ifunc_impl_list): Likewise.
9993 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9994 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9996 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9998 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9999 file: multiarch mempcpy for PPC32.
10000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10003 (__libc_ifunc_impl_list): Likewise.
10005 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10006 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10007 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10008 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10009 multiarch bzero for PPC32.
10010 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10012 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10014 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10015 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10016 file: multiarch memset for PPC32.
10017 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10019 memset multiarch objects.
10020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10021 (__libc_ifunc_impl_list): Likewise.
10023 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10025 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10026 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10028 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10029 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10031 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10032 (__libc_ifunc_impl_list): Likewise.
10034 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10035 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10036 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10038 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10040 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10042 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10043 multiarch memcpy for PPC32.
10044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10047 (__libc_ifunc_impl_list): Likewise.
10049 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10050 support multiarch for POWER/PPC32.
10051 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10053 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10055 Implies file to make multiarch folder appers before the fpu and
10056 default folder for power4 configuration.
10058 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10060 * scripts/bench.pl: Append volatile keyword to type.
10062 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10064 * sysdeps/sh/sotruss-lib.c: New file.
10065 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10067 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10071 2013-12-05 Joseph Myers <joseph@codesourcery.com>
10074 * math/w_tgamma.c: Include <errno.h>.
10075 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10076 * math/w_tgammaf.c: Include <errno.h>.
10077 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10078 * math/w_tgammal.c: Include <errno.h>.
10079 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10080 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10081 underflow. Add more tgamma tests.
10082 * math/auto-libm-test-out: Regenerated.
10083 * sysdeps/i386/fpu/libm-test-ulps: Update.
10084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10086 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10087 sin, sinh, tan, tanh, tgamma, y0 and y1.
10088 * math/auto-libm-test-out: Regenerated.
10089 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10090 (TEST_COND_x86): Likewise.
10091 (M_E2l): Remove macro.
10093 (M_2_SQRT_PIl): Likewise.
10094 (M_SQRT_PIl): Likewise.
10095 (M_1_DIV_El): Likewise.
10096 (log_test_data): Use AUTO_TESTS_f_f.
10097 (log10_test_data): Likewise.
10098 (log1p_test_data): Likewise.
10099 (log2_test_data): Likewise.
10100 (sin_test_data): Likewise.
10101 (sin_tonearest_test_data): Likewise.
10102 (sin_towardzero_test_data): Likewise.
10103 (sin_downward_test_data): Likewise.
10104 (sin_upward_test_data): Likewise.
10105 (sinh_test_data): Likewise.
10106 (sinh_tonearest_test_data): Likewise.
10107 (sinh_towardzero_test_data): Likewise.
10108 (sinh_downward_test_data): Likewise.
10109 (sinh_upward_test_data): Likewise.
10110 (tan_test_data): Likewise.
10111 (tan_tonearest_test_data): Likewise.
10112 (tan_towardzero_test_data): Likewise.
10113 (tan_downward_test_data): Likewise.
10114 (tan_upward_test_data): Likewise.
10115 (tanh_test_data): Likewise.
10116 (tgamma_test_data): Likewise.
10117 (y0_test_data): Likewise.
10118 (y1_test_data): Likewise.
10119 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10120 (special_real_inputs): Add pi/4.
10121 * sysdeps/i386/fpu/libm-test-ulps: Update.
10122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10124 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10126 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10127 "longjmp_target" static probes.
10128 (__longjmp): Rename to __longjmp_symbol.
10129 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10130 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10131 on which longjmp to generate.
10132 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10133 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10135 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10136 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10137 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10138 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10139 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10140 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10142 __longjmp_symbol based on which __longjmp to generate.
10143 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10145 (setjmp): Rename to setjmp_symbol.
10146 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10147 (_setjmp): Rename to _setjmp_symbol.
10148 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10149 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10150 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10151 which setjmp to generate.
10152 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10153 "longjmp_target" static probes.
10155 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10157 * benchtests/README: Add note about output arguments.
10158 * benchtests/bench-sincos.c: Remove file.
10159 * benchtests/sincos-inputs: New file.
10160 * scripts/bench.pl: Identify output arguments and define
10161 static variables for them.
10163 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10166 * Makefile (INSTALL): Add install-plain.texi as the primary
10168 * manual/install-plain.texi: New file.
10169 * manual/install.texi: Include node directive only for
10170 non-plaintext output.
10172 2013-12-04 Joseph Myers <joseph@codesourcery.com>
10174 * stdlib/longlong.h: Update from GCC.
10178 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10179 * math/w_j0f.c (y0f): Likewise.
10180 * math/w_j0l.c (__y0l): Likewise.
10181 * math/w_j1.c (y1): Likewise.
10182 * math/w_j1f.c (y1f): Likewise.
10183 * math/w_j1l.c (__y1l): Likewise
10184 * math/w_jn.c (yn): Likewise.
10185 * math/w_jnf.c (ynf): Likewise.
10186 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10187 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10188 value for Bessel function domain errors outside _SVID_ mode.
10189 Adjust sign of return value for yn (negative integer, 0).
10190 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10191 by zero in return for negative x and set sign appropriately for
10193 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10194 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10195 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10196 expectations in error cases.
10197 (y1_test_data): Likewise.
10198 (yn_test_data): Likewise.
10199 * sysdeps/i386/fpu/libm-test-ulps: Update.
10200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10202 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10204 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10205 "64" to "64-v1". Add "64-v2".
10206 (abi-64-options): Rename to ...
10207 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10208 (abi-64-condition): Rename to ...
10209 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10210 (abi-64-ld-soname): Rename to ...
10211 (abi-64-v1-ld-soname): ... this.
10212 (abi-64-v2-options): Define.
10213 (abi-64-v2-condition): Likewise.
10214 (abi-64-v2-ld-soname): Likewise.
10215 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10216 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10221 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10222 Alan Modra <amodra@gmail.com>
10224 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10225 New versions for use with the ELFv2 ABI.
10226 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10227 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10229 (struct La_ppc64v2_retval): Likewise.
10230 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10231 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10232 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10233 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10234 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10235 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10236 Do not save or restore CR.
10237 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10238 (_dl_profile_resolve): Do no save or restore CR. Support extended
10239 return values for ELFv2 ABI. Fix location of FPR return registers.
10240 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10241 updated values for _CALL_ELF == 2.
10242 (La_regs, La_retval, int_retval): Likewise.
10244 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10246 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10247 (FRAME_MIN_SIZE_PARM): Likewise.
10248 (FRAME_BACKCHAIN): Likewise.
10249 (FRAME_CR_SAVE): Likewise.
10250 (FRAME_LR_SAVE): Likewise.
10251 (FRAME_TOC_SAVE): Likewise.
10252 (FRAME_PARM_SAVE): Likewise.
10253 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10254 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10255 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10256 (call_mcount_parm_offset): New macro.
10257 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10258 (PROF): Use symbolic stack frame offsets.
10259 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10260 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10261 Redefine in terms of FRAME_MIN_SIZE.
10262 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10263 (_dl_profile_resolve): Likewise. Update comment.
10264 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10265 symbols stack frame offsets.
10266 (__sigsetjmp): Likewise.
10267 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10268 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10269 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10270 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10273 (FRAME_BACKCHAIN): Remove.
10274 (FRAME_CR_SAVE): Likewise.
10275 (FRAME_LR_SAVE): Likewise.
10276 (FRAME_COMPILER_DW): Likewise.
10277 (FRAME_LINKER_DW): Likewise.
10278 (FRAME_TOC_SAVE): Likewise.
10279 (FRAME_PARM_SAVE): Likewise.
10280 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10281 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10282 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10284 (CHECK_SP): Use symbolic stack frame offsets.
10285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10286 zone" instead of caller's parameter save area for temp storage.
10287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10288 Likewise. Also, use symbolic stack frame offsets.
10289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10290 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10291 our own stack frame instead of the caller's.
10292 (__socket): Use symbolic stack frame offsets.
10294 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10295 Alan Modra <amodra@gmail.com>
10297 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10299 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10300 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10301 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10303 (elf_machine_fixup_plt): Call it.
10304 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10306 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10307 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10308 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10309 r2 before calling target.
10311 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10312 Alan Modra <amodra@gmail.com>
10314 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10315 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10316 versions of macros to support ELFv2 ABI.
10317 (LOCALENTRY): New macro.
10318 (ENTRY, EALIGN): Use it.
10319 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10320 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10321 fall through into ENTRY entry point.
10322 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10323 Only define if _CALL_ELF != 2.
10325 (elf_machine_matches_host): Verify ABI version matches.
10326 (RTLD_START): Use LOCALENTRY.
10327 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10328 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10329 (PLT_ENTRY_WORDS): New macro.
10330 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10331 (elf_machine_runtime_setup): Support ELFv2 ABI.
10332 (elf_machine_fixup_plt): Likewise.
10333 (elf_machine_plt_conflict): Likewise.
10334 (resolve_ifunc): Likewise.
10335 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10336 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10339 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10341 (makecontext): Support ELFv2 ABI.
10342 * elf/elf.h (EF_PPC64_ABI): Define.
10344 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10346 * sysdeps/powerpc/powerpc64/sysdep.h
10347 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10348 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10349 (ENTRY) [ASSEMBLER]: ... but instead here ...
10350 (EALIGN) [ASSEMBLER]: ... and here.
10351 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10352 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10353 (ENTRY_2) [!ASSEMBLER]: Use it.
10354 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10355 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
10356 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10357 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10358 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10360 Use PPC64_LOAD_FUNCPTR.
10362 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10364 2013-12-04 Alan Modra <amodra@gmail.com>
10366 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10367 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10368 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10369 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10371 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10372 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10373 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10374 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10375 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10376 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10378 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10381 (__makecontext): Fix incorrect CFI when backtracing out of
10382 context created via makecontext.
10383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10384 (__setcontext): Fix incorrect CFI during switch to new context.
10385 (__novec_setcontext): Likewise.
10387 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10390 * time/strptime_l.c (__strptime_internal): Allow modifiers
10392 * time/tst-strptime.c (day_tests): Add testcase.
10394 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10396 * scripts/bench.pl: Skip over blank lines.
10398 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10401 * manual/time.texi (Calendar Time): Clarify what timezone functions
10404 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10408 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10410 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10412 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10413 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10414 * debug/memset_chk.c (__memset_chk): Likewise.
10415 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10416 * debug/strncpy_chk.c: Likewise.
10418 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10422 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10423 (__ieee754_exp): For possibly underflowing results, check size of
10424 result and force underflow exception if required.
10425 * math/auto-libm-test-in: Add more tests of exp.
10426 * math/auto-libm-test-out: Regenerated.
10427 * sysdeps/i386/fpu/libm-test-ulps: Update.
10428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10431 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10432 * math/w_exp2f.c (__exp2f): Likewise.
10433 * math/w_exp2l.c (__exp2l): Likewise.
10434 * math/auto-libm-test-in: Do not allow missing errno on exp2
10436 * math/auto-libm-test-out: Regenerated.
10438 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
10441 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10442 handle filename validation.
10443 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10446 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10449 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10450 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10451 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10453 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10454 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10455 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10456 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10457 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10458 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10459 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10460 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10461 Add more erfc tests.
10462 * math/auto-libm-test-out: Regenerated.
10463 * sysdeps/i386/fpu/libm-test-ulps: Update.
10464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10466 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10467 exp2, expm1, j0 and j1.
10468 * math/auto-libm-test-out: Regenerated.
10469 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10470 (erfc_test_data): Likewise.
10471 (exp_test_data): Likewise.
10472 (exp_tonearest_test_data): Likewise.
10473 (exp_towardzero_test_data): Likewise.
10474 (exp_downward_test_data): Likewise.
10475 (exp_upward_test_data): Likewise.
10476 (exp10_test_data): Likewise.
10477 (exp2_test_data): Likewise.
10478 (expm1_test_data): Likewise.
10479 (j0_test_data): Likewise.
10480 (j1_test_data): Likewise.
10481 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10482 (input_flag_type): Add flag_xfail_rounding.
10483 (input_flags): Add xfail-rounding.
10484 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10485 (output_for_one_input_case): Handle flag_xfail_rounding.
10486 * sysdeps/i386/fpu/libm-test-ulps: Update.
10487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10489 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10492 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10495 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10498 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10499 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10500 (STAP_PROBE0): New macro.
10501 (STAP_PROBE1): Likewise.
10502 (STAP_PROBE2): Likewise.
10503 (STAP_PROBE3): Likewise.
10504 (STAP_PROBE4): Likewise.
10506 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
10508 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10510 2013-12-02 Steve Ellcey <sellcey@mips.com>
10512 * benchtests/Makefile (bench): Add sqrt.
10513 (LDLIBS-bench-sqrt): New.
10514 * benchtests/sqrt-input: New.
10516 2013-12-02 Pavel Simerda <psimerda@redhat.com>
10518 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10519 (GAIH_EAI): Likewise.
10520 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10521 (gaih_inet): Likewise.
10522 (getaddrinfo): Don't use GAIH_EAI.
10524 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10525 (struct gaih): Remove definition.
10527 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10529 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10530 Use HERRNOP directly.
10532 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10536 2013-11-30 Joseph Myers <joseph@codesourcery.com>
10538 * math/gen-auto-libm-tests.c (test_functions): Add more
10539 single-argument functions.
10540 (special_fill_pi_2): New function.
10541 (special_fill_minus_pi_2): Likewise.
10542 (special_fill_pi_6): Likewise.
10543 (special_fill_minus_pi_6): Likewise.
10544 (special_fill_pi_3): Likewise.
10545 (special_fill_2pi_3): Likewise.
10546 (special_fill_e): Likewise.
10547 (special_fill_1_e): Likewise.
10548 (special_fill_e_minus_1): Likewise.
10549 (special_real_inputs): Add more special inputs.
10550 (output_for_one_input_case): Do not require ERANGE on underflow to
10551 zero if round-to-nearest result does not underflow to zero, unless
10552 exact results required.
10553 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10554 atan, atanh, cbrt, cos and cosh.
10555 * math/auto-libm-test-out: Regenerated.
10556 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10557 (acos_tonearest_test_data): Likewise.
10558 (acos_towardzero_test_data): Likewise.
10559 (acos_downward_test_data): Likewise.
10560 (acos_upward_test_data): Likewise.
10561 (acosh_test_data): Likewise.
10562 (asin_test_data): Likewise.
10563 (asin_tonearest_test_data): Likewise.
10564 (asin_towardzero_test_data): Likewise.
10565 (asin_upward_test_data): Likewise.
10566 (asinh_test_data): Likewise.
10567 (atan_test_data): Likewise.
10568 (atanh_test_data): Likewise.
10569 (cbrt_test_data): Likewise.
10570 (cos_test_data): Likewise.
10571 (cos_tonearest_test_data): Likewise.
10572 (cos_towardzero_test_data): Likewise.
10573 (cos_downward_test_data): Likewise.
10574 (cos_upward_test_data): Likewise.
10575 (cosh_test_data): Likewise.
10576 (cosh_tonearest_test_data): Likewise.
10577 (cosh_towardzero_test_data): Likewise.
10578 (cosh_downward_test_data): Likewise.
10579 (cosh_upward_test_data): Likewise.
10580 * sysdeps/i386/fpu/libm-test-ulps: Update.
10581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10583 2013-11-29 Joseph Myers <joseph@codesourcery.com>
10586 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10587 * math/w_exp10f.c (__exp10f): Likewise.
10588 * math/w_exp10l.c (__exp10l): Likewise.
10589 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10590 errno settings in existing tests.
10593 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10594 precision control set to double precision.
10595 * sysdeps/i386/fpu/w_sqrt.c: New file.
10596 * math/auto-libm-test-in: Add more tests.
10597 * math/auto-libm-test-out: Update.
10599 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10600 (sqrt_test_tonearest): New function.
10601 (sqrt_towardzero_test_data): New variable.
10602 (sqrt_test_towardzero): New function.
10603 (sqrt_downward_test_data): New variable.
10604 (sqrt_test_downward): New function.
10605 (sqrt_upward_test_data): New variable.
10606 (sqrt_test_upward): New function.
10607 (main): Call the new functions.
10609 * math/gen-auto-libm-tests.c: New file.
10610 * math/auto-libm-test-in: Likewise.
10611 * math/auto-libm-test-out: New generated file.
10612 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10614 (%beautify): Add generated representations of zero.
10615 (top level): Set $auto_input and call parse_auto_input.
10616 (beautify): Remove trailing "f" from hex float constants.
10617 (parse_args): Handle XFAIL_TEST.
10618 (convert_condition): New function.
10619 (or_value): Likewise.
10620 (or_cond_value): Likewise.
10621 (generate_testfile): Handle AUTO_TESTS_* lines.
10622 (parse_auto_input): New function.
10623 * math/libm-test.inc (XFAIL_TEST): New macro.
10624 (ERRNO_UNCHANGED): Update value.
10625 (ERRNO_EDOM): Likewise.
10626 (ERRNO_ERANGE): Likewise.
10627 (IGNORE_RESULT): Likewise.
10628 (TEST_COND_flt_32): New macro.
10629 (TEST_COND_dbl_64): Likewise.
10630 (TEST_COND_ldbl_96_intel): Likewise.
10631 (TEST_COND_ldbl_96_m68k): Likewise.
10632 (TEST_COND_ldbl_128): Likewise.
10633 (TEST_COND_ldbl_128ibm): Likewise.
10634 (TEST_COND_long32): Likewise.
10635 (TEST_COND_long64): Likewise.
10636 (TEST_COND_before_rounding): Likewise.
10637 (TEST_COND_after_rounding): Likewise.
10638 (enable_test): Handle XFAIL_TEST flag.
10639 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10640 with finite results.
10641 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10642 auto-libm-test-out.
10644 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10645 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10648 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10649 __tls_get_addr_internal instead of __tls_get_offset in order to
10650 avoid GOT pointer dependency. Make rtld export
10651 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10652 __tls_get_addr since we are a __tls_get_offset platform.
10653 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10654 GOT pointer being set up before.
10655 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10657 2013-11-28 Joseph Myers <joseph@codesourcery.com>
10659 * manual/math.texi (Errors in Math Functions): Document accuracy
10663 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10664 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10665 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10666 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10667 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10668 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10669 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10670 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10671 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10672 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10673 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10674 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10675 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10676 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10677 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10678 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10680 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10681 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10682 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10683 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10684 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10686 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10688 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10690 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10691 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10692 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10693 atomic-feupdateenv and flt-rounds.
10694 * sysdeps/powerpc/nofpu/Versions (libc): Add
10695 __atomic_feholdexcept, __atomic_feclearexcept,
10696 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10697 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10698 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10699 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10700 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10705 * manual/arith.texi (FP Exceptions): Document that exceptions may
10706 not be raised when matherr is used.
10707 (Math Error Reporting): Document overflow in directed rounding
10708 modes. Document that errno may not be set when finite values are
10709 returned on overflow. Document intent to set errno on underflow
10710 only for underflow to zero.
10713 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10714 round-to-nearest then adjust result for other rounding modes.
10715 * include/fenv.h (fegetround): Use libm_hidden_proto.
10716 * math/fegetround.c (fegetround): Use libm_hidden_def.
10717 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10718 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10719 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10720 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10722 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10723 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10724 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10725 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10727 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10730 * nss/Versions (libnss_files): Add
10731 _nss_files_gethostbyname3_r.
10732 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10734 (HOST_DB_LOOKUP): Remove macro.
10735 (_nss_files_gethostbyname_r): Implement function without the
10736 HOST_DB_LOOKUP macro.
10737 (_nss_files_gethostbyname2_r): Likewise.
10739 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
10741 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10743 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
10745 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10746 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10749 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10751 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10752 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10753 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10754 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10755 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10756 __fe_nomask_env_priv and attribute_hidden.
10757 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10758 (libc_feupdateenv_test_ppc): Likewise.
10759 (libc_feresetround_ppc): Likewise.
10760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10761 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10762 compat_symbol macro.
10763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10764 (__fe_nomask_env): Likewise.
10765 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10767 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10769 * string/Makefile: Remove ifunc tests.
10770 * string/test-string.h: Define TEST_IFUNC.
10771 * string/test-bcopy-ifunc.c: Remove.
10772 * string/test-bzero-ifunc.c: Likewise.
10773 * string/test-memccpy-ifunc.c: Likewise.
10774 * string/test-memchr-ifunc.c: Likewise.
10775 * string/test-memcmp-ifunc.c: Likewise.
10776 * string/test-memcpy-ifunc.c: Likewise.
10777 * string/test-memmem-ifunc.c: Likewise.
10778 * string/test-memmove-ifunc.c: Likewise.
10779 * string/test-mempcpy-ifunc.c: Likewise.
10780 * string/test-memrchr-ifunc.c: Likewise.
10781 * string/test-memset-ifunc.c: Likewise.
10782 * string/test-rawmemchr-ifunc.c: Likewise.
10783 * string/test-stpcpy-ifunc.c: Likewise.
10784 * string/test-stpncpy-ifunc.c: Likewise.
10785 * string/test-strcasecmp-ifunc.c: Likewise.
10786 * string/test-strcasestr-ifunc.c: Likewise.
10787 * string/test-strcat-ifunc.c: Likewise.
10788 * string/test-strchr-ifunc.c: Likewise.
10789 * string/test-strchrnul-ifunc.c: Likewise.
10790 * string/test-strcmp-ifunc.c: Likewise.
10791 * string/test-strcpy-ifunc.c: Likewise.
10792 * string/test-strcspn-ifunc.c: Likewise.
10793 * string/test-strlen-ifunc.c: Likewise.
10794 * string/test-strncasecmp-ifunc.c: Likewise.
10795 * string/test-strncat-ifunc.c: Likewise.
10796 * string/test-strncmp-ifunc.c: Likewise.
10797 * string/test-strncpy-ifunc.c: Likewise.
10798 * string/test-strnlen-ifunc.c: Likewise.
10799 * string/test-strpbrk-ifunc.c: Likewise.
10800 * string/test-strrchr-ifunc.c: Likewise.
10801 * string/test-strspn-ifunc.c: Likewise.
10802 * string/test-strstr-ifunc.c: Likewise.
10804 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10806 * benchtests/Makefile: Remove ifunc tests.
10807 * benchtests/bench-string.h: Define TEST_IFUNC.
10808 * benchtests/bench-bcopy-ifunc.c: Remove.
10809 * benchtests/bench-bzero-ifunc.c: Likewise.
10810 * benchtests/bench-memccpy-ifunc.c: Likewise.
10811 * benchtests/bench-memchr-ifunc.c: Likewise.
10812 * benchtests/bench-memcmp-ifunc.c: Likewise.
10813 * benchtests/bench-memcpy-ifunc.c: Likewise.
10814 * benchtests/bench-memmem-ifunc.c: Likewise.
10815 * benchtests/bench-memmove-ifunc.c: Likewise.
10816 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10817 * benchtests/bench-memrchr-ifunc.c: Likewise.
10818 * benchtests/bench-memset-ifunc.c: Likewise.
10819 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10820 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10821 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10822 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10823 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10824 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10825 * benchtests/bench-strcat-ifunc.c: Likewise.
10826 * benchtests/bench-strchr-ifunc.c: Likewise.
10827 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10828 * benchtests/bench-strcmp-ifunc.c: Likewise.
10829 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10830 * benchtests/bench-strcpy-ifunc.c: Likewise.
10831 * benchtests/bench-strcspn-ifunc.c: Likewise.
10832 * benchtests/bench-strlen-ifunc.c: Likewise.
10833 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10834 * benchtests/bench-strncat-ifunc.c: Likewise.
10835 * benchtests/bench-strncmp-ifunc.c: Likewise.
10836 * benchtests/bench-strncpy-ifunc.c: Likewise.
10837 * benchtests/bench-strnlen-ifunc.c: Likewise.
10838 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10839 * benchtests/bench-strrchr-ifunc.c: Likewise.
10840 * benchtests/bench-strsep-ifunc.c: Likewise.
10841 * benchtests/bench-strspn-ifunc.c: Likewise.
10842 * benchtests/bench-strstr-ifunc.c: Likewise.
10844 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10846 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10848 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10850 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10851 * rt/aio.h: Likewise.
10852 * sysdeps/gnu/bits/utmp.h: Likewise.
10853 * sysdeps/gnu/bits/utmpx.h: Likewise.
10854 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10855 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10856 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10857 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10858 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10859 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10860 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10861 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10862 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10863 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10864 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10865 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10866 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10868 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10869 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10870 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10871 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10872 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10873 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10874 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10875 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10876 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10877 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10878 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10880 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10881 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10882 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10883 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10884 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10885 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10886 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10887 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10888 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10889 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10890 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10891 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10892 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10893 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10894 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10895 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10897 2013-11-25 Carlos O'Donell <carlos@redhat.com>
10900 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10901 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10903 2013-11-25 Joseph Myers <joseph@codesourcery.com>
10905 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10906 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10909 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10911 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10912 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10913 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10914 (__fesetround): Remove define.
10915 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10916 rounding and exceptions handling.
10917 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10918 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10919 (__fe_nomask_env): Likewise.
10920 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10921 __fegetround instead of fegetround.
10922 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10923 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10925 2013-11-21 Roland McGrath <roland@hack.frob.com>
10927 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10930 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10932 2013-11-21 Meador Inge <meadori@codesourcery.com>
10935 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10936 (encrypt_r): Likewise.
10937 * malloc/obstack.h (obstack_free): Likewise.
10938 * posix/unistd.h (encrypt): Likewise.
10940 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10942 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10943 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10944 DL_CALL_DT_FINI() that call the functions directly.
10945 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10946 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10947 * elf/dl-fini.c: Likewise.
10949 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
10951 * malloc/hooks.c (memalign_check): Add alignment rounding.
10952 * malloc/malloc.c (_mid_memalign): New function.
10953 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10954 Implement by calling _mid_memalign.
10955 * manual/probes.texi (Memory Allocation Probes): Remove
10956 memory_valloc_retry and memory_pvalloc_retry.
10958 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10960 * locale/programs/locarchive.c (open_archive): Add const
10961 qualifier to ARCHIVEFNAME and copy default fname to
10965 * libio/tst-widetext.input: Rename Oriya to Odia.
10966 * locale/iso-639.def: Likewise.
10968 * manual/probes.texi (Mathematical Function Probes): Add
10969 documentation for sin, cos, asin and acos probes.
10970 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10971 (__sin32): Add slowasin probe.
10972 (__cos32): Add slowacos probe.
10973 (__mpsin): Add slowsin probe.
10974 (__mpcos): Add slowcos probe.
10976 2013-11-19 Joseph Myers <joseph@codesourcery.com>
10979 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10980 thread-local __sim_exceptions_thread and global
10981 __sim_exceptions_global.
10982 (__sim_disabled_exceptions): Change to thread-local
10983 __sim_disabled_exceptions_thread and global
10984 __sim_disabled_exceptions_global.
10985 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10986 and global __sim_round_mode_global.
10987 (__simulate_exceptions): Use thread-local floating-point state and
10988 set global state from it as needed.
10989 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10990 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10991 __sim_round_mode_thread.
10992 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10993 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10994 and global __sim_exceptions_global.
10995 (__sim_disabled_exceptions): Change to thread-local
10996 __sim_disabled_exceptions_thread and global
10997 __sim_disabled_exceptions_global.
10998 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10999 and global __sim_round_mode_global.
11000 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11001 (SIM_SET_GLOBAL): Likewise.
11002 * sysdeps/powerpc/soft-fp/sfp-machine.h
11003 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11004 __sim_round_mode_thread.
11005 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11006 __sim_disabled_exceptions_thread.
11007 (__sim_exceptions): Change to __sim_exceptions_thread.
11008 (__sim_disabled_exceptions): Change to
11009 __sim_disabled_exceptions_thread.
11010 (__sim_round_mode): Change to __sim_round_mode_thread.
11011 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11012 thread-local floating-point state and set global state from it as
11014 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11015 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11016 (__sim_disabled_exceptions): Remove extern declaration.
11017 (feenableexcept): Use thread-local floating-point state and set
11018 global state from it as needed.
11019 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11020 extern declaration.
11021 (__sim_disabled_exceptions): Likewise.
11022 (__sim_round_mode): Likewise.
11023 (__fegetenv): Use thread-local floating-point state.
11024 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11025 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11026 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11027 floating-point state and set global state from it as needed.
11028 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11029 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11030 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11032 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11033 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11035 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11036 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11037 Use __sim_round_mode_thread.
11038 * math/test-fenv-tls.c: New file.
11039 * math/Makefile (tests): Add test-fenv-tls.
11040 ($(objpfx)test-fenv-tls): Depend on
11041 $(common-objpfx)nptl/libpthread.so.
11043 2013-11-19 Andreas Schwab <schwab@suse.de>
11045 * locale/programs/locale.c (show_info): Decode wordarray elements.
11046 * locale/categories.def (LC_MONETARY): Add element for
11047 _NL_MONETARY_CRNCYSTR.
11048 * locale/C-monetary.c (conversion_rate): New variable.
11049 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11052 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11054 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11055 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11057 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11059 * elf/Makefile (tst-auxv): New test.
11060 * elf/tst-auxv.c: New
11061 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11063 2013-11-18 Joseph Myers <joseph@codesourcery.com>
11065 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11066 (hidden_proto): Caller changed.
11067 (hidden_tls_proto): New macro.
11068 (libc_hidden_tls_proto): Likewise.
11069 (rtld_hidden_tls_proto): Likewise.
11070 (libm_hidden_tls_proto): Likewise.
11071 (libresolv_hidden_tls_proto): Likewise.
11072 (librt_hidden_tls_proto): Likewise.
11073 (libdl_hidden_tls_proto): Likewise.
11074 (libnss_files_hidden_tls_proto): Likewise.
11075 (libnsl_hidden_tls_proto): Likewise.
11076 (libnss_nisplus_hidden_tls_proto): Likewise.
11077 (libutil_hidden_tls_proto): Likewise.
11079 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
11082 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11083 (decompose_rpath): Defer expansion to fillin_rpath.
11084 (_dl_init_paths): Pass linkmap to fillin_rpath.
11086 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11088 * benchtests/Makefile: Add strsep.
11089 * benchtests/bench-strsep.c: New file: strsep benchtest.
11090 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11092 2013-11-18 Andreas Schwab <schwab@suse.de>
11094 * locale/programs/locale.c (show_info) [case byte]: Check for
11095 '\377' instead of '\177'.
11096 * locale/C-monetary.c (not_available): Always use "\377".
11097 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11098 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11099 detect unavailable sign_posn locale elements.
11100 * locale/localeconv.c (__localeconv): For grouping and
11101 mon_grouping handle "\177" and "\377" like no grouping.
11102 (INT_ELEM): New macro. Use it to set all numeric members.
11103 * locale/programs/ld-monetary.c (monetary_read)
11104 <tok_mon_grouping>: Normalize single -1 to the empty string.
11105 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11108 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11111 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11112 when we match (nil).
11113 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11115 2013-11-16 Joseph Myers <joseph@codesourcery.com>
11117 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11118 (NO_TEST_INLINE): Update value.
11119 (ERRNO_UNCHANGED): Likewise.
11120 (ERRNO_EDOM): Likewise.
11121 (ERRNO_ERANGE): Likewise.
11122 (IGNORE_RESULT): Likewise.
11123 (check_float_internal): Check signs of NaN results if
11124 TEST_NAN_SIGN used.
11125 (check_complex): Pass TEST_NAN_SIGN flag through to second
11126 check_float_internal call.
11127 (copysign_test_data): Add tests with quiet NaNs as second
11128 argument. Use TEST_NAN_SIGN.
11129 (fabs_test_data): Add test of negative quiet NaN argument. Use
11131 (signbit_test_data): Add tests of quiet NaN argument.
11132 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11134 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11136 (parse_args): Handle function results specified as IGNORE.
11137 * math/libm-test.inc (IGNORE_RESULT): New macro.
11138 (check_float_internal): Do not check numerical result if flag
11140 (check_complex): Pass through IGNORE_RESULT to second
11141 check_float_internal call.
11142 (check_int): Do not check numerical result if flag IGNORE_RESULT
11144 (check_long): Likewise.
11145 (check_bool): Likewise.
11146 (check_longlong): Likewise.
11147 (lrint_test_data): Add tests of infinite and NaN arguments.
11148 (lrint_tonearest_test_data): Likewise.
11149 (lrint_towardzero_test_data): Likewise.
11150 (lrint_downward_test_data): Likewise.
11151 (lrint_upward_test_data): Likewise.
11152 (llrint_test_data): Likewise.
11153 (llrint_tonearest_test_data): Likewise.
11154 (llrint_towardzero_test_data): Likewise.
11155 (llrint_downward_test_data): Likewise.
11156 (llrint_upward_test_data): Likewise.
11157 (lround_test_data): Likewise.
11158 (llround_test_data): Likewise.
11160 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11161 (ERRNO_UNCHANGED): Update value.
11162 (ERRNO_EDOM): Likewise.
11163 (ERRNO_ERANGE): Likewise.
11164 (NO_TEST_INLINE_FLOAT): New macro.
11165 (NO_TEST_INLINE_DOUBLE): Likewise.
11166 (enable_test): New function.
11167 (RUN_TEST_f_f): Check enable_test before running test.
11168 (RUN_TEST_2_f): Likewise.
11169 (RUN_TEST_fff_f): Likewise.
11170 (RUN_TEST_c_f): Likewise.
11171 (RUN_TEST_f_f1): Likewise.
11172 (RUN_TEST_fF_f1): Likewise.
11173 (RUN_TEST_fI_f1): Likewise.
11174 (RUN_TEST_ffI_f1): Likewise.
11175 (RUN_TEST_c_c): Likewise.
11176 (RUN_TEST_cc_c): Likewise.
11177 (RUN_TEST_f_i): Likewise.
11178 (RUN_TEST_f_i_tg): Likewise.
11179 (RUN_TEST_ff_i_tg): Likewise.
11180 (RUN_TEST_f_b): Likewise.
11181 (RUN_TEST_f_b_tg): Likewise.
11182 (RUN_TEST_f_l): Likewise.
11183 (RUN_TEST_f_L): Likewise.
11184 (RUN_TEST_fFF_11): Likewise.
11185 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11187 (cosh_test_data): Likewise.
11188 (exp_test_data): Likewise.
11189 (expm1_test_data): Likewise.
11190 (hypot_test_data): Likewise.
11191 (pow_test_data): Likewise.
11192 (sinh_test_data): Likewise.
11193 (tanh_test_data): Likewise.
11194 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11197 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11198 tests with quiet NaN input and output.
11199 (acosh_test_data): Likewise.
11200 (asin_test_data): Likewise.
11201 (asinh_test_data): Likewise.
11202 (atan_test_data): Likewise.
11203 (atanh_test_data): Likewise.
11204 (atan2_test_data): Likewise.
11205 (cbrt_test_data): Likewise.
11206 (cos_test_data): Likewise.
11207 (cosh_test_data): Likewise.
11208 (erf_test_data): Likewise.
11209 (erfc_test_data): Likewise.
11210 (exp_test_data): Likewise.
11211 (exp10_test_data): Likewise.
11212 (exp2_test_data): Likewise.
11213 (expm1_test_data): Likewise.
11214 (hypot_test_data): Likewise.
11215 (j0_test_data): Likewise.
11216 (j1_test_data): Likewise.
11217 (jn_test_data): Likewise.
11218 (lgamma_test_data): Likewise.
11219 (log_test_data): Likewise.
11220 (log10_test_data): Likewise.
11221 (log1p_test_data): Likewise.
11222 (log2_test_data): Likewise.
11223 (pow_test_data): Likewise.
11224 (scalb_test_data): Likewise.
11225 (sin_test_data): Likewise.
11226 (sincos_test_data): Likewise.
11227 (sinh_test_data): Likewise.
11228 (tan_test_data): Likewise.
11229 (tanh_test_data): Likewise.
11230 (tgamma_test_data): Likewise.
11231 (y0_test_data): Likewise.
11232 (y1_test_data): Likewise.
11233 (yn_test_data): Likewise.
11236 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11237 argument being NaN and avoid computations with second argument in
11239 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11240 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11241 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11243 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11245 * locale/iso-639.def: Add Chitwani Tharu (the).
11247 2013-11-14 Andreas Schwab <schwab@suse.de>
11249 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11250 word instead of empty string.
11252 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11255 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11257 (__fe_nomask_env): Likewise.
11259 2013-11-13 Steve Ellcey <sellcey@mips.com>
11261 * benchtests/bench-timing.h: Include time.h.
11263 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11266 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11268 * sysdeps/unix/sysv/linux/configure: Regenerated.
11270 2013-11-13 Joseph Myers <joseph@codesourcery.com>
11273 * stdlib/strtod_l.c (round_and_return): Do not consider
11274 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11275 exponent one less than half the least subnormal exponent.
11276 * stdlib/test-strtod-round-data: Add more tests.
11277 * stdlib/tst-strtod-round.c (tests): Regenerated.
11279 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11282 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11283 (__fe_mask_env): Likewise.
11284 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11285 libm_hidden_proto and add function prototype.
11286 (__fe_mask_env): Add function prototype.
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11288 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11290 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11292 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11294 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11296 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11297 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11299 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11301 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11302 of htab_find_slot().
11304 2013-11-11 David S. Miller <davem@davemloft.net>
11307 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11308 symbol in the non-vis3 case in static builds.
11309 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11310 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11311 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11312 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11314 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11317 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11320 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11322 * benchtests/Makefile: Add bench-strtod.
11323 * benchtests/bench-strtod.c: New file: strtod benchtest
11325 2013-11-11 Andreas Schwab <schwab@suse.de>
11328 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11329 terminating NUL in key length.
11331 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11333 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11334 Add artificial ODP entry for vDSO symbol for PPC64.
11335 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11336 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11338 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11341 * nss/getent.c (services_keys): Recognize services starting with digit.
11343 2013-11-06 David S. Miller <davem@davemloft.net>
11346 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11347 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11349 2013-11-06 Will Newton <will.newton@linaro.org>
11351 * manual/memory.texi (Malloc Examples): Remove register
11352 keyword from examples.
11354 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
11356 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11358 2013-11-04 Joseph Myers <joseph@codesourcery.com>
11361 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11362 depending on [__GCC_IEC_559 > 0].
11363 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11364 depending on [__GCC_IEC_559_COMPLEX > 0].
11366 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
11368 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11371 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
11373 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11375 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
11378 * malloc/malloc (malloc_info): Do not handle first bin as
11381 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
11383 * locale/iso-639.def: Add Central Nahuatl (nhn).
11385 2013-11-01 Bruno Haible <bruno@clisp.org>
11388 * manual/math.texi (BSD Random): Specify range upper bound as
11391 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
11393 * locale/iso-639.def: Add Meadow Mari (mhr).
11395 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
11397 [BZ #14752], [BZ #15763]
11398 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11400 * rt/tst_shm.c: Add test for escaping directory.
11402 2013-10-31 Andreas Schwab <schwab@suse.de>
11405 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11406 followed by 'x' as part of digit sequence.
11407 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11409 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11412 * configure.ac: allow GNU Make 4.0 and greater.
11413 * configure: Regenerated.
11415 2013-10-30 Will Newton <will.newton@linaro.org>
11418 * malloc/hooks.c (memalign_check): Limit alignment to the
11419 maximum representable power of two.
11420 * malloc/malloc.c (__libc_memalign): Likewise.
11421 * malloc/tst-memalign.c (do_test): Add test for very
11422 large alignment values.
11423 * malloc/tst-posix_memalign.c (do_test): Likewise.
11425 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11428 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11429 (munmap_chunk): Likewise.
11430 (mremap_chunk): Likewise.
11432 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11435 * stdlib/div.c (div): Remove obsolete code.
11436 * stdlib/ldiv.c (ldiv): Likewise.
11437 * stdlib/lldiv.c (lldiv): Likewise.
11439 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11442 * nss/nss_files/files-XXX.c (get_contents_ret): New
11444 (get_contents): New function.
11445 (internal_getent): Use it. Expand size of LINEBUFLEN.
11447 2013-10-30 Mike Frysinger <vapier@gentoo.org>
11449 * configure.in: Moved to ...
11450 * configure.ac: ... here. Change reference to configure.in
11452 * sysdeps/arm/preconfigure.ac: ... here.
11453 configure.in to configure.ac.
11454 * sysdeps/gnu/configure.in: Moved to ...
11455 * sysdeps/gnu/configure.ac: ... here.
11456 * sysdeps/i386/configure.in: Moved to ...
11457 * sysdeps/i386/configure.ac: ... here.
11458 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11459 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11460 * sysdeps/mach/configure.in: Moved to ...
11461 * sysdeps/mach/configure.ac: ... here.
11462 * sysdeps/mach/hurd/configure.in: Moved to ...
11463 * sysdeps/mach/hurd/configure.ac: ... here.
11464 * sysdeps/powerpc/configure.in: Moved to ...
11465 * sysdeps/powerpc/configure.ac: ... here.
11466 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11467 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11468 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11469 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11470 * sysdeps/s390/s390-32/configure.in: Moved to ...
11471 * sysdeps/s390/s390-32/configure.ac: ... here.
11472 * sysdeps/s390/s390-64/configure.in: Moved to ...
11473 * sysdeps/s390/s390-64/configure.ac: ... here.
11474 * sysdeps/sh/configure.in: Moved to ...
11475 * sysdeps/sh/configure.ac: ... here.
11476 * sysdeps/sparc/configure.in: Moved to ...
11477 * sysdeps/sparc/configure.ac: ... here.
11478 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11479 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11480 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11481 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11482 * sysdeps/x86_64/configure.in: Moved to ...
11483 * sysdeps/x86_64/configure.ac: ... here.
11484 * sysdeps/x86_64/preconfigure.in: Moved to ...
11485 * sysdeps/x86_64/preconfigure.ac: ... here.
11486 * aclocal.m4: Change reference to configure.in to configure.ac.
11487 * config.h.in: Likewise.
11488 * manual/install.texi: Likewise.
11489 * manual/maint.texi: Likewise.
11490 * Makefile: Likewise.
11491 * malloc/Makefile: Likewise.
11492 * nscd/Makefile: Likewise.
11493 * Makeconfig: Change reference to configure.in and
11494 preconfigure.in to configure.ac and preconfigure.ac
11496 * INSTALL: Regenerated.
11497 * configure: Likewise.
11498 * sysdeps/gnu/configure: Likewise.
11499 * sysdeps/i386/configure: Likewise.
11500 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11501 * sysdeps/mach/configure: Likewise.
11502 * sysdeps/mach/hurd/configure: Likewise.
11503 * sysdeps/powerpc/configure: Likewise.
11504 * sysdeps/powerpc/powerpc32/configure: Likewise.
11505 * sysdeps/powerpc/powerpc64/configure: Likewise.
11506 * sysdeps/s390/s390-32/configure: Likewise.
11507 * sysdeps/s390/s390-64/configure: Likewise.
11508 * sysdeps/sh/configure: Likewise.
11509 * sysdeps/sparc/configure: Likewise.
11510 * sysdeps/unix/sysv/linux/configure: Likewise.
11511 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11512 * sysdeps/x86_64/configure: Likewise.
11513 * sysdeps/x86_64/preconfigure: Likewise.
11515 2013-10-29 Andreas Schwab <schwab@suse.de>
11517 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11519 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11521 * benchtests/pow-inputs: Add new inputs.
11523 * benchtests/exp-inputs: Add new inputs.
11525 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11526 conditional check for return value.
11527 (__cos32): Likewise.
11529 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11531 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11532 to provide a boost for large inputs with word alignment.
11533 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11534 implementation based on optimized PPC64 strcpy.
11535 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11536 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11537 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11538 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11540 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11543 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11545 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11548 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11549 * time/tst-strptime.c (day_tests): Add testcase.
11551 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11554 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11556 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11559 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11560 MAP_FAILED on error.
11562 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11565 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11566 heap for large requests.
11568 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11571 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11572 result if the result has no associated interface.
11573 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11574 interface for all 127.X.Y.Z addresses.
11576 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
11578 * locale/iso-639.def: Add Ligurian (lij)
11580 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
11583 * sunrpc/rpc_main.c: Document rpcgen -5.
11585 2013-10-19 Michael Stahl <mstahl@redhat.com>
11587 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11589 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
11592 * posix/glob.c: Match only directories when trailing slash is present.
11593 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11594 (main): Add testcase.
11596 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
11599 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11601 2013-10-18 Carlos O'Donell <carlos@redhat.com>
11603 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11604 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11605 AUTH_DES and cindex for FIPS 140-2.
11606 (DES Encryption): Add cindex FIPS 46-3.
11608 * locale/locarchive.h (struct locarhandle): Add fname.
11609 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11610 if an optional argument was specified to --list-archive,
11612 * locale/programs/locarchive.c (show_archive_content): Take new
11613 argument fname and pass it via ah.fname to open_archive.
11614 * locale/programs/localedef.h: Update decl.
11615 (open_archive): If AH->fname is non-null, open that file
11616 rather than the default file name, and don't ignore ENOENT.
11617 (create_archive): Set AH.fname to NULL.
11618 (delete_locales_from_archive): Likewise.
11619 (add_locales_to_archive): Likewise.
11620 * locale/programs/locfile.c (write_all_categories): Likewise.
11622 2013-10-18 Joseph Myers <joseph@codesourcery.com>
11623 Aldy Hernandez <aldyh@redhat.com>
11625 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11626 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11627 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11628 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11629 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11630 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11631 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11632 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11633 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11634 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11635 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11636 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11637 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11638 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11639 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11641 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11643 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11645 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11647 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11648 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11650 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11651 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11652 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11653 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11655 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11656 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11657 * sysdeps/powerpc/preconfigure: Likewise.
11658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11660 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11661 Replace contents of file by #include of <fenv_libc.h>.
11662 * sysdeps/powerpc/soft-fp/sfp-machine.h
11663 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11665 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11666 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11667 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11668 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11669 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11670 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11672 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11673 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11674 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11675 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11676 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11678 Allow copysignl PLT reference to be missing.
11680 2013-10-18 Richard Sandiford <richard@codesourcery.com>
11681 Joseph Myers <joseph@codesourcery.com
11684 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11686 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11688 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11690 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11691 * elf/tst-tls1.c: Likewise.
11692 * elf/tst-tls10.h: Likewise.
11693 * elf/tst-tls14.c: Likewise.
11694 * elf/tst-tls2.c: Likewise.
11695 * elf/tst-tls3.c: Likewise.
11696 * elf/tst-tls4.c: Likewise.
11697 * elf/tst-tls5.c: Likewise.
11698 * elf/tst-tls6.c: Likewise.
11699 * elf/tst-tls7.c: Likewise.
11700 * elf/tst-tls8.c: Likewise.
11701 * elf/tst-tls9.c: Likewise.
11702 * elf/tst-tlsmod1.c: Likewise.
11703 * elf/tst-tlsmod13.c: Likewise.
11704 * elf/tst-tlsmod13a.c: Likewise.
11705 * elf/tst-tlsmod14a.c: Likewise.
11706 * elf/tst-tlsmod16a.c: Likewise.
11707 * elf/tst-tlsmod16b.c: Likewise.
11708 * elf/tst-tlsmod2.c: Likewise.
11709 * elf/tst-tlsmod3.c: Likewise.
11710 * elf/tst-tlsmod4.c: Likewise.
11711 * elf/tst-tlsmod5.c: Likewise.
11712 * elf/tst-tlsmod6.c: Likewise.
11714 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
11717 * malloc/malloc.c: remove checks for statistics.
11719 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
11722 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11723 * inet/tst-network.c: Add testcase.
11725 2013-10-17 Andreas Schwab <schwab@suse.de>
11728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11729 to determine canonical name.
11731 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
11733 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11734 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11735 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11736 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11737 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11738 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11739 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11740 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11741 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11742 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11743 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11744 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11745 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11746 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11747 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11748 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11749 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11750 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11751 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11752 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11753 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11754 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11755 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11756 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11757 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11758 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11759 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11760 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11761 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11762 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11763 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11764 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11765 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11766 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11767 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11768 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11769 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11770 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11771 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11772 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11773 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11774 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11775 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11776 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11777 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11778 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11779 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11780 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11781 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11782 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11783 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11784 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11785 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11786 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11787 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11788 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11789 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11790 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11792 2013-10-17 Joseph Myers <joseph@codesourcery.com>
11795 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11796 make result into a quiet NaN.
11798 2013-10-16 Joseph Myers <joseph@codesourcery.com>
11800 * soft-fp/adddf3.c: Fix horizontal whitespace.
11801 * soft-fp/addsf3.c: Likewise.
11802 * soft-fp/addtf3.c: Likewise.
11803 * soft-fp/divdf3.c: Likewise.
11804 * soft-fp/divsf3.c: Likewise.
11805 * soft-fp/divtf3.c: Likewise.
11806 * soft-fp/double.h: Likewise.
11807 * soft-fp/eqdf2.c: Likewise.
11808 * soft-fp/eqsf2.c: Likewise.
11809 * soft-fp/eqtf2.c: Likewise.
11810 * soft-fp/extenddftf2.c: Likewise.
11811 * soft-fp/extended.h: Likewise.
11812 * soft-fp/extendsfdf2.c: Likewise.
11813 * soft-fp/extendsftf2.c: Likewise.
11814 * soft-fp/extendxftf2.c: Likewise.
11815 * soft-fp/fixdfdi.c: Likewise.
11816 * soft-fp/fixdfsi.c: Likewise.
11817 * soft-fp/fixdfti.c: Likewise.
11818 * soft-fp/fixsfdi.c: Likewise.
11819 * soft-fp/fixsfsi.c: Likewise.
11820 * soft-fp/fixsfti.c: Likewise.
11821 * soft-fp/fixtfdi.c: Likewise.
11822 * soft-fp/fixtfsi.c: Likewise.
11823 * soft-fp/fixtfti.c: Likewise.
11824 * soft-fp/fixunsdfdi.c: Likewise.
11825 * soft-fp/fixunsdfsi.c: Likewise.
11826 * soft-fp/fixunsdfti.c: Likewise.
11827 * soft-fp/fixunssfdi.c: Likewise.
11828 * soft-fp/fixunssfsi.c: Likewise.
11829 * soft-fp/fixunssfti.c: Likewise.
11830 * soft-fp/fixunstfdi.c: Likewise.
11831 * soft-fp/fixunstfsi.c: Likewise.
11832 * soft-fp/fixunstfti.c: Likewise.
11833 * soft-fp/floatdidf.c: Likewise.
11834 * soft-fp/floatdisf.c: Likewise.
11835 * soft-fp/floatditf.c: Likewise.
11836 * soft-fp/floatsidf.c: Likewise.
11837 * soft-fp/floatsisf.c: Likewise.
11838 * soft-fp/floatsitf.c: Likewise.
11839 * soft-fp/floattidf.c: Likewise.
11840 * soft-fp/floattisf.c: Likewise.
11841 * soft-fp/floattitf.c: Likewise.
11842 * soft-fp/floatundidf.c: Likewise.
11843 * soft-fp/floatundisf.c: Likewise.
11844 * soft-fp/floatunditf.c: Likewise.
11845 * soft-fp/floatunsidf.c: Likewise.
11846 * soft-fp/floatunsisf.c: Likewise.
11847 * soft-fp/floatunsitf.c: Likewise.
11848 * soft-fp/floatuntidf.c: Likewise.
11849 * soft-fp/floatuntisf.c: Likewise.
11850 * soft-fp/floatuntitf.c: Likewise.
11851 * soft-fp/fmadf4.c: Likewise.
11852 * soft-fp/fmasf4.c: Likewise.
11853 * soft-fp/fmatf4.c: Likewise.
11854 * soft-fp/gedf2.c: Likewise.
11855 * soft-fp/gesf2.c: Likewise.
11856 * soft-fp/getf2.c: Likewise.
11857 * soft-fp/ledf2.c: Likewise.
11858 * soft-fp/lesf2.c: Likewise.
11859 * soft-fp/letf2.c: Likewise.
11860 * soft-fp/muldf3.c: Likewise.
11861 * soft-fp/mulsf3.c: Likewise.
11862 * soft-fp/multf3.c: Likewise.
11863 * soft-fp/negdf2.c: Likewise.
11864 * soft-fp/negsf2.c: Likewise.
11865 * soft-fp/negtf2.c: Likewise.
11866 * soft-fp/op-1.h: Likewise.
11867 * soft-fp/op-2.h: Likewise.
11868 * soft-fp/op-4.h: Likewise.
11869 * soft-fp/op-8.h: Likewise.
11870 * soft-fp/op-common.h: Likewise.
11871 * soft-fp/quad.h: Likewise.
11872 * soft-fp/single.h: Likewise.
11873 * soft-fp/soft-fp.h: Likewise.
11874 * soft-fp/sqrtdf2.c: Likewise.
11875 * soft-fp/sqrtsf2.c: Likewise.
11876 * soft-fp/sqrttf2.c: Likewise.
11877 * soft-fp/subdf3.c: Likewise.
11878 * soft-fp/subsf3.c: Likewise.
11879 * soft-fp/subtf3.c: Likewise.
11880 * soft-fp/truncdfsf2.c: Likewise.
11881 * soft-fp/trunctfdf2.c: Likewise.
11882 * soft-fp/trunctfsf2.c: Likewise.
11883 * soft-fp/trunctfxf2.c: Likewise.
11884 * soft-fp/unorddf2.c: Likewise.
11885 * soft-fp/unordsf2.c: Likewise.
11886 * soft-fp/unordtf2.c: Likewise.
11888 2013-10-15 Joseph Myers <joseph@codesourcery.com>
11890 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11891 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11893 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
11895 * elf/dl-libc.c: Clear initfini list after freeing.
11897 2013-10-14 Joseph Myers <joseph@codesourcery.com>
11899 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11900 * soft-fp/addsf3.c: Likewise.
11901 * soft-fp/addtf3.c: Likewise.
11902 * soft-fp/divdf3.c: Likewise.
11903 * soft-fp/divsf3.c: Likewise.
11904 * soft-fp/divtf3.c: Likewise.
11905 * soft-fp/double.h: Likewise.
11906 * soft-fp/eqdf2.c: Likewise.
11907 * soft-fp/eqsf2.c: Likewise.
11908 * soft-fp/eqtf2.c: Likewise.
11909 * soft-fp/extenddftf2.c: Likewise.
11910 * soft-fp/extended.h: Likewise.
11911 * soft-fp/extendsfdf2.c: Likewise.
11912 * soft-fp/extendsftf2.c: Likewise.
11913 * soft-fp/extendxftf2.c: Likewise.
11914 * soft-fp/fixdfdi.c: Likewise.
11915 * soft-fp/fixdfsi.c: Likewise.
11916 * soft-fp/fixdfti.c: Likewise.
11917 * soft-fp/fixsfdi.c: Likewise.
11918 * soft-fp/fixsfsi.c: Likewise.
11919 * soft-fp/fixsfti.c: Likewise.
11920 * soft-fp/fixtfdi.c: Likewise.
11921 * soft-fp/fixtfsi.c: Likewise.
11922 * soft-fp/fixtfti.c: Likewise.
11923 * soft-fp/fixunsdfdi.c: Likewise.
11924 * soft-fp/fixunsdfsi.c: Likewise.
11925 * soft-fp/fixunsdfti.c: Likewise.
11926 * soft-fp/fixunssfdi.c: Likewise.
11927 * soft-fp/fixunssfsi.c: Likewise.
11928 * soft-fp/fixunssfti.c: Likewise.
11929 * soft-fp/fixunstfdi.c: Likewise.
11930 * soft-fp/fixunstfsi.c: Likewise.
11931 * soft-fp/fixunstfti.c: Likewise.
11932 * soft-fp/floatdidf.c: Likewise.
11933 * soft-fp/floatdisf.c: Likewise.
11934 * soft-fp/floatditf.c: Likewise.
11935 * soft-fp/floatsidf.c: Likewise.
11936 * soft-fp/floatsisf.c: Likewise.
11937 * soft-fp/floatsitf.c: Likewise.
11938 * soft-fp/floattidf.c: Likewise.
11939 * soft-fp/floattisf.c: Likewise.
11940 * soft-fp/floattitf.c: Likewise.
11941 * soft-fp/floatundidf.c: Likewise.
11942 * soft-fp/floatundisf.c: Likewise.
11943 * soft-fp/floatunsidf.c: Likewise.
11944 * soft-fp/floatunsisf.c: Likewise.
11945 * soft-fp/floatuntidf.c: Likewise.
11946 * soft-fp/floatuntisf.c: Likewise.
11947 * soft-fp/floatuntitf.c: Likewise.
11948 * soft-fp/fmadf4.c: Likewise.
11949 * soft-fp/fmasf4.c: Likewise.
11950 * soft-fp/fmatf4.c: Likewise.
11951 * soft-fp/gedf2.c: Likewise.
11952 * soft-fp/gesf2.c: Likewise.
11953 * soft-fp/getf2.c: Likewise.
11954 * soft-fp/ledf2.c: Likewise.
11955 * soft-fp/lesf2.c: Likewise.
11956 * soft-fp/letf2.c: Likewise.
11957 * soft-fp/muldf3.c: Likewise.
11958 * soft-fp/mulsf3.c: Likewise.
11959 * soft-fp/multf3.c: Likewise.
11960 * soft-fp/negdf2.c: Likewise.
11961 * soft-fp/negsf2.c: Likewise.
11962 * soft-fp/negtf2.c: Likewise.
11963 * soft-fp/op-1.h: Likewise.
11964 * soft-fp/op-2.h: Likewise.
11965 * soft-fp/op-4.h: Likewise.
11966 * soft-fp/op-8.h: Likewise.
11967 * soft-fp/op-common.h: Likewise.
11968 * soft-fp/quad.h: Likewise.
11969 * soft-fp/single.h: Likewise.
11970 * soft-fp/soft-fp.h: Likewise.
11971 * soft-fp/sqrtdf2.c: Likewise.
11972 * soft-fp/sqrtsf2.c: Likewise.
11973 * soft-fp/sqrttf2.c: Likewise.
11974 * soft-fp/subdf3.c: Likewise.
11975 * soft-fp/subsf3.c: Likewise.
11976 * soft-fp/subtf3.c: Likewise.
11977 * soft-fp/truncdfsf2.c: Likewise.
11978 * soft-fp/trunctfdf2.c: Likewise.
11979 * soft-fp/trunctfsf2.c: Likewise.
11980 * soft-fp/trunctfxf2.c: Likewise.
11981 * soft-fp/unorddf2.c: Likewise.
11982 * soft-fp/unordsf2.c: Likewise.
11983 * soft-fp/unordtf2.c: Likewise.
11985 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
11988 * misc/error.c (error_tail): Fix possible buffer overflow.
11990 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11993 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11996 2013-10-14 P. J. McDermott <pj@pehjota.net>
11999 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12000 testing pipefail option.
12002 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12004 * soft-fp/double.h: Indent preprocessor directives inside #if.
12005 * soft-fp/extended.h: Likewise.
12006 * soft-fp/op-2.h: Likewise.
12007 * soft-fp/op-4.h: Likewise.
12008 * soft-fp/op-common.h: Likewise.
12009 * soft-fp/quad.h: Likewise.
12010 * soft-fp/single.h: Likewise.
12011 * soft-fp/soft-fp.h: Likewise.
12013 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12015 * iconv/iconv_prog.c: Fix typos.
12016 * stdio-common/psiginfo-data.h: Likewise.
12018 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12021 * locale/setlocale.c: Fix typo.
12023 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12026 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12027 signaling NaN arguments.
12028 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12029 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12032 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12033 unordered operands.
12034 * soft-fp/gesf2.c (__gesf2): Likewise.
12035 * soft-fp/getf2.c (__getf2): Likewise.
12036 * soft-fp/ledf2.c (__ledf2): Likewise.
12037 * soft-fp/lesf2.c (__lesf2): Likewise.
12038 * soft-fp/letf2.c (__letf2): Likewise.
12040 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12041 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12042 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12043 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12044 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12045 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12046 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12047 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12048 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12049 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12050 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12051 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12052 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12053 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12054 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12055 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12056 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12057 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12058 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12059 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12060 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12061 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12062 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12063 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12064 * soft-fp/floattidf.c (__floattidf): Likewise.
12065 * soft-fp/floattisf.c (__floattisf): Likewise.
12066 * soft-fp/floattitf.c (__floattitf): Likewise.
12067 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12068 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12069 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12070 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12071 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12072 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12073 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12074 * soft-fp/gesf2.c (__gesf2): Likewise.
12075 * soft-fp/getf2.c (__getf2): Likewise.
12076 * soft-fp/ledf2.c (__ledf2): Likewise.
12077 * soft-fp/lesf2.c (__lesf2): Likewise.
12078 * soft-fp/letf2.c (__letf2): Likewise.
12080 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12081 Undefine and redefine.
12082 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12083 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12084 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12085 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12086 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12087 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12088 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12089 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12090 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12091 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12092 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12093 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12094 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12095 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12096 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12099 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12100 without decrementing exponent if mantissa >= that for the
12101 denominator, not >.
12102 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12103 denominator, not >. Decrement exponent in < case instead of
12104 incrementing in >= case.
12105 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12106 without decrementing exponent if mantissa >= that for the
12107 denominator, not >.
12109 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12110 computing saturated result for unsigned overflow.
12112 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12113 Jeff Law <law@redhat.com>
12115 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12116 (atan2Mp): Add systemtap probe marker.
12117 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12118 (__ieee754_log): Add systemtap probe marker.
12119 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12120 (atanMp): Add systemtap probe marker.
12121 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12122 (tanMp): Add systemtap probe marker.
12123 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12124 (__slowexp): Add systemtap probe marker.
12125 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12126 (__slowpow): Add systemtap probe marker.
12127 * manual/probes.texi: Document probes.
12129 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
12132 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12134 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12136 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12137 written to buffer but not flushed.
12138 * libio/iofwrite_u.c: Likewise.
12139 * libio/iopadn.c: Return bytes returned even if EOF was
12141 * libio/iowpadn.c: Likewise.
12142 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12143 if _IO_padn does not write the whole buffer.
12144 [!COMPILE_WPRINTF] (PAD): Likewise.
12146 2013-10-10 David S. Miller <davem@davemloft.net>
12148 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12151 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12153 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12154 instead of FSF address.
12155 * soft-fp/fixdfti.c: Likewise.
12156 * soft-fp/fixsfti.c: Likewise.
12157 * soft-fp/fixtfti.c: Likewise.
12158 * soft-fp/fixunsdfti.c: Likewise.
12159 * soft-fp/fixunssfti.c: Likewise.
12160 * soft-fp/fixunstfti.c: Likewise.
12161 * soft-fp/floattidf.c: Likewise.
12162 * soft-fp/floattisf.c: Likewise.
12163 * soft-fp/floattitf.c: Likewise.
12164 * soft-fp/floatuntidf.c: Likewise.
12165 * soft-fp/floatuntisf.c: Likewise.
12166 * soft-fp/floatuntitf.c: Likewise.
12167 * soft-fp/trunctfxf2.c: Likewise.
12169 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12170 * soft-fp/fixdfti.c: Likewise.
12171 * soft-fp/fixsfti.c: Likewise.
12172 * soft-fp/fixtfti.c: Likewise.
12173 * soft-fp/fixunsdfti.c: Likewise.
12174 * soft-fp/fixunssfti.c: Likewise.
12175 * soft-fp/fixunstfti.c: Likewise.
12176 * soft-fp/floattidf.c: Likewise.
12177 * soft-fp/floattisf.c: Likewise.
12178 * soft-fp/floattitf.c: Likewise.
12179 * soft-fp/floatuntidf.c: Likewise.
12180 * soft-fp/floatuntisf.c: Likewise.
12181 * soft-fp/floatuntitf.c: Likewise.
12182 * soft-fp/trunctfxf2.c: Likewise.
12184 2013-10-10 David S. Miller <davem@davemloft.net>
12186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12188 2013-10-10 Joseph Myers <joseph@codsourcery.com>
12190 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12191 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12192 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12193 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12194 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12195 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12196 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12198 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12199 for NaNs before doing comparisons on argument.
12200 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12203 2013-10-10 Will Newton <will.newton@linaro.org>
12205 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12206 passed to _int_memalign does not overflow.
12208 2013-10-10 Torvald Riegel <triegel@redhat.com>
12210 * scripts/bench.pl: Add include-sources directive.
12211 * benchtests/README: Update documentation.
12213 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12215 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12216 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12217 instead of FP_INIT_ROUNDMODE.
12218 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12219 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12222 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12223 copy class of input value.
12224 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12225 not handle exceptions.
12226 * soft-fp/negsf2.c (__negsf2): Likewise.
12227 * soft-fp/negtf2.c (__negtf2): Likewise.
12228 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12230 2013-10-09 Joseph Myers <joseph@codesourcery.com>
12232 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12233 semicolon. From Linux kernel.
12235 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12237 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12239 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12242 * manual/socket.texi: Added statement about buffer
12243 for gethostbyname2_r.
12245 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
12247 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12248 Use .p2align directive instead, throughout.
12249 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12250 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12251 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12252 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12253 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12254 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12255 * sysdeps/x86_64/strchr.S: Likewise.
12256 * sysdeps/x86_64/strrchr.S: Likewise.
12258 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12260 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12262 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12264 * sysdeps/generic/math_private.h (__mpsin1): Remove
12266 (__mpcos1): Likewise.
12267 (__mpsin): New argument __range_reduce.
12268 (__mpcos): Likewise.
12269 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12270 (slow): Use __mpsin and __mpcos.
12274 (sloww1): Likewise.
12275 (sloww2): Likewise.
12276 (bsloww): Likewise.
12277 (bsloww1): Likewise.
12278 (bsloww2): Likewise.
12279 (cslow2): Likewise.
12280 (csloww): Likewise.
12281 (csloww1): Likewise.
12282 (csloww2): Likewise.
12283 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12284 range_reduce. Merge in __mpsin1.
12285 (__mpcos): Likewise.
12286 (__mpsin1): Remove.
12287 (__mpcos1): Likewise.
12289 2013-10-07 Joseph Myers <joseph@codesourcery.com>
12291 * locale/loadlocale.c (_nl_intern_locale_data): Use
12293 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12294 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12295 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12296 obstack data is appropriately aligned.
12297 (obstack_int32_grow_fast): Likewise.
12298 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12299 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12300 (add_locale_uint32_array): Likewise.
12302 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12304 * benchtests/Makefile: Remove ARGLIST and RET variables.
12305 ($(objpfx)bench-%.c): Pass only function name to the script.
12306 * benchtests/README: Update documentation.
12307 * benchtests/acos-inputs: Add new directives.
12308 * benchtests/acosh-inputs: Likewise.
12309 * benchtests/asin-inputs: Likewise.
12310 * benchtests/asinh-inputs: Likewise.
12311 * benchtests/atan-inputs: Likewise.
12312 * benchtests/atanh-inputs: Likewise.
12313 * benchtests/cos-inputs: Likewise.
12314 * benchtests/cosh-inputs: Likewise.
12315 * benchtests/exp-inputs: Likewise.
12316 * benchtests/log-inputs: Likewise.
12317 * benchtests/pow-inputs: Likewise.
12318 * benchtests/rint-inputs: Likewise.
12319 * benchtests/sin-inputs: Likewise.
12320 * benchtests/sinh-inputs: Likewise.
12321 * benchtests/tan-inputs: Likewise.
12322 * benchtests/tanh-inputs: Likewise.
12323 * scripts/bench.pl: Add support for new directives.
12325 2013-10-07 Alan Modra <amodra@gmail.com>
12327 * README: Fix careless merge.
12329 2013-10-05 Alan Modra <amodra@gmail.com>
12331 * NEWS: Mention powerpc64le support and bugs fixed.
12332 * README: Both big-endian and little-endian powerpc64 supported.
12334 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12336 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12337 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12338 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12339 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12341 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12343 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12346 2013-10-04 Joseph Myers <joseph@codesourcery.com>
12348 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12349 Move -mhard-float appending from
12350 ports/sysdeps/powerpc/powerpc32/Makefile.
12351 [$(with-fp) = yes] (ASFLAGS): Likewise.
12352 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12353 * sysdeps/powerpc/nofpu: Move directory from
12354 ports/sysdeps/powerpc/nofpu.
12355 * sysdeps/powerpc/soft-fp: Move directory from
12356 ports/sysdeps/powerpc/soft-fp.
12357 * sysdeps/powerpc/powerpc32/405: Move directory from
12358 ports/sysdeps/powerpc/powerpc32/405.
12359 * sysdeps/powerpc/powerpc32/440: Move directory from
12360 ports/sysdeps/powerpc/powerpc32/440.
12361 * sysdeps/powerpc/powerpc32/464: Move directory from
12362 ports/sysdeps/powerpc/powerpc32/464.
12363 * sysdeps/powerpc/powerpc32/476: Move directory from
12364 ports/sysdeps/powerpc/powerpc32/476.
12365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12366 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12368 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12370 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12372 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12374 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12375 * README: Update for powerpc-*-linux-gnu software floating point
12378 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12379 case to powerpc/powerpc32*.
12380 * sysdeps/unix/sysv/linux/configure: Regenerated.
12382 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12383 (_FPU_MASK_OM): Define as 0x04.
12384 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12385 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12387 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12389 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12392 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12395 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12398 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12399 and setcontext_e500.
12401 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12403 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12405 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12407 * manual/threads.texi (Default Thread Attributes): Fix typo.
12409 2013-10-04 Will Newton <will.newton@linaro.org>
12411 * malloc/Makefile: Add tst-memalign.
12412 * malloc/tst-memalign.c: New file.
12414 * malloc/tst-posix_memalign.c: Add comments.
12415 (do_test): Add comments and call free on all potentially
12416 allocated pointers. Add space after cast.
12418 * malloc/tst-pvalloc.c: Add comments.
12419 (do_test): Add comments and call free on all potentially
12420 allocated pointers. Remove duplicate check for NULL pointer.
12421 Add space after cast.
12423 * malloc/tst-valloc.c: Add comments.
12424 (do_test): Add comments and call free on all potentially
12425 allocated pointers. Remove duplicate check for NULL pointer.
12426 Add space after cast.
12428 2013-10-04 Alan Modra <amodra@gmail.com>
12430 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12431 Use stdint types in rather than __attribute__((mode())).
12432 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12434 2013-10-04 Alan Modra <amodra@gmail.com>
12436 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12437 Correct handling of unaligned relocs for little-endian.
12438 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12440 2013-10-04 Alan Modra <amodra@gmail.com>
12442 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12443 * configure: Regenerate.
12444 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12445 * shlib-versions: Likewise.
12447 2013-10-04 Alan Modra <amodra@gmail.com>
12449 * string/tester.c (test_memrchr): Increment reported test cycle.
12451 2013-10-04 Alan Modra <amodra@gmail.com>
12453 * string/test-memcpy.c (do_one_test): When reporting errors, print
12454 string address and don't overrun end of string.
12456 2013-10-04 Alan Modra <amodra@gmail.com>
12458 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12459 insrdi. Make better use of reg selection to speed exit slightly.
12460 Schedule entry path a little better. Remove useless "are we done"
12461 checks on entry to main loop. Handle wrapping around zero address.
12462 Correct main loop count. Handle single left-over word from main
12463 loop inline rather than by using loop_small. Remove extra word
12464 case in loop_small caused by wrong loop count. Add little-endian
12466 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12467 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12469 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12470 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12471 support. Avoid rlwimi.
12472 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12474 2013-10-04 Alan Modra <amodra@gmail.com>
12476 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12477 insrdi. Formatting.
12478 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12479 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12480 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12481 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12482 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12483 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12485 2013-10-04 Alan Modra <amodra@gmail.com>
12487 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12488 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12489 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12490 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12491 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12492 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12493 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12494 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12495 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12496 use of regs. Use power7 mtocrf. Tidy function tails.
12498 2013-10-04 Alan Modra <amodra@gmail.com>
12500 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12501 Formatting. Consistently use rXXX register defines or rN defines.
12502 Use early exit labels that avoid restoring unused non-volatile regs.
12503 Make cr field use more consistent with rWORDn compares. Rename
12504 regs used as shift registers for unaligned loop, using rN defines
12505 for short lifetime/multiple use regs.
12506 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12507 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12508 addi 1,1,64 to pop stack frame. Simplify return value code.
12509 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12511 2013-10-04 Alan Modra <amodra@gmail.com>
12513 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12514 support. Correct typos, formatting. Optimize tail. Use insrdi
12515 rather than rlwimi.
12516 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12517 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12518 little-endian support. Correct typos.
12519 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12520 rather than rlwimi.
12521 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12522 in loop and entry code to keep "and." results.
12523 (strchr): Add little-endian support. Comment. Move cntlzd
12525 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12527 2013-10-04 Alan Modra <amodra@gmail.com>
12529 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12530 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12531 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12532 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12534 2013-10-04 Alan Modra <amodra@gmail.com>
12536 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12537 (rTMP): Define as r11.
12538 (strcmp): Add little-endian support. Optimise tail.
12539 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12540 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12541 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12542 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12543 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12544 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12545 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12547 2013-10-04 Alan Modra <amodra@gmail.com>
12549 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12550 little-endian support. Remove unnecessary "are we done" tests.
12551 Handle "s" wrapping around zero and extremely large "size".
12552 Correct main loop count. Handle single left-over word from main
12553 loop inline rather than by using small_loop. Correct comments.
12554 Delete "zero" tail, use "end_max" instead.
12555 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12557 2013-10-04 Alan Modra <amodra@gmail.com>
12559 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12560 support. Don't branch over align.
12561 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12562 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12563 support. Rearrange tmp reg use to suit. Comment.
12564 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12566 2013-10-04 Alan Modra <amodra@gmail.com>
12568 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12570 2013-10-04 Alan Modra <amodra@gmail.com>
12572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12573 conditional form of branch and link when obtaining pc.
12574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12576 2013-10-04 Alan Modra <amodra@gmail.com>
12578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12583 2013-10-04 Alan Modra <amodra@gmail.com>
12585 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12586 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12587 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12588 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12589 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12590 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12591 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12592 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12593 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12594 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12596 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12597 Alistair Popple <alistair@ozlabs.au.ibm.com>
12598 Alan Modra <amodra@gmail.com>
12601 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12602 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12603 _dl_hwcap access for little-endian.
12604 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12605 destroy vmx regs when saving unaligned.
12606 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12607 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12608 destroy vmx regs when saving unaligned.
12610 2013-10-04 Alan Modra <amodra@gmail.com>
12612 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12613 Don't use a union to pack hi/low value.
12615 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12617 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12619 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12620 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12621 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12622 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12623 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12625 2013-10-04 Alan Modra <amodra@gmail.com>
12627 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12628 constants to usual value for .cst8 section, and remove redundant
12630 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12631 constant for 0x1p52. Load little-endian words of double from
12632 correct stack offsets.
12634 2013-10-04 Alan Modra <amodra@gmail.com>
12636 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12637 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12638 words of double from correct stack offsets.
12639 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12640 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12641 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12642 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12643 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12644 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12645 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12646 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12647 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12648 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12649 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12650 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12651 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12652 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12653 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12654 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12655 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12657 2013-10-04 Alan Modra <amodra@gmail.com>
12659 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12660 64-bit int/double union.
12661 (_FPU_SETCW): Likewise.
12662 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12663 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12665 2013-10-04 Alan Modra <amodra@gmail.com>
12667 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12668 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12670 2013-10-04 Alan Modra <amodra@gmail.com>
12672 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12673 use vector int constants.
12674 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12676 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12678 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12679 array with long long.
12680 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12681 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12682 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12683 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12684 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12685 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12686 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12687 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12688 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12689 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12690 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12691 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12692 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12694 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12696 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12697 (__signbit): Likewise. Correct for little-endian.
12698 (__signbitl): Call __signbit.
12699 (lrint): Correct for little-endian.
12700 (lrintf): Call lrint.
12702 2013-10-04 Alan Modra <amodra@gmail.com>
12704 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12705 union 32-bit int array member with 64-bit int array.
12706 (t515, tm256): Double rather than long double.
12707 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12709 2013-10-04 Alan Modra <amodra@gmail.com>
12711 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12713 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12714 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12715 version of math_ldbl.h.
12717 2013-10-04 Alan Modra <amodra@gmail.com>
12719 [BZ #15734], [BZ #15735]
12720 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12721 all uses of ieee875 long double macros and unions. Simplify test
12722 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12723 ldbl_extract_mantissa value for ix,iy exponents. Properly
12724 normalize after ldbl_extract_mantissa, and don't add hidden bit
12725 already handled. Don't treat low word of ieee854 mantissa like
12726 low word of IBM long double and mask off bit when testing for
12728 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12729 all uses of ieee875 long double macros and unions. Simplify tests
12730 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12731 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12732 two1022, instead use their values. Recognise that tests for large
12733 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12734 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12735 Rewrite all uses of ieee875 long double macros and unions. Simplify
12736 test for 0.0L and nan. Correct negation.
12737 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12738 ieee875 long double macros and unions. Correct output for large
12739 magnitude x. Correct absolute value calculation.
12740 (__erfcl): Likewise.
12741 * math/libm-test.inc: Add tests for errors discovered in IBM long
12742 double versions of fmodl, remainderl, erfl and erfcl.
12744 2013-10-04 Alan Modra <amodra@gmail.com>
12746 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12747 all uses of ieee854 long double macros and unions. Simplify tests
12748 for long doubles that are fully specified by the high double.
12749 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12751 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12752 Remove dead code too.
12753 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12754 (__ieee754_ynl): Likewise.
12755 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12756 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12757 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12758 Remove dead code too.
12759 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12760 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12761 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12762 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12764 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12766 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12767 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12768 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12769 Comment on variable precision.
12770 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12771 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12773 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12774 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12775 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12776 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12777 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12779 2013-10-04 Alan Modra <amodra@gmail.com>
12781 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12782 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12783 all uses of ieee854 long double macros and unions.
12784 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12785 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12786 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12787 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12788 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12789 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12791 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12792 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12793 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12794 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12795 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12796 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12797 Simplify sign and nan test too.
12798 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12799 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12800 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12801 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12803 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12804 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12806 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12807 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12808 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12809 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12810 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12811 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12813 2013-10-04 Alan Modra <amodra@gmail.com>
12815 * stdio-common/printf_size.c (__printf_size): Don't use
12816 union ieee854_long_double in fpnum union.
12817 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12818 signbit macro to retrieve sign from long double.
12819 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12820 retrieve sign from long double.
12821 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12822 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12823 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12824 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12825 * math/test-misc.c (main): Don't use union ieee854_long_double.
12827 2013-10-04 Alan Modra <amodra@gmail.com>
12830 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12831 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12832 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12833 calculation. Remove unnecessary test for denormal exponent.
12834 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12835 Correct handling of denormals. Avoid undefined shift behaviour.
12836 Correct normalisation of low mantissa when low double is denormal.
12837 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12838 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12839 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12840 Correct normalisation of low mantissa. Test for overflow of high
12841 mantissa and normalise.
12842 (ldbl_nearbyint): Use more readable constant for two52.
12843 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12844 (__mpn_construct_long_double): Fix test for overflow of high
12845 mantissa and correct normalisation. Avoid undefined shift.
12847 2013-10-04 Alan Modra <amodra@gmail.com>
12849 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12850 (union ibm_extended_long_double): Define as an array of ieee754_double.
12851 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12852 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12853 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12854 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12855 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12856 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12857 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12858 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12859 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12860 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12861 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12863 2013-10-03 Joseph Myers <joseph@codesourcery.com>
12865 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12866 page size instead of calling getpagesize.
12868 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12869 (LOCFILE_ALIGN_MASK): Likewise.
12870 (LOCFILE_ALIGN_UP): Likewise.
12871 (LOCFILE_ALIGNED_P): Likewise.
12872 * locale/programs/ld-collate.c (collate_output): Use the new
12873 macros instead of __alignof__ (int32_t).
12874 * locale/weight.h (findidx): Likewise.
12876 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
12879 * manual/string.texi: Fix strncat and wcsncat.
12881 2013-10-03 Brooks Moses <bmoses@google.com>
12884 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12885 * Makerules: ...here, and adjust associated comments.
12887 2013-10-02 Will Newton <will.newton@linaro.org>
12889 * malloc/Makefile: Add tst-pvalloc.
12890 * malloc/tst-pvalloc.c: New file.
12892 2013-10-02 Will Newton <will.newton@linaro.org>
12894 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12895 improve test coverage.
12897 2013-10-02 Will Newton <will.newton@linaro.org>
12899 * malloc/Makefile: Add tst-posix_memalign.
12900 * malloc/tst-posix_memalign.c: New file.
12902 2013-10-01 Eric Blake <eblake@redhat.com>
12904 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12905 Use __THROWNL rather than __THROW on static functions.
12907 2013-09-30 Petr Machata <pmachata@redhat.com>
12909 * elf/elf.h (R_AARCH64_ABS16): New macro.
12910 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12911 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12912 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12913 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12914 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12915 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12916 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12917 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12918 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12919 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12920 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12921 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12922 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12923 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12924 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12925 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12926 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12927 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12928 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12929 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12930 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12931 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12932 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12933 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12934 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12935 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12936 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12937 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12938 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12939 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12940 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12941 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12942 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12943 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12944 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12945 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12946 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12947 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12948 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12949 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12950 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12951 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12952 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12953 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12954 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12955 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12956 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12957 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12958 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12959 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12960 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12961 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12962 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12963 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12964 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12965 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12966 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12967 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12968 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12969 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12970 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12971 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12972 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12973 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12974 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12975 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12976 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12977 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12978 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12979 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12980 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12981 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12982 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12983 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12984 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12985 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12986 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12987 (R_AARCH64_TLSDESC_LDR): Likewise.
12988 (R_AARCH64_TLSDESC_ADD): Likewise.
12989 (R_AARCH64_TLSDESC_CALL): Likewise.
12991 2013-09-30 Andreas Schwab <schwab@suse.de>
12994 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12995 the nss database lookup.
12996 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12999 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13001 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13003 2013-09-28 P. J. McDermott <pj@pehjota.net>
13005 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13006 ${Bash-specific parameter/pattern/string} parameter expansion.
13007 * sysdeps/unix/make-syscalls.sh: Likewise.
13009 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13011 * sysdeps/sh/stackguard-macros.h: New file.
13013 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13016 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13017 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13018 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13019 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13020 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13022 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13024 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13025 Fix thread ID register.
13027 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13029 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13030 [POSIX || UNIX98]: Require rather than permitting all symbols from
13032 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13033 element of struct sched_param.
13034 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13035 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13036 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13037 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13040 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13042 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13043 argument calculation.
13045 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13047 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13049 [POSIX] (pthread_attr_t): Do not require type.
13050 [POSIX] (pthread_cond_t): Likewise.
13051 [POSIX] (pthread_condattr_t): Likewise.
13052 [POSIX] (pthread_key_t): Likewise.
13053 [POSIX] (pthread_mutex_t): Likewise.
13054 [POSIX] (pthread_mutexattr_t): Likewise.
13055 [POSIX] (pthread_once_t): Likewise.
13056 [POSIX] (pthread_t): Likewise.
13057 [POSIX-based standards] (pthread_atfork): Expect function.
13059 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13060 Richard Sandiford <richard@codesourcery.com>
13062 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13063 (swap_endianness_p): New extern variable.
13064 (set_big_endian): New inline function.
13065 (maybe_swap_uint32): Likewise.
13066 (maybe_swap_uint32_array): Likewise.
13067 (maybe_swap_uint32_obstack): Likewise.
13068 * locale/programs/locfile.c: Include <stdbool.h>.
13069 (swap_endianness_p): New variable.
13070 (add_locale_uint32): Call maybe_swap_uint32.
13071 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13072 (write_locale_data): Call maybe_swap_uint32_array.
13073 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13075 (obstack_int32_grow_fast): Likewise.
13076 (output_weightwc): Call maybe_swap_uint32_obstack.
13077 (collate_output): Likewise.
13078 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13079 (OPT_LITTLE_ENDIAN): Likewise.
13080 (options): Add --little-endian and --big-endian options.
13081 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13082 * locale/programs/locarchive.c: Include "locfile.h".
13086 (create_archive): Use the new macros to access fields of
13087 structures directly mapped from or written to locale archives.
13088 (oldlocrecentcmp): Likewise.
13089 (enlarge_archive): Likewise.
13090 (insert_name): Likewise.
13091 (add_alias): Likewise.
13092 (add_locale): Likewise.
13093 (delete_locales_from_archive): Likewise.
13094 (show_archive_content): Likewise.
13095 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13098 2013-09-24 Roland McGrath <roland@hack.frob.com>
13100 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13101 http://www.gnu.org/doc/freemanuals.texi.
13102 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13104 2013-09-24 Will Newton <will.newton@linaro.org>
13106 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13109 2013-09-23 Joseph Myers <joseph@codesourcery.com>
13111 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13114 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13116 * manual/threads.texi (POSIX Threads): Fix a typo.
13118 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13121 * string/tst-strcoll-overflow.c: New test case.
13122 * string/Makefile (xtests): Add tst-strcoll-overflow.
13123 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13124 cache if string sizes may cause integer overflow.
13127 * string/strcoll_l.c (coll_seq): New members rule, idx,
13128 save_idx and back_us.
13129 (get_next_seq_nocache): New function.
13130 (do_compare_nocache): New function.
13131 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13134 2013-09-23 Carlos O'Donell <carlos@redhat.com>
13137 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13138 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13139 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13142 * elf/Makefile (tests): Add tst-ptrguard1.
13143 (tests-static): Add tst-ptrguard1-static.
13144 (tst-ptrguard1-ARGS): Define.
13145 (tst-ptrguard1-static-ARGS): Define.
13146 * elf/tst-ptrguard1.c: New file.
13147 * elf/tst-ptrguard1-static.c: New file.
13148 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13149 * sysdeps/i386/stackguard-macros.h: Likewise.
13150 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13151 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13152 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13153 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13154 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13155 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13157 2013-09-23 Hector Marco <hecmargi@upv.es>
13158 Ismael Ripoll <iripoll@disca.upv.es>
13159 Carlos O'Donell <carlos@redhat.com>
13162 * sysdeps/generic/stackguard-macros.h: Define
13163 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13164 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13165 Define __pointer_chk_guard_local.
13166 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13167 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13169 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13172 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13174 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13176 * include/string.h (__ffs): Declare as hidden.
13177 * string/ffs.c (__ffs): Define as hidden.
13178 * sysdeps/i386/ffs.c (__ffs): Likewise.
13179 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13180 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13181 * sysdeps/s390/ffs.c (__ffs): Likewise.
13182 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13184 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
13186 * NEWS: Mention malloc probes.
13188 * malloc/arena.c (new_heap): New memory_heap_new probe.
13189 (grow_heap): New memory_heap_more probe.
13190 (shrink_heap): New memory_heap_less probe.
13191 (heap_trim): New memory_heap_free probe.
13192 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13193 (systrim): New memory_sbrk_less probe.
13194 * manual/probes.texi: Document them.
13196 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13197 * manual/probes.texi: Document it.
13199 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13200 (__libc_realloc): Add memory_realloc_retry probe.
13201 (__libc_memalign): Add memory_memalign_retry probe.
13202 (__libc_valloc): Add memory_valloc_retry probe.
13203 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13204 (__libc_calloc): Add memory_calloc_retry probe.
13205 * manual/probes.texi: Document them.
13207 * malloc/arena.c (get_free_list): Add probe
13208 memory_arena_reuse_free_list.
13209 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13210 and memory_arena_reuse.
13211 (arena_get2) [!PER_THREAD]: Likewise.
13212 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13213 memory_arena_reuse_realloc.
13214 * manual/probes.texi: Document them.
13216 * malloc/malloc.c (__libc_free): Add
13217 memory_mallopt_free_dyn_thresholds probe.
13218 (__libc_mallopt): Add multiple memory_mallopt probes.
13219 * manual/probes.texi: Document them.
13221 * malloc/malloc.c: Include stap-probe.h.
13222 (__libc_mallopt): Add memory_mallopt probe.
13223 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13224 * manual/probes.texi: New.
13225 * manual/Makefile (chapters): Add probes.
13226 * manual/threads.texi: Set next node.
13228 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13230 [BZ #15963, #13985]
13231 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13232 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13233 Add `Chinese' to `nan' entry name.
13235 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13237 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13238 (POLYNOMIAL): Likewise.
13239 (TAYLOR_SINCOS): Likewise.
13240 (TAYLOR_SLOW): Likewise.
13241 (__sin): Use TAYLOR_SINCOS.
13243 (slow): Use TAYLOR_SLOW.
13245 (bsloww): Likewise.
13246 (csloww): Likewise.
13248 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13250 * stdlib/strtod_l.c: Fix buffer overrun.
13252 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13254 * benchtests/Makefile (bench): Add sincos.
13255 * benchtests/bench-sincos.c: New file.
13257 * math/libm-test.inc (cos_test_data): New test inputs.
13258 (sin_test_data): Likewise.
13260 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13266 (sloww1): Likewise.
13267 (sloww2): Likewise.
13268 (bsloww1): Likewise.
13269 (bsloww2): Likewise.
13270 (cslow2): Likewise.
13271 (csloww1): Likewise.
13272 (csloww2): Likewise.
13274 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13279 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13283 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13285 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13286 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13287 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13288 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13289 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13290 * elf/cache.c (print_entry): Handle the new cache flags.
13292 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13293 Aldy Hernandez <aldyh@redhat.com>
13295 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13296 Change condition to [_SOFT_FLOAT].
13297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13304 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13306 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13309 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13311 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13312 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13315 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13317 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13318 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13319 (__longjmp): Use LOAD_GP to load saved GPRs.
13320 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13321 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13322 (__sigsetjmp): Use SAVE_GP to save GPRs.
13324 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13325 Do not append -msoft-float.
13326 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13328 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13330 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13332 2013-09-17 Joseph Myers <joseph@codesourcery.com>
13335 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13336 (_FPU_GETCW): Use initial "__" on variable and field names but not
13337 on macro parameter name.
13338 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13339 parentheses around reference to macro parameter.
13341 2013-09-13 Richard Sandiford <richard@codesourcery.com>
13343 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13345 (ctype_startup): Use uint32_t in cast and sizeof for
13348 2013-09-11 Jia Liu <proljc@gmail.com>
13350 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13352 [__FreeBSD__]: Likewise.
13354 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
13356 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13357 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13358 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13359 (strchr): Remove __strchr_sse42 ifunc selection.
13360 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13361 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13363 2013-09-11 Will Newton <will.newton@linaro.org>
13365 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13366 parameter to RES. Remove hardcoded 1000 value.
13367 * benchtests/bench-skeleton.c (main): Pass RES parameter
13368 to TIMING_INIT and multiply result by 1000.
13370 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13374 2013-09-11 Andreas Schwab <schwab@suse.de>
13376 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13378 (O_TMPFILE) [__USE_GNU]: Define.
13379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13382 2013-09-11 Will Newton <will.newton@linaro.org>
13385 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13388 2013-09-11 Will Newton <will.newton@linaro.org>
13391 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13394 2013-09-11 Will Newton <will.newton@linaro.org>
13397 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13400 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
13402 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13403 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13404 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13405 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13406 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13408 2013-09-10 Allan McRae <allan@archlinux.org>
13411 * manual/arith.texi (Parsing of Floats): Clarify
13415 * manual/install.texi (Running make install): Mention
13417 * INSTALL: Regenerated.
13419 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13421 * csu/init-first.c (_init): Remove the !SHARED condition around
13422 FPU control word initialization.
13423 * elf/dl-support.c (_dl_fpu_control): New variable.
13424 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13425 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13426 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13427 * math/test-fpucw-static.c: New file.
13428 * math/test-fpucw-ieee.c: New file.
13429 * math/test-fpucw-ieee-static.c: New file.
13430 * math/Makefile (tests): Add `test-fpucw-ieee' and
13432 (tests-static): New variable.
13433 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13435 [($(build-shared),yes)]
13436 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13438 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13441 2013-09-09 Allan McRae <allan@archlinux.org>
13444 * manual/string.texi (Collation Functions): Fix typo in
13446 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13449 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13452 * libio/memstream.c (open_memstream): Fix memory leak.
13453 * libio/wmemstream.c (open_wmemstream): Likewise.
13456 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13458 2013-09-09 Will Newton <will.newton@linaro.org>
13460 * malloc/Makefile: Add tst-realloc to tests.
13461 * malloc/tst-realloc.c: New file.
13463 2013-09-09 Allan McRae <allan@archlinux.org>
13466 * COPYING: Update from GNU website to fix FSF address.
13467 * COPYING.LIB: Likewise.
13469 2013-09-06 David S. Miller <davem@davemloft.net>
13471 * po/zh_TW.po: Update Chinese (traditional) translation from
13472 translation project.
13474 2013-09-06 Richard Sandiford <richard@codesourcery.com>
13475 Joseph Myers <joseph@codesourcery.com>
13477 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13479 (obstack_chunk_alloc): New macro.
13480 (obstack_chunk_free): Likewise.
13481 (record_offset): New function.
13482 (init_locale_data): Likewise.
13483 (align_locale_data): Likewise.
13484 (add_locale_empty): Likewise.
13485 (add_locale_raw_data): Likewise.
13486 (add_locale_raw_obstack): Likewise.
13487 (add_locale_string): Likewise.
13488 (add_locale_wstring): Likewise.
13489 (add_locale_uint32): Likewise.
13490 (add_locale_uint32_array): Likewise.
13491 (add_locale_char): Likewise.
13492 (start_locale_structure): Likewise.
13493 (end_locale_structure): Likewise.
13494 (start_locale_prelude): Likewise.
13495 (end_locale_prelude): Likewise.
13496 (write_locale_data): Take locale_file structure rather than an
13498 * locale/programs/locfile.h: Include "obstack.h".
13499 (struct locale_file): Change to store locale file contents instead
13501 (init_locale_data): New prototype.
13502 (align_locale_data): Likewise.
13503 (add_locale_empty): Likewise.
13504 (add_locale_raw_data): Likewise.
13505 (add_locale_raw_obstack): Likewise.
13506 (add_locale_string): Likewise.
13507 (add_locale_wstring): Likewise.
13508 (add_locale_uint32): Likewise.
13509 (add_locale_uint32_array): Likewise.
13510 (add_locale_char): Likewise.
13511 (start_locale_structure): Likewise.
13512 (end_locale_structure): Likewise.
13513 (start_locale_prelude): Likewise.
13514 (end_locale_prelude): Likewise.
13515 (write_locale_data): Update prototype.
13516 * locale/programs/3level.h (struct TABLE): Remove result field.
13517 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13518 Use new locale_file interface.
13519 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13520 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13521 * locale/programs/ld-address.c (address_output): Use new
13522 locale_file interface.
13523 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13525 (collate_finish): Don't call collseq_table_finalize.
13526 (collate_output): Use new locale_file interface.
13527 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13529 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13530 (TABLE): Move defines earlier in file.
13531 (ELEMENT): Likewise.
13532 (DEFAULT): Likewise.
13533 (wctrans_table_add): Move macro and inline function earlier in
13535 (struct wctype_table): Move type earlier in file.
13536 (add_locale_wctype_table): New static prototype.
13537 (struct locale_ctype_t): Use logical types instead of struct iovec
13538 pointers for members.
13539 (ctype_output): Use new locale_file interface.
13540 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13541 new locale_file interface.
13542 (allocate_arrays): Update for use of new locale_file interface.
13543 * locale/programs/ld-identification.c (identification_output): Use
13544 new locale_file interface.
13545 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13546 * locale/programs/ld-messages.c (messages_output): Likewise.
13547 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13548 * locale/programs/ld-name.c (name_output): Likewise.
13549 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13550 * locale/programs/ld-paper.c (paper_output): Likewise.
13551 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13552 * locale/programs/ld-time.c (time_output): Likewise.
13554 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13556 * benchtests/Makefile: Add memrchr benchmark.
13557 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13558 benchmark as memrchr.
13559 * benchtests/bench-memrchr-ifunc.c: New file.
13560 * benchtests/bench-memrchr.c: New file.
13562 2013-09-06 Will Newton <will.newton@linaro.org>
13564 * benchtests/Makefile (string-bench): Add memcpy.
13566 2013-09-05 Carlos O'Donell <carlos@redhat.com>
13567 Cong Wang <amwang@redhat.com>
13570 * sysdeps/unix/sysv/linux/bits/in.h
13571 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13572 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13573 before __USE_KERNEL_IPV6_DEFS uses.
13574 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13576 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13577 sockaddr_in6, or ipv6_mreq.
13579 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13581 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13582 memory access for final bytes in some large inputs.
13583 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13585 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13587 * string/test-memrchr.c: New file.
13588 * string/test-memrchr-ifunc.c: New file.
13589 * string/Makefile: Add new memrchr testcase.
13591 2013-09-05 Mike Frysinger <vapier@gentoo.org>
13593 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13594 fanotify_init returns EPERM.
13596 2013-09-04 Joseph Myers <joseph@codesourcery.com>
13598 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13600 (top level): Treat second token from macro or constant entries for
13601 allowed headers as allowed.
13602 * include/complex.h: Condition internal declarations on
13604 * include/fenv.h: Condition include of <stdbool.h> and internal
13605 declarations on [!_ISOMAC].
13607 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13610 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13612 2013-09-04 Joseph Myers <joseph@codesourcery.com>
13614 * configure.in (--enable-versioning): Remove configure option.
13615 (libc_cv_asm_symver_directive): Remove configure test.
13616 (libc_cv_ld_version_script_option): Likewise.
13617 (VERSIONING): Remove variable and AC_SUBST.
13618 (DO_VERSIONING): Remove AC_DEFINE.
13619 * configure: Regenerated.
13620 * config.h.in (DO_VERSIONING): Remove macro.
13621 * Makerules [$(versioning) = yes]: Change conditionals to
13622 [$(build-shared) = yes].
13623 * config.make.in (versioning): Remove variable.
13624 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13625 [$(build-shared) = yes].
13626 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13627 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13628 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13629 [$(build-shared) = yes].
13630 * extra-lib.mk [$(versioning) = yes]: Likewise.
13631 * hurd/Makefile [$(versioning) = yes]: Likewise.
13632 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13634 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13636 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13637 [SHARED && !NO_HIDDEN].
13638 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13640 [SHARED && DO_VERSIONING]: Likewise..
13641 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13642 [$(build-shared) = yes].
13643 * manual/install.texi (--disable-versioning): Remove
13645 * INSTALL: Regenerated.
13646 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13648 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13649 [$(build-shared) = yes].
13650 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13651 * sysdeps/i386/i686/multiarch/strstr-c.c
13652 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13653 [SHARED && !NO_HIDDEN].
13654 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13655 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13656 * sysdeps/powerpc/powerpc32/dl-machine.c
13657 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13658 * sysdeps/powerpc/powerpc32/sysdep.h
13659 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13660 to [SHARED && PIC && !NO_HIDDEN].
13661 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13662 conditional to [SHARED].
13664 2013-09-04 Will Newton <will.newton@linaro.org>
13666 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13667 * benchtests/bench-string.h: Include bench-timing.h instead
13668 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13669 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13670 call to HP_TIMING_DIFF_INIT.
13671 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13672 instead of hp-timing.h macros.
13673 * benchtests/bench-memchr.c: Likewise.
13674 * benchtests/bench-memcmp.c: Likewise.
13675 * benchtests/bench-memcpy.c: Likewise.
13676 * benchtests/bench-memmem.c: Likewise.
13677 * benchtests/bench-memmove.c: Likewise.
13678 * benchtests/bench-memset.c: Likewise.
13679 * benchtests/bench-rawmemchr.c: Likewise.
13680 * benchtests/bench-strcasecmp.c: Likewise.
13681 * benchtests/bench-strcasestr.c: Likewise.
13682 * benchtests/bench-strcat.c: Likewise.
13683 * benchtests/bench-strchr.c: Likewise.
13684 * benchtests/bench-strcmp.c: Likewise.
13685 * benchtests/bench-strcpy.c: Likewise.
13686 * benchtests/bench-strcpy_chk.c: Likewise.
13687 * benchtests/bench-strlen.c: Likewise.
13688 * benchtests/bench-strncasecmp.c: Likewise.
13689 * benchtests/bench-strncat.c: Likewise.
13690 * benchtests/bench-strncmp.c: Likewise.
13691 * benchtests/bench-strncpy.c: Likewise.
13692 * benchtests/bench-strnlen.c: Likewise.
13693 * benchtests/bench-strpbrk.c: Likewise.
13694 * benchtests/bench-strrchr.c: Likewise.
13695 * benchtests/bench-strspn.c: Likewise.
13696 * benchtests/bench-strstr.c: Likewise.
13698 2013-09-04 Will Newton <will.newton@linaro.org>
13700 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13702 2013-09-03 Joseph Myers <joseph@codesourcery.com>
13705 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13706 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13707 * math/libm-test.inc (lgamma_test_data): Add more tests.
13708 * sysdeps/i386/fpu/libm-test-ulps: Update.
13709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13711 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
13713 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13714 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13717 Add strcmp-sse2-unaligned
13718 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13720 2013-09-02 Mike Frysinger <vapier@gentoo.org>
13722 * Versions.def (libc): Add GLIBC_2.19.
13724 2013-09-02 Mike Frysinger <vapier@gentoo.org>
13726 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13727 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13729 2013-09-02 Joseph Myers <joseph@codesourcery.com>
13732 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13733 intermediate calculations in recurrence.
13734 (__ieee754_ynf): Likewise.
13735 * math/libm-test.inc (jn_test_data): Do not allow spurious
13736 underflow exception. Add more tests.
13737 (yn_test_data): Add more tests.
13738 * sysdeps/i386/fpu/libm-test-ulps: Update.
13739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13741 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
13743 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13745 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13747 * csu/init-first.c: Fix then/than typos.
13748 * locale/programs/ld-collate.c: Likewise.
13749 * locale/programs/linereader.h: Likewise.
13750 * manual/charset.texi: Likewise.
13751 * manual/filesys.texi: Likewise.
13752 * manual/stdio.texi: Likewise.
13753 * manual/string.texi: Likewise.
13754 * stdlib/fmtmsg.c: Likewise.
13755 * sysdeps/i386/stpncpy.S: Likewise.
13756 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13757 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13758 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13759 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13761 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13763 * elf/dl-open.c: Fix typos.
13764 * iconvdata/gbbig5.c: Likewise.
13765 * iconvdata/iso-2022-jp.c: Likewise.
13766 * iconv/gconv_int.h: Likewise.
13767 * iconv/loop.c: Likewise.
13768 * nis/rpcsvc/nis.h: Likewise.
13769 * resolv/ns_name.c: Likewise.
13770 * stdio-common/vfscanf.c: Likewise.
13771 * streams/stropts.h: Likewise.
13772 * sunrpc/rpc_thread.c: Likewise.
13773 * sysdeps/i386/strpbrk.S: Likewise.
13774 * sysdeps/ieee754/k_standard.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13777 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13778 * sysdeps/mach/hurd/profil.c: Likewise.
13779 * sysdeps/s390/dl-procinfo.h: Likewise.
13780 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13781 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13782 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13783 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13784 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13786 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13788 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13789 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13791 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
13793 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13794 aix specific files.
13795 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13796 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13797 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13798 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13799 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13800 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13801 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13802 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13804 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13805 Roland McGrath <roland@hack.frob.com>
13807 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13808 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13810 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13812 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13813 __executable_start symbol instead of _start.
13815 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13817 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13818 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13820 * sysdeps/gnu/ldsodefs.h: ... this new file.
13822 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13823 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13824 instead of ELFOSABI_LINUX.
13826 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13827 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13828 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13829 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13831 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13832 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13833 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13835 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13836 (ibm_extended_long_double): Add ieee_nan member.
13837 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13838 (do_test): New function.
13840 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13842 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13843 functions, renamed from truncdfsf_test, trunctfsf_test,
13845 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13847 (do_test): Run all these.
13849 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
13851 * argp/argp-help.c: Fix typos.
13852 * argp/argp-parse.c: Likewise.
13853 * debug/backtracesyms.c: Likewise.
13854 * elf/elf.h: Likewise.
13855 * malloc/malloc.c: Likewise.
13856 * nis/nis_print.c: Likewise.
13857 * resolv/res_comp.c: Likewise.
13858 * stdlib/stdlib.h: Likewise.
13859 * sunrpc/clnt_tcp.c: Likewise.
13860 * sunrpc/clnt_udp.c: Likewise.
13861 * sunrpc/clnt_unix.c: Likewise.
13862 * sysdeps/unix/bsd/ptsname.c: Likewise.
13863 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13864 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13871 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13873 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13875 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13878 2013-08-27 Mike Frysinger <vapier@gentoo.org>
13881 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13882 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13883 ($(objpfx)bug-dl-leaf): New rule.
13884 ($(objpfx)bug-dl-leaf.so): Likewise.
13885 ($(objpfx)bug-dl-leaf.out): Likewise.
13886 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13887 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13888 * dlfcn/bug-dl-leaf.c: New test.
13889 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13890 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13891 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13892 (dlclose): Likewise.
13893 (dlmopen): Likewise.
13895 2013-08-27 Roland McGrath <roland@hack.frob.com>
13897 * include/netdb.h [!_ISOMAC]:
13898 Don't include <tls.h>.
13899 (h_errno, __libc_h_errno): Move declaration and macros out of
13902 * include/resolv.h [_RESOLV_H_]:
13903 Don't include <tls.h>.
13904 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13905 * resolv/res_libc.c: Don't include <tls.h>.
13906 (_res): Use __attribute__ ((nocommon)) in place of
13907 __attribute__ ((section (".bss"))).
13909 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13910 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13912 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13914 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13915 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13917 * resolv/res_mkquery.c: Include <sys/time.h>.
13919 * inet/ifreq.c: Moved to ...
13920 * sysdeps/unix/ifreq.c: ... here.
13921 * inet/ifreq.c: New file, true stub version.
13923 * socket/sa_len.c: New file.
13924 * socket/Makefile (aux): Add it.
13925 * sysdeps/unix/sysv/linux/Makefile
13926 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13927 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13928 and #include <socket/sa_len.c>.
13929 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13930 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13932 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13933 * bits/socket.h: ... here.
13935 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13936 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13937 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13939 2013-08-27 Andreas Schwab <schwab@suse.de>
13942 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13943 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13944 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13945 * string/test-strcasecmp.c (test_main): Run tests in several
13947 * string/test-strncasecmp.c (test_main): Likewise.
13949 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13950 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13951 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13952 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13953 (__strncasecmp_ssse3) [PIC]: Likewise.
13955 2013-08-26 Roland McGrath <roland@hack.frob.com>
13957 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13959 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13960 instead of explicitly declaring xdecrypt.
13961 * nis/nss_nis/nis-publickey.c: Likewise.
13963 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13966 * nscd/aicache.c: Include res_hconf.h.
13967 (addhstaiX): Initialize res_hconf.
13969 2013-08-26 Andreas Schwab <schwab@suse.de>
13971 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13972 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13974 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13976 * nscd/aicache.c (addhstaiX): Fix indentation.
13978 2013-08-25 Mike Frysinger <vapier@gentoo.org>
13980 * configure.ac: Quote $build_pt_chown test.
13981 * configure: Regenerated.
13983 2013-08-23 Joseph Myers <joseph@codesourcery.com>
13986 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13987 * math/s_cexpf.c (__cexpf): Likewise.
13988 * math/s_cexpl.c (__cexpl): Likewise.
13989 * math/libm-test.inc (cexp_test_data): Correct expected return
13990 value for NaN + i0. Add another test.
13992 2013-08-22 David S. Miller <davem@davemloft.net>
13994 * po/ca.po: Update Catalan translation from translation project.
13995 * po/uk.po: Add Ukrainian translations from translation project.
13997 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14000 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14001 is infinite, not alongside NaN test.
14002 * math/s_fdimf.c (__fdimf): Likewise.
14003 * math/s_fdiml.c (__fdiml): Likewise.
14004 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14005 errno is unchanged.
14007 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14009 * argp/argp-help.c: Fix typos.
14010 * crypt/speeds.c: Likewise.
14011 * csu/check_fds.c: Likewise.
14012 * elf/dl-load.c: Likewise.
14013 * elf/dl-open.c: Likewise.
14014 * elf/reldep3.c: Likewise.
14015 * elf/reldep.c: Likewise.
14016 * elf/sprof.c: Likewise.
14017 * iconv/iconv_charmap.c: Likewise.
14018 * iconv/skeleton.c: Likewise.
14019 * iconv/strtab.c: Likewise.
14020 * io/lockf64.c: Likewise.
14021 * libio/libioP.h: Likewise.
14022 * resolv/gai_notify.c: Likewise.
14023 * resolv/ns_name.c: Likewise.
14024 * resolv/ns_samedomain.c: Likewise.
14025 * resolv/res_send.c: Likewise.
14026 * stdlib/random.c: Likewise.
14027 * sunrpc/rpc/xdr.h: Likewise.
14028 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14029 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14030 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14031 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14032 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14033 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14034 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14035 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14036 * sysdeps/mach/hurd/check_fds.c: Likewise.
14037 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14038 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14039 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14040 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14041 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14042 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14043 * sysdeps/pthread/aio_notify.c: Likewise.
14044 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14045 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14046 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14047 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14048 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14050 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14052 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14053 version if bit_Slow_SSE4_2 is set.
14054 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14055 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14057 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14060 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14061 trampoline stack frame information.
14062 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14063 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14064 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14065 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14066 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14067 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14068 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14069 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14071 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14072 interrupting a syscall and set with option SA_SIGINFO.
14074 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14077 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14078 argument is infinite.
14079 * math/s_cprojf.c (__cprojf): Likewise.
14080 * math/s_cprojl.c (__cprojl): Likewise.
14081 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14082 * math/libm-test.inc (cproj_test_data): Add more tests.
14084 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14086 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14087 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14088 size. Use __ffs to determine corresponding shift.
14090 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14091 Roland McGrath <roland@hack.frob.com>
14093 * Makefile (INSTALL): Remove trailing blank lines from output of
14096 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14098 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14099 Align 32 bit compat elf_greg to 8 bytes.
14101 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14103 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14105 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14107 * string/strcoll_l.c (coll_seq): New structure.
14108 (get_next_seq_cached): New function.
14109 (get_next_seq): New function.
14110 (do_compare): New function.
14111 (STRCOLL): Use GNU style definition. Simplify implementation
14112 by using get_next_seq, get_next_seq_cached and do_compare.
14114 2013-08-16 Florian Weimer <fweimer@redhat.com>
14118 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14120 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14122 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14123 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14124 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14126 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14127 GETDENTS_64BIT_ALIGNED.
14128 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14129 * manual/filesys.texi (Reading/Closing Directory): Document
14130 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14132 * manual/conf.texi (Limits for Files): Add portability note to
14133 NAME_MAX, PATH_MAX.
14134 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14136 2013-08-13 Andreas Schwab <schwab@suse.de>
14139 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14141 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14142 LDBL_MAX_EXP >= 16384]: Add tests for it.
14144 2013-08-12 David S. Miller <davem@davemloft.net>
14146 * version.h (RELEASE): Set to "development".
14147 (VERSION): Set to "2.18.90".
14148 * NEWS: Add 2.19 section.
14150 2013-08-03 David S. Miller <davem@davemloft.net>
14152 * po/ko.po: Update Korean translation from translation project.
14154 2013-08-01 David S. Miller <davem@davemloft.net>
14156 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14157 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14160 2013-07-30 David S. Miller <davem@davemloft.net>
14162 * po/fr.po: Update French translation from translation project.
14164 2013-07-28 David S. Miller <davem@davemloft.net>
14166 * po/cs.po: Update Czech translation from translation project.
14168 * po/sv.po: Update Swedish translation from translation project.
14170 2013-07-27 David S. Miller <davem@davemloft.net>
14172 * po/eo.po: Update Esperanto translation from translation project.
14174 * po/vi.po: Update Vietnamese translation from translation project.
14176 * po/de.po: Update German translation from translation project.
14178 2013-07-26 David S. Miller <davem@davemloft.net>
14180 * po/bg.po: Update Bulgarian translation from translation project.
14182 * po/nl.po: Update Dutch translation from translation project.
14183 * po/pl.po: Update Polish translation from translation project.
14184 * po/ru.po: Update Russian translation from translation project.
14186 2013-07-24 David S. Miller <davem@davemloft.net>
14188 * po/libc.pot: Update.
14190 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14192 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14193 variable page size.
14194 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14195 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14196 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14198 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14200 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14202 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14203 Andreas Schwab <schwab@suse.de>
14204 Roland McGrath <roland@hack.frob.com>
14205 Joseph Myers <joseph@codesourcery.com>
14206 Carlos O'Donell <carlos@redhat.com>
14209 * config.h.in: Define HAVE_PT_CHOWN.
14210 * config.make.in (build-pt-chown): New variable.
14211 * configure.in (--enable-pt_chown): New configure option.
14212 * configure: Regenerate.
14213 * login/Makefile: Include Makeconfig. Build pt_chown only if
14214 build-pt-chown is enabled.
14215 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14216 pt_chown to fix pty ownership.
14217 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14219 * manual/install.texi (Configuring and compiling): Mention
14220 --enable-pt_chown. Add @findex for grantpt.
14221 * INSTALL: Regenerate.
14223 2013-07-20 David S. Miller <davem@davemloft.net>
14225 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14226 difference between 32-bit and 64-bit.
14228 2013-07-15 Carlos O'Donell <carlos@redhat.com>
14231 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14232 Avoid system header dependency with -ffreestanding.
14233 ($(objpfx)bits/syscall%d): Likewise.
14235 2013-07-13 David S. Miller <davem@davemloft.net>
14237 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14238 underflows from atanl/atan2l due to bug 15319.
14239 (casinh_test_data): Likewise.
14241 2013-07-07 David S. Miller <davem@davemloft.net>
14243 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14245 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14247 * sysdeps/i386/fpu/libm-test-ulps: Update.
14248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14250 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14252 * configure.in (--enable-lock-elision): Fix message text.
14253 * INSTALL: Regenerate.
14254 * configure: Regenerate.
14256 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14260 2013-07-03 Andreas Jaeger <aj@suse.de>
14262 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14264 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14265 (ptrace_peeksiginfo_args): Add.
14266 (__ptrace_peeksiginfo_flags): Add.
14267 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14268 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14269 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14271 2013-07-03 Allan McRae <allan@archlinux.org>
14273 * sysdeps/i386/fpu/libm-test-ulps: Update.
14275 2013-07-02 David S. Miller <davem@davemloft.net>
14277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14279 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14283 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14285 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14288 2013-07-02 Andi Kleen <ak@linux.intel.com>
14290 * config.h.in (ENABLE_LOCK_ELISION): Add.
14291 * configure.in (--enable-lock-elision): Add option.
14292 * manual/install.texi: Document --enable lock elision.
14293 * configure: Regenerate
14294 * INSTALL: Regenerate.
14296 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14298 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14299 SSE4.2 strcasecmp for libc.a.
14300 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14302 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14305 * soft-fp/op-common.h (_FP_FMA): New macro.
14306 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14307 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14308 (_FP_MUL_MEAT_1_imm): ... here.
14309 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14310 (_FP_MUL_MEAT_1_wide): ... here.
14311 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14312 (_FP_MUL_MEAT_1_hard): ... here.
14313 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14314 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14315 (_FP_MUL_MEAT_2_wide): ... here.
14316 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14317 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14318 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14319 (_FP_MUL_MEAT_2_gmp): ... here.
14320 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14321 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14322 (_FP_MUL_MEAT_4_wide): ... here.
14323 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14324 (_FP_MUL_MEAT_4_gmp): ... here.
14325 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14326 (_FP_WFRACBITS_DW_S): Likewise.
14327 (_FP_WFRACXBITS_DW_S): Likewise.
14328 (_FP_HIGHBIT_DW_S): Likewise.
14329 (FP_FMA_S): Likewise.
14330 (_FP_FRAC_HIGH_DW_S): Likewise.
14331 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14332 (_FP_WFRACBITS_DW_D): Likewise.
14333 (_FP_WFRACXBITS_DW_D): Likewise.
14334 (_FP_HIGHBIT_DW_D): Likewise.
14335 (FP_FMA_D): Likewise.
14336 (_FP_FRAC_HIGH_DW_D): Likewise.
14337 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14338 (_FP_WFRACBITS_DW_E): Likewise.
14339 (_FP_WFRACXBITS_DW_E): Likewise.
14340 (_FP_HIGHBIT_DW_E): Likewise.
14341 (FP_FMA_E): Likewise.
14342 (_FP_FRAC_HIGH_DW_E): Likewise.
14343 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14344 (_FP_WFRACBITS_DW_Q): Likewise.
14345 (_FP_WFRACXBITS_DW_Q): Likewise.
14346 (_FP_HIGHBIT_DW_Q): Likewise.
14347 (FP_FMA_Q): Likewise.
14348 (_FP_FRAC_HIGH_DW_Q): Likewise.
14349 * soft-fp/fmasf4.c: New file.
14350 * soft-fp/fmadf4.c: Likewise.
14351 * soft-fp/fmatf4.c: Likewise.
14353 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14356 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14358 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14360 (index_Slow_SSE4_2): Likewise.
14361 (index_Prefer_PMINUB_for_stringop): Likewise.
14362 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14363 bit_Slow_SSE4_2 is set.
14364 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14365 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14367 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14369 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14370 rtld_global._dl_hwcap2.
14371 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14373 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14374 POWER8 feature descriptions defined in _dl_hwcap2.
14375 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14376 string handling for POWER8 feature bits.
14377 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14378 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14379 _dl_powerpc_cap_flags.
14380 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14381 * sysdeps/powerpc/rtld-global-offsets.sym
14382 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14383 _dl_hwcap2 in the rtld_global_ro structure.
14385 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14387 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14388 hardware capabilities in support of AT_HWCAP2.
14389 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14390 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14392 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14393 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14394 explicitly the unknown a_type display mechanism is used.
14395 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14396 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14398 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14399 to macro prototype for AT_HWCAP2 support.
14400 * sysdeps/i386/dl-procinfo.h: Likewise.
14401 * sysdeps/s390/dl-procinfo.h: Likewise.
14402 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14403 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14404 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14405 return -1 for unknown a_type display fallback.
14406 * sysdeps/sparc/dl-procinfo.h: Likewise.
14407 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14408 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14410 2013-06-28 Joseph Myers <joseph@codesourcery.com>
14412 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14413 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14415 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14418 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14419 mprotect making __stack_prot writable.
14421 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14422 Joseph Myers <joseph@codesourcery.com>
14424 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14425 as being properly aligned.
14427 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14429 * dlfcn/modstatic5.c: New file.
14430 * dlfcn/tststatic5.c: New file.
14431 * dlfcn/Makefile (tests): Add tststatic5.
14432 (tests-static): Likewise.
14433 (modules-names): Add modstatic5.
14434 (tststatic5-ENV): New variable.
14435 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14438 * elf/dl-support.c (_dl_main_map): New variable.
14439 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14440 (_dl_nns, _dl_load_adds): Set to 1.
14441 (_dl_initial_searchlist): Refer to _dl_main_map.
14442 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14443 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14444 call to _dl_get_origin.
14445 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14447 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14448 * dlfcn/modstatic3.c: New file.
14449 * dlfcn/tststatic3.c: New file.
14450 * dlfcn/tststatic4.c: New file.
14451 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14452 (tests-static): Likewise.
14453 (modules-names): Add modstatic3.
14454 (tststatic3-ENV, tststatic4-ENV): New variables.
14455 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14456 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14458 2013-06-26 Joseph Myers <joseph@codesourcery.com>
14460 * configure.in (CC): Require GCC version 4.4 or later.
14461 * configure: Regenerated.
14462 * manual/install.texi (Tools for Compilation): Update GCC version
14464 * INSTALL: Regenerated.
14466 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14469 * string/test-memcmp.c (check2): New.
14470 (main): Call check2.
14472 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14474 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14477 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14479 (dl_open_worker) [!SHARED]: ... here.
14481 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14483 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14485 2013-06-25 Richard Henderson <rth@redhat.com>
14487 * locale/programs/locarchive.c: Include <libc-internal.h>
14489 2013-06-25 Joseph Myers <joseph@codesourcery.com>
14491 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14492 trailing whitespace removed.
14494 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14497 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14498 * locale/programs/locarchive.c: Include libc-mmap.h.
14499 (prepare_address_space): Take two new outputs (the mmap base and len).
14500 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14502 (create_archive): Declare new mmap base and len values for
14503 prepare_address_space, and store the result in ah.
14504 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14505 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14506 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14507 Declare new mmap base and len values for
14508 prepare_address_space, and store the result in new_ah.
14509 (open_archive): Declare new mmap base and len values for
14510 prepare_address_space, and store the result in ah.
14511 (close_archive): If ah->mmap_base is not NULL, use that and
14512 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14513 * sysdeps/generic/libc-mmap.h: New file.
14515 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14517 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14518 (ALIGN_UP): Likewise.
14519 (PTR_ALIGN_DOWN): Likewise.
14520 (PTR_ALIGN_UP): Likewise.
14522 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14524 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14525 entry mapped to PPC_PLATFORM_POWER8.
14526 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14528 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14529 (_dl_string_platform): Add case for exporting platform position for
14531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14532 search path to sysdeps/powerpc/powerpc32/power8 directory.
14533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14534 search path to sysdeps/powerpc/powerpc64/power8 directory.
14535 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14536 power7 directories.
14537 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14538 power7 directories.
14540 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14542 * INSTALL: Regenerate.
14544 * nscd/connections.c (nscd_init): Fix comment.
14546 2013-06-22 Joseph Myers <joseph@codesourcery.com>
14548 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14551 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14552 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14554 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14556 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14558 (DL_DST_REQ_STATIC): Remove macro.
14560 2013-06-21 Joseph Myers <joseph@codesourcery.com>
14563 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14564 with a shift of 0 bits.
14566 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14568 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14571 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14574 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14576 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14578 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14579 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14580 accepts -fno-tree-loop-distribute-patterns.
14581 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14582 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14584 * string/memset.c (memset): Likewise.
14585 * string/test-memmove.c (simple_memmove): Disable loop transformation
14587 * string/test-memset.c (simple_memset): Likewise.
14588 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14589 * benchtests/bench-memset.c (simple_memset): Likewise.
14590 * configure: Regenerated.
14592 2013-06-20 Joseph Myers <joseph@codesourcery.com>
14594 * math/test-misc.c (main): Ignore fesetround failure when failures
14595 of subsequent rounding tests would be ignored.
14598 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14599 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14600 * math/fegetenv.c (__fegetenv): Return 0.
14601 * math/fegetexcept.c (fegetexcept): Return 0.
14602 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14604 * math/feholdexcpt.c (feholdexcept): Return 0.
14605 * math/fesetenv.c (__fesetenv): Return 0.
14606 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14607 argument FE_TONEAREST.
14608 * math/feupdateenv.c (__feupdateenv): Return 0.
14609 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14611 2013-06-18 Roland McGrath <roland@hack.frob.com>
14613 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14614 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14615 ($(objpfx)rtld-%.os rules): Use them.
14617 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14619 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14622 2013-06-17 Roland McGrath <roland@hack.frob.com>
14624 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14625 length of target pattern, then descending length of dependency pattern.
14626 * configure.in (AWK): Require gawk 3.1.2 or newer.
14627 * manual/install.texi (Tools for Compilation): Say that we do.
14628 * configure: Regenerated.
14630 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14631 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14632 * scripts/sysd-rules.awk: ... this new script.
14633 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14634 than a glob-style pattern.
14636 2013-06-17 Joseph Myers <joseph@codesourcery.com>
14638 * math/test-misc.c (main): Do not treat incorrectly rounded
14639 conversions as failure unless ROUNDING_TESTS passes.
14641 2013-06-15 Joseph Myers <joseph@codesourcery.com>
14644 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14645 restore exception state around main square root computation, then
14646 check for inexactness explicitly.
14648 * math/libm-test.inc (fma_test_data): Add another test.
14650 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14652 * manual/threads.texi (Non-POSIX Extensions): New document
14653 node. Document pthread_getattr_default_np and
14654 pthread_setattr_default_np.
14656 * Versions.def (libpthread): Add GLIBC_2.18.
14657 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14666 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14677 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14680 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14682 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14683 H.J. Lu <hjl.tools@gmail.com>
14686 * sysdeps/x86_64/rtld-memset.c: Remove file.
14687 * sysdeps/x86_64/rtld-memset.S: New file.
14689 2013-06-14 Joseph Myers <joseph@codesourcery.com>
14691 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14692 (test_in_one_mode): Take arguments for whether the rounding mode
14693 is supported for each floating-point type.
14694 (do_test): Pass new arguments to test_in_one_mode using
14697 2013-06-13 Roland McGrath <roland@hack.frob.com>
14699 * posix/tst-waitid.c (do_test): Distinguish different instances of
14700 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14701 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14702 before entering the kernel for waitpid.
14704 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14706 * NEWS: Fix note on clock function precision. Text by Roland
14709 2013-06-13 Roland McGrath <roland@hack.frob.com>
14711 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14712 it into place only when and if the sanity check passes.
14714 2013-06-13 Joseph Myers <joseph@codesourcery.com>
14716 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14717 output for whether conversion result is exact. Take argument
14718 indicating whether type is IBM long double.
14719 (round_for_all): Change need_exact field to ibm_ld.
14720 * stdlib/tst-strtod-round.c (struct exactness): New type.
14721 (struct test): Change bool ld_ok field to struct exactness exact.
14722 (TEST): Update all definitions for change to field.
14723 (tests): Regenerate array contents.
14724 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14725 field value. Check for IBM long double here.
14726 (do_test): Update calls to test_in_one_mode.
14728 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14731 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14732 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14734 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14737 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14738 generated by the compiler on loop optimizations.
14739 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14740 general definitions.
14742 2013-06-12 Joseph Myers <joseph@codesourcery.com>
14744 * math/bug-nextafter.c: Include <math-tests.h>.
14745 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14747 * math/bug-nexttoward.c: Include <math-tests.h>.
14748 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14750 * math/test-misc.c: Include <math-tests.h>.
14751 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14754 2013-06-12 Andreas Jaeger <aj@suse.de>
14756 * po/ia.po: Update Interlingua translation from translation
14759 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14761 * include/fenv.h: Include stdbool.h.
14762 (struct rm_ctx): New structure.
14763 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14765 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14766 (SET_RESTORE_ROUNDF): Likewise.
14767 (SET_RESTORE_ROUNDL): Likewise.
14768 (SET_RESTORE_ROUND_NOEX): Likewise.
14769 (SET_RESTORE_ROUND_NOEXF): Likewise.
14770 (SET_RESTORE_ROUND_NOEXL): Likewise.
14771 (SET_RESTORE_ROUND_53BIT): Likewise.
14772 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14773 (libc_feresetround_noexf_ctx): Likewise.
14774 (libc_feresetround_noexl_ctx): Likewise.
14775 (libc_feholdsetround_53bit_ctx): Likewise.
14776 (libc_feresetround_53bit_ctx): Likewise.
14777 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14778 (libc_feholdexcept_setround_sse_ctx): New function.
14779 (libc_fesetenv_sse_ctx): Likewise.
14780 (libc_feupdateenv_sse_ctx): Likewise.
14781 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14782 (libc_feholdexcept_setround_387_ctx): Likewise.
14783 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14784 (libc_feholdsetround_387_prec_ctx): Likewise.
14785 (libc_feholdsetround_387_ctx): Likewise.
14786 (libc_feholdsetround_387_53bit_ctx): Likewise.
14787 (libc_feholdsetround_sse_ctx): Likewise.
14788 (libc_feresetround_sse_ctx): Likewise.
14789 (libc_feresetround_387_ctx): Likewise.
14790 (libc_feupdateenv_387_ctx): Likewise.
14791 (libc_feholdexcept_setroundf_ctx): Define macro.
14792 (libc_fesetenvf_ctx): Likewise.
14793 (libc_feupdateenvf_ctx): Likewise.
14794 (libc_feholdsetroundf_ctx): Likewise.
14795 (libc_feresetroundf_ctx): Likewise.
14796 (libc_feholdexcept_setround_ctx): Likewise.
14797 (libc_fesetenv_ctx): Likewise.
14798 (libc_feupdateenv_ctx): Likewise.
14799 (libc_feholdsetround_ctx): Likewise.
14800 (libc_feresetround_ctx): Likewise.
14801 (libc_feholdexcept_setroundl_ctx): Likewise.
14802 (libc_feupdateenvl_ctx): Likewise.
14803 (libc_feholdsetroundl_ctx): Likewise.
14804 (libc_feresetroundl_ctx): Likewise.
14805 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14806 (libc_feresetround_53bit_ctx): Likewise.
14808 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14810 * locale/iso-639.def: Convert to UTF-8.
14812 2013-06-11 Joseph Myers <joseph@codesourcery.com>
14814 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14815 (EXCEPTION_TESTS_double): Likewise.
14816 (EXCEPTION_TESTS_long_double): Likewise.
14817 (EXCEPTION_TESTS): Likewise.
14818 * math/libm-test.inc (test_exceptions): Only test exceptions if
14819 EXCEPTION_TESTS (FLOAT).
14821 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14823 * benchtests/Makefile (string-bench): Add strcpy_chk and
14825 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14826 * benchtests/bench-stpcpy_chk.c: New file.
14827 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14828 * benchtests/bench-strcpy_chk.c: New file.
14829 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14831 (do_test): Likewise.
14833 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14835 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14836 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14837 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14838 with tabs where appropriate.
14839 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14841 [PPC_PLATFORM_PPC440]: Likewise.
14842 [PPC_PLATFORM_PPC464]: Likewise.
14843 [PPC_PLATFORM_PPC476]: Likewise.
14844 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14845 ppc464, and ppc476 platform strings merging from ports/
14848 2013-06-11 Andreas Schwab <schwab@suse.de>
14851 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14852 (from_ucs4_idx): Regenerate.
14853 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14854 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14855 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14856 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14857 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14858 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14859 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14860 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14861 from FROM_LOOP and TO_LOOP specific macros.
14862 (BODY): Handle combining characters.
14863 * iconvdata/BIG5HKSCS.irreversible: Update.
14864 * iconvdata/BIG5HKSCS.precomposed: New file.
14865 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14867 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14869 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14871 * include/sys/time.h: Fix indentation and add copyright header.
14873 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14874 (do_test): Likewise.
14875 * string/test-memchr.c (do_one_test): Likewise.
14876 (do_test): Likewise.
14877 * string/test-memcmp.c (do_one_test): Likewise.
14878 (do_test): Likewise.
14879 * string/test-memcpy.c (do_one_test): Likewise.
14880 (do_test): Likewise.
14881 * string/test-memmem.c (do_one_test): Likewise.
14882 (do_test): Likewise.
14883 (do_random_tests): Likewise.
14884 * string/test-memmove.c (do_one_test): Likewise.
14885 (do_test): Likewise.
14886 * string/test-memset.c (do_one_test): Likewise.
14887 (do_test): Likewise.
14888 * string/test-rawmemchr.c (do_one_test): Likewise.
14889 (do_test): Likewise.
14890 * string/test-strcasecmp.c (do_one_test): Likewise.
14891 (do_test): Likewise.
14892 * string/test-strcasestr.c (do_one_test): Likewise.
14893 (do_test): Likewise.
14894 * string/test-strcat.c (do_one_test): Likewise.
14895 (do_test): Likewise.
14896 * string/test-strchr.c (do_one_test): Likewise.
14897 (do_test): Likewise.
14898 * string/test-strcmp.c (do_one_test): Likewise.
14899 (do_test): Likewise.
14900 * string/test-strcpy.c (do_one_test): Likewise.
14901 (do_test): Likewise.
14902 * string/test-string.h: Likewise.
14903 (test_init): Likewise.
14904 * string/test-strlen.c (do_one_test): Likewise.
14905 (do_test): Likewise.
14906 * string/test-strncasecmp.c (do_one_test): Likewise.
14907 (do_test): Likewise.
14908 * string/test-strncat.c (do_one_test): Likewise.
14909 (do_test): Likewise.
14910 * string/test-strncmp.c (do_one_test): Likewise.
14911 (do_test_limit): Likewise.
14912 (do_test): Likewise.
14913 * string/test-strncpy.c (do_one_test): Likewise.
14914 (do_test): Likewise.
14915 * string/test-strnlen.c (do_one_test): Likewise.
14916 (do_test): Likewise.
14917 * string/test-strpbrk.c (do_one_test): Likewise.
14918 (do_test): Likewise.
14919 * string/test-strrchr.c (do_one_test): Likewise.
14920 (do_test): Likewise.
14921 * string/test-strspn.c (do_one_test): Likewise.
14922 (do_test): Likewise.
14923 * string/test-strstr.c (do_one_test): Likewise.
14924 (do_test): Likewise.
14926 * benchtests/Makefile (string-bench): Add string benchmarks.
14927 * benchtests/bench-bcopy-ifunc.c: New file.
14928 * benchtests/bench-bcopy.c: New file.
14929 * benchtests/bench-bzero-ifunc.c: New file.
14930 * benchtests/bench-bzero.c: New file.
14931 * benchtests/bench-memccpy-ifunc.c: New file.
14932 * benchtests/bench-memccpy.c: New file.
14933 * benchtests/bench-memchr-ifunc.c: New file.
14934 * benchtests/bench-memchr.c: New file.
14935 * benchtests/bench-memcmp-ifunc.c: New file.
14936 * benchtests/bench-memcmp.c: New file.
14937 * benchtests/bench-memmem-ifunc.c: New file.
14938 * benchtests/bench-memmem.c: New file.
14939 * benchtests/bench-memmove-ifunc.c: New file.
14940 * benchtests/bench-memmove.c: New file.
14941 * benchtests/bench-mempcpy-ifunc.c: New file.
14942 * benchtests/bench-mempcpy.c: New file.
14943 * benchtests/bench-memset-ifunc.c: New file.
14944 * benchtests/bench-memset.c: New file.
14945 * benchtests/bench-rawmemchr-ifunc.c: New file.
14946 * benchtests/bench-rawmemchr.c: New file.
14947 * benchtests/bench-stpcpy-ifunc.c: New file.
14948 * benchtests/bench-stpcpy.c: New file.
14949 * benchtests/bench-stpncpy-ifunc.c: New file.
14950 * benchtests/bench-stpncpy.c: New file.
14951 * benchtests/bench-strcasecmp-ifunc.c: New file.
14952 * benchtests/bench-strcasecmp.c: New file.
14953 * benchtests/bench-strcasestr-ifunc.c: New file.
14954 * benchtests/bench-strcasestr.c: New file.
14955 * benchtests/bench-strcat-ifunc.c: New file.
14956 * benchtests/bench-strcat.c: New file.
14957 * benchtests/bench-strchr-ifunc.c: New file.
14958 * benchtests/bench-strchr.c: New file.
14959 * benchtests/bench-strchrnul-ifunc.c: New file.
14960 * benchtests/bench-strchrnul.c: New file.
14961 * benchtests/bench-strcmp-ifunc.c: New file.
14962 * benchtests/bench-strcmp.c: New file.
14963 * benchtests/bench-strcpy-ifunc.c: New file.
14964 * benchtests/bench-strcpy.c: New file.
14965 * benchtests/bench-strcspn-ifunc.c: New file.
14966 * benchtests/bench-strcspn.c: New file.
14967 * benchtests/bench-strlen-ifunc.c: New file.
14968 * benchtests/bench-strlen.c: New file.
14969 * benchtests/bench-strncasecmp-ifunc.c: New file.
14970 * benchtests/bench-strncasecmp.c: New file.
14971 * benchtests/bench-strncat-ifunc.c: New file.
14972 * benchtests/bench-strncat.c: New file.
14973 * benchtests/bench-strncmp-ifunc.c: New file.
14974 * benchtests/bench-strncmp.c: New file.
14975 * benchtests/bench-strncpy-ifunc.c: New file.
14976 * benchtests/bench-strncpy.c: New file.
14977 * benchtests/bench-strnlen-ifunc.c: New file.
14978 * benchtests/bench-strnlen.c: New file.
14979 * benchtests/bench-strpbrk-ifunc.c: New file.
14980 * benchtests/bench-strpbrk.c: New file.
14981 * benchtests/bench-strrchr-ifunc.c: New file.
14982 * benchtests/bench-strrchr.c: New file.
14983 * benchtests/bench-strspn-ifunc.c: New file.
14984 * benchtests/bench-strspn.c: New file.
14985 * benchtests/bench-strstr-ifunc.c: New file.
14986 * benchtests/bench-strstr.c: New file.
14988 * benchtests/Makefile: Disable parallel execution of targets.
14989 (string-bench): Add memcpy.
14990 (benchset): New variable to store a list of benchmark sets.
14991 (bench-func): Renamed from bench.
14992 (bench-set): New target.
14993 (bench): Depend on bench-func and bench-set.
14994 * benchtests/README: Add section on benchmark sets.
14995 * benchtests/bench-memcpy-ifunc.c: New file.
14996 * benchtests/bench-memcpy.c: New file.
14997 * benchtests/bench-string.h: New file.
14999 2013-06-11 Andreas Schwab <schwab@suse.de>
15002 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15003 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15004 values in the triple.
15005 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15006 terminator in the group key.
15008 2013-06-11 Andreas Jaeger <aj@suse.de>
15010 * po/zh_TW.po: Update Chinese (traditional) translation from
15011 translation project.
15013 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15015 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15016 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15017 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15018 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15019 (clock_getcpuclockid): Likewise.
15020 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15021 Add weak_alias and libc_hidden_def.
15022 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15023 * rt/clock_gettime.c (clock_gettime): Rename to
15024 __clock_gettime. Add weak_alias and libc_hidden_def.
15025 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15026 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15027 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15028 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15029 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15031 * rt/clock_settime.c (clock_settime): Rename to
15032 __clock_settime. Add weak_alias and libc_hidden_def.
15033 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15035 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15037 * mach/err_boot.sub: Remove trailing whitespace.
15038 * mach/err_ipc.sub: Likewise.
15039 * mach/err_mach.sub: Likewise.
15041 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15042 (ROUNDING_TESTS_double): Likewise.
15043 (ROUNDING_TESTS_long_double): Likewise.
15044 (ROUNDING_TESTS): Likewise.
15045 * math/libm-test.inc: Include <math-tests.h>.
15046 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15047 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15048 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15049 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15051 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15053 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15056 2013-06-08 Joseph Myers <joseph@codesourcery.com>
15058 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15059 otherwise empty TRANS lines.
15060 * sysdeps/gnu/errlist.c: Regenerated.
15062 * catgets/gencat.c (error_print): Use (void) in function
15064 * crypt/crypt_util.c (__init_des): Likewise.
15065 * crypt/speeds.c (Stop): Likewise.
15067 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15068 * inet/ruserpass.c (token): Likewise.
15069 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15070 * intl/localealias.c (extend_alias_table): Likewise.
15071 * intl/plural-exp.c (init_germanic_plural): Likewise.
15072 * libio/fcloseall.c (__fcloseall): Likewise.
15073 * libio/genops.c (_IO_flush_all): Likewise.
15074 (_IO_flush_all_linebuffered): Likewise.
15075 (_IO_cleanup): Likewise.
15076 (_IO_iter_begin): Likewise.
15077 (_IO_iter_end): Likewise.
15078 (_IO_list_lock): Likewise.
15079 (_IO_list_unlock): Likewise.
15080 (_IO_list_resetlock): Likewise.
15081 * libio/getchar.c (getchar): Likewise.
15082 * libio/getchar_u.c (getchar_unlocked): Likewise.
15083 * libio/getwchar.c (getwchar): Likewise.
15084 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15085 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15086 * login/getpt.c (__getpt): Likewise.
15087 * login/tst-utmp.c (main): Likewise.
15088 * malloc/hooks.c (__malloc_check_init): Likewise.
15089 * malloc/malloc.c (__malloc_stats): Likewise.
15090 * malloc/mtrace.c (tr_break): Likewise.
15091 (mtrace): Likewise.
15092 (muntrace): Likewise.
15093 * misc/fstab.c (endfsent): Likewise.
15094 * misc/getclktck.c (__getclktck): Likewise.
15095 * misc/getdtsz.c (__getdtablesize): Likewise.
15096 * misc/gethostid.c (gethostid): Likewise.
15097 * misc/getpagesize.c (__getpagesize): Likewise.
15098 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15099 (__get_nprocs): Likewise.
15100 (__get_phys_pages): Likewise.
15101 (__get_avphys_pages): Likewise.
15102 * misc/getttyent.c (getttyent): Likewise.
15103 (setttyent): Likewise.
15104 (endttyent): Likewise.
15105 * misc/getusershell.c (getusershell): Likewise.
15106 (endusershell): Likewise.
15107 (setusershell): Likewise.
15108 (initshells): Likewise.
15109 * misc/hsearch.c (__hdestroy): Likewise.
15110 * misc/sync.c (sync): Likewise.
15111 * misc/syslog.c (closelog_internal): Likewise.
15112 (closelog): Likewise.
15113 * misc/ttyslot.c (ttyslot): Likewise.
15114 * misc/vhangup.c (vhangup): Likewise.
15115 * posix/fork.c (__fork): Likewise.
15116 * posix/getegid.c (__getegid): Likewise.
15117 * posix/geteuid.c (__geteuid): Likewise.
15118 * posix/getgid.c (__getgid): Likewise.
15119 * posix/getpid.c (__getpid): Likewise.
15120 * posix/getppid.c (__getppid): Likewise.
15121 * posix/getuid.c (__getuid): Likewise.
15122 * posix/pause.c (pause): Likewise.
15123 * posix/setpgrp.c (setpgrp): Likewise.
15124 * posix/setsid.c (__setsid): Likewise.
15125 * posix/test-vfork.c (noop): Likewise.
15126 * resolv/gethnamaddr.c (_endhtent): Likewise.
15127 (_gethtent): Likewise.
15128 (ht_endhostent): Likewise.
15129 (gethostent): Likewise.
15130 (dns_service): Likewise.
15131 * stdlib/drand48.c (drand48): Likewise.
15132 * stdlib/lrand48.c (lrand48): Likewise.
15133 * stdlib/mrand48.c (mrand48): Likewise.
15134 * stdlib/rand.c (rand): Likewise.
15135 * stdlib/random.c (__random): Likewise.
15136 * stdlib/setenv.c (clearenv): Likewise.
15137 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15138 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15139 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15140 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15141 (__get_nprocs): Likewise.
15142 (__get_phys_pages): Likewise.
15143 (__get_avphys_pages): Likewise.
15144 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15145 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15146 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15147 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15148 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15149 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15150 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15151 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15152 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15153 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15154 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15155 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15156 * sysdeps/posix/clock.c (clock): Likewise.
15157 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15158 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15159 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15160 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15161 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15162 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15163 (__get_nprocs_conf): Likewise.
15164 (__get_phys_pages): Likewise.
15165 (__get_avphys_pages): Likewise.
15166 * time/clock.c (clock): Likewise.
15167 * time/tzset.c (__tzname_max): Likewise.
15169 2013-06-07 Joseph Myers <joseph@codesourcery.com>
15171 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15172 (__bswap_32): Do not use "register".
15173 * crypt/crypt.c (_ufc_doit_r): Likewise.
15174 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15175 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15176 * gmon/gmon.c (__monstartup): Likewise.
15177 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15178 * hurd/hurdmalloc.c (more_memory): Likewise.
15179 (malloc): Likewise.
15181 (realloc): Likewise.
15182 (malloc_fork_prepare): Likewise.
15183 (malloc_fork_parent): Likewise.
15184 (malloc_fork_child): Likewise.
15185 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15186 (_svcauth_des): Likewise.
15187 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15188 * inet/inet_net.c (inet_network): Likewise.
15189 * inet/inet_netof.c (inet_netof): Likewise.
15190 * inet/rcmd.c (__validuser2_sa): Likewise.
15191 * io/fts.c (fts_open): Likewise.
15192 (fts_load): Likewise.
15193 (fts_close): Likewise.
15194 (fts_read): Likewise.
15195 (fts_children): Likewise.
15196 (fts_build): Likewise.
15197 (fts_stat): Likewise.
15198 (fts_sort): Likewise.
15199 (fts_alloc): Likewise.
15200 (fts_lfree): Likewise.
15201 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15202 (_IO_file_xsgetn): Likewise.
15203 (_IO_file_xsgetn_mmap): Likewise.
15204 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15205 (_IO_cookie_write): Likewise.
15206 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15207 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15208 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15209 * malloc/obstack.c (_obstack_begin): Likewise.
15210 (_obstack_begin_1): Likewise.
15211 (_obstack_newchunk): Likewise.
15212 (_obstack_allocated_p): Likewise.
15213 (obstack_free): Likewise.
15214 (_obstack_memory_used): Likewise.
15215 * misc/getttyent.c (getttynam): Likewise.
15216 (getttyent): Likewise.
15219 * misc/getusershell.c (initshells): Likewise.
15220 * misc/syslog.c (__vsyslog_chk): Likewise.
15221 * misc/ttyslot.c (ttyslot): Likewise.
15222 * nis/nis_hash.c (__nis_hash): Likewise.
15223 * posix/fnmatch_loop.c (FCT): Likewise.
15224 * posix/getconf.c (print_all): Likewise.
15226 * posix/getopt.c (exchange): Likewise.
15227 * posix/glob.c (globfree): Likewise.
15228 (prefix_array): Likewise.
15229 (__glob_pattern_type): Likewise.
15230 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15231 (NS_GET32): Likewise.
15232 (NS_PUT16): Likewise.
15233 (NS_PUT32): Likewise.
15234 * resolv/gethnamaddr.c (getanswer): Likewise.
15235 (gethostbyname2): Likewise.
15236 (gethostbyaddr): Likewise.
15237 (_gethtent): Likewise.
15238 (_gethtbyname2): Likewise.
15239 (_gethtbyaddr): Likewise.
15240 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15241 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15242 * resolv/res_init.c (__res_vinit): Likewise.
15243 (net_mask): Likewise.
15244 * resolv/res_mkquery.c (outchar): Likewise.
15246 * stdio-common/printf_fp.c (outchar): Likewise.
15248 * stdio-common/printf_fphex.c (outchar): Likewise.
15250 * stdio-common/printf_size.c (outchar): Likewise.
15252 * stdio-common/test_rdwr.c (main): Likewise.
15253 * stdio-common/tfformat.c (matches): Likewise.
15254 * stdio-common/vfprintf.c (outchar): Likewise.
15255 (printf_unknown): Likewise.
15256 (buffered_vfprintf): Likewise.
15257 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15258 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15259 (ReadFile): Likewise.
15260 * stdlib/qsort.c (SWAP): Likewise.
15261 (_quicksort): Likewise.
15262 * stdlib/setenv.c (__add_to_environ): Likewise.
15263 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15264 * stdlib/strtol_l.c (__strtol_l): Likewise.
15265 * stdlib/tst-strtod.c (main): Likewise.
15266 * stdlib/tst-strtol.c (main): Likewise.
15267 * stdlib/tst-strtoll.c (main): Likewise.
15268 * string/bits/string2.h (__strcmp_cc): Likewise.
15269 (__strcmp_cg): Likewise.
15270 (__strcspn_c1): Likewise.
15271 (__strcspn_c2): Likewise.
15272 (__strcspn_c3): Likewise.
15273 (__strspn_c1): Likewise.
15274 (__strspn_c2): Likewise.
15275 (__strspn_c3): Likewise.
15276 (__strsep_1c): Likewise.
15277 (__strsep_2c): Likewise.
15278 (__strsep_3c): Likewise.
15279 * string/memccpy.c (__memccpy): Likewise.
15280 * string/stpcpy.c (__stpcpy): Likewise.
15281 * string/strcmp.c (strcmp): Likewise.
15282 * string/strrchr.c (strrchr): Likewise.
15283 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15285 * sysdeps/mach/hurd/getcwd.c
15286 (_hurd_canonicalize_directory_name_internal): Likewise.
15287 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15288 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15289 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15290 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15291 Likewise, in both definitions.
15292 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15294 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15295 64] (__bswap_64): Likewise.
15296 * time/test_time.c (main): Likewise.
15297 * time/tzfile.c (__tzfile_read): Likewise.
15298 (__tzfile_compute): Likewise.
15299 * time/tzset.c (__tzset_parse_tz): Likewise.
15300 (tzset_internal): Likewise.
15301 (compute_change): Likewise.
15302 * wcsmbs/wcscat.c (__wcscat): Likewise.
15303 * wcsmbs/wcschr.c (wcschr): Likewise.
15304 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15305 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15306 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15307 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15308 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15309 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15310 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15311 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15312 * wcsmbs/wmemset.c (wmemset): Likewise.
15314 2013-06-06 Joseph Myers <joseph@codesourcery.com>
15316 * scripts/config.guess: Update to version 2013-05-16.
15317 * scripts/config.sub: Update to version 2013-04-24.
15318 * scripts/install-sh: Update to version 2011-11-20.07.
15319 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15320 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15322 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
15324 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15325 * elf/sln.c: Likewise.
15326 * hurd/hurd/ioctl.h: Likewise.
15327 * hurd/hurdmalloc.c: Likewise.
15328 * hurd/xattr.c: Likewise.
15329 * include/shlib-compat.h: Likewise.
15330 * inet/ruserpass.c: Likewise.
15331 * libio/iofgets_u.c: Likewise.
15332 * libio/iofgetws_u.c: Likewise.
15333 * locale/programs/ld-identification.c: Likewise.
15334 * locale/programs/ld-time.c: Likewise.
15335 * mach/msg-destroy.c: Likewise.
15336 * nss/nss_files/files-netgrp.c: Likewise.
15337 * resolv/res_data.c: Likewise.
15338 * soft-fp/op-1.h: Likewise.
15339 * soft-fp/op-2.h: Likewise.
15340 * soft-fp/op-4.h: Likewise.
15341 * soft-fp/op-common.h: Likewise.
15342 * stdio-common/printf_fphex.c: Likewise.
15343 * stdlib/strtod_l.c: Likewise.
15344 * sunrpc/rpc/clnt.h: Likewise.
15345 * sysdeps/generic/framestate.c: Likewise.
15346 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15347 * sysdeps/i386/bsd-setjmp.S: Likewise.
15348 * sysdeps/i386/__longjmp.S: Likewise.
15349 * sysdeps/i386/setjmp.S: Likewise.
15350 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15351 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15352 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15353 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15354 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15355 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15356 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15357 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15358 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15359 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15360 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15361 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15362 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15363 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15364 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15365 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15366 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15367 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15368 * sysdeps/ieee754/support.c: Likewise.
15369 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15370 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15371 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15372 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15373 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15374 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15375 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15376 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15377 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15378 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15379 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15380 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15381 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15382 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15383 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15384 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15385 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15388 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
15390 * posix/transbug.c: Remove executable mode.
15392 2013-06-05 Joseph Myers <joseph@codesourcery.com>
15394 * crypt/speeds.c: Remove trailing whitespace.
15395 * dlfcn/default.c: Likewise.
15396 * elf/ifuncdep2.c: Likewise.
15397 * elf/ifuncmain1.c: Likewise.
15398 * elf/ifuncmain1vis.c: Likewise.
15399 * elf/testobj.h: Likewise.
15400 * elf/tst-stackguard1.c: Likewise.
15401 * gmon/sys/gmon.h: Likewise.
15402 * hurd/hurdmsg.c: Likewise.
15403 * hurd/new-fd.c: Likewise.
15404 * hurd/ports-get.c: Likewise.
15405 * iconvdata/ibm1008_420.c: Likewise.
15406 * inet/tst-getni1.c: Likewise.
15407 * inet/tst-getni2.c: Likewise.
15408 * libio/ioungetc.c: Likewise.
15409 * libio/wfiledoalloc.c: Likewise.
15410 * manual/libm-err-tab.pl: Likewise.
15411 * math/w_dremf.c: Likewise.
15412 * misc/ftruncate.c: Likewise.
15413 * posix/bug-glob2.c: Likewise.
15414 * posix/tst-pcre.c: Likewise.
15415 * posix/wait4.c: Likewise.
15416 * resolv/README: Likewise.
15417 * resolv/res_debug.h: Likewise.
15418 * resolv/tst-inet_ntop.c: Likewise.
15419 * setjmp/bug269-setjmp.c: Likewise.
15420 * soft-fp/extended.h: Likewise.
15421 * soft-fp/op-1.h: Likewise.
15422 * soft-fp/op-2.h: Likewise.
15423 * soft-fp/op-4.h: Likewise.
15424 * soft-fp/op-8.h: Likewise.
15425 * soft-fp/testit.c: Likewise.
15426 * stdio-common/bug16.c: Likewise.
15427 * stdlib/random.c: Likewise.
15428 * sunrpc/rpcsvc/rquota.x: Likewise.
15429 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15430 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15431 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15432 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15433 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15434 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15435 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15436 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15437 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15438 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15439 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15440 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15441 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15442 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15443 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15444 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15445 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15446 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15447 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15448 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15449 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15450 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15451 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15452 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15453 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15454 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15455 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15456 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15457 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15458 * sysdeps/ieee754/s_lib_version.c: Likewise.
15459 * sysdeps/mach/hurd/check_fds.c: Likewise.
15460 * sysdeps/mach/hurd/getsockname.c: Likewise.
15461 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15462 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15463 * sysdeps/powerpc/bits/link.h: Likewise.
15464 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15465 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15466 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15467 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15468 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15469 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15470 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15471 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15472 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15473 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15474 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15475 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15476 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15477 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15478 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15479 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15480 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15481 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15482 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15483 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15484 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15485 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15486 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15487 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15488 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15489 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15490 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15491 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15492 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15493 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15494 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15495 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15496 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15497 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15498 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15499 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15500 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15501 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15502 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15503 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15504 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15505 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15506 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15507 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15508 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15509 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15510 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15511 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15512 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15513 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15514 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15515 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15516 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15517 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15518 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15519 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15520 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15521 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15522 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15523 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15524 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15525 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15526 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15527 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15528 * sysdeps/powerpc/sysdep.h: Likewise.
15529 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15530 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15531 * sysdeps/sh/dl-trampoline.S: Likewise.
15532 * sysdeps/sh/memset.S: Likewise.
15533 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15534 * sysdeps/sh/strlen.S: Likewise.
15535 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15536 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15537 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15538 * sysdeps/sparc/sparc32/rem.S: Likewise.
15539 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15540 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15541 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15542 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15543 * sysdeps/sparc/sparc32/urem.S: Likewise.
15544 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15545 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15546 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15547 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15548 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15549 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15550 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15551 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15552 * sysdeps/unix/bsd/times.c: Likewise.
15553 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15554 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15558 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15559 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15560 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15561 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15562 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15563 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15564 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15565 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15566 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15567 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15568 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15569 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15570 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15571 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15572 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15573 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15574 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15575 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15576 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15577 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15578 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15579 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15580 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15581 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15582 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15583 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15584 * sysdeps/x86_64/strcspn.S: Likewise.
15586 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15588 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15589 generated file. Regenerate properly from gen-translit.pl.
15590 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15591 locale/C-translit.h.
15593 2013-06-05 Andreas Schwab <schwab@suse.de>
15596 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15597 week as 6 instead of -1.
15598 * time/tst-strptime.c (day_tests): Add test case.
15600 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15602 * sysdeps/generic/math_private.h
15603 (libc_feholdexcept_setround_53bit): Replace with
15604 libc_feholdsetround_53bit.
15605 (libc_feupdateenv_53bit): Replace with
15606 libc_feresetround_53bit.
15607 (SET_RESTORE_ROUND_53BIT): Adjust.
15609 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15611 * string/test-strchrnul.c: Add copyright header.
15613 * posix/tst-getaddrinfo4.c: Increase test timeout.
15615 2013-06-03 Carlos O'Donell <carlos@redhat.com>
15618 * math/libm-test.inc (MAX_EXP): Remove
15620 (ulp): Use MIN_EXP - MANT_DIG.
15621 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15623 2013-05-31 Carlos O'Donell <carlos@redhat.com>
15625 * po/be.po: Revert last change.
15626 * po/zh_CN.po: Likewise.
15627 * po/header.pot: Likewise.
15629 2013-05-31 Joseph Myers <joseph@codesourcery.com>
15631 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15632 link-libc-deps to empty as target-specific variable.
15633 * Makerules (link-libc-args): New variable.
15634 (libc-for-link): Likewise.
15635 (link-libc-deps): Likewise.
15636 (lib%.so): Depend on $(link-libc-deps). Link with
15638 (build-module): Link with $(link-libc-args).
15639 (build-module-asneeded): Likewise.
15640 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15642 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15643 target-specific variable.
15644 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15645 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15646 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15648 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15650 ($(objpfx)libpcprofile.so): Likewise.
15651 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15653 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15654 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15655 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15657 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15658 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15659 * login/Makefile ($(objpfx)libutil.so): Likewise.
15660 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15661 * math/Makefile ($(objpfx)libm.so): Likewise.
15662 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15663 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15664 variable instead of depending directly on libc.
15665 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15666 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15668 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15670 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15671 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15672 ($(objpfx)libanl.so): Likewise.
15673 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15675 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15677 * sysdeps/i386/fpu/Makefile: Remove file.
15678 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15679 ($(objpfx)libm.so): Remove dependency on ld.so.
15681 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
15684 * nis/yp_xdr.c (XDRMAXNAME): Define.
15685 (XDRMAXRECORD): Define.
15686 (xdr_domainname): Use XDRMAXNAME.
15687 (xdr_mapname): Likewise.
15688 (xdr_peername): Likewise.
15689 (xdr_keydat): Use XDRMAXRECORD.
15690 (xdr_valdat): Likewise.
15692 2013-05-30 Jeff Law <law@redhat.com>
15695 * manual/errno.texi (ESTALE): Update to account for more than
15696 just NFS file systems.
15697 * sysdeps/gnu/errlist.c: Regenerated.
15699 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15702 * elf/Makefile (tests): Add tst-null-argv.
15703 (modules-names): Add tst-null-argv-lib.
15704 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15705 (tst-null-argv-ENV): Set environment for tst-null-argv.
15706 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15707 (RTLD_PROGNAME): New macro.
15708 * elf/tst-null-argv.c: New test case.
15709 * elf/tst-null-argv-lib.c: Library for test case.
15710 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15711 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15712 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15713 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15714 * elf/dl-init.c (call_init): Likewise.
15715 (_dl_init): Likewise.
15716 * elf/dl-load.c (print_search_path): Likewise.
15717 (_dl_map_object): Likewise.
15718 * elf/dl-lookup.c (do_lookup_x): Likewise.
15719 (add_dependency): Likewise.
15720 (_dl_lookup_symbol_x): Likewise.
15721 (_dl_debug_bindings): Likewise.
15722 * elf/dl-open.c (_dl_show_scope): Likewise.
15723 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15724 * elf/dl-version.c (match_symbol): Likewise.
15725 (_dl_check_map_versions): Likewise.
15726 * elf/rtld.c (dl_main): Likewise.
15727 (print_unresolved): Use RTLD_PROGNAME.
15728 (print_missing_version): Likewise.
15729 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15730 (elf_machine_rela): Likewise.
15731 * sysdeps/powerpc/powerpc32/dl-machine.c
15732 (__process_machine_rela): Likewise.
15733 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15735 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15737 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15739 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15740 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15742 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15744 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15746 2013-05-28 Carlos O'Donell <carlos@redhat.com>
15748 * po/be.po: Add descriptive title.
15749 * po/zh_CN.po: Likewise.
15750 * po/header.pot: Likewise.
15752 2013-05-28 Mike Frysinger <vapier@gentoo.org>
15754 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15756 (enlarge_archive): Likewise.
15758 2013-05-28 Ben North <ben@redfrontdoor.org>
15760 * manual/arith.texi (frexp): It is the magnitude of the return
15761 value which lies in [0.5, 1), not the return value itself.
15763 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15767 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15769 * stdio-common/bug26.c (main): Correct fscanf template.
15771 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15772 declare _dl_skip_args.
15774 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15777 * manual/platform.texi: Add missing @end deftypefun.
15779 2013-05-24 Joseph Myers <joseph@codesourcery.com>
15782 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15783 bit of mantissa of 2^16382.
15784 * math/libm-test.inc (hypot_test_data): Add more tests.
15786 * math/libm-test.inc: Add drem and pow10 to list of tested
15788 (pow10_test): New function.
15789 (drem_test): Likewise.
15790 (drem_test_tonearest): Likewise.
15791 (drem_test_towardzero): Likewise.
15792 (drem_test_downward): Likewise.
15793 (drem_test_upward): Likewise.
15794 (main): Call the new functions.
15796 * math/libm-test.inc (finite_test_data): Remove.
15797 (finite_test): Run tests from isfinite_test_data.
15798 (gamma_test_data): Remove.
15799 (gamma_test): Run tests from lgamma_test_data.
15800 * sysdeps/i386/fpu/libm-test-ulps: Update.
15801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15803 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15805 * manual/platform.texi: Add PowerPC PPR function set documentation.
15806 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15809 2013-05-24 Carlos O'Donell <carlos@redhat.com>
15811 * math/libm-test.inc (MAX_EXP): Define.
15813 (ulp): New function.
15814 (check_float_internal): Use ULPDIFF.
15815 (cpow_test): Disable failing test.
15816 (check_ulp): Test ulp() implemetnation.
15817 (main): Call check_ulp before starting tests.
15819 2013-05-24 Joseph Myers <joseph@codesourcery.com>
15821 * math/gen-libm-test.pl (generate_testfile): Do not handle
15822 START_DATA and END_DATA.
15823 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15825 (acos_tonearest_test_data): Likewise.
15826 (acos_towardzero_test_data): Likewise.
15827 (acos_downward_test_data): Likewise.
15828 (acos_upward_test_data): Likewise.
15829 (acosh_test_data): Likewise.
15830 (asin_test_data): Likewise.
15831 (asin_tonearest_test_data): Likewise.
15832 (asin_towardzero_test_data): Likewise.
15833 (asin_downward_test_data): Likewise.
15834 (asin_upward_test_data): Likewise.
15835 (asinh_test_data): Likewise.
15836 (atan_test_data): Likewise.
15837 (atanh_test_data): Likewise.
15838 (atan2_test_data): Likewise.
15839 (cabs_test_data): Likewise.
15840 (cacos_test_data): Likewise.
15841 (cacosh_test_data): Likewise.
15842 (carg_test_data): Likewise.
15843 (casin_test_data): Likewise.
15844 (casinh_test_data): Likewise.
15845 (catan_test_data): Likewise.
15846 (catanh_test_data): Likewise.
15847 (cbrt_test_data): Likewise.
15848 (ccos_test_data): Likewise.
15849 (ccosh_test_data): Likewise.
15850 (ceil_test_data): Likewise.
15851 (cexp_test_data): Likewise.
15852 (cimag_test_data): Likewise.
15853 (clog_test_data): Likewise.
15854 (clog10_test_data): Likewise.
15855 (conj_test_data): Likewise.
15856 (copysign_test_data): Likewise.
15857 (cos_test_data): Likewise.
15858 (cos_tonearest_test_data): Likewise.
15859 (cos_towardzero_test_data): Likewise.
15860 (cos_downward_test_data): Likewise.
15861 (cos_upward_test_data): Likewise.
15862 (cosh_test_data): Likewise.
15863 (cosh_tonearest_test_data): Likewise.
15864 (cosh_towardzero_test_data): Likewise.
15865 (cosh_downward_test_data): Likewise.
15866 (cosh_upward_test_data): Likewise.
15867 (cpow_test_data): Likewise.
15868 (cproj_test_data): Likewise.
15869 (creal_test_data): Likewise.
15870 (csin_test_data): Likewise.
15871 (csinh_test_data): Likewise.
15872 (csqrt_test_data): Likewise.
15873 (ctan_test_data): Likewise.
15874 (ctan_tonearest_test_data): Likewise.
15875 (ctan_towardzero_test_data): Likewise.
15876 (ctan_downward_test_data): Likewise.
15877 (ctan_upward_test_data): Likewise.
15878 (ctanh_test_data): Likewise.
15879 (ctanh_tonearest_test_data): Likewise.
15880 (ctanh_towardzero_test_data): Likewise.
15881 (ctanh_downward_test_data): Likewise.
15882 (ctanh_upward_test_data): Likewise.
15883 (erf_test_data): Likewise.
15884 (erfc_test_data): Likewise.
15885 (exp_test_data): Likewise.
15886 (exp_tonearest_test_data): Likewise.
15887 (exp_towardzero_test_data): Likewise.
15888 (exp_downward_test_data): Likewise.
15889 (exp_upward_test_data): Likewise.
15890 (exp10_test_data): Likewise.
15891 (exp2_test_data): Likewise.
15892 (expm1_test_data): Likewise.
15893 (fabs_test_data): Likewise.
15894 (fdim_test_data): Likewise.
15895 (finite_test_data): Likewise.
15896 (floor_test_data): Likewise.
15897 (fma_test_data): Likewise.
15898 (fma_towardzero_test_data): Likewise.
15899 (fma_downward_test_data): Likewise.
15900 (fma_upward_test_data): Likewise.
15901 (fmax_test_data): Likewise.
15902 (fmin_test_data): Likewise.
15903 (fmod_test_data): Likewise.
15904 (fpclassify_test_data): Likewise.
15905 (frexp_test_data): Likewise.
15906 (gamma_test_data): Likewise.
15907 (hypot_test_data): Likewise.
15908 (ilogb_test_data): Likewise.
15909 (isfinite_test_data): Likewise.
15910 (isgreater_test_data): Likewise.
15911 (isgreaterequal_test_data): Likewise.
15912 (isinf_test_data): Likewise.
15913 (isless_test_data): Likewise.
15914 (islessequal_test_data): Likewise.
15915 (islessgreater_test_data): Likewise.
15916 (isnan_test_data): Likewise.
15917 (isnormal_test_data): Likewise.
15918 (issignaling_test_data): Likewise.
15919 (isunordered_test_data): Likewise.
15920 (j0_test_data): Likewise.
15921 (j1_test_data): Likewise.
15922 (jn_test_data): Likewise.
15923 (ldexp_test_data): Likewise.
15924 (lgamma_test_data): Likewise.
15925 (lrint_test_data): Likewise.
15926 (lrint_tonearest_test_data): Likewise.
15927 (lrint_towardzero_test_data): Likewise.
15928 (lrint_downward_test_data): Likewise.
15929 (lrint_upward_test_data): Likewise.
15930 (llrint_test_data): Likewise.
15931 (llrint_tonearest_test_data): Likewise.
15932 (llrint_towardzero_test_data): Likewise.
15933 (llrint_downward_test_data): Likewise.
15934 (llrint_upward_test_data): Likewise.
15935 (log_test_data): Likewise.
15936 (log10_test_data): Likewise.
15937 (log1p_test_data): Likewise.
15938 (log2_test_data): Likewise.
15939 (logb_test_data): Likewise.
15940 (logb_downward_test_data): Likewise.
15941 (lround_test_data): Likewise.
15942 (llround_test_data): Likewise.
15943 (modf_test_data): Likewise.
15944 (nearbyint_test_data): Likewise.
15945 (nextafter_test_data): Likewise.
15946 (nexttoward_test_data): Likewise.
15947 (pow_test_data): Likewise.
15948 (pow_tonearest_test_data): Likewise.
15949 (pow_towardzero_test_data): Likewise.
15950 (pow_downward_test_data): Likewise.
15951 (pow_upward_test_data): Likewise.
15952 (remainder_test_data): Likewise.
15953 (remainder_tonearest_test_data): Likewise.
15954 (remainder_towardzero_test_data): Likewise.
15955 (remainder_downward_test_data): Likewise.
15956 (remainder_upward_test_data): Likewise.
15957 (remquo_test_data): Likewise.
15958 (rint_test_data): Likewise.
15959 (rint_tonearest_test_data): Likewise.
15960 (rint_towardzero_test_data): Likewise.
15961 (rint_downward_test_data): Likewise.
15962 (rint_upward_test_data): Likewise.
15963 (round_test_data): Likewise.
15964 (scalb_test_data): Likewise.
15965 (scalbn_test_data): Likewise.
15966 (scalbln_test_data): Likewise.
15967 (signbit_test_data): Likewise.
15968 (sin_test_data): Likewise.
15969 (sin_tonearest_test_data): Likewise.
15970 (sin_towardzero_test_data): Likewise.
15971 (sin_downward_test_data): Likewise.
15972 (sin_upward_test_data): Likewise.
15973 (sincos_test_data): Likewise.
15974 (sinh_test_data): Likewise.
15975 (sinh_tonearest_test_data): Likewise.
15976 (sinh_towardzero_test_data): Likewise.
15977 (sinh_downward_test_data): Likewise.
15978 (sinh_upward_test_data): Likewise.
15979 (sqrt_test_data): Likewise.
15980 (tan_test_data): Likewise.
15981 (tan_tonearest_test_data): Likewise.
15982 (tan_towardzero_test_data): Likewise.
15983 (tan_downward_test_data): Likewise.
15984 (tan_upward_test_data): Likewise.
15985 (tanh_test_data): Likewise.
15986 (tgamma_test_data): Likewise.
15987 (trunc_test_data): Likewise.
15988 (y0_test_data): Likewise.
15989 (y1_test_data): Likewise.
15990 (yn_test_data): Likewise.
15991 (significand_test_data): Likewise.
15993 * math/gen-libm-test.pl (@functions): Remove variable.
15994 (generate_testfile): Don't handle START and END lines.
15995 * math/libm-test.inc (START): New macro.
15997 (END_COMPLEX): Likewise.
15998 (acos_test): Use END macro without arguments.
15999 (acos_test_tonearest): Likewise.
16000 (acos_test_towardzero): Likewise.
16001 (acos_test_downward): Likewise.
16002 (acos_test_upward): Likewise.
16003 (acosh_test): Likewise.
16004 (asin_test): Likewise.
16005 (asin_test_tonearest): Likewise.
16006 (asin_test_towardzero): Likewise.
16007 (asin_test_downward): Likewise.
16008 (asin_test_upward): Likewise.
16009 (asinh_test): Likewise.
16010 (atan_test): Likewise.
16011 (atanh_test): Likewise.
16012 (atan2_test): Likewise.
16013 (cabs_test): Likewise.
16014 (cacos_test): Use END_COMPLEX macro without arguments.
16015 (cacosh_test): Likewise.
16016 (carg_test): Use END macro without arguments.
16017 (casin_test): Use END_COMPLEX macro without arguments.
16018 (casinh_test): Likewise.
16019 (catan_test): Likewise.
16020 (catanh_test): Likewise.
16021 (cbrt_test): Use END macro without arguments.
16022 (ccos_test): Use END_COMPLEX macro without arguments.
16023 (ccosh_test): Likewise.
16024 (ceil_test): Use END macro without arguments.
16025 (cexp_test): Use END_COMPLEX macro without arguments.
16026 (cimag_test): Use END macro without arguments.
16027 (clog_test): Use END_COMPLEX macro without arguments.
16028 (clog10_test): Likewise.
16029 (conj_test): Likewise.
16030 (copysign_test): Use END macro without arguments.
16031 (cos_test): Likewise.
16032 (cos_test_tonearest): Likewise.
16033 (cos_test_towardzero): Likewise.
16034 (cos_test_downward): Likewise.
16035 (cos_test_upward): Likewise.
16036 (cosh_test): Likewise.
16037 (cosh_test_tonearest): Likewise.
16038 (cosh_test_towardzero): Likewise.
16039 (cosh_test_downward): Likewise.
16040 (cosh_test_upward): Likewise.
16041 (cpow_test): Use END_COMPLEX macro without arguments.
16042 (cproj_test): Likewise.
16043 (creal_test): Use END macro without arguments.
16044 (csin_test): Use END_COMPLEX macro without arguments.
16045 (csinh_test): Likewise.
16046 (csqrt_test): Likewise.
16047 (ctan_test): Likewise.
16048 (ctan_test_tonearest): Likewise.
16049 (ctan_test_towardzero): Likewise.
16050 (ctan_test_downward): Likewise.
16051 (ctan_test_upward): Likewise.
16052 (ctanh_test): Likewise.
16053 (ctanh_test_tonearest): Likewise.
16054 (ctanh_test_towardzero): Likewise.
16055 (ctanh_test_downward): Likewise.
16056 (ctanh_test_upward): Likewise.
16057 (erf_test): Use END macro without arguments.
16058 (erfc_test): Likewise.
16059 (exp_test): Likewise.
16060 (exp_test_tonearest): Likewise.
16061 (exp_test_towardzero): Likewise.
16062 (exp_test_downward): Likewise.
16063 (exp_test_upward): Likewise.
16064 (exp10_test): Likewise.
16065 (exp2_test): Likewise.
16066 (expm1_test): Likewise.
16067 (fabs_test): Likewise.
16068 (fdim_test): Likewise.
16069 (finite_test): Likewise.
16070 (floor_test): Likewise.
16071 (fma_test): Likewise.
16072 (fma_test_towardzero): Likewise.
16073 (fma_test_downward): Likewise.
16074 (fma_test_upward): Likewise.
16075 (fmax_test): Likewise.
16076 (fmin_test): Likewise.
16077 (fmod_test): Likewise.
16078 (fpclassify_test): Likewise.
16079 (frexp_test): Likewise.
16080 (gamma_test): Likewise.
16081 (hypot_test): Likewise.
16082 (ilogb_test): Likewise.
16083 (isfinite_test): Likewise.
16084 (isgreater_test): Likewise.
16085 (isgreaterequal_test): Likewise.
16086 (isinf_test): Likewise.
16087 (isless_test): Likewise.
16088 (islessequal_test): Likewise.
16089 (islessgreater_test): Likewise.
16090 (isnan_test): Likewise.
16091 (isnormal_test): Likewise.
16092 (issignaling_test): Likewise.
16093 (isunordered_test): Likewise.
16094 (j0_test): Likewise.
16095 (j1_test): Likewise.
16096 (jn_test): Likewise.
16097 (ldexp_test): Likewise.
16098 (lgamma_test): Likewise.
16099 (lrint_test): Likewise.
16100 (lrint_test_tonearest): Likewise.
16101 (lrint_test_towardzero): Likewise.
16102 (lrint_test_downward): Likewise.
16103 (lrint_test_upward): Likewise.
16104 (llrint_test): Likewise.
16105 (llrint_test_tonearest): Likewise.
16106 (llrint_test_towardzero): Likewise.
16107 (llrint_test_downward): Likewise.
16108 (llrint_test_upward): Likewise.
16109 (log_test): Likewise.
16110 (log10_test): Likewise.
16111 (log1p_test): Likewise.
16112 (log2_test): Likewise.
16113 (logb_test): Likewise.
16114 (logb_test_downward): Likewise.
16115 (lround_test): Likewise.
16116 (llround_test): Likewise.
16117 (modf_test): Likewise.
16118 (nearbyint_test): Likewise.
16119 (nextafter_test): Likewise.
16120 (nexttoward_test): Likewise.
16121 (pow_test): Likewise.
16122 (pow_test_tonearest): Likewise.
16123 (pow_test_towardzero): Likewise.
16124 (pow_test_downward): Likewise.
16125 (pow_test_upward): Likewise.
16126 (remainder_test): Likewise.
16127 (remainder_test_tonearest): Likewise.
16128 (remainder_test_towardzero): Likewise.
16129 (remainder_test_downward): Likewise.
16130 (remainder_test_upward): Likewise.
16131 (remquo_test): Likewise.
16132 (rint_test): Likewise.
16133 (rint_test_tonearest): Likewise.
16134 (rint_test_towardzero): Likewise.
16135 (rint_test_downward): Likewise.
16136 (rint_test_upward): Likewise.
16137 (round_test): Likewise.
16138 (scalb_test): Likewise.
16139 (scalbn_test): Likewise.
16140 (scalbln_test): Likewise.
16141 (signbit_test): Likewise.
16142 (sin_test): Likewise.
16143 (sin_test_tonearest): Likewise.
16144 (sin_test_towardzero): Likewise.
16145 (sin_test_downward): Likewise.
16146 (sin_test_upward): Likewise.
16147 (sincos_test): Likewise.
16148 (sinh_test): Likewise.
16149 (sinh_test_tonearest): Likewise.
16150 (sinh_test_towardzero): Likewise.
16151 (sinh_test_downward): Likewise.
16152 (sinh_test_upward): Likewise.
16153 (sqrt_test): Likewise.
16154 (tan_test): Likewise.
16155 (tan_test_tonearest): Likewise.
16156 (tan_test_towardzero): Likewise.
16157 (tan_test_downward): Likewise.
16158 (tan_test_upward): Likewise.
16159 (tanh_test): Likewise.
16160 (tgamma_test): Likewise.
16161 (trunc_test): Likewise.
16162 (y0_test): Likewise.
16163 (y1_test): Likewise.
16164 (yn_test): Likewise.
16165 (significand_test): Likewise.
16167 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
16170 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16172 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16175 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16176 __ppc_mdoio and __ppc_mdoom.
16177 * manual/platform.texi: Document new functions __ppc_yield,
16178 __ppc_mdoio and __ppc_mdoom.
16180 2013-05-22 Carlos O'Donell <carlos@redhat.com>
16182 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16183 (main): Mention "tls" pseudo-hwcap is legacy.
16184 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16186 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16188 * math/gen-libm-test.pl (parse_args): Output only string of
16189 arguments as text for test name, not full call or descriptions of
16190 tests for extra outputs.
16191 (generate_testfile): Do not pass function name to parse_args.
16192 Generate this_func variable from START.
16193 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16195 (struct test_ff_f_data): Likewise.
16196 (test_ff_f_data_nexttoward): Likewise.
16197 (struct test_fi_f_data): Likewise.
16198 (struct test_fl_f_data): Likewise.
16199 (struct test_if_f_data): Likewise.
16200 (struct test_fff_f_data): Likewise.
16201 (struct test_c_f_data): Likewise.
16202 (struct test_f_f1_data): Likewise. Remove field extra_name.
16203 (struct test_fF_f1_data): Likewise.
16204 (struct test_ffI_f1_data): Likewise.
16205 (struct test_c_c_data): Rename test_name field to arg_str.
16206 (struct test_cc_c_data): Likewise.
16207 (struct test_f_i_data): Likewise.
16208 (struct test_ff_i_data): Likewise.
16209 (struct test_f_l_data): Likewise.
16210 (struct test_f_L_data): Likewise.
16211 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16213 (COMMON_TEST_SETUP): New macro.
16214 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16215 (COMMON_TEST_CLEANUP): Likewise.
16216 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16217 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16219 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16220 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16222 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16223 (RUN_TEST_fff_f): Take argument string. Call new setup and
16225 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16226 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16228 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16229 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16231 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16232 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16234 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16235 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16237 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16238 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16240 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16241 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16243 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16244 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16246 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16247 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16249 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16250 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16252 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16253 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16255 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16256 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16258 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16259 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16261 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16262 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16264 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16265 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16267 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16268 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16270 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16272 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16274 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16275 to _sifields.sigfault.
16276 (si_addr_lsb): Define new macro.
16277 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16278 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16279 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16281 2013-05-03 Carlos O'Donell <carlos at redhat.com>
16284 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16286 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16288 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16289 loading the domain.
16291 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16293 * math/gen-libm-test.pl (parse_args): Do not include expected
16294 result in test name.
16295 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16296 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16297 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16298 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16299 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16302 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16304 * benchtests/Makefile: Sort function entries.
16306 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16307 tanh, asinh, acosh, atanh.
16308 * benchtests/acos-inputs: New file.
16309 * benchtests/acosh-inputs: New file.
16310 * benchtests/asin-inputs: New file.
16311 * benchtests/asinh-inputs: New file.
16312 * benchtests/atanh-inputs: New file.
16313 * benchtests/cosh-inputs: New file.
16314 * benchtests/log-inputs: New file.
16315 * benchtests/sinh-inputs: New file.
16316 * benchtests/tanh-inputs: New file.
16318 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16321 * posix/tst-getaddrinfo4.c: New test.
16322 * posix/Makefile (tests): Add it.
16324 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16327 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16328 when no services were used.
16329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16330 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16332 2013-05-21 Andreas Schwab <schwab@suse.de>
16335 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16336 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16338 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16339 redundant variable declarations and reallocation of buffer when
16340 parsing as IPv6 address. Always set NSS status when called from
16341 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16342 buffer too small. Correct computation of needed size.
16343 * nss/Makefile (tests): Add test-digits-dots.
16344 * nss/test-digits-dots.c: New test.
16346 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16348 * benchtests/Makefile: Remove instructions for adding
16350 * benchtests/README: New file to explain how to execute and
16351 enhance the benchmark tests.
16353 2013-05-21 Andreas Schwab <schwab@suse.de>
16356 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16357 * setjmp/tst-sigsetjmp.c: New test.
16359 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16361 * sysdeps/x86_64/memset.S (memset): New implementation.
16362 (__bzero): Likewise.
16363 (__memset_tail): New function.
16365 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16367 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16368 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16369 __memcpy_sse2_unaligned ifunc selection.
16370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16371 Add memcpy-sse2-unaligned.S.
16372 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16373 Add: __memcpy_sse2_unaligned.
16375 2013-05-19 Joseph Myers <joseph@codesourcery.com>
16378 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16379 math_force_eval before restoring floating-point envrionment.
16380 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16381 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16383 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16385 (__nearbyintl): Use math_force_eval before restoring
16386 floating-point environment.
16387 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16389 * math/gen-libm-test.pl (special_functions): Remove.
16390 (parse_args): Don't handle TEST_extra. Handle functions with no
16392 * math/libm-test.inc (struct test_sincos_data): Replace with
16393 struct test_fFF_11_data.
16394 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16395 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16396 (sincos_test_data): Change element type to struct
16397 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16398 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16399 RUN_TEST_LOOP_sincos.
16400 * math/README.libm-test: Don't mention special handling of
16401 individual functions.
16402 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16403 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16404 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16405 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16406 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16409 * math/gen-libm-test.pl (get_variable): Remove function.
16410 (parse_args): Don't show pointer parameters to call in test
16411 names. Use "extra output N" in test names for extra outputs
16412 rather than naming variables.
16414 2013-05-18 Joseph Myers <joseph@codesourcery.com>
16417 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16418 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16419 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16421 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16423 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16426 * math/gen-libm-test.pl (@tests): Remove variable.
16427 ($count): Likewise.
16428 (new_test): Remove function.
16429 (show_exceptions): New function.
16430 (special_functions): Use show_exceptions instead of new_test.
16431 (parse_args): Likewise.
16432 (generate_testfile): Pass only function name in generated call to
16433 print_max_error or print_complex_max_error.
16434 (get_ulps): Do not handle complex tests specially.
16435 (output_test): Rename to ...
16436 (get_all_ulps_for_test): ... this. Return a string rather than
16437 printing to a file. Require ulps to be present.
16438 (output_ulps): Generate arrays rather than #defines.
16439 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16440 (struct ulp_data): New type.
16441 (BUILD_COMPLEX_ULP): Remove macro.
16442 (compare_ulp_data): New function.
16443 (find_ulps): Likewise.
16444 (find_test_ulps): Likewise.
16445 (find_function_ulps): Likewise.
16446 (find_complex_function_ulps): Likewise.
16447 (print_max_error): Determine allowed ulps using
16448 find_function_ulps.
16449 (print_complex_max_error): Determine allowed ulps using
16450 find_complex_function_ulps.
16451 (check_float_internal): Determine max ulps using find_test_ulps.
16452 (check_float): Do not take max_ulp parameter. Update call to
16453 check_float_internal.
16454 (check_complex): Likewise.
16455 (check_int): Do not take max_ulp parameter.
16456 (check_long): Likewise.
16457 (check_bool): Likewise.
16458 (check_longlong): Likewise.
16459 (struct test_f_f_data): Remove max_ulp field.
16460 (struct test_ff_f_data): Likewise.
16461 (struct test_ff_f_data_nexttoward): Likewise.
16462 (struct test_fi_f_data): Likewise.
16463 (struct test_fl_f_data): Likewise.
16464 (struct test_if_f_data): Likewise.
16465 (struct test_fff_f_data): Likewise.
16466 (struct test_c_f_data): Likewise.
16467 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16468 (struct test_fF_f1_data): Likewise.
16469 (struct test_ffI_f1_data): Likewise.
16470 (struct test_c_c_data): Remove max_ulp field.
16471 (struct test_cc_c_data): Likewise.
16472 (struct test_f_i_data): Likewise.
16473 (struct test_ff_i_data): Likewise.
16474 (struct test_f_l_data): Likewise.
16475 (struct test_f_L_data): Likewise.
16476 (struct test_sincos_data): Likewise.
16477 (RUN_TEST_f_f): Do not handle ulps.
16478 (RUN_TEST_LOOP_f_f): Likewise.
16479 (RUN_TEST_2_f): Likewise.
16480 (RUN_TEST_LOOP_2_f): Likewise.
16481 (RUN_TEST_fff_f): Likewise.
16482 (RUN_TEST_LOOP_fff_f): Likewise.
16483 (RUN_TEST_c_f): Likewise.
16484 (RUN_TEST_LOOP_c_f): Likewise.
16485 (RUN_TEST_f_f1): Likewise.
16486 (RUN_TEST_LOOP_f_f1): Likewise.
16487 (RUN_TEST_fF_f1): Likewise.
16488 (RUN_TEST_LOOP_fF_f1): Likewise.
16489 (RUN_TEST_fI_f1): Likewise.
16490 (RUN_TEST_LOOP_fI_f1): Likewise.
16491 (RUN_TEST_ffI_f1): Likewise.
16492 (RUN_TEST_LOOP_ffI_f1): Likewise.
16493 (RUN_TEST_c_c): Likewise.
16494 (RUN_TEST_LOOP_c_c): Likewise.
16495 (RUN_TEST_cc_c): Likewise.
16496 (RUN_TEST_LOOP_cc_c): Likewise.
16497 (RUN_TEST_f_i): Likewise.
16498 (RUN_TEST_LOOP_f_i): Likewise.
16499 (RUN_TEST_f_i_tg): Likewise.
16500 (RUN_TEST_LOOP_f_i_tg): Likewise.
16501 (RUN_TEST_ff_i_tg): Likewise.
16502 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16503 (RUN_TEST_f_b): Likewise.
16504 (RUN_TEST_LOOP_f_b): Likewise.
16505 (RUN_TEST_f_b_tg): Likewise.
16506 (RUN_TEST_LOOP_f_b_tg): Likewise.
16507 (RUN_TEST_f_l): Likewise.
16508 (RUN_TEST_LOOP_f_l): Likewise.
16509 (RUN_TEST_f_L): Likewise.
16510 (RUN_TEST_LOOP_f_L): Likewise.
16511 (RUN_TEST_sincos): Likewise.
16512 (RUN_TEST_LOOP_sincos): Likewise.
16514 2013-05-17 Joseph Myers <joseph@codesourcery.com>
16518 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16519 main case of finite arguments, set rounding mode to FE_TONEAREST
16520 and discard exceptions.
16521 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16523 (remainder_tonearest_test_data): New variable.
16524 (remainder_test_tonearest): New function.
16525 (remainder_towardzero_test_data): New variable.
16526 (remainder_test_towardzero): New function.
16527 (remainder_downward_test_data): New variable.
16528 (remainder_test_downward): New function.
16529 (remainder_upward_test_data): New variable.
16530 (remainder_test_upward): New function.
16531 (main): Call the new test functions.
16533 * math/libm-test.inc (struct test_f_f1_data): Remove field
16535 (struct test_fF_f1_data): Likewise.
16536 (struct test_ffI_f1_data): Likewise.
16537 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16538 based on value of EXTRA_EXPECTED.
16539 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16540 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16541 EXTRA_VAR based on value of EXTRA_EXPECTED.
16542 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16543 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16544 EXTRA_VAR based on value of EXTRA_EXPECTED.
16545 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16546 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16547 EXTRA_VAR based on value of EXTRA_EXPECTED.
16548 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16549 * math/gen-libm-test.pl (parse_args): Don't output initializers
16550 for extra output values.
16552 * math/libm-test.inc (check_int): Expect result to be exactly
16553 equal to expected value and do not handle ulps.
16554 (check_long): Likewise.
16555 (check_longlong): Likewise.
16557 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16559 (cimag_test_data): Likewise.
16560 (conj_test_data): Likewise.
16561 (copysign_test_data): Likewise.
16562 (cproj_test_data): Likewise.
16563 (creal_test_data): Likewise.
16564 (fabs_test_data): Likewise.
16565 (fdim_test_data): Likewise.
16566 (finite_test_data): Likewise.
16567 (floor_test_data): Likewise.
16568 (fmax_test_data): Likewise.
16569 (fmin_test_data): Likewise.
16570 (fmod_test_data): Likewise.
16571 (fpclassify_test_data): Likewise.
16572 (frexp_test_data): Likewise.
16573 (ilogb_test_data): Likewise.
16574 (isfinite_test_data): Likewise.
16575 (isgreater_test_data): Likewise.
16576 (isgreaterequal_test_data): Likewise.
16577 (isinf_test_data): Likewise.
16578 (isless_test_data): Likewise.
16579 (islessequal_test_data): Likewise.
16580 (islessgreater_test_data): Likewise.
16581 (isnan_test_data): Likewise.
16582 (isnormal_test_data): Likewise.
16583 (issignaling_test_data): Likewise.
16584 (isunordered_test_data): Likewise.
16585 (ldexp_test_data): Likewise.
16586 (lrint_test_data): Likewise.
16587 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16588 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16589 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16590 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16591 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16592 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16594 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16595 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16596 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16597 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16599 (lrint_downward_test_data): Test for "inexact" exceptions.
16600 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16601 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16602 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16604 (lrint_upward_test_data): Test for "inexact" exceptions.
16605 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16607 (llrint_test_data): Test for "inexact" exceptions.
16608 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16609 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16610 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16611 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16612 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16613 (llrint_downward_test_data): Test for "inexact" exceptions.
16614 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16615 (llrint_upward_test_data): Test for "inexact" exceptions.
16616 (logb_test_data): Likewise.
16617 (logb_downward_test_data): Likewise.
16618 (nextafter_test_data): Likewise.
16619 (nexttoward_test_data): Likewise.
16620 (remainder_test_data): Likewise.
16621 (remquo_test_data): Likewise.
16622 (scalbn_test_data): Likewise.
16623 (scalbln_test_data): Likewise.
16624 (signbit_test_data): Likewise.
16625 (sqrt_test_data): Likewise.
16626 (significand_test_data): Likewise.
16628 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16631 * benchtests/bench-modf.c (struct args): Mark arg0 as
16633 * scripts/bench.pl: Mark members of struct args as volatile.
16635 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16638 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16639 negative infinity on POWER6 or lower.
16640 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16642 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16645 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16646 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16647 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16648 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16649 (_FP_SETQNAN): New macro.
16650 (_FP_SETQNAN_SEMIRAW): Likewise.
16651 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16652 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16653 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16654 (FP_EXTEND): Use _FP_FRAC_SNANP.
16655 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16656 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16658 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16660 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16663 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16665 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16666 with DIVIDE_BY_ZERO_EXCEPTION.
16667 (gamma_test_data): Likewise.
16668 (lgamma_test_data): Likewise.
16669 (log_test_data): Likewise.
16670 (log10_test_data): Likewise.
16671 (log2_test_data): Likewise.
16672 (tgamma_test_data): Likewise.
16674 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16675 (acos_test_tonearest): Likewise.
16676 (acos_test_towardzero): Likewise.
16677 (acos_test_downward): Likewise.
16678 (acos_test_upward): Likewise.
16679 (acosh_test): Likewise.
16680 (asin_test): Likewise.
16681 (asin_test_tonearest): Likewise.
16682 (asin_test_towardzero): Likewise.
16683 (asin_test_downward): Likewise.
16684 (asin_test_upward): Likewise.
16685 (asinh_test): Likewise.
16686 (atan_test): Likewise.
16687 (atanh_test): Likewise.
16688 (atan2_test): Likewise.
16689 (cabs_test): Likewise.
16690 (cacos_test): Likewise.
16691 (cacosh_test): Likewise.
16692 (casin_test): Likewise.
16693 (casinh_test): Likewise.
16694 (catan_test): Likewise.
16695 (catanh_test): Likewise.
16696 (cbrt_test): Likewise.
16697 (ccos_test): Likewise.
16698 (ccosh_test): Likewise.
16699 (cexp_test): Likewise.
16700 (clog_test): Likewise.
16701 (clog10_test): Likewise.
16702 (cos_test): Likewise.
16703 (cos_test_tonearest): Likewise.
16704 (cos_test_towardzero): Likewise.
16705 (cos_test_downward): Likewise.
16706 (cos_test_upward): Likewise.
16707 (cosh_test): Likewise.
16708 (cosh_test_tonearest): Likewise.
16709 (cosh_test_towardzero): Likewise.
16710 (cosh_test_downward): Likewise.
16711 (cosh_test_upward): Likewise.
16712 (cpow_test): Likewise.
16713 (csin_test): Likewise.
16714 (csinh_test): Likewise.
16715 (csqrt_test): Likewise.
16716 (ctan_test): Likewise.
16717 (ctan_test_tonearest): Likewise.
16718 (ctan_test_towardzero): Likewise.
16719 (ctan_test_downward): Likewise.
16720 (ctan_test_upward): Likewise.
16721 (ctanh_test): Likewise.
16722 (ctanh_test_tonearest): Likewise.
16723 (ctanh_test_towardzero): Likewise.
16724 (ctanh_test_downward): Likewise.
16725 (ctanh_test_upward): Likewise.
16726 (erf_test): Likewise.
16727 (erfc_test): Likewise.
16728 (exp_test): Likewise.
16729 (exp_test_tonearest): Likewise.
16730 (exp_test_towardzero): Likewise.
16731 (exp_test_downward): Likewise.
16732 (exp_test_upward): Likewise.
16733 (exp10_test): Likewise.
16734 (exp2_test): Likewise.
16735 (expm1_test): Likewise.
16736 (fmod_test): Likewise.
16737 (gamma_test): Likewise.
16738 (hypot_test): Likewise.
16739 (j0_test): Likewise.
16740 (j1_test): Likewise.
16741 (jn_test): Likewise.
16742 (lgamma_test): Likewise.
16743 (log_test): Likewise.
16744 (log10_test): Likewise.
16745 (log1p_test): Likewise.
16746 (log2_test): Likewise.
16747 (logb_test_downward): Likewise.
16748 (pow_test): Likewise.
16749 (pow_test_tonearest): Likewise.
16750 (pow_test_towardzero): Likewise.
16751 (pow_test_downward): Likewise.
16752 (pow_test_upward): Likewise.
16753 (remainder_test): Likewise.
16754 (remquo_test): Likewise.
16755 (sin_test): Likewise.
16756 (sin_test_tonearest): Likewise.
16757 (sin_test_towardzero): Likewise.
16758 (sin_test_downward): Likewise.
16759 (sin_test_upward): Likewise.
16760 (sincos_test): Likewise.
16761 (sinh_test): Likewise.
16762 (sinh_test_tonearest): Likewise.
16763 (sinh_test_towardzero): Likewise.
16764 (sinh_test_downward): Likewise.
16765 (sinh_test_upward): Likewise.
16766 (sqrt_test): Likewise.
16767 (tan_test): Likewise.
16768 (tan_test_tonearest): Likewise.
16769 (tan_test_towardzero): Likewise.
16770 (tan_test_downward): Likewise.
16771 (tan_test_upward): Likewise.
16772 (tanh_test): Likewise.
16773 (tgamma_test): Likewise.
16774 (y0_test): Likewise.
16775 (y1_test): Likewise.
16776 (yn_test): Likewise.
16778 * math/gen-libm-test.pl (adjust_arg): Remove function.
16779 (special_function): Remove argument $in_func. Only handle
16780 generating output for tables of tests, not inside functions.
16781 (parse_args): Likewise.
16782 (generate_testfile): Remove variable $in_func. Update call to
16784 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16785 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16786 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16787 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16788 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16789 (MAX_VALUE_INIT): Rename macro to max_value.
16790 (MIN_VALUE_INIT): Rename macro to min_value.
16791 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16792 (plus_zero): Remove variable.
16793 (minus_zero): Likewise.
16794 (plus_infty): Likewise.
16795 (minus_infty): Likewise.
16796 (qnan_value): Likewise.
16797 (max_value): Likewise.
16798 (min_value): Likewise.
16799 (min_subnorm_value): Likewise.
16801 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16803 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16804 uint64_t or uint32_t usage.
16805 * crypt/sha256-block.c: Likewise.
16806 * crypt/sha256-crypt.c: Likewise.
16807 * crypt/sha256.c: Likewise.
16808 * crypt/sha512-block.c: Likewise.
16809 * crypt/sha512-crypt.c: Likewise.
16810 * crypt/sha512.c: Likewise.
16811 * debug/backtrace-tst.c: Likewise.
16812 * debug/pcprofiledump.c: Likewise.
16813 * elf/cache.c: Likewise.
16814 * elf/dl-cache.c: Likewise.
16815 * elf/dl-misc.c: Likewise.
16816 * elf/dl-profile.c: Likewise.
16817 * elf/dl-support.c: Likewise.
16818 * elf/ldconfig.c: Likewise.
16819 * elf/sprof.c: Likewise.
16820 * iconv/dummy-repertoire.c: Likewise.
16821 * iconv/iconv_charmap.c: Likewise.
16822 * iconv/skeleton.c: Likewise.
16823 * iconvdata/8bit-generic.c: Likewise.
16824 * iconvdata/cp737.h: Likewise.
16825 * iconvdata/cp775.h: Likewise.
16826 * iconvdata/ibm1008.h: Likewise.
16827 * iconvdata/ibm1025.h: Likewise.
16828 * iconvdata/ibm1046.h: Likewise.
16829 * iconvdata/ibm1097.h: Likewise.
16830 * iconvdata/ibm1112.h: Likewise.
16831 * iconvdata/ibm1122.h: Likewise.
16832 * iconvdata/ibm1123.h: Likewise.
16833 * iconvdata/ibm1124.h: Likewise.
16834 * iconvdata/ibm1129.h: Likewise.
16835 * iconvdata/ibm1130.h: Likewise.
16836 * iconvdata/ibm1132.h: Likewise.
16837 * iconvdata/ibm1133.h: Likewise.
16838 * iconvdata/ibm1137.h: Likewise.
16839 * iconvdata/ibm1140.h: Likewise.
16840 * iconvdata/ibm1141.h: Likewise.
16841 * iconvdata/ibm1142.h: Likewise.
16842 * iconvdata/ibm1143.h: Likewise.
16843 * iconvdata/ibm1144.h: Likewise.
16844 * iconvdata/ibm1145.h: Likewise.
16845 * iconvdata/ibm1146.h: Likewise.
16846 * iconvdata/ibm1147.h: Likewise.
16847 * iconvdata/ibm1148.h: Likewise.
16848 * iconvdata/ibm1149.h: Likewise.
16849 * iconvdata/ibm1153.h: Likewise.
16850 * iconvdata/ibm1154.h: Likewise.
16851 * iconvdata/ibm1155.h: Likewise.
16852 * iconvdata/ibm1156.h: Likewise.
16853 * iconvdata/ibm1157.h: Likewise.
16854 * iconvdata/ibm1158.h: Likewise.
16855 * iconvdata/ibm1160.h: Likewise.
16856 * iconvdata/ibm1161.h: Likewise.
16857 * iconvdata/ibm1162.h: Likewise.
16858 * iconvdata/ibm1163.h: Likewise.
16859 * iconvdata/ibm1164.h: Likewise.
16860 * iconvdata/ibm1166.h: Likewise.
16861 * iconvdata/ibm1167.h: Likewise.
16862 * iconvdata/ibm12712.h: Likewise.
16863 * iconvdata/ibm1390.h: Likewise.
16864 * iconvdata/ibm1399.h: Likewise.
16865 * iconvdata/ibm16804.h: Likewise.
16866 * iconvdata/ibm4517.h: Likewise.
16867 * iconvdata/ibm4899.h: Likewise.
16868 * iconvdata/ibm4909.h: Likewise.
16869 * iconvdata/ibm4971.h: Likewise.
16870 * iconvdata/ibm5347.h: Likewise.
16871 * iconvdata/ibm803.h: Likewise.
16872 * iconvdata/ibm856.h: Likewise.
16873 * iconvdata/ibm901.h: Likewise.
16874 * iconvdata/ibm902.h: Likewise.
16875 * iconvdata/ibm9030.h: Likewise.
16876 * iconvdata/ibm9066.h: Likewise.
16877 * iconvdata/ibm921.h: Likewise.
16878 * iconvdata/ibm922.h: Likewise.
16879 * iconvdata/ibm9448.h: Likewise.
16880 * iconvdata/isiri-3342.h: Likewise.
16881 * iconvdata/jis0201.h: Likewise.
16882 * include/link.h: Likewise.
16883 * include/netdb.h: Likewise.
16884 * inet/check_native.c: Likewise.
16885 * inet/check_pf.c: Likewise.
16886 * inet/getipv4sourcefilter.c: Likewise.
16887 * inet/getnameinfo.c: Likewise.
16888 * inet/getsourcefilter.c: Likewise.
16889 * inet/htonl.c: Likewise.
16890 * inet/setipv4sourcefilter.c: Likewise.
16891 * inet/setsourcefilter.c: Likewise.
16892 * inet/test-inet6_opt.c: Likewise.
16893 * inet/tst-network.c: Likewise.
16894 * locale/C-collate.c: Likewise.
16895 * locale/C-ctype.c: Likewise.
16896 * locale/C-time.c: Likewise.
16897 * locale/C-translit.h: Likewise.
16898 * locale/loadarchive.c: Likewise.
16899 * locale/programs/3level.h: Likewise.
16900 * locale/programs/charmap.c: Likewise.
16901 * locale/programs/charmap.h: Likewise.
16902 * locale/programs/ld-address.c: Likewise.
16903 * locale/programs/ld-collate.c: Likewise.
16904 * locale/programs/ld-ctype.c: Likewise.
16905 * locale/programs/ld-identification.c: Likewise.
16906 * locale/programs/ld-measurement.c: Likewise.
16907 * locale/programs/ld-messages.c: Likewise.
16908 * locale/programs/ld-monetary.c: Likewise.
16909 * locale/programs/ld-name.c: Likewise.
16910 * locale/programs/ld-numeric.c: Likewise.
16911 * locale/programs/ld-paper.c: Likewise.
16912 * locale/programs/ld-telephone.c: Likewise.
16913 * locale/programs/ld-time.c: Likewise.
16914 * locale/programs/linereader.c: Likewise.
16915 * locale/programs/locale.c: Likewise.
16916 * locale/programs/locarchive.c: Likewise.
16917 * locale/programs/locfile.h: Likewise.
16918 * locale/programs/repertoire.c: Likewise.
16919 * locale/programs/simple-hash.c: Likewise.
16920 * locale/programs/simple-hash.h: Likewise.
16921 * malloc/memusage.c: Likewise.
16922 * malloc/memusagestat.c: Likewise.
16923 * nis/nis_defaults.c: Likewise.
16924 * nis/nis_hash.c: Likewise.
16925 * nis/nis_print.c: Likewise.
16926 * nis/nis_xdr.c: Likewise.
16927 * nscd/connections.c: Likewise.
16928 * nscd/hstcache.c: Likewise.
16929 * nscd/nscd_gethst_r.c: Likewise.
16930 * nscd/nscd_getserv_r.c: Likewise.
16931 * nscd/nscd_helper.c: Likewise.
16932 * nscd/servicescache.c: Likewise.
16933 * nss/makedb.c: Likewise.
16934 * nss/nss_db/db-XXX.c: Likewise.
16935 * nss/nss_db/db-initgroups.c: Likewise.
16936 * nss/nss_db/db-netgrp.c: Likewise.
16937 * nss/nss_files/files-network.c: Likewise.
16938 * nss/nss_files/files-parse.c: Likewise.
16939 * posix/bug-regex5.c: Likewise.
16940 * posix/fnmatch_loop.c: Likewise.
16941 * posix/regcomp.c: Likewise.
16942 * posix/regexec.c: Likewise.
16943 * posix/tst-rfc3484-2.c: Likewise.
16944 * posix/tst-rfc3484-3.c: Likewise.
16945 * posix/tst-rfc3484.c: Likewise.
16946 * resolv/nss_dns/dns-canon.c: Likewise.
16947 * resolv/nss_dns/dns-network.c: Likewise.
16948 * resolv/res_init.c: Likewise.
16949 * resolv/res_mkquery.c: Likewise.
16950 * resolv/tst-aton.c: Likewise.
16951 * stdlib/cxa_atexit.c: Likewise.
16952 * stdlib/cxa_finalize.c: Likewise.
16953 * stdlib/gen-fpioconst.c: Likewise.
16954 * stdlib/strtol_l.c: Likewise.
16955 * string/tst-endian.c: Likewise.
16956 * sunrpc/auth_des.c: Likewise.
16957 * sunrpc/clnt_udp.c: Likewise.
16958 * sunrpc/rtime.c: Likewise.
16959 * sunrpc/svcauth_des.c: Likewise.
16960 * sunrpc/xdr.c: Likewise.
16961 * sunrpc/xdr_intXX_t.c: Likewise.
16962 * sunrpc/xdr_rec.c: Likewise.
16963 * sysdeps/generic/ldconfig.h: Likewise.
16964 * sysdeps/generic/ldsodefs.h: Likewise.
16965 * sysdeps/generic/memusage.h: Likewise.
16966 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16967 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16968 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16969 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16970 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16971 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16972 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16973 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16974 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16975 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16976 * sysdeps/posix/getaddrinfo.c: Likewise.
16977 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16978 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16979 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16980 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16981 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16982 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16983 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16984 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16985 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16986 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16987 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16988 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16989 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16990 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16991 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16992 * sysdeps/x86_64/dl-tls.h: Likewise.
16993 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16994 * time/alt_digit.c: Likewise.
16995 * time/era.c: Likewise.
16996 * wcsmbs/tst-c16c32-1.c: Likewise.
16998 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17000 * math/libm-test.inc (struct test_sincos_data): New type.
17001 (RUN_TEST_LOOP_sincos): New macro.
17002 (sincos_test_data): New variable.
17003 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17005 2013-05-16 Richard Henderson <rth@redhat.com>
17007 * math/atest-exp2.c (LIMB64): New macro.
17008 (CONSTSZ): New macro.
17009 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17011 (print_mpn_fp): ... to function scope.
17012 (read_mpn_hex): Remove.
17013 (get_log2): Remove.
17014 (exp2_mpn): Use mp_log2.
17015 (main): Use mp_exp1.
17017 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17019 * math/libm-test.inc: Remove comment about not testing "inexact"
17021 (INEXACT_EXCEPTION): New macro.
17022 (NO_INEXACT_EXCEPTION): Likewise.
17023 (INVALID_EXCEPTION_OK): Update value.
17024 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17025 (OVERFLOW_EXCEPTION_OK): Likewise.
17026 (UNDERFLOW_EXCEPTION_OK): Likewise.
17027 (IGNORE_ZERO_INF_SIGN): Likewise.
17028 (ERRNO_UNCHANGED): Likewise.
17029 (ERRNO_EDOM): Likewise.
17030 (ERRNO_ERANGE): Likewise.
17031 (test_exceptions): Handle testing "inexact" exceptions.
17032 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17033 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17034 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17035 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17037 (rint_towardzero_test_data): Likewise.
17038 (rint_downward_test_data): Likewise.
17039 (rint_upward_test_data): Likewise.
17041 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17042 with OVERFLOW_EXCEPTION.
17043 (exp10_test_data): Likewise.
17044 (exp2_test_data): Likewise.
17045 (expm1_test_data): Likewise.
17046 (lgamma_test_data): Likewise.
17047 (pow_test_data): Likewise.
17048 (tgamma_test_data): Likewise.
17049 (yn_test_data): Remove duplicate test of overflow.
17051 * math/libm-test.inc (struct test_cc_c_data): New type.
17052 (RUN_TEST_LOOP_cc_c): New macro.
17053 (cpow_test_data): New variable.
17054 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17056 * math/libm-test.inc (struct test_f_L_data): New type.
17057 (RUN_TEST_LOOP_f_L): New macro.
17058 (llrint_test_data): New variable.
17059 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17060 (llrint_tonearest_test_data): New variable.
17061 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17062 (llrint_towardzero_test_data): New variable.
17063 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17064 (llrint_downward_test_data): New variable.
17065 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17066 (llrint_upward_test_data): New variable.
17067 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17068 (llround_test_data): New variable.
17069 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17071 2013-05-13 Peter Collingbourne <pcc@google.com>
17073 * math/atest-exp2.c (get_log2): Remove const attribute.
17075 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17077 * math/libm-test.inc (struct test_f_l_data): New type.
17078 (RUN_TEST_LOOP_f_l): New macro.
17079 (lrint_test_data): New variable.
17080 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17081 (lrint_tonearest_test_data): New variable.
17082 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17083 (lrint_towardzero_test_data): New variable.
17084 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17085 (lrint_downward_test_data): New variable.
17086 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17087 (lrint_upward_test_data): New variable.
17088 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17089 (lround_test_data): New variable.
17090 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17092 2013-05-15 Peter Collingbourne <pcc@google.com>
17094 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17095 (EXTRACT_WORDS64) Use where appropriate.
17096 (INSERT_WORDS64) Likewise.
17098 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17099 constraints with x constraints.
17100 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17102 * malloc/obstack.c (_obstack_compat): Add initializer.
17104 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17106 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17107 si_trapno and add si_addr_lsb to _sifields.sigfault.
17108 (si_trapno): Remove macro.
17109 (si_addr_lsb): Define new macro.
17110 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17112 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17114 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17115 instead of TEST_f_l.
17116 (llrint_test_tonearest): Likewise.
17117 (llrint_test_towardzero): Likewise.
17118 (llrint_test_downward): Likewise.
17119 (llrint_test_upward): Likewise.
17120 (llround_test): Likewise.
17122 * math/libm-test.inc (struct test_f_i_data): Add comment.
17123 (RUN_TEST_LOOP_f_b): New macro.
17124 (RUN_TEST_LOOP_f_b_tg): Likewise.
17125 (finite_test_data): New variable.
17126 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17127 (isfinite_test_data): New variable.
17128 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17129 (isinf_test_data): New variable.
17130 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17131 (isnan_test_data): New variable.
17132 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17133 (isnormal_test_data): New variable.
17134 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17135 (issignaling_test_data): New variable.
17136 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17137 (signbit_test_data): New variable.
17138 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17140 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17141 with INVALID_EXCEPTION.
17142 (acosh_test_data): Likewise.
17143 (asin_test_data): Likewise.
17144 (atanh_test_data): Likewise.
17145 (fmod_test_data): Likewise.
17146 (log_test_data): Likewise.
17147 (log10_test_data): Likewise.
17148 (log2_test_data): Likewise.
17149 (pow_test_data): Likewise.
17150 (sqrt_test_data): Likewise.
17151 (y0_test_data): Likewise.
17152 (y1_test_data): Likewise.
17153 (yn_test_data): Likewise.
17155 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17158 * math/libm-test.inc (struct test_ff_i_data): New type.
17159 (RUN_TEST_LOOP_ff_i_tg): New macro.
17160 (isgreater_test_data): New variable.
17161 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17162 (isgreaterequal_test_data): New variable.
17163 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17164 (isless_test_data): New variable.
17165 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17166 (islessequal_test_data): New variable.
17167 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17168 (islessgreater_test_data): New variable.
17169 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17170 (isunordered_test_data): New variable.
17171 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17173 2013-05-14 David S. Miller <davem@davemloft.net>
17175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17177 2013-05-14 Joseph Myers <joseph@codesourcery.com>
17179 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17181 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17183 (struct test_f_i_data): Change type of max_ulp to int.
17185 * math/libm-test.inc (test_ffI_f1_data): New type.
17186 (RUN_TEST_LOOP_ffI_f1): New macro.
17187 (remquo_test_data): New variable.
17188 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17190 * setjmp/tst-setjmp-fp.c: New file.
17191 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17192 (link-libm): New variable.
17193 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17195 * math/libm-test.inc (struct test_f_i_data): New type.
17196 (RUN_TEST_LOOP_f_i): New macro.
17197 (RUN_TEST_LOOP_f_i_tg): Likewise.
17198 (fpclassify_test_data): New variable.
17199 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17200 (ilogb_test_data): New variable.
17201 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17203 * math/libm-test.inc (scalbln_test): Correct function name in END
17206 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17207 (RUN_TEST_LOOP_fI_f1): New macro.
17208 (frexp_test_data): New variable.
17209 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17211 * math/libm-test.inc (struct test_fF_f1_data): New type.
17212 (RUN_TEST_LOOP_fF_f1): New macro.
17213 (modf_test_data): New variable.
17214 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17216 * math/libm-test.inc (struct test_f_f1_data): New type.
17217 (RUN_TEST_LOOP_f_f1): New macro.
17218 (gamma_test_data): New variable.
17219 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17220 (lgamma_test_data): New variable.
17221 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17223 2013-05-13 Carlos O'Donell <carlos@redhat.com>
17225 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17226 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17227 (main): Comment "tls" pseudo-hwcap.
17229 2013-05-13 Joseph Myers <joseph@codesourcery.com>
17231 * math/libm-test.inc (struct test_fl_f_data): New type.
17232 (RUN_TEST_LOOP_fl_f): New variable.
17233 (scalbln_test_data): New variable.
17234 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17236 * math/libm-test.inc (struct test_fi_f_data): New type.
17237 (RUN_TEST_LOOP_fi_f): New macro.
17238 (ldexp_test_data): New variable.
17239 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17240 (scalbn_test_data): New variable.
17241 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17243 * math/libm-test.inc (struct test_c_f_data): New type.
17244 (RUN_TEST_LOOP_c_f): New macro.
17245 (cabs_test_data): New variable.
17246 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17247 (carg_test_data): New variable.
17248 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17249 (cimag_test_data): New variable.
17250 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17251 (creal_test_data): New variable.
17252 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17254 * math/libm-test.inc (struct test_if_f_data): New type.
17255 (RUN_TEST_LOOP_if_f): New macro.
17256 (jn_test_data): New variable.
17257 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17258 (yn_test_data): New variable.
17259 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17261 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17263 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17265 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17266 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17268 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17270 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17271 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17272 (bench-deps): Add bench-timing.h.
17273 * benchtests-bench-skeleton.c: Include bench-timing.h.
17274 (main): Use TIMING_* macros instead of clock_gettime.
17275 * benchtests/bench-timing.h: New file.
17278 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17279 Renamed from _LIB_VERSION.
17280 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17282 2013-05-12 Joseph Myers <joseph@codesourcery.com>
17284 * math/libm-test.inc (struct test_fff_f_data): New type.
17285 (RUN_TEST_LOOP_fff_f): New macro.
17286 (fma_test_data): New variable.
17287 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17288 (fma_towardzero_test_data): New variable.
17289 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17290 (fma_downward_test_data): New variable.
17291 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17292 (fma_upward_test_data): New variable.
17293 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17295 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17296 (struct test_c_c_data): New type.
17297 (RUN_TEST_LOOP_c_c): New macro.
17298 (cacos_test_data): New variable.
17299 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17300 (cacosh_test_data): New variable.
17301 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17302 (casin_test_data): New variable.
17303 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17304 (casinh_test_data): New variable.
17305 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17306 (catan_test_data): New variable.
17307 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17308 (catanh_test_data): New variable.
17309 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17310 (ccos_test_data): New variable.
17311 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17312 (ccosh_test_data): New variable.
17313 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17314 (cexp_test_data): New variable.
17315 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17316 (clog_test_data): New variable.
17317 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17318 (clog10_test_data): New variable.
17319 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17320 (conj_test_data): New variable.
17321 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17322 (cproj_test_data): New variable.
17323 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17324 (csin_test_data): New variable.
17325 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17326 (csinh_test_data): New variable.
17327 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17328 (csqrt_test_data): New variable.
17329 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17330 (ctan_test_data): New variable.
17331 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17332 (ctan_tonearest_test_data): New variable.
17333 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17334 (ctan_towardzero_test_data): New variable.
17335 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17336 (ctan_downward_test_data): New variable.
17337 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17338 (ctan_upward_test_data): New variable.
17339 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17340 (ctanh_test_data): New variable.
17341 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17342 (ctanh_tonearest_test_data): New variable.
17343 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17344 (ctanh_towardzero_test_data): New variable.
17345 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17346 (ctanh_downward_test_data): New variable.
17347 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17348 (ctanh_upward_test_data): New variable.
17349 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17350 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17353 * math/libm-test.inc (struct test_ff_f_data): New type.
17354 (struct test_ff_f_data_nexttoward): Likewise.
17355 (RUN_TEST_LOOP_2_f): New macro.
17356 (RUN_TEST_LOOP_ff_f): Likewise.
17357 (atan2_test_data): New variable.
17358 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17359 (copysign_test_data): New variable.
17360 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17361 (fdim_test_data): New variable.
17362 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17363 (fmax_test_data): New variable.
17364 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17365 (fmin_test_data): New variable.
17366 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17367 (fmod_test_data): New variable.
17368 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17369 (hypot_test_data): New variable.
17370 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17371 (nextafter_test_data): New variable.
17372 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17373 (nexttoward_test_data): New variable.
17374 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17375 (pow_test_data): New variable.
17376 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17377 (pow_tonearest_test_data): New variable.
17378 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17379 (pow_towardzero_test_data): New variable.
17380 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17381 (pow_downward_test_data): New variable.
17382 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17383 (pow_upward_test_data): New variable.
17384 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17385 (remainder_test_data): New variable.
17386 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17387 (scalb_test_data): New variable.
17388 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17389 * sysdeps/i386/fpu/libm-test-ulps: Update.
17391 2013-05-11 Joseph Myers <joseph@codesourcery.com>
17393 * math/libm-test.inc (fma_test): Use max_value instead of local
17395 (nextafter_test): Likewise.
17397 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17398 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17399 (acos_downward_test_data): New variable.
17400 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17401 (acos_upward_test_data): New variable.
17402 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17403 (acosh_test_data): New variable.
17404 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17405 (asin_test_data): New variable.
17406 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17407 (asin_tonearest_test_data): New variable.
17408 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17409 (asin_towardzero_test_data): New variable.
17410 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17411 (asin_downward_test_data): New variable.
17412 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17413 (asin_upward_test_data): New variable.
17414 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17415 (asinh_test_data): New variable.
17416 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17417 (atan_test_data): New variable.
17418 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17419 (atanh_test_data): New variable.
17420 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17421 (cbrt_test_data): New variable.
17422 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17423 (ceil_test_data): New variable.
17424 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17425 (cos_test_data): New variable.
17426 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17427 (cos_tonearest_test_data): New variable.
17428 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17429 (cos_towardzero_test_data): New variable.
17430 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17431 (cos_downward_test_data): New variable.
17432 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17433 (cos_upward_test_data): New variable.
17434 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17435 (cosh_test_data): New variable.
17436 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17437 (cosh_tonearest_test_data): New variable.
17438 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17439 (cosh_towardzero_test_data): New variable.
17440 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17441 (cosh_downward_test_data): New variable.
17442 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17443 (cosh_upward_test_data): New variable.
17444 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17445 (erf_test_data): New variable.
17446 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17447 (erfc_test_data): New variable.
17448 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17449 (exp_test_data): New variable.
17450 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17451 (exp_tonearest_test_data): New variable.
17452 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17453 (exp_towardzero_test_data): New variable.
17454 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17455 (exp_downward_test_data): New variable.
17456 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17457 (exp_upward_test_data): New variable.
17458 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17459 (exp10_test_data): New variable.
17460 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17461 (exp2_test_data): New variable.
17462 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17463 (expm1_test_data): New variable.
17464 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17465 (fabs_test_data): New variable.
17466 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17467 (floor_test_data): New variable.
17468 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17469 (j0_test_data): New variable.
17470 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17471 (j1_test_data): New variable.
17472 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17473 (log_test_data): New variable.
17474 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17475 (log10_test_data): New variable.
17476 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17477 (log1p_test_data): New variable.
17478 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17479 (log2_test_data): New variable.
17480 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17481 (logb_test_data): New variable.
17482 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17483 (logb_downward_test_data): New variable.
17484 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17485 (nearbyint_test_data): New variable.
17486 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17487 (rint_test_data): New variable.
17488 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17489 (rint_tonearest_test_data): New variable.
17490 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17491 (rint_towardzero_test_data): New variable.
17492 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17493 (rint_downward_test_data): New variable.
17494 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17495 (rint_upward_test_data): New variable.
17496 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17497 (round_test_data): New variable.
17498 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17499 (sin_test_data): New variable.
17500 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17501 (sin_tonearest_test_data): New variable.
17502 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17503 (sin_towardzero_test_data): New variable.
17504 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17505 (sin_downward_test_data): New variable.
17506 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17507 (sin_upward_test_data): New variable.
17508 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17509 (sinh_test_data): New variable.
17510 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17511 (sinh_tonearest_test_data): New variable.
17512 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17513 (sinh_towardzero_test_data): New variable.
17514 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17515 (sinh_downward_test_data): New variable.
17516 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17517 (sinh_upward_test_data): New variable.
17518 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17519 (sqrt_test_data): New variable.
17520 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17521 (tan_test_data): New variable.
17522 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17523 (tan_tonearest_test_data): New variable.
17524 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17525 (tan_towardzero_test_data): New variable.
17526 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17527 (tan_downward_test_data): New variable.
17528 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17529 (tan_upward_test_data): New variable.
17530 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17531 (tanh_test_data): New variable.
17532 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17533 (tgamma_test_data): New variable.
17534 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17535 (trunc_test_data): New variable.
17536 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17537 (y0_test_data): New variable.
17538 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17539 (y1_test_data): New variable.
17540 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17541 (significand_test_data): New variable.
17542 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17544 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17547 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17549 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17551 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17553 2013-05-10 Andreas Jaeger <aj@suse.de>
17556 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17557 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17559 2013-05-10 Joseph Myers <joseph@codesourcery.com>
17561 * math/gen-libm-test.pl (adjust_arg): New function.
17562 (special_functions): Handle generating output in both functions
17564 (parse_args): Likewise.
17565 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17566 $in_func argument to parse_args.
17567 * math/libm-test.inc (struct test_f_f_data): New type.
17568 (IF_ROUND_INIT_): New macro.
17569 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17570 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17571 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17572 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17573 (ROUND_RESTORE_): Likewise.
17574 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17575 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17576 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17577 (ROUND_RESTORE_FE_UPWARD): Likewise.
17578 (RUN_TEST_LOOP_f_f): New macro.
17579 (acos_test_data): New variable.
17580 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17581 (acos_tonearest_test_data): New variable.
17582 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17584 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17586 * benchtests/bench-skeleton.c (startup): Fix coding style.
17588 2013-05-10 Joseph Myers <joseph@codesourcery.com>
17591 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17592 negative infinity argument.
17593 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17594 negative infinity argument.
17595 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17596 negative infinity argument.
17597 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17600 2013-05-10 Florian Weimer <fweimer@redhat.com>
17602 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17603 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17604 * iconv/iconv_prog.c (main): Likewise.
17605 * locale/programs/charmap-dir.c (charmap_readdir)
17606 (fopen_uncompressed): Likewise.
17607 * locale/programs/locfile.c (siblings_uncached)
17608 (write_locale_data): Use lstat64 instead of lstat.
17609 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17612 2013-05-10 Andreas Jaeger <aj@suse.de>
17615 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17617 Include <locale.h>.
17619 2013-05-09 Carlos O'Donell <carlos@redhat.com>
17621 * elf/dl-close.c (_dl_close_worker): Add comments.
17623 2013-05-09 Joseph Myers <joseph@codesourcery.com>
17626 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17628 (__ieee754_rem_pio2l): Update comments.
17631 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17633 (__ieee754_rem_pio2l): Update comments.
17635 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17636 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17638 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17641 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17642 (M_PI_34_LOG10El): Likewise.
17643 (M_PI2_LOG10El): Likewise.
17644 (M_PI4_LOG10El): Likewise.
17645 (M_PI_LOG10El): Likewise.
17647 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17651 2013-05-08 Joseph Myers <joseph@codesourcery.com>
17653 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17654 (MINUS_ZERO_INIT): Likewise.
17655 (PLUS_INFTY_INIT): Likewise.
17656 (MINUS_INFTY_INIT): Likewise.
17657 (QNAN_VALUE_INIT): Likewise.
17658 (MAX_VALUE_INIT): Likewise.
17659 (MIN_VALUE_INIT): Likewise.
17660 (MIN_SUBNORM_VALUE_INIT): Likewise.
17661 (plus_zero): Initialize with PLUS_ZERO_INIT.
17662 (minus_zero): Initialize with MINUS_ZERO_INIT.
17663 (plus_infty): Initialize with PLUS_INFTY_INIT.
17664 (minus_infty): Initialize with MINUS_INFTY_INIT.
17665 (qnan_value): Initialize with QNAN_VALUE_INIT.
17666 (max_value): Initialize with MAX_VALUE_INIT.
17667 (min_value): Initialize with MIN_VALUE_INIT.
17668 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17670 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17671 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17672 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17673 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17675 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17676 (RUN_TEST_2_f): Likewise.
17677 (RUN_TEST_ff_f): Likewise.
17678 (RUN_TEST_fi_f): Likewise.
17679 (RUN_TEST_fl_f): Likewise.
17680 (RUN_TEST_fff_f): Likewise.
17681 (RUN_TEST_c_f): Likewise.
17682 (RUN_TEST_f_f1): Likewise.
17683 (RUN_TEST_fF_f1): Likewise.
17684 (RUN_TEST_fI_f1): Likewise.
17685 (RUN_TEST_ffI_f1): Likewise.
17686 (RUN_TEST_c_c): Likewise.
17687 (RUN_TEST_cc_c): Likewise.
17688 (RUN_TEST_f_i): Likewise.
17689 (RUN_TEST_f_i_tg): Likewise.
17690 (RUN_TEST_ff_i_tg): Likewise.
17691 (RUN_TEST_f_b): Likewise.
17692 (RUN_TEST_f_b_tg): Likewise.
17693 (RUN_TEST_f_l): Likewise.
17694 (RUN_TEST_f_L): Likewise.
17695 (RUN_TEST_sincos): Likewise.
17696 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17697 whether to show exceptions. Do not include ");\n" in return
17699 (special_functions): Output call to RUN_TEST_sincos instead of
17700 check_float calls. Update calls to new_test.
17701 (parse_args): Output call to single RUN_TEST_* macro instead of
17702 check_* calls and other assignments. Update calls to new_test.
17708 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17709 input to result for tgamma overflow.
17710 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17711 (gamma_coeff): New variable.
17712 (NCOEFF): New macro.
17713 (gamma_positive): New function.
17714 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17715 underflow here. Use gamma_positive instead of exp (lgamma) for
17717 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17718 (gamma_coeff): New variable.
17719 (NCOEFF): New macro.
17720 (gammaf_positive): New function.
17721 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17722 underflow here. Use gamma_positive instead of exp (lgamma) for
17724 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17725 (gamma_coeff): New variable.
17726 (NCOEFF): New macro.
17727 (gammal_positive): New function.
17728 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17729 underflow here. Use gamma_positive instead of exp (lgamma) for
17731 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17732 (gamma_coeff): New variable.
17733 (NCOEFF): New macro.
17734 (gammal_positive): New function.
17735 (__ieee754_gammal_r): Handle positive infinity, overflow and
17736 underflow here. Handle NaN the same as positive infinity. Remove
17737 check x < 0xffffffff for negative integers. Use gamma_positive
17738 instead of exp (lgamma) for other arguments.
17739 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17740 (gamma_coeff): New variable.
17741 (NCOEFF): New macro.
17742 (gammal_positive): New function.
17743 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17744 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17745 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17746 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17747 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17748 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17749 * sysdeps/generic/math_private.h (__gamma_productf): New
17751 (__gamma_product): Likewise.
17752 (__gamma_productl): Likewise.
17753 * math/Makefile (libm-calls): Add gamma_product.
17754 * math/libm-test.inc (tgamma_test): Add more tests.
17755 * sysdeps/i386/fpu/libm-test-ulps: Update.
17756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17758 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
17760 * benchtests/bench-skeleton.c (main): Preheat CPU.
17762 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17764 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17766 2013-05-07 Roland McGrath <roland@hack.frob.com>
17768 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17769 and _dl_skip_args_internal.
17771 2013-05-07 Carlos O'Donell <carlos@redhat.com>
17773 * manual/message.texi (Message Translation): Talk about users.
17774 Message to key mapping impacts design.
17776 2013-05-06 Roland McGrath <roland@hack.frob.com>
17778 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17780 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17782 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17783 * sysdeps/wordsize-64/glob64.c: ... here.
17785 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17786 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17789 * debug/getlogin_r_chk.c: Moved to ...
17790 * login/getlogin_r_chk.c: ... here.
17791 * debug/Makefile (routines): Move getlogin_r_chk to ...
17792 * login/Makefile (routines): ... here.
17793 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17794 * login/Versions (libc: GLIBC_2.4): ... here.
17796 * io/poll.c (__poll): Renamed from poll.
17797 Add libc_hidden_def.
17798 (poll): Define as weak alias.
17800 * debug/ptsname_r_chk.c: Moved to ...
17801 * login/ptsname_r_chk.c: ... here.
17802 * debug/Makefile (routines): Move ptsname_r_chk to ...
17803 * login/Makefile (routines): ... here.
17804 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17805 * login/Versions (libc: GLIBC_2.4): ... here.
17807 * posix/getlogin.c: Moved to ...
17808 * login/getlogin.c: ... here.
17809 * posix/getlogin_r.c: Moved to ...
17810 * login/getlogin_r.c: ... here.
17811 * posix/getlogin_r.c: Moved to ...
17812 * login/getlogin_r.c: ... here.
17813 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17814 * login/Makefile (routines): ... here.
17815 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17816 * login/Versions (libc: GLIBC_2.0): ... here.
17818 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17819 (setrlimit): Define as weak alias.
17821 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17822 Call __ names for open, ftruncate, and close.
17823 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17824 (truncate): Define as weak alias.
17826 2013-05-06 Joseph Myers <joseph@codesourcery.com>
17828 * math/gen-libm-test.pl (parse_args): Initialize x before each
17829 test of frexp, modf and remquo.
17831 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17832 test signgam value.
17834 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17838 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17840 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17842 2013-05-06 Roland McGrath <roland@hack.frob.com>
17844 * elf/dl-writev.h: New file.
17845 * elf/dl-misc.c: Include it.
17846 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17847 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17849 2013-05-04 Joseph Myers <joseph@codesourcery.com>
17851 * math/libm-test.inc (noXFails): Remove variable.
17852 (noXPasses): Likewise.
17853 (BUILD_COMPLEX_INT): Remove macro.
17854 (print_screen): Remove xfail argument.
17855 (print_screen_max_error): Likewise.
17856 (update_stats): Likewise.
17857 (print_max_error): Likewise. Update calls to other affected
17859 (print_complex_max_error): Likewise.
17860 (test_single_exception): Update calls to print_screen.
17861 (test_single_errno): Likewise.
17862 (check_float_internal): Remove xfail argument. Update calls to
17863 other affected functions.
17864 (check_float): Likewise.
17865 (check_complex): Likewise.
17866 (check_int): Likewise.
17867 (check_long): Likewise.
17868 (check_bool): Likewise.
17869 (check_longlong): Likewise.
17870 (main): Don't print noXFails and noXPasses.
17871 * math/gen-libm-test.pl (top level): Don't mention expected
17872 failure handling in comment.
17873 (new_test): Don't handle expected failures.
17874 (parse_args): Don't mention expected failure handling in comment.
17875 (generate_testfile): Don't handle expected failures.
17876 (parse_ulps): Likewise.
17877 (print_ulps_file): Likewise.
17878 (get_failure): Remove function.
17879 (output_test): Don't handle expected failures.
17880 * make/README.libm-test: Don't mention expected failure handling.
17882 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17883 (minus_zero): Likewise.
17884 (plus_infty): Likewise.
17885 (minus_infty): Likewise.
17886 (qnan_value): Likewise.
17887 (max_value): Likewise.
17888 (min_value): Likewise.
17889 (min_subnorm_value): Likewise.
17890 (initialize): Do not initialize those variables dynamically.
17892 2013-05-03 Roland McGrath <roland@hack.frob.com>
17894 * io/open.c (__open_2): Moved to ...
17895 * io/open_2.c: ... this new file.
17896 * io/open64.c (__open64_2): Moved to ...
17897 * io/open64_2.c: ... this new file.
17898 * io/openat.c (__openat_2): Moved to ...
17899 * io/openat_2.c: ... this new file.
17900 * io/openat64.c (__openat64_2): Moved to ...
17901 * io/openat64_2.c: ... this new file.
17902 * io/Makefile (routines): Add them.
17903 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17904 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17905 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17906 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17907 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17908 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17909 (__openat64): Add hidden_ver.
17910 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17911 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17913 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17914 Separately conditionalize setting of GLRO(dl_sysinfo) so
17915 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17916 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17918 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17920 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17921 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17923 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17924 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17925 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17926 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17927 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17929 2013-05-03 Joseph Myers <joseph@codesourcery.com>
17931 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17932 test signgam value.
17934 * math/libm-test.inc (hypot_test): Do not use
17935 IGNORE_ZERO_INF_SIGN.
17937 2013-05-03 Andreas Jaeger <aj@suse.de>
17939 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17941 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17942 (PF_MAX): Adjust for VSOCK change.
17944 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17948 2013-05-02 Carlos O'Donell <carlos@redhat.com>
17951 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17952 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17953 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17955 2013-05-02 David S. Miller <davem@davemloft.net>
17957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17959 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
17961 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17963 2013-05-01 Roland McGrath <roland@hack.frob.com>
17965 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17967 2013-05-01 Richard Smith <richard@metafoo.co.uk>
17970 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17971 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17972 Use __attribute__ ((__gnu_inline__)).
17973 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17974 Don't use __attribute__ ((__gnu_inline__)).
17976 2013-05-01 Joseph Myers <joseph@codesourcery.com>
17979 * math/s_catan.c (__catan): Handle small real or imaginary part of
17980 input specially to avoid spurious underflow.
17981 * math/s_catanf.c (__catanf): Likewise.
17982 * math/s_catanh.c (__catanh): Likewise.
17983 * math/s_catanhf.c (__catanhf): Likewise.
17984 * math/s_catanhl.c (__catanhl): Likewise.
17985 * math/s_catanl.c (__catanl): Likewise.
17986 * math/libm-test.inc (catan_test): Add more tests.
17987 (catanh_test): Likewise.
17988 * sysdeps/i386/fpu/libm-test-ulps: Update.
17989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17991 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17995 2013-04-30 Joseph Myers <joseph@codesourcery.com>
17998 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17999 accurately for denominator in atan2.
18000 * math/s_catanf.c (__catanf): Likewise.
18001 * math/s_catanh.c (__catanh): Likewise.
18002 * math/s_catanhf.c (__catanhf): Likewise.
18003 * math/s_catanhl.c (__catanhl): Likewise.
18004 * math/s_catanl.c (__catanl): Likewise.
18005 * math/libm-test.inc (catan_test): Add more tests.
18006 (catanh_test): Likewise.
18007 * sysdeps/i386/fpu/libm-test-ulps: Update.
18008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18010 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18012 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18014 * benchtests/Makefile (bench): Remove slow benchmarks.
18015 * benchtests/atan-inputs: Add slow benchmark inputs.
18016 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18017 (BENCH_FUNC): Accept variant offset.
18019 * benchtests/bench-skeleton.c (main): Run benchmark for each
18021 * benchtests/cos-inputs: Add slow benchmark inputs.
18022 * benchtests/exp-inputs: Likewise.
18023 * benchtests/pow-inputs: Likewise.
18024 * benchtests/sin-inputs: Likewise.
18025 * benchtests/slowatan-inputs: Remove.
18026 * benchtests/slowatan.c: Remove.
18027 * benchtests/slowcos-inputs: Remove.
18028 * benchtests/slowcos.c: Remove.
18029 * benchtests/slowexp-inputs: Remove.
18030 * benchtests/slowexp.c: Remove.
18031 * benchtests/slowpow-inputs: Remove.
18032 * benchtests/slowpow.c: Remove.
18033 * benchtests/slowsin-inputs: Remove.
18034 * benchtests/slowsin.c: Remove.
18035 * benchtests/slowtan-inputs: Remove.
18036 * benchtests/slowtan.c: Remove.
18037 * benchtests/tan-inputs: Add slow benchmark inputs.
18038 * scripts/bench.pl: Parse comments and directives.
18040 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18042 ($(objpfx)bench-%.c): Remove *-ITER.
18043 * benchtests/bench-modf.c: Remove definition of ITER.
18044 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18045 (main): Loop for DURATION seconds instead of fixed number of
18047 * scripts/bench.pl: Don't expect iterations in parameters.
18049 2013-04-29 Roland McGrath <roland@hack.frob.com>
18051 * io/fchdir.c (__fchdir): Renamed from fchdir.
18052 (fchdir): Define as weak alias.
18054 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18056 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18057 (ERRNO_EDOM): Likewise.
18058 (ERRNO_ERANGE): Likewise.
18059 (noErrnoTests): New variable.
18060 (init_max_error): Set errno to 0.
18061 (test_single_errno): New function.
18062 (test_errno): Likewise.
18063 (check_float_internal): Call test_errno. Set errno to 0.
18064 (check_complex): Refer to errno tests in comment.
18065 (check_int): Call test_errno. Set errno to 0.
18066 (check_long): Likewise.
18067 (check_bool): Likewise.
18068 (check_longlong): Likewise.
18069 (cos_test): Use ERRNO_* flags for errno tests instead of
18071 (expm1_test): Likewise.
18072 (fmod_test): Likewise.
18073 (ilogb_test): Likewise.
18074 (lgamma_test): Likewise.
18075 (pow_test): Likewise.
18076 (remainder_test): Likewise.
18077 (sin_test): Likewise.
18078 (tan_test): Likewise.
18079 (yn_test): Likewise.
18080 (initialize): Set errno to 0.
18081 (main): Print number of errno tests.
18082 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18084 2013-04-29 Andreas Jaeger <aj@suse.de>
18087 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18091 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18092 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18096 * stdlib/random.c (__initstate): Return NULL if
18100 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18101 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18104 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18108 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18110 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18111 of individual tests.
18112 (casin_test): Likewise.
18113 (casinh_test): Likewise.
18115 2013-04-27 Joseph Myers <joseph@codesourcery.com>
18118 * math/s_catan.c (__catan): Handle arguments with large real or
18119 imaginary part separately without squaring.
18120 * math/s_catanf.c (__catanf): Likewise.
18121 * math/s_catanh.c (__catanh): Likewise.
18122 * math/s_catanhf.c (__catanhf): Likewise.
18123 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18125 (__catanhl): Handle arguments with large real or imaginary part
18126 separately without squaring.
18127 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18129 (__catanl): Handle arguments with large real or imaginary part
18130 separately without squaring.
18131 * math/libm-test.inc (catan_test): Add more tests.
18132 (catanh_test): Likewise.
18133 * sysdeps/i386/fpu/libm-test-ulps: Update.
18134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18136 2013-04-27 Andreas Jaeger <aj@suse.de>
18139 * stdlib/stdlib.h: Update guards for qecvt.
18140 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18143 2013-04-27 Allan McRae <allan@archlinux.org>
18145 * sysdeps/i386/fpu/libm-test-ulps: Update.
18147 2013-04-26 Joseph Myers <joseph@codesourcery.com>
18150 * math/s_catan.c: Include <float.h>.
18151 (__catan): Ensure underflow exception occurs for underflowed
18153 * math/s_catanf.c: Include <float.h>.
18154 (__catanf): Ensure underflow exception occurs for underflowed
18156 * math/s_catanh.c: Include <float.h>.
18157 (__catanh): Ensure underflow exception occurs for underflowed
18159 * math/s_catanhf.c: Include <float.h>.
18160 (__catanhf): Ensure underflow exception occurs for underflowed
18162 * math/s_catanhl.c: Include <float.h>.
18163 (__catanhl): Ensure underflow exception occurs for underflowed
18165 * math/s_catanl.c: Include <float.h>.
18166 (__catanl): Ensure underflow exception occurs for underflowed
18168 * math/libm-test.inc (catan_test): Add more tests.
18169 (catanh_test): Likewise.
18172 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18173 underflowed result.
18174 * math/s_ccoshf.c (__ccoshf): Likewise.
18175 * math/s_ccoshl.c (__ccoshl): Likewise.
18176 * math/s_csin.c (__csin): Likewise.
18177 * math/s_csinf.c (__csinf): Likewise.
18178 * math/s_csinh.c (__csinh): Likewise.
18179 * math/s_csinhf.c (__csinhf): Likewise.
18180 * math/s_csinhl.c (__csinhl): Likewise.
18181 * math/s_csinl.c (__csinl): Likewise.
18182 * math/libm-test.inc (ccos_test): Add more tests.
18183 (ccosh_test): Likewise.
18184 (csin_test): Likewise.
18185 (csinh_test): Likewise.
18187 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18189 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18190 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18191 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18192 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18193 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18194 powerpc/power5+/fpu folders.
18195 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18198 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18202 2013-04-25 Joseph Myers <joseph@codesourcery.com>
18204 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18205 additions to variable.
18206 [$(config-machine) = x86_64] (modules-names): Likewise.
18207 ($(objpfx)tst-audit3): Remove dependency.
18208 ($(objpfx)tst-audit3.out): Likewise.
18209 ($(objpfx)tst-audit4): Likewise.
18210 ($(objpfx)tst-audit4.out): Likewise.
18211 ($(objpfx)tst-audit5): Likewise.
18212 ($(objpfx)tst-audit5.out): Likewise.
18213 ($(objpfx)tst-audit6): Likewise.
18214 ($(objpfx)tst-audit6.out): Likewise.
18215 ($(objpfx)tst-audit7): Likewise.
18216 ($(objpfx)tst-audit7.out): Likewise.
18217 (tst-audit3-ENV): Remove variable.
18218 (tst-audit4-ENV): Likewise.
18219 (tst-audit5-ENV): Likewise.
18220 (tst-audit6-ENV): Likewise.
18221 (tst-audit7-ENV): Likewise.
18222 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18223 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18224 addition to variable.
18225 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18226 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18227 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18228 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18229 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18230 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18231 tst-audit3, tst-audit4 and tst-audit5.
18232 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18233 tst-audit6 and tst-audit7.
18234 [$(subdir) = elf] (modules-names): Add audit modules for those
18236 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18237 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18238 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18239 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18240 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18241 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18242 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18243 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18244 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18245 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18246 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18247 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18248 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18249 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18250 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18251 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18253 [$(subdir) = elf && $(config-cflags-avx) = yes]
18254 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18255 [$(subdir) = elf && $(config-cflags-avx) = yes]
18256 (CFLAGS-tst-auditmod4a.c): Likewise.
18257 [$(subdir) = elf && $(config-cflags-avx) = yes]
18258 (CFLAGS-tst-auditmod4b.c): Likewise.
18259 [$(subdir) = elf && $(config-cflags-avx) = yes]
18260 (CFLAGS-tst-auditmod6b.c): Likewise.
18261 [$(subdir) = elf && $(config-cflags-avx) = yes]
18262 (CFLAGS-tst-auditmod6c.c): Likewise.
18263 [$(subdir) = elf && $(config-cflags-avx) = yes]
18264 (CFLAGS-tst-auditmod7b.c): Likewise.
18265 * elf/tst-audit3.c: Move to ...
18266 * sysdeps/x86_64/tst-audit3.c: ... here.
18267 * elf/tst-audit4.c: Move to ...
18268 * sysdeps/x86_64/tst-audit4.c: ... here.
18269 * elf/tst-audit5.c: Move to ...
18270 * sysdeps/x86_64/tst-audit5.c: ... here.
18271 * elf/tst-audit6.c: Move to ...
18272 * sysdeps/x86_64/tst-audit6.c: ... here.
18273 * elf/tst-audit7.c: Move to ...
18274 * sysdeps/x86_64/tst-audit7.c: ... here.
18275 * elf/tst-auditmod3a.c: Move to ...
18276 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18277 * elf/tst-auditmod3b.c: Move to ...
18278 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18279 * elf/tst-auditmod4a.c: Move to ...
18280 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18281 * elf/tst-auditmod4b.c: Move to ...
18282 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18283 * elf/tst-auditmod5a.c: Move to ...
18284 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18285 * elf/tst-auditmod5b.c: Move to ...
18286 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18287 * elf/tst-auditmod6a.c: Move to ...
18288 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18289 * elf/tst-auditmod6b.c: Move to ...
18290 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18291 * elf/tst-auditmod6c.c: Move to ...
18292 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18293 * elf/tst-auditmod7a.c: Move to ...
18294 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18295 * elf/tst-auditmod7b.c: Move to ...
18296 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18298 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18301 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18302 define unconditionally.
18303 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18304 define unconditionally.
18305 (INT8_C, INT16_C, etc.): Likewise.
18307 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18309 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18310 __ehdr_start with hidden visibility.
18312 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18314 2013-04-24 Carlos O'Donell <carlos@redhat.com>
18316 * math/libm-test.inc (cos_test): Use accurate hex constants.
18317 (sincost_test): Likewise.
18319 2013-04-24 Joseph Myers <joseph@codesourcery.com>
18321 * math/libm-test.inc (catan_test): Add more tests.
18322 (catanh_test): Likewise.
18324 * math/s_catanf.c (__catanf): Use suffixed floating-point
18326 * math/s_catanhf.c (__catanhf): Likewise.
18327 * math/s_catanhl.c (__catanhl): Likewise.
18328 * math/s_catanl.c (__catanl): Likewise.
18331 * math/s_catan.c (__catan): Calculate imaginary part of result
18332 with log1p not log unless computing log of number close to 0.
18333 * math/s_catanf.c (__catanf): Likewise.
18334 * math/s_catanl.c (__catanl): Likewise.
18335 * math/s_catanh.c (__catanh): Calculate real part of result with
18336 log1p not log unless computing log of number close to 0.
18337 * math/s_catanhf.c (__catanhf): Likewise.
18338 * math/s_catanhl.c (__catanhl): Likewise.
18339 * math/libm-test.inc (catan_test): Add more tests.
18340 (catanh_test): Likewise.
18341 * sysdeps/i386/fpu/libm-test-ulps: Update.
18342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18344 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18346 * benchtests/Makefile: Mention files in which fast and slow
18347 paths of math functions are implemented.
18349 2013-04-23 Roland McGrath <roland@hack.frob.com>
18351 * sysdeps/posix/timespec_get.c: New file.
18353 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18355 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18357 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18359 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18360 powerpc/power5/fpu folders.
18361 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18362 * benchtests/Makefile: Add modf testcase.
18363 * benchtests/bench-modf.c: New file: Benchmark test for mo
18365 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18368 * time/Makefile (tests): Add tst-strptime-whitespace.
18369 * time/strptime_l.c (get_number): Use ISSPACE.
18370 (__strptime_internal): Likewise.
18371 * time/tst-strptime-whitespace.c: New test case.
18373 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18375 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18377 (_nss_files_init): Set it here.
18379 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18381 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18382 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18385 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18387 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18389 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18391 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18394 2013-04-21 David S. Miller <davem@davemloft.net>
18396 * po/ru.po: Update Russion translation from translation project.
18398 2013-04-17 Adam Conrad <adconrad@0c3.net>
18400 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18403 2013-04-17 Carlos O'Donell <carlos@redhat.com>
18405 * configure.in: Remove i386 configure warning. Remove i386 case.
18406 * configure: Regenerate.
18407 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18408 Add example to error message.
18409 * sysdeps/i386/configure: Regenerate.
18411 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18413 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18415 * benchtests/cos-inputs: New file.
18416 * benchtests/slowcos-inputs: New file.
18417 * benchtests/slowcos.c: New file.
18418 * benchtests/slowtan-inputs: New file.
18419 * benchtests/slowtan.c: New file.
18420 * benchtests/tan-inputs: New file.
18422 2013-04-16 Roland McGrath <roland@hack.frob.com>
18424 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18427 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18429 * benchtests/Makefile: Include cppflags-iterator.mk to add
18430 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18432 * Makefile.in (bench-clean): New target.
18433 * benchtests/Makefile (bench-clean): Likewise.
18435 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18437 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18439 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18441 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18443 2013-04-15 Andreas Schwab <schwab@suse.de>
18445 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18446 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18447 * nscd/pwdcache.c (cache_addpw): Likewise.
18448 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18451 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18453 * benchtests/Makefile (bench): Write all output to
18454 bench-out.tmp together.
18456 2013-04-15 Andreas Schwab <schwab@suse.de>
18458 * nscd/nscd.c (main): Don't fork again after closing files.
18460 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18462 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18464 * benchtests/Rules (bench-deps): Collect dependencies into a
18465 single variable. Add Makefile to dependencies.
18466 ($(objpfx)bench-%.c): Depend on bench-deps.
18468 2013-04-12 Roland McGrath <roland@hack.frob.com>
18469 Xavier Roche <roche+kml2@exalead.com>
18472 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18473 just that it's a file descriptor.
18474 * manual/llio.texi (Synchronizing AIO Operations): Update description
18475 for EBADF error from aio_fsync.
18477 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18479 * Rules (bench): Move target definition...
18480 * benchtests/Makefile: ... here.
18482 2013-04-11 Carlos O'Donell <carlos@redhat.com>
18484 * math/libm-test.inc (cos_test): Fix PI/2 test.
18485 (sincos_test): Likewise.
18486 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18487 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18489 2013-04-11 Andreas Schwab <schwab@suse.de>
18492 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18493 accept exponent character only when digits were seen.
18494 * stdio-common/Makefile (tests): Add bug26.
18495 * stdio-common/bug26.c: New file.
18498 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18501 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18503 * Makeconfig (rtld-prefix): Define built linker prefix.
18504 * Rules (run-bench): Use it.
18505 * math/Makefile (run-regen-ulps): Likewise.
18507 * Rules (bench): Remove eval.
18509 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18510 Roland McGrath <roland@hack.frob.com>
18511 Ondrej Bilka <neleai@seznam.cz>
18514 * time/getdate.c: Include ctype.h and alloca.h.
18515 (__getdate_r): Trim leading and trailing spaces of input.
18516 * time/tst-getdate.c (tests): Add tests with leading and
18519 2013-04-08 Roland McGrath <roland@hack.frob.com>
18522 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18523 when computing value.
18525 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18527 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18528 Use testrun.sh to run libm tests.
18531 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18533 2013-04-06 Marko Myllynen <myllynen@redhat.com>
18536 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18538 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18540 * Makefile.in (regen-ulps): New target.
18541 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18542 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18543 [ifneq (no,$(PERL)] (regen-ulps): New target.
18544 [ifeq (no,$(PERL)] (regen-ulps): New target.
18545 * math/libm-test.inc (ulps_file_name): Define.
18546 (output_dir): New variable.
18547 (options): Add "output-dir" option.
18548 (parse_opt): Handle 'o' case.
18549 (main): If output_dir is non-NULL use it as a prefix
18551 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18553 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18555 [BZ #10060, #10062]
18556 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18557 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18558 fail configure if __sync_val_compare_and_swap is not inlined.
18559 * sysdeps/i386/configure: Regenerate.
18560 * configure.in: Build for i686 when configured for i386.
18561 * configure: Regenerate.
18562 * README: Remove i386 reference.
18564 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18566 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18567 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18569 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18571 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18572 (lmsnanval): New variables.
18573 (F): Add conversion tests.
18574 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18575 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18577 * stdio-common/tstdiomisc.c (F): Properly collect individual
18580 [BZ #14686, #15336]
18581 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18582 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18583 Instead, use input NaN values or generate a qNaN by arithmetic
18584 operation. Also fix bugs to comply with the standard.
18585 * math/libm-test.inc (remainder_test): Add more tests.
18587 [BZ #15335, #15342]
18588 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18589 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18590 input NaN values or generate a qNaN by arithmetic operation.
18592 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18595 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18598 2013-04-03 Joseph Myers <joseph@codesourcery.com>
18601 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18602 underflowed result.
18603 * math/s_cexpf.c (__cexpf): Likewise.
18604 * math/s_cexpl.c (__cexpl): Likewise.
18605 * math/libm-test.inc (cexp_test): Add more tests.
18607 2013-04-03 Andreas Schwab <schwab@suse.de>
18610 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18611 order arrays from heap if bigger than alloca cutoff.
18613 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18615 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18616 (SNAN_TESTS_double): Refer to GCC PR56831.
18617 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18620 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18622 * Rules (bench): Move bench.out after the run is complete.
18624 * Rules (bench): Echo currently running benchmark.
18626 * benchtests/Makefile (bench): Add atan and slowatan.
18627 * benchtests/atan-inputs: New file.
18628 * benchtests/slowatan-inputs: New file.
18629 * benchtests/slowatan.c: New file.
18631 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18632 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18636 * sysdeps/unix/sysv/linux/kernel-features.h
18637 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18638 __ASSUME_XFS_RESTRICTED_CHOWN.
18639 * sysdeps/unix/sysv/linux/pathconf.c
18640 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18641 Save and restore errno.
18643 2013-04-02 Joseph Myers <joseph@codesourcery.com>
18646 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18647 arguments using __kernel_casinh.
18648 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18649 arguments using __kernel_casinhf.
18650 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18651 arguments using __kernel_casinhl.
18652 * math/libm-test.inc (cacosh_test): Add more tests.
18653 * sysdeps/i386/fpu/libm-test-ulps: Update.
18654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18656 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18658 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18659 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18661 * bench/Makefile (bench): Add sin and slowsin.
18662 * benchtests/sin-inputs: New file.
18663 * benchtests/slowsin-inputs: New file.
18664 * benchtests/slowsin.c: New file.
18666 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18667 (bench): Add slowexp and slowpow.
18668 (exp-ITER): Increase iterations.
18669 (pow-ITER): Likewise.
18670 * benchtests/exp-inputs: Change input.
18671 * benchtests/pow-inputs: Likewise.
18672 * benchtests/slowexp-inputs: New file.
18673 * benchtests/slowexp.c: New file.
18674 * benchtests/slowpow-inputs: New file.
18675 * benchtests/slowpow.c: New file.
18677 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18679 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18681 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18682 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18683 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18684 * benchtests/Makefile: Add rint benchtest.
18685 * benchtests/rint-inputs: Input for rint benchtest.
18687 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18689 * Versions.def (libm): Add GLIBC_2.18.
18690 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18691 hidden libm prototypes.
18692 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18693 * math/Makefile (libm-calls): Add s_issignaling.
18694 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18695 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18696 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18698 * math/math.h [__USE_GNU] (issignaling): New macro.
18699 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18700 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18701 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18702 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18703 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18704 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18705 * manual/arith.texi (issignaling): New section.
18706 * manual/libm-err-tab.pl (@all_functions): Update comment.
18707 * math/gen-libm-test.pl (parse_args): Apply special handling for
18709 * math/libm-test.inc (print_float, issignaling_test): New
18711 (check_float_internal): Add issignaling checks.
18712 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18713 default definition.
18714 * sysdeps/powerpc/math-tests.h: New file.
18715 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18717 * math/test-snan.c (TEST_FUNC): Likewise.
18719 2013-03-30 David S. Miller <davem@davemloft.net>
18721 * po/de.po: Update from translation team.
18723 2013-03-30 Joseph Myers <joseph@codesourcery.com>
18726 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18727 imaginary part less than 1.0 and real part less than 0.5
18729 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18730 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18731 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18732 (cacos_test): Add more tests.
18733 (casin_test): Likewise.
18734 (casinh_test): Likewise.
18735 * sysdeps/i386/fpu/libm-test-ulps: Update.
18736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18738 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18740 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18741 ONE with its value.
18743 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18744 (__pow_mp): Replace ONE and MONE with their values.
18745 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18746 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18747 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18748 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18749 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18750 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18752 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18754 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18755 (__pow_mp): Replace ZERO and MZERO with their values.
18756 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18757 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18758 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18759 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18760 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18761 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18764 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18766 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18768 2013-03-28 Roland McGrath <roland@hack.frob.com>
18770 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18771 Declare with __attribute__ ((weak)).
18772 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18773 Call __call_tls_dtors only if it's not NULL.
18775 2013-03-28 Roland McGrath <roland@hack.frob.com>
18777 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18778 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18779 magic __ehdr_start linker symbol if it's defined.
18780 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18781 them up here if it was already done.
18783 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18784 (_dl_aux_init): Use const in cast when setting it.
18785 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18786 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18787 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18789 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18791 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18792 * csu/libc-tls.c: Nor here.
18793 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18795 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18796 (__libc_message): Never call vsyslog.
18798 2013-03-28 Alan Modra <amodra@gmail.com>
18800 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18802 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18805 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18808 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18812 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18815 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18816 Don't add gid passed as argument.
18818 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18820 2013-03-27 Joseph Myers <joseph@codesourcery.com>
18823 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18824 imaginary part between 1.0 and 1.5 and real part less than 0.5
18826 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18827 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18828 * math/libm-test.inc (cacos_test): Add more tests.
18829 (casin_test): Likewise.
18830 (casinh_test): Likewise.
18831 * sysdeps/i386/fpu/libm-test-ulps: Update.
18832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18834 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18836 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18839 (denorm): Likewise.
18840 (__dbl_mp): Likewise.
18841 (add_magnitudes): Likewise.
18842 (sub_magnitudes): Likewise.
18850 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18852 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18853 (__dubcos): Likewise.
18854 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18855 (__ieee754_acos): Likewise.
18856 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18857 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18858 (__exp1): Likewise.
18859 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18860 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18862 (my_log2): Likewise.
18863 (checkint): Likewise.
18864 * sysdeps/ieee754/dbl-64/e_remainder.c
18865 (__ieee754_remainder): Likewise.
18866 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18867 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18868 (bsloww): Likewise.
18869 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18871 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18872 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18873 MANTISSA_STORE_T to store computations on mantissa. Use
18874 macros for rounding and division.
18875 (denorm): Likewise.
18876 (__dbl_mp): Likewise.
18877 (add_magnitudes): Likewise.
18878 (sub_magnitudes): Likewise.
18881 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18882 powers of two in terms of TWOPOW macro.
18883 (mp_no): Make type of mantissa as MANTISSA_T.
18884 [!RADIXI]: Define RADIXI.
18885 [!TWO52]: Define TWO52.
18886 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18888 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18890 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18891 llroundl symbol when building for PPC32.
18893 2013-03-24 Mark H Weaver <mhw@netris.org>
18895 * manual/arith.texi (Normalization Functions): Fix prototypes for
18896 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18898 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18901 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18902 high value to check if expl overflow.
18903 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18904 to check for underflow and overflow.
18905 * math/libm-test.inc: Add exp test.
18907 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18910 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18913 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18915 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18918 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18920 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18921 wrap blocks consisting of several statements.
18923 * sysdeps/generic/math-tests.h: New file.
18924 * sysdeps/i386/fpu/math-tests.h: Likewise.
18925 * math/test-snan.c: Include it.
18926 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18928 2013-03-21 Joseph Myers <joseph@codesourcery.com>
18931 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18932 (__ieee754_j0l): Do not improve calculations using cos of twice
18933 input for inputs above LDBL_MAX / 2.0L.
18934 (__ieee754_y0l): Likewise.
18935 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18936 (__ieee754_j1l): Do not improve calculations using cos of twice
18937 input for inputs above LDBL_MAX / 2.0L.
18938 (__ieee754_y1l): Likewise.
18939 * math/libm-test.inc (j0_test): Add another test.
18940 (j1_test): Likewise.
18941 (y0_test): Likewise.
18942 (y1_test): Likewise.
18943 * sysdeps/i386/fpu/libm-test-ulps: Update.
18945 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18947 * Rules ($(objpfx)bench-%.c): Include code from a C source
18950 2013-03-21 Joseph Myers <joseph@codesourcery.com>
18953 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18954 imaginary part 1.0 and real part less than 0.5 specially.
18955 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18956 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18957 * math/libm-test.inc (cacos_test): Add more tests.
18958 (casin_test): Likewise.
18959 (casinh_test): Likewise.
18960 * sysdeps/i386/fpu/libm-test-ulps: Update.
18961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18963 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18965 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18966 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18968 2013-03-20 Joseph Myers <joseph@codesourcery.com>
18970 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18971 * config.make.in (config-cflags-sse4): Remove variable.
18972 (config-cflags-avx): Likewise.
18973 (config-cflags-sse2avx): Likewise.
18974 (config-cflags-novzeroupper): Likewise.
18975 (config-asflags-i686): Likewise.
18976 (have-mfma4): Likewise.
18977 (have-as-vis3): Likewise.
18979 * configure.in (MIG): Do not AC_SUBST.
18980 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18981 (libc_cv_cc_sse4): Do not AC_SUBST.
18982 (libc_cv_cc_avx): Likewise.
18983 (libc_cv_cc_sse2avx): Likewise.
18984 (libc_cv_cc_novzeroupper): Likewise.
18985 (libc_cv_cc_fma4): Likewise.
18986 (libc_cv_as_i686): Likewise.
18987 (libc_cv_sparc_as_vis3): Likewise.
18988 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18990 (config-asflags-i686): Likewise.
18991 (config-cflags-avx): Likewise.
18992 (config-cflags-sse2avx): Likewise.
18993 (have-mfma4): Likewise.
18994 (config-cflags-novzeroupper): Likewise.
18995 * sysdeps/mach/configure.in (MIG): Likewise.
18996 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18997 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18999 (config-cflags-avx): Likewise.
19000 (config-cflags-sse2avx): Likewise.
19001 (have-mfma4): Likewise.
19002 (config-cflags-novzeroupper): Likewise.
19003 * configure: Regenerated.
19004 * sysdeps/i386/configure: Likewise.
19005 * sysdeps/mach/configure: Likewise.
19006 * sysdeps/sparc/configure: Likewise.
19007 * sysdeps/x86_64/configure: Likewise.
19009 2013-03-20 Roland McGrath <roland@hack.frob.com>
19012 * locale/programs/localedef.c (options): Put N_ translation marker
19013 on argument names, not just descriptions.
19015 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19017 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19019 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19022 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19024 2013-03-19 Roland McGrath <roland@hack.frob.com>
19026 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19027 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19028 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19029 [!BEFORE_ABORT] (before_abort): New function.
19030 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19031 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19032 (writev_for_fatal): New function.
19033 (WRITEV_FOR_FATAL): New macro; call that.
19034 (backtrace_and_maps): New function.
19035 (BEFORE_ABORT): New macro; call that.
19036 (struct str_list): Type removed.
19037 (__libc_message, __libc_fatal): Functions removed.
19038 Include <sysdeps/posix/libc_fatal.c> instead.
19040 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19042 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19044 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19047 2013-03-19 Andreas Schwab <schwab@suse.de>
19049 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19050 * sysdeps/gnu/configure: Regenerate.
19052 * configure.in: Substitute libc_cv_rtlddir.
19053 * configure: Regenerate.
19054 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19055 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19056 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19057 * elf/Makefile (install-others, CFLAGS-interp.c)
19058 (ldso_install, common-ldd-rewrite): Likewise.
19059 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19060 $(inst_slibdir)/$(rtld-installed-name).
19061 * scripts/rellns-sh: Add -p option.
19062 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19065 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19067 * manual/nptl.texi: Renamed to ...
19068 * manual/threads.texi: ... this.
19069 * manual/Makefile (chapters): Update.
19071 2013-03-18 Roland McGrath <roland@hack.frob.com>
19074 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19075 on argument names, not just descriptions.
19076 * malloc/memusagestat.c (options): Likewise.
19077 * nss/getent.c (options): Likewise.
19079 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
19082 * iconv/iconv_prog.c (options): Put N_ translation marker
19083 on argument names, not just descriptions.
19084 * iconv/iconvconfig.c (options): Likewise.
19086 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
19088 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19089 implementation which is faster on all x86_64 architectures.
19090 Tested on AMD, Intel Nehalem, SNB, IVB.
19091 * sysdeps/x86_64/strnlen.S: Likewise.
19093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19094 Remove all multiarch strlen and strnlen versions.
19095 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19096 Remove strlen and strnlen related parts.
19098 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19099 Inline strlen part.
19100 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19102 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19103 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19104 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19105 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19106 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19107 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19109 2013-03-17 Carlos O'Donell <carlos@redhat.com>
19111 * manual/memory.texi (Malloc Tunable Parameters):
19112 Sort parameters alphabetically. Add comments for missing entries.
19114 2013-03-17 David S. Miller <davem@davemloft.net>
19116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19118 2013-03-16 Joseph Myers <joseph@codesourcery.com>
19121 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19122 for arguments at most half maximum finite value.
19123 * math/libm-test.inc (j0_test): Add more tests.
19124 (j1_test): Likewise.
19125 (y0_test): Likewise.
19126 (y1_test): Likewise.
19127 * sysdeps/i386/fpu/libm-test-ulps: Update.
19128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19131 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19132 1 / x and functions P and Q for arguments above 0x1p256L.
19133 (__ieee754_y0l): Likewise.
19134 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19135 (__ieee754_y1l): Likewise.
19136 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19137 (j1_test): Likewise.
19138 (y0_test): Likewise.
19139 (y1_test): Likewise.
19141 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19143 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19146 2013-03-15 Roland McGrath <roland@hack.frob.com>
19148 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19149 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19150 zero since it's initialized to EXEC_PAGESIZE.
19152 * sysdeps/unix/sysv/linux/ldsodefs.h
19153 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19154 * sysdeps/generic/ldsodefs.h: ... here.
19156 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19158 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19160 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19162 * math/test-snan.c: Renamed from
19163 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19164 * math/Makefile (tests): Add test-snan.
19165 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19168 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19169 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19171 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19172 __builtin_nan family of functions.
19173 * math/libm-test.inc (initialize): Initialize qnan_value with
19174 __builtin_nan family of functions.
19175 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19177 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19179 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19180 storage class. Initialize qNaN_var and sNaN_var with
19181 __builtin_nan and __builtin_nans families of functions,
19184 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19185 (sqrt_test): Remove duplicate test with qNaN input.
19186 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19187 (round_test, signbit_test, significand_test): Note missing +/-Inf
19188 as well as qNaN tests.
19190 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19191 qNaN_var. Fix a few strings, too.
19192 * math/libm-test.inc (nan_value): Rename to qnan_value.
19193 * math/gen-libm-test.pl (%beautify): Adjust to that.
19194 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19195 * math/test-misc.c (main): Likewise.
19196 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19197 to __qnan_bytes, and __qnan_union, respectively.
19198 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19200 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19201 and lqnanval, respectively.
19202 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19203 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19204 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19205 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19207 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19208 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19211 * math/test-misc.c (main): Fix copy'n'pastos.
19212 * misc/tst-efgcvt.c (special): Likewise.
19214 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19215 Remove declarations.
19217 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19219 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19220 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19221 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19222 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19224 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19226 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19227 macro to return vdso values correctly in IFUNC implementations.
19228 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19229 Optimization by using IFUNC.
19231 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19232 Richard Henderson <rth@redhat.com>
19233 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19235 * Makefile.in (bench): New target.
19236 * NEWS: Mention the benchmark framework.
19237 * Rules (bench): Likewise.
19238 (binaries-bench): Generate binaries for functions to
19240 * benchtests/Makefile: New makefile for benchmark tests.
19241 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19243 * benchtests/exp-inputs: New input file for EXP function.
19244 * benchtests/pow-inputs: New input file for POW function.
19245 * scripts/bench.pl: New script to generate source files for
19246 benchmark programs.
19248 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19250 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19251 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19252 computations on mantissa. Use macros for rounding and
19254 (denorm): Likewise.
19255 (__dbl_mp): Likewise.
19256 (add_magnitudes): Likewise.
19257 (sub_magnitudes): Likewise.
19260 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19261 powers of two in terms of TWOPOW macro.
19262 (mp_no): Make type of mantissa as MANTISSA_T.
19263 [!RADIXI]: Define RADIXI.
19264 [!TWO52]: Define TWO52.
19265 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19267 * manual/nptl.texi (cindex): Modify threads to pthreads.
19269 2013-03-15 Joseph Myers <joseph@codesourcery.com>
19271 * sysdeps/x86_64/preconfigure: Regenerated.
19273 2013-03-14 Joseph Myers <joseph@codesourcery.com>
19276 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19278 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19279 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19281 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19282 * math/libm-test.inc (j0_test): Do not allow one spurious
19283 underflow exception.
19284 (y1_test): Likewise.
19286 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19288 * manual/Makefile (chapters): Add nptl.
19289 * manual/debug.texi (Debugging Support): Add link to Threads
19291 * manual/nptl.texi: New file.
19293 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19295 2013-03-14 Petr Baudis <pasky@ucw.cz>
19297 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19298 for non-NULL pointer before the memory validity test. Pointed
19299 out by Holger Brunck <holger.brunck@keymile.com>.
19301 2013-03-13 Andreas Schwab <schwab@suse.de>
19303 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19306 2013-03-13 Joseph Myers <joseph@codesourcery.com>
19308 * timezone/zic.c: Update from tzcode 2013b.
19310 2013-03-12 Carlos O'Donell <carlos@redhat.com>
19312 * manual/install.texi (Configuring and compiling):
19313 Mention i686 and i586.
19314 * INSTALL: Regenerate.
19316 2013-03-12 Roland McGrath <roland@hack.frob.com>
19318 * sysdeps/init_array/elf-init.c: New file.
19320 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19321 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19323 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19324 __gmon_start__ as global, but as static with a .preinit_array pointer.
19325 * sysdeps/init_array/gmon-start.c: New file. Use that.
19326 * sysdeps/init_array/crti.S: New file, empty except for comments.
19327 * sysdeps/init_array/crtn.S: Likewise.
19329 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
19331 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19334 Remove Prefer_SSE_for_memop.
19335 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19336 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19337 HAS_PREFER_SSE_FOR_MEMOP.
19338 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19340 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19341 Remove bzero, memset ifunc support.
19342 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19343 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19344 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19345 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19347 2013-03-11 Andreas Schwab <schwab@suse.de>
19350 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19353 (GLIBC_2.16): Remove pthread_atfork.
19355 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19357 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19358 (ptestcases.h): Likewise.
19360 2013-03-08 Roland McGrath <roland@hack.frob.com>
19362 * Makeconfig ($(common-objpfx)config.status): Depend on
19363 sysdeps/*/preconfigure{,.in} too.
19365 2013-03-08 Joseph Myers <joseph@codesourcery.com>
19367 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19368 (__free_hook): Use void * instead of __malloc_ptr_t.
19369 (__malloc_hook): Likewise.
19370 (__realloc_hook): Likewise.
19371 (__memalign_hook): Likewise.
19372 (__after_morecore_hook): Likewise.
19373 * malloc/arena.c (save_malloc_hook): Likewise.
19374 (save_free_hook): Likewise.
19375 * malloc/hooks.c (malloc_hook_ini): Likewise.
19376 (realloc_hook_ini): Likewise.
19377 (memalign_hook_ini): Likewise.
19378 * malloc/malloc.c (malloc_hook_ini): Likewise.
19379 (realloc_hook_ini): Likewise.
19380 (memalign_hook_ini): Likewise.
19381 (__free_hook): Likewise.
19382 (__malloc_hook): Likewise.
19383 (__realloc_hook): Likewise.
19384 (__memalign_hook): Likewise.
19385 (__libc_malloc): Likewise.
19386 (__libc_free): Likewise.
19387 (__libc_realloc): Likewise.
19388 (__libc_memalign): Likewise.
19389 (__libc_valloc): Likewise.
19390 (__libc_pvalloc): Likewise.
19391 (__libc_calloc): Likewise.
19392 (__posix_memalign): Likewise.
19393 * malloc/morecore.c (__sbrk): Likewise.
19394 (__default_morecore): Likewise.
19396 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19398 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19399 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19400 __malloc_ptrdiff_t.
19402 * malloc/malloc.h (__malloc_size_t): Remove macro.
19403 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19405 (old_memalign_hook): Likewise.
19406 (old_realloc_hook): Likewise.
19407 (struct hdr): Likewise.
19409 (mallochook): Likewise.
19410 (memalignhook): Likewise.
19411 (reallochook): Likewise.
19412 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19413 (tr_old_realloc_hook): Likewise.
19414 (tr_old_memalign_hook): Likewise.
19415 (tr_mallochook): Likewise.
19416 (tr_reallochook): Likewise.
19417 (tr_memalignhook): Likewise.
19419 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19421 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19422 default_ldbl_pack and using as default implementation.
19423 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19425 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19426 redundant definition.
19427 (ldbl_insert_mantissa): Likewise.
19428 (ldbl_canonicalize): Likewise.
19429 (ldbl_nearbyint): Likewise.
19430 (ldbl_pack): Rename to ldbl_pack_ppc.
19431 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19432 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19433 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19435 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19438 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19439 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19440 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19442 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19443 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19444 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19446 2013-03-07 Andreas Jaeger <aj@suse.de>
19448 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19451 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19453 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19454 Include mpa.h and declare __MPEXP.
19455 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19456 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19457 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19458 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19459 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19460 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19461 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19463 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19464 (__slowpow): Use long double EXPL and LOGL functions to
19466 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19467 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19468 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19469 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19470 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19471 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19474 intermediate variable to calculate exponent.
19476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19480 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19481 [!NO__SQR]: Define __sqr.
19482 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19483 and NO__SQR. Remove all code except __mul and __sqr. Include
19484 sysdeps/ieee754/dbl-64/mpa.c.
19485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19488 * posix/Makefile (tests): Add tst-pathconf.
19489 * posix/tst-pathconf.c: New test case.
19490 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19492 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19494 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
19496 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19498 2013-03-06 Andreas Jaeger <aj@suse.de>
19500 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19501 definition via __MAP_ANONYMOUS.
19503 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19504 it's not part of Linux headers.
19506 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19507 (MAP_HUGE_MASK): Define.
19509 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19511 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19512 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19514 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19515 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19517 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19518 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19520 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19522 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19523 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19524 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19525 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19526 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19527 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19529 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19532 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19533 Handle f2fs and efivarfs.
19535 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19538 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19539 (EFIVARFS_MAGIC): Add.
19540 (F2FS_LINK_MAX): Add.
19542 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19544 * stdio-common/vfprintf.c: Replace __builtin_expect with
19547 2013-03-06 Joseph Myers <joseph@codesourcery.com>
19550 * sysdeps/generic/bp-sym.h: Remove file.
19551 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19552 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19553 <bp-sym.h> and <bp-asm.h>.
19554 (__longjmp): Don't use BP_SYM.
19555 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19557 (memcpy): Don't use BP_SYM.
19558 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19559 <bp-sym.h> and <bp-asm.h>.
19560 (memcpy): Don't use BP_SYM.
19561 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19563 (memcpy): Don't use BP_SYM.
19564 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19566 (memset): Don't use BP_SYM.
19567 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19568 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19569 (__bzero): Don't use BP_SYM.
19570 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19571 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19572 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19573 <bp-sym.h> and <bp-asm.h>.
19574 (memcmp): Don't use BP_SYM. Remove comment about bounded
19576 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19577 <bp-sym.h> and <bp-asm.h>.
19578 (memcpy): Don't use BP_SYM.
19579 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19580 <bp-sym.h> and <bp-asm.h>.
19581 (memset): Don't use BP_SYM.
19582 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19583 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19584 (__bzero): Don't use BP_SYM.
19585 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19586 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19587 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19588 <bp-sym.h> and <bp-asm.h>.
19589 (strncmp): Don't use BP_SYM. Remove comment about bounded
19591 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19592 <bp-sym.h> and <bp-asm.h>.
19593 (memcpy): Don't use BP_SYM.
19594 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19595 <bp-sym.h> and <bp-asm.h>.
19596 (memset): Don't use BP_SYM.
19597 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19598 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19599 (__bzero): Don't use BP_SYM.
19600 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19601 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19602 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19603 <bp-sym.h> and <bp-asm.h>.
19604 (__memchr): Don't use BP_SYM.
19605 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19606 <bp-sym.h> and <bp-asm.h>.
19607 (memcmp): Don't use BP_SYM. Remove comment about bounded
19609 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19610 <bp-sym.h> and <bp-asm.h>.
19611 (memcpy): Don't use BP_SYM.
19612 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19613 <bp-sym.h> and <bp-asm.h>.
19614 (__mempcpy): Don't use BP_SYM.
19615 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19616 <bp-sym.h> and <bp-asm.h>.
19617 (__memrchr): Don't use BP_SYM.
19618 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19619 <bp-sym.h> and <bp-asm.h>.
19620 (memset): Don't use BP_SYM.
19621 (__bzero): Likewise.
19622 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19623 <bp-sym.h> and <bp-asm.h>.
19624 (__rawmemchr): Don't use BP_SYM.
19625 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19626 <bp-sym.h> and <bp-asm.h>.
19627 (__STRCMP): Don't use BP_SYM.
19628 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19629 <bp-sym.h> and <bp-asm.h>.
19630 (strchr): Don't use BP_SYM.
19631 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19632 <bp-sym.h> and <bp-asm.h>.
19633 (__strchrnul): Don't use BP_SYM.
19634 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19635 <bp-sym.h> and <bp-asm.h>.
19636 (strlen): Don't use BP_SYM.
19637 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19638 <bp-sym.h> and <bp-asm.h>.
19639 (strncmp): Don't use BP_SYM. Remove comment about bounded
19641 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19642 <bp-sym.h> and <bp-asm.h>.
19643 (__strnlen): Don't use BP_SYM.
19644 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19645 <bp-sym.h> and <bp-asm.h>.
19646 (__GI__setjmp): Don't use BP_SYM.
19647 (_setjmp): Likewise.
19648 (__sigsetjmp): Likewise.
19649 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19650 (L(start_addresses)): Don't use BP_SYM.
19651 (_start): Likewise.
19652 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19654 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19655 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19656 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19657 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19658 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19660 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19661 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19662 about bounded pointers.
19663 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19664 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19665 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19667 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19668 about bounded pointers. Remove GKM FIXME comments.
19669 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19670 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19672 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19673 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19674 Remove GKM FIXME comments.
19675 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19676 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19677 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19679 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19680 about bounded pointers. Remove GKM FIXME comment.
19681 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19683 (strncmp): Don't use BP_SYM. Remove comment about bounded
19685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19686 <bp-sym.h> and <bp-asm.h>.
19687 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19689 <bp-sym.h> and <bp-asm.h>.
19690 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19693 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19695 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19698 2013-03-05 David S. Miller <davem@davemloft.net>
19700 * po/es.po: Update from translation team.
19702 2013-03-05 Andreas Jaeger <aj@suse.de>
19704 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19705 <bits/mman-linux.h>.
19706 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19708 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19709 <bits/mman-linux.h> to end of file.
19710 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19712 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19713 <bits/mman-linux.h> to end of file.
19714 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19716 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19717 <bits/mman-linux.h> to end of file.
19719 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19720 (MCL_CURRENT, MCL_FUTURE): Define here.
19722 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19725 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19727 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19729 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19731 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19732 fourth parameter needed for rt_sigprocmask syscall.
19733 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19734 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19735 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19736 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19737 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19738 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19740 2013-03-04 Joseph Myers <joseph@codesourcery.com>
19743 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19744 comment about bounded pointers.
19745 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19746 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19748 2013-03-04 Andreas Jaeger <aj@suse.de>
19750 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19751 common definitions.
19753 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19754 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19755 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19756 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19757 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19758 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19760 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19763 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19764 __ieee754_sqrl instead of __sqrl.
19766 2013-03-01 Joseph Myers <joseph@codesourcery.com>
19768 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19769 * sysdeps/powerpc/fpu_control.h: ... here.
19770 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19771 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19772 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19773 * sysdeps/powerpc/bits/mathinline.h: ... here.
19775 2013-03-01 Roland McGrath <roland@hack.frob.com>
19777 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19778 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19779 to just [NEED_DL_SYSINFO_DSO].
19780 * elf/dl-support.c: Likewise.
19781 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19782 * elf/rtld.c (dl_main): Likewise.
19783 * elf/setup-vdso.h (setup_vdso): Likewise.
19784 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19785 * sysdeps/unix/sysv/linux/dl-sysdep.c
19786 (_dl_discover_osversion): Likewise.
19788 2013-03-01 Carlos O'Donell <carlos@redhat.com>
19790 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19791 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19793 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19795 * NEWS: Mention libm performance improvements and non-x86 PI
19798 * csu/libc-start.c (__pthread_initialize_minimal): Change
19799 function arguments.
19800 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19802 2013-02-28 Joseph Myers <joseph@codesourcery.com>
19805 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19806 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19807 <bp-sym.h> and <bp-asm.h>.
19808 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19809 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19811 (memcpy): Don't use BP_SYM.
19812 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19814 (__mpn_add_n): Don't use BP_SYM.
19815 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19816 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19818 (__mpn_addmul_1): Don't use BP_SYM.
19819 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19820 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19822 (_setjmp): Don't use BP_SYM.
19823 (__novmx_setjmp): Likewise.
19824 (__GI__setjmp): Likewise.
19825 (__vmx_setjmp): Likewise.
19826 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19828 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19829 (__bzero): Don't use BP_SYM.
19830 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19831 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19832 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19833 <bp-sym.h> and <bp-asm.h>.
19834 (memcpy): Don't use BP_SYM.
19835 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19836 <bp-sym.h> and <bp-asm.h>.
19837 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19838 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19839 <bp-sym.h> and <bp-asm.h>.
19840 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19841 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19843 (__mpn_lshift): Don't use BP_SYM.
19844 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19845 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19847 (memset): Don't use BP_SYM.
19848 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19849 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19850 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19852 (__mpn_mul_1): Don't use BP_SYM.
19853 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19854 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19855 <bp-sym.h> and <bp-asm.h>.
19856 (memcmp): Don't use BP_SYM.
19857 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19858 <bp-sym.h> and <bp-asm.h>.
19859 (memcpy): Don't use BP_SYM.
19860 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19861 <bp-sym.h> and <bp-asm.h>.
19862 (memset): Don't use BP_SYM.
19863 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19864 <bp-sym.h> and <bp-asm.h>.
19865 (strncmp): Don't use BP_SYM.
19866 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19867 <bp-sym.h> and <bp-asm.h>.
19868 (memcpy): Don't use BP_SYM.
19869 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19870 <bp-sym.h> and <bp-asm.h>.
19871 (memset): Don't use BP_SYM.
19872 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19873 <bp-sym.h> and <bp-asm.h>.
19874 (__memchr): Don't use BP_SYM.
19875 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19876 <bp-sym.h> and <bp-asm.h>.
19877 (memcmp): Don't use BP_SYM.
19878 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19879 <bp-sym.h> and <bp-asm.h>.
19880 (memcpy): Don't use BP_SYM.
19881 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19882 <bp-sym.h> and <bp-asm.h>.
19883 (__mempcpy): Don't use BP_SYM.
19884 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19885 <bp-sym.h> and <bp-asm.h>.
19886 (__memrchr): Don't use BP_SYM.
19887 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19888 <bp-sym.h> and <bp-asm.h>.
19889 (memset): Don't use BP_SYM.
19890 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19891 <bp-sym.h> and <bp-asm.h>.
19892 (__rawmemchr): Don't use BP_SYM.
19893 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19894 <bp-sym.h> and <bp-asm.h>.
19895 (__STRCMP): Don't use BP_SYM.
19896 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19897 <bp-sym.h> and <bp-asm.h>.
19898 (strchr): Don't use BP_SYM.
19899 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19900 <bp-sym.h> and <bp-asm.h>.
19901 (__strchrnul): Don't use BP_SYM.
19902 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19903 <bp-sym.h> and <bp-asm.h>.
19904 (strlen): Don't use BP_SYM.
19905 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19906 <bp-sym.h> and <bp-asm.h>.
19907 (strncmp): Don't use BP_SYM.
19908 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19909 <bp-sym.h> and <bp-asm.h>.
19910 (__strnlen): Don't use BP_SYM.
19911 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19913 (__mpn_rshift): Don't use BP_SYM.
19914 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19915 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19916 <bp-sym.h> and <bp-asm.h>.
19917 (__sigsetjmp): Don't use BP_SYM.
19918 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19919 (L(start_addresses)): Don't use BP_SYM.
19920 (_start): Likewise.
19921 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19923 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19924 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19925 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19926 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19928 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19929 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19930 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19931 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19933 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19935 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19936 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19938 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19940 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19941 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19942 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19944 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19946 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19948 (strncmp): Don't use BP_SYM,
19949 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19951 (__mpn_sub_n): Don't use BP_SYM.
19952 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19953 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19955 (__mpn_submul_1): Don't use BP_SYM.
19956 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19958 <bp-sym.h> and <bp-asm.h>.
19959 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19961 <bp-sym.h> and <bp-asm.h>.
19962 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19965 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19968 Use ZK to minimize writes to Z.
19969 (sub_magnitudes): Simplify code a bit.
19970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19971 Use ZK to minimize writes to Z.
19972 (sub_magnitudes): Simplify code a bit.
19974 2013-02-27 Roland McGrath <roland@hack.frob.com>
19976 * csu/gmon-start.c: Add special exception to license text.
19978 2013-02-27 Richard Henderson <rth@redhat.com>
19980 * scripts/config.guess: Update from config.git.
19981 * scripts/config.sub: Likewise.
19983 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19985 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19987 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19989 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19991 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19993 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19995 2013-02-26 Roland McGrath <roland@hack.frob.com>
19997 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19998 [$(build-shared = yes].
20000 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20002 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20003 (__mul): Reduce iterations for calculating mantissa.
20005 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20007 (__mpranred): Likewise.
20010 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20011 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20013 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20015 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20016 Define __attribute__.
20018 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20020 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20022 * posix/regex_internal.h (__attribute): Remove.
20023 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20024 (re_string_context_at): Likewise.
20025 (bitset_not): Use __attribute__ and mark function as possibly
20027 (bitset_merge): Likewise.
20028 (bitset_mask): Likewise.
20029 (re_string_char_size_at): Likewise.
20030 (re_string_wchar_at): Likewise.
20031 (re_string_elem_size_at): Likewise.
20033 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20035 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20039 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20043 (denorm): Likewise.
20044 (__dbl_mp): Likewise.
20045 (add_magnitudes): Likewise.
20046 (sub_magnitudes): Likewise.
20050 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20053 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20056 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20060 up changes with default code.
20061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20064 2013-02-24 Allan McRae <allan@archlinux.org>
20066 * manual/socket.texi (The Internet Namespace): Order menu items
20067 to match that in the file.
20069 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20070 node listing of the info page menu.
20072 2013-02-21 Joseph Myers <joseph@codesourcery.com>
20075 * sysdeps/i386/bp-asm.h: Remove file.
20076 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20077 (PARMS): Do not use macros from bp-asm.h.
20081 (__mpn_add_n): Do not use BP_SYM
20082 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20084 (PARMS): Do not use macros from bp-asm.h.
20087 (__mpn_addmul_1): Do not use BP_SYM
20088 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20090 (PARMS): Do not use macros from bp-asm.h.
20091 (SIGMSK): Likewise.
20092 (_setjmp): Likewise. Do not use BP_SYM.
20093 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20095 (PARMS): Do not use macros from bp-asm.h.
20096 (SIGMSK): Likewise.
20097 (setjmp): Likewise. Do not use BP_SYM.
20098 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20100 (PARMS): Do not use macros from bp-asm.h.
20101 (__frexp): Do not use BP_SYM.
20103 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20105 (PARMS): Do not use macros from bp-asm.h.
20106 (__frexpf): Do not use BP_SYM.
20107 (frexpf): Likewise.
20108 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20110 (PARMS): Do not use macros from bp-asm.h.
20111 (__frexpl): Do not use BP_SYM.
20112 (frexpl): Likewise.
20113 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20115 (PARMS): Do not use macros from bp-asm.h.
20116 (__remquo): Do not use BP_SYM.
20117 (remquo): Likewise.
20118 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20120 (PARMS): Do not use macros from bp-asm.h.
20121 (__remquof): Do not use BP_SYM.
20122 (remquof): Likewise.
20123 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20125 (PARMS): Do not use macros from bp-asm.h.
20126 (__remquol): Do not use BP_SYM.
20127 (remquol): Likewise.
20128 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20130 (PARMS): Do not use macros from bp-asm.h.
20133 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20134 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20136 (PARMS): Do not use macros from bp-asm.h.
20137 (strlen): Do not use BP_SYM.
20138 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20140 (PARMS): Do not use macros from bp-asm.h.
20144 (__mpn_add_n): Do not use BP_SYM.
20145 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20147 (PARMS): Do not use macros from bp-asm.h.
20150 (__mpn_addmul_1): Do not use BP_SYM.
20151 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20154 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20156 (PARMS): Do not use macros from bp-asm.h.
20159 (__mpn_lshift): Do not use BP_SYM.
20160 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20162 (PARMS): Do not use macros from bp-asm.h.
20166 (memcpy): Likewise. Do not use BP_SYM.
20167 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20168 libc_hidden_def and weak_alias.
20169 (mempcpy): Do not use BP_SYM in weak_alias.
20170 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20172 (PARMS): Do not use macros from bp-asm.h.
20175 [!BZERO_P] (CHR): Likewise.
20176 (memset): Likewise. Do not use BP_SYM.
20177 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20179 (PARMS): Do not use macros from bp-asm.h.
20182 (__mpn_mul_1): Do not use BP_SYM.
20183 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20185 (PARMS): Do not use macros from bp-asm.h.
20188 (__mpn_rshift): Do not use BP_SYM.
20189 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20191 (PARMS): Do not use macros from bp-asm.h.
20194 (strchr): Likewise. Do not use BP_SYM.
20195 (index): Do not use BP_SYM in weak_alias.
20196 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20198 (PARMS): Do not use macros from bp-asm.h.
20201 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20202 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20204 (PARMS): Do not use macros from bp-asm.h.
20205 (strlen): Do not use BP_SYM.
20206 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20208 (PARMS): Do not use macros from bp-asm.h.
20212 (__mpn_sub_n): Do not use BP_SYM.
20213 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20215 (PARMS): Do not use macros from bp-asm.h.
20218 (__mpn_submul_1): Do not use BP_SYM.
20219 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20221 (PARMS): Do not use macros from bp-asm.h.
20225 (__mpn_add_n): Do not use BP_SYM.
20226 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20229 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20231 (PARMS): Do not use macros from bp-asm.h.
20234 (memcmp): Do not use BP_SYM.
20235 (bcmp): Do not use BP_SYM in weak_alias.
20236 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20238 (PARMS): Do not use macros from bp-asm.h.
20242 (memcpy): Likewise. Do not use BP_SYM.
20243 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20245 (PARMS): Do not use macros from bp-asm.h.
20249 (memmove): Likewise. Do not use BP_SYM.
20250 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20252 (PARMS): Do not use macros from bp-asm.h.
20256 (__mempcpy): Likewise. Do not use BP_SYM.
20257 (mempcpy): Do not use BP_SYM in weak_alias.
20258 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20260 (PARMS): Do not use macros from bp-asm.h.
20263 [!BZERO_P] (CHR): Likewise.
20264 (memset): Likewise. Do not use BP_SYM.
20265 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20267 (PARMS): Do not use macros from bp-asm.h.
20269 (strcmp): Do not use BP_SYM.
20270 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20272 (PARMS): Do not use macros from bp-asm.h.
20275 [USE_AS_STRTOK_R] (SAVE): Likewise.
20276 (FUNCTION): Likewise. Do not use BP_SYM.
20277 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20279 (strtok_r): Likewise.
20280 (__GI___strtok_r): Likewise.
20281 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20282 (PARMS): Do not use macros from bp-asm.h.
20285 (__mpn_lshift): Do not use BP_SYM.
20286 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20287 (PARMS): Do not use macros from bp-asm.h.
20290 (__memchr): Do not use BP_SYM.
20291 (memchr): Do not use BP_SYM in weak_alias.
20292 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20293 (PARMS): Do not use macros from bp-asm.h.
20296 (memcmp): Do not use BP_SYM.
20297 (bcmp): Do not use BP_SYM in weak_alias.
20298 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20299 (PARMS): Do not use macros from bp-asm.h.
20302 (__mpn_mul_1): Do not use BP_SYM.
20303 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20305 (PARMS): Do not use macros from bp-asm.h.
20308 (__rawmemchr): Do not use BP_SYM.
20309 (rawmemchr): Do not use BP_SYM in weak_alias.
20310 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20311 (PARMS): Do not use macros from bp-asm.h.
20314 (__mpn_rshift): Do not use BP_SYM.
20315 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20316 (PARMS): Do not use macros from bp-asm.h.
20317 (SIGMSK): Likewise.
20318 (__sigsetjmp): Likewise. Do not use BP_SYM.
20319 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20320 (_start): Do not use BP_SYM.
20321 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20322 (PARMS): Do not use macros from bp-asm.h.
20325 (__stpcpy): Likewise. Do not use BP_SYM.
20326 (stpcpy): Do not use BP_SYM in weak_alias.
20327 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20329 (PARMS): Do not use macros from bp-asm.h.
20333 (__stpncpy): Likewise. Do not use BP_SYM.
20334 (stpncpy): Do not use BP_SYM in weak_alias.
20335 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20336 (PARMS): Do not use macros from bp-asm.h.
20339 (strchr): Likewise. Do not use BP_SYM.
20340 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20342 (PARMS): Do not use macros from bp-asm.h.
20345 (__strchrnul): Likewise. Do not use BP_SYM.
20346 (strchrnul): Do not use BP_SYM in weak_alias.
20347 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20349 (PARMS): Do not use macros from bp-asm.h.
20351 (strcspn): Do not use BP_SYM.
20352 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20354 (PARMS): Do not use macros from bp-asm.h.
20357 (strpbrk): Likewise. Do not use BP_SYM.
20358 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20360 (PARMS): Do not use macros from bp-asm.h.
20363 (strrchr): Likewise. Do not use BP_SYM.
20364 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20365 (PARMS): Do not use macros from bp-asm.h.
20367 (strspn): Do not use BP_SYM.
20368 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20369 (PARMS): Do not use macros from bp-asm.h.
20373 (FUNCTION): Likewise. Do not use BP_SYM.
20374 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20376 (strtok_r): Likewise.
20377 (__GI___strtok_r): Likewise.
20378 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20379 (PARMS): Do not use macros from bp-asm.h.
20383 (__mpn_sub_n): Do not use BP_SYM.
20384 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20386 (PARMS): Do not use macros from bp-asm.h.
20389 (__mpn_submul_1): Do not use BP_SYM.
20390 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20392 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20394 (PARMS): Do not use macros from bp-asm.h.
20399 (__clone): Do not use BP_SYM.
20400 (clone): Do not use BP_SYM in weak_alias.
20401 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20403 (PARMS): Do not use macros from bp-asm.h.
20405 (__mmap64): Do not use BP_SYM.
20406 (mmap64): Do not use BP_SYM in weak_alias.
20407 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20408 <bp-sym.h> and <bp-asm.h>.
20409 (PARMS): Do not use macros from bp-asm.h.
20410 (__posix_fadvise64_l64): Do not use BP_SYM.
20411 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20412 (PARMS): Do not use macros from bp-asm.h.
20414 (semtimedop): Do not use BP_SYM.
20415 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20418 2013-02-21 Allan McRae <allan@archlinux.org>
20420 * manual/message.texi (Charset conversion in gettext):
20421 Move @end statement to beginning of line.
20423 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20430 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20431 (denorm): Likewise.
20432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20435 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20437 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20438 tail-call to the resolved function if pltexit isn't needed.
20440 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20443 or Y being zero as being unlikely.
20444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20447 2013-02-20 Carlos O'Donell <carlos@redhat.com>
20449 * manual/nss.texi (System Databases and Name Service Switch):
20450 Remove frobnicate @pxref.
20452 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20454 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20455 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20457 2013-02-20 Petr Machata <pmachata@redhat.com>
20459 * elf/elf.h (R_ARM_TARGET1): New macro.
20460 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20461 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20462 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20463 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20464 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20465 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20466 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20467 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20468 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20469 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20470 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20471 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20472 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20473 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20474 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20475 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20476 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20477 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20478 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20479 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20480 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20481 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20482 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20483 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20484 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20485 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20486 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20487 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20488 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20489 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20490 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20491 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20492 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20493 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20494 (R_ARM_THM_GOT_BREL12): Likewise.
20495 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20496 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20497 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20498 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20499 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20500 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20501 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20502 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20503 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20505 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20507 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20508 __attribute_used__ to __attribute__ ((unused)).
20510 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20512 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20515 comment formatting.
20516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20518 2013-02-19 Joseph Myers <joseph@codesourcery.com>
20521 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20523 (ENTER): Remove both macro definitions.
20525 (CHECK_BOUNDS_LOW): Likewise.
20526 (CHECK_BOUNDS_HIGH): Likewise.
20527 (CHECK_BOUNDS_BOTH): Likewise.
20528 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20529 (RETURN_BOUNDED_POINTER): Likewise.
20530 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20531 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20532 (POP_ERRNO_LOCATION_RETURN): Likewise.
20533 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20534 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20535 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20537 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20538 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20539 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20540 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20541 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20542 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20543 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20544 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20545 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20546 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20547 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20548 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20549 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20550 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20552 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20553 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20555 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20556 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20557 * sysdeps/i386/i586/memset.S (memset): Likewise.
20558 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20559 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20560 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20562 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20563 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20564 Change uses of L(2) to L(out).
20565 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20566 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20567 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20568 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20569 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20571 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20572 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20574 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20575 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20576 (RETURN): Do not use macro LEAVE.
20577 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20578 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20579 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20580 * sysdeps/i386/i686/memset.S (memset): Likewise.
20581 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20582 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20583 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20584 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20586 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20587 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20588 L(1_2) and L(1_3) into L(1).
20589 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20590 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20591 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20592 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20593 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20594 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20595 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20596 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20597 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20599 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20600 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20601 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20602 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20603 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20604 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20605 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20606 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20607 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20608 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20609 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20610 * sysdeps/i386/strspn.S (strspn): Likewise.
20611 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20613 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20614 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20615 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20616 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20617 L(1_3) into L(1_1).
20618 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20619 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20620 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20622 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20624 2013-02-19 Jakub Jelinek <jakub@redhat.com>
20626 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20629 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20631 * math/atest-exp.c (exp_mpn): Remove ROUND.
20632 * math/atest-exp2.c (exp_mpn): Likewise.
20633 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20635 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20636 * stdlib/tst-tls-atexit-lib.c: Likewise.
20637 * stdlib/tst-tls-atexit.c: Likewise.
20639 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20641 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20642 and __attribute_alloc_size__.
20644 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20646 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20647 __attribute_alloc_size__.
20648 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20649 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20651 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20653 * include/programs/xmalloc.h: New file.
20654 * catgets/gencat.c: Include it.
20655 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20656 * elf/pldd.c: Likewise.
20657 * iconv/iconv_charmap.c: Likewise.
20658 * iconv/iconvconfig.c: Likewise.
20659 * iconv/strtab.c: Likewise.
20660 * locale/programs/locale.c: Likewise.
20661 * locale/programs/localedef.h: Likewise.
20662 * locale/programs/simple-hash.c: Likewise.
20663 * nscd/nscd.h: Likewise.
20664 * nss/makedb.c: Likewise.
20665 * sysdeps/generic/ldconfig.h: Likewise.
20667 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20669 * Versions.def: Add GLIBC_2.18.
20670 * include/link.h (struct link_map): New member l_tls_dtor_count.
20671 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20672 (__call_tls_dtors): Likewise.
20673 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20674 __cxa_thread_atexit_impl.
20675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20683 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20691 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20692 (tests): Add test case tst-tls-atexit.
20693 (modules-names): Add shared library for tst-tls-atexit.
20694 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20695 (GLIBC_PRIVATE): Add __call_tls_dtors.
20696 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20698 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20699 * stdlib/tst-tls-atexit.c: New test case.
20700 * stdlib/tst-tls-atexit-lib.c: New test case.
20702 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20704 * elf/Versions (ld): Add _dl_find_dso_for_object.
20705 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20706 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20707 (dl_open_worker): Use _dl_find_dso_for_object.
20708 * elf/dl-sym.c (do_sym): Likewise.
20709 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20711 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20713 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20714 Syntactic changes only.
20715 (_dl_runtime_profile): Do a tail-call to the resolved function.
20717 2013-02-17 Joseph Myers <joseph@codesourcery.com>
20720 * sysdeps/x86_64/bp-asm.h: Remove file.
20721 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20722 <bp-sym.h> and <bp-asm.h>.
20723 (__clone): Do not use BP_SYM.
20724 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20725 <bp-sym.h> and <bp-asm.h>.
20726 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20727 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20729 (_setjmp): Do not use BP_SYM.
20730 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20732 (setjmp): Do not use BP_SYM.
20733 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20735 (mempcpy): Do not use BP_SYM in weak_alias.
20736 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20738 (strchr): Do not use BP_SYM.
20739 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20741 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20742 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20743 (_start): Do not use BP_SYM.
20744 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20746 (strcat): Do not use BP_SYM.
20747 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20749 (STRCMP): Do not use BP_SYM.
20750 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20752 (STRCPY): Do not use BP_SYM.
20753 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20755 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20757 (FUNCTION): Do not use BP_SYM.
20758 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20760 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20762 2013-02-17 Andreas Jaeger <aj@suse.de>
20764 * time/Versions: Sort entries.
20765 * string/Versions: Likewise.
20766 * resolv/Versions: Likewise.
20767 * posix/Versions: Likewise.
20768 * iconv/Versions: Likewise.
20769 * elf/Versions: Likewise.
20770 * wcsmbs/Versions: Likewise.
20772 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20774 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20775 loop termination condition.
20777 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20778 variable to calculate EZ.
20781 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20782 the lower precision input.
20784 2013-02-15 Joseph Myers <joseph@codesourcery.com>
20787 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20788 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20789 (run-via-rtld-prefix): Do not handle %-bp tests.
20790 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20791 (all-object-suffixes): Remove .ob.
20792 (bppfx): Remove variable.
20793 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20794 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20795 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20796 [$(build-bounded) = yes] (libtype.ob): Likewise.
20797 * Makerules (elide-routines.ob): Remove variable.
20798 (do-tests-clean): Do not handle *-bp.out.
20799 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20800 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20801 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20802 (tests): Do not include $(tests-bp.out).
20803 (xtests): Do not include $(xtests-bp.out).
20804 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20805 [$(build-bounded) = yes] ($(addprefix
20806 $(objpfx),$(binaries-bounded))): Remove rule.
20807 ($(objpfx)%-bp.out): Remove rule.
20808 * config.make.in (build-bounded): Remove variable.
20809 * crypt/Makefile [$(build-bounded) = yes]
20810 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20811 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20812 append to variable.
20813 [$(build-bounded) = yes] (install-lib): Likewise.
20814 [$(build-bounded) = yes] (generated): Likewise.
20815 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20817 * intl/Makefile [$(build-bounded) = yes]
20818 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20819 * math/Makefile [$(build-bounded) = yes]
20820 ($(tests:%=$(objpfx)%-bp): Likewise.
20821 * misc/Makefile [$(build-bounded) = yes]
20822 ($(objpfx)tst-tsearch-bp): Likewise.
20823 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20824 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20826 * string/Makefile (o-objects.ob): Remove variable.
20827 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20828 (CFLAGS-.ob): Remove variable.
20829 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20830 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20831 both definitions of variable.
20832 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20833 (ASFLAGS-.ob): Remove variable.
20835 2013-02-14 Joseph Myers <joseph@codesourcery.com>
20838 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20839 Remove __BOUNDED_POINTERS__ from condition.
20840 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20841 * string/bits/string2.h [!__NO_STRING_INLINES &&
20842 !__BOUNDED_POINTERS__]: Likewise.
20843 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20845 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20846 Remove conditional code.
20847 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20848 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20849 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20853 * csu/libc-start.c: Do not include <bp-sym.h>.
20854 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20855 * elf/dl-open.c: Do not include <bp-sym.h>.
20856 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20857 * math/fegetenv.c: Do not include <bp-sym.h>.
20858 (fegetenv): Do not use BP_SYM in versioned symbols.
20859 * nptl/sysdeps/pthread/bits/libc-lockP.h
20860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20863 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20865 (__pthread_mutex_destroy): Likewise.
20866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20867 (__pthread_mutex_lock): Likewise.
20868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20869 (__pthread_mutex_trylock): Likewise.
20870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20871 (__pthread_mutex_unlock): Likewise.
20872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20873 (__pthread_mutexattr_init): Likewise.
20874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20875 (__pthread_mutexattr_destroy): Likewise.
20876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20877 (__pthread_mutexattr_settype): Likewise.
20878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20879 (__pthread_rwlock_init): Likewise.
20880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20881 (__pthread_rwlock_destroy): Likewise.
20882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20883 (__pthread_rwlock_rdlock): Likewise.
20884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20885 (__pthread_rwlock_tryrdlock): Likewise.
20886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20887 (__pthread_rwlock_wrlock): Likewise.
20888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20889 (__pthread_rwlock_trywrlock): Likewise.
20890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20891 (__pthread_rwlock_unlock): Likewise.
20892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20893 (__pthread_key_create): Likewise.
20894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20895 (__pthread_setspecific): Likewise.
20896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20897 (__pthread_getspecific): Likewise.
20898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20901 (_pthread_cleanup_push_defer): Likewise.
20902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20903 (_pthread_cleanup_pop_restore): Likewise.
20904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20905 (pthread_setcancelstate): Likewise.
20906 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20908 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20909 (memchr): Do not use BP_SYM in weak_alias.
20910 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20911 (fegetenv): Do not use BP_SYM in versioned symbols.
20912 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20913 (fesetenv): Do not use BP_SYM in versioned symbols.
20914 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20915 (feupdateenv): Do not use BP_SYM in versioned symbols.
20916 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20917 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20918 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20919 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20920 (open64): Do not use BP_SYM in weak_alias.
20921 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20922 (fegetenv): Do not use BP_SYM in versioned symbols.
20923 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20924 (fesetenv): Do not use BP_SYM in versioned symbols.
20925 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20926 (feupdateenv): Do not use BP_SYM in versioned symbols.
20927 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20928 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20929 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20930 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20931 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20932 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20933 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20935 (__libc_start_main): Do not use BP_SYM.
20937 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20940 redundant return line.
20942 (denorm): Likewise.
20943 (dbl_mp): Likewise.
20944 (sub_magnitudes): Likewise.
20950 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20952 (denorm): Likewise.
20953 (dbl_mp): Likewise.
20954 (sub_magnitudes): Likewise.
20961 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20963 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20964 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20967 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20968 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20970 of __mul for squares.
20971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20975 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20976 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20978 2013-02-13 Joseph Myers <joseph@codesourcery.com>
20981 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20983 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20984 prototype or function definition. Rename ubp_* variables and
20985 parameters. Remove argv definitions conditional on
20986 [__BOUNDED_POINTERS__].
20987 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20988 * elf/dl-runtime.c (_dl_fixup): Likewise.
20989 * include/set-hooks.h (RUN_HOOK): Likewise.
20990 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20992 * string/strcpy.c (strcpy): Do not use __unbounded.
20993 * sysdeps/generic/frame.h (struct layout): Likewise.
20994 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20995 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20996 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20997 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20998 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20999 (__backtrace): Likewise.
21000 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21002 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21003 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21004 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21006 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21007 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21008 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21009 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21010 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21011 Do not use __unbounded.
21012 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21013 Rename __unboundedrlimits parameter to rlimits in prototype.
21014 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21015 Do not use __unbounded.
21016 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21017 not use __ptrvalue.
21018 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21019 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21020 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21021 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21022 __ptrvalue or __unbounded.
21023 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21024 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21026 (__new_msgctl): Do not use __ptrvalue.
21027 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21029 (__libc_msgrcv): Do not use __ptrvalue.
21030 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21031 startup_info): Do not use __unbounded.
21032 (__libc_start_main): Likewise. Rename ubp_* variables and
21033 parameters. Remove argv definitions conditional on
21034 [__BOUNDED_POINTERS__].
21035 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21037 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21039 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21041 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21043 (__new_shmctl): Do not use __ptrvalue.
21044 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21045 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21047 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21048 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21049 (__libc_sigaction): Likewise.
21050 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21051 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21053 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21055 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
21057 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21059 * string/mempcpy.c: Implement by calling memcpy.
21061 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21063 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21068 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21069 values in the mantissa.
21071 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21072 minimize writes to Z.
21073 (sub_magnitudes): Simplify code a bit.
21075 2013-02-12 Roland McGrath <roland@hack.frob.com>
21077 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21078 from the message. The linker prefixes all warnings with that already.
21080 2013-02-12 Andreas Schwab <schwab@suse.de>
21083 * posix/regexec.c (extend_buffers): Add parameter min_len.
21084 (check_matching): Pass minimum needed length.
21085 (clean_state_log_if_needed): Likewise.
21086 (get_subexp): Likewise.
21087 * posix/Makefile (tests): Add bug-regex34.
21088 (bug-regex34-ENV): Define.
21089 * posix/bug-regex34.c: New file.
21092 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21093 elements compare against the byte sequence of it, not its name.
21094 * posix/Makefile (tests): Add bug-regex35.
21095 (bug-regex35-ENV): Define.
21096 * posix/bug-regex35.c: New file.
21098 2013-02-11 Tom de Vries <tom@codesourcery.com>
21100 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21102 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21103 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21104 (CHECK_EOL): Add undef.
21106 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
21108 * bits/stdlib-bsearch.h: New file.
21109 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21110 * stdlib/stdlib.h: Likewise.
21112 2013-02-11 Roland McGrath <roland@hack.frob.com>
21114 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21115 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21117 * manual/search.texi (Array Search Function): Add missing const in
21119 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21120 declaration to use rlim_t.
21121 (Basic Scheduling Functions): Remove erroneous const from
21122 sched_getparam prototype. Remove erroneous * from
21123 sched_get_priority_max and sched_get_priority_min prototypes.
21124 (Resource Usage): Fix summary @comment on vtimes to refer to
21125 sys/vtimes.h rather than vtimes.h.
21126 Add missing *s in vtimes prototype.
21127 (Limits on Resources): Fix ulimit prototype to return long int.
21128 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21129 prototypes to use long int rather than double.
21130 (BSD Random): Fix initstate and setstate to use char *, not void *.
21131 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21132 prototype to make second argument 'struct aiocb64 *const[]'.
21133 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21134 (Status of AIO Operations): Remove erroneous const in aio_return and
21135 aio_return64 prototypes.
21136 (Synchronizing I/O): Fix sync prototype to return void.
21137 * manual/startup.texi (Suboptions): Remove an erroneous const in
21138 getsubopt prototype.
21139 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21140 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21141 use size_t rather than int.
21142 (Scanning All Users): Likewise for getpwent_r.
21143 (Setting Groups): Add missing const to setgroups prototype.
21144 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21145 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21146 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21147 'const void *' rather than 'const char *'.
21148 (Host Address Functions): Likewise for inet_ntop.
21149 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21150 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21151 ssize_t for return value.
21152 (Sending Data): Likewise for send, sendto, sendmsg.
21153 (Socket Option Functions): Add a missing const in setsockopt prototype.
21154 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21155 use wchar_t for the argument.
21156 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21157 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21159 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21160 double/float/long double for second argument.
21161 Fix return types of significand, significandf, significandl.
21162 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21163 argument in fchmod prototype.
21164 (File Owner): Use uid_t and gid_t in fchown prototype.
21165 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21166 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21167 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21168 use 'const struct dirent **' as argument types to CMP function pointer
21170 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21171 (File Times): Fix summary magic @comment for struct utimbuf and utime
21172 to refer to utime.h, not time.h.
21173 * manual/string.texi (Argz Functions): Add missing const in
21174 argz_extract and argz_next prototypes.
21175 (Finding Tokens in a String): Likewise for basename.
21176 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21177 (Copying and Concatenation): Fix typo in wmemmove prototype.
21178 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21179 (Signal Stack): Remove erroneous const in sigstack prototype.
21180 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21182 (Simple Calendar Time): Likewise for stime.
21183 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21185 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21186 say sys/sysctl.h instead.
21187 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21188 and vsyslog prototypes.
21190 2013-02-11 Tom de Vries <tom@codesourcery.com>
21192 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21195 2013-02-11 Roland McGrath <roland@hack.frob.com>
21197 * misc/sys/mman.h: Fix typo in mremap comment.
21199 2013-02-08 Roland McGrath <roland@hack.frob.com>
21201 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21202 the '\0' terminator.
21204 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21207 * debug/segfault.c: Don't include <bp-checks.h>.
21208 * sysdeps/generic/bp-checks.h: Remove file.
21209 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21210 (__GETDENTS): Don't use CHECK_N.
21211 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21212 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21213 (__getgroups): Don't use CHECK_N.
21214 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21215 (setgroups): Don't use CHECK_N.
21216 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21217 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21218 (__libc_msgrcv): Don't use CHECK_N.
21219 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21220 (__libc_msgsnd): Don't use CHECK_N.
21221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21223 (__libc_pread): Don't use CHECK_N.
21224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21225 include <bp-checks.h>.
21226 (__libc_pread64): Don't use CHECK_N.
21227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21228 include <bp-checks.h>.
21229 (__libc_pwrite): Don't use CHECK_N.
21230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21231 include <bp-checks.h>.
21232 (__libc_pwrite64): Don't use CHECK_N.
21233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21235 (__libc_pread): Don't use CHECK_N.
21236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21237 include <bp-checks.h>.
21238 (__libc_pread64): Don't use CHECK_N.
21239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21240 include <bp-checks.h>.
21241 (__libc_pwrite): Don't use CHECK_N.
21242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21243 include <bp-checks.h>.
21244 (__libc_pwrite64): Don't use CHECK_N.
21245 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21246 (do_pread): Don't use CHECK_N.
21247 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21248 (do_pread64): Don't use CHECK_N.
21249 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21250 (do_pwrite): Don't use CHECK_N.
21251 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21252 (do_pwrite64): Don't use CHECK_N.
21253 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21254 (__libc_readv): Don't use CHECK_N.
21255 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21256 (semop): Don't use CHECK_N.
21257 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21259 (semtimedop): Don't use CHECK_N.
21260 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21261 (__libc_pread): Don't use CHECK_N.
21262 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21264 (__libc_pread64): Don't use CHECK_N.
21265 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21267 (__libc_pwrite): Don't use CHECK_N.
21268 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21270 (__libc_pwrite64): Don't use CHECK_N.
21271 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21273 (__libc_msgrcv): Don't use CHECK_N.
21274 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21275 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21276 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21277 (__libc_writev): Don't use CHECK_N.
21279 2013-02-08 Roland McGrath <roland@hack.frob.com>
21281 * string/strcpy.c: Removed unused variable.
21283 * Makeconfig (+sysdep-includes): Define with := rather than =.
21284 Use an existing include/ subdir of each sysdeps dir before it.
21286 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21288 * nscd/connection.c (register_traced_file): Comment function.
21289 [HAVE_INOTIFY] (union __inev): Define.
21290 [HAVE_INOTIFY] (inotify_check_files): New function.
21291 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21292 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21294 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21296 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21298 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21299 loaded if not already and that a failure is permanent.
21301 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21304 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21305 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21307 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21310 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21311 (CHECK_1_NULL_OK): Likewise.
21312 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21313 (__fxstat): Do not use CHECK_1.
21314 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21316 (___fxstat64): Do not use CHECK_1.
21317 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21319 (__fxstatat): Do not use CHECK_1.
21320 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21322 (__fxstatat64): Do not use CHECK_1.
21323 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21325 (__fxstat): Do not use CHECK_1.
21326 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21328 (__fxstatat): Do not use CHECK_1.
21329 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21331 (__getresgid): Do not use CHECK_1.
21332 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21334 (__getresuid): Do not use CHECK_1.
21335 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21337 (__lxstat): Do not use CHECK_1.
21338 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21340 (__old_msgctl): Do not use CHECK_1.
21341 (__new_msgctl): Likewise.
21342 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21344 (__new_setrlimit): Do not use CHECK_1.
21345 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21347 (__old_shmctl): Do not use CHECK_1.
21348 (__new_shmctl): Likewise.
21349 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21351 (__xstat): Do not use CHECK_1.
21352 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21353 (__lxstat): Do not use CHECK_1.
21354 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21356 (___lxstat64): Do not use CHECK_1.
21357 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21358 (__old_msgctl): Do not use CHECK_1.
21359 (__new_msgctl): Likewise.
21360 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21362 (__gettimeofday): Do not use CHECK_1.
21363 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21364 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21365 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21367 (__gettimeofday): Do not use CHECK_1.
21368 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21369 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21370 (__new_shmctl): Do not use CHECK_1.
21371 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21373 (do_sigtimedwait): Do not use CHECK_1.
21374 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21376 (do_sigwaitinfo): Do not use CHECK_1.
21377 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21379 (msgctl): Do not use CHECK_1.
21380 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21382 (shmctl): Do not use CHECK_1.
21383 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21384 (ustat): Do not use CHECK_1.
21385 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21387 (__fxstat): Do not use CHECK_1.
21388 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21390 (__fxstatat): Do not use CHECK_1.
21391 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21393 (__lxstat): Do not use CHECK_1.
21394 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21396 (__xstat): Do not use CHECK_1.
21397 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21398 (__xstat): Do not use CHECK_1.
21399 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21400 (___xstat64): Do not use CHECK_1.
21403 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21405 (CHECK_BOUNDS_HIGH): Likewise.
21406 * string/strcpy.c: Do not include <bp-checks.h>.
21407 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21409 2013-02-07 Roland McGrath <roland@hack.frob.com>
21411 * nscd/nscd-client.h (__nscd_drop_map_ref):
21412 Add __attribute__ ((unused)).
21413 * nis/nss-nisplus.h (niserr2nss): Likewise.
21415 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21416 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21418 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21419 Remove inline keyword.
21420 * include/rounding-mode.h (round_away): Likewise.
21421 * libio/wfileops.c (adjust_wide_data): Likewise.
21422 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21423 (__m128i_strloadu_tolower): Likewise.
21424 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21425 (__m128i_strloadu_tolower): Likewise.
21426 * time/mktime.c (ydhms_diff): Likewise.
21427 * locale/elem-hash.h (elem_hash): Likewise.
21428 * locale/setlocale.c (setdata): Likewise.
21429 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21430 (re_string_wchar_at): Likewise.
21431 (bitset_not, bitset_merge, bitset_mask): Likewise.
21432 [!(__GNUC__ > 3)] (inline): Remove macro.
21433 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21434 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21435 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21436 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21437 * string/memcmp.c (memcmp_bytes): Likewise.
21438 * locale/programs/locarchive.c (compute_hashval): Likewise.
21439 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21440 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21441 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21442 * nss/getent.c (print_rpc, print_protocols): Likewise.
21443 (print_passwd, print_group, print_aliases): Likewise.
21444 * nis/nss-nisplus.h (niserr2nss): Likewise.
21445 * nscd/connections.c (restart_p): Likewise.
21446 Change return type to bool.
21448 2013-02-05 Roland McGrath <roland@hack.frob.com>
21450 * Makeconfig (all-Depend-files): Add existing
21451 $(sorted-subdirs:=/Depend) files.
21452 (all-subdirs): Remove nss.
21453 * sysdeps/unix/inet/Subdirs: Add it here instead.
21454 * hesiod/Depend: New file.
21456 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21457 instead of calling alloca.
21459 * io/lseek.c (__lseek): Rename to __libc_lseek.
21460 Define __lseek as an alias.
21462 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21464 2013-02-04 Carlos O'Donell <carlos@redhat.com>
21466 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21467 else clause and remove check for non-standard endianness.
21469 2013-02-04 David S. Miller <davem@davemloft.net>
21471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21473 2013-02-04 Joseph Myers <joseph@codesourcery.com>
21476 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21477 (__ubp_memchr): Remove prototype.
21478 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21479 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21480 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21481 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21482 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21484 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21485 (__ubp_memchr): Likewise.
21486 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21487 (__ubp_memchr): Likewise.
21488 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21489 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21490 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21491 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21493 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21494 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21495 (__getcwd): Do not use CHECK_STRING.
21496 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21498 (__real_chown): Do not use CHECK_STRING.
21499 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21501 (fchownat): Do not use CHECK_STRING.
21502 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21504 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21506 (__lchown): Do not use CHECK_STRING.
21507 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21508 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21509 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21510 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21512 include <bp-checks.h>.
21513 (truncate64): Do not use CHECK_STRING.
21514 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21516 (__real_chown): Do not use CHECK_STRING.
21517 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21519 (__lchown): Do not use CHECK_STRING.
21520 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21522 (__chown): Do not use CHECK_STRING.
21523 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21525 (truncate64): Do not use CHECK_STRING.
21526 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21528 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21529 (__xmknod): Do not use CHECK_STRING.
21530 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21532 (__xmknodat): Do not use CHECK_STRING.
21533 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21534 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21536 2013-02-04 Andreas Schwab <schwab@suse.de>
21539 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21540 * include/netdb.h: Likewise for h_errno.
21541 * elf/tst-stackguard1.c: Include <tls.h>.
21543 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21545 * elf/link.h (struct link_map): Extend the l_addr comment.
21546 * include/link.h (struct link_map): Likewise.
21548 2013-02-01 Joseph Myers <joseph@codesourcery.com>
21551 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21552 (BOUNDED_1): Remove macro.
21553 * debug/backtrace.c: Don't include <bp-checks.h>.
21554 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21555 (__backtrace): Likewise.
21556 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21558 (__backtrace): Don't use BOUNDED_1.
21559 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21561 (__backtrace): Don't use BOUNDED_1.
21562 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21563 (__backtrace): Don't use BOUNDED_1.
21564 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21565 (shmat): Don't use BOUNDED_N.
21567 2013-01-31 Joseph Myers <joseph@codesourcery.com>
21570 * sysdeps/generic/bp-start.h: Remove file.
21571 * csu/libc-start.c: Don't include <bp-start.h>.
21572 (LIBC_START_MAIN): Set up __environ directly instead of using
21573 INIT_ARGV_and_ENVIRON.
21574 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21578 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21580 (CHECK_FCNTL): Likewise.
21581 (CHECK_N_PAGES): Likewise.
21584 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21586 (CHECK_SIGSET_NULL_OK): Likewise.
21587 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21589 (sigpending): Don't use CHECK_SIGSET.
21590 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21592 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21593 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21595 (do_sigsuspend): Don't use CHECK_SIGSET.
21596 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21598 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21599 (do_sigwait): Don't use CHECK_SIGSET.
21600 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21602 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21603 include <bp-checks.h>.
21604 (sigpending): Don't use CHECK_SIGSET.
21605 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21606 include <bp-checks.h>.
21607 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21608 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21610 (sigpending): Don't use CHECK_SIGSET.
21611 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21613 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21616 * sysdeps/generic/bp-semctl.h: Remove file.
21617 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21618 <bp-checks.h> and <bp-semctl.h>.
21619 (__old_semctl): Don't use CHECK_SEMCTL.
21620 (__new_semctl): Likewise.
21621 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21623 (__old_semctl): Don't use CHECK_SEMCTL.
21624 (__new_semctl): Likewise.
21625 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21626 <bp-checks.h> and <bp-semctl.h>.
21627 (__old_semctl): Don't use CHECK_SEMCTL.
21628 (__new_semctl): Likewise.
21629 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21630 <bp-checks.h> and <bp-semctl.h>.
21631 (semctl): Don't use CHECK_SEMCTL.
21634 * Makerules (elide-bp-thunks): Remove variable.
21635 (elide-routines.oS): Don't use $(elide-bp-thunks).
21636 (elide-routines.os): Likewise.
21637 (elide-routines.o): Likewise.
21638 (elide-routines.op): Likewise.
21639 (elide-routines.og): Likewise.
21640 (objects): Don't use $(bp-thunks).
21641 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21643 (common-generated): Do not add s-proto-bp.d.
21644 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21647 Do not generate makefile rules for bounded-pointer thunks.
21648 * sysdeps/generic/bp-thunks.h: Remove file.
21649 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21650 * sysdeps/unix/s-proto-bp.S: Likewise.
21653 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21654 parts of result separately when argument is not close to line from
21655 -i to i and one part of argument is small.
21656 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21657 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21658 * math/libm-test.inc (cacos_test): Add more tests.
21659 (casin_test): Likewise.
21660 (casinh_test): Likewise.
21661 * sysdeps/i386/fpu/libm-test-ulps: Update.
21662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21664 2013-01-31 David S. Miller <davem@davemloft.net>
21666 * po/de.po: Update from translation team.
21668 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21670 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21672 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21674 * configure.in (_AC_PROG_CC_C89): New definition.
21675 * configure: Regenerate.
21677 * configure.in (AC_PROG_CPP): New definition.
21678 * configure: Regenerate.
21680 2013-01-23 Joseph Myers <joseph@codesourcery.com>
21682 * debug/tst-backtrace.h: New file.
21683 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21684 (ret): Remove variable.
21686 (FAIL): Remove macro.
21687 (NO_INLINE): Likewise.
21688 (fn1): Use match function instead of strstr.
21689 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21690 (ret): Remove variable.
21692 (FAIL): Remove macro.
21693 (NO_INLINE): Likewise.
21694 (fn): Use match function instead of strstr.
21695 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21696 (ret): Remove variable.
21698 (FAIL): Remove macro.
21699 (NO_INLINE): Likewise.
21700 (handle_signal): Use match function instead of strstr.
21701 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21702 (ret): Remove variable.
21704 (FAIL): Remove macro.
21705 (NO_INLINE): Likewise.
21706 (handle_signal): Use match function instead of strstr.
21708 2013-01-23 Roland McGrath <roland@hack.frob.com>
21710 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21712 2013-01-23 David S. Miller <davem@davemloft.net>
21714 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21715 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21716 argument of CAS if possible.
21717 * sysdeps/sparc/sparc64/bits/atomic.h
21718 (__arch_compare_and_exchange_val_32_acq): Likewise.
21719 (__arch_compare_and_exchange_val_64_acq): Likewise.
21721 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21723 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21724 * sysdeps/posix/ulimit.c: ... this.
21725 Include <limits.h>.
21726 * sysdeps/unix/bsd/ulimit.c: Remove file.
21728 2013-01-23 Adam Conrad <adconrad@0c3.net>
21730 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21731 (LDFLAGS-tst-array5): Likewise.
21733 2013-01-23 Joseph Myers <joseph@codesourcery.com>
21736 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21737 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21738 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21739 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21741 2013-01-21 David S. Miller <davem@davemloft.net>
21743 * sysdeps/sparc/backtrace.c: New file.
21744 * sysdeps/sparc/sparc32/backtrace.h: New file.
21745 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21746 * sysdeps/sparc/sparc64/backtrace.h: New file.
21747 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21748 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21751 2013-01-21 Andreas Schwab <schwab@suse.de>
21754 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21757 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21763 2013-01-18 Joseph Myers <joseph@codesourcery.com>
21764 Mark Mitchell <mark@codesourcery.com>
21765 Tom de Vries <tom@codesourcery.com>
21766 Paul Pluzhnikov <ppluzhnikov@google.com>
21768 * debug/tst-backtrace2.c: New file.
21769 * debug/tst-backtrace3.c: Likewise.
21770 * debug/tst-backtrace4.c: Likewise.
21771 * debug/tst-backtrace5.c: Likewise.
21772 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21773 (CFLAGS-tst-backtrace3.c): Likewise.
21774 (CFLAGS-tst-backtrace4.c): Likewise.
21775 (CFLAGS-tst-backtrace5.c): Likewise.
21776 (LDFLAGS-tst-backtrace2): Likewise.
21777 (LDFLAGS-tst-backtrace3): Likewise.
21778 (LDFLAGS-tst-backtrace4): Likewise.
21779 (LDFLAGS-tst-backtrace5): Likewise.
21780 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21781 tst-backtrace4 and tst-backtrace5.
21783 2013-01-18 Anton Blanchard <anton@samba.org>
21784 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21786 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21787 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21788 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21789 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21791 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21792 "+r" and remove output regs list as redundant. Add explicit inline
21793 asm to specify register of return val to work around compiler codegen
21794 bug. Remove (int) cast on return value. Add return type parameter to
21795 use in macro so that this macro does not truncate return value for
21797 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21798 pass to INTERNAL_VSYSCALL_NCS.
21799 (INLINE_VSYSCALL): Add 'long int' as return type to
21800 INTERNAL_VSYSCALL_NCS macro invocation.
21801 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21802 INTERNAL_VSYSCALL_NCS macro invocation.
21803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21805 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21808 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21809 Fix application of SIMD FP exception mask.
21811 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21812 mp_no from a power of two.
21813 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21814 __mpexp_twomm1. Use __pow_mp.
21816 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21819 2013-01-17 David S. Miller <davem@davemloft.net>
21821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21823 2013-01-17 Joseph Myers <joseph@codesourcery.com>
21826 * include/complex.h: Condition contents on [!_COMPLEX_H].
21827 (__kernel_casinhf): New prototype.
21828 (__kernel_casinh): Likewise.
21829 (__kernel_casinhl): Likewise.
21830 * math/Makefile (libm_calls): Add k_casinh.
21831 * math/k_casinh.c: New file.
21832 * math/k_casinhf.c: Likewise.
21833 * math/k_casinhl.c: Likewise.
21834 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21835 finite nonzero arguments.
21836 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21837 finite nonzero arguments.
21838 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21839 finite nonzero arguments.
21840 * math/s_casinh.c: Do not include <float.h>.
21841 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21842 * math/s_casinhf.c: Do not include <float.h>.
21843 (__casinhf): Move code for finite nonzero arguments to
21845 * math/s_casinhl.c: Do not include <float.h>.
21846 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21848 (__casinhl): Move code for finite nonzero arguments to
21850 * math/libm-test.inc (cacos_test): Add more tests.
21851 * sysdeps/i386/fpu/libm-test-ulps: Update.
21852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21854 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21856 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21857 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21858 [!HAVE_MREMAP]: Remove [defined linux] case.
21859 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21861 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21863 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21865 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
21867 * elf/elf.h (R_386_SIZE32): New relocation.
21868 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21870 (elf_machine_rela): Likewise.
21871 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21872 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21874 2013-01-17 Joseph Myers <joseph@codesourcery.com>
21876 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21877 (FP_FAST_FMA): Do not define.
21878 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21879 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21880 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21881 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21882 !_SOFT_FLOAT]: Likewise.
21883 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21884 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21886 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21887 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21888 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21889 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21890 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21891 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21894 2013-01-16 Andreas Schwab <schwab@suse.de>
21897 * include/stdlib.h (__mktemp): Add declaration.
21898 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21899 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21901 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21903 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21905 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21906 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21907 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21909 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21910 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21912 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21914 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21915 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21916 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21918 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21919 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21921 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21923 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21925 2013-01-15 David S. Miller <davem@davemloft.net>
21927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21928 trunc{,f} to libm-sysdep_routes.
21929 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21939 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21940 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21941 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21942 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21943 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21944 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21947 nearbyint{,f} to libm-sysdep_routes.
21948 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21959 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21961 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21962 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21964 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21965 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21966 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21968 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21969 libc_feholdexcept and libc_fesetenv.
21971 2013-01-15 Mike Frysinger <vapier@gentoo.org>
21973 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21975 2013-01-14 David S. Miller <davem@davemloft.net>
21977 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21978 (SPARC_ASM_VIS2_IFUNC): Likewise.
21979 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21981 use of 'siam' instruction.
21982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22010 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22011 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22012 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22013 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22015 routines to libm-sysdep_routines.
22016 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22019 fdim/fdimf to libm-sysdep_routines.
22020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22028 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22029 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22030 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22031 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22033 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22035 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22036 to optimize copies.
22038 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22039 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22043 local variable MPTWO.
22044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22047 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22049 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22052 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22054 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22056 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22058 * manual/pattern.texi (glob_t): Document gl_flags.
22059 (glob64_t): Likewise.
22061 2013-01-11 David S. Miller <davem@davemloft.net>
22063 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22064 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22065 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
22066 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22067 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22068 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22069 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22070 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22071 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22072 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22073 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22074 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22075 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22077 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22078 sparc V9 rather than using V8 code.
22079 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22080 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22082 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22084 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22087 2013-01-11 Roland McGrath <roland@hack.frob.com>
22089 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22090 not in the main loop.
22091 * configure: Regenerated.
22093 2013-01-11 Joseph Myers <joseph@codesourcery.com>
22095 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22096 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22098 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22099 [!__GLIBC_HAVE_LONG_LONG] case.
22100 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22101 condition to just #else.
22102 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22103 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22104 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22105 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22107 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22108 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22109 #elif condition to just #else.
22110 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22111 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22112 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22113 #elif condition to just #else.
22115 2013-01-11 Steve Ellcey <sellcey@mips.com>
22117 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22118 (EF_MIPS_ARCH_64): Fix value.
22119 (EF_MIPS_ARCH_32R2): New.
22120 (EF_MIPS_ARCH_64R2): New.
22122 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22124 * Makeconfig (+link-pie-before-libc): New.
22125 (+link-pie-after-libc): Likewise.
22126 (+link-pie-tests): Likewise.
22127 (+link-pie): Rewritten.
22128 (link-before-libc): Remove $(config-LDFLAGS).
22129 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22130 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22131 (config-LDFLAGS): Renamed to ...
22132 (rtld-LDFLAGS): This.
22133 (rtld-tests-LDFLAGS): New macro.
22134 (link-libc-rpath-link): Likewise.
22135 (link-libc-tests-rpath-link): Likewise.
22136 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22137 (link-libc): Prepand $(link-libc-rpath-link).
22138 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22139 (test-program-prefix): New macro.
22140 (test-via-rtld-prefix): Likewise.
22141 (test-program-cmd): Likewise.
22142 (host-test-program-cmd): Likewise.
22143 * Makefile ($(common-objpfx)testrun.sh): Replace
22144 $(run-program-prefix) with $(test-program-prefix).
22145 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22147 ($(common-objpfx)shlib.lds): Likewise.
22148 (build-module-helper): Likewise.
22149 ($(common-objpfx)format.lds): Likewise.
22150 * Rules (binaries-pie-tests): New.
22151 (binaries-pie-notests): Likewise.
22152 (binaries-pie): Rewritten.
22153 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22154 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22155 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22156 (make-test-out): Replace $(host-built-program-cmd) with
22157 $(host-test-program-cmd).
22158 * config.make.in (build-hardcoded-path-in-tests): New variable.
22159 * configure.in (--enable-hardcoded-path-in-tests): New configure
22161 (hardcoded_path_in_tests): New AC_SUBST.
22162 * configure: Regenerated.
22163 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22164 $(built-program-cmd) with $(test-program-cmd).
22165 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22166 (test_program_cmd): This.
22167 * elf/Makefile ($(objpfx)order.out): Run test with
22168 $(test-program-prefix).
22169 ($(objpfx)order2.out): Likewise.
22170 ($(objpfx)tst-initorder.out): Likewise.
22171 ($(objpfx)tst-initorder2.out): Likewise.
22172 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22173 $(test-program-cmd).
22174 ($(objpfx)tst-array1-static.out): Likewise.
22175 ($(objpfx)tst-array2.out): Likewise.
22176 ($(objpfx)tst-array3.out): Likewise.
22177 ($(objpfx)tst-array4.out): Likewise.
22178 ($(objpfx)tst-array5.out): Likewise.
22179 ($(objpfx)tst-array5-static.out): Likewise.
22180 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22181 $(test-program-cmd).
22182 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22183 $(run-program-prefix) with $(test-program-prefix).
22184 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22185 (test_program_prefix): This.
22186 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22187 $(run-program-prefix) with $(test-program-prefix).
22188 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22189 (test_program_prefix): This.
22190 * iconvdata/tst-tables.sh: Likewise.
22191 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22192 $(run-program-prefix) with $(test-program-prefix).
22193 ($(objpfx)tst-translit.out): Likewise.
22194 ($(objpfx)tst-gettext2.out): Likewise.
22195 ($(objpfx)tst-gettext4.out): Likewise.
22196 ($(objpfx)tst-gettext6.out): Likewise.
22197 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22198 (test_program_prefix): This.
22199 * intl/tst-gettext2.sh: Likewise.
22200 * intl/tst-gettext4.sh Likewise.
22201 * intl/tst-gettext6.sh: Likewise.
22202 * intl/tst-translit.sh: Likewise.
22203 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22204 with $(test-program-cmd).
22205 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22206 $(run-program-prefix) with $(test-program-prefix).
22207 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22208 (test_program_prefix): This.
22209 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22210 $(run-program-prefix) with $(test-program-prefix).
22211 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22212 (test_program_prefix): This.
22213 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22214 * posix/Makefile ($(objpfx)globtest.out): Replace
22215 $(run-via-rtld-prefix) and $(test-wrapper) with
22216 $(test-program-prefix) and $(test-via-rtld-prefix).
22217 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22218 $(test-program-prefix).
22219 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22220 $(host-test-program-cmd).
22221 (tst-spawn-ARGS): Likewise.
22222 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22223 $(test-program-prefix).
22224 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22225 (test_via_rtld_prefix): This.
22226 (test_wrapper): Renamed to ...
22227 (test_program_prefix): This.
22228 (run_program_prefix): Replaced by test_program_prefix.
22229 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22230 (test_program_prefix): This.
22231 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22232 with $(host-test-program-cmd).
22233 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22234 $(run-program-prefix) with $(test-program-prefix).
22235 ($(objpfx)tst-printf.out): Likewise.
22236 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22237 $(test-program-cmd).
22238 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22239 (test_program_prefix): This.
22240 * stdio-common/tst-unbputc.sh: Likewise.
22241 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22242 $(run-program-prefix) with $(test-program-prefix).
22243 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22244 (test_program_prefix): This.
22245 * string/Makefile ($(objpfx)tst-svc.out): Replace
22246 $(built-program-cmd) with $(test-program-cmd).
22248 2013-01-11 Andreas Jaeger <aj@suse.de>
22251 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22252 value. Sync with Linux 3.7.
22254 2013-01-10 David S. Miller <davem@davemloft.net>
22256 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22257 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22258 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22260 2013-01-10 Roland McGrath <roland@hack.frob.com>
22262 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22264 * configure: Regenerated.
22266 2013-01-10 David S. Miller <davem@davemloft.net>
22268 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22269 sparc V9 rather than using V8 code.
22270 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22271 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22273 2013-01-10 Roland McGrath <roland@hack.frob.com>
22275 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22276 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22277 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22278 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22279 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22280 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22281 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22282 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22283 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22284 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22285 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22286 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22287 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22288 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22289 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22290 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22291 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22292 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22293 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22294 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22295 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22296 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22297 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22298 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22299 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22300 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22301 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22303 2013-01-10 David S. Miller <davem@davemloft.net>
22305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22307 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22309 * posix/Makefile (tests-static): New variable.
22310 (tests): Add $(tests-static).
22311 (tst-exec-static-ARGS): New variable.
22312 (tst-spawn-static-ARGS): Likewise.
22313 * posix/tst-exec-static.c: New file.
22314 * posix/tst-spawn-static.c: Likewise.
22315 * posix/tst-exec.c: Support run directly.
22316 * posix/tst-spawn.c: Likewise.
22318 2013-01-10 Joseph Myers <joseph@codesourcery.com>
22320 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22322 * math/bits/mathcalls.h (llrint): Likewise.
22323 (llround): Likewise.
22324 * stdlib/stdlib.h (struct drand48_data): Likewise.
22325 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22326 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22327 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22329 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22331 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22332 (elf_greg_t): Likewise.
22333 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22334 (__jmp_buf): Likewise.
22335 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22337 (llrint): Likewise, for all definitions.
22338 (llrintl): Likewise.
22340 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22341 Remove [__GNUC__] condition.
22342 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22343 condition to just [__USE_ISOC99].
22344 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22346 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22349 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22350 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22352 (_POSIX_V6_ILP32_OFF32): Likewise.
22353 (_XBS5_ILP32_OFF32): Likewise.
22354 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22355 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22357 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22359 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22361 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22362 doubles __mpexp_twomm1. Adjust usage.
22363 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22366 2013-01-10 Andreas Schwab <schwab@suse.de>
22369 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22370 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22372 2013-01-09 David S. Miller <davem@davemloft.net>
22375 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22376 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22377 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22378 (TCP_FASTOPEN): Define.
22379 (tcp_repair_opt): New structure.
22380 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22382 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22383 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22384 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22385 (tcp_cookie_transactions): New structure.
22387 2013-01-09 Anton Blanchard <anton@samba.org>
22389 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22390 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22391 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22392 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22394 2013-01-09 Joseph Myers <joseph@codesourcery.com>
22396 * include/features.h (__USE_ANSI): Remove.
22398 2013-01-09 Roland McGrath <roland@hack.frob.com>
22400 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22402 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22404 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22406 * sysdeps/s390/fpu/libm-test-ulps: Update.
22408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22410 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22414 (denorm): Likewise.
22415 (__mp_dbl): Likewise.
22416 (__dbl_mp): Likewise.
22417 (add_magnitudes): Likewise.
22418 (sub_magnitudes): Likewise.
22424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22428 (denorm): Likewise.
22429 (__mp_dbl): Likewise.
22430 (__dbl_mp): Likewise.
22431 (add_magnitudes): Likewise.
22432 (sub_magnitudes): Likewise.
22438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22442 (denorm): Likewise.
22443 (__mp_dbl): Likewise.
22444 (__dbl_mp): Likewise.
22445 (add_magnitudes): Likewise.
22446 (sub_magnitudes): Likewise.
22453 2013-01-08 Joseph Myers <joseph@codesourcery.com>
22455 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22456 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22457 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22458 2 && __USE_EXTERN_INLINES]: Likewise.
22460 2013-01-08 Andreas Jaeger <aj@suse.de>
22463 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22465 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22466 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22468 2013-01-07 Anton Blanchard <anton@samba.org>
22470 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22471 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22472 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22473 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22474 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22475 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22476 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22477 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22479 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22480 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22481 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22482 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22483 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22484 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22485 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22486 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22487 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22488 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22489 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22490 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22491 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22492 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22493 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22494 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22495 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22496 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22497 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22498 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22499 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22500 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22501 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22502 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22503 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22504 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22505 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22506 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22507 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22508 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22509 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22510 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22511 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22512 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22514 2013-01-07 Joseph Myers <joseph@codesourcery.com>
22516 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22517 (__MALLOC_PMT): Likewise.
22518 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22519 [__GNUC__], only on [_LIBC].
22520 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22521 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22522 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22523 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22524 forward declaration.
22525 (realloc_hook_ini): Likewise.
22526 (memalign_hook_ini): Likewise.
22527 (__libc_memalign): Do not use __MALLOC_PMT in variable
22529 (__libc_valloc): Likewise.
22530 (__libc_pvalloc): Likewise.
22531 (__libc_calloc): Likewise.
22532 (__posix_memalign): Likewise.
22535 * math/s_casinh.c: Include <float.h>.
22536 (__casinh): Do not do computation with squaring and square root
22537 for large arguments.
22538 * math/s_casinhf.c: Include <float.h>.
22539 (__casinhf): Do not do computation with squaring and square root
22540 for large arguments.
22541 * math/s_casinhl.c: Include <float.h>.
22542 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22543 (__casinhl): Do not do computation with squaring and square root
22544 for large arguments.
22545 * math/libm-test.inc (casin_test): Add more tests.
22546 (casinh_test): Likewise.
22547 * sysdeps/i386/fpu/libm-test-ulps: Update.
22548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22550 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22552 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22553 (__x86_64_raw_data_cache_size): Likewise.
22554 (__x86_64_data_cache_size_half): Likewise.
22555 (__x86_64_raw_data_cache_size_half): Likewise.
22556 (__x86_64_shared_cache_size): Likewise.
22557 (__x86_64_raw_shared_cache_size): Likewise.
22558 (__x86_64_shared_cache_size_half): Likewise.
22559 (__x86_64_raw_shared_cache_size_half): Likewise.
22560 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22562 (__x86_data_cache_size): This.
22563 (__x86_64_raw_data_cache_size): Renamed to ...
22564 (__x86_raw_data_cache_size): This.
22565 (__x86_64_data_cache_size_half): Renamed to ...
22566 (__x86_data_cache_size_half): This.
22567 (__x86_64_raw_data_cache_size_half): Renamed to ...
22568 (__x86_raw_data_cache_size_half): This.
22569 (__x86_64_shared_cache_size): Renamed to ...
22570 (__x86_shared_cache_size): This.
22571 (__x86_64_raw_shared_cache_size): Renamed to ...
22572 (__x86_raw_shared_cache_size): This.
22573 (__x86_64_shared_cache_size_half): Renamed to ...
22574 (__x86_shared_cache_size_half): This.
22575 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22576 (__x86_raw_shared_cache_size_half): This.
22577 * sysdeps/x86_64/memcpy.S: Updated.
22578 * sysdeps/x86_64/memset.S: Likewise.
22579 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22580 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22581 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22583 2013-01-04 David S. Miller <davem@davemloft.net>
22585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22587 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22589 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22590 1 to avoid redefinition warning.
22591 (__USE_GNU): Don't define.
22592 (init_signaling_nan): Protoize.
22594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22596 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22598 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22599 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22600 (__cpymn): Likewise.
22601 (norm): Remove commented code.
22602 (denorm): Likewise.
22603 (__mp_dbl): Likewise.
22605 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22606 (__cpymn): Likewise.
22607 (norm): Remove commented code.
22608 (denorm): Likewise.
22609 (__mp_dbl): Likewise.
22612 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22613 mp_no value for 1.0 and 2.0.
22614 (norm): Use RADIXI instead of radixi.d.
22615 (denorm): Likewise.
22616 (__mul): Use 0.0 instead of zero.d.
22617 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22618 mp_no value for 1.0 and 2.0.
22619 (norm): Use RADIXI instead of radixi.d.
22620 (denorm): Likewise.
22621 (__mul): Use 0.0 instead of zero.d.
22623 2013-01-04 Joseph Myers <joseph@codesourcery.com>
22626 * math/s_casinh.c (__casinh): Reduce finite argument to first
22627 quadrant then set signs of results at the end.
22628 * math/s_casinhf.c (__casinhf): Likewise.
22629 * math/s_casinhl.c (__casinhl): Likewise.
22630 * math/libm-test.inc (casin_test): Add more tests.
22631 (casinh_test): Likewise.
22632 * sysdeps/i386/fpu/libm-test-ulps: Update.
22633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22635 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22637 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22639 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22641 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22643 (denorm): Likewise.
22644 (__mp_dbl): Likewise.
22647 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22648 and adjust the header comment.
22650 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22651 variable name from declaration.
22653 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22656 Initialize COMMON_CPUID_INDEX_7 element.
22657 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22658 (CPUID_RTM): Likewise.
22659 (HAS_RTM): Likewise.
22660 (COMMON_CPUID_INDEX_7): New enum.
22662 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22665 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22666 size is zero, record memory as freed.
22668 2013-01-03 Andreas Jaeger <aj@suse.de>
22670 * po/ia.po: Add new Interlingua translation.
22672 2012-01-03 Allan McRae <allan@archlinux.org>
22674 * locale/programs/localedef.c: Fix description of '--posix' flag.
22676 2013-01-02 Joseph Myers <joseph@codesourcery.com>
22678 * NEWS: Update dates in second copyright notice.
22679 * README: Update copyright dates in example.
22680 * manual/libc.texinfo: Update copyright dates.
22681 * scripts/test-installation.pl: Update copyright date in --version
22684 * hurd/ctty-input.c: Fix copyright notice formatting.
22685 * hurd/ctty-output.c: Likewise.
22686 * hurd/dtable.c: Likewise.
22687 * hurd/hurd-raise.c: Likewise.
22688 * hurd/hurdprio.c: Likewise.
22689 * hurd/msgportdemux.c: Likewise.
22690 * misc/sys/file.h: Likewise.
22691 * misc/sys/ioctl.h: Likewise.
22692 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22693 * sysdeps/mach/hurd/chdir.c: Likewise.
22694 * sysdeps/mach/hurd/fchdir.c: Likewise.
22695 * sysdeps/mach/hurd/rename.c: Likewise.
22696 * sysdeps/mach/hurd/rmdir.c: Likewise.
22697 * sysdeps/mach/hurd/seekdir.c: Likewise.
22698 * sysdeps/mach/hurd/setsid.c: Likewise.
22699 * sysdeps/posix/wait3.c: Likewise.
22701 * All files with FSF copyright notices: Update copyright dates
22702 using scripts/update-copyrights.
22703 * intl/plural.c: Regenerated.
22704 * locale/programs/charmap-kw.h: Likewise.
22705 * locale/programs/locfile-kw.h: Likewise.
22707 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22709 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22712 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22713 calculation loop and add branch prediction.
22715 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22716 check access beyond bounds of m1np.
22718 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22720 (__inv): Remove local variable MPTWO to use the global
22722 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22723 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22725 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22726 MP3HALFS static const.
22728 2013-01-01 David S. Miller <davem@davemloft.net>
22730 * po/ca.po: Update from translation team.
22732 2013-01-01 Joseph Myers <joseph@codesourcery.com>
22734 * scripts/update-copyrights: New file.
22735 * Makeconfig: Reformat copyright notice.
22736 * ctype/ctype.h: Likewise.
22737 * debug/swprintf_chk.c: Likewise.
22738 * elf/dl-cache.c: Likewise.
22739 * elf/dl-debug.c: Likewise.
22740 * elf/dl-object.c: Likewise.
22741 * grp/initgroups.c: Likewise.
22742 * hurd/Makefile: Likewise.
22743 * hurd/hurd/signal.h: Likewise.
22744 * hurd/hurdfault.c: Likewise.
22745 * hurd/hurdioctl.c: Likewise.
22746 * hurd/hurdlookup.c: Likewise.
22747 * hurd/intr-msg.c: Likewise.
22748 * iconv/gconv_open.c: Likewise.
22749 * libio/swprintf.c: Likewise.
22750 * locale/lc-ctype.c: Likewise.
22751 * locale/nl_langinfo.c: Likewise.
22752 * mach/Machrules: Likewise.
22753 * mach/Makefile: Likewise.
22754 * malloc/obstack.h: Likewise.
22755 * manual/Makefile: Likewise.
22756 * manual/tsort.awk: Likewise.
22757 * misc/bits/stab.def: Likewise.
22758 * nis/nis_print_group_entry.c: Likewise.
22759 * nis/nis_table.c: Likewise.
22760 * nis/nss_compat/compat-pwd.c: Likewise.
22761 * nis/nss_compat/compat-spwd.c: Likewise.
22762 * po/Makefile: Likewise.
22763 * posix/fnmatch.c: Likewise.
22764 * posix/regex.h: Likewise.
22765 * resolv/Makefile: Likewise.
22766 * resolv/nss_dns/dns-network.c: Likewise.
22767 * resolv/res_hconf.c: Likewise.
22768 * scripts/gen-sorted.awk: Likewise.
22769 * soft-fp/soft-fp.h: Likewise.
22770 * stdio-common/printf.h: Likewise.
22771 * stdlib/monetary.h: Likewise.
22772 * stdlib/random.c: Likewise.
22773 * stdlib/random_r.c: Likewise.
22774 * sysdeps/generic/Makefile: Likewise.
22775 * sysdeps/gnu/Makefile: Likewise.
22776 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22777 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22778 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22779 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22780 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22781 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22782 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22783 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22784 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22785 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22786 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22787 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22788 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22789 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22790 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22791 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22792 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22793 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22794 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22795 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22796 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22797 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22798 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22799 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22800 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22801 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22802 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22803 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22804 * sysdeps/mach/hurd/errnos.awk: Likewise.
22805 * sysdeps/mach/hurd/fork.c: Likewise.
22806 * sysdeps/mach/hurd/getcwd.c: Likewise.
22807 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22808 * sysdeps/mach/hurd/mmap.c: Likewise.
22809 * sysdeps/mach/hurd/utimes.c: Likewise.
22810 * sysdeps/mach/hurd/xmknod.c: Likewise.
22811 * sysdeps/posix/profil.c: Likewise.
22812 * sysdeps/posix/readdir_r.c: Likewise.
22813 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22814 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22815 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22816 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22818 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22819 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22820 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22822 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22823 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22824 * sysdeps/pthread/lio_listio.c: Likewise.
22825 * sysdeps/sparc/dl-procinfo.h: Likewise.
22826 * sysdeps/unix/i386/sysdep.S: Likewise.
22827 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22828 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22829 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22830 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22832 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22833 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22834 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22835 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22836 * sysdeps/wordsize-32/divdi3.c: Likewise.
22837 * time/sys/time.h: Likewise.
22838 * wcsmbs/Makefile: Likewise.
22840 2013-01-01 David S. Miller <davem@davemloft.net>
22842 * po/fr.po: Update from translation team.
22844 * catgets/gencat.c: Update copyright year.
22845 * csu/version.c: Likewise.
22846 * debug/catchsegv.sh: Likewise.
22847 * debug/pcprofiledump.c: Likewise.
22848 * debug/xtrace.sh: Likewise.
22849 * elf/ldconfig.c: Likewise.
22850 * elf/ldd.bash.in: Likewise.
22851 * elf/pldd.c: Likewise.
22852 * elf/sotruss.ksh: Likewise.
22853 * elf/sprof.c: Likewise.
22854 * iconv/iconv_prog.c: Likewise.
22855 * iconv/iconvconfig.c: Likewise.
22856 * locale/programs/locale.c: Likewise.
22857 * locale/programs/localedef.c: Likewise.
22858 * login/programs/pt_chown.c: Likewise.
22859 * malloc/memusage.sh: Likewise.
22860 * malloc/memusagestat.c: Likewise.
22861 * malloc/mtrace.pl: Likewise.
22862 * nscd/nscd.c: Likewise.
22863 * nss/getent.c: Likewise.
22864 * nss/makedb.c: Likewise.
22865 * posix/getconf.c: Likewise.
22867 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22869 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22872 2012-12-30 Mike Frysinger <vapier@gentoo.org>
22874 * math/bits/mathcalls.h (modf): Use __nonnull.
22876 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22878 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22879 (split): Use macro CN instead of the bare value.
22880 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22882 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22883 instead of the bare value.
22884 (power1): Likewise.
22886 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22888 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22890 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22892 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22894 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22895 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22896 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22897 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22899 2012-12-28 Andreas Jaeger <aj@suse.de>
22901 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22902 values are from Linux 3.7.
22904 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22905 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22907 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22909 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
22912 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22914 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22915 variables with preprocessor constants.
22916 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22917 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22918 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22920 2012-12-27 Bruno Haible <bruno@clisp.org>
22923 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22926 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22928 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22929 and use variable directly.
22930 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22932 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22934 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22935 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22937 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22938 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22939 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22940 include directive. Remove local variable MPONE.
22941 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22942 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22943 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22945 2012-12-25 David S. Miller <davem@davemloft.net>
22947 * version.h (RELEASE): Set to "development".
22948 (VERSION): Set to "2.17.90".
22949 * NEWS: Add 2.18 section.
22951 2012-12-21 David S. Miller <davem@davemloft.net>
22953 * po/hr.po: Update from translation team.
22955 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22957 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22959 2012-12-19 Steve Ellcey <sellcey@mips.com>
22961 * NEWS: Mention new memcpy for MIPS.
22963 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22965 * manual/contrib.texi (Contributors): Spelling correction.
22967 2012-12-15 David S. Miller <davem@davemloft.net>
22969 * po/ru.po: Update from translation team.
22971 2012-12-13 David S. Miller <davem@davemloft.net>
22973 * NEWS: Mention IFUNC testsuite enhancements.
22975 * po/pl.po: Update from translation team.
22976 * po/bg.po: Likewise.
22978 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22979 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22981 2012-12-11 David S. Miller <davem@davemloft.net>
22983 * po/sv.po: Update from translation team.
22985 * po/vi.po: Update from translation team.
22987 * po/cs.po: Update from translation team.
22989 * po/de.po: Update from translation team.
22990 * po/eo.po: Likewise.
22991 * po/nl.po: Likewise.
22993 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22996 * manual/argp.texi (Argp Helper Functions): Move node to follow
22997 Argp Parsing State.
23000 * manual/conf.texi (Limits on File System Capacity): Mention if
23001 terminating null is included in the max size.
23003 2012-12-10 Andreas Jaeger <aj@suse.de>
23005 * po/cs.po: Update from translation team.
23007 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23009 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23010 void pointer and cast to uintptr_t.
23011 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23013 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23014 * sysdeps/s390/s390-64/memset.S: Likewise.
23016 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23019 * menual/message.texi (Message Translation): Fix typos.
23020 (Helper programs for gettext): Likewise.
23022 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23025 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23028 2012-12-07 David S. Miller <davem@davemloft.net>
23030 * po/libc.pot: Update.
23032 2012-12-07 Richard Henderson <rth@redhat.com>
23035 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23036 normal/normal case to before the switch.
23037 (_FP_DIV): Likewise.
23039 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23040 Mike Frysinger <vapier@gentoo.org>
23042 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23043 check for __NR_fadvise64_64.
23045 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23047 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23048 0, not just to plain "0" as a statement.
23049 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23052 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23054 * NEWS: Use sourceware.org in Bugzilla URL.
23056 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23059 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23061 * stdio-common/tst-put-error.c (do_test): Add newline to the
23062 padded test to ensure flush.
23064 2012-12-05 Jeff Law <law@redhat.com>
23066 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23068 2012-12-05 Joseph Myers <joseph@codesourcery.com>
23070 * README: Don't refer to ports add-on as distributed separately.
23071 Mention AArch64 in list of systems supported in the ports add-on.
23073 * LICENSES: Add more non-FSF copyright and license notices.
23075 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23078 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23080 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23081 10000 as width of padded output.
23083 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23085 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23087 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23088 variable LX with __attribute__ ((unused)).
23089 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23091 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23092 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23093 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23094 with __attribute__ ((unused)).
23096 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
23098 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23100 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23102 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23103 (CFLAGS-nldbl-acos.c): New variable.
23104 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23105 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23106 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23107 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23108 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23109 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23110 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23111 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23112 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23113 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23114 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23115 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23116 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23117 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23118 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23119 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23120 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23121 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23122 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23123 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23124 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23125 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23126 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23127 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23128 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23129 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23130 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23131 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23132 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23133 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23134 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23135 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23136 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23137 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23138 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23139 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23140 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23141 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23142 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23143 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23144 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23145 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23146 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23147 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23148 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23149 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23150 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23151 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23152 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23153 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23154 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23155 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23156 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23157 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23158 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23159 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23160 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23161 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23162 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23163 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23164 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23165 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23166 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23167 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23168 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23169 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23170 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23171 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23172 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23173 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23174 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23175 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23176 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23177 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23178 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23179 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23180 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23181 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23182 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23183 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23184 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23185 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23186 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23187 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23188 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23189 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23190 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23191 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23192 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23193 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23194 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23195 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23196 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23197 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23198 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23199 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23200 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23203 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23206 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23207 whole low double instead of just low 47 bits when splitting values
23210 2012-12-03 Allan McRae <allan@archlinux.org>
23212 * manual/stdio.texi (Predefined Printf Handlers): Remove
23213 @hsep and @vsep usage.
23215 2012-12-03 Mike Frysinger <vapier@gentoo.org>
23217 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23218 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23220 2012-12-03 Jeff Law <law@redhat.com>
23222 * time/sys/time.h (settimeofday): Do not mark TV argument
23225 2012-12-01 Mike Frysinger <vapier@gentoo.org>
23227 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23228 when currently writing and seek to current position when not.
23229 * libio/Makefile (tests): Remove bug-fclose1.
23230 * libio/bug-fclose1.c: Delete.
23232 2012-12-01 Joseph Myers <joseph@codesourcery.com>
23234 * manual/arith.texi (feenableexcept): Fix typo.
23235 (fedisableexcept): Likewise.
23237 2012-11-30 Roland McGrath <roland@hack.frob.com>
23239 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23240 second, differently-typed declaration, rather than a cast.
23242 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23244 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23245 * include/rpc/svc.h: ... here.
23247 2012-11-30 Aurelien Jarno <aurel32@debian.org>
23250 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23251 depending n and resplen2 to catch cases where answer
23254 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23256 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23257 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23259 2012-11-29 Mike Frysinger <vapier@gentoo.org>
23261 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23263 2012-11-29 Roland McGrath <roland@hack.frob.com>
23265 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23267 2012-11-28 Jeff Law <law@redhat.com>
23270 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23271 dataset_temporary. Track alloca usage into alloca_used.
23272 If dataset is large allocate and release it via malloc/free.
23274 2012-06-04 Florian Weimer <fweimer@redhat.com>
23277 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23279 2012-11-28 David S. Miller <davem@davemloft.net>
23281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23283 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23286 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23287 of pi/2 rounded to nearest to 64 bits.
23288 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23289 nearest to 64 bits.
23290 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23293 2012-11-28 Jeff Law <law@redhat.com>
23294 Martin Osvald <mosvald@redhat.com>
23297 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23298 * sunrpc/svc.c: Include time.h.
23299 (__svc_accept_failed): New function.
23300 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23301 any reason other than EINTR, call __svc_accept_failed.
23302 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23303 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23305 2012-11-28 Andreas Schwab <schwab@suse.de>
23307 * scripts/abilist.awk: Also handle indirect functions in .opd
23310 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23313 * sysdeps/x86/fpu/powl_helper.c: New file.
23314 * sysdeps/x86/fpu/Makefile: Likewise.
23315 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23317 (__ieee754_powl): Use __powl_helper for finite arguments except
23318 integer exponents below 8.
23319 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23321 (__ieee754_powl): Use __powl_helper for finite arguments except
23322 integer exponents below 8.
23323 * math/libm-test.inc (pow_test): Add more tests and enable some
23324 previously disabled tests.
23325 * sysdeps/i386/fpu/libm-test-ulps: Update.
23326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23328 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23329 Carlos O'Donell <carlos_odonell@mentor.com>
23331 * nss/makedb.c (is_prime): Assert that input is odd and greater
23332 than 4. Note that fact in a comment too.
23333 (next_prime): Add 4 to input.
23335 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23338 * libio/Makefile (tests): Add test case tst-fwrite-error.
23339 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23340 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23341 * libio/tst-fwrite-error.c: New test case.
23343 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23345 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23346 before casting to void *.
23347 * include/libc-internal.h (__pointer_type): New macro.
23348 (__integer_if_pointer_type_sub): Likewise.
23349 (__integer_if_pointer_type): Likewise.
23350 (cast_to_integer): Likewise.
23351 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23352 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23353 before casting to atomic64_t.
23354 (atomic_exchange_acq): Likewise.
23355 (__arch_exchange_and_add_body): Likewise.
23356 (__arch_add_body): Likewise.
23357 (atomic_add_negative): Likewise.
23358 (atomic_add_zero): Likewise.
23360 2012-11-26 Joseph Myers <joseph@codesourcery.com>
23362 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23363 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23364 (add_fdes): Likewise.
23365 (linear_search_fdes): Likewise.
23366 (binary_search_unencoded_fdes): Likewise.
23368 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23370 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23372 2012-11-24 Adam Conrad <adconrad@0c3.net>
23374 * configure.in: Autodetect C++ header directories.
23375 * configure: Regenerated.
23377 2012-11-23 Mike Frysinger <vapier@gentoo.org>
23379 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23381 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23385 2012-11-22 Joseph Myers <joseph@codesourcery.com>
23387 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23388 LDBL_MANT_DIG == 106]: Disable some tests.
23389 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23391 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23395 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23396 input for small inputs. Return +/- pi/2 for large inputs.
23397 * math/libm-test.inc (atan_test): Add more tests.
23399 * sysdeps/generic/unwind-dw2-fde-glibc.c
23400 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23401 __attribute__ ((unused)).
23404 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23405 x * y if x and y are nonzero and z is zero.
23408 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23409 nonzero exponents with absolute value below 0x1p-117 to +/-
23413 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23414 up arguments below 2**-450, not just those below 2**-500.
23415 * math/libm-test.inc (hypot_test): Add another test.
23418 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23419 Return a+b for ratio over 2**120, not 2**60.
23420 * math/libm-test.inc (hypot_test): Add another test.
23422 * math/libm-test.inc (clog_test): Use
23423 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23424 (clog10_test): Likewise.
23427 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23429 2012-11-22 Andreas Schwab <schwab@suse.de>
23431 * sysdeps/i386/fpu/libm-test-ulps: Update.
23433 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23435 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23436 printf output with newline.
23438 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23441 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23442 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23443 -z nodlopen, -z initfirst and -z execstack support.
23444 * configure: Regenerated.
23446 * elf/elf.h (DF_1_NODIRECT): New macro.
23447 (DF_1_IGNMULDEF): Likewise.
23448 (DF_1_NOKSYMS): Likewise.
23449 (DF_1_NOHDR): Likewise.
23450 (DF_1_EDITED): Likewise.
23451 (DF_1_NORELOC): Likewise.
23452 (DF_1_SYMINTPOSE): Likewise.
23453 (DF_1_GLOBAUDIT): Likewise.
23454 (DF_1_SINGLETON): Likewise.
23455 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23456 DT_1_SUPPORTED_MASK bits.
23457 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23459 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23461 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23463 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23465 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23468 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23469 (sendmmsg): Move declarations...
23470 * socket/sys/socket.h: ... here.
23471 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23472 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23474 * socket/recvmmsg.c: ... this new file.
23475 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23476 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23477 definition of __sendmmsg hidden.
23478 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23479 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23480 Move ENOSYS stub into and include it from...
23481 * socket/sendmmsg.c: ... this new file.
23482 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23483 (sysdep_routines): Move recvmmsg and sendmmsg...
23484 * socket/Makefile (routines): ... here.
23485 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23486 (GLIBC_PRIVATE): Add __sendmmsg.
23487 * include/sys/socket.h (__sendmmsg): Add declarations.
23488 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23491 2012-11-20 Joseph Myers <joseph@codesourcery.com>
23493 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23494 variable I1 with __attribute__ ((unused)).
23495 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23497 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23499 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23500 DUMMY variables with __attribute__ ((unused)).
23502 * bits/byteswap.h: Include <bits/types.h>.
23503 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23505 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23507 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23508 string_t. Do not manually set errno.
23509 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23510 length with __strnlen. Make sure to both set errno and return it on
23513 2012-11-19 David S. Miller <davem@davemloft.net>
23515 With help from Joseph Myers.
23516 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23517 very large arguments properly.
23518 * math/libm-test.inc (atan_test): New tests.
23519 (atan2_test): New tests.
23520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23523 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23526 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23529 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23530 [POSIX] (EADDRNOTAVAIL): Likewise.
23531 [POSIX] (EAFNOSUPPORT): Likewise.
23532 [POSIX] (EALREADY): Likewise.
23533 [POSIX] (ECONNABORTED): Likewise.
23534 [POSIX] (ECONNREFUSED): Likewise.
23535 [POSIX] (ECONNRESET): Likewise.
23536 [POSIX] (EDESTADDRREQ): Likewise.
23537 [POSIX] (EDQUOT): Likewise.
23538 [POSIX] (EHOSTUNREACH): Likewise.
23539 [POSIX] (EIDRM): Likewise.
23540 [POSIX] (EISCONN): Likewise.
23541 [POSIX] (ELOOP): Likewise.
23542 [POSIX] (EMULTIHOP): Likewise.
23543 [POSIX] (ENETDOWN): Likewise.
23544 [POSIX] (ENETUNREACH): Likewise.
23545 [POSIX] (ENOBUFS): Likewise.
23546 [POSIX] (ENODATA): Likewise.
23547 [POSIX] (ENOLINK): Likewise.
23548 [POSIX] (ENOMSG): Likewise.
23549 [POSIX] (ENOPROTOOPT): Likewise.
23550 [POSIX] (ENOSR): Likewise.
23551 [POSIX] (ENOSTR): Likewise.
23552 [POSIX] (ENOTCONN): Likewise.
23553 [POSIX] (ENOTSOCK): Likewise.
23554 [POSIX] (EOPNOTSUPP): Likewise.
23555 [POSIX] (EOVERFLOW): Likewise.
23556 [POSIX] (EPROTO): Likewise.
23557 [POSIX] (EPROTONOSUPPORT): Likewise.
23558 [POSIX] (EPROTOTYPE): Likewise.
23559 [POSIX] (ESTALE): Likewise.
23560 [POSIX] (ETIME): Likewise.
23561 [POSIX] (ETXTBSY): Likewise.
23562 [POSIX] (EWOULDBLOCK): Likewise.
23563 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23564 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23565 [POSIX] (SEEK_CUR): Likewise.
23566 [POSIX] (SEEK_END): Likewise.
23567 [POSIX || UNIX98] (mode_t): Do not require.
23568 [POSIX] (off_t): Likewise.
23569 [POSIX] (pid_t): Likewise.
23570 [POSIX] (sys/stat.h): Do not allow header.
23571 [POSIX] (unistd.h): Likewise.
23572 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23573 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23574 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23575 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23577 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23578 sigevent): Specify elements.
23579 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23581 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23582 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23584 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23585 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23586 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23587 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23588 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23589 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23590 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23591 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23592 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23593 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23594 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23595 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23596 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23597 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23599 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23601 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23603 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23605 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23606 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23607 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23608 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23609 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23610 Specify lower bound on value.
23611 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23612 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23613 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23614 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23615 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23616 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23617 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23618 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23620 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23622 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23623 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23624 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23625 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23626 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23627 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23628 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23629 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23630 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23631 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23632 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23633 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23634 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23635 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23636 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23637 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23639 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23641 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23642 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23643 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23644 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23645 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23646 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23648 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23649 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23650 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23651 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23652 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23653 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23654 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23656 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23657 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23658 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23659 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23660 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23661 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23662 specify as optional.
23663 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23664 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23665 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23666 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23667 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23668 [XPG3] (NL_LANGMAX): Likewise.
23669 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23670 [POSIX || XPG3] (NL_NMAX): Likewise.
23671 [POSIX || XPG3] (NL_SETMAX): Likewise.
23672 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23673 [XPG3] (NZERO): Likewise.
23674 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23675 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23676 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23677 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23678 (REG_ERANGE): Expect.
23679 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23681 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23682 Use (void) in prototype.
23683 [POSIX] (*_t): Allow.
23684 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23685 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23686 (WRDE_BADVAL): Expect.
23688 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23690 [XPG3 || XPG4] (O_RSYNC): Likewise.
23691 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23693 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23694 [XPG3 || XPG4] (sigqueue): Likewise.
23695 [XPG3 || XPG4] (sigtimedwait): Likewise.
23696 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23697 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23698 [XPG3 || XPG4] (vsnprintf): Likewise.
23699 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23701 [XPG3 || XPG4] (blksize_t): Likewise.
23702 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23704 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23705 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23706 [XPG3 || XPG4] (struct itimerspec): Likewise.
23707 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23708 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23709 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23710 [XPG3 || XPG4] (clockid_t): Likewise.
23711 [XPG3 || XPG4] (timer_t): Likewise.
23712 [XPG3 || XPG4] (clock_getres): Likewise.
23713 [XPG3 || XPG4] (clock_gettime): Likewise.
23714 [XPG3 || XPG4] (clock_settime): Likewise.
23715 [XPG3 || XPG4] (nanosleep): Likewise.
23716 [XPG3 || XPG4] (timer_create): Likewise.
23717 [XPG3 || XPG4] (timer_delete): Likewise.
23718 [XPG3 || XPG4] (timer_gettime): Likewise.
23719 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23720 [XPG3 || XPG4] (timer_settime): Likewise.
23721 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23722 [XPG3 || XPG4] (getlogin_r): Likewise.
23723 [XPG3 || XPG4] (pread): Likewise.
23724 [XPG3 || XPG4] (pthread_atfork): Likewise.
23725 [XPG3 || XPG4] (pwrite): Likewise.
23728 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23731 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23733 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23734 finalizing MALLSTREAM.
23736 * sysdeps/mach/hurd/syncfs.c: New file.
23738 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23741 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23742 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23743 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23744 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23745 (_nss_dns_gethostbyname4_r): Likewise.
23746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23747 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23749 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23752 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23754 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23756 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23757 * elf/cache.c (print_entry): Print ",AArch64" for
23760 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23761 * elf/cache.c (print_entry): Print ",hard-float" for
23764 2012-11-18 David S. Miller <davem@davemloft.net>
23766 With help from Joseph Myers.
23767 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23769 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23771 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23772 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23774 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23775 * math/libm-test.inc (y0_test): New tests.
23776 (y1_test): New tests.
23777 * sysdeps/i386/fpu/libm-test-ulps: Update.
23778 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23781 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23783 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23785 * configure: Regenerated.
23787 2012-11-17 David S. Miller <davem@davemloft.net>
23790 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23791 nonzero exponents with absolute value below 0x1p-128 to +/-
23794 2012-11-17 Joseph Myers <joseph@codesourcery.com>
23796 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23798 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23800 * posix/getconf-speclist.c: New file.
23801 * posix/posix-envs.def: Likewise.
23802 * posix/confstr.c (START_ENV_GROUP): New macro.
23803 (END_ENV_GROUP): Likewise.
23804 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23805 (KNOWN_PRESENT_ENV_STRING): Likewise.
23806 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23807 (UNKNOWN_ENVIRONMENT): Likewise.
23808 (confstr): Include posix-envs.def instead of handling
23809 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23810 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23811 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23812 (END_ENV_GROUP): Likewise.
23813 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23814 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23815 (UNKNOWN_ENVIRONMENT): Likewise.
23816 (__sysconf): Include posix-envs.def instead of handling associated
23817 cases directly here.
23818 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23819 preprocessing getconf-speclist.c rather than running getconf or
23820 generating empty file.
23822 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23824 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23826 2012-11-16 Andrej Lajovic <natrij@gmail.com>
23829 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23831 2012-11-16 David S. Miller <davem@davemloft.net>
23833 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23834 smaller than LDBL_EPSILON/2.0L, just return xm1.
23836 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23838 * elf/tst-array1.c (init): Set constructor priority to 1000.
23839 (fini): Set destructor priority to 1000.
23840 * elf/tst-array2dep.c: Likewise.
23842 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23845 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23846 (_IO_new_file_xsputn): Also return EOF if none of the input
23847 data was written when overflow failed.
23848 * libio/iopadn.c (_IO_padn): Likewise.
23849 * libio/iowpadn.c (_IO_wpadn): Likewise.
23850 * stdio-common/tst-put-error.c: Add copyright notice.
23851 (do_test): Add case for printing padded string.
23852 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23853 _IO_padn returned error.
23854 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23855 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23858 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23860 * libio/libioP.h: Add comment note that the references to C++
23861 bits are now obsolete.
23863 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23865 * math/libm-test.inc (check_complex): Use asprintf.
23867 2012-11-14 Joseph Myers <joseph@codesourcery.com>
23869 * debug/pcprofiledump.c (print_version): Update copyright year.
23870 * malloc/memusagestat.c (print_version): Likewise.
23872 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23875 * elf/Makefile (tests): Add tst-audit8.
23876 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23877 ($(objpfx)tst-audit8.out): New target.
23878 (tst-audit8-ENV): New variable.
23879 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23880 audit if l_reloc_result is NULL.
23881 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23882 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23883 * elf/tst-audit8.c: New file.
23885 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23887 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23888 * misc/Makefile (CFLAGS-select.c): Define.
23889 * posix/Makefile (CFLAGS-pause.c): Define.
23891 2012-11-13 David S. Miller <davem@davemloft.net>
23893 * crypt/Makefile: Move test targets after toplevel Rules
23894 inclusion. Grab any necessary sysdep routines when linking.
23895 * crypt/md5.c (md5_process_block): Remove define, we will always
23896 name it __md5_process_block.
23897 (md5_finish_ctx): Update md5_process_block call.
23898 (md5_stream): Likewise.
23899 (md5_process_bytes): Likewise.
23900 (md5_process_block): Rename to __md5_process_block and move to ...
23901 * crypt/md5-block.c: ... here.
23902 * crypt/sha256.c (sha256_process_block): Move to ...
23903 * crypt/sha256-block.c: ... here.
23904 * crypt/sha512.c (sha512_process_block): Move to ...
23905 * crypt/sha512-block.c: ... here.
23906 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23908 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23909 * sysdeps/sparc/sparc64/multiarch/Makefile
23910 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23912 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23913 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23915 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23916 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23917 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23918 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23919 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23920 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23921 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23922 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23923 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23925 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23926 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23928 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23930 2012-11-13 Joseph Myers <joseph@codesourcery.com>
23932 * timezone/tzselect.ksh: Update from tzcode git revision
23933 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23934 * timezone/zdump.c: Likewise.
23935 * timezone/zic.c: Likewise.
23936 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23937 in TZVERSION setting, not $(PKGVERSION).
23938 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23939 REPORT_BUGS_TO settings.
23942 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23945 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23947 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23948 detection to immediately after _FP_ROUND().
23949 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23952 2012-11-11 David S. Miller <davem@davemloft.net>
23954 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23956 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23957 __close rather than their public counterparts.
23959 2012-11-10 Joseph Myers <joseph@codesourcery.com>
23961 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23963 [UNIX98] (sem_timedwait): Do not expect.
23964 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23965 [XPG4 || UNIX98] (sockatmark): Do not expect.
23966 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23967 (clock_getcpuclockid): Do not expect.
23968 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23969 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23971 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23972 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23973 [UNIX98] (vwscanf): Likewise.
23974 [UNIX98] (vswscanf): Likewise.
23976 2012-11-09 Joseph Myers <joseph@codesourcery.com>
23978 * timezone/version.h: Remove file.
23979 * timezone/README: Do not refer to version.h.
23980 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23981 $(objpfx)version.h.
23982 ($(objpfx)zdump.o): Likewise.
23983 ($(objpfx)version.h): New target.
23985 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23987 * timezone/README: Don't mention modification to tzselect.ksh.
23988 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23989 work on unmodified tzselect.ksh. Substitute version numbers in
23992 * Makefile (format-me): Remove.
23993 (INSTALL): Adjust indentation. Use commands directly instead of
23994 using $(format-me).
23996 * aclocal.m4 (ACX_PKGVERSION): New macro.
23997 (ACX_BUGURL): Likewise.
23998 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23999 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24000 (REPORT_BUGS_TO): Likewise.
24001 * configure: Regenerated.
24002 * config.h.in (PKGVERSION): New macro.
24003 (REPORT_BUGS_TO): Likewise.
24004 * config.make.in (PKGVERSION): New variable.
24005 (PKGVERSION_TEXI): Likewise.
24006 (REPORT_BUGS_TO): Likewise.
24007 (REPORT_BUGS_TEXI): Likewise.
24008 * Makefile (format-me): Use -I$(common-objpfx)manual.
24009 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24010 ($(common-objpfx)manual/%): New target.
24011 (manual/%): Remove target.
24012 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24013 (print_version): Use PKGVERSION.
24014 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24015 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24016 and REPORT_BUGS_TO.
24017 ($(objpfx)xtrace): Likewise.
24018 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24019 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24020 (print_version): Use PKGVERSION.
24021 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24022 (do_version): Use PKGVERSION.
24023 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24025 (common-ldd-rewrite): Likewise.
24026 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24027 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24028 (print_version): Use PKGVERSION.
24029 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24030 * elf/pldd.c (argp_program_bug_address): Remove variable.
24031 (more_help): New function.
24032 (argp): Use more_help.
24033 (print_version): Use PKGVERSION.
24034 * elf/sln.c (main): Use PKGVERSION.
24035 (usage): Use REPORT_BUGS_TO.
24036 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24037 (top level): Use PKGVERSION.
24038 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24039 (print_version): Use PKGVERSION.
24040 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24041 (print_version): Use PKGVERSION.
24042 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24043 (print_version): Use PKGVERSION.
24044 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24045 (print_version): Use PKGVERSION.
24046 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24047 (print_version): Use PKGVERSION.
24048 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24049 (print_version): Use PKGVERSION.
24050 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24052 ($(objpfx)memusage): Likewise.
24053 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24054 (do_version): Use PKGVERSION.
24055 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24056 (print_version): Use PKGVERSION.
24057 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24058 ($PKGVERSION): New variable.
24059 ($REPORT_BUGS_TO): Likewise.
24060 (usage): Use $REPORT_BUGS_TO.
24061 (top level): Use $PKGVERSION.
24062 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24063 ($(objpfx)pkgvers.texi): New rule.
24064 ($(objpfx)stamp-pkgvers): Likewise.
24065 * manual/install.texi: Include pkgvers.texi.
24066 (--with-pkgversion): Document new configure option.
24067 (--with-bugurl): Likewise.
24068 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24069 than necessarily for this particular distribution. Use
24070 REPORT_BUGS_TO for where to report bugs.
24071 * INSTALL: Regenerated.
24072 * manual/libc.texinfo: Include pkgvers.texi.
24073 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24074 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24075 (print_version): Use PKGVERSION.
24076 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24077 (print_version): Use PKGVERSION.
24078 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24079 (print_version): Use PKGVERSION.
24080 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24081 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24083 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24084 (print_version): Use PKGVERSION.
24085 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24086 (print_version): Use PKGVERSION.
24087 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24090 * timezone/checktab.awk: Update from tzcode 2012i.
24091 * timezone/ialloc.c: Likewise.
24092 * timezone/private.h: Likewise.
24093 * timezone/scheck.c: Likewise.
24094 * timezone/tzfile.h: Likewise.
24095 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24096 (TZVERSION): Hardcode tzcode version number.
24097 * timezone/zdump.c: Update from tzcode 2012i.
24098 * timezone/zic.c: Likewise.
24099 * timezone/version.h: New file.
24100 * timezone/README: Describe version.h. Update upstream location.
24103 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24104 (mktemp): Enable declaration.
24105 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24106 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24107 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24110 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24112 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24114 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24116 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24118 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24122 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24123 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24124 for copies of such integer values.
24125 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24126 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24128 2012-11-09 Andreas Jaeger <aj@suse.de>
24130 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24131 definitions and declarations that are provided by
24132 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24134 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24136 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24137 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24138 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24141 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24143 * elf/elf.h: Update comment before AArch64 relocations.
24145 2012-11-07 David S. Miller <davem@davemloft.net>
24147 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24148 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24149 (__start_context): Declare.
24150 (__makecontext_ret): Delete.
24151 (__makecontext): Hook up __start_context instead of
24153 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24154 (sysdep_routines): Add __start_context when in stdlib.
24156 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24158 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24159 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24160 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24162 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24163 (READELF): New variable. Use it instead of hardcoded "readelf".
24165 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24167 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24168 * sysdeps/x86/Makefile: Here.
24169 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24170 * sysdeps/x86/tst-xmmymm.sh: This.
24172 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24174 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24176 [UNIX98] (pthread_barrier_t): Do not expect.
24177 [UNIX98] (pthread_barrierattr_t): Likewise.
24178 [UNIX98] (pthread_spinlock_t): Likewise.
24179 [UNIX98] (pthread_barrier_destroy): Likewise.
24180 [UNIX98] (pthread_barrier_init): Likewise.
24181 [UNIX98] (pthread_barrier_wait): Likewise.
24182 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24183 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24184 [UNIX98] (pthread_barrierattr_init): Likewise.
24185 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24186 [UNIX98] (pthread_getcpuclockid): Likewise.
24187 [UNIX98] (pthread_mutex_timedlock): Likewise.
24188 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24189 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24190 [UNIX98] (pthread_sigmask): Likewise.
24191 [UNIX98] (pthread_spin_destroy): Likewise.
24192 [UNIX98] (pthread_spin_init): Likewise.
24193 [UNIX98] (pthread_spin_lock): Likewise.
24194 [UNIX98] (pthread_spin_trylock): Likewise.
24195 [UNIX98] (pthread_spin_unlock): Likewise.
24196 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24198 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24199 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24200 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24201 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24202 [XPG3 || XPG4] (pthread_key_t): Likewise.
24203 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24204 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24205 [XPG3 || XPG4] (pthread_once_t): Likewise.
24206 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24207 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24208 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24209 [XPG3 || XPG4] (pthread_t): Likewise.
24211 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24213 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24215 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24216 Change function return type to int.
24218 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24219 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24220 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24221 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24222 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24223 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24224 [!POSIX] (posix_madvise): Likewise.
24225 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24227 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24228 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24229 (mode_t): Likewise.
24230 (posix_mem_offset): Likewise.
24231 (posix_typed_mem_get_info): Likewise.
24232 (posix_typed_mem_open): Likewise.
24234 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24235 Change condition to [XOPEN2K8].
24237 * conform/conformtest.pl: Preprocess allow-header data with -x c
24238 instead of from stdin.
24239 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24240 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24241 [C99-based standards] (cerfc): Likewise.
24242 [C99-based standards] (cexp2): Likewise.
24243 [C99-based standards] (cexpm1): Likewise.
24244 [C99-based standards] (clog10): Likewise.
24245 [C99-based standards] (clog1p): Likewise.
24246 [C99-based standards] (clog2): Likewise.
24247 [C99-based standards] (clgamma): Likewise.
24248 [C99-based standards] (ctgamma): Likewise.
24249 [C99-based standards] (cerff): Likewise.
24250 [C99-based standards] (cerfcf): Likewise.
24251 [C99-based standards] (cexp2f): Likewise.
24252 [C99-based standards] (cexpm1f): Likewise.
24253 [C99-based standards] (clog10f): Likewise.
24254 [C99-based standards] (clog1pf): Likewise.
24255 [C99-based standards] (clog2f): Likewise.
24256 [C99-based standards] (clgammaf): Likewise.
24257 [C99-based standards] (ctgammaf): Likewise.
24258 [C99-based standards] (cerfl): Likewise.
24259 [C99-based standards] (cerfcl): Likewise.
24260 [C99-based standards] (cexp2l): Likewise.
24261 [C99-based standards] (cexpm1l): Likewise.
24262 [C99-based standards] (clog10l): Likewise.
24263 [C99-based standards] (clog1pl): Likewise.
24264 [C99-based standards] (clog2l): Likewise.
24265 [C99-based standards] (clgammal): Likewise.
24266 [C99-based standards] (ctgammal): Likewise.
24267 * conform/data/inttypes.h-data [C99-based standards]: Include
24268 stdint.h-data. Remove all expectations for stdint.h contents.
24269 [C99-based standards] (PRI*): Do not allow.
24270 [C99-based standards] (SCN*): Likewise.
24271 [C99-based standards] (*_t): Likewise.
24272 [C99-based-standards] (PRId8): Expect macro.
24273 [C99-based-standards] (PRIi8): Likewise.
24274 [C99-based-standards] (PRIo8): Likewise.
24275 [C99-based-standards] (PRIu8): Likewise.
24276 [C99-based-standards] (PRIx8): Likewise.
24277 [C99-based-standards] (PRIX8): Likewise.
24278 [C99-based-standards] (SCNd8): Likewise.
24279 [C99-based-standards] (SCNi8): Likewise.
24280 [C99-based-standards] (SCNo8): Likewise.
24281 [C99-based-standards] (SCNu8): Likewise.
24282 [C99-based-standards] (SCNx8): Likewise.
24283 [C99-based-standards] (PRIdLEAST8): Likewise.
24284 [C99-based-standards] (PRIiLEAST8): Likewise.
24285 [C99-based-standards] (PRIoLEAST8): Likewise.
24286 [C99-based-standards] (PRIuLEAST8): Likewise.
24287 [C99-based-standards] (PRIxLEAST8): Likewise.
24288 [C99-based-standards] (PRIXLEAST8): Likewise.
24289 [C99-based-standards] (SCNdLEAST8): Likewise.
24290 [C99-based-standards] (SCNiLEAST8): Likewise.
24291 [C99-based-standards] (SCNoLEAST8): Likewise.
24292 [C99-based-standards] (SCNuLEAST8): Likewise.
24293 [C99-based-standards] (SCNxLEAST8): Likewise.
24294 [C99-based-standards] (PRIdFAST8): Likewise.
24295 [C99-based-standards] (PRIiFAST8): Likewise.
24296 [C99-based-standards] (PRIoFAST8): Likewise.
24297 [C99-based-standards] (PRIuFAST8): Likewise.
24298 [C99-based-standards] (PRIxFAST8): Likewise.
24299 [C99-based-standards] (PRIXFAST8): Likewise.
24300 [C99-based-standards] (SCNdFAST8): Likewise.
24301 [C99-based-standards] (SCNiFAST8): Likewise.
24302 [C99-based-standards] (SCNoFAST8): Likewise.
24303 [C99-based-standards] (SCNuFAST8): Likewise.
24304 [C99-based-standards] (SCNxFAST8): Likewise.
24305 [C99-based-standards] (PRId16): Likewise.
24306 [C99-based-standards] (PRIi16): Likewise.
24307 [C99-based-standards] (PRIo16): Likewise.
24308 [C99-based-standards] (PRIu16): Likewise.
24309 [C99-based-standards] (PRIx16): Likewise.
24310 [C99-based-standards] (PRIX16): Likewise.
24311 [C99-based-standards] (SCNd16): Likewise.
24312 [C99-based-standards] (SCNi16): Likewise.
24313 [C99-based-standards] (SCNo16): Likewise.
24314 [C99-based-standards] (SCNu16): Likewise.
24315 [C99-based-standards] (SCNx16): Likewise.
24316 [C99-based-standards] (PRIdLEAST16): Likewise.
24317 [C99-based-standards] (PRIiLEAST16): Likewise.
24318 [C99-based-standards] (PRIoLEAST16): Likewise.
24319 [C99-based-standards] (PRIuLEAST16): Likewise.
24320 [C99-based-standards] (PRIxLEAST16): Likewise.
24321 [C99-based-standards] (PRIXLEAST16): Likewise.
24322 [C99-based-standards] (SCNdLEAST16): Likewise.
24323 [C99-based-standards] (SCNiLEAST16): Likewise.
24324 [C99-based-standards] (SCNoLEAST16): Likewise.
24325 [C99-based-standards] (SCNuLEAST16): Likewise.
24326 [C99-based-standards] (SCNxLEAST16): Likewise.
24327 [C99-based-standards] (PRIdFAST16): Likewise.
24328 [C99-based-standards] (PRIiFAST16): Likewise.
24329 [C99-based-standards] (PRIoFAST16): Likewise.
24330 [C99-based-standards] (PRIuFAST16): Likewise.
24331 [C99-based-standards] (PRIxFAST16): Likewise.
24332 [C99-based-standards] (PRIXFAST16): Likewise.
24333 [C99-based-standards] (SCNdFAST16): Likewise.
24334 [C99-based-standards] (SCNiFAST16): Likewise.
24335 [C99-based-standards] (SCNoFAST16): Likewise.
24336 [C99-based-standards] (SCNuFAST16): Likewise.
24337 [C99-based-standards] (SCNxFAST16): Likewise.
24338 [C99-based-standards] (PRId32): Likewise.
24339 [C99-based-standards] (PRIi32): Likewise.
24340 [C99-based-standards] (PRIo32): Likewise.
24341 [C99-based-standards] (PRIu32): Likewise.
24342 [C99-based-standards] (PRIx32): Likewise.
24343 [C99-based-standards] (PRIX32): Likewise.
24344 [C99-based-standards] (SCNd32): Likewise.
24345 [C99-based-standards] (SCNi32): Likewise.
24346 [C99-based-standards] (SCNo32): Likewise.
24347 [C99-based-standards] (SCNu32): Likewise.
24348 [C99-based-standards] (SCNx32): Likewise.
24349 [C99-based-standards] (PRIdLEAST32): Likewise.
24350 [C99-based-standards] (PRIiLEAST32): Likewise.
24351 [C99-based-standards] (PRIoLEAST32): Likewise.
24352 [C99-based-standards] (PRIuLEAST32): Likewise.
24353 [C99-based-standards] (PRIxLEAST32): Likewise.
24354 [C99-based-standards] (PRIXLEAST32): Likewise.
24355 [C99-based-standards] (SCNdLEAST32): Likewise.
24356 [C99-based-standards] (SCNiLEAST32): Likewise.
24357 [C99-based-standards] (SCNoLEAST32): Likewise.
24358 [C99-based-standards] (SCNuLEAST32): Likewise.
24359 [C99-based-standards] (SCNxLEAST32): Likewise.
24360 [C99-based-standards] (PRIdFAST32): Likewise.
24361 [C99-based-standards] (PRIiFAST32): Likewise.
24362 [C99-based-standards] (PRIoFAST32): Likewise.
24363 [C99-based-standards] (PRIuFAST32): Likewise.
24364 [C99-based-standards] (PRIxFAST32): Likewise.
24365 [C99-based-standards] (PRIXFAST32): Likewise.
24366 [C99-based-standards] (SCNdFAST32): Likewise.
24367 [C99-based-standards] (SCNiFAST32): Likewise.
24368 [C99-based-standards] (SCNoFAST32): Likewise.
24369 [C99-based-standards] (SCNuFAST32): Likewise.
24370 [C99-based-standards] (SCNxFAST32): Likewise.
24371 [C99-based-standards] (PRId64): Likewise.
24372 [C99-based-standards] (PRIi64): Likewise.
24373 [C99-based-standards] (PRIo64): Likewise.
24374 [C99-based-standards] (PRIu64): Likewise.
24375 [C99-based-standards] (PRIx64): Likewise.
24376 [C99-based-standards] (PRIX64): Likewise.
24377 [C99-based-standards] (SCNd64): Likewise.
24378 [C99-based-standards] (SCNi64): Likewise.
24379 [C99-based-standards] (SCNo64): Likewise.
24380 [C99-based-standards] (SCNu64): Likewise.
24381 [C99-based-standards] (SCNx64): Likewise.
24382 [C99-based-standards] (PRIdLEAST64): Likewise.
24383 [C99-based-standards] (PRIiLEAST64): Likewise.
24384 [C99-based-standards] (PRIoLEAST64): Likewise.
24385 [C99-based-standards] (PRIuLEAST64): Likewise.
24386 [C99-based-standards] (PRIxLEAST64): Likewise.
24387 [C99-based-standards] (PRIXLEAST64): Likewise.
24388 [C99-based-standards] (SCNdLEAST64): Likewise.
24389 [C99-based-standards] (SCNiLEAST64): Likewise.
24390 [C99-based-standards] (SCNoLEAST64): Likewise.
24391 [C99-based-standards] (SCNuLEAST64): Likewise.
24392 [C99-based-standards] (SCNxLEAST64): Likewise.
24393 [C99-based-standards] (PRIdFAST64): Likewise.
24394 [C99-based-standards] (PRIiFAST64): Likewise.
24395 [C99-based-standards] (PRIoFAST64): Likewise.
24396 [C99-based-standards] (PRIuFAST64): Likewise.
24397 [C99-based-standards] (PRIxFAST64): Likewise.
24398 [C99-based-standards] (PRIXFAST64): Likewise.
24399 [C99-based-standards] (SCNdFAST64): Likewise.
24400 [C99-based-standards] (SCNiFAST64): Likewise.
24401 [C99-based-standards] (SCNoFAST64): Likewise.
24402 [C99-based-standards] (SCNuFAST64): Likewise.
24403 [C99-based-standards] (SCNxFAST64): Likewise.
24404 [C99-based-standards] (PRIdMAX): Likewise.
24405 [C99-based-standards] (PRIiMAX): Likewise.
24406 [C99-based-standards] (PRIoMAX): Likewise.
24407 [C99-based-standards] (PRIuMAX): Likewise.
24408 [C99-based-standards] (PRIxMAX): Likewise.
24409 [C99-based-standards] (PRIXMAX): Likewise.
24410 [C99-based-standards] (SCNdMAX): Likewise.
24411 [C99-based-standards] (SCNiMAX): Likewise.
24412 [C99-based-standards] (SCNoMAX): Likewise.
24413 [C99-based-standards] (SCNuMAX): Likewise.
24414 [C99-based-standards] (SCNxMAX): Likewise.
24415 [C99-based-standards] (PRIdPTR): Likewise.
24416 [C99-based-standards] (PRIiPTR): Likewise.
24417 [C99-based-standards] (PRIoPTR): Likewise.
24418 [C99-based-standards] (PRIuPTR): Likewise.
24419 [C99-based-standards] (PRIxPTR): Likewise.
24420 [C99-based-standards] (PRIXPTR): Likewise.
24421 [C99-based-standards] (SCNdPTR): Likewise.
24422 [C99-based-standards] (SCNiPTR): Likewise.
24423 [C99-based-standards] (SCNoPTR): Likewise.
24424 [C99-based-standards] (SCNuPTR): Likewise.
24425 [C99-based-standards] (SCNxPTR): Likewise.
24426 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24428 * conform/data/stdint.h-data: Update comments to clarify
24430 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24432 [C99-based standards] (INT8_MAX): Likewise.
24433 [C99-based standards] (INT16_MIN): Likewise.
24434 [C99-based standards] (INT16_MAX): Likewise.
24435 [C99-based standards] (INT32_MIN): Likewise.
24436 [C99-based standards] (INT32_MAX): Likewise.
24437 [C99-based standards] (INT64_MIN): Likewise.
24438 [C99-based standards] (INT64_MAX): Likewise.
24439 [C99-based standards] (UINT8_MAX): Likewise.
24440 [C99-based standards] (UINT16_MAX): Likewise.
24441 [C99-based standards] (UINT32_MAX): Likewise.
24442 [C99-based standards] (UINT64_MAX): Likewise.
24443 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24444 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24445 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24446 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24447 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24448 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24449 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24450 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24451 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24452 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24453 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24454 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24455 [C99-based standards] (INT_FAST8_MIN): Likewise.
24456 [C99-based standards] (INT_FAST8_MAX): Likewise.
24457 [C99-based standards] (INT_FAST16_MIN): Likewise.
24458 [C99-based standards] (INT_FAST16_MAX): Likewise.
24459 [C99-based standards] (INT_FAST32_MIN): Likewise.
24460 [C99-based standards] (INT_FAST32_MAX): Likewise.
24461 [C99-based standards] (INT_FAST64_MIN): Likewise.
24462 [C99-based standards] (INT_FAST64_MAX): Likewise.
24463 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24464 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24465 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24466 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24467 [C99-based standards] (INTPTR_MIN): Likewise.
24468 [C99-based standards] (INTPTR_MAX): Likewise.
24469 [C99-based standards] (UINTPTR_MAX): Likewise.
24470 [C99-based standards] (INTMAX_MIN): Likewise.
24471 [C99-based standards] (INTMAX_MAX): Likewise.
24472 [C99-based standards] (UINTMAX_MAX): Likewise.
24473 [C99-based standards] (PTRDIFF_MIN): Likewise.
24474 [C99-based standards] (PTRDIFF_MAX): Likewise.
24475 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24476 [C99-based standards] (SIZE_MAX): Likewise.
24477 [C99-based standards] (WCHAR_MAX): Likewise.
24478 [C99-based standards] (WINT_MAX): Likewise.
24479 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24480 constraint on value.
24481 [C99-based standards] (WCHAR_MIN): Likewise.
24482 [C99-based standards] (WINT_MIN): Likewise.
24483 [C99-based standards] (*_t): Allow.
24484 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24485 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24486 Include math.h-data and complex.h-data. Remove all expectations
24487 of math.h and complex.h contents.
24488 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24490 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24491 (struct tm): Expect tag.
24492 [C99-based-standards] (wcstof): Expect function.
24493 [C99-based-standards] (wcstold): Likewise.
24494 [C99-based-standards] (wcstoll): Likewise.
24495 [C99-based-standards] (wcstoull): Likewise.
24496 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24497 macro-int-constant. Specify type.
24498 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24499 constraint on value.
24500 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24502 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24504 [ISO C standards]: Do not allow headers.
24505 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24506 wcs[abcdefghijklmnopqrstuvwxyz]*.
24507 [ISO C standards] (*_t): Do not allow.
24508 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24510 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24511 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24513 [ISO C standards]: Do not allow headers.
24514 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24515 is[abcdefghijklmnopqrstuvwxyz]*.
24516 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24517 to[abcdefghijklmnopqrstuvwxyz]*.
24518 [ISO C standards] (*_t): Do not allow.
24519 * conform/data/stdalign.h-data: New file.
24520 * conform/data/stdbool.h-data: Likewise.
24521 * conform/data/stdnoreturn.h-data: Likewise.
24523 2012-11-07 Roland McGrath <roland@hack.frob.com>
24526 * manual/filesys.texi (Directory Entries): Typo fix.
24527 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24529 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24531 * elf/elf.h (EM_AARCH64): New macro.
24532 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24533 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24534 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24535 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24536 (R_AARCH64_TLSDESC): Likewise.
24537 (NT_ARM_TLS): Likewise.
24538 (NT_ARM_HW_BREAK): Likewise.
24539 (NT_ARM_HW_WATCH): Likewise.
24541 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24544 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24545 (__ieee754_powl): Saturate nonzero exponents with absolute value
24546 below 0x1p-79 to +/- 0x1p-79.
24547 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24548 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24549 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24550 nonzero exponents with absolute value below 0x1p-32 to +/-
24552 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24553 (__ieee754_powl): Saturate nonzero exponents with absolute value
24554 below 0x1p-79 to +/- 0x1p-79.
24555 * math/libm-test.inc (pow_test): Add more tests.
24557 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24559 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24560 _dl_s390_cap_flags with kernel. Increase string length.
24561 (_dl_s390_platforms): Add z196 and zEC12.
24563 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24565 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24566 Change XOPEN21K to XOPEN2K.
24568 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24570 * string/memmove.c: Use memcpy when possible.
24572 2012-11-06 Andreas Jaeger <aj@suse.de>
24574 * po/eo.po: Update from translation team.
24576 2012-11-06 Joseph Myers <joseph@codesourcery.com>
24579 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24580 exponent and small x and y exponents, scale x or y up. Increase
24581 by 2 the exponent used in scaling up.
24582 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24583 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24584 * math/libm-test.inc (fma_test): Add more tests.
24585 (fma_test_towardzero): Likewise.
24586 (fma_test_downward): Likewise.
24587 (fma_test_upward): Likewise.
24589 2012-11-05 Joseph Myers <joseph@codesourcery.com>
24592 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24596 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24597 namespace for names of struct fields.
24598 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24600 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24601 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24603 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24606 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24608 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24610 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24614 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24617 2012-11-04 Joseph Myers <joseph@codesourcery.com>
24620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24621 definitely overflow as x * y not x * y + z.
24622 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24623 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24624 * math/libm-test.inc (fma_test): Add more tests.
24625 (fma_test_towardzero): Likewise.
24626 (fma_test_downward): Likewise.
24627 (fma_test_upward): Likewise.
24629 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24633 * include/stub-tag.h: Remove file.
24634 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24636 * manual/maint.texi (Porting): Don't reference it.
24637 * Makerules ($(objpfx)stubs): Likewise.
24638 * dirent/closedir.c: Don't include <stub-tag.h>.
24639 * dirent/dirfd.c: Likewise.
24640 * dirent/fdopendir.c: Likewise.
24641 * dirent/getdents.c: Likewise.
24642 * dirent/getdents64.c: Likewise.
24643 * dirent/opendir.c: Likewise.
24644 * dirent/readdir.c: Likewise.
24645 * dirent/readdir64.c: Likewise.
24646 * dirent/readdir64_r.c: Likewise.
24647 * dirent/readdir_r.c: Likewise.
24648 * dirent/rewinddir.c: Likewise.
24649 * dirent/seekdir.c: Likewise.
24650 * dirent/telldir.c: Likewise.
24651 * gmon/profil.c: Likewise.
24652 * grp/setgroups.c: Likewise.
24653 * inet/if_index.c: Likewise.
24654 * io/access.c: Likewise.
24655 * io/chdir.c: Likewise.
24656 * io/chmod.c: Likewise.
24657 * io/chown.c: Likewise.
24658 * io/close.c: Likewise.
24659 * io/dup.c: Likewise.
24660 * io/dup2.c: Likewise.
24661 * io/dup3.c: Likewise.
24662 * io/euidaccess.c: Likewise.
24663 * io/faccessat.c: Likewise.
24664 * io/fchdir.c: Likewise.
24665 * io/fchmod.c: Likewise.
24666 * io/fchmodat.c: Likewise.
24667 * io/fchown.c: Likewise.
24668 * io/fchownat.c: Likewise.
24669 * io/fcntl.c: Likewise.
24670 * io/flock.c: Likewise.
24671 * io/fstatfs.c: Likewise.
24672 * io/fstatfs64.c: Likewise.
24673 * io/fstatvfs.c: Likewise.
24674 * io/fstatvfs64.c: Likewise.
24675 * io/futimens.c: Likewise.
24676 * io/fxstat.c: Likewise.
24677 * io/fxstat64.c: Likewise.
24678 * io/fxstatat.c: Likewise.
24679 * io/fxstatat64.c: Likewise.
24680 * io/getcwd.c: Likewise.
24681 * io/isatty.c: Likewise.
24682 * io/lchmod.c: Likewise.
24683 * io/lchown.c: Likewise.
24684 * io/link.c: Likewise.
24685 * io/linkat.c: Likewise.
24686 * io/lseek.c: Likewise.
24687 * io/lseek64.c: Likewise.
24688 * io/lxstat64.c: Likewise.
24689 * io/mkdir.c: Likewise.
24690 * io/mkdirat.c: Likewise.
24691 * io/mkfifo.c: Likewise.
24692 * io/mkfifoat.c: Likewise.
24693 * io/open.c: Likewise.
24694 * io/open64.c: Likewise.
24695 * io/openat.c: Likewise.
24696 * io/openat64.c: Likewise.
24697 * io/pipe.c: Likewise.
24698 * io/pipe2.c: Likewise.
24699 * io/poll.c: Likewise.
24700 * io/posix_fadvise.c: Likewise.
24701 * io/posix_fadvise64.c: Likewise.
24702 * io/posix_fallocate.c: Likewise.
24703 * io/posix_fallocate64.c: Likewise.
24704 * io/read.c: Likewise.
24705 * io/readlink.c: Likewise.
24706 * io/readlinkat.c: Likewise.
24707 * io/rmdir.c: Likewise.
24708 * io/sendfile.c: Likewise.
24709 * io/sendfile64.c: Likewise.
24710 * io/statfs.c: Likewise.
24711 * io/statfs64.c: Likewise.
24712 * io/statvfs.c: Likewise.
24713 * io/statvfs64.c: Likewise.
24714 * io/symlink.c: Likewise.
24715 * io/symlinkat.c: Likewise.
24716 * io/ttyname.c: Likewise.
24717 * io/ttyname_r.c: Likewise.
24718 * io/umask.c: Likewise.
24719 * io/unlink.c: Likewise.
24720 * io/unlinkat.c: Likewise.
24721 * io/utime.c: Likewise.
24722 * io/utimensat.c: Likewise.
24723 * io/write.c: Likewise.
24724 * io/xmknod.c: Likewise.
24725 * io/xmknodat.c: Likewise.
24726 * io/xstat.c: Likewise.
24727 * io/xstat64.c: Likewise.
24728 * login/getpt.c: Likewise.
24729 * login/grantpt.c: Likewise.
24730 * login/unlockpt.c: Likewise.
24731 * math/e_acoshl.c: Likewise.
24732 * math/e_acosl.c: Likewise.
24733 * math/e_asinl.c: Likewise.
24734 * math/e_atan2l.c: Likewise.
24735 * math/e_atanhl.c: Likewise.
24736 * math/e_coshl.c: Likewise.
24737 * math/e_expl.c: Likewise.
24738 * math/e_fmodl.c: Likewise.
24739 * math/e_gammal_r.c: Likewise.
24740 * math/e_hypotl.c: Likewise.
24741 * math/e_j0l.c: Likewise.
24742 * math/e_j1l.c: Likewise.
24743 * math/e_jnl.c: Likewise.
24744 * math/e_lgammal_r.c: Likewise.
24745 * math/e_log10l.c: Likewise.
24746 * math/e_log2l.c: Likewise.
24747 * math/e_logl.c: Likewise.
24748 * math/e_powl.c: Likewise.
24749 * math/e_rem_pio2l.c: Likewise.
24750 * math/e_sinhl.c: Likewise.
24751 * math/e_sqrtl.c: Likewise.
24752 * math/fclrexcpt.c: Likewise.
24753 * math/fedisblxcpt.c: Likewise.
24754 * math/feenablxcpt.c: Likewise.
24755 * math/fegetenv.c: Likewise.
24756 * math/fegetexcept.c: Likewise.
24757 * math/fegetround.c: Likewise.
24758 * math/feholdexcpt.c: Likewise.
24759 * math/fesetenv.c: Likewise.
24760 * math/fesetround.c: Likewise.
24761 * math/feupdateenv.c: Likewise.
24762 * math/fgetexcptflg.c: Likewise.
24763 * math/fraiseexcpt.c: Likewise.
24764 * math/fsetexcptflg.c: Likewise.
24765 * math/ftestexcept.c: Likewise.
24766 * math/k_cosl.c: Likewise.
24767 * math/k_rem_pio2l.c: Likewise.
24768 * math/k_sinl.c: Likewise.
24769 * math/k_tanl.c: Likewise.
24770 * math/s_asinhl.c: Likewise.
24771 * math/s_atanl.c: Likewise.
24772 * math/s_cbrtl.c: Likewise.
24773 * math/s_erfl.c: Likewise.
24774 * math/s_expm1l.c: Likewise.
24775 * math/s_log1pl.c: Likewise.
24776 * math/s_tanhl.c: Likewise.
24777 * misc/acct.c: Likewise.
24778 * misc/brk.c: Likewise.
24779 * misc/chflags.c: Likewise.
24780 * misc/chroot.c: Likewise.
24781 * misc/fchflags.c: Likewise.
24782 * misc/fgetxattr.c: Likewise.
24783 * misc/flistxattr.c: Likewise.
24784 * misc/fremovexattr.c: Likewise.
24785 * misc/fsetxattr.c: Likewise.
24786 * misc/fsync.c: Likewise.
24787 * misc/ftruncate.c: Likewise.
24788 * misc/futimes.c: Likewise.
24789 * misc/futimesat.c: Likewise.
24790 * misc/getdomain.c: Likewise.
24791 * misc/getdtsz.c: Likewise.
24792 * misc/gethostid.c: Likewise.
24793 * misc/gethostname.c: Likewise.
24794 * misc/getloadavg.c: Likewise.
24795 * misc/getpagesize.c: Likewise.
24796 * misc/getsysstats.c: Likewise.
24797 * misc/getxattr.c: Likewise.
24798 * misc/gtty.c: Likewise.
24799 * misc/ioctl.c: Likewise.
24800 * misc/lgetxattr.c: Likewise.
24801 * misc/listxattr.c: Likewise.
24802 * misc/llistxattr.c: Likewise.
24803 * misc/lremovexattr.c: Likewise.
24804 * misc/lsetxattr.c: Likewise.
24805 * misc/lutimes.c: Likewise.
24806 * misc/madvise.c: Likewise.
24807 * misc/mincore.c: Likewise.
24808 * misc/mlock.c: Likewise.
24809 * misc/mlockall.c: Likewise.
24810 * misc/mmap.c: Likewise.
24811 * misc/mprotect.c: Likewise.
24812 * misc/msync.c: Likewise.
24813 * misc/munlock.c: Likewise.
24814 * misc/munlockall.c: Likewise.
24815 * misc/munmap.c: Likewise.
24816 * misc/preadv.c: Likewise.
24817 * misc/preadv64.c: Likewise.
24818 * misc/ptrace.c: Likewise.
24819 * misc/pwritev.c: Likewise.
24820 * misc/pwritev64.c: Likewise.
24821 * misc/readv.c: Likewise.
24822 * misc/reboot.c: Likewise.
24823 * misc/remap_file_pages.c: Likewise.
24824 * misc/removexattr.c: Likewise.
24825 * misc/revoke.c: Likewise.
24826 * misc/select.c: Likewise.
24827 * misc/setdomain.c: Likewise.
24828 * misc/setegid.c: Likewise.
24829 * misc/seteuid.c: Likewise.
24830 * misc/sethostid.c: Likewise.
24831 * misc/sethostname.c: Likewise.
24832 * misc/setregid.c: Likewise.
24833 * misc/setreuid.c: Likewise.
24834 * misc/setxattr.c: Likewise.
24835 * misc/sstk.c: Likewise.
24836 * misc/stty.c: Likewise.
24837 * misc/swapoff.c: Likewise.
24838 * misc/swapon.c: Likewise.
24839 * misc/sync.c: Likewise.
24840 * misc/syncfs.c: Likewise.
24841 * misc/syscall.c: Likewise.
24842 * misc/truncate.c: Likewise.
24843 * misc/ualarm.c: Likewise.
24844 * misc/usleep.c: Likewise.
24845 * misc/ustat.c: Likewise.
24846 * misc/utimes.c: Likewise.
24847 * misc/vhangup.c: Likewise.
24848 * misc/writev.c: Likewise.
24849 * posix/_exit.c: Likewise.
24850 * posix/alarm.c: Likewise.
24851 * posix/execve.c: Likewise.
24852 * posix/fexecve.c: Likewise.
24853 * posix/fork.c: Likewise.
24854 * posix/fpathconf.c: Likewise.
24855 * posix/getaddrinfo.c: Likewise.
24856 * posix/getegid.c: Likewise.
24857 * posix/geteuid.c: Likewise.
24858 * posix/getgid.c: Likewise.
24859 * posix/getgroups.c: Likewise.
24860 * posix/getlogin.c: Likewise.
24861 * posix/getlogin_r.c: Likewise.
24862 * posix/getpgid.c: Likewise.
24863 * posix/getpid.c: Likewise.
24864 * posix/getppid.c: Likewise.
24865 * posix/getresgid.c: Likewise.
24866 * posix/getresuid.c: Likewise.
24867 * posix/getsid.c: Likewise.
24868 * posix/getuid.c: Likewise.
24869 * posix/glob64.c: Likewise.
24870 * posix/nanosleep.c: Likewise.
24871 * posix/pathconf.c: Likewise.
24872 * posix/pause.c: Likewise.
24873 * posix/posix_madvise.c: Likewise.
24874 * posix/pread.c: Likewise.
24875 * posix/pread64.c: Likewise.
24876 * posix/pwrite.c: Likewise.
24877 * posix/pwrite64.c: Likewise.
24878 * posix/sched_getaffinity.c: Likewise.
24879 * posix/sched_getp.c: Likewise.
24880 * posix/sched_gets.c: Likewise.
24881 * posix/sched_primax.c: Likewise.
24882 * posix/sched_primin.c: Likewise.
24883 * posix/sched_rr_gi.c: Likewise.
24884 * posix/sched_setaffinity.c: Likewise.
24885 * posix/sched_setp.c: Likewise.
24886 * posix/sched_sets.c: Likewise.
24887 * posix/sched_yield.c: Likewise.
24888 * posix/setgid.c: Likewise.
24889 * posix/setlogin.c: Likewise.
24890 * posix/setpgid.c: Likewise.
24891 * posix/setresgid.c: Likewise.
24892 * posix/setresuid.c: Likewise.
24893 * posix/setsid.c: Likewise.
24894 * posix/setuid.c: Likewise.
24895 * posix/sleep.c: Likewise.
24896 * posix/spawni.c: Likewise.
24897 * posix/sysconf.c: Likewise.
24898 * posix/times.c: Likewise.
24899 * posix/wait.c: Likewise.
24900 * posix/wait3.c: Likewise.
24901 * posix/wait4.c: Likewise.
24902 * posix/waitpid.c: Likewise.
24903 * resolv/gai_sigqueue.c: Likewise.
24904 * resource/getpriority.c: Likewise.
24905 * resource/getrlimit.c: Likewise.
24906 * resource/getrusage.c: Likewise.
24907 * resource/nice.c: Likewise.
24908 * resource/setpriority.c: Likewise.
24909 * resource/setrlimit.c: Likewise.
24910 * resource/ulimit.c: Likewise.
24911 * rt/aio_cancel.c: Likewise.
24912 * rt/aio_fsync.c: Likewise.
24913 * rt/aio_read.c: Likewise.
24914 * rt/aio_sigqueue.c: Likewise.
24915 * rt/aio_suspend.c: Likewise.
24916 * rt/aio_write.c: Likewise.
24917 * rt/clock_getres.c: Likewise.
24918 * rt/clock_gettime.c: Likewise.
24919 * rt/clock_nanosleep.c: Likewise.
24920 * rt/clock_settime.c: Likewise.
24921 * rt/lio_listio.c: Likewise.
24922 * rt/mq_close.c: Likewise.
24923 * rt/mq_getattr.c: Likewise.
24924 * rt/mq_notify.c: Likewise.
24925 * rt/mq_open.c: Likewise.
24926 * rt/mq_receive.c: Likewise.
24927 * rt/mq_send.c: Likewise.
24928 * rt/mq_setattr.c: Likewise.
24929 * rt/mq_timedreceive.c: Likewise.
24930 * rt/mq_timedsend.c: Likewise.
24931 * rt/mq_unlink.c: Likewise.
24932 * rt/shm_open.c: Likewise.
24933 * rt/shm_unlink.c: Likewise.
24934 * rt/timer_create.c: Likewise.
24935 * rt/timer_delete.c: Likewise.
24936 * rt/timer_getoverr.c: Likewise.
24937 * rt/timer_gettime.c: Likewise.
24938 * rt/timer_settime.c: Likewise.
24939 * setjmp/__longjmp.c: Likewise.
24940 * setjmp/setjmp.c: Likewise.
24941 * signal/kill.c: Likewise.
24942 * signal/killpg.c: Likewise.
24943 * signal/raise.c: Likewise.
24944 * signal/sigaction.c: Likewise.
24945 * signal/sigaltstack.c: Likewise.
24946 * signal/sigblock.c: Likewise.
24947 * signal/sigignore.c: Likewise.
24948 * signal/sigintr.c: Likewise.
24949 * signal/signal.c: Likewise.
24950 * signal/sigpause.c: Likewise.
24951 * signal/sigpending.c: Likewise.
24952 * signal/sigqueue.c: Likewise.
24953 * signal/sigreturn.c: Likewise.
24954 * signal/sigset.c: Likewise.
24955 * signal/sigsetmask.c: Likewise.
24956 * signal/sigstack.c: Likewise.
24957 * signal/sigsuspend.c: Likewise.
24958 * signal/sigtimedwait.c: Likewise.
24959 * signal/sigvec.c: Likewise.
24960 * signal/sigwait.c: Likewise.
24961 * signal/sigwaitinfo.c: Likewise.
24962 * signal/sysv_signal.c: Likewise.
24963 * socket/accept.c: Likewise.
24964 * socket/accept4.c: Likewise.
24965 * socket/bind.c: Likewise.
24966 * socket/connect.c: Likewise.
24967 * socket/getpeername.c: Likewise.
24968 * socket/getsockname.c: Likewise.
24969 * socket/getsockopt.c: Likewise.
24970 * socket/isfdtype.c: Likewise.
24971 * socket/listen.c: Likewise.
24972 * socket/recv.c: Likewise.
24973 * socket/recvfrom.c: Likewise.
24974 * socket/recvmsg.c: Likewise.
24975 * socket/send.c: Likewise.
24976 * socket/sendmsg.c: Likewise.
24977 * socket/sendto.c: Likewise.
24978 * socket/setsockopt.c: Likewise.
24979 * socket/shutdown.c: Likewise.
24980 * socket/sockatmark.c: Likewise.
24981 * socket/socket.c: Likewise.
24982 * socket/socketpair.c: Likewise.
24983 * stdio-common/ctermid.c: Likewise.
24984 * stdio-common/cuserid.c: Likewise.
24985 * stdio-common/remove.c: Likewise.
24986 * stdio-common/rename.c: Likewise.
24987 * stdio-common/renameat.c: Likewise.
24988 * stdio-common/tempname.c: Likewise.
24989 * stdlib/getcontext.c: Likewise.
24990 * stdlib/makecontext.c: Likewise.
24991 * stdlib/setcontext.c: Likewise.
24992 * stdlib/swapcontext.c: Likewise.
24993 * stdlib/system.c: Likewise.
24994 * streams/fattach.c: Likewise.
24995 * streams/fdetach.c: Likewise.
24996 * streams/getmsg.c: Likewise.
24997 * streams/getpmsg.c: Likewise.
24998 * streams/putmsg.c: Likewise.
24999 * streams/putpmsg.c: Likewise.
25000 * sysdeps/unix/bsd/getpt.c: Likewise.
25001 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25002 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25003 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25006 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25007 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25008 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25009 * sysvipc/msgctl.c: Likewise.
25010 * sysvipc/msgget.c: Likewise.
25011 * sysvipc/msgrcv.c: Likewise.
25012 * sysvipc/msgsnd.c: Likewise.
25013 * sysvipc/semctl.c: Likewise.
25014 * sysvipc/semget.c: Likewise.
25015 * sysvipc/semop.c: Likewise.
25016 * sysvipc/semtimedop.c: Likewise.
25017 * sysvipc/shmat.c: Likewise.
25018 * sysvipc/shmctl.c: Likewise.
25019 * sysvipc/shmdt.c: Likewise.
25020 * sysvipc/shmget.c: Likewise.
25021 * termios/tcdrain.c: Likewise.
25022 * termios/tcflow.c: Likewise.
25023 * termios/tcflush.c: Likewise.
25024 * termios/tcgetattr.c: Likewise.
25025 * termios/tcgetpgrp.c: Likewise.
25026 * termios/tcsendbrk.c: Likewise.
25027 * termios/tcsetattr.c: Likewise.
25028 * termios/tcsetpgrp.c: Likewise.
25029 * time/adjtime.c: Likewise.
25030 * time/clock.c: Likewise.
25031 * time/getitimer.c: Likewise.
25032 * time/gettimeofday.c: Likewise.
25033 * time/setitimer.c: Likewise.
25034 * time/settimeofday.c: Likewise.
25035 * time/stime.c: Likewise.
25036 * time/time.c: Likewise.
25038 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25040 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25043 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25045 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25047 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25051 FE_TONEAREST before applying Dekker multiplication and Knuth
25052 addition. Clear inexact exceptions and check for exact zero
25053 results afterwards.
25054 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25055 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25056 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25057 * math/libm-test.inc (fma_test): Add more tests.
25058 (fma_test_towardzero): Likewise.
25059 (fma_test_downward): Likewise.
25060 (fma_test_upward): Likewise.
25061 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25063 (libc_fesetround): New macro.
25064 (libc_fesetroundf): Likewise.
25065 (libc_fesetroundl): Likewise.
25066 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25068 (libc_fesetround_387): Likewise.
25069 (libc_fesetroundf): New macro.
25070 (libc_fesetround): Likewise.
25071 (libc_fesetroundl): Likewise.
25072 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25074 (libc_fesetroundf): New macro.
25075 (libc_fesetround): Likewise.
25076 (libc_fesetroundl): Likewise.
25077 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25078 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25079 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25081 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25082 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25084 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25085 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25087 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25091 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25092 integer constant usable in #if and use that to give value to enum
25094 (FE_DIVBYZERO): Likewise.
25095 (FE_UNDERFLOW): Likewise.
25096 (FE_OVERFLOW): Likewise.
25097 (FE_INVALID): Likewise.
25098 (FE_INVALID_SNAN): Likewise.
25099 (FE_INVALID_ISI): Likewise.
25100 (FE_INVALID_IDI): Likewise.
25101 (FE_INVALID_ZDZ): Likewise.
25102 (FE_INVALID_IMZ): Likewise.
25103 (FE_INVALID_COMPARE): Likewise.
25104 (FE_INVALID_SOFTWARE): Likewise.
25105 (FE_INVALID_SQRT): Likewise.
25106 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25107 (FE_TONEAREST): Likewise.
25108 (FE_TOWARDZERO): Likewise.
25109 (FE_UPWARD): Likewise.
25110 (FE_DOWNWARD): Likewise.
25111 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25112 (FE_DIVBYZERO): Likewise.
25113 (FE_OVERFLOW): Likewise.
25114 (FE_UNDERFLOW): Likewise.
25115 (FE_INEXACT): Likewise.
25116 (FE_TONEAREST): Likewise.
25117 (FE_DOWNWARD): Likewise.
25118 (FE_UPWARD): Likewise.
25119 (FE_TOWARDZERO): Likewise.
25120 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25121 (FE_UNDERFLOW): Likewise.
25122 (FE_OVERFLOW): Likewise.
25123 (FE_DIVBYZERO): Likewise.
25124 (FE_INVALID): Likewise.
25125 (FE_TONEAREST): Likewise.
25126 (FE_TOWARDZERO): Likewise.
25127 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25128 (FE_OVERFLOW): Likewise.
25129 (FE_UNDERFLOW): Likewise.
25130 (FE_DIVBYZERO): Likewise.
25131 (FE_INEXACT): Likewise.
25132 (FE_TONEAREST): Likewise.
25133 (FE_TOWARDZERO): Likewise.
25134 (FE_UPWARD): Likewise.
25135 (FE_DOWNWARD): Likewise.
25136 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25137 (FE_DIVBYZERO): Likewise.
25138 (FE_OVERFLOW): Likewise.
25139 (FE_UNDERFLOW): Likewise.
25140 (FE_INEXACT): Likewise.
25141 (FE_TONEAREST): Likewise.
25142 (FE_DOWNWARD): Likewise.
25143 (FE_UPWARD): Likewise.
25144 (FE_TOWARDZERO): Likewise.
25146 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25148 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25150 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25152 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25153 commands. Quote $PWD.
25154 (blacklist_exports): Don't use remove_newlines. Replace "declare
25156 (remove_newlines): Remove.
25158 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25160 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25161 * stdlib/stdlib.h (atof): Moved to ...
25162 * include/bits/stdlib-float.h: Here. New file.
25163 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25164 * stdlib/bits/stdlib-float.h: New file.
25165 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25167 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25170 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25172 * conform/conformtest.pl (@headers): Add fenv.h.
25173 * conform/data/fenv.h-data: New file.
25174 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25175 include of <math/fenv.h>.
25177 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25178 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25179 && !UNIX98]. Enables tests for XOPEN2K8.
25180 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25181 POSIX2008]: Likewise.
25183 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25184 (struct rusage): Do not expect type or its members.
25187 * math/math.h (FP_NAN): Define macro to integer constant usable in
25188 #if and use that to give value to enum constant.
25189 (FP_INFINITE): Likewise.
25190 (FP_ZERO): Likewise.
25191 (FP_SUBNORMAL): Likewise.
25192 (FP_NORMAL): Likewise.
25194 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25196 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25197 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25200 2012-11-02 Roland McGrath <roland@hack.frob.com>
25202 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25203 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25204 autoconf-time if not.
25205 * configure.in: Remove AC_PREREQ.
25207 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25209 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25210 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25211 of the internal implementation.
25213 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25215 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25216 except include of <misc/sys/syslog.h>.
25218 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25221 function returns with a NULL context exit with zero.
25223 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25225 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25227 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25229 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25230 (run_program_cmd): This.
25231 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25232 (tst_langinfo): New variable. Use it.
25234 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25236 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25237 floating point opcodes.
25239 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25241 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25244 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25246 * sysdeps/mach/hurd/powerpc: Remove directory.
25247 * sysdeps/mach/powerpc: Likewise.
25249 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25251 * scripts/check-local-headers.sh: Ignore c++ headers.
25253 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25255 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25256 __libc_cleanup_region_start argument.
25258 2012-11-01 Joseph Myers <joseph@codesourcery.com>
25262 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25263 x * y using scaling, not as x * y + z.
25264 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25265 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25266 * math/libm-test.inc (fma_test): Add more tests.
25267 (fma_test_towardzero): Likewise.
25268 (fma_test_downward): Likewise.
25269 (fma_test_upward): Likewise.
25271 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25273 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25275 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25277 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25280 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25282 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25284 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25291 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25294 Fix the order of the list for glibc 2.17.
25295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25298 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25302 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25305 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25306 for low part of x being zero before using __atanl (y).
25307 * math/libm-test.inc (atan2_test): Add another test.
25309 * manual/install.texi (Configuring and compiling): Document
25310 general use of test-wrapper and test-wrapper-env.
25311 * INSTALL: Regenerated.
25313 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25314 (__fma): Do not extract and scale down low bits on after-rounding
25315 systems when result rounded to normal precision would have normal
25317 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25318 (__fmal): Do not extract and scale down low bits on after-rounding
25319 systems when result rounded to normal precision would have normal
25321 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25322 (__fmal): Do not extract and scale down low bits on after-rounding
25323 systems when result rounded to normal precision would have normal
25325 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25327 (fma_test): Add more tests.
25328 (fma_test_towardzero): Likewise.
25329 (fma_test_downward): Likewise.
25330 (fma_test_upward): Likewise.
25332 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25334 * sysdeps/i386/tininess.h: Renamed to ...
25335 * sysdeps/x86/tininess.h: This.
25336 * sysdeps/x86_64/tininess.h: Removed.
25338 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25340 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25341 input. Use $(build-program-cmd).
25342 ($(objpfx)tst-array1-static.out): Likewise.
25343 ($(objpfx)tst-array2.out): Likewise.
25344 ($(objpfx)tst-array3.out): Likewise.
25345 ($(objpfx)tst-array4.out): Likewise.
25346 ($(objpfx)tst-array5.out): Likewise.
25347 ($(objpfx)tst-array5-static.out): Likewise.
25349 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25351 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25354 * nss/nsswitch.h (nss_interface_function): Provide new
25355 macro for use with NSS functions.
25356 * grp/initgroups.c: Use new macro.
25357 * nss/getXXbyYY.c: Likewise.
25358 * nss/getXXbyYY_r.c: Likewise.
25359 * nss/getXXent.c: Likewise.
25360 * nss/getXXent_r.c: Likewise.
25361 * sysdeps/posix/getaddrinfo.c: Likewise.
25363 2012-10-30 Andreas Jaeger <aj@suse.de>
25365 * po/ru.po: Update Russion translation from translation project.
25367 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25371 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25372 result and shift together with sticky bit instead of replicating
25373 round-to-nearest rounding.
25374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25375 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25376 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25377 missing underflow exceptions.
25378 (fma_test_towardzero): Add more tests.
25379 (fma_test_downward): Likewise.
25380 (fma_test_upward): Likewise.
25383 * sysdeps/generic/tininess.h: New file.
25384 * sysdeps/i386/tininess.h: Likewise.
25385 * sysdeps/sh/tininess.h: Likewise.
25386 * sysdeps/x86_64/tininess.h: Likewise.
25387 * stdlib/tst-strtod-underflow.c: Likewise.
25388 * stdlib/tst-tininess.c: Likewise.
25389 * stdlib/strtod_l.c: Include <tininess.h>.
25390 (round_and_return): Do not set errno for exact underflow cases.
25391 Force an underflow exception when setting errno for underflow.
25392 Determine underflow based on rounding to normal precision if
25393 TININESS_AFTER_ROUNDING.
25394 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25395 ERANGE for exact underflow cases.
25396 * stdlib/Makefile (tests): Add tst-tininess and
25397 tst-strtod-underflow.
25398 ($(objpfx)tst-tininess): Use $(link-libm).
25399 ($(objpfx)tst-strtod-underflow): Likewise.
25401 2012-10-30 Andreas Jaeger <aj@suse.de>
25404 * elf/Makefile (tests): Remove conditional for have-initfini-array
25405 since this is now always required and the variable does not exist
25407 (tests-static): Likewise.
25408 (modules-names): Likewise.
25410 * po/eo.po: Add Esperanto translation from translation project.
25412 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25413 merged with constructor/destructor.
25414 (init_array): Likewise.
25415 * elf/tst-array2dep.c (fini_array): Likewise.
25416 (init_array): Likewise.
25418 2012-10-29 Mike Frysinger <vapier@gentoo.org>
25420 * manual/message.texi: Delete @cartouche tags.
25422 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25424 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25426 * sysdeps/mach/hurd/fsync.c: Likewise.
25428 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25429 [_POSIX_REALTIME_SIGNALS]: Change condition to
25430 [_POSIX_REALTIME_SIGNALS > 0].
25432 2012-10-27 Andreas Jaeger <aj@suse.de>
25434 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25435 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25436 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25437 [__WORDSIZE != 64]: Likewise.
25439 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25441 * iconvdata/tst-table.sh: Remove ${SHELL}.
25442 * iconvdata/tst-tables.sh: Likewise.
25444 2012-10-25 David S. Miller <davem@davemloft.net>
25446 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25447 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25450 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25452 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25453 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25454 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25457 2012-10-25 Roland McGrath <roland@hack.frob.com>
25459 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25460 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25463 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25464 Jim Blandy <jimb@codesourcery.com>
25466 * scripts/cross-test-ssh.sh: New file.
25467 * manual/install.texi (Configuring and compiling): Document use of
25469 * INSTALL: Regenerated.
25471 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25473 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25476 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25478 * Makeconfig (run-program-prefix): Fix comment.
25480 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25481 Jim Blandy <jimb@codesourcery.com>
25483 * Makeconfig (test-wrapper): New variable,
25484 (test-wrapper-env): Likewise.
25485 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25486 (run-built-tests): Define to yes.
25487 (run-program-prefix): Use $(test-wrapper).
25488 (built-program-cmd): Likewise.
25489 * Rules (make-test-out): Use $(test-wrapper-env) and
25490 $(host-built-program-cmd).
25491 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25492 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25494 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25495 $(test-wrapper-env) to tst-rtld-load-self.sh.
25496 ($(objpfx)order2.out): Use $(test-wrapper).
25497 ($(objpfx)tst-initorder.out): Likewise.
25498 ($(objpfx)tst-initorder2.out): Likewise.
25499 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25500 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25501 (test_wrapper_env): New variable. Use it to run ld.so.
25502 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25503 Use it to run ld.so.
25504 (test_wrapper_env): Likewise.
25505 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25506 $(test-wrapper) to run-iconv-test.sh.
25507 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25508 (ICONV): Use $test_wrapper.
25509 * posix/Makefile ($(objpfx)globtest.out): Pass
25510 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25511 globtest.sh, not $(run-program-prefix).
25512 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25513 (test_wrapper): Likewise.
25514 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25515 set together with run_via_rtld_prefix.
25516 (run_program_prefix): Define in terms of test_wrapper and
25517 run_via_rtld_prefix.
25519 2012-10-24 Roland McGrath <roland@hack.frob.com>
25521 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25522 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25526 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25527 Declare __clock_getres, __clock_gettime, __clock_settime,
25528 __clock_nanosleep, and __clock_getcpuclockid.
25529 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25530 Remove librt_hidden_def (clock_gettime).
25531 * sysdeps/unix/clock_gettime.c: Likewise.
25532 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25533 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25534 * rt/clock_getres.c: Define __clock_getres as an alias.
25535 * sysdeps/posix/clock_getres.c: Likewise.
25536 * rt/clock_settime.c: Define __clock_settime as an alias.
25537 * sysdeps/unix/clock_settime.c: Likewise.
25538 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25539 * sysdeps/unix/clock_nanosleep.c: Likewise.
25540 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25541 * rt/clock-compat.c: New file.
25542 * rt/Makefile (librt-routines): Add clock-compat and move
25543 $(clock-routines) to ...
25544 (routines): ... here, new variable.
25545 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25546 Don't add get_clockfreq here.
25547 * rt/Versions (libc: GLIBC_2.17): New version set.
25548 Add clock_* symbols here.
25549 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25550 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25551 (GLIBC_2.17): Add clock_* symbols.
25552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25554 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25563 * NEWS: Mention the move.
25565 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25566 Use __open, __read, __close rather than their public counterparts.
25567 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25568 (__get_clockfreq_via_cpuinfo): Likewise.
25569 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25570 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25572 * config.h.in (HAVE_IFUNC): New #undef.
25573 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25575 * configure: Regenerated.
25577 2012-10-24 Mike Frysinger <vapier@gentoo.org>
25579 * configure.in: Move READELF check to start of file.
25580 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25581 libc_cv_asm_gnu_indirect_function in the process.
25582 * configure: Regenerated.
25584 2012-10-24 Mike Frysinger <vapier@gentoo.org>
25586 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25587 send the output to /dev/null.
25588 (libc_cv_cc_with_libunwind): Likewise.
25589 (libc_cv_as_noexecstack): Likewise.
25590 * configure: Regenerate.
25592 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25594 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25596 * posix/globtest.sh (TMPDIR): Do not set.
25597 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25598 (testout): Likewise.
25600 2012-10-24 Andreas Jaeger <aj@suse.de>
25602 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25603 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25604 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25605 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25606 posix_fadvise64, posix_fallocate64.
25608 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25609 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25610 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25612 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25614 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25616 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25617 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25618 <bits/fcntl-linux.h>.
25619 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25621 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25622 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25623 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25624 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25625 [__WORDSIZE != 64]: Likewise.
25627 2012-10-23 Joseph Myers <joseph@codesourcery.com>
25629 * Makeconfig (run-built-tests): New variable.
25630 * Rules [$(cross-compiling) = yes]: Change condition to
25631 [$(run-built-tests) = no].
25632 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25633 to [$(run-built-tests) = yes].
25634 * elf/Makefile [$(cross-compiling) = no]: Likewise
25635 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25636 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25637 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25638 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25639 * io/Makefile [$(cross-compiling) = no]: Likewise.
25640 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25641 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25642 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25643 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25644 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25645 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25646 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25647 * string/Makefile [$(cross-compiling) = no]: Likewise.
25649 * posix/Makefile ($(objpfx)globtest.out): Pass
25650 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25651 $(rtld-installed-name).
25652 * posix/globtest.sh (elf_objpfx): Remove variable.
25653 (rtld_installed_name): Likewise.
25654 (library_path): Likewise.
25655 (run_program_prefix): New variable. Use for running globtest
25658 2012-10-23 Jim Blandy <jimb@codesourcery.com>
25659 Joseph Myers <joseph@codesourcery.com>
25661 * Makeconfig (host-built-program-cmd): New variable.
25662 * elf/Makefile (tst-stackguard1-ARGS): Use
25663 $(host-built-program-cmd).
25664 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25665 (tst-spawn-ARGS): Likewise.
25666 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25668 2012-10-23 Joseph Myers <joseph@codesourcery.com>
25669 Jim Blandy <jimb@codesourcery.com>
25671 * Makeconfig (run-via-rtld-prefix): New variable.
25672 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25673 (built-program-cmd): Likewise.
25675 2012-10-22 Andreas Jaeger <aj@suse.de>
25677 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25678 __O_RSYNC if it exists, otherwise to O_SYNC.
25680 2012-10-22 Jim Blandy <jimb@codesourcery.com>
25681 Joseph Myers <joseph@codesourcery.com>
25683 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25685 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25687 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25690 2012-10-22 Andreas Jaeger <aj@suse.de>
25692 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25694 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25696 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25697 bits/fcntl-linux.h.
25699 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25700 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25702 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25707 2012-10-21 Jim Blandy <jimb@codesourcery.com>
25708 Joseph Myers <joseph@codesourcery.com>
25710 * config.make.in (NM): New variable.
25712 2012-10-21 Andreas Jaeger <aj@suse.de>
25714 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25715 definitions and declarations that are provided by
25716 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25718 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25721 * elf/Makefile (tests-static): Add tst-leaks1-static.
25722 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25723 ($(objpfx)tst-leaks1-static): New rule.
25724 ($(objpfx)tst-leaks1-static-mem): Likewise.
25725 (tst-leaks1-static-ENV): New macro.
25726 * elf/dl-open.c (dl_open_worker): Check the main application
25727 only if SHARED is defined.
25728 * elf/tst-leaks1-static.c: New file.
25730 2012-10-20 Andreas Jaeger <aj@suse.de>
25732 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25733 generic values for Linux.
25734 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25735 and declarations that are provided by <bits/fcntl-linux.h> and
25736 include <bits/fcntl-linux.h>.
25737 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25738 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25740 2012-10-20 Roland McGrath <roland@hack.frob.com>
25742 * io/fcntl.h: Move include of <bits/types.h> to the top and
25743 include it unconditionally.
25745 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25747 * wcsmbs/Makefile (tests-ifunc): New variable.
25748 (tests): Add $(tests-ifunc).
25749 * wcsmbs/test-wcschr-ifunc.c: New file.
25750 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25751 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25752 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25753 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25754 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25756 * string/Makefile (tests-ifunc): New variable.
25757 (tests): Add $(tests-ifunc).
25758 * string/test-memccpy.c (TEST_NAME): New macro.
25759 * string/test-memchr.c (TEST_NAME): Likewise.
25760 * string/test-memcmp.c (TEST_NAME): Likewise.
25761 * string/test-memcpy.c (TEST_NAME): Likewise.
25762 * string/test-memmem.c (TEST_NAME): Likewise.
25763 * string/test-memmove.c (TEST_NAME): Likewise.
25764 * string/test-memset.c (TEST_NAME): Likewise.
25765 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25766 * string/test-stpcpy.c (TEST_NAME): Likewise.
25767 * string/test-stpncpy.c (TEST_NAME): Likewise.
25768 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25769 * string/test-strcasestr.c (TEST_NAME): Likewise.
25770 * string/test-strcat.c (TEST_NAME): Likewise.
25771 * string/test-strchr.c (TEST_NAME): Likewise.
25772 * string/test-strcmp.c(TEST_NAME): Likewise.
25773 * string/test-strcpy.c (TEST_NAME): Likewise.
25774 * string/test-strcspn.c (TEST_NAME): Likewise.
25775 * string/test-strlen.c (TEST_NAME): Likewise.
25776 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25777 * string/test-strncmp.c (TEST_NAME): Likewise.
25778 * string/test-strncpy.c (TEST_NAME): Likewise.
25779 * string/test-strnlen.c (TEST_NAME): Likewise.
25780 * string/test-strpbrk.c (TEST_NAME): Likewise.
25781 * string/test-strrchr.c (TEST_NAME): Likewise.
25782 * string/test-strspn.c (TEST_NAME): Likewise.
25783 * string/test-strstr.c (TEST_NAME): Likewise.
25784 * string/test-bcopy-ifunc.c: New file.
25785 * string/test-bzero-ifunc.c: Likewise.
25786 * string/test-memccpy-ifunc.c: Likewise.
25787 * string/test-memchr-ifunc.c: Likewise.
25788 * string/test-memcmp-ifunc.c: Likewise.
25789 * string/test-memcpy-ifunc.c: Likewise.
25790 * string/test-memmem-ifunc.c: Likewise.
25791 * string/test-memmove-ifunc.c: Likewise.
25792 * string/test-mempcpy-ifunc.c: Likewise.
25793 * string/test-memset-ifunc.c: Likewise.
25794 * string/test-rawmemchr-ifunc.c: Likewise.
25795 * string/test-stpcpy-ifunc.c: Likewise.
25796 * string/test-stpncpy-ifunc.c: Likewise.
25797 * string/test-strcasecmp-ifunc.c: Likewise.
25798 * string/test-strcasestr-ifunc.c: Likewise.
25799 * string/test-strcat-ifunc.c: Likewise.
25800 * string/test-strchr-ifunc.c: Likewise.
25801 * string/test-strchrnul-ifunc.c: Likewise.
25802 * string/test-strcmp-ifunc.c: Likewise.
25803 * string/test-strcpy-ifunc.c: Likewise.
25804 * string/test-strcspn-ifunc.c: Likewise.
25805 * string/test-strlen-ifunc.c: Likewise.
25806 * string/test-strncasecmp-ifunc.c: Likewise.
25807 * string/test-strncat-ifunc.c: Likewise.
25808 * string/test-strncmp-ifunc.c: Likewise.
25809 * string/test-strncpy-ifunc.c: Likewise.
25810 * string/test-strnlen-ifunc.c: Likewise.
25811 * string/test-strpbrk-ifunc.c: Likewise.
25812 * string/test-strrchr-ifunc.c: Likewise.
25813 * string/test-strspn-ifunc.c: Likewise.
25814 * string/test-strstr-ifunc.c: Likewise.
25816 * debug/Makefile (tests-ifunc): New variable.
25817 (tests): Add $(tests-ifunc).
25818 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25819 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25820 * debug/test-stpcpy_chk-ifunc.c: New file.
25821 * debug/test-strcpy_chk-ifunc.c: Likewise.
25823 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25826 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25827 header is not read in.
25829 2012-10-19 Joseph Myers <joseph@codesourcery.com>
25831 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25832 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25833 directly. Pass built executable to script as
25834 $(built-program-cmd).
25835 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25836 $testprogram without using LD_LIBRARY_PATH and $ldso.
25838 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25839 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25840 $(rtld-installed-name).
25841 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25842 (rtld_installed_name): Likewise.
25843 (library_path): Likewise.
25844 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25845 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25846 $(run-program-prefix) to tst-tables.sh.
25847 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25848 it to run tst-table-from and tst-table-to.
25849 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25850 Pass it to tst-table.sh.
25851 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25852 $(run-program-prefix) to tst-gettext.sh.
25853 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25855 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25857 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25858 to run tst-gettext.
25859 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25860 to run tst-gettext2.
25861 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25862 to run tst-translit.
25863 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25864 $(run-program-prefix) to tst-mtrace.sh.
25865 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25867 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25868 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25869 $(rtld-installed-name).
25870 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25871 (rtld_installed_name): Likewise.
25872 (run_program_prefix): New variable. Use it to run wordexp-test.
25874 * Makeconfig (ARCH): Remove all definitions.
25875 (machine): Likewise.
25876 [ARCH]: Remove conditional code.
25877 [!objdir]: Give error.
25878 [!objdir] (objpfx): Remove.
25879 [!objdir] (common-objpfx): Likewise.
25880 [!objdir] (common-objdir): Likewise.
25881 * configure.in (config_makefile): Remove. Hardcode Makefile in
25882 AC_CONFIG_FILES call.
25883 * configure: Regenerated.
25886 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25888 (testout): Likewise.
25890 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25891 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25892 $(rtld-installed-name).
25893 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25894 (rtld_installed_name): Likwise.
25895 (runit): Remove function.
25896 (run_getconf): New variable, Use it for running getconf binary.
25898 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25901 * string/test-memmem.c (check_result): New function.
25902 (do_one_test): Use it.
25903 (check1): New function.
25904 (test_main): Use it.
25906 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25908 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25910 2012-10-18 Joseph Myers <joseph@codesourcery.com>
25912 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25913 (_G_LSEEK64): Likewise.
25914 (_G_MMAP64): Likewise.
25915 (_G_FSTAT64): Likewise.
25916 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25917 (_G_LSEEK64): Likewise.
25918 (_G_MMAP64): Likewise.
25919 (_G_FSTAT64): Likewise.
25920 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25921 unconditional. Call __mmap64 directly.
25922 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25923 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25924 __lseek64 directly.
25925 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25926 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25928 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25929 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25930 __lseek64 directly.
25931 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25932 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25933 __lseek64 directly.
25934 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25935 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25936 __lseek64 directly.
25937 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25938 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25939 __fxstat64 directly.
25940 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25941 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25943 (freopen64) [!_G_OPEN64]: Remove conditional code.
25944 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25946 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25947 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25949 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25950 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25952 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25953 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25955 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25956 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25958 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25959 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25961 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25962 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25964 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25966 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25969 * manual/memory.texi (Malloc Tunable Parameters): Add note
25970 about free list pointers overwriting some perturb bytes.
25971 Wording suggested by Roland McGrath.
25973 2012-10-17 Joseph Myers <joseph@codesourcery.com>
25975 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25976 (lgamma_test): Likewise.
25977 (tgamma_test): Likewise.
25979 2012-10-16 Florian Weimer <fweimer@redhat.com>
25982 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25983 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25985 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25987 * NEWS: Mention BZ #14716.
25988 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25989 when removing AVAILABLE1_USES_J macro.
25991 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25993 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25994 (__bswap_64): __uint64_t for unsigned 64-bit int.
25996 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25998 * include/string.h (memmem): Declare libc hidden alias.
25999 * string/memmem.c (memmem): Define libc hidden alias.
26000 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26001 __read, __close instead of open, read, close.
26003 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26005 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26006 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26008 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26009 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26010 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26012 (__rawmemchr_sse2): Likewise.
26013 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26014 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26015 (__strchr_sse2): Likewise.
26016 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26017 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26018 (__strcasecmp_sse2): Likewise.
26019 (__strncasecmp_sse2): Likewise.
26020 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26021 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26022 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26023 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26024 (__strrchr_sse2): Likewise.
26025 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26027 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26028 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26029 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26030 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26031 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26032 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26033 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26034 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26035 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26036 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26037 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26038 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26039 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26040 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26041 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26042 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26043 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26044 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26045 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26046 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26047 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26048 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26049 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26050 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26051 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26052 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26053 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26054 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26055 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26056 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26058 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26060 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26061 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26062 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26063 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26065 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26067 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26068 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26069 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26070 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26072 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26073 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26074 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26075 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26076 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26077 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26078 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26079 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26080 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26081 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26082 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26083 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26084 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26085 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26086 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26087 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26088 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26089 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26090 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26091 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26092 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26093 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26094 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26095 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26096 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26097 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26098 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26099 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26100 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26101 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26102 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26103 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26104 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26105 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26106 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26107 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26108 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26109 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26110 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26111 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26112 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26114 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26115 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26116 * include/ifunc-impl-list.h: New file.
26117 * misc/ifunc-impl-list.c: Likewise.
26118 * misc/Makefile (routines): Add ifunc-impl-list.
26119 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26120 * string/test-string.h: Include <ifunc-impl-list.h>.
26121 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26122 TEST_NAME]: New variables.
26123 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26125 (test_init): Call __libc_ifunc_impl_list to initialize
26126 func_list if TEST_IFUNC and TEST_NAME are defined.
26128 * string/Makefile (strop-tests): Add bcopy and bzero.
26129 * string/test-bcopy.c: New file.
26130 * string/test-bzero.c: Likewise.
26131 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26133 * string/test-memset.c: Support bzero test if TEST_BZERO is
26135 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26137 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26139 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26142 2012-10-10 Joseph Myers <joseph@codesourcery.com>
26144 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26145 * configure: Regenerated.
26147 * Makeconfig (+link-static-before-libc): Don't include
26148 $(link-static-libc).
26150 * libio/libio.h (_IO_pos_t): Remove.
26152 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26154 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26157 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26159 * crypt/crypt-entry.c: Include fips-private.h.
26160 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26161 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26162 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26163 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26165 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26167 * crypt/crypt-private.h: Include stdbool.h.
26168 (_ufc_setup_salt_r): Return bool.
26169 * crypt/crypt-entry.c: Include errno.h.
26170 (__crypt_r): Return NULL with EINVAL for bad salt.
26171 * crypt/crypt_util.c (bad_for_salt): New.
26172 (_ufc_setup_salt_r): Check that salt is long enough and within
26173 the specified alphabet.
26174 * crypt/badsalttest.c: New file.
26175 * crypt/Makefile (tests): Add it.
26176 ($(objpfx)badsalttest): New.
26178 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26180 * NEWS: Add entry for BZ #14602.
26182 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26184 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26186 * math/libm-test.inc: Update comment listing what functions and
26188 (isgreater_test): New function.
26189 (isgreaterequal_test): Likewise.
26190 (isless_test): Likewise.
26191 (islessequal_test): Likewise.
26192 (islessgreater_test): Likewise.
26193 (isunordered_test): Likewise.
26194 (main): Call the new functions.
26196 2012-10-09 Roland McGrath <roland@hack.frob.com>
26198 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26199 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26200 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26201 * sysdeps/i386/configure: Regenerated.
26202 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26203 * sysdeps/mach/configure: Regenerated.
26204 * sysdeps/mach/hurd/configure: Regenerated.
26205 * sysdeps/powerpc/configure: Regenerated.
26206 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26207 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26208 * sysdeps/s390/s390-32/configure: Regenerated.
26209 * sysdeps/s390/s390-64/configure: Regenerated.
26210 * sysdeps/sh/configure: Regenerated.
26211 * sysdeps/sparc/configure: Regenerated.
26212 * sysdeps/unix/sysv/linux/configure: Regenerated.
26213 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26214 * sysdeps/x86_64/configure: Regenerated.
26216 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26217 defined. Don't check if MAP is NULL.
26219 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26221 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26222 (_G_stat64): Likewise.
26223 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26224 (_G_stat64): Likewise.
26225 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26226 instead of struct _G_stat64.
26227 * libio/fileops.c (mmap_remap_check): Likewise.
26228 (decide_maybe_mmap): Likewise.
26229 (_IO_new_file_seekoff): Likewise.
26230 (_IO_file_stat): Likewise.
26231 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26233 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26234 instead of struct _G_stat64.
26235 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26237 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26240 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26242 (CHECK_EOL): New macro.
26243 (two_way_short_needle): Check beginning of haystack for EOL. Use
26245 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26246 Replace with CHECK_EOL.
26247 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26248 Replace with CHECK_EOL.
26250 2012-10-08 Joseph Myers <joseph@codesourcery.com>
26252 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26254 * math/libm-test.inc: Update comment listing what functions and
26256 (finite_test): New function.
26257 (isinf_test): Likewise.
26258 (isnan_test): Likewise.
26259 (fpclassify_test): Test subnormal input.
26260 (isfinite_test): Likewise.
26261 (isnormal_test): Likewise.
26262 (main): Call the new functions.
26264 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26267 * Makerules (%.dynsym): Force C locale when running
26268 $(OBJDUMP) --dynamic-syms.
26270 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26272 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26275 2012-10-06 David S. Miller <davem@davemloft.net>
26277 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26278 upper 32-bits of the length value in %o2 since we use branch-on-register
26279 tests which consider the entire 64-bit register.
26281 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26283 * string/test-strstr.c (check2): Add a test for page boundary.
26285 2012-10-05 David S. Miller <davem@davemloft.net>
26287 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26288 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26290 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26292 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26293 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26294 and bzero when HWCAP_SPARC_CRYPTO is present.
26296 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26299 * string/test-strstr.c (check2): New function.
26300 (test_main): Call check2.
26302 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26304 * string/bug-strcasestr1.c (do_test): Moved to ...
26305 * string/test-strcasestr.c (check1): Here. New function.
26306 (do_one_test): Break out result checking code into ...
26307 (check_result): This. New function.
26308 (do_one_test): Call check_result.
26309 (test_main): Call check1.
26310 * string/bug-strchr1.c (do_test): Moved to ...
26311 * string/test-strchr.c (check1): Here. New function.
26312 (do_one_test): Break out result checking code into ...
26313 (check_result): This. New function.
26314 (do_one_test): Call check_result.
26315 (test_main): Call check1.
26316 * string/bug-strstr1.c (main): Moved to ...
26317 * string/test-strstr.c (check1): Here. New function.
26318 (do_one_test): Break out result checking code into ...
26319 (check_result): This. New function.
26320 (do_one_test): Call check_result.
26321 (test_main): Call check1.
26322 * string/bug-strcasestr1.c: Removed.
26323 * string/bug-strchr1.c: Likewise.
26324 * string/bug-strstr1.c: Likewise.
26326 * elf/Makefile (dl-routines): Add hwcaps.
26327 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26328 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26329 (_dl_important_hwcaps): Moved to ...
26330 * elf/dl-hwcaps.c: Here. New file.
26331 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26334 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26335 if IS_IN_rtld isn't defined.
26337 * elf/dl-support.c (_dl_sysinfo_map): New.
26338 Include "get-dynamic-info.h" and "setup-vdso.h".
26339 (_dl_non_dynamic_init): Call setup_vdso.
26340 * elf/dynamic-link.h: Don't include <assert.h>.
26341 (elf_get_dynamic_info): Moved to ...
26342 * elf/get-dynamic-info.h: Here. New file.
26343 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26344 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26345 * elf/setup-vdso.h: Here. New file.
26346 * elf/rtld.c: Include "setup-vdso.h".
26347 (dl_main): Call setup_vdso.
26349 2012-10-05 Joseph Myers <joseph@codesourcery.com>
26351 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26352 creal in comment listing functions tested. List finite, isinf,
26353 isnan, isless, islessequal, isgreater, isgreaterequal,
26354 islessgreater, isunordered, lgamma_r and pow10 as functions and
26355 macros not tested. Mention which functions not tested are aliases
26356 for other functions. Fix typo. Note that signs of NaNs are not
26359 * scripts/config.guess: Update from config.git.
26360 * scripts/config.sub: Likewise.
26362 2012-10-04 Roland McGrath <roland@hack.frob.com>
26364 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26365 * misc/madvise.c (madvise): Renamed to __madvise.
26366 Make madvise a weak alias.
26367 * include/sys/mman.h: Declare __madvise.
26368 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26369 * sysdeps/unix/syscalls.list
26370 (madvise): Make __madvise the strong name, and madvise a weak alias.
26371 * sysdeps/unix/sysv/linux/syscalls.list
26372 (madvise, mmap): Remove redundant entries.
26373 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26374 * malloc/malloc.c (mtrim): Likewise.
26375 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26377 2012-10-03 Roland McGrath <roland@hack.frob.com>
26379 * sysdeps/mach/hurd/dl-cache.c: File removed.
26380 * config.h.in (USE_LDCONFIG): New #undef.
26381 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26382 * configure: Regenerated.
26383 * elf/Makefile (dl-routines): Add dl-cache only under
26384 [$(use-ldconfig) = yes].
26385 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26386 cache on [USE_LDCONFIG].
26387 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26389 * elf/rtld.c (dl_main): Likewise.
26391 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26393 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26394 _SC_LEVEL4_CACHE_LINESIZE.
26396 2012-10-03 Roland McGrath <roland@hack.frob.com>
26398 * sysdeps/unix/bsd/confstr.h: File removed.
26400 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
26402 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26405 2012-10-02 Roland McGrath <roland@hack.frob.com>
26407 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26408 Make 'mapoff' field ElfW(Off) rather than off_t.
26410 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26412 * nscd/Makefile: Remove nscd-cflags and all its users.
26413 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26414 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26417 * malloc.c (malloc_printerr): Clarify error message.
26419 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26423 Set bit_FMA_Usable if FMA is supported.
26424 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26426 (bit_FMA4_Usable): Updated.
26427 (index_FMA_Usable): New macro.
26428 (CPUID_FMA): Likewise
26429 (HAS_FMA): Defined with bit_FMA_Usable.
26431 2012-10-01 Roland McGrath <roland@hack.frob.com>
26433 * bits/types.h (__swblk_t): Type removed.
26434 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26435 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26436 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26437 (__SWBLK_T_TYPE): Likewise.
26438 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26439 (__SWBLK_T_TYPE): Likewise.
26440 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26441 (__SWBLK_T_TYPE): Likewise.
26442 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26443 (__SWBLK_T_TYPE): Likewise.
26445 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
26446 Honza Horak <hhorak@redhat.com>
26448 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26449 (xdr_mapname): Use YPMAXMAP as maxsize.
26450 (xdr_peername): Use YPMAXPEER as maxsize.
26451 (xdr_keydat): Use YPAXRECORD as maxsize.
26452 (xdr_valdat): Use YPMAXRECORD as maxsize.
26454 2012-10-01 Roland McGrath <roland@hack.frob.com>
26456 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26458 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26459 * csu/init-first.c: ... here.
26460 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26461 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26462 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26463 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26464 * sysdeps/i386/init-first.c: File removed.
26465 * sysdeps/sh/init-first.c: File removed.
26467 2012-10-01 Joseph Myers <joseph@codesourcery.com>
26470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26471 if x * y might underflow to zero and z is zero.
26472 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26473 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26474 * math/libm-test.inc (min_subnorm_value): New variable.
26475 (fma_test): Add more tests.
26476 (fma_test_towardzero): Likewise.
26477 (fma_test_downward): Likewise
26478 (fma_test_upward): Likewise.
26479 (initialize): Set min_subnorm_value.
26481 2012-09-29 Joseph Myers <joseph@codesourcery.com>
26484 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26486 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26487 mode for addition resulting in exact zero.
26488 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26489 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26491 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26492 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26493 * math/libm-test.inc (fma_test): Add more tests.
26494 (fma_test_towardzero): New function.
26495 (fma_test_downward): Likewise.
26496 (fma_test_upward): Likewise.
26497 (main): Call the new functions.
26499 2012-09-28 David S. Miller <davem@davemloft.net>
26501 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26503 2012-09-28 Roland McGrath <roland@hack.frob.com>
26505 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26506 instead of SIGALRM.
26508 * sysdeps/gnu/_G_config.h: Moved to ...
26509 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26510 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26511 * sysdeps/generic/_G_config.h: ... here.
26513 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26515 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26517 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26518 Conditionalize target on [libnss_test1.so-version].
26520 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26522 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26523 (elfobjdir): Move out of conditionals.
26525 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26526 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26527 (__nss_lookup_function): Conditionalize label remove_from_tree on
26528 [!DO_STATIC_NSS || SHARED], matching its only use.
26530 2012-09-28 David S. Miller <davem@davemloft.net>
26532 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26533 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26535 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26537 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26538 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26539 when HWCAP_SPARC_CRYPTO is present.
26541 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26543 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26545 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26548 * stdio-common/vfprintf.c (process_string_arg): Revert
26551 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26553 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26555 * stdio-common/tst-sprintf.c: Include <locale.h>
26556 (main): Test sprintf's handling of incomplete multibyte
26559 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26561 * elf/dl-runtime.c (VERSYMIDX): Removed.
26562 * elf/dl-version.c (VERSYMIDX): Likewise.
26563 * elf/do-rel.h (VERSYMIDX): Likewise.
26564 (VALIDX): Likewise.
26565 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26566 * elf/rtld.c (VALIDX): Likewise.
26567 (ADDRIDX): Likewise.
26568 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26569 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26570 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26571 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26572 (VALIDX): Likewise.
26573 (ADDRIDX): Likewise.
26575 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26577 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26579 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26582 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26584 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26585 addresses are in the same scope as 192.0.2/24.
26586 * posix/gai.conf: Document new scope table defaults.
26588 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26591 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26592 for ftell. Compute offsets from write pointers instead.
26593 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26595 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26598 * libio/Makefile (tests): New test case tst-fseek.
26599 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26600 combination works in wide mode.
26601 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26602 state when the external buffer state changes.
26604 2012-09-27 David S. Miller <davem@davemloft.net>
26607 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26608 pass reloc->r_addend in as the 'high' argument to
26609 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26613 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26615 * rt/tst-aio2.c: Include <pthread.h>.
26616 * rt/tst-aio3.c: Likewise.
26618 2012-09-27 Steve Ellcey <sellcey@mips.com>
26620 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26622 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26624 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26625 contents on [SHARED].
26627 2012-09-26 Marek Polacek <polacek@redhat.com>
26631 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26632 for C++ and GCC <4.3 as well as for non GCC compilers.
26634 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26638 2012-09-25 Roland McGrath <roland@hack.frob.com>
26640 * Makefile.in (all, install): Declare with .PHONY.
26641 Reported by Michael Hope <michael.hope@linaro.org>.
26643 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26645 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26646 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26648 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26650 (sydep_routines): Add the new and the internal functions.
26651 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26652 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26654 (GLIBC_2.17): Add the new function.
26655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26656 (GLIBC_2.17): Likewise.
26657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26658 (GLIBC_2.17): Likewise.
26659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26660 (GLIBC_2.17): Likewise.
26661 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26663 2012-09-25 Alan Modra <amodra@gmail.com>
26665 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26666 Add release barrier before setting once_control to say
26667 initialisation is done. Add hints on lwarx. Use macro in
26669 (clear_once_control): Add release barrier.
26671 2012-09-25 Joseph Myers <joseph@codesourcery.com>
26674 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26676 * math/s_clog10.c (__clog10): Likewise.
26677 * math/s_clog10f.c (__clog10f): Likewise.
26678 * math/s_clog10l.c (__clog10l): Likewise.
26679 * math/s_clogf.c (__clogf): Likewise.
26680 * math/s_clogl.c (__clogl): Likewise.
26681 * math/Makefile (libm-calls): Add x2y2m1.
26682 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26683 (__x2y2m1): Likewise.
26684 (__x2y2m1l): Likewise.
26685 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26686 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26687 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26688 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26689 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26690 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26691 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26692 * sysdeps/i386/fpu/libm-test-ulps: Update.
26693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26696 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26697 int as type of variable DEPTH.
26698 (glob): Use size_t instead of int as type of variables NEWCOUNT
26701 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26703 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26704 Add s_sincosf-sse2.
26705 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26706 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26707 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26708 macros for using routine as __sincosf_ia32.
26709 Use macro for function declaration and weak_alias.
26710 * sysdeps/i386/fpu/libm-test-ulps: Update.
26712 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26713 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26715 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26716 subnormal argument.
26717 * math/s_cexpf.c (__cexpf): Likewise.
26718 * math/s_csinf.c (__csinf): Likewise.
26719 * math/s_csinhf.c (__csinhf): Likewise.
26720 * math/s_ctanf.c (__ctanf): Likewise.
26721 * math/s_ctanhf.c (__ctanhf): Likewise.
26722 * math/s_ccosh.c (__ccoshf): Likewise.
26723 * math/s_cexp.c (__cexpl): Likewise.
26724 * math/s_csin.c (__csin): Likewise.
26725 * math/s_csinh.c (__csinh): Likewise.
26726 * math/s_ctan.c (__ctan): Likewise.
26727 * math/s_ctanh.c (ctanh): Likewise.
26728 * math/s_ccoshl.c (__ccoshl): Likewise.
26729 * math/s_cexpl.c (__cexpl): Likewise.
26730 * math/s_csinl.c (__csinl): Likewise.
26731 * math/s_csinhl.c (__csinhl): Likewise.
26732 * math/s_ctanl.c (__ctanl): Likewise.
26733 * math/s_ctanhl.c (__ctanhl): Likewise.
26735 2012-09-25 Joseph Myers <joseph@codesourcery.com>
26737 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26738 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26739 (_IO_off_t): Define to __off_t, not _G_off_t.
26740 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26741 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26742 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26743 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26744 type of __dummy and __dummy2 fields.
26745 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26746 (_G_ssize_t): Likewise.
26747 (_G_off_t): Likewise.
26748 (_G_pid_t): Likewise.
26749 (_G_uid_t): Likewise.
26750 (_G_wchar_t): Likewise.
26751 (_G_wint_t): Likewise.
26752 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26753 (_G_ssize_t): Likewise.
26754 (_G_off_t): Likewise.
26755 (_G_pid_t): Likewise.
26756 (_G_uid_t): Likewise.
26757 (_G_wchar_t): Likewise.
26758 (_G_wint_t): Likewise.
26759 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26760 (_G_ssize_t): Likewise.
26761 (_G_off_t): Likewise.
26762 (_G_pid_t): Likewise.
26763 (_G_uid_t): Likewise.
26764 (_G_wchar_t): Likewise.
26765 (_G_wint_t): Likewise.
26767 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26769 * malloc/arena.c: Include malloc-sysdep.h.
26770 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26771 is sufficient to shrink the heap or an unmap is needed.
26772 * sysdeps/generic/malloc-sysdep.h: New file. Define
26773 new function check_may_shrink_heap.
26774 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26775 new function check_may_shrink_heap.
26777 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26779 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26782 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26784 * catgets/test-gencat.sh: Add "set -e".
26785 * elf/tst-pathopt.sh: Likewise.
26786 * grp/tst_fgetgrent.sh: Likewise.
26787 * iconvdata/run-iconv-test.sh: Likewise.
26788 * intl/tst-gettext.sh: Likewise.
26789 * intl/tst-gettext2.sh: Likewise.
26790 * intl/tst-gettext4.sh: Likewise.
26791 * intl/tst-gettext6.sh: Likewise.
26792 * intl/tst-translit.sh: Likewise.
26793 * io/ftwtest-sh: Likewise.
26794 * libio/test-freopen.sh: Likewise.
26795 * malloc/tst-mtrace.sh: Likewise.
26796 * posix/globtest.sh: Likewise.
26797 * posix/tst-getconf.sh: Likewise.
26798 * posix/wordexp-tst.sh: Likewise.
26799 * stdio-common/tst-printf.sh: Likewise.
26800 * stdio-common/tst-unbputc.sh: Likewise.
26801 * stdlib/tst-fmtmsg.sh: Likewise.
26802 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26803 * catgets/Makefile: Do not specify -e option when running
26804 testsuite shell scripts.
26805 * elf/Makefile: Likewise.
26806 * grp/Makefile: Likewise.
26807 * iconvdata/Makefile: Likewise.
26808 * intl/Makefile: Likewise.
26809 * io/Makefile: Likewise.
26810 * libio/Makefile: Likewise.
26811 * malloc/Makefile: Likewise.
26812 * posix/Makefile: Likewise.
26813 * stdio-common/Makefile: Likewise.
26814 * stdlib/Makefile: Likewise.
26815 * sysdeps/x86_64/Makefile: Likewise.
26817 * io/ftwtest-sh: Add copyright header.
26818 * posix/globtest.sh: Likewise.
26819 * posix/tst-getconf.sh: Likewise.
26820 * posix/wordexp-tst.sh: Likewise.
26821 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26823 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26826 * Makeconfig (+link): Defined as $(+link-static) if
26827 $(build-shared) isn't yes.
26828 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26830 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26832 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26835 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26836 new chunk size with MALLOC_ALIGN_MASK.
26838 2012-09-24 Joseph Myers <joseph@codesourcery.com>
26841 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26843 (__printf_fphex): Determine rounding using get_rounding_mode and
26845 * stdio-common/tst-printf-round.c (struct hex_test): New
26847 (hex_tests): New variable.
26848 (test_hex_in_one_mode): New function.
26849 (do_test): Also run tests for hex float output.
26851 2012-09-21 Joseph Myers <joseph@codesourcery.com>
26853 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26854 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26855 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26856 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26857 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26858 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26859 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26860 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26862 2012-09-20 Joseph Myers <joseph@codesourcery.com>
26864 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26865 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26866 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26867 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26869 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26872 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26874 * elf/tst-rtld-load-self.sh: New test.
26875 * elf/Makefile: Run it.
26877 2012-09-18 Joseph Myers <joseph@codesourcery.com>
26879 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26880 (tst-writev-ENV): Remove.
26881 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26883 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26885 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26887 2012-09-17 Joseph Myers <joseph@codesourcery.com>
26889 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26891 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26893 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26894 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26895 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26898 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26901 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26902 * config.make.in (have-cpp-asm-debuginfo): Removed.
26903 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26904 * configure: Regenerated.
26906 2012-09-14 Joseph Myers <joseph@codesourcery.com>
26909 * stdio-common/printf_fp.c: Include <stdbool.h> and
26911 (___printf_fp): Determine rounding using get_rounding_mode and
26913 * stdio-common/tst-printf-round.c: New file.
26914 * stdio-common/Makefile (tests): Add tst-printf-round.
26915 (link-libm): New variable.
26916 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26918 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26921 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26922 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26924 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26927 2012-09-13 Joseph Myers <joseph@codesourcery.com>
26929 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26930 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26931 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26932 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26934 2012-09-12 Joseph Myers <joseph@codesourcery.com>
26937 * include/rounding-mode.h: New file.
26938 * sysdeps/generic/get-rounding-mode.h: Likewise.
26939 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26940 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26941 (MAX_VALUE): New macro.
26942 (MIN_VALUE): Likewise.
26943 (overflow_value): New function.
26944 (underflow_value): Likewise.
26945 (round_and_return): Use overflow_value and underflow_value to
26946 determine return values in overflow and underflow cases. Use
26947 round_away to determine rounding depending on rounding mode.
26948 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26949 determine return values in overflow and underflow cases.
26950 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26951 (struct test_results): New structure.
26952 (struct test): Use struct test_results to store expected results
26953 for all rounding modes.
26954 (TEST): Include expected results for all rounding modes.
26955 (test_in_one_mode): New function.
26956 (do_test): Use test_in_one_mode to compute and check results.
26957 Check results for all rounding modes.
26958 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26961 2012-12-09 Allan McRae <allan@archlinux.org>
26963 * sysdeps/i386/fpu/libm-test-ulps: Update
26965 2012-09-11 Joseph Myers <joseph@codesourcery.com>
26967 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26968 (_G_int32_t): Likewise.
26969 (_G_uint16_t): Likewise.
26970 (_G_uint32_t): Likewise.
26971 (_G_HAVE_BOOL): Likewise.
26972 (_G_HAVE_ATEXIT): Likewise.
26973 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26974 (_G_HAVE_IO_FILE_OPEN): Likewise.
26975 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26976 (_G_int32_t): Likewise.
26977 (_G_uint16_t): Likewise.
26978 (_G_uint32_t): Likewise.
26979 (_G_HAVE_BOOL): Likewise.
26980 (_G_HAVE_ATEXIT): Likewise.
26981 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26982 (_G_HAVE_IO_FILE_OPEN): Likewise.
26983 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26984 (_G_int32_t): Likewise.
26985 (_G_uint16_t): Likewise.
26986 (_G_uint32_t): Likewise.
26987 (_G_HAVE_BOOL): Likewise.
26988 (_G_HAVE_ATEXIT): Likewise.
26989 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26990 (_G_HAVE_IO_FILE_OPEN): Likewise.
26992 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26994 * csu/libc-tls.c: Update copyright years.
26996 2012-09-10 Joseph Myers <joseph@codesourcery.com>
26998 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26999 [!_G_USING_THUNKS]: Remove conditional code.
27000 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27001 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27003 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27004 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27005 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27006 (_G_VTABLE_LABEL_PREFIX): Likewise.
27007 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27008 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27009 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27010 (_G_VTABLE_LABEL_PREFIX): Likewise.
27011 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27012 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27013 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27014 (_G_VTABLE_LABEL_PREFIX): Likewise.
27015 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27017 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27019 * libio/Makefile: Include ../Makeconfig before tests.
27020 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27021 only if $(build-shared) is yes.
27023 * iconv/gconv_db.c: Update copyright years.
27025 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27027 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27028 unwind info if defined PIC. Fix special cases description.
27029 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27031 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27033 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27035 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27037 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27039 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27042 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27043 (LDLIBS-tst-chk4): This.
27044 (LDFLAGS-tst-chk5): Renamed to ...
27045 (LDLIBS-tst-chk5): This.
27046 (LDFLAGS-tst-chk6): Renamed to ...
27047 (LDLIBS-tst-chk6): This.
27048 (LDFLAGS-tst-lfschk4): Renamed to ...
27049 (LDLIBS-tst-lfschk4): This.
27050 (LDFLAGS-tst-lfschk5): Renamed to ...
27051 (LDLIBS-tst-lfschk5): This.
27052 (LDFLAGS-tst-lfschk6): Renamed to ...
27053 (LDLIBS-tst-lfschk6): This.
27055 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27056 on $(common-objpfx)soversions.mk.
27058 2012-09-07 Joseph Myers <joseph@codesourcery.com>
27061 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27064 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27066 * malloc/arena.c (arena_get_retry): New function that gets
27067 another arena for the caller to try its request on.
27068 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27069 current arena cannot fulfill the request.
27070 (__libc_memalign): Likewise.
27071 (__libc_memalign): Likewise.
27072 (__libc_pvalloc): Likewise.
27073 (__libc_calloc): Likewise.
27075 2012-09-05 John Tobey <john.tobey@gmail.com>
27078 * manual/arith.texi (Operations on Complex): Fix description
27079 of carg branch cut.
27081 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27084 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27088 * manual/memory.texi (Memory): Make order of menu items match
27091 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27093 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27094 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27095 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27097 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27099 * csu/libc-tls.c (static_dtv): Renamed to ...
27100 (_dl_static_dtv): This. Make it global.
27101 (_dl_initial_dtv): Removed.
27102 (__libc_setup_tls): Updated.
27103 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27104 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27107 2012-09-06 Petr Machata <pmachata@redhat.com>
27109 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27110 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27111 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27112 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27114 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27117 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27118 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27121 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27124 * Makeconfig (link-static-before-libc): Replace $(+prector)
27126 (link-static-after-libc): Replace $(+postctor) with
27128 (link-bounded): Replace $(+prector)/$(+postctor) with
27129 $(+prectorT)/$(+postctorT).
27130 (+prectorT): New macro.
27131 (+postctorT): Likewise.
27133 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27135 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27136 (round_str): Handle values above the maximum for IBM long double
27138 * stdlib/tst-strtod-round.c (tests): Regenerated.
27140 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27142 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27144 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27145 zarch_nohighgprs around the zarch optimized routines.
27146 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27147 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27148 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27151 2012-09-05 David S. Miller <davem@davemloft.net>
27153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27155 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27156 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27157 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27158 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27161 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27163 * malloc/arena.c: Fold copyright years.
27164 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27166 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27168 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27170 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27172 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27174 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27176 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27177 change internal state upon failure.
27179 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27181 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27182 * malloc/memusage.c (mmap): Likewise.
27183 (mmap64, mremap): Likewise. Adjust name in comment.
27185 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27187 * libio/fileops.c: Fix typos in comments.
27188 * libio/oldfileops.c: Likewise.
27189 * libio/wfileops.c: Likewise.
27191 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27194 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27195 (tst-malloc-usable-ENV): Set environment for test case.
27196 * malloc/hooks.c (malloc_check_get_size): New function to get
27198 * malloc/malloc.c (musable): Use malloc_check_get_size.
27199 * malloc/tst-malloc-usable.c: New test case.
27201 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27203 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27205 2012-09-05 Allan McRae <allan@archlinux.org>
27208 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27209 determine header location.
27210 * configure: Regenerated.
27212 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27214 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27216 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27217 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27219 (test): Regenerate.
27221 2012-09-04 David S. Miller <davem@davemloft.net>
27223 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27224 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27225 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27227 2012-09-04 Florian Weimer <fweimer@redhat.com>
27229 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27232 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27234 2012-09-04 Joseph Myers <joseph@codesourcery.com>
27237 * libio/iogetdelim.c: Include <limits.h>.
27238 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27239 + len + 1 would overflow.
27241 2012-09-03 Andreas Jaeger <aj@suse.de>
27243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27244 * sysdeps/i386/fpu/libm-test-ulps: Update.
27246 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27248 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27249 Add s_sinf-sse2, s_conf-sse2.
27251 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27252 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27253 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27254 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27256 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27257 for using routine as __sinf_ia32.
27258 Use macro for function declaration and weak_alias.
27259 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27260 for using routine as __cosf_ia32.
27261 Use macro for function declaration and weak_alias.
27263 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27264 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27266 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27267 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27270 * math/libm-test.inc (cos_test): Add more test cases.
27271 (sin_test): Likewise.
27272 (sincos_test): Likewise.
27274 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27276 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27277 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27279 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27281 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27284 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27285 first element of the GOT.
27286 (elf_machine_load_address): Return the difference between
27287 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27289 2012-09-01 Allan McRae <allan@archlinux.org>
27292 * configure.in (AWK): Require gawk version 3.0 or later.
27293 * configure: Regenerated.
27295 2012-09-01 Joseph Myers <joseph@codesourcery.com>
27297 * sysdeps/unix/sysv/linux/kernel-features.h
27298 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27299 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27300 [__NR_clock_getres]: Make code unconditional.
27301 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27302 (clock_getcpuclockid): Remove code left unreachable by removal of
27304 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27305 code unconditional.
27306 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27307 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27308 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27309 Make code unconditional.
27310 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27311 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27312 * sysdeps/unix/sysv/linux/clock_settime.c
27313 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27315 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27316 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27318 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27321 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27322 scripts/test-installation.pl.
27324 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27325 and $ld_so_version if it is set.
27327 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27330 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27331 failure if reading from procfs failed.
27332 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27334 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27336 * sysdeps/unix/sysv/linux/kernel-features.h
27337 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27338 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27339 Remove conditional code.
27340 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27341 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27342 Remove conditional code.
27343 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27344 * sysdeps/unix/sysv/linux/i386/fxstat.c
27345 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27346 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27347 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27348 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27350 * sysdeps/unix/sysv/linux/i386/lxstat.c
27351 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27352 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27353 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27354 Remove conditional code.
27355 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27356 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27357 Remove conditional code.
27358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27359 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27360 <kernel-features.h>.
27361 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27363 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27364 Remove conditional code.
27365 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27366 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27367 Remove conditional.
27369 2012-08-27 Mike Frysinger <vapier@gentoo.org>
27372 * NEWS: Add fixed bug number.
27374 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27377 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27378 underflowing exponent in case of negative sign.
27379 * stdlib/tst-strtod-round-data: Add more tests.
27380 * stdlib/tst-strtod-round.c (tests): Regenerated.
27383 * stdlib/strtod_l.c (NDIG): Remove.
27384 (HEXNDIG): Likewise.
27385 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27386 smallest representable value.
27387 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27388 lie within an exact representation of 1/2 ulp of the result.
27389 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27391 (TENS_P9_IDX): Define unconditionally.
27392 (TENS_P9_SIZE): Likewise.
27393 (TENS_P10_IDX): Likewise.
27394 (TENS_P10_SIZE): Likewise.
27395 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27396 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27397 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27398 entries for 10^2^13 and 10^2^14.
27399 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27400 (TENS_P13_IDX): Define.
27401 (TENS_P13_SIZE): Likewise.
27402 (TENS_P14_IDX): Likewise.
27403 (TENS_P14_SIZE): Likewise.
27404 (_fpioconst_pow10): Change array size to
27405 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27407 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27408 1024]: Add entries for 10^2^13 and 10^2^14.
27409 [LAST_POW10 > _LAST_POW10]: Remove #error.
27410 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27411 (_fpioconst_pow10): Change array size to
27412 FPIOCONST_POW10_ARRAY_SIZE.
27413 * stdlib/gen-fpioconst.c: New file.
27414 * stdlib/gen-tst-strtod-round.c: Likewise.
27415 * stdlib/tst-strtod-round-data: Likewise.
27416 * stdlib/tst-strtod-round.c: Likewise.
27417 * stdlib/Makefile (tests): Add tst-strtod-round.
27420 * stdlib/strtod_l.c: Include <stdint.h>.
27421 (NDEBUG): Do not define.
27422 (round_and_return): Change EXPONENT parameter to type intmax_t.
27423 Rearrange calculations to avoid internal overflow possibilities.
27424 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27425 Rearrange calculations to avoid internal overflow possibilities.
27426 Assert that number fits inside MPNSIZE limbs.
27427 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27428 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27429 calculations and add assertions to avoid internal overflow
27430 possibilities. Add casts to avoid signed/unsigned operations.
27431 * stdlib/tst-strtod-overflow.c: New file.
27432 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27434 2012-08-25 Marek Polacek <polacek@redhat.com>
27436 * time/time.h: Fix some typos in comments.
27438 2012-08-23 Roland McGrath <roland@hack.frob.com>
27440 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27441 * posix/tst-rfc3484-2.c: Likewise.
27442 * posix/tst-rfc3484-3.c: Likewise.
27444 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27446 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27447 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27449 2012-08-23 Joseph Myers <joseph@codesourcery.com>
27451 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27452 #include of fxstatat64.c.
27454 2012-08-22 Roland McGrath <roland@hack.frob.com>
27456 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27457 * shadow/getspent_r.c: Likewise.
27458 * shadow/getspnam.c: Likewise.
27459 * shadow/getspnam_r.c: Likewise.
27460 * gshadow/getsgent.c: Likewise.
27461 * gshadow/getsgent_r.c: Likewise.
27462 * gshadow/getsgnam.c: Likewise.
27463 * gshadow/getsgnam_r.c: Likewise.
27464 * inet/getnetbyad.c: Likewise.
27465 * inet/getnetbyad_r.c: Likewise.
27466 * inet/getnetbynm.c: Likewise.
27467 * inet/getnetbynm_r.c: Likewise.
27468 * inet/getnetent.c: Likewise.
27469 * inet/getnetent_r.c: Likewise.
27470 * inet/getproto.c: Likewise.
27471 * inet/getproto_r.c: Likewise.
27472 * inet/getprtent.c: Likewise.
27473 * inet/getprtent_r.c: Likewise.
27474 * inet/getprtname.c: Likewise.
27475 * inet/getprtname_r.c: Likewise.
27476 * inet/getrpcbyname.c: Likewise.
27477 * inet/getrpcbyname_r.c: Likewise.
27478 * inet/getrpcbynumber.c: Likewise.
27479 * inet/getrpcbynumber_r.c: Likewise.
27480 * inet/getrpcent.c: Likewise.
27481 * inet/getrpcent_r.c: Likewise.
27482 * inet/getaliasent.c: Likewise.
27483 * inet/getaliasent_r.c: Likewise.
27484 * inet/getaliasname.c: Likewise.
27485 * inet/getaliasname_r.c: Likewise.
27486 * nscd/getgrgid_r.c: Likewise.
27487 * nscd/getgrnam_r.c: Likewise.
27488 * nscd/gethstbyad_r.c: Likewise.
27489 * nscd/gethstbynm3_r.c: Likewise.
27490 * nscd/getpwnam_r.c: Likewise.
27491 * nscd/getpwuid_r.c: Likewise.
27492 * nscd/getsrvbynm_r.c: Likewise.
27493 * nscd/getsrvbypt_r.c: Likewise.
27494 * nscd/gai.c: Likewise.
27496 * configure.in (build_nscd): New substituted variable, set
27497 by --disable-build-nscd and defaults to $use_nscd.
27498 * configure: Regenerated.
27499 * config.make.in (build-nscd): New substituted variable.
27500 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27501 Change conditional to require [$(build-nscd) = yes] as well.
27502 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27505 * configure.in (use_nscd): New substituted variable, set by
27506 --disable-nscd. If enabled, define USE_NSCD.
27507 * configure: Regenerated.
27508 * config.h.in: Add USE_NSCD.
27509 * config.make.in (use-nscd): New substituted variable.
27510 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27511 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27512 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27513 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27514 (CFLAGS-getgrnam_r.c): Likewise.
27515 (CFLAGS-initgroups.c): Likewise.
27516 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27517 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27519 * inet/getnetgrent_r.c
27520 (nscd_setnetgrent): New function, broken out of ...
27521 (setnetgrent): ... here. Call it.
27522 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27523 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27524 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27525 * nscd/Makefile (routines, aux): Move definitions after include of
27526 Makeconfig. Conditionalize on [$(use-nscd) != no].
27527 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27528 Conditionalize on [USE_NSCD].
27529 (is_nscd, nscd_init_cb): Likewise.
27530 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27531 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27532 * nss/nss_db/db-init.c: Likewise.
27533 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27535 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27536 (make_request): Use it.
27537 (cache_valid_p): New function.
27538 (__check_pf): Use it.
27539 * NEWS: Add item for --disable-nscd.
27541 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27543 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27544 to support sed >= 4.2.1-20-ga9bf076.
27545 * configure: Regenerated.
27547 2012-08-22 Roland McGrath <roland@hack.frob.com>
27549 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27550 Conditionalize whole body on [IREL].
27552 2012-08-22 Jeff Law <law@redhat.com>
27555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27556 if the family is PF_UNSPEC.
27558 2012-08-22 Mike Frysinger <vapier@gentoo.org>
27560 * Makerules (lib-version): Rename from V.
27561 (install-lib-nosubdir): Change V to lib-version.
27563 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27566 * powerpc32/power6/wcschr.c: New file.
27567 * powerpc32/power6/wcscpy.c: New file.
27568 * powerpc32/power6/wcsrchr.c: New file.
27569 * powerpc64/power6/wcschr.c: New file.
27570 * powerpc64/power6/wcscpy.c: New file.
27571 * powerpc64/power6/wcsrchr.c: New file.
27573 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27575 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27576 (two_way_short_needle): Use it.
27577 * string/strstr.c (AVAILABLE1_USES_J): Define.
27578 * string/strcasestr.c: Likewise.
27580 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27582 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27585 * NEWS: Add an entry.
27586 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27587 define their defaults.
27588 (two_way_short_needle): Detect end-of-string on-the-fly.
27589 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27590 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27591 * string/bug-strcasestr1.c: New test.
27592 * string/Makefile: Run it.
27594 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27597 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27598 the first character.
27600 2012-08-21 Roland McGrath <roland@hack.frob.com>
27602 * csu/elf-init.c (__libc_csu_irel): Function removed.
27603 * csu/libc-start.c (apply_irel): New function.
27604 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27606 2012-08-21 Joseph Myers <joseph@codesourcery.com>
27608 * sysdeps/unix/sysv/linux/kernel-features.h
27609 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27610 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27611 <kernel-features.h>.
27612 [__NR_fadvise64_64]: Make code unconditional.
27613 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27614 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27615 !__NR_fadvise64_64)]: Likewise.
27616 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27617 !__NR_fadvise64_64))]: Likewise.
27618 [__NR_fadvise64]: Make code unconditional.
27619 [!__NR_fadvise64]: Remove conditional code.
27620 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27621 <kernel-features.h>.
27622 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27624 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27627 not include <kernel-features.h>.
27628 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27630 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27632 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27633 include <kernel-features.h>.
27634 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27636 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27639 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27641 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27642 slight instruction rearrangements per scrollpipe analysis.
27643 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27645 2012-08-20 Roland McGrath <roland@hack.frob.com>
27647 * manual/syslog.texi (syslog; vsyslog, closelog):
27648 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27649 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27651 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27652 DSOCAPS to match condition on defining it.
27654 2012-08-20 Joseph Myers <joseph@codesourcery.com>
27656 * sysdeps/unix/sysv/linux/kernel-features.h
27657 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27659 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27660 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27662 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27663 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27665 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27666 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27668 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27669 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27671 * sysdeps/unix/sysv/linux/kernel-features.h
27672 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27673 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27675 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27676 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27677 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27678 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27679 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27680 Make code unconditional.
27681 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27682 (__mmap64) [!__NR_mmap2]: Likewise.
27683 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27684 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27685 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27686 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27687 [__NR_mmap2]: Make code unconditional.
27688 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27689 (__mmap64) [!__NR_mmap2]: Likewise.
27691 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27693 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27695 2012-08-18 Andreas Jaeger <aj@suse.de>
27697 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27699 2012-08-18 Mike Frysinger <vapier@gentoo.org>
27701 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27702 * include/unistd.h (__have_sock_cloexec): Likewise.
27703 (__have_pipe2): Likewise.
27704 (__have_dup3): Likewise.
27706 2012-08-18 Mike Frysinger <vapier@gentoo.org>
27709 * include/unistd.h (__have_pipe2): Change define into an extern int.
27710 (__have_dup3): Likewise.
27711 * socket/have_sock_cloexec.c: Include fcntl.h.
27712 (__have_pipe2): New variable.
27713 (__have_dup3): Likewise.
27715 2012-08-17 Mike Frysinger <vapier@gentoo.org>
27717 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27719 2012-08-17 Marek Polacek <polacek@redhat.com>
27721 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27722 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27724 2012-08-17 Roland McGrath <roland@hack.frob.com>
27726 * configure.in: Add AC_SUBST for sysheaders.
27727 * configure: Regenerated.
27728 * config.make.in (sysheaders): New substituted variable.
27730 * sysdeps/unix/mkfifo.c: Moved ...
27731 * sysdeps/posix/mkfifo.c: ... here.
27732 * sysdeps/unix/mkfifoat.c: Moved ...
27733 * sysdeps/posix/mkfifoat.c: ... here.
27735 * sysdeps/unix/utime.c: Moved ...
27736 * sysdeps/posix/utime.c: ... here.
27738 * sysdeps/unix/time.c: Moved ...
27739 * sysdeps/posix/time.c: ... here.
27740 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27741 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27743 * sysdeps/unix/nice.c: Moved ...
27744 * sysdeps/posix/nice.c: ... here.
27746 * sysdeps/unix/alarm.c: Moved ...
27747 * sysdeps/posix/alarm.c: ... here.
27749 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27751 2012-08-17 Jeff Law <law@redhat.com>
27753 * intl/Makefile (codeset_mo): New variable.
27754 ($(codeset_mo)): New target.
27755 (tst-codeset.out): Depend on that. Remove explicit rule.
27756 (tst-gettext3.out, tst-gettext5.out): Likewise.
27757 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27758 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27759 * intl/tst-codeset.sh: Remove.
27760 * intl/tst-gettext3.sh: Likewise.
27761 * intl/tst-gettext5.sh: Likewise.
27763 2012-08-17 Roland McGrath <roland@hack.frob.com>
27765 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27766 * sysdeps/unix/syscalls.list: ... here.
27768 * sysdeps/posix/getaddrinfo.c
27769 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27770 (gaiconf_init, gaiconf_reload): Use them.
27771 [!_STATBUF_ST_NSEC]
27772 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27773 Define using time_t rather than struct timespec.
27775 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27776 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27778 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27780 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27781 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27784 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27785 __libc_cleanup_push argument.
27787 * bits/param.h: New file.
27788 * misc/sys/param.h: New file.
27789 * include/sys/param.h: New file.
27790 * misc/Makefile (headers): Add bits/param.h.
27791 * sysdeps/generic/sys/param.h: File removed.
27792 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27793 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27794 * sysdeps/mach/hurd/bits/param.h: New file.
27795 * sysdeps/mach/hurd/sys/param.h: File removed.
27797 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27800 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27802 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27803 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27806 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27807 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27808 rather than -D_IO_MTSAFE_IO conditionally.
27809 * stdio-common/Makefile (CPPFLAGS): Likewise.
27810 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27811 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27812 Use $(libio-mtsafe).
27813 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27814 of -D_IO_MTSAFE_IO.
27815 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27816 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27817 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27818 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27819 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27820 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27821 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27822 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27823 (CFLAGS-fread_u_chk.c): Likewise.
27824 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27825 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27826 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27827 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27828 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27829 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27830 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27831 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27832 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27834 * libio/Makefile: Test [$(libc-reentrant) = yes]
27835 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27838 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27839 * sysdeps/pthread/configure: File removed.
27840 * sysdeps/pthread/Makeconfig: New file.
27841 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27842 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27844 2012-08-16 Gary Benson <gbenson@redhat.com>
27846 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27847 unmapping the first object in a namespace.
27849 2012-08-16 Roland McGrath <roland@hack.frob.com>
27851 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27852 (__internal_setnetgrent): ... this. Add internal_function to
27853 definition. Add libc_hidden_def.
27854 (setnetgrent): Update caller.
27855 (internal_endnetgrent): Renamed to ...
27856 (__internal_endnetgrent): ... this. Add internal_function to
27857 definition. Add libc_hidden_def.
27858 (endnetgrent): Update caller.
27859 (internal_getnetgrent_r): Renamed to ...
27860 (__internal_getnetgrent_r): ... this. Add internal_function to
27861 definition. Add libc_hidden_def.
27862 (__getnetgrent_r): Update caller.
27863 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27865 2012-08-16 Joseph Myers <joseph@codesourcery.com>
27867 * stdlib/longlong.h: Update from GCC.
27869 2012-08-16 Roland McGrath <roland@hack.frob.com>
27871 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27872 on _QL, which is set by umul_ppmm but never used.
27873 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27874 variables, which are set by GMP macros but never used.
27875 * stdio-common/_itowa.c (_itowa): Likewise.
27876 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27877 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27879 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27881 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27882 struct La_sh_regs is not constant.
27883 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27884 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27885 and struct La_sparc64_regs are not constant.
27887 2012-08-16 Joseph Myers <joseph@codesourcery.com>
27889 * sysdeps/unix/sysv/linux/kernel-features.h
27890 (__ASSUME_POSIX_TIMERS): Remove.
27891 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27892 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27893 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27894 Make code unconditional.
27895 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27896 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27897 Make code unconditional.
27898 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27899 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27900 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27901 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27902 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27903 Make code unconditional.
27904 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27905 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27906 (__libc_missing_posix_timers): Remove.
27908 2012-08-15 Roland McGrath <roland@hack.frob.com>
27910 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27911 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27913 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27915 * elf/dl-sym.c: Include <stdlib.h>.
27917 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27918 constants, which avoids warnings in 32-bit builds.
27920 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27921 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27923 * misc/lseek.c: File moved to ...
27924 * io/lseek.c: ... here.
27926 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27928 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27929 shifting LEN more than 31 bits at once.
27931 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27934 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27935 segmentation fault for a case of two empty input strings.
27936 * string/test-strncasecmp.c (check1): Renamed to...
27937 (bz12205): ...this.
27938 (bz14195): Add new testcase for two empty input strings and N > 0.
27939 (test_main): Call new testcase, adapt for renamed function.
27941 2012-08-15 Andreas Jaeger <aj@suse.de>
27944 * crypt/md5test2.c: New test, based on test supplied by Serge
27945 Belyshev <belyshev@depni.sinp.msu.ru>.
27946 * crypt/Makefile (xtests): Add md5test-giant..
27947 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27949 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27952 * crypt/md5.c (md5_process_block): Don't assume the buffer
27953 length is less than 2**32.
27954 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27955 length is less than 2**64.
27957 2012-08-15 Roland McGrath <roland@hack.frob.com>
27959 * string/str-two-way.h: Include <sys/param.h>.
27960 (MAX): Macro removed.
27962 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27963 Move #define and #undef of memmove to just before and after
27964 including <string.h>.
27966 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27967 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27968 and after including <string.h>. Move declarations of
27969 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27970 to before #include "string/memmove.c".
27972 * include/dirent.h: Declare __getdirentries.
27974 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27975 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27977 2012-08-14 Mike Frysinger <vapier@gentoo.org>
27979 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27980 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27981 * sysdeps/i386/configure: Regenerated.
27982 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27983 STABS_CURRENT_FILE, and STABS_FUN.
27984 (END): Remove call to STABS_FUN_END.
27985 (STABS_CURRENT_FILE1): Delete.
27986 (STABS_CURRENT_FILE): Likewise.
27987 (STABS_FUN): Likewise.
27988 (STABS_FUN_END): Likewise.
27989 (STABS_FUN2): Likewise.
27990 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27991 * sysdeps/x86_64/configure: Regenerated.
27993 2012-08-14 Roland McGrath <roland@hack.frob.com>
27995 * elf/dl-open.c: Include <atomic.h>.
27996 * elf/dl-lookup.c: Likewise.
27998 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28000 * sysdeps/unix/sysv/linux/kernel-features.h
28001 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28002 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28004 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28006 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28007 condition on __ASSUME_CLONE_THREAD_FLAGS.
28009 2012-08-14 Andreas Jaeger <aj@suse.de>
28011 * sysdeps/i386/fpu/libm-test-ulps: Update.
28013 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28015 * include/atomic.h (atomic_exchange_and_add): Split into ...
28016 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28019 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28023 2012-08-13 Jeff Law <law@redhat.com>
28025 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28026 null byte in the output string.
28028 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28030 * sysdeps/unix/sysv/linux/kernel-features.h
28031 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28032 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28033 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28034 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28035 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28036 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28037 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28039 2012-08-09 Jeff Law <law@redhat.com>
28042 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28043 When avoid_arena is set, don't retry in the that arena. Pick the
28044 next one, whatever it might be.
28045 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28046 (arena_lock): Pass in new parameter to arena_get2.
28047 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28049 (__libc_malloc): Unify retrying after main arena failure with
28050 __libc_memalign version.
28051 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28053 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28056 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28057 to __redirect_strstr.
28058 (__strstr_sse42): Use typeof __redirect_strstr.
28059 (__strstr_ia32): Likewise.
28060 (__libc_strstr): New prototype.
28061 (strstr): Renamed to ...
28062 (__libc_strstr): This.
28063 (strstr): New strong alias of __libc_strstr.
28064 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28065 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28068 (__libc_time): New prototype.
28069 (time_ifunc): Replace time with __libc_time.
28070 (time): New strong alias and hidden definition of __libc_time.
28071 (__GI_time): Remove strong alias.
28072 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28073 Include <stddef.h>.
28074 (memmove): Redefined to __redirect_memmove.
28075 (__memmove_sse2): Use typeof __redirect_memmove.
28076 (__memmove_ssse3): Likewise.
28077 (__memmove_ssse3_back): Likewise.
28078 (__libc_memmove): New prototype.
28079 (memmove): Renamed to ...
28080 (__libc_memmove): This.
28081 (memmove): New strong alias of __libc_memmove.
28083 2012-08-08 Mark Salter <msalter@redhat.com>
28086 (R_MN10300_TLS_GD): Define.
28087 (R_MN10300_TLS_LD): Likewise.
28088 (R_MN10300_TLS_LDO): Likewise.
28089 (R_MN10300_TLS_GOTIE): Likewise.
28090 (R_MN10300_TLS_IE): Likewise.
28091 (R_MN10300_TLS_LE): Likewise.
28092 (R_MN10300_TLS_DTPMOD): Likewise.
28093 (R_MN10300_TLS_DTPOFF): Likewise.
28094 (R_MN10300_TLS_TPOFF): Likewise.
28095 (R_MN10300_SYM_DIFF): Likewise.
28096 (R_MN10300_ALIGN): Likewise.
28097 (R_MN10300_NUM): Update.
28099 2012-08-08 Joseph Myers <joseph@codesourcery.com>
28101 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28104 2012-08-08 Roland McGrath <roland@hack.frob.com>
28106 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28108 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28109 sysdeps/unix -> sysdeps/posix move.
28110 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28112 2012-08-07 Allan McRae <allan@archlinux.org>
28115 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28116 (SUNOS_CPP): Likewise.
28117 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28119 (open_input): Call CPP using execvp.
28121 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28123 * sysdeps/unix/sysv/linux/kernel-features.h
28124 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28125 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28126 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28127 (__ASSUME_WAITID_SYSCALL): Likewise.
28128 * sysdeps/unix/sysv/linux/dl-execstack.c
28129 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28130 code unconditional.
28131 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28133 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28134 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28135 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28137 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28139 [__ASSUME_WAITID_SYSCALL]: Likewise.
28140 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28142 2012-08-07 Roland McGrath <roland@hack.frob.com>
28144 * sysdeps/unix/closedir.c: Renamed to ...
28145 * sysdeps/posix/closedir.c: ... here.
28146 * sysdeps/unix/dirfd.c: Renamed to ...
28147 * sysdeps/posix/dirfd.c: ... here.
28148 * sysdeps/unix/dirstream.h: Renamed to ...
28149 * sysdeps/posix/dirstream.h: ... here.
28150 * sysdeps/unix/fdopendir.c: Renamed to ...
28151 * sysdeps/posix/fdopendir.c: ... here.
28152 * sysdeps/unix/opendir.c: Renamed to ...
28153 * sysdeps/posix/opendir.c: ... here.
28154 * sysdeps/unix/readdir.c: Renamed to ...
28155 * sysdeps/posix/readdir.c: ... here.
28156 * sysdeps/unix/readdir_r.c: Renamed to ...
28157 * sysdeps/posix/readdir_r.c: ... here.
28158 * sysdeps/unix/rewinddir.c: Renamed to ...
28159 * sysdeps/posix/rewinddir.c: ... here.
28160 * sysdeps/unix/seekdir.c: Renamed to ...
28161 * sysdeps/posix/seekdir.c: ... here.
28162 * sysdeps/unix/telldir.c: Renamed to ...
28163 * sysdeps/posix/telldir.c: ... here.
28164 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28165 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28166 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28167 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28169 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28170 * bits/fcntl.h: ... here.
28172 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28174 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28175 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28176 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28177 (struct flock): Move l_start, l_len to the beginning.
28178 Use __pid_t for l_pid.
28179 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28180 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28181 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28182 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28183 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28184 [__USE_LARGEFILE64] (struct flock64): New type.
28185 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28187 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28188 * bits/dirent.h: ... here.
28190 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28191 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28193 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28195 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28196 Change from 2.6.0 to 2.6.16.
28197 * sysdeps/unix/sysv/linux/configure: Regenerated.
28198 * sysdeps/unix/sysv/linux/kernel-features.h
28199 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28200 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28202 (__ASSUME_UTIMES): Likewise.
28203 (__ASSUME_CLONE_STOPPED): Remove.
28204 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28205 architectures, not kernel version.
28206 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28207 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28208 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28209 (__ASSUME_WAITID_SYSCALL): Likewise.
28210 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28211 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28212 * README: State 2.6.16 as minimum Linux kernel version. Do not
28213 refer to older versions.
28215 2012-08-06 Roland McGrath <roland@hack.frob.com>
28217 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28218 Define alphasort64 as an alias.
28219 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28220 Define versionsort64 as an alias.
28221 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28222 Define scandir64 as an alias.
28223 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28224 Define scandirat64 as an alias.
28225 * dirent/alphasort64.c (alphasort64):
28226 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28227 * dirent/versionsort64.c: Likewise.
28228 * dirent/scandir64.c: Likewise.
28229 * dirent/scandirat64.c: Likewise.
28230 * sysdeps/wordsize-64/alphasort.c: File removed.
28231 * sysdeps/wordsize-64/alphasort64.c: File removed.
28232 * sysdeps/wordsize-64/scandir.c: File removed.
28233 * sysdeps/wordsize-64/scandir64.c: File removed.
28234 * sysdeps/wordsize-64/scandirat.c: File removed.
28235 * sysdeps/wordsize-64/scandirat64.c: File removed.
28236 * sysdeps/wordsize-64/versionsort.c: File removed.
28237 * sysdeps/wordsize-64/versionsort64.c: File removed.
28238 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28239 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28240 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28241 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28242 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28243 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28244 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28245 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28247 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28248 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28249 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28250 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28251 [defined __arch64__ || defined __sparcv9]
28252 (__INO_T_MATCHES_INO64_T): New macro.
28253 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28254 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28255 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28256 * sysdeps/unix/sysv/linux/bits/dirent.h
28257 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28258 (_DIRENT_MATCHES_DIRENT64): New macro.
28260 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28261 Define lockf64 as an alias.
28262 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28263 Define fseeko64 as an alias.
28264 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28265 Define ftello64 as an alias.
28266 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28267 Define _IO_fgetpos64 and fgetpos64 as aliases.
28268 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28269 Define _IO_fsetpos64 and fsetpos64 as aliases.
28270 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28271 Conditionalize body on this.
28272 * libio/fseeko64.c: Likewise.
28273 * libio/ftello64.c: Likewise.
28274 * libio/iofgetpos64.c: Likewise.
28275 * libio/iofsetpos64.c: Likewise.
28276 * sysdeps/wordsize-64/lockf.c: File removed.
28277 * sysdeps/wordsize-64/lockf64.c: File removed.
28278 * sysdeps/wordsize-64/fseeko.c: File removed.
28279 * sysdeps/wordsize-64/fseeko64.c: File removed.
28280 * sysdeps/wordsize-64/ftello.c: File removed.
28281 * sysdeps/wordsize-64/ftello64.c: File removed.
28282 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28283 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28284 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28285 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28286 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28287 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28288 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28289 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28290 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28291 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28292 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28293 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28294 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28295 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28297 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28298 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28299 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28300 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28301 [defined __arch64__ || defined __sparcv9]
28302 (__OFF_T_MATCHES_OFF64_T): New macro.
28303 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28304 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28305 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28306 (__OFF_T_MATCHES_OFF64_T): New macro.
28308 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28310 * stdlib/secure-getenv.c (__secure_getenv): Replace
28311 GLIBC_2_16 with GLIBC_2_17.
28313 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28315 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28316 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28318 2012-08-03 David S. Miller <davem@davemloft.net>
28320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28322 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28324 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28326 (__ASSUME_CORRECT_SI_PID): Likewise.
28327 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28328 (__ASSUME_TMPFS_NAME): Likewise.
28329 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28330 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28331 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28332 (HAVE_AUX_SECURE): Make definition unconditional.
28333 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28334 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28336 2012-08-03 Roland McGrath <roland@hack.frob.com>
28338 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28339 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28340 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28341 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28342 __eloop_threshold instead of SYMLOOP_MAX.
28344 * sysdeps/generic/eloop-threshold.h: New file.
28345 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28347 * elf/chroot_canon.c (chroot_canon): Likewise.
28349 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28352 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28353 Change to 2.6.0 everywhere.
28354 * sysdeps/unix/sysv/linux/configure: Regenerated.
28355 * sysdeps/unix/sysv/linux/kernel-features.h
28356 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28357 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28359 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28360 (__ASSUME_FUTEX_REQUEUE): Remove.
28361 (__ASSUME_STATFS64): Define unconditionally.
28362 (__ASSUME_AT_SECURE): Likewise.
28363 (__ASSUME_CORRECT_SI_PID): Likewise.
28364 (__ASSUME_TGKILL): Define without depending on kernel version for
28366 (__ASSUME_UTIMES): Likewise.
28367 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28369 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28370 (__ASSUME_TMPFS_NAME): Likewise.
28371 * README: Update reference to Linux kernel versions.
28373 2012-08-02 Marek Polacek <polacek@redhat.com>
28376 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28377 libc_cv_asm_type_prefix with %.
28378 * configure: Regenerated.
28379 * include/libc-symbols.h: Remove comment about
28380 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28381 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28382 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28383 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28384 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28385 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28386 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28387 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28388 * elf/tst-unique2mod1.c: Likewise.
28389 * elf/tst-unique1mod2.c: Likewise.
28390 * elf/tst-unique1mod1.c: Likewise.
28391 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28392 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28393 Replace ASM_TYPE_DIRECTIVE with .type.
28394 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28395 * sysdeps/i386/sysdep.h: Likewise.
28396 * sysdeps/x86_64/sysdep.h: Likewise.
28397 * sysdeps/sh/sysdep.h: Likewise.
28398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28399 Do not define ASM_TYPE_DIRECTIVE.
28400 * sysdeps/powerpc/sysdep.h: Likewise.
28401 * sysdeps/powerpc/powerpc32/sysdep.h:
28402 Replace ASM_TYPE_DIRECTIVE with .type.
28403 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28404 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28405 * sysdeps/i386/fpu/e_powf.S: Likewise.
28406 * sysdeps/i386/fpu/e_expl.S: Likewise.
28407 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28408 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28409 * sysdeps/i386/fpu/e_pow.S: Likewise.
28410 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28411 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28412 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28413 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28414 * sysdeps/i386/fpu/e_log2.S: Likewise.
28415 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28416 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28417 * sysdeps/i386/fpu/e_powl.S: Likewise.
28418 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28419 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28420 * sysdeps/i386/fpu/e_logl.S: Likewise.
28421 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28422 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28423 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28424 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28425 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28426 * sysdeps/i386/fpu/e_log.S: Likewise.
28427 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28428 * sysdeps/i386/fpu/e_logf.S: Likewise.
28429 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28430 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28431 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28432 * sysdeps/i386/fpu/e_log10.S: Likewise.
28433 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28434 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28435 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28436 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28437 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28438 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28439 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28440 * sysdeps/i386/i686/strtok.S: Likewise.
28441 * sysdeps/i386/i386-mcount.S: Likewise.
28442 * sysdeps/i386/strtok.S: Likewise.
28443 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28444 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28445 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28446 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28447 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28448 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28449 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28450 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28451 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28452 * sysdeps/x86_64/_mcount.S: Likewise.
28453 * sysdeps/x86_64/strtok.S: Likewise.
28454 * sysdeps/sh/_mcount.S: Likewise.
28456 2012-08-01 Roland McGrath <roland@hack.frob.com>
28458 * libio/iofopen.c: Include <fcntl.h>.
28459 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28460 (_IO_fopen64, fopen64): Define as aliases.
28461 * libio/iofopen64.c: Include <fcntl.h>.
28462 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28463 Conditionalize body on this.
28464 * sysdeps/wordsize-64/iofopen.c: File removed.
28465 * sysdeps/wordsize-64/iofopen64.c: File removed.
28467 2012-08-01 Marek Polacek <polacek@redhat.com>
28469 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28470 Use dlfcn directly instead of a variable.
28471 (binfmt-subdir): Do not define.
28474 2012-08-01 Joseph Myers <joseph@codesourcery.com>
28476 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28477 Remove all definitions.
28478 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28479 <kernel-features.h>.
28480 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28481 (miss_F_GETOWN_EX): Remove all definitions.
28482 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28484 [!__ASSUME_FCNTL64]: Remove conditional code.
28485 [__ASSUME_FCNTL64]: Make code unconditional.
28486 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28487 <kernel-features.h>.
28488 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28489 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28490 (lockf64) [__NR_fcntl64]: Make code unconditional.
28491 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28493 * sysdeps/unix/sysv/linux/kernel-features.h
28494 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28495 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28496 Make code unconditional.
28497 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28498 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28500 [__NR_vfork]: Make code unconditional.
28501 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28502 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28504 [__NR_vfork]: Make code unconditional.
28505 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28506 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28508 2012-08-01 Roland McGrath <roland@hack.frob.com>
28510 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28511 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28513 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28514 Define mkstemp64 as an alias.
28515 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28516 Define mkstemps64 as an alias.
28517 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28518 Define mkostemp64 as an alias.
28519 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28520 Define mkostemps64 as an alias.
28521 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28522 Conditionalize body on this.
28523 * misc/mkostemp64.c: Likewise.
28524 * misc/mkostemps64.c: Likewise.
28525 * misc/mkstemps64.c: Likewise.
28526 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28527 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28528 * sysdeps/wordsize-64/mkostemp.c: File removed.
28529 * sysdeps/wordsize-64/mkstemp.c: File removed.
28530 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28531 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28532 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28533 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28536 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28537 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28538 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28539 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28541 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28542 compat_symbol macros from <shlib-compat.h> rather than the underlying
28543 default_symbol_version and symbol_version macros, so that DEFAULT
28544 lines in shlib-versions are respected.
28545 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28547 2012-08-01 Florian Weimer <fweimer@redhat.com>
28549 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28550 Declare with warn_unused_result.
28551 (setgid, setregid, setegid, setresgid): Likewise.
28552 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28554 * WUR-REPORT: Remove set*id functions.
28556 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28558 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28560 2012-07-31 Roland McGrath <roland@hack.frob.com>
28563 * include/sys/socket.h (__libc_accept, __libc_accept4):
28564 Add attribute_hidden.
28565 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28567 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28569 * inet/getnetgrent_r.c (setup): Likewise.
28571 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28573 2012-07-31 David S. Miller <davem@davemloft.net>
28575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28577 2012-07-31 Joseph Myers <joseph@codesourcery.com>
28580 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28581 value between 1.0 and 2.0 and smaller part has absolute value less
28583 * math/s_clog10.c (__clog10): Likewise.
28584 * math/s_clog10f.c (__clog10f): Likewise.
28585 * math/s_clog10l.c (__clog10l): Likewise.
28586 * math/s_clogf.c (__clogf): Likewise.
28587 * math/s_clogl.c (__clogl): Likewise.
28588 * math/libm-test.inc (clog_test): Add more tests.
28589 (clog10_test): Likewise.
28590 * sysdeps/i386/fpu/libm-test-ulps: Update.
28591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28593 2012-07-31 Florian Weimer <fweimer@redhat.com>
28595 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28596 Exit with zero in case no suitable GID is found, and write a
28597 message to standard error.
28599 2012-07-30 Roland McGrath <roland@hack.frob.com>
28601 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28603 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28604 (MAXPATHLEN): Removed.
28605 (NOGROUP, NODEV): New macros.
28606 (setbit, clrbit, isset, isclr): New macros.
28607 (howmany, roundup, powerof2): New macros.
28608 (DEV_BSIZE): New macro.
28610 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28611 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28613 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28614 definition on [!__NO_LONG_DOUBLE_MATH].
28616 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28617 PTR_MANGLE and PTR_DEMANGLE.
28619 * socket/accept4.c (accept4): Rename to __libc_accept4.
28620 Define accept4 as a weak alias.
28622 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28623 on [_DIRENT_HAVE_D_TYPE].
28624 * io/ftw.c (ftw_dir): Likewise.
28626 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28628 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28630 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28631 Use the BSD numbers rather than the arbitrary ones we had.
28632 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28633 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28634 (SIGXCPU, SIGXFSZ): New macros.
28637 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28638 initializer on [_LIBC_REENTRANT].
28640 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28641 definitions inside [_POSIX_MAPPED_FILES].
28643 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28645 * dirent/opendir.c: Include <fcntl.h>.
28647 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28648 (__libc_getspecific): Likewise.
28649 (__libc_key_create): Likewise.
28651 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28652 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28653 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28654 (tmpfile64): Define as alias.
28655 * sysdeps/wordsize-64/tmpfile.c: File removed.
28656 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28657 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28658 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28660 * stdio-common/vfscanf.c: Include <stdbool.h>.
28661 * nss/makedb.c: Likewise.
28662 * stdio-common/_i18n_number.h: Likewise.
28663 * argp/argp-help.c: Likewise.
28664 * posix/wordexp.c: Likewise.
28665 * sysdeps/posix/spawni.c: Likewise.
28666 * nss/nss_files/files-initgroups.c: Likewise.
28667 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28668 * nss/nss_files/files-initgroups.c: Likewise.
28669 * nss/nss_db/db-netgrp.c: Likewise.
28670 * nss/nss_db/db-initgroups.c: Likewise.
28671 * io/fchmodat.c: Include <sys/stat.h>.
28673 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28674 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28676 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28679 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28680 Add multiple inclusion protection.
28682 2012-07-27 David S. Miller <davem@davemloft.net>
28684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28686 2012-07-27 Gary Benson <gbenson@redhat.com>
28689 * elf/rtld.c: Include <stap-probe.h>.
28690 (dl_main): Added static probes "init_start" and "init_complete".
28691 * elf/dl-load.c: Include <stap-probe.h>.
28692 (lose): Take new parameter "nsid".
28693 Added static probe "map_failed".
28694 (_dl_map_object_from_fd): Pass namespace id to lose.
28695 Added static probe "map_start".
28696 (open_verify): Pass namespace id to lose.
28697 * elf/dl-open.c: Include <stap-probe.h>.
28698 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28699 and "reloc_complete".
28700 * elf/dl-close.c: Include <stap-probe.h>.
28701 (_dl_close_worker): Added static probes "unmap_start" and
28703 * elf/rtld-debugger-interface.txt: New file documenting the above.
28705 2012-07-26 Roland McGrath <roland@hack.frob.com>
28707 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28708 rather than a string variable.
28709 * sunrpc/rpc_main.c (h_output): Likewise.
28710 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28712 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28714 * inet/check_native.c: New file.
28716 2012-07-26 Joseph Myers <joseph@codesourcery.com>
28719 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28720 if larger part has absolute value 1.0.
28721 * math/s_clog10.c (__clog10): Likewise.
28722 * math/s_clog10f.c (__clog10f): Likewise.
28723 * math/s_clog10l.c (__clog10l): Likewise.
28724 * math/s_clogf.c (__clogf): Likewise.
28725 * math/s_clogl.c (__clogl): Likewise.
28726 * math/libm-test.inc (clog_test): Add more tests.
28727 (clog10_test): Likewise.
28728 * sysdeps/i386/fpu/libm-test-ulps: Update.
28729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28731 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28732 (pltexit): Likewise.
28733 (La_regs): Likewise.
28734 (La_retval): Likewise.
28735 (int_retval): Likewise.
28736 Update #error for removed macros to refer only to definitions in
28738 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28740 (pltexit): Likewise.
28741 (La_regs): Likewise.
28742 (La_retval): Likewise.
28743 (int_retval): Likewise.
28744 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28746 (pltexit): Likewise.
28747 (La_regs): Likewise.
28748 (La_retval): Likewise.
28749 (int_retval): Likewise.
28750 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28752 (pltexit): Likewise.
28753 (La_regs): Likewise.
28754 (La_retval): Likewise.
28755 (int_retval): Likewise.
28756 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28758 (pltexit): Likewise.
28759 (La_regs): Likewise.
28760 (La_retval): Likewise.
28761 (int_retval): Likewise.
28762 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28764 (pltexit): Likewise.
28765 (La_regs): Likewise.
28766 (La_retval): Likewise.
28767 (int_retval): Likewise.
28768 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28770 (pltexit): Likewise.
28771 (La_regs): Likewise.
28772 (La_retval): Likewise.
28773 (int_retval): Likewise.
28774 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28775 macro definitions in tst-audit.h.
28776 * sysdeps/i386/tst-audit.h: New file.
28777 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28778 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28779 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28780 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28781 * sysdeps/sh/tst-audit.h: Likewise.
28782 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28783 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28784 * sysdeps/x86_64/tst-audit.h: Likewise.
28786 2012-07-26 Andreas Jaeger <aj@suse.de>
28788 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28791 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28792 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28793 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28795 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28796 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28797 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28799 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28802 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28804 (si_call_addr, si_syscall, si_arch): Define new macro.
28805 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28807 (si_call_addr, si_syscall, si_arch): Define new marcro.
28808 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28810 (si_call_addr, si_syscall, si_arch): Define new macro.
28811 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28813 (si_call_addr, si_syscall, si_arch): Define new macro.
28815 2012-07-25 Joseph Myers <joseph@codesourcery.com>
28818 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28819 Change to 2.4.21 where previously 2.4.1.
28820 * sysdeps/unix/sysv/linux/configure: Regenerated.
28821 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28822 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28823 Linux kernel version.
28824 (__ASSUME_STD_AUXV): Remove.
28825 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28827 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28828 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28829 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28830 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28831 (__ASSUME_NETLINK_SUPPORT): Likewise.
28832 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28833 (__no_netlink_support): Remove conditional definition.
28834 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28836 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28837 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28838 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28839 (if_nameindex_ioctl): Remove.
28840 (if_nameindex_netlink): Do not handle __no_netlink_support.
28841 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28843 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28844 Remove conditional code.
28845 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28847 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28849 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28850 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28851 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28853 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28854 [!__ASSUME_STD_AUXV]: Remove conditional code.
28855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28856 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28857 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28859 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28860 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28862 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28864 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28865 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28867 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28869 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28872 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28875 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28876 code unconditional.
28877 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28879 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28881 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28884 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28886 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28889 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28890 code unconditional.
28891 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28893 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28895 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28898 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28899 code unconditional.
28900 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28902 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28904 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28907 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28909 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28910 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28911 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28912 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28913 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28914 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28915 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28916 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28917 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28918 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28919 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28920 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28921 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28922 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28923 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28924 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28925 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28926 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28927 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28928 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28929 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28930 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28931 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28933 2012-07-25 Florian Weimer <fweimer@redhat.com>
28935 * Versions.def: Add GLIBC_2.17.
28936 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28937 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28938 Introduce __libc_secure_getenv.
28939 * stdlib/Versions (2.17): Add secure_getenv
28940 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28941 * stdlib/secure-getenv.c: Rename __secure_getenv to
28942 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28943 symbol __secure_getenv for GLIBC_2.0.
28944 * stdlib/tst-secure-getenv.c: New.
28945 * stdlib/Makefile (tests): Add testcase.
28946 * manual/startup.texi (Environment Access): Document
28948 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28949 __libc_secure_getenv.
28950 * inet/ruserpass.c (ruserpass): Likewise.
28951 * malloc/mtrace.c (mtrace): Likewise.
28952 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
28953 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28954 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28955 * sysdeps/posix/tempname.c: Likewise. Evaluate
28956 HAVE_SECURE_GETENV.
28957 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
28958 __secure_getenv to __libc_secure_getenv.
28959 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
28960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28966 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28972 2012-07-25 Joseph Myers <joseph@codesourcery.com>
28974 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28975 (struct La_i86_retval): Likewise.
28976 (struct La_x86_64_regs): Likewise.
28977 (struct La_x86_64_retval): Likewise.
28978 (struct La_x32_regs): Likewise.
28979 (struct La_x32_retval): Likewise.
28980 (struct La_ppc32_regs): Likewise.
28981 (struct La_ppc32_retval): Likewise.
28982 (struct La_ppc64_regs): Likewise.
28983 (struct La_ppc64_retval): Likewise.
28984 (struct La_sh_regs): Likewise.
28985 (struct La_sh_retval): Likewise.
28986 (struct La_s390_32_regs): Likewise.
28987 (struct La_s390_32_retval): Likewise.
28988 (struct La_s390_64_regs): Likewise.
28989 (struct La_s390_64_retval): Likewise.
28990 (struct La_sparc32_regs): Likewise.
28991 (struct La_sparc32_retval): Likewise.
28992 (struct La_sparc64_regs): Likewise.
28993 (struct La_sparc64_retval): Likewise.
28994 (struct audit_ifaces): Remove architecture-specific pltenter and
28996 * sysdeps/i386/ldsodefs.h: New file.
28997 * sysdeps/powerpc/ldsodefs.h: Likewise.
28998 * sysdeps/s390/ldsodefs.h: Likewise.
28999 * sysdeps/sh/ldsodefs.h: Likewise.
29000 * sysdeps/sparc/ldsodefs.h: Likewise.
29001 * sysdeps/x86_64/ldsodefs.h: Likewise.
29003 2012-07-25 Marek Polacek <polacek@redhat.com>
29006 * math/libm-test.inc (yn_test): Add another test.
29007 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29008 to ERANGE when the result is +-Inf.
29009 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29010 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29011 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29012 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29014 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29016 * conform/data/time.h-data (NULL): Use macro-constant. Require
29018 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29020 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29022 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29024 * configure.in <sysdeps resolving>: Correct printing
29026 * configure: Regenerate.
29028 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29030 * math/w_ilogb.c: Include <limits.h>.
29031 * math/w_ilogbl.c: Likewise.
29033 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29035 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29036 va_copy. Document allowing for unavailable va_copy only as
29037 pre-C99 compatibility.
29038 * manual/string.texi (Copying and Concatenation): Use va_copy
29039 instead of __va_copy in concat example.
29041 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29043 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29044 (__sendto): Use create_address_port. Initialize APORT and deallocate
29047 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29048 with O_NOLINK passed to __file_name_lookup.
29050 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29051 with O_NOLINK passed to __file_name_lookup.
29053 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29054 negative N or less than NGIDS.
29056 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29057 type to string_t. Set ERANGE as errno and return it if NAME is not big
29058 enough. Use memcpy instead of strncpy.
29060 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29062 * elf/Makefile (check-data): Remove.
29063 (localplt.data): New vpath directive.
29064 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29065 instead of $(check-data).
29066 * scripts/data/localplt-generic.data: Move to ...
29067 * sysdeps/generic/localplt.data: ... here.
29068 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29069 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29070 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29073 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29076 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29079 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29082 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29085 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29089 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29091 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29092 PPC32 and PPC64 files.
29093 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29094 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29096 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29098 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29099 __makecontext_ret to ...
29100 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29101 ... here and call exit if uc_link is NULL. New file.
29102 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29103 __makecontext_ret.S.
29104 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29105 __makecontext_ret to ...
29106 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29107 ... here and call exit if uc_link is NULL. New file.
29108 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29109 __makecontext_ret.S.
29111 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29113 * elf/elf.h (R_390_IRELATIVE): New definition.
29114 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29115 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29116 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29117 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29118 (elf_machine_lazy_rel): Likewise.
29119 * sysdeps/s390/dl-irel.h: New file.
29120 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29121 * sysdeps/s390/s390-64/memset.S: New asm code.
29122 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29123 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29124 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29125 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29126 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29127 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29128 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29129 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29130 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29131 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29132 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29133 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29134 * sysdeps/s390/s390-32/memset.S: New asm code.
29135 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29137 2012-07-17 Marek Polacek <polacek@redhat.com>
29140 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29141 * sysdeps/s390/s390-64/configure.in: Likewise.
29142 * sysdeps/sparc/configure.in: Likewise.
29143 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29144 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29145 * sysdeps/i386/configure.in: Likewise.
29146 * sysdeps/x86_64/configure.in: Likewise.
29147 * sysdeps/sh/configure.in: Likewise.
29148 * sysdeps/s390/s390-32/configure: Regenerated.
29149 * sysdeps/s390/s390-64/configure: Likewise.
29150 * sysdeps/x86_64/configure: Likewise.
29151 * sysdeps/sh/configure: Likewise.
29152 * sysdeps/powerpc/powerpc64/configure: Likewise.
29153 * sysdeps/powerpc/powerpc32/configure: Likewise.
29154 * sysdeps/sparc/configure: Likwise.
29155 * sysdeps/i386/configure: Likewise.
29157 * elf/dl-open.c: Comment fixes.
29159 2012-07-17 Joseph Myers <joseph@codesourcery.com>
29161 * Makefile [CXX] (check-data): Remove.
29162 [CXX] (c++-types.data): New vpath directive.
29163 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29164 vpath. Do not allow for C++ type data being missing.
29165 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29166 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29167 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29168 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29169 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29170 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29171 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29174 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29177 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29180 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29183 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29186 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29189 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29192 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29195 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29196 definitions to architecture-specific files.
29197 (TLS_IE): Likewise.
29198 (TLS_LD): Likewise.
29199 (TLS_GD): Likewise.
29200 * sysdeps/i386/tls-macros.h: New file.
29201 * sysdeps/powerpc/tls-macros.h: Likewise.
29202 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29203 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29204 * sysdeps/sh/tls-macros.h: Likewise.
29205 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29206 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29207 * sysdeps/x86_64/tls-macros.h: Likewise.
29209 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29211 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29212 zero value for regular exit case.
29214 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29215 (__start_context): Preserve zero value for regular exit case.
29217 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29218 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29220 * manual/setjmp.texi (setcontext): Clarify normal process
29221 termination when uc_link is the null pointer.
29222 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29225 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29227 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29228 preprocessor. Test for each exception mask separately.
29230 2012-07-16 Andreas Jaeger <aj@suse.de>
29232 * po/ru.po: Update from translation team.
29234 2012-07-15 Joseph Myers <joseph@codesourcery.com>
29236 * conform/data/string.h-data (NULL): Use macro-constant. Require
29238 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29239 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29240 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29241 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29242 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29244 2012-07-13 Andreas Jaeger <aj@suse.de>
29246 * po/fr.po: Update from translation team.
29248 2012-07-12 Marek Polacek <polacek@redhat.com>
29251 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29252 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29255 2012-07-12 Joseph Myers <joseph@codesourcery.com>
29258 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29259 Change to 2.4.1 where previously 2.4.0.
29260 * sysdeps/unix/sysv/linux/configure: Regenerated.
29261 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29262 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29264 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29265 (__ASSUME_AT_CLKTCK): Remove.
29266 (__ASSUME_AT_PAGESIZE): Likewise.
29267 (__ASSUME_AT_XID): Likewise.
29268 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29269 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29270 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29272 (HAVE_AUX_PAGESIZE): Likewise.
29273 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29274 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29275 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29277 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29281 the temporary buffer used to invoke __gethostbyname2_r,
29282 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29283 host_data / struct gaih_addrtuple.
29284 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29285 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29286 header file nss/nsswitch.h.
29287 * nss/nsswitch.h (global scope): Add definition of implementation
29288 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29289 resolv/nss_dns/dns-host.c).
29291 2012-07-11 Andreas Jaeger <aj@suse.de>
29293 * po/fr.po: Update from translation team.
29295 * po/sv.po: Update from translation team
29296 * po/fr.po: Another update from translation team.
29298 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29300 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29301 for subnormals or multiply small sinh result by itself.
29302 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29305 2012-07-11 David S. Miller <davem@davemloft.net>
29307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29309 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29312 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29313 (INTERNAL_MARK): Shift it here.
29315 2012-07-10 Marek Polacek <polacek@redhat.com>
29318 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29319 libc_cv_asm_global_directive with .globl.
29320 * configure: Regenerated.
29321 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29323 * sysdeps/i386/configure: Regenerated.
29324 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29326 * sysdeps/x86_64/configure: Regenerated.
29327 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29328 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29329 * elf/tst-unique2mod2.c: Likewise.
29330 * elf/tst-unique2mod1.c: Likewise.
29331 * elf/tst-unique1mod2.c: Likewise.
29332 * elf/tst-unique1mod1.c: Likewise.
29333 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29334 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29335 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29336 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29337 * sysdeps/mach/sysdep.h: Likewise.
29338 * sysdeps/i386/sysdep.h: Likewise.
29339 * sysdeps/i386/i386-mcount.S: Likewise.
29340 * sysdeps/x86_64/_mcount.S: Likewise.
29341 * sysdeps/x86_64/sysdep.h: Likewise.
29342 * sysdeps/sh/_mcount.S: Likewise.
29343 * sysdeps/sh/sysdep.h: Likewise.
29344 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29345 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29346 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29347 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29348 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29349 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29350 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29351 * locale/localeinfo.h: Likewise.
29352 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29353 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29355 2012-07-09 Roland McGrath <roland@hack.frob.com>
29358 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29360 * manual/message.texi (The Uniforum approach): Likewise.
29361 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29362 (glibc iconv Implementation): Likewise.
29364 2012-07-09 Joseph Myers <joseph@codesourcery.com>
29367 * math/s_clog.c (__clog): Avoid scaling a value down where that
29368 could result in underflow.
29369 * math/s_clog10.c (__clog10): Likewise.
29370 * math/s_clog10f.c (__clog10f): Likewise.
29371 * math/s_clog10l.c (__clog10l): Likewise.
29372 * math/s_clogf.c (__clogf): Likewise.
29373 * math/s_clogl.c (__clogl): Likewise.
29374 * math/libm-test.inc (clog_test): Add more tests.
29375 (clog10_test): Likewise.
29376 * sysdeps/i386/fpu/libm-test-ulps: Update.
29377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29379 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29382 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29383 by 7 not 8 to examine high bit of fractional part.
29386 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29387 for call to __mcount_internal.
29388 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29389 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29390 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29392 2012-07-06 Joseph Myers <joseph@codesourcery.com>
29395 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29396 approximation for values within 0x1p-13f of an odd multiple of
29398 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29399 exception. Add more tests.
29400 * sysdeps/i386/fpu/libm-test-ulps: Update.
29403 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29404 inputs and return -1 for them. Do not check for +Inf in case not
29405 reachable for +Inf.
29406 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29407 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29408 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29409 and return -1 for them. Do not check for +Inf in case not
29410 reachable for +Inf.
29411 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29413 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29414 and return -1 for them. Do not check for +Inf in case not
29415 reachable for +Inf.
29416 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29417 spurious underflow.
29418 * sysdeps/i386/fpu/libm-test-ulps: Update.
29419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29421 2012-07-06 Mike Frysinger <vapier@gentoo.org>
29423 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29425 2012-07-05 Joseph Myers <joseph@codesourcery.com>
29429 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29430 could result in spurious underflow. Scale down values above
29431 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29432 * math/s_csqrtf.c (__csqrtf): Likewise.
29433 * math/s_csqrtl.c (__csqrtl): Likewise.
29434 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29435 spurious underflow.
29436 * sysdeps/i386/fpu/libm-test-ulps: Update.
29437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29439 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29441 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29443 * catgets/xopen-msg.awk: New file.
29444 * catgets/xopen-msg.sed: Removed.
29446 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29448 * intl/po2test.awk: New file.
29449 * intl/po2test.sed: Removed.
29451 2012-07-04 Joseph Myers <joseph@codesourcery.com>
29454 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29455 or multiply small sinh result by itself.
29456 * math/s_ctanf.c (__ctanf): Likewise.
29457 * math/s_ctanh.c (__ctanh): Likewise.
29458 * math/s_ctanhf.c (__ctanhf): Likewise.
29459 * math/s_ctanhl.c (__ctanhl): Likewise.
29460 * math/s_ctanl.c (__ctanl): Likewise.
29461 * math/libm-test.inc (ctan_test_tonearest): New function.
29462 (ctan_test_towardzero): Likewise.
29463 (ctan_test_downward): Likewise.
29464 (ctan_test_upward): Likewise.
29465 (ctanh_test_tonearest): Likewise.
29466 (ctanh_test_towardzero): Likewise.
29467 (ctanh_test_downward): Likewise.
29468 (ctanh_test_upward): Likewise.
29469 (main): Call these new functions.
29470 * sysdeps/i386/fpu/libm-test-ulps: Update.
29471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29473 2012-07-03 Mike Frysinger <vapier@gentoo.org>
29475 * .gitignore: Delete /ports entry.
29477 2012-07-03 Andreas Jaeger <aj@suse.de>
29479 * po/bg.po: Update from translation team.
29480 * po/cs.po: Likewise.
29481 * po/de.po: Likewise.
29482 * po/hr.po: Likewise.
29483 * po/nl.pl: Likewise.
29484 * po/pl.po: Likewise.
29485 * po/vi.po: Likewise.
29487 2012-07-03 Joseph Myers <joseph@codesourcery.com>
29489 * Makeconfig [!+link] (+link-before-libc): New variable.
29490 [!+link] (+link-after-libc): Likewise.
29491 [!+link] (+link-tests): Likewise.
29492 [!+link] (+link): Define in terms of $(+link-before-libc) and
29493 $(+link-after-libc).
29494 [!+link-static] (+link-static-before-libc): New variable.
29495 [!+link-static] (+link-static-after-libc): Likewise.
29496 [!+link-static] (+link-static-tests): Likewise.
29497 [!+link-static] (+link-static): Define in terms of
29498 $(+link-static-before-libc) and $(+link-static-after-libc).
29499 [build-shared] (link-libc-before-gnulib): New variable.
29500 [build-shared] (link-libc-tests): Likewise.
29501 [build-shared] (link-libc): Define in terms of
29502 $(link-libc-before-gnulib).
29503 [!build-shared] (link-libc-tests): New variable.
29504 (link-libc-static-tests): New variable.
29505 [!gnulib] (gnulib-arch): New variable.
29506 [!gnulib] (gnulib-tests): Likewise.
29507 [!gnulib] (static-gnulib-arch): Likewise.
29508 [!gnulib] (static-gnulib-tests): Likewise.
29509 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29510 Define with "=" instead of ":=".
29511 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29512 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29513 * Rules (binaries-all-notests): New variable.
29514 (binaries-all-tests): Likewise.
29515 (binaries-static-notests): Likewise.
29516 (binaries-static-tests): Likewise.
29517 (binaries-all): Define using $(binaries-all-notests) and
29518 $(binaries-all-tests).
29519 (binaries-static): Define using $(binaries-static-notests) and
29520 $(binaries-static-tests).
29521 (binaries-shared-tests): New variable.
29522 (binaries-shared-notests): Likewise.
29523 (binaries-shared): Remove variable.
29524 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29525 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29526 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29527 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29528 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29529 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29530 * elf/Makefile (sln-modules): New variable.
29531 (extra-objs): Add $(sln-modules:=.o).
29532 (ldconfig-modules): Add static-stubs.
29533 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29534 * elf/static-stubs.c: New file.
29537 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29538 by 7 not 8 to examine high bit of fractional part. Use volatile
29539 variables when splitting into final array of floats if
29540 __FLT_EVAL_METHOD__ != 0.
29541 * math/libm-test.inc (cos_test): Add another test.
29542 (sin_test): Likewise.
29543 * sysdeps/i386/fpu/libm-test-ulps: Update.
29546 * math/libm-test.inc (cosh_test): Add more tests.
29548 * version.h (RELEASE): Set to "development".
29549 (VERSION): Set to "2.16.90".
29551 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29553 * NEWS: Update copyright. Remove last-updated date.
29554 Mention math library bug fixes and timezone data changes.
29555 * README: Mention GNU/Hurd, x32, and HPPA support status.
29557 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29559 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29561 2012-06-27 Andreas Jaeger <aj@suse.de>
29563 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29565 2012-06-25 Andreas Jaeger <aj@suse.de>
29567 * sysdeps/s390/fpu/libm-test-ulps: Update.
29569 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29570 Thomas Schwinge <thomas@codesourcery.com>
29572 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29573 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29574 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29577 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29579 * sysdeps/mach/start.c: Remove file.
29580 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29581 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29582 * sysdeps/sh/init-first.c: Likewise.
29584 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29585 registers for frame unwinding purposes, add CFI directives.
29586 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29587 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29588 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29591 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29592 __fortify_fail returning.
29593 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29595 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29596 sysdeps/sh/____longjmp_chk.S.
29597 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29598 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29599 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29600 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29602 * sysdeps/sh/abort-instr.h: New file.
29603 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29604 process in case exit returns.
29606 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29607 initialize the GOT register before use.
29609 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29610 calculation of ARGC > 4.
29612 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29613 meaningful names to some local labels.
29615 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29616 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29618 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29619 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29620 (__arch_compare_and_exchange_val_16_acq): Likewise.
29621 (__arch_compare_and_exchange_val_32_acq): Likewise.
29622 (atomic_exchange_and_add): Fix gUSA sequence.
29623 (atomic_add): Likewise.
29624 (atomic_add_negative): Likewise.
29625 (atomic_add_zero): Likewise.
29626 (atomic_bit_test_set): Likewise.
29628 2012-06-22 Andreas Schwab <schwab@redhat.com>
29631 * include/link.h (struct link_map): Add l_free_initfini.
29632 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29634 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29635 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29636 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29639 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29641 * configure.in: Use AC_LANG_SOURCE.
29642 * configure: Regenerate.
29644 2012-06-22 Roland McGrath <roland@hack.frob.com>
29646 * configure.in (libc_cv_localstatedir): New substituted variable.
29647 * configure: Regenerated.
29648 * config.make.in (localstatedir): New variable, substituted from
29649 libc_cv_localstatedir.
29650 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29651 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29652 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29653 * sysdeps/gnu/configure: Regenerated.
29655 2012-06-21 Jeff Law <law@redhat.com>
29658 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29659 free. Simplify list management for _LIBC case.
29661 2012-06-21 Joseph Myers <joseph@codesourcery.com>
29664 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29665 Clear sign bit of 64-bit integer value before comparing against
29668 * sysdeps/mach/configure: Regenerated.
29670 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29673 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29675 2012-06-21 Jeff Law <law@redhat.com>
29678 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29679 uint16_t for elements in the "seen" array to avoid char overflows.
29680 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29681 * elf/dl-open.c (dl_open_worker): Likewise.
29683 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29685 * scripts/list-sources.sh: Scan PORTS for translations.
29686 * po/libc.pot: Regenerated.
29688 2012-06-21 Andreas Jaeger <aj@suse.de>
29691 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29693 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29694 * bits/byteswap-16.h (__bswap_16): Likewise.
29695 * bits/byteswap.h (__bswap_constant_16): Likewise.
29697 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29700 * sysdeps/i386/fpu_control.h: Removed.
29701 * sysdeps/x86_64/fpu_control.h: Moved to ...
29702 * sysdeps/x86/fpu_control.h: Here.
29704 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29705 (_FPU_SETCW): Likewise.
29707 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29710 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29711 * sysdeps/x86/fpu/bits/mathinline.h: This.
29712 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29716 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29717 functions if __x86_64__ is defined.
29719 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29721 * string/endian.h: Add !__ASSEMBLER__ condition for including
29722 conversion interfaces.
29724 2012-06-15 Joseph Myers <joseph@codesourcery.com>
29727 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29728 of ABS(x) in calculating zero to negative powers other than odd
29730 * math/libm-test.inc (pow_test): Add more tests.
29732 2012-06-15 Andreas Jaeger <aj@suse.de>
29734 * manual/contrib.texi (Contributors): Update entry of Liubov
29735 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29738 2012-06-15 Cyril Hrubis <metan@ucw.cz>
29740 * string/string.h: Add __wur to GNU version of strerror_r.
29742 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29745 * string/Makefile (tests): Add tst-strtok_r.
29746 * string/tst-strtok_r.c: New file.
29747 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29748 RAX_LP/RDX_LP on SAVE_PTR.
29750 2012-06-14 Roland McGrath <roland@hack.frob.com>
29752 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29754 2012-06-14 Joseph Myers <joseph@codesourcery.com>
29756 * libm_test.inc (csqrt_test): Allow more spurious underflow
29758 (j0_test): Likewise.
29759 (j1_test): Likewise.
29760 (y0_test): Likewise.
29761 (y1_test): Likewise.
29763 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29765 * po/Makefile (libc.pot): Use UTF-8 charset.
29767 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29770 Suppress sign-conversion warning from FD_SET.
29771 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29772 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29773 not unsigned long int.
29774 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29776 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29780 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29781 __extern_always_inline instead of __extern_inline.
29782 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29783 (__signbit): Likewise.
29784 (__signbitl): Support C++ namespace.
29785 (lrintf): New inline function.
29787 (llrintf): Likewise.
29788 (llrint): Likewise.
29798 (floorf): Likewise.
29799 (nearbyint): Likewise.
29800 (nearbyintf): Likewise.
29802 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29804 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29805 non-default versions.
29807 2012-06-11 Roland McGrath <roland@hack.frob.com>
29810 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29812 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29814 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29815 (FE_UPWARD, FE_DOWNWARD): Don't define.
29816 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29817 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29819 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29821 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29822 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29824 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29826 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29827 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29828 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29829 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29831 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29834 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29835 * sysdeps/i386/fpu/Implies: New file.
29836 * sysdeps/x86_64/fpu/Implies: Likewise.
29837 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29838 * sysdeps/x86/fpu/bits/fenv.h: This.
29840 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29843 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29846 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29847 character 0xffff that matches the last element of the
29850 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29852 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29855 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29857 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29858 values higher than 25.6283.
29860 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29862 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29863 subnormal exponent extraction and add some __builtin_expect.
29864 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29865 Fix for subnormal mantissa calculation.
29867 2012-06-04 Mike Frysinger <vapier@gentoo.org>
29869 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29870 cpu2 is -1 and errno is not ENOSYS.
29872 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29875 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29876 * sysdeps/x86/bits/string.h: This.
29877 * sysdeps/x86_64/bits/string.h: Removed.
29879 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29880 if not compiling for x86-64, but compiling for >= i486.
29882 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29883 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29885 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29886 New macro from Linux kernel 3.4.0.
29887 (FP_XSTATE_MAGIC2): Likewise.
29888 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29889 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29890 (struct _fpx_sw_bytes): New struct.
29891 (struct _xsave_hdr): Likewise.
29892 (struct _ymmh_state): Likewise.
29893 (struct _xstate): Likewise.
29895 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29896 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29897 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29898 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29899 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29900 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29902 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29903 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29904 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29905 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29906 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29907 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29909 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29912 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29913 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29914 (sysdep_headers): Include sys/platform/ppc.h.
29915 * sysdeps/powerpc/test-gettimebase.c: Test for
29916 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29917 * manual/Makefile (appendices): Include platform.texi.
29918 * manual/contrib.texi (Contributors): Update @node pointers.
29919 * manual/maint.texi (Maintenance): Likewise.
29920 (Platform): New node.
29921 * manual/platform.texi: New file. Document the new features.
29923 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29924 Jakub Jelinek <jakub@redhat.com>
29927 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29928 where __builtin_expect is unavailable.
29930 2012-06-03 David S. Miller <davem@davemloft.net>
29932 * stdlib/longlong.h: Updated from GCC.
29934 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29937 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29938 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29941 (GLIBC_2.16): Likewise.
29943 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29945 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29947 2012-06-01 Joseph Myers <joseph@codesourcery.com>
29949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29950 (default-abi): New variable.
29951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29952 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29954 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29956 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29958 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29961 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29962 definition. Document in comment.
29964 2012-06-01 David S. Miller <davem@davemloft.net>
29966 * stdlib/longlong.h: Updated from GCC.
29968 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29971 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29972 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29973 sys/debugreg.h sys/io.h here.
29974 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29975 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29977 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29978 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29979 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29980 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29981 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29982 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29984 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29985 Define only if __x86_64__ is defined.
29987 2012-06-01 Joseph Myers <joseph@codesourcery.com>
29990 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29991 Use int64_t for variable i.
29992 * math/libm-test.inc (fmod_test): Add more tests.
29994 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29995 z computation is not scheduled after fetestexcept.
29996 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29997 Use math_force_eval instead of asm to ensure calculation scheduled
29998 before exception test.
29999 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30000 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30002 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30005 computation is not scheduled after fetestexcept.
30007 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30010 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30011 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30013 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30015 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30016 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30018 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30021 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30023 (__WCHAR_MIN): Support __WORDSIZE == 64.
30024 (__WCHAR_MAX): Likewise.
30026 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30027 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30030 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30031 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30034 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30035 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30037 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30038 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30040 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30041 Defined to 1 if __x86_64__ isn't defined.
30042 (_STAT_VER_LINUX_OLD): New.
30043 (st_atime): Remove duplicate.
30044 (st_mtime): Likewise.
30045 (st_ctime): Likewise.
30047 2012-05-31 David S. Miller <davem@davemloft.net>
30049 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30052 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30054 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30058 * elf/dl-reloc.c: Include <_itoa.h>.
30059 (_dl_reloc_bad_type): Remove use of INTUSE.
30060 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30061 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30062 * stdio-common/psiginfo.c (psiginfo): Likewise.
30063 * stdio-common/psignal.c (psignal): Likewise.
30064 * string/strsignal.c (strsignal): Likewise.
30065 * include/signal.h (_sys_siglist): Declare hidden proto.
30066 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30067 INTVARDEF with libc_hidden_data_def.
30068 * stdio-common/itoa-udigits.c: Likewise.
30069 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30070 (_itoa_lower_digits_internal): Remove declaration.
30071 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30072 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30073 (_sys_sigabbrev_internal): Remove aliases.
30074 (_sys_siglist): Define hidden alias.
30076 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30081 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30084 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30085 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30087 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30088 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30089 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30090 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30091 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30092 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30094 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30095 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30096 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30098 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30106 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30107 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30108 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30110 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30111 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30112 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30113 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30114 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30115 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30117 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30118 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30120 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30121 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30123 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30124 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30125 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30127 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30128 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30130 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30132 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30133 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30134 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30136 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30138 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30140 2012-05-31 Joseph Myers <joseph@codesourcery.com>
30142 * math/math.h (M_El): Use two more decimal places.
30143 (M_LOG2El): Likewise.
30144 (M_LOG10El): Likewise.
30145 (M_LN2l): Likewise.
30146 (M_LN10l): Likewise.
30148 (M_PI_2l): Likewise.
30149 (M_PI_4l): Likewise.
30150 (M_1_PIl): Likewise.
30151 (M_2_PIl): Likewise.
30152 (M_2_SQRTPIl): Likewise.
30153 (M_SQRT2l): Likewise.
30154 (M_SQRT1_2l): Likewise.
30156 2012-05-31 David S. Miller <davem@davemloft.net>
30158 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30159 values between float registers.
30160 * sysdeps/sparc/sparc64/memset.S: Likewise.
30161 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30163 2012-05-31 Mike Frysinger <vapier@gentoo.org>
30165 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30166 -D_FORTIFY_SOURCE=1.
30167 (CPPFLAGS-tst-longjmp_chk.c): Define.
30168 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30169 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30170 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30171 CFLAGS-tst-wchar-h.c.
30173 2012-05-31 Marek Polacek <polacek@redhat.com>
30176 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30177 __endmntent_internal): Remove declaration.
30178 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30179 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30180 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30182 2012-05-30 David S. Miller <davem@davemloft.net>
30184 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30185 (___Q_simulate_exceptions): Use real FP ops rather than writing
30187 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30190 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30193 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30194 * sysdeps/x86/bits/xtitypes.h: This.
30196 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30197 * sysdeps/x86/bits/wordsize.h: This.
30199 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30200 * sysdeps/x86/bits/huge_vall.h: This.
30202 * sysdeps/i386/bits/select.h: Removed.
30203 * sysdeps/x86_64/bits/select.h: Renamed to ...
30204 * sysdeps/x86/bits/select.h: This.
30206 * sysdeps/i386/bits/setjmp.h: Removed.
30207 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30208 * sysdeps/x86/bits/setjmp.h: This.
30210 * sysdeps/i386/bits/mathdef.h: Removed.
30211 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30212 * sysdeps/x86/bits/mathdef.h: This.
30214 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30217 * include/sys/socket.h (__connect_internal)
30218 (__libc_sa_len_internal): Remove declaration.
30219 (__connect, __libc_sa_len): Declare hidden_proto.
30220 (SA_LEN): Remove use of INTUSE.
30221 * socket/connect.c: Add libc_hidden_def.
30222 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30223 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30224 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30226 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30227 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30228 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30229 of adding _internal alias.
30231 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30234 * sysdeps/i386/bits/link.h: Removed.
30235 * sysdeps/i386/bits/linkmap.h: Likewise.
30236 * sysdeps/x86_64/bits/link.h: Renamed to ...
30237 * sysdeps/x86/bits/link.h: This.
30238 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30239 * sysdeps/x86/bits/linkmap.h: This.
30241 * sysdeps/i386/bits/endian.h: Removed.
30242 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30243 * sysdeps/x86/bits/endian.h: This.
30245 * sysdeps/i386/bits/byteswap.h: Removed.
30246 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30247 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30248 * sysdeps/x86/bits/byteswap.h: This.
30249 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30250 * sysdeps/x86/bits/byteswap-16.h: This.
30251 * sysdeps/i386/Implies: Add x86.
30252 * sysdeps/x86_64/Implies: Likewise.
30254 2012-05-30 David S. Miller <davem@davemloft.net>
30256 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30257 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30258 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30259 (FP_TRAPPING_EXCEPTIONS): Define.
30260 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30261 (FP_TRAPPING_EXCEPTIONS): Define.
30262 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30263 subnormals only when inexact has been signalled or underflow
30264 exceptions are enabled.
30265 (_FP_PACK_CANONICAL): Likewise.
30267 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30270 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30271 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30273 2012-05-30 Richard Henderson <rth@twiddle.net>
30275 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30276 with #ifndef NOT_IN_libc.
30278 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30279 marked to avoid plt entry.
30281 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30284 * Makeconfig (default-abi): New macro.
30285 (abi-includes): Likewise.
30286 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30287 $(abi-$(default-abi)-lib-soname) for soname if defined.
30288 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30290 * Makefile (installed-stubs): Likewise.
30291 * include/stubs-biarch.h: Removed.
30292 * scripts/lib-names.awk: Only handle one library at a time.
30293 * scripts/soversions.awk: Remove WORDSIZE support.
30294 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30296 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30298 (syscall-list-default-condition): Likewise.
30299 (syscall-list-default-condition): Likewise.
30300 (syscall-list-includes): Likewise.
30301 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30302 syscall-list-* with abi-*. Handle undefined abi-variants.
30303 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30304 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30305 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30306 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30307 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30308 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30310 (syscall-list-32-options): Likewise.
30311 (syscall-list-32-condition): Likewise.
30312 (syscall-list-64-options): Likewise.
30313 (syscall-list-64-condition): Likewise.
30314 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30316 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30319 (abi-64-ld-soname): New macro.
30320 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30321 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30324 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30325 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30327 2012-05-30 Joseph Myers <joseph@codesourcery.com>
30329 * sysdeps/unix/sysv/linux/kernel-features.h
30330 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30331 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30332 include <kernel-features.h>.
30333 [!__NR_ftruncate64]: Remove conditional code.
30334 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30335 [__NR_ftruncate64]: Make code unconditional.
30336 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30337 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30338 include <kernel-features.h>.
30339 [!__NR_ftruncate64]: Remove conditional code.
30340 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30341 [__NR_ftruncate64]: Make code unconditional.
30342 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30344 include <kernel-features.h>.
30345 [!__NR_ftruncate64]: Remove conditional code.
30346 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30347 [__NR_ftruncate64]: Make code unconditional.
30348 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30350 include <kernel-features.h>.
30351 [!__NR_ftruncate64]: Remove conditional code.
30352 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30353 [__NR_ftruncate64]: Make code unconditional.
30354 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30356 * configure.in (libc_cv_fpie): Weaken to a compile test using
30357 LIBC_TRY_CC_OPTION.
30358 * configure: Regenerated.
30360 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30375 2012-05-27 David S. Miller <davem@davemloft.net>
30377 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30379 (__Q_simulate_exceptions): Return void. Change to simulate
30380 exceptions by writing into the %fsr.
30381 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30382 (__Qp_handle_exceptions): Likewise.
30384 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30385 __Qp_handle_exceptions.
30386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30387 __Qp_handle_exceptions.
30388 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30389 as unused and give dummy FP_RND_NEAREST initializer.
30390 (FP_INHIBIT_RESULTS): Define.
30391 (___Q_simulate_exceptions): Update declaration.
30392 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30394 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30395 as unused and give dummy FP_RND_NEAREST initializer.
30396 (__Qp_handle_exceptions): Update declaration.
30397 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30400 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30402 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30403 the temporary FPU control word.
30404 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30405 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30406 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30407 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30408 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30409 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30410 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30411 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30412 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30413 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30414 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30416 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30418 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30421 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30423 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30424 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30425 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30426 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30428 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30429 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30432 2012-05-27 Ulrich Drepper <drepper@gmail.com>
30434 * po/h.po: Update from translation team.
30436 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30438 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30440 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30441 handling of denormals.
30442 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30443 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30444 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30445 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30446 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30451 2012-05-26 Marek Polacek <polacek@redhat.com>
30454 * math/libm-test.inc (fma_test): Don't always expect underflow
30457 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30460 * elf/tst-execstack.c: Include stackinfo.h.
30461 (do_test): Adjust test case to ensure that pthread_getattr_np
30462 behaviour remains the same after marking stack executable.
30464 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30466 * sysdeps/unix/sysv/linux/kernel-features.h
30467 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30468 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30470 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30471 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30472 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30474 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30475 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30477 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30479 * configure.in: Define the default includes to being none.
30480 * configure: Regenerated.
30482 2012-05-25 Roland McGrath <roland@hack.frob.com>
30484 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30485 * sysdeps/x86_64/setjmp.S: Likewise.
30486 * sysdeps/i386/bsd-setjmp.S: Likewise.
30487 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30488 * sysdeps/i386/setjmp.S: Likewise.
30489 * sysdeps/i386/__longjmp.S: Likewise.
30490 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30491 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30493 * include/stap-probe.h: New file.
30494 * configure.in: Handle --enable-systemtap.
30495 * configure: Regenerated.
30496 * config.h.in (USE_STAP_PROBE): New #undef.
30497 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30498 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30499 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30501 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30504 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30505 to 2.4.0 where earlier.
30506 * sysdeps/unix/sysv/linux/configure: Regenerated.
30507 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30508 <kernel-features.h>.
30509 [__ASSUME_32BITUIDS]: Make code unconditional.
30510 [!__ASSUME_32BITUIDS]: Remove conditional code.
30511 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30512 <kernel-features.h>.
30513 [__ASSUME_32BITUIDS]: Make code unconditional.
30514 [!__ASSUME_32BITUIDS]: Remove conditional code.
30515 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30516 [__ASSUME_32BITUIDS]: Make code unconditional.
30517 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30518 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30519 <kernel-features.h>.
30520 [__ASSUME_32BITUIDS]: Make code unconditional.
30521 [!__ASSUME_32BITUIDS]: Remove conditional code.
30522 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30523 <kernel-features.h>.
30524 [__ASSUME_32BITUIDS]: Make code unconditional.
30525 [!__ASSUME_32BITUIDS]: Remove conditional code.
30526 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30527 <kernel-features.h>.
30528 [__ASSUME_32BITUIDS]: Make code unconditional.
30529 [!__ASSUME_32BITUIDS]: Remove conditional code.
30530 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30531 <kernel-features.h>.
30532 [__ASSUME_32BITUIDS]: Make code unconditional.
30533 [!__ASSUME_32BITUIDS]: Remove conditional code.
30534 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30535 <kernel-features.h>.
30536 [__ASSUME_32BITUIDS]: Make code unconditional.
30537 [!__ASSUME_32BITUIDS]: Remove conditional code.
30538 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30539 <kernel-features.h>.
30540 [__ASSUME_32BITUIDS]: Make code unconditional.
30541 [!__ASSUME_32BITUIDS]: Remove conditional code.
30542 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30543 <kernel-features.h>.
30544 [__ASSUME_32BITUIDS]: Make code unconditional.
30545 [!__ASSUME_32BITUIDS]: Remove conditional code.
30546 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30547 <kernel-features.h>.
30548 [__ASSUME_32BITUIDS]: Make code unconditional.
30549 [!__ASSUME_32BITUIDS]: Remove conditional code.
30550 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30551 <kernel-features.h>.
30552 [__ASSUME_32BITUIDS]: Make code unconditional.
30553 [!__ASSUME_32BITUIDS]: Remove conditional code.
30554 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30555 <kernel-features.h>.
30556 [__ASSUME_32BITUIDS]: Make code unconditional.
30557 [!__ASSUME_32BITUIDS]: Remove conditional code.
30558 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30559 <kernel-features.h>.
30560 [__NR_setresgid] (__setresgid): Do not declare.
30561 [__ASSUME_32BITUIDS]: Make code unconditional.
30562 [!__ASSUME_32BITUIDS]: Remove conditional code.
30563 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30564 <kernel-features.h>.
30565 [__NR_setresuid] (__setresuid): Do not declare.
30566 [__ASSUME_32BITUIDS]: Make code unconditional.
30567 [!__ASSUME_32BITUIDS]: Remove conditional code.
30568 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30569 <kernel-features.h>.
30570 [__ASSUME_32BITUIDS]: Make code unconditional.
30571 [!__ASSUME_32BITUIDS]: Remove conditional code.
30572 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30573 <kernel-features.h>.
30574 [__ASSUME_32BITUIDS]: Make code unconditional.
30575 [!__ASSUME_32BITUIDS]: Remove conditional code.
30576 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30577 <kernel-features.h>.
30578 [__ASSUME_32BITUIDS]: Make code unconditional.
30579 [!__ASSUME_32BITUIDS]: Remove conditional code.
30580 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30581 <kernel-features.h>.
30582 [__ASSUME_32BITUIDS]: Make code unconditional.
30583 [!__ASSUME_32BITUIDS]: Remove conditional code.
30584 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30585 <kernel-features.h>.
30586 [__ASSUME_32BITUIDS]: Make code unconditional.
30587 [!__ASSUME_32BITUIDS]: Remove conditional code.
30588 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30589 <kernel-features.h>.
30590 [__ASSUME_32BITUIDS]: Make code unconditional.
30591 [!__ASSUME_32BITUIDS]: Remove conditional code.
30592 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30593 <kernel-features.h>.
30594 [__ASSUME_32BITUIDS]: Make code unconditional.
30595 [!__ASSUME_32BITUIDS]: Remove conditional code.
30596 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30597 <kernel-features.h>.
30598 [__ASSUME_32BITUIDS]: Make code unconditional.
30599 [!__ASSUME_32BITUIDS]: Remove conditional code.
30600 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30601 <kernel-features.h>.
30602 [__ASSUME_32BITUIDS]: Make code unconditional.
30603 [!__ASSUME_32BITUIDS]: Remove conditional code.
30604 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30605 <kernel-features.h>.
30606 [__ASSUME_32BITUIDS]: Make code unconditional.
30607 [!__ASSUME_32BITUIDS]: Remove conditional code.
30608 * sysdeps/unix/sysv/linux/kernel-features.h
30609 (__ASSUME_SETRESUID_SYSCALL): Remove.
30610 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30611 (__ASSUME_32BITUIDS): Likewise.
30612 (__ASSUME_LDT_WORKS): Likewise.
30613 (__ASSUME_O_DIRECTORY): Likewise.
30614 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30615 architecture but not kernel version.
30616 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30617 (__ASSUME_MMAP2_SYSCALL): Likewise.
30618 (__ASSUME_STAT64_SYSCALL): Likewise.
30619 (__ASSUME_IPC64): Likewise.
30620 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30621 <kernel-features.h>.
30622 [__ASSUME_32BITUIDS]: Make code unconditional.
30623 [!__ASSUME_32BITUIDS]: Remove conditional code.
30624 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30625 <kernel-features.h>.
30626 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30627 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30628 132096]: Remove conditional code.
30629 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30630 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30631 <kernel-features.h>.
30632 [__ASSUME_32BITUIDS]: Make code unconditional.
30633 [!__ASSUME_32BITUIDS]: Remove conditional code.
30634 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30635 <kernel-features.h>.
30636 [__ASSUME_32BITUIDS]: Make code unconditional.
30637 [!__ASSUME_32BITUIDS]: Remove conditional code.
30638 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30639 <kernel-features.h>.
30640 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30642 (__setresgid): Do not declare.
30643 [__ASSUME_32BITUIDS]: Make code unconditional.
30644 [!__ASSUME_32BITUIDS]: Remove conditional code.
30645 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30646 <kernel-features.h>.
30647 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30649 (__setresuid): Do not declare.
30650 [__ASSUME_32BITUIDS]: Make code unconditional.
30651 [!__ASSUME_32BITUIDS]: Remove conditional code.
30652 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30653 <kernel-features.h>.
30654 [__ASSUME_32BITUIDS]: Make code unconditional.
30655 [!__ASSUME_32BITUIDS]: Remove conditional code.
30656 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30657 <kernel-features.h>.
30658 [__ASSUME_32BITUIDS]: Make code unconditional.
30659 [!__ASSUME_32BITUIDS]: Remove conditional code.
30661 2012-05-25 Richard Henderson <rth@twiddle.net>
30663 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30664 dl_hwcap to ifunc resolver.
30665 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30667 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30668 dl_hwcap to ifunc resolver.
30669 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30671 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30674 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30675 for |x| <= 2**-26, not 2**-57.
30676 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30679 2012-05-24 Jeff Law <law@redhat.com>
30681 * stdio-common/Makefile (tests): Add bug25.
30682 * stdio-common/bug25.c: New test.
30684 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30687 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30688 multiple of MALLOC_ALIGNMENT in size.
30689 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30691 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30693 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30695 (FILENAME_MAX): Use macro-int-constant.
30696 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30697 (_IOFBF): Use macro-int-constant.
30698 (_IOLBF): Likewise.
30699 (_IONBF): Likewise.
30700 (SEEK_CUR): Likewise.
30701 (SEEK_END): Likewise.
30702 (SEEK_SET): Likewise.
30703 (TMP_MAX): Likewise.
30704 (EOF): Use macro-int-constant. Require < 0.
30705 (NULL): Use macro-constant. Require == 0.
30706 (stdin): Require type to be FILE *.
30707 (stdout): Likewise.
30708 (stderr): Likewise.
30709 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30710 macro-int-constant.
30711 (EXIT_SUCCESS): Likewise.
30712 (NULL): Use macro-constant. Require == 0.
30713 (RAND_MAX): Use macro-int-constant.
30714 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30715 [C99-based standards] (strtof): Require function.
30716 [C99-based standards] (strtold): Likewise.
30717 [C99-based standards] (strtoll): Likewise.
30718 [C99-based standards] (strtoull): Likewise.
30719 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30720 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30721 [ISO || ISO99 || ISO11] (math.h): Likewise.
30722 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30723 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30724 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30726 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30729 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30730 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30731 * intl/dgettext.c (DCGETTEXT): Likewise.
30732 * intl/gettext.c (DCGETTEXT): Likewise.
30733 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30734 * posix/regex_internal.h (gettext): Likewise.
30735 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30736 Remove declaration.
30737 * include/argz.h (__argz_count_internal)
30738 (__argz_stringify_internal): Remove declaration.
30739 (__argz_count, __argz_stringify): Declare hidden proto.
30740 * intl/dcgettext.c: Remove use of INTDEF.
30741 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30742 * string/argz-stringify.c: Likewise.
30743 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30744 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30745 Declare hidden proto.
30746 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30747 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30748 Declare hidden proto.
30749 * include/stdio.h (__asprintf_internal): Don't declare.
30750 (__asprintf): Don't define as macro. Declare hidden proto.
30751 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30752 (__fsetlocking): Declare hidden proto.
30753 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30754 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30756 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30757 (_IO_setlinebuf): Remove use of INTUSE.
30758 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30759 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30760 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30761 Remove declaration.
30762 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30763 (_IO_do_flush): Remove use of INTUSE.
30764 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30765 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30766 (_IO_adjust_column, _IO_least_wmarker)
30767 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30768 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30769 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30770 (_IO_default_doallocate, _IO_wdefault_doallocate)
30771 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30772 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30773 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30774 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30775 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30776 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30777 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30778 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30779 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30780 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30781 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30782 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30783 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30785 (_IO_flush_all_internal, _IO_adjust_column_internal)
30786 (_IO_default_uflow_internal, _IO_default_finish_internal)
30787 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30788 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30789 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30790 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30791 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30792 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30793 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30794 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30795 (_IO_file_close_internal, _IO_file_close_it_internal)
30796 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30797 (_IO_file_init_internal, _IO_file_attach_internal)
30798 (_IO_file_fopen_internal, _IO_file_read_internal)
30799 (_IO_file_sync_internal, _IO_file_seek_internal)
30800 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30801 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30802 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30803 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30804 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30805 (_IO_list_all_internal, _IO_link_in_internal)
30806 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30807 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30808 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30809 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30810 (_IO_do_write_internal, _IO_padn_internal)
30811 (_IO_getline_info_internal, _IO_getline_internal)
30812 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30813 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30814 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30815 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30816 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30817 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30818 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30819 with libc_hidden_ver, remove use of INTUSE.
30820 * libio/genops.c: Likewise.
30821 * libio/freopen.c: Likewise.
30822 * libio/freopen64.c: Likewise.
30823 * libio/iofclose.c: Likewise.
30824 * libio/iofdopen.c: Likewise.
30825 * libio/iofflush.c: Likewise.
30826 * libio/iofflush_u.c: Likewise.
30827 * libio/iofgets.c: Likewise.
30828 * libio/iofgets_u.c: Likewise.
30829 * libio/iofopen.c: Likewise.
30830 * libio/iofopncook.c: Likewise.
30831 * libio/iofread.c: Likewise.
30832 * libio/iofread_u.c: Likewise.
30833 * libio/ioftell.c: Likewise.
30834 * libio/iofwrite.c: Likewise.
30835 * libio/iogetline.c: Likewise.
30836 * libio/iogets.c: Likewise.
30837 * libio/iogetwline.c: Likewise.
30838 * libio/iopadn.c: Likewise.
30839 * libio/iopopen.c: Likewise.
30840 * libio/ioseekoff.c: Likewise.
30841 * libio/ioseekpos.c: Likewise.
30842 * libio/iosetbuffer.c: Likewise.
30843 * libio/iosetvbuf.c: Likewise.
30844 * libio/ioungetc.c: Likewise.
30845 * libio/ioungetwc.c: Likewise.
30846 * libio/iovdprintf.c: Likewise.
30847 * libio/iovsprintf.c: Likewise.
30848 * libio/iovsscanf.c: Likewise.
30849 * libio/memstream.c: Likewise.
30850 * libio/obprintf.c: Likewise.
30851 * libio/oldfileops.c: Likewise.
30852 * libio/oldiofclose.c: Likewise.
30853 * libio/oldiofdopen.c: Likewise.
30854 * libio/oldiofopen.c: Likewise.
30855 * libio/oldiopopen.c: Likewise.
30856 * libio/oldstdfiles.c: Likewise.
30857 * libio/putc.c: Likewise.
30858 * libio/setbuf.c: Likewise.
30859 * libio/setlinebuf.c: Likewise.
30860 * libio/stdfiles.c: Likewise.
30861 * libio/strops.c: Likewise.
30862 * libio/vasprintf.c: Likewise.
30863 * libio/vscanf.c: Likewise.
30864 * libio/vsnprintf.c: Likewise.
30865 * libio/vswprintf.c: Likewise.
30866 * libio/wfiledoalloc.c: Likewise.
30867 * libio/wfileops.c: Likewise.
30868 * libio/wgenops.c: Likewise.
30869 * libio/wmemstream.c: Likewise.
30870 * libio/wstrops.c: Likewise.
30871 * libio/__fpurge.c: Likewise.
30872 * libio/__fsetlocking.c: Likewise.
30873 * assert/assert.c: Likewise.
30874 * debug/fgets_chk.c: Likewise.
30875 * debug/fgets_u_chk.c: Likewise.
30876 * debug/fread_chk.c: Likewise.
30877 * debug/fread_u_chk.c: Likewise.
30878 * debug/gets_chk.c: Likewise.
30879 * debug/obprintf_chk.c: Likewise.
30880 * debug/vasprintf_chk.c: Likewise.
30881 * debug/vdprintf_chk.c: Likewise.
30882 * debug/vsnprintf_chk.c: Likewise.
30883 * debug/vsprintf_chk.c: Likewise.
30884 * malloc/mtrace.c: Likewise.
30885 * misc/error.c: Likewise.
30886 * misc/syslog.c: Likewise.
30887 * stdio-common/asprintf.c: Likewise.
30888 * stdio-common/fxprintf.c: Likewise.
30889 * stdio-common/getw.c: Likewise.
30890 * stdio-common/isoc99_fscanf.c: Likewise.
30891 * stdio-common/isoc99_scanf.c: Likewise.
30892 * stdio-common/isoc99_vfscanf.c: Likewise.
30893 * stdio-common/isoc99_vscanf.c: Likewise.
30894 * stdio-common/isoc99_vsscanf.c: Likewise.
30895 * stdio-common/printf-prs.c: Likewise.
30896 * stdio-common/printf_fp.c: Likewise.
30897 * stdio-common/printf_fphex.c: Likewise.
30898 * stdio-common/printf_size.c: Likewise.
30899 * stdio-common/putw.c: Likewise.
30900 * stdio-common/scanf.c: Likewise.
30901 * stdio-common/sprintf.c: Likewise.
30902 * stdio-common/tmpfile.c: Likewise.
30903 * stdio-common/vfprintf.c: Likewise.
30904 * stdio-common/vfscanf.c: Likewise.
30905 * stdlib/strfmon_l.c: Likewise.
30906 * sunrpc/openchild.c: Likewise.
30907 * sunrpc/xdr_stdio.c: Likewise.
30908 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30909 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30911 2012-05-24 Roland McGrath <roland@hack.frob.com>
30913 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30915 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30916 in the third column, to generate for the shared library an IFUNC
30917 that uses _dl_vdso_vsym.
30918 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30919 * Makeconfig (object-suffixes-noshared): New variable.
30921 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30922 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30923 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30924 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30927 * include/sys/time.h (__gettimeofday): Remove macro.
30928 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30929 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30931 (__gettimeofday): Add libc_hidden_def.
30932 (gettimeofday): Add libc_hidden_weak.
30933 * sysdeps/mach/gettimeofday.c: Likewise.
30934 * sysdeps/posix/gettimeofday.c: Likewise.
30935 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30936 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30937 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30938 (__gettimeofday_internal): Remove strong_alias.
30939 (__gettimeofday): Add libc_hidden_def.
30940 (gettimeofday): Add libc_hidden_weak.
30941 * sysdeps/unix/syscalls.list (gettimeofday):
30942 Remove __gettimeofday_internal alias.
30944 2012-05-24 Daniel Jacobowitz <drow@false.org>
30945 H.J. Lu <hongjiu.lu@intel.com>
30948 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30949 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30950 (largebin_index_32_big): New.
30951 (largebin_index): Use it for 16-byte alignment.
30952 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30953 correction with front_misalign.
30955 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30983 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30984 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30986 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30990 * math/libm-test.inc (exp_test): Add test from bug 14036.
30991 (pow_test): Add test from bug 10846.
30993 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30995 (special_function): Do not include flags in test name.
30996 (parse_args): Likewise.
30997 * sysdeps/i386/fpu/libm-test-ulps: Update.
30998 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30999 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31000 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31003 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31005 * math/libm-test.inc ("Philosophy"): Update comment about
31007 (UNDERFLOW_EXCEPTION): New macro.
31008 (UNDERFLOW_EXCEPTION_OK): Likewise.
31009 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31010 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31011 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31012 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31013 (INVALID_EXCEPTION_OK): Update value.
31014 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31015 (OVERFLOW_EXCEPTION_OK): Likewise.
31016 (IGNORE_ZERO_INF_SIGN): Likewise.
31017 (test_exceptions): Handle underflow exceptions.
31018 (acos_test): Update for underflow exception expectations.
31019 (cexp_test): Likewise.
31020 (clog_test): Likewise.
31021 (clog10_test): Likewise.
31022 (csqrt_test): Likewise.
31023 (ctan_test): Likewise.
31024 (ctanh_test): Likewise.
31025 (exp_test): Likewise.
31026 (exp10_test): Likewise.
31027 (exp2_test): Likewise.
31028 (expm1_test): Likewise.
31029 (fma_test): Likewise.
31030 (j0_test): Likewise.
31031 (jn_test): Likewise.
31032 (nexttoward_test): Likewise.
31033 (pow_test): Likewise.
31034 (scalbn_test): Likewise.
31035 (scalbln_test): Likewise.
31036 (tan_test): Likewise.
31037 (y1_test): Likewise.
31038 * sysdeps/i386/fpu/libm-test-ulps: Update.
31039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31041 2012-05-23 David S. Miller <davem@davemloft.net>
31043 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31044 (__libc_sigaction): Remove unused local variables.
31046 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31048 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31050 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31052 mktime: avoid signed integer overflow
31053 * time/mktime.c (__mktime_internal): Do not mishandle the case
31054 where diff == INT_MIN.
31056 mktime: simplify computation of average
31057 * time/mktime.c (ranged_convert): Use new time_t_avg function
31058 instead of rolling our own (probably-slower) code.
31060 mktime: do not assume signed right shift propagates sign bit
31061 * time/mktime.c (isdst_differ): New static function.
31062 (__mktime_internal): No need to normalize tm_isdst now.
31063 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31066 mktime: merge another wrapv change from gnulib
31067 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31068 from some compilers.
31070 mktime: remove incorrect attempt at unusual arithmetics
31071 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31072 The code didn't really work on such machines anyway.
31073 (TYPE_MINIMUM): Assume two's complement.
31074 (twos_complement_arithmetic): Verify that long_int and time_t
31075 are two's complement (or unsigned, in the latter case).
31077 mktime: check signed shifts on long_int and time_t, too
31078 * time/mktime.c (SHR): Check that shifts work as desired
31079 on the types long_int and time_t too, as SHR is used on
31082 mktime: do not assume 'long' is wide enough
31083 * time/mktime.c (verify): Move decl up.
31084 (long_int): New type.
31085 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31086 to remove assumption in the code that 'long' is wide enough to
31087 store year values. This assumption is not true on x32 and on
31088 some non-glibc platforms.
31090 mktime: merge wrapv change from gnulib
31091 * time/mktime.c (WRAPV): New macro.
31092 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31093 (guess_time_tm, __mktime_internal): Do not assume that signed
31094 integer overflow wraps around; modern compilers generate code
31095 where this assumption is no longer valid.
31097 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31099 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31100 Replace "jmp L(pseudo_end)" with "ret".
31101 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31104 2012-05-23 Andreas Jaeger <aj@suse.de>
31106 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31107 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31109 2012-05-23 Andreas Jaeger <aj@suse.de>
31110 Maximilian Attems <max@stro.at>
31112 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31115 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31117 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31118 code so that pseudo_end is just ret and the stack pointer is
31119 correct also for static library in error case.
31121 2012-05-23 Joseph Myers <joseph@codesourcery.com>
31123 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31124 move to syscalls.list.
31125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31130 * manual/install.texi (Running make install): Do not mention Linux
31131 kernel version for which pt_chown is not needed.
31132 (Linux): Do not mention problems with nscd with 2.0 kernels.
31133 * INSTALL: Regenerated.
31135 2012-05-23 Andreas Jaeger <aj@suse.de>
31137 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31138 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31140 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31141 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31142 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31143 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31144 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31145 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31146 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31147 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31148 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31149 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31150 * sysdeps/unix/sysv/linux/bits/in.h
31151 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31153 2012-05-22 Roland McGrath <roland@hack.frob.com>
31155 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31156 (PREPARE_VERSION): Just use assert instead, it will be elided
31157 under [NDEBUG] anyway.
31159 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31161 * sysdeps/unix/sysv/linux/Makefile: Include
31162 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31163 (sysdep_routines): Remove sysctl.
31164 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31165 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31166 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31167 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31168 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31170 2012-05-22 Andreas Jaeger <aj@suse.de>
31172 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31173 that pseudo_end is just ret and the stack pointer is correct also
31174 for static library in error case.
31176 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31179 * nss/nsswitch.c (defconfig_entries): New variable.
31180 (__nss_database_lookup): Don't leak defconfig entries.
31181 (nss_parse_service_list): Don't leak on error paths.
31182 (free_database_entries): New function.
31183 (free_defconfig): New function.
31184 (free_mem): Move common code to free_database_entries.
31186 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31188 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31190 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31192 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31193 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31194 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31196 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31197 (INTERNAL_SYSCALL_TYPES): Likewise.
31198 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31199 (LOAD_REGS_TYPES_[1-6]): Likewise.
31200 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31201 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31203 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31205 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31206 copysignl for GLIBC_2_0.
31207 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31208 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31209 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31210 logbl for GLIBC_2_0.
31211 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31212 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31214 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31216 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31217 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31219 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31222 * time/mktime.c: Update copyright years.
31224 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31226 mktime: merge comment-quoting-style change from gnulib
31227 * time/mktime.c: Quote 'like this' in comments.
31228 The GNU coding standards suggest that we no longer quote `like this',
31229 as "`" and "'" are typically rendered asymmetrically nowadays.
31230 The typical gnulib style is to quote 'like this' when quoting
31231 code, and "like this" when quoting English.
31233 * time/mktime.c (compile-command): Add "-I.".
31235 mktime: merge mktime-internal.h change from gnulib
31236 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31238 mktime: merge time_r change from gnulib
31239 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31241 mktime: merge DEBUG change from gnulib
31242 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31243 case system <time.h> has a #define.
31245 mktime: merge <sys/types.h> change from gnulib
31246 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31247 since <time.t> is now guaranteed to define time_t.
31249 mktime: merge HAVE_CONFIG_H change from gnulib
31250 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31252 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31257 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31259 (struct rusage): Use anonymous union to pad each field to
31262 2012-05-21 David S. Miller <davem@davemloft.net>
31264 * Makefules (o-iterator): Remove .s cases.
31265 (compile-command.s): Delete.
31266 (COMPILE.s): Delete.
31267 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31269 2012-05-21 Joseph Myers <joseph@codesourcery.com>
31271 * configure.in (libc_cv_predef_stack_protector): Only consider
31272 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31273 * configure: Regenerated.
31275 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31277 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31278 New macro. Use R*LP on int and pointer.
31279 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31280 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31281 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31282 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31284 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31285 [__WORDSIZE_TIME64_COMPAT32] instead of
31286 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31287 (struct utmp): Likewise.
31288 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31289 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31291 (__WORDSIZE_TIME64_COMPAT32): This.
31292 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31293 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31294 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31295 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31296 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31297 (__WORDSIZE_TIME64_COMPAT32): New macro.
31299 2012-05-21 Andreas Jaeger <aj@suse.de>
31301 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31302 only if [SHARED]. Add prototype for __wcschr_ia32.
31304 2012-05-21 Roland McGrath <roland@hack.frob.com>
31306 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31307 of %rbp unmolested in the jmp_buf while mangling the low bits.
31308 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31309 unmolested high bits of %rbp while demangling the low bits.
31310 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31312 2012-05-21 Andreas Jaeger <aj@suse.de>
31314 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31315 * sunrpc/svc_simple.c: Use it for registerrpc.
31316 * sunrpc/xcrypt.c: Use it for passwd2des.
31318 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31320 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31322 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31323 Don't define if [__SYSCALL_WORDSIZE != 32].
31324 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31327 2012-05-21 Bruno Haible <bruno@clisp.org>
31328 Andreas Jaeger <aj@suse.de>
31330 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31331 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31332 inptr and inend for must_buffer_ch.
31333 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31334 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31335 * stdio-common/Makefile (tests): Remove bug15.
31336 (bug15-ENV): Remove macro.
31337 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31340 2012-05-19 Andreas Jaeger <aj@suse.de>
31341 Roland McGrath <roland@hack.frob.com>
31343 * manual/contrib.texi: Completely rewritten. It contains now an
31344 alphabetical list of contributors and their contributions.
31346 2012-05-21 Richard Henderson <rth@twiddle.net>
31348 * misc/getauxval.c (__getauxval): Use unsigned long int.
31349 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31350 (getauxval): Use unsigned long int.
31352 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31354 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31356 2012-05-21 Roland McGrath <roland@hack.frob.com>
31358 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31359 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31360 __alignof__ (long double).
31362 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31366 2012-05-20 Richard Henderson <rth@twiddle.net>
31368 * misc/getauxval.c: New file.
31369 * misc/sys/auxv.h: New file.
31370 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31371 (routines): Add getauxval.
31372 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31373 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31374 * elf/dl-sysdep.c (_dl_auxv): Remove.
31375 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31376 * elf/dl-support.c (_dl_auxv): New variable.
31377 (_dl_aux_init): Initialize it.
31378 * manual/startup.texi (Auxiliary Vector): New node.
31379 * sysdeps/generic/bits/hwcap.h: New file.
31380 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31381 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31382 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31383 * sysdeps/sparc/sysdep.h: ... here. Include it.
31384 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31385 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31391 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31397 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31401 2012-05-19 David S. Miller <davem@davemloft.net>
31403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31405 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31408 * math/s_ccosh.c: Include <float.h>
31409 (__ccosh): Avoid internal overflow calculating sinh and cosh
31410 values before multiplying by sin and cos values.
31411 * math/s_ccoshf.c: Likewise.
31412 * math/s_ccoshl.c: Likewise.
31413 * math/s_csin.c: Likewise.
31414 * math/s_csinf.c: Likewise.
31415 * math/s_csinl.c: Likewise.
31416 * math/s_csinh.c: Likewise.
31417 * math/s_csinhf.c: Likewise.
31418 * math/s_csinhl.c: Likewise.
31419 * math/libm-test.inc (ccos_test): Add more tests.
31420 (ccosh_test): Likewise.
31421 (csin_test): Likewise.
31422 (csinh_test): Likewise.
31423 * sysdeps/i386/fpu/libm-test-ulps: Update.
31424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31426 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31428 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31429 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31431 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31433 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31435 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31436 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31437 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31438 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31439 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31440 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31441 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31442 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31443 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31444 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31445 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31446 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31447 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31448 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31449 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31450 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31451 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31452 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31453 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31454 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31455 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31456 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31457 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31458 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31459 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31460 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31461 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31462 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31463 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31464 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31465 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31467 2012-05-18 Andreas Jaeger <aj@suse.de>
31469 * csu/.gitignore: Delete.
31471 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31473 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31474 (timex): Use __syscall_slong_t.
31476 2012-05-18 Andreas Jaeger <aj@suse.de>
31477 Carlos O'Donell <carlos_odonell@mentor.com>
31479 * manual/install.texi (Configuring and compiling): Update
31480 description about files modified in the source directory.
31481 * INSTALL: Regenerated.
31483 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31485 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31486 value. Use "or" to set return value to -1.
31487 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31488 negate return value.
31490 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31492 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31493 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31494 failure if the compiler has Graphite support disabled.
31495 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31497 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31498 (CFLAGS-memmove.c): Likewise.
31499 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31502 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31504 * sysdeps/x86_64/x32/_itoa.h: New file.
31506 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31507 getdents system call only if kernel and user dirents have the
31508 same d_ino and d_off.
31510 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31511 LLONG_MAX != LONG_MAX.
31512 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31513 (_fitoa_word): Likewise.
31515 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31517 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31518 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31519 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31521 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31522 include <bits/wordsize.h>. Check __x86_64__ instead of
31524 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31525 if __x86_64__ is defined. Use anonymous union on fpstate.
31527 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31530 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31532 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31533 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31534 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31535 Refer to _rtld_local_ro instead of _rtld_global_ro.
31536 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31538 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31540 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31542 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31543 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31544 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31546 * sysdeps/powerpc/powerpc32/dl-machine.c
31547 (__elf_machine_runtime_setup) [PROF]: Don't reference
31550 2012-05-18 Andreas Jaeger <aj@suse.de>
31552 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31553 function only available for GCCs before 3.4 since GCC 3.4
31554 introduced a builtin.
31556 (llrintf): Likewise.
31557 (llrint): Likewise.
31564 (nearbyint): Likewise.
31565 (nearbyintf): Likewise.
31569 (floorf): Likewise.
31571 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31573 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31574 on both fields and cast pointer to __syscall_ulong_t.
31576 * bits/types.h (__fsword_t): New type.
31577 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31578 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31579 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31580 (__FSWORD_T_TYPE): Likewise.
31581 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31582 (__FSWORD_T_TYPE): Likewise.
31583 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31584 (__FSWORD_T_TYPE): Likewise.
31585 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31586 (__FSWORD_T_TYPE): Likewise.
31587 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31588 __SWORD_TYPE with __fsword_t.
31589 (statfs64): Likewise.
31591 2012-05-17 David S. Miller <davem@davemloft.net>
31593 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31595 2012-05-17 Andreas Jaeger <aj@suse.de>
31597 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31600 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31602 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31604 2012-05-17 Andreas Jaeger <aj@suse.de>
31606 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31609 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31611 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31613 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31615 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31616 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31618 2012-05-17 Andreas Jaeger <aj@suse.de>
31619 Carlos O'Donell <carlos_odonell@mentor.com>
31622 * sysdeps/x86_64/multiarch/init-arch.h
31623 (bit_YMM_Usable): Rename to...
31624 (bit_AVX_Usable): ... this.
31625 (bit_FMA4_Usable): New macro.
31626 (bit_XMM_state): New macro.
31627 (bit_YMM_state): New macro.
31628 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31629 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31630 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31631 (CPUID_OSXSAVE): New macro.
31632 (CPUID_AVX): New macro.
31633 (CPUID_FMA4): New macro.
31634 (index_YMM_Usable): Rename to...
31635 (index_AVX_Usable): ... this.
31636 (HAS_AVX): Use HAS_ARCH_FEATURE.
31637 (HAS_FMA4): Likewise.
31638 (HAS_YMM_USABLE): Remove.
31639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31640 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31642 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31643 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31644 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31645 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31646 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31648 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31650 * math/libm-test.c: Support platforms without multiple rounding modes.
31651 * math/bug-nextafter.c: Support platforms without FP exceptions.
31652 * math/bug-nexttoward.c: Likewise.
31653 * math/test-fenv.c: Likewise.
31654 * math/test-misc.c: Likewise.
31655 * stdlib/bug-getcontext.c: Likewise.
31657 2012-05-17 Andreas Jaeger <aj@suse.de>
31659 * manual/examples/search.c (critter_cmp): Change signature to
31661 * manual/string.texi (Collation Functions): Likewise.
31663 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31665 * bits/types.h: Fold copyright years.
31666 * bits/typesizes.h: Likewise.
31667 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31668 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31669 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31670 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31671 * time/time.h: Likewise.
31673 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31676 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31677 in instead of returning them. Return void.
31678 (__libc_mallinfo): Accumulate over all arenas.
31679 (__malloc_stats): Adjust for change in int_mallinfo interface.
31681 2012-05-16 Roland McGrath <roland@hack.frob.com>
31684 * configure.in (NM): Add AC_CHECK_TOOL for it.
31685 (libc_extra_cflags): New substituted variable.
31686 Check for -fstack-protector being used implicitly.
31687 * configure: Regenerated.
31688 * config.make.in (config-extra-cflags): New variable,
31689 gets @libc_extra_cflags@.
31690 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31693 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31694 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31695 * configure: Regenerated.
31696 * config.make.in (CPPUNDEFS): New substituted variable.
31697 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31698 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31699 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31701 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31703 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31704 (mq_attr): Use __syscall_slong_t.
31706 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31708 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31709 Check __x86_64__ instead of __WORDSIZE.
31710 (_STAT_VER_LINUX): Likewise.
31711 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31712 __syscall_ulong_t and __syscall_slong_t.
31713 (stat64): Likewise.
31715 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31717 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31719 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31721 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31723 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31725 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31728 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31729 include <bits/wordsize.h>. Check __x86_64__ instead of
31731 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31733 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31735 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31736 include <bits/wordsize.h>. Check __x86_64__ instead of
31738 (user_regs_struct): Use "__extension__ unsigned long long"
31739 instead of "unsigned long" if __x86_64__ is defined.
31740 (user): Likewise. Pad after pointer field if __ILP32__ is
31743 2012-05-16 Joseph Myers <joseph@codesourcery.com>
31745 * configure.in (makeinfo): Require version 4.5 or later. Allow
31747 * configure: Regenerated.
31748 * manual/install.texi (texinfo): Increase version requirement to
31750 * INSTALL: Regenerated.
31752 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31754 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31756 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31758 * sysdeps/x86_64/x32/ffs.c: New file.
31760 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31762 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31763 defined. Use __syscall_ulong_t.
31764 (shminfo): Use __syscall_ulong_t.
31765 (shm_info): Likewise.
31767 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31770 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31772 (msgqnum_t): Use __syscall_ulong_t.
31773 (msglen_t): Likewise.
31774 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31777 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31778 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31780 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31782 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31783 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31785 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31788 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31789 include <bits/wordsize.h>. Check __x86_64__ instead of
31792 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31793 "unsigned long long int" if __x86_64__ is defined.
31794 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31796 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31797 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31798 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31800 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31802 (GET_PC): Cast to uintptr_t first.
31803 (GET_FRAME): Likewise.
31804 (GET_STACK): Likewise.
31806 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31807 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31808 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31809 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31810 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31811 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31812 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31813 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31814 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31815 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31816 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31817 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31818 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31819 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31820 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31821 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31822 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31823 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31824 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31825 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31826 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31827 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31828 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31829 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31830 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31831 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31832 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31833 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31834 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31836 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31838 * Makerules (+depfiles): Also collect depfiles from .oS in
31840 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31841 .oS, $(libnldbl-routines)).
31843 * Makerules (native-compile-mkdep-flags): Define.
31844 * sunrpc/Makefile (extra-objs): Add $(addprefix
31845 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31846 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31847 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31848 calling $(make-target-directory).
31850 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31852 * bits/types.h (__snseconds_t): Removed.
31853 * time/time.h (struct timespec): Replace __snseconds_t with
31855 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31856 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31858 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31859 (__SNSECONDS_T_TYPE): Likewise.
31860 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31861 (__SNSECONDS_T_TYPE): Likewise.
31862 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31863 (__SNSECONDS_T_TYPE): Likewise.
31865 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31867 * sysdeps/mach/hurd/bits/typesizes.h
31868 (__SYSCALL_SLONG_TYPE): New macro.
31869 (__SYSCALL_ULONG_TYPE): Likewise.
31871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31873 * bits/types.h (__syscall_slong_t): New type.
31874 (__syscall_ulong_t): Likewise.
31876 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31877 (__SYSCALL_ULONG_TYPE): Likewise.
31878 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31879 (__SYSCALL_SLONG_TYPE): Likewise.
31880 (__SYSCALL_ULONG_TYPE): Likewise.
31881 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31882 (__SYSCALL_SLONG_TYPE): Likewise.
31883 (__SYSCALL_ULONG_TYPE): Likewise.
31884 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31885 (__SYSCALL_SLONG_TYPE): Likewise.
31886 (__SYSCALL_ULONG_TYPE): Likewise.
31888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31890 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31891 Add sigaltstack-offsets.sym.
31892 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31893 <sigaltstack-offsets.h>.
31894 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31895 longjmp_msg pointer.
31896 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31897 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31899 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31901 2012-05-15 Joseph Myers <joseph@codesourcery.com>
31903 * elf/stackguard-macros.h: Remove file.
31904 * sysdeps/generic/stackguard-macros.h: New file.
31905 * sysdeps/i386/stackguard-macros.h: Likewise.
31906 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31907 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31908 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31909 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31910 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31911 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31912 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31913 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31914 <elf/stackguard-macros.h>.
31917 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31918 __aligned__ in attribute.
31919 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31920 (gregset_t): Likewise.
31922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31924 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31925 * sysdeps/x86_64/64/Implies-after: Here. New file.
31926 * sysdeps/x86_64/x32/Implies-after: New file.
31928 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31930 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31931 and access return value for _dl_profile_fixup. Use R10_LP to
31934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31936 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31938 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31940 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31941 * sysdeps/x86_64/x32/sysdep.h: New file.
31943 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31945 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31946 * sysdeps/x86_64/setjmp.S: Likewise.
31948 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31950 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31951 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31952 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31953 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31954 remove unused global constant.
31956 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31958 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31959 include of <not-cancel.h>.
31961 2012-05-15 Roland McGrath <roland@hack.frob.com>
31963 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31965 2012-05-15 Jeff Law <law@redhat.com>
31966 Andreas Jaeger <aj@suse.de>
31969 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31971 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31972 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31973 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31974 code changing __hst_map_handle.map.
31976 2012-05-15 Roland McGrath <roland@hack.frob.com>
31978 * configure.in (sysnames): Look for Implies-before and Implies-after
31980 * configure: Regenerated.
31982 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31984 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31985 8-byte data alignment with LP_SIZE alignment.
31987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31989 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31992 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31994 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31998 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31999 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32000 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32002 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32006 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32007 (stackinfo_sub_sp): Likewise.
32009 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32011 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32014 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32016 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32019 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32021 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32024 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32026 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32028 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32030 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32031 into R11_LP and load __x86_64_shared_cache_size_half into
32034 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32036 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32039 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32041 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32043 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32045 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32047 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32048 powerpc32/power7/fpu/s_logb.c via #include.
32049 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32050 powerpc32/power7/fpu/s_logbf.c via #include.
32051 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32052 powerpc32/power7/fpu/s_logbl.c via #include.
32054 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32056 * README.libm: Remove file.
32058 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32060 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32061 count for x32. Use R*_LP and omit operand-size suffix.
32063 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32065 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32066 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32067 * sysdeps/x86_64/x32/shlib-versions: New file.
32069 2012-05-14 Roland McGrath <roland@hack.frob.com>
32071 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32072 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32073 Use _dl_fatal_printf instead.
32075 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32077 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32078 set if not set by the user. Do not allow for being unset.
32079 * sysdeps/unix/sysv/linux/configure: Regenerated.
32081 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32083 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32084 the `q' suffix from lea and replace .quad with ASM_ADDR.
32086 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32089 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32091 (PTR_DEMANGLE): Likewise.
32093 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32095 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32097 (ASM_ADDR): Likewise.
32098 (RAX_LP): Likewise.
32099 (RBP_LP): Likewise.
32100 (RBX_LP): Likewise.
32101 (RCX_LP): Likewise.
32102 (RDI_LP): Likewise.
32103 (RSI_LP): Likewise.
32104 (RSP_LP): Likewise.
32107 (R10_LP): Likewise.
32108 (R10_LP): Likewise.
32109 (R11_LP): Likewise.
32110 (R12_LP): Likewise.
32111 (R13_LP): Likewise.
32112 (R14_LP): Likewise.
32113 (R15_LP): Likewise.
32115 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32117 * sysdeps/x86_64/x32/dl-machine.h: New file.
32119 2012-05-14 Andreas Jaeger <aj@suse.de>
32121 * manual/Makefile (subdir): Remove export of subdir.
32122 (all): Remove target.
32123 (.PHONY): Remove all from list.
32124 (mkinstalldirs): Remove.
32125 (.PHONY): Remove installdirs from list.
32126 ($(inst_infodir)/libc.info): Use make-target-directory.
32127 (installdirs): Remove.
32128 (subdir_%): Remove.
32129 (glibc-targets): Remove.
32132 ($(objpfx)stubs ../po/manual.pot): Remove.
32133 ($(objpfx)stamp%): Remove.
32134 (make-target-directory): Remove.
32135 (subdir_install): Remove.
32136 (routines): Remove.
32143 * manual/.gitignore: Remove, it's not needed anymore.
32144 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32146 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32148 (texis): Renamed to $(objpfx)texis.
32149 (texis-path): New, contains path to generated files.
32150 (chapters.%): Use texis-path for complete path, add extra argument
32152 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32153 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32154 (summary,texi, stamp-summary): Use complete path of
32155 files. Generate files in build dir.
32156 (dir-add.texi): Build in build dir.
32157 (libm-err.texi,stamp-libm-err): Likewise.
32158 (version.texi, stamp-version): Likewise.
32159 (.%c.texi): Likewise.
32160 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32161 (mostlyclean): Remove target.
32162 (realclean): Remove target.
32163 (generated): Add new variable with contents from mostlyclean and
32164 realclean, remove entries duplicated in common-mostlyclean, add
32165 stamp-libm-err and stamp-version.
32166 (generated-dirs): Add libc directory.
32167 ($(inst_infodir)/libc.info): Install files from build dir.
32169 * manual/install.texi (Configuring and compiling): Adjust since
32170 the info files are not part of the tar ball anymore.
32172 2012-05-14 Andreas Jaeger <aj@suse.de>
32174 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32177 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32180 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32181 to 2.2.0 where earlier.
32182 * sysdeps/unix/sysv/linux/configure: Regenerated.
32183 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32184 Remove conditional code.
32185 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32186 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32187 Remove conditional code.
32188 [!__NR_lchown]: Likewise.
32189 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32190 [__NR_lchown]: Likewise.
32191 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32192 comment referencing __ASSUME_LCHOWN_SYSCALL.
32193 * sysdeps/unix/sysv/linux/i386/sigaction.c
32194 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32195 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32196 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32197 Remove conditional code.
32198 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32199 (__protocol_available): Remove #if 0 code.
32200 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32202 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32203 * sysdeps/unix/sysv/linux/kernel-features.h
32204 (__ASSUME_GETCWD_SYSCALL): Don't define.
32205 (__ASSUME_REALTIME_SIGNALS): Likewise.
32206 (__ASSUME_PREAD_SYSCALL): Likewise.
32207 (__ASSUME_PWRITE_SYSCALL): Likewise.
32208 (__ASSUME_POLL_SYSCALL): Likewise.
32209 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32210 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32212 (__ASSUME_SIOCGIFNAME): Don't define.
32213 (__ASSUME_MSG_NOSIGNAL): Likewise.
32214 (__ASSUME_SENDFILE): Define unconditionally.
32215 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32216 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32218 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32219 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32220 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32221 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32222 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32223 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32224 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32226 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32227 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32229 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32232 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32233 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32238 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32239 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32241 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32244 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32247 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32249 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32250 Remove conditional code.
32251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32252 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32253 Remove conditional code.
32254 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32255 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32256 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32257 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32258 Remove conditional code.
32259 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32260 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32261 Remove conditional code.
32262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32263 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32264 Remove conditional code.
32265 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32266 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32267 Remove conditional code.
32268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32269 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32270 Remove conditional code.
32271 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32272 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32273 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32275 * sysdeps/unix/sysv/linux/sigaction.c
32276 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32277 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32278 * sysdeps/unix/sysv/linux/sigpending.c
32279 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32280 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32281 * sysdeps/unix/sysv/linux/sigprocmask.c
32282 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32283 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32284 * sysdeps/unix/sysv/linux/sigsuspend.c
32285 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32286 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32287 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32288 (__libc_missing_rt_sigs): Remove.
32289 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32290 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32291 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32292 Remove conditional code.
32293 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32294 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32296 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32297 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32298 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32299 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32301 2012-05-14 Andreas Jaeger <aj@suse.de>
32303 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32304 it's not used in glibc.
32305 (__coshm1): Likewise.
32306 (__acosh1p): Likewise.
32309 * manual/string.texi (Copying and Concatenation): Add missing
32310 variable in concat example.
32311 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32313 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32316 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32317 __builtin_clzl with __builtin_clzll.
32319 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32322 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32325 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32327 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32328 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32329 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32330 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32332 2012-05-14 Mike Frysinger <vapier@gentoo.org>
32334 * NEWS: Update ia64 info.
32336 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32338 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32341 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32343 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32344 * sysdeps/unix/syscalls.list (dup3): Likewise.
32345 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32346 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32348 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32350 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32351 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32353 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32355 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32357 (TLS_IE): Use mov/add instead of movq/addq to load thread
32359 (TLS_GD_PREFIX): New.
32362 2012-05-11 David S. Miller <davem@davemloft.net>
32364 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32365 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32366 (_FPU_SETCW): Likewise.
32368 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32370 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32371 is 32-byte aligned.
32373 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32376 * iconvdata/gb18030.c: Update tables.
32377 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32378 characters specially.
32379 (BODY for TO_LOOP): Add encoding of missing ranges.
32381 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32384 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32385 * sysdeps/mach/hurd/dup3.c: Likewise.
32386 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32387 * sysdeps/powerpc/memmove.c:: Likewise.
32389 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32391 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32392 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32394 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32396 * elf/elf.h (R_X86_64_RELATIVE64): New.
32397 (R_X86_64_NUM): Updated.
32398 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32399 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32400 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32401 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32402 tst-quad1pie tst-quad2pie
32403 (modules-names): Add tst-quadmod1 tst-quadmod2.
32404 ($(objpfx)tst-quad1): New dependency.
32405 ($(objpfx)tst-quad2): Likewise.
32406 ($(objpfx)tst-quad1pie): Likewise.
32407 ($(objpfx)tst-quad2pie): Likewise.
32408 * sysdeps/x86_64/tst-quad1.c: New file.
32409 * sysdeps/x86_64/tst-quad1pie.c: New file.
32410 * sysdeps/x86_64/tst-quad2.c: Likewise.
32411 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32412 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32413 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32414 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32415 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32417 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32419 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32420 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32421 * streams/stropts.h (t_scalar_t): Define type.
32423 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32424 (_PATH_PRESERVE): Set to "/var/lib".
32425 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32427 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32430 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32431 if __dir_mkfile succeeded.
32433 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32434 checking for _hurd_dtablesize. Unlock it right after having
32435 finished _hurd_dtable allocation.
32437 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32439 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32440 * sysdeps/mach/hurd/configure: Regenerated.
32441 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32442 special-casing to...
32443 * sysdeps/gnu/configure.in: ... this new file.
32444 * sysdeps/unix/sysv/linux/configure: Regenerated.
32445 * sysdeps/gnu/configure: New generated file.
32447 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32448 for Linux: use nsec instead of usec, as well as:
32449 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32450 members of type struct timespec.
32451 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32453 (struct stat64): Likewise.
32454 (_STATBUF_ST_NSEC): New macro.
32455 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32457 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32458 __strtoul_internal rather than strtoul.
32460 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32462 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32465 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32467 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32468 which preserves existing values.
32469 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32471 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32473 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32474 TIMEOUT values. Return EINVAL for NFDS values either negative or
32475 greater than FD_SETSIZE.
32477 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32479 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32480 allocated, call __vm_protect to finish enabling the existing space, and
32481 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32482 allocate the remainder.
32484 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32486 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32487 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32489 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32491 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32492 sysdeps/mach/hurd/readlink.c.
32494 * posix/tst-sysconf.c (posix_options): Only use
32495 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32496 _POSIX_SYNCHRONIZED_IO when they are defined
32497 * sysdeps/mach/hurd/bits/posix_opt.h:
32498 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32499 (_XOPEN_REALTIME): Undefine macro.
32500 (_XOPEN_REALTIME_THREADS): Undefine macro.
32501 (_XOPEN_SHM): Undefine macro.
32502 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32504 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32506 (_POSIX_ASYNC_IO): Undefine macro.
32507 (_POSIX_PRIORITIZED_IO): Undefine macro.
32508 (_POSIX_SPIN_LOCKS): Define macro to -1.
32510 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32511 SA_NODEFER, SA_RESETHAND.
32512 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32513 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32516 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32518 * elf/Makefile (pldd-modules): Define unconditionally.
32520 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32522 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32524 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32526 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32527 Return ENOENT when name is empty.
32528 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32530 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32532 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32534 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32536 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32538 Fix mlock in all cases except non-readable pages.
32539 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32540 instead of VM_PROT_ALL as parameter to __vm_wire function.
32542 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32543 (__mkdir): When path is `/', just fail with EEXIST.
32544 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32546 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32548 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32549 <sys/uio.h> (for writev).
32550 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32551 and <sys/param.h> (for MIN).
32553 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32555 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32556 REQUESTED_TIME. Properly set the remaining time and return EINTR
32559 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32561 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32562 Depend on against $(link-rpcuserlibs).
32564 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32566 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32567 (__libc_stack_end): Do not use attribute_relro.
32568 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32569 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32570 to libthread-provided value.
32571 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32574 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32577 * bits/libc-lock.h (__libc_once_get): New macro.
32578 * sysdeps/mach/bits/libc-lock.h: Likewise.
32579 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32580 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32581 instead of using implementation details.
32583 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32584 * libio/freopen.c: Likewise.
32585 * libio/freopen64.c: Likewise.
32586 * misc/syslog.c: Likewise.
32587 * nscd/connections.c: Likewise.
32588 * nscd/netgroupcache.c: Likewise.
32589 * sysdeps/posix/getcwd.c: Likewise.
32591 2012-05-10 Roland McGrath <roland@hack.frob.com>
32593 * math/w_ilogbf.c: Add #include <limits.h>.
32595 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32597 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32598 path instead of returning without unlocking.
32600 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32601 immediate-write ioctls.
32602 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32604 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32606 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32607 __builtin_frame_address instead of making assumptions about the
32608 location of the return address relative to DATA. Force early load of
32609 the return address.
32610 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32611 __builtin_frame_address.
32614 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32615 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32616 implement dup3 and do some further code clean-ups.
32617 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32618 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32620 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32622 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32624 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32625 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32626 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32627 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32628 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32631 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32632 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32633 when handler == SIG_ERR, not when handler != SIG_ERR.
32635 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32637 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32638 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32641 accept4 for GNU Hurd.
32642 * include/sys/socket.h (__libc_accept4): New prototype.
32643 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32644 to implement __libc_accept4.
32645 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32647 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32649 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32650 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32651 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32652 signal-defines.sym.
32654 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32656 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32658 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32660 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32661 assertion on O_CLOEXEC flag.
32662 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32663 * hurd/intern-fd.c: Likewise.
32664 * hurd/port2fd.c: Likewise.
32666 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32669 * bits/in.h (IPV6_PKTINFO): Define new macro.
32670 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32672 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32677 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32678 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32679 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32680 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32681 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32682 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32683 * math/libm-test.inc (logb_test) : Additional logb tests.
32685 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32686 Andreas Jaeger <aj@suse.de>
32688 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32689 * configure: Regenerated.
32690 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32691 * config.make.in (link-obsolete-rpc): New substituted variable.
32692 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32693 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32694 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32695 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32696 so that libc.a contains the symbols.
32697 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32698 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32699 * sunrpc/auth_none.c: Likewise.
32700 * sunrpc/auth_unix.c: Likewise.
32701 * sunrpc/authdes_prot.c: Likewise.
32702 * sunrpc/authuxprot.c: Likewise.
32703 * sunrpc/clnt_gen.c: Likewise.
32704 * sunrpc/clnt_perr.c: Likewise.
32705 * sunrpc/clnt_raw.c: Likewise.
32706 * sunrpc/clnt_simp.c: Likewise.
32707 * sunrpc/clnt_tcp.c: Likewise.
32708 * sunrpc/clnt_udp.c: Likewise.
32709 * sunrpc/clnt_unix.c: Likewise.
32710 * sunrpc/des_crypt.c: Likewise.
32711 * sunrpc/des_soft.c: Likewise.
32712 * sunrpc/get_myaddr.c: Likewise.
32713 * sunrpc/key_call.c: Likewise.
32714 * sunrpc/key_prot.c: Likewise.
32715 * sunrpc/netname.c: Likewise.
32716 * sunrpc/pm_getmaps.c: Likewise.
32717 * sunrpc/pm_getport.c: Likewise.
32718 * sunrpc/pmap_clnt.c: Likewise.
32719 * sunrpc/pmap_prot.c: Likewise.
32720 * sunrpc/pmap_prot2.c: Likewise.
32721 * sunrpc/pmap_rmt.c: Likewise.
32722 * sunrpc/publickey.c: Likewise.
32723 * sunrpc/rpc_cmsg.c: Likewise.
32724 * sunrpc/rpc_common.c: Likewise.
32725 * sunrpc/rpc_dtable.c: Likewise.
32726 * sunrpc/rpc_prot.c: Likewise.
32727 * sunrpc/rpc_thread.c: Likewise.
32728 * sunrpc/rtime.c: Likewise.
32729 * sunrpc/svc.c: Likewise.
32730 * sunrpc/svc_auth.c: Likewise.
32731 * sunrpc/svc_raw.c: Likewise.
32732 * sunrpc/svc_run.c: Likewise.
32733 * sunrpc/svc_tcp.c: Likewise.
32734 * sunrpc/svc_udp.c: Likewise.
32735 * sunrpc/svc_unix.c: Likewise.
32736 * sunrpc/svcauth_des.c: Likewise.
32737 * sunrpc/xcrypt.c: Likewise.
32738 * sunrpc/xdr.c: Likewise.
32739 * sunrpc/xdr_array.c: Likewise.
32740 * sunrpc/xdr_float.c: Likewise.
32741 * sunrpc/xdr_intXX_t.c: Likewise.
32742 * sunrpc/xdr_mem.c: Likewise.
32743 * sunrpc/xdr_rec.c: Likewise.
32744 * sunrpc/xdr_ref.c: Likewise.
32745 * sunrpc/xdr_sizeof.c: Likewise.
32746 * sunrpc/xdr_stdio.c: Likewise.
32748 2012-05-10 Roland McGrath <roland@hack.frob.com>
32750 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32751 change. Update copyright years.
32753 2012-05-10 Joseph Myers <joseph@codesourcery.com>
32755 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32757 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32758 Joseph Myers <joseph@codesourcery.com>
32759 Paul Pluzhnikov <ppluzhnikov@google.com>
32762 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32764 [cross-compiling] (extra-libs): Likewise.
32765 [cross-compiling] (extra-libs-others): Likewise.
32766 [cross-compiling] (librpcsvc-routines): Likewise.
32767 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32768 [cross-compiling] (omit-deps): Likewise.
32769 (sunrpc-CPPFLAGS): New variable.
32770 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32771 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32772 (cross-rpcgen-objs): New variable.
32773 (extra-objs): Append $(cross-rpcgen-objs).
32774 ($(cross-rpcgen-objs)): New rule.
32775 ($(objpfx)cross-rpcgen): Likewise.
32776 (rpcgen-cmd): Define to use $(built-program-file). Expand
32778 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32779 ($(objpfx)x%.stmp): Likewise.
32780 * sunrpc/proto.h [IS_IN_build] (_): Define.
32781 [IS_IN_build] (_libc_intl_domainname): Likewise.
32783 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32785 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32786 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32787 and R_X86_64_TPOFF64.
32789 2012-05-10 Joseph Myers <joseph@codesourcery.com>
32791 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32792 sysdeps/unix/sysv/syscalls.list.
32795 * sysdeps/unix/sysv/syscalls.list: Remove file.
32797 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32800 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32801 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32802 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32803 (__LC_IDENTIFICATION): Make these macros useful in #if
32804 expressions, as required by C99.
32806 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32808 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32809 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32812 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32814 * stdlib/longlong.h: Updated from GCC.
32816 2012-05-09 Andreas Jaeger <aj@suse.de>
32818 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32819 default is first entry.
32820 (run_mode): Set type.
32821 (main): Remove informal message about syslog.
32822 (options): Fix typo.
32825 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32828 (llrintf): Likewise.
32829 (llrint): Likewise.
32832 (nearbyint): Likewise.
32833 (nearbyintf): Likewise.
32835 2012-05-09 Andreas Jaeger <aj@suse.de>
32836 Pedro Alves <palves@redhat.com>
32838 * nscd/nscd.c (run_mode): Use enum.
32839 (main): Cleanup coding style issue.
32841 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
32842 Andreas Jaeger <aj@suse.de>
32844 * nscd/nscd.c (go_background): Replaced with...
32845 (run_mode): ... this.
32846 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32847 (options): Add -F --foreground.
32848 (main): Implement it.
32849 (parse_opt): Parse it.
32851 2012-05-09 Andreas Jaeger <aj@suse.de>
32854 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32855 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32856 -Wconversion warning.
32857 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32860 2012-05-09 Joseph Myers <joseph@codesourcery.com>
32862 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32864 (LC_ALL): Use macro-int-constant.
32865 (LC_COLLATE): Likewise.
32866 (LC_CTYPE): Likewise.
32867 (LC_MESSAGES): Likewise.
32868 (LC_MONETARY): Likewise.
32869 (LC_NUMERIC): Likewise.
32870 (LC_TIME): Likewise.
32871 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32872 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32873 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32874 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32876 [C99-based standards] (float_t): Expect type.
32877 [C99-based standards] (double_t): Expect type.
32878 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32880 [C99-based standards] (HUGE_VALL): Likewise.
32881 [C99-based standards] (INFINITY): Likewise.
32882 [C99-based standards] (NAN): Likewise.
32883 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32884 [C99-based standards] (FP_NAN): Likewise.
32885 [C99-based standards] (FP_NORMAL): Likewise.
32886 [C99-based standards] (FP_SUBNORMAL): Likewise.
32887 [C99-based standards] (FP_ZERO): Likewise.
32888 [C99-based standards] (FP_FAST_FMA): Use
32889 optional-macro-int-constant. Specify type. Require == 1.
32890 [C99-based standards] (FP_FAST_FMAF): Likewise.
32891 [C99-based standards] (FP_FAST_FMAL): Likewise.
32892 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32893 [C99-based standards] (FP_ILOGBNAN): Likewise.
32894 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32896 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32897 [C99-based standards] (math_errhandling): Specify type.
32898 [ISO99 || ISO11] (signgam): Do not allow.
32899 [non-C99-based standards] (copysignf): Do not allow.
32900 [non-C99-based standards] (exp2f): Likewise.
32901 [non-C99-based standards] (log2f): Likewise.
32902 [non-C99-based standards] (modff): Allow.
32903 [non-C99-based standards] (erff): Do not allow.
32904 [non-C99-based standards] (erfcf): Likewise.
32905 [non-C99-based standards] (gammaf): Likewise.
32906 [non-C99-based standards] (hypotf): Likewise.
32907 [non-C99-based standards] (j0f): Likewise.
32908 [non-C99-based standards] (j1f): Likewise.
32909 [non-C99-based standards] (jnf): Likewise.
32910 [non-C99-based standards] (lgammaf): Likewise.
32911 [non-C99-based standards] (tgammaf): Likewise.
32912 [non-C99-based standards] (y0f): Likewise.
32913 [non-C99-based standards] (y1f): Likewise.
32914 [non-C99-based standards] (ynf): Likewise.
32915 [non-C99-based standards] (isnanf): Likewise.
32916 [non-C99-based standards] (acoshf): Likewise.
32917 [non-C99-based standards] (asinhf): Likewise.
32918 [non-C99-based standards] (atanhf): Likewise.
32919 [non-C99-based standards] (cbrtf): Likewise.
32920 [non-C99-based standards] (expm1f): Likewise.
32921 [non-C99-based standards] (ilogbf): Likewise.
32922 [non-C99-based standards] (log1pf): Likewise.
32923 [non-C99-based standards] (logbf): Likewise.
32924 [non-C99-based standards] (nextafterf): Likewise.
32925 [non-C99-based standards] (remainderf): Likewise.
32926 [non-C99-based standards] (rintf): Likewise.
32927 [non-C99-based standards] (scalbf): Likewise.
32928 [non-C99-based standards] (copysignl): Likewise.
32929 [non-C99-based standards] (exp2l): Likewise.
32930 [non-C99-based standards] (log2l): Likewise.
32931 [non-C99-based standards] (modfl): Allow.
32932 [non-C99-based standards] (erfl): Do not allow.
32933 [non-C99-based standards] (erfcl): Likewise.
32934 [non-C99-based standards] (gammal): Likewise.
32935 [non-C99-based standards] (hypotl): Likewise.
32936 [non-C99-based standards] (j0l): Likewise.
32937 [non-C99-based standards] (j1l): Likewise.
32938 [non-C99-based standards] (jnl): Likewise.
32939 [non-C99-based standards] (lgammal): Likewise.
32940 [non-C99-based standards] (tgammal): Likewise.
32941 [non-C99-based standards] (y0l): Likewise.
32942 [non-C99-based standards] (y1l): Likewise.
32943 [non-C99-based standards] (ynl): Likewise.
32944 [non-C99-based standards] (isnanl): Likewise.
32945 [non-C99-based standards] (acoshl): Likewise.
32946 [non-C99-based standards] (asinhl): Likewise.
32947 [non-C99-based standards] (atanhl): Likewise.
32948 [non-C99-based standards] (cbrtl): Likewise.
32949 [non-C99-based standards] (expm1l): Likewise.
32950 [non-C99-based standards] (ilogbl): Likewise.
32951 [non-C99-based standards] (log1pl): Likewise.
32952 [non-C99-based standards] (logbl): Likewise.
32953 [non-C99-based standards] (nextafterl): Likewise.
32954 [non-C99-based standards] (remainderl): Likewise.
32955 [non-C99-based standards] (rintl): Likewise.
32956 [non-C99-based standards] (scalbl): Likewise.
32957 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32958 [non-C99-based standards] (FP_*): Do not allow.
32959 [C99-based standards] (FP_*): Change to
32960 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32961 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32963 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32964 (SIG_ERR): Likewise.
32965 [X/Open-based standards] (SIG_HOLD): Likewise.
32966 (SIG_IGN): Likewise.
32967 (SIGABRT): Use macro-int-constant. Specify type. Require
32969 (SIGFPE): Likewise.
32970 (SIGILL): Likewise.
32971 (SIGINT): Likewise.
32972 (SIGSEGV): Likewise.
32973 (SIGTER): Likewise.
32974 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32975 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32976 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32977 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32978 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32979 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32980 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32981 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32982 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32983 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32984 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32985 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32986 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32987 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32988 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32989 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32990 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32991 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32992 [X/Open-based standards] (SIGTRAP): Likewise.
32993 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32994 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32995 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32996 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32997 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33000 2012-05-08 Ian Wienand <ianw@vmware.com>
33003 * time/tzset.c (__tzset_parse_tz): Update default rules for
33004 daylight time changes in the Energy Policy Act of 2005.
33006 2012-05-09 Andreas Jaeger <aj@suse.de>
33009 * elf/ldconfig.c (parse_conf): Change string to make clear that
33010 ldconfig only issued a warning if ld.so.conf does not exist.
33012 2012-05-08 David S. Miller <davem@davemloft.net>
33014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33015 movxtod instead of popping the value on the stack.
33017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33019 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33021 * config.h.in: Add HAVE_ARM_PCS_VFP.
33023 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33026 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33027 checking but the checks are disabled for any reason.
33029 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33031 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33032 and ELF64_R_TYPE with ELFW(R_TYPE).
33034 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33036 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33037 (ulimit): Likewise.
33039 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33040 (settimeofday): Likewise.
33042 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33044 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33045 a struct th_u2 inside the union, and move tu_block/tu_code into
33046 a new th_u3 union of tu_block/tu_code inside of that. Move
33047 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33048 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33049 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33050 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33051 (th_stuff): Change to th_u1.tu_stuff.
33053 (th_msg): Change to th_u1.th_u2.tu_data.
33055 2012-05-07 David S. Miller <davem@davemloft.net>
33057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33060 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33061 (SETUP_PIC_REG): Use it.
33062 (SETUP_PIC_REG_LEAF): Use it.
33064 2012-05-07 Joseph Myers <joseph@codesourcery.com>
33068 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33070 (EXPL_FINITE): Likewise.
33071 (FLDLOG): Likewise.
33072 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33073 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33075 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33077 (EXPL_FINITE): Likewise.
33078 (FLDLOG): Likewise.
33079 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33080 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33082 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33083 test of -max_value argument for long double.
33084 * sysdeps/i386/fpu/libm-test-ulps: Update.
33085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33087 2012-05-06 David S. Miller <davem@davemloft.net>
33089 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33090 quad soft-float symbols whose references which are compiler
33092 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33094 2012-05-06 Joseph Myers <joseph@codesourcery.com>
33098 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33100 (EXPL_FINITE): Likewise.
33101 (FLDLOG): Likewise.
33104 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33105 Adjust comments for base varying.
33106 (__expl_finite): Change alias to EXPL_FINITE.
33107 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33109 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33110 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33111 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33112 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33113 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33115 (EXPL_FINITE): Likewise.
33116 (FLDLOG): Likewise.
33119 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33120 Adjust comments for base varying.
33121 (__expl_finite): Change alias to EXPL_FINITE.
33122 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33124 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33127 * math/libm-test.inc (check_float_internal): Correct ulp
33128 calculation for subnormal expected results.
33130 2012-05-06 Andreas Jaeger <aj@suse.de>
33132 * Makeconfig (+math-flags): New, set to -frounding-math.
33133 (+cflags): Add +math-flags so that all of glibc gets compiled with
33136 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33138 2012-05-05 Joseph Myers <joseph@codesourcery.com>
33140 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33146 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33147 (__ieee754_expl): Allow for and saturate large arguments.
33148 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33149 (u_threshold): Likewise.
33150 (__exp): Call __ieee754_exp before checking for overflow and
33152 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33153 (u_threshold): Likewise.
33154 (__expf): Call __ieee754_expf before checking for overflow and
33156 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33157 (u_threshold): Likewise.
33158 (__expl): Call __ieee754_expl before checking for overflow and
33160 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33161 (__ieee754_expl): Allow for and saturate large arguments.
33162 * math/libm-test.inc (exp_test): Add another test. Do not allow
33163 missing overflow exception on overflow.
33164 (expm1_test): Do not allow missing overflow exception on overflow.
33166 * sysdeps/i386/fpu/e_expl.c: Move to ...
33167 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33168 rather than using inline asm.
33169 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33170 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33171 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33173 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33176 (signal): Likewise.
33180 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33182 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33183 sysdeps/unix/common/syscalls.list.
33184 (fchmod): Likewise.
33185 (fchown): Likewise.
33186 (ftruncate): Likewise.
33187 (getrusage): Likewise.
33188 (gettimeofday): Likewise.
33189 (setpgid): Likewise.
33190 (setregid): Likewise.
33191 (setreuid): Likewise.
33192 (sigaction): Likewise.
33193 (truncate): Likewise.
33194 (vhangup): Likewise.
33195 * sysdeps/unix/common/syscalls.list: Remove file.
33196 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33197 * sysdeps/unix/sysv/linux/Implies: Likewise.
33199 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33201 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33203 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33207 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33210 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33213 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33216 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33219 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33222 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33225 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33229 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33233 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33236 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33240 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33244 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33246 * sysdeps/unix/common/bits/dirent.h: Remove file.
33247 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33249 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33250 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33251 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33252 * sysdeps/unix/bsd/isatty.c: Likewise.
33253 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33254 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33255 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33257 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33260 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33261 long double comparison inaccuracies.
33262 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33265 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33267 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33268 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33270 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33273 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33274 nonzero digits before rounding a hex value.
33275 * stdlib/tst-strtod.c (tests): Add another test.
33277 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33279 * sysdeps/s390/fpu/libm-test-ulps: Update.
33281 2012-05-03 Andreas Jaeger <aj@suse.de>
33283 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33284 does not get optimized out.
33285 (malloc_opt_barrier): New.
33287 2012-05-03 Andreas Jaeger <aj@suse.de>
33288 Roland McGrath <roland@hack.frob.com>
33290 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33291 intermediate file deletion.
33292 (generated): Add .symlist files.
33294 2012-05-03 Joseph Myers <joseph@codesourcery.com>
33297 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33298 Redirect under this condition.
33299 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33300 [__USE_GNU] (__dprintf_chk): Not under this condition.
33301 [__USE_GNU] (__vdprintf_chk): Likewise.
33302 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33303 under this condition.
33304 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33305 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33306 [__USE_XOPEN2K8] (vdprintf): Likewise.
33307 [__USE_GNU] (__dprintf_chk): Not under this condition.
33308 [__USE_GNU] (__vdprintf_chk): Likewise.
33309 [__USE_GNU] (dprintf): Likewise.
33310 [__USE_GNU] (vdprintf): Likewise.
33312 2012-05-03 Roland McGrath <roland@hack.frob.com>
33314 * elf/Makefile (common-generated): Set this instead of generated for
33315 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33316 $(all-built-dso)-derived lists.
33318 2012-05-03 Andreas Jaeger <aj@suse.de>
33320 * sysdeps/i386/fpu/libm-test-ulps: Update.
33323 * FAQ.in: Likewise.
33324 * scripts/gen-FAQ.pl: Likewise.
33325 * manual/install.texi (Installation): Point to online location of
33327 * Makefile (files-for-dist): Remove FAQ.
33330 2012-05-02 Allan McRae <allan@archlinux.org>
33332 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33333 (LDFLAGS-reldepmod5.so): Likewise.
33334 (LDFLAGS-reldep6mod1.so): Likewise.
33335 (LDFLAGS-reldep6mod4.so): Likewise.
33336 (LDFLAGS-reldep8mod3.so): Likewise.
33337 (LDFLAGS-unload4mod1.so): Likewise.
33338 (LDFLAGS-unload4mod2.so): Likewise.
33339 (LDFLAGS-tst-initorder): Likewise.
33340 (LDFLAGS-tst-initordera2.so): Likewise.
33341 (LDFLAGS-tst-initordera3.so): Likewise.
33342 (LDFLAGS-tst-initordera4.so): Likewise.
33343 (LDFLAGS-tst-initorderb2.so): Likewise.
33344 (LDFLAGS-noload): Likewise.
33345 (LDFLAGS-next): Likewise.
33346 (LDFLAGS-order2mod1.so): Likewise.
33347 (LDFLAGS-order2mod2.so): Likewise.
33348 (LDFLAGS-tst-initorder2): Likewise.
33349 (LDFLAGS-tst-initorder2a.so): Likewise.
33350 (LDFLAGS-tst-initorder2b.so): Likewise.
33351 (LDFLAGS-tst-initorder2c.so): Likewise.
33352 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33354 2012-05-02 David S. Miller <davem@davemloft.net>
33356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33358 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33361 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33363 2012-05-02 Andreas Jaeger <aj@suse.de>
33365 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33366 since we manipulate rounding mode.
33367 (CPPFLAGS-test-idouble.c): Likewise.
33368 (CPPFLAGS-test-ifloat.c): Likewise.
33369 (CFLAGS-test-ldouble.c): Likewise.
33370 (CFLAGS-test-double.c): Likewise.
33371 (CFLAGS-test-float.c): Likewise.
33372 (CFLAGS-test-misc.c): Likewise.
33373 (CFLAGS-test-test-fenv.c): Likewise.
33375 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33379 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33380 comparisons to determine direction to adjust input.
33382 2012-05-01 Roland McGrath <roland@hack.frob.com>
33384 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33385 output to the target.
33387 * scripts/localplt.awk: New file.
33388 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33389 (check-localplt-CFLAGS): Variable removed.
33390 ($(all-built-dso:=.jmprel)): New static pattern rule.
33391 (generated): Add those targets.
33392 (localplt-built-dso): New variable.
33393 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33395 * elf/check-localplt.c: File removed.
33397 * scripts/check-execstack.awk: New file.
33398 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33399 (check-execstack-CFLAGS): Variable removed.
33400 ($(objpfx)check-execstack.h): Target removed.
33401 ($(objpfx)execstack-default): New target.
33402 (generated): Add that instead of check-execstack.h.
33403 ($(all-built-dso:=.phdr)): New static pattern rule.
33404 (generated): Add those targets.
33405 * elf/check-execstack.c: File removed.
33407 * scripts/check-textrel.awk: New file.
33408 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33409 (check-textrel-CFLAGS): Variable removed.
33410 (all-built-dso): Use := to define.o
33411 ($(all-built-dso:=.dyn)): New static pattern rule.
33412 (generated): Add those targets.
33413 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33414 * config.make.in (READELF): New substituted variable.
33415 * elf/check-textrel.c: File removed.
33417 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33419 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33421 * conform/data/ctype.h-data [C99-based standards] (isblank):
33423 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33424 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33425 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33426 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33427 Specify type. Require positive value.
33428 (EILSEQ): Likewise.
33429 (ERANGE): Likewise.
33430 [ISO || POSIX] (EILSEQ): Do not expect.
33431 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33432 Specify type. Require positive value.
33433 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33434 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33435 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33436 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33437 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33438 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33439 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33440 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33441 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33442 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33443 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33444 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33445 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33446 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33447 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33448 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33449 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33450 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33451 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33452 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33453 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33454 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33455 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33456 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33457 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33458 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33459 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33460 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33461 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33462 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33463 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33464 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33465 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33466 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33467 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33468 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33469 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33470 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33471 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33472 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33473 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33474 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33475 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33476 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33477 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33478 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33479 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33480 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33481 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33482 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33483 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33484 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33485 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33486 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33487 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33488 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33489 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33490 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33491 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33492 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33493 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33494 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33495 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33496 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33497 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33498 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33499 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33500 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33501 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33502 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33503 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33504 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33505 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33506 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33507 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33508 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33509 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33511 (FLT_ROUNDS): Expect as macro, not constant.
33512 (FLT_MANT_DIG): Use macro-int-constant.
33513 (DBL_MANT_DIG): Likewise.
33514 (LDBL_MANT_DIG): Likewise.
33515 (FLT_DIG): Likewise.
33516 (DBL_DIG): Likewise.
33517 (LDBL_DIG): Likewise.
33518 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33519 (DBL_MIN_EXP): Likewise.
33520 (LDBL_MIN_EXP): Likewise.
33521 (FLT_MAX_EXP): Use macro-int-constant.
33522 (DBL_MAX_EXP): Likewise.
33523 (LDBL_MAX_EXP): Likewise.
33524 (FLT_MAX_10_EXP): Likewise.
33525 (DBL_MAX_10_EXP): Likewise.
33526 (LDBL_MAX_10_EXP): Likewise.
33527 (FLT_MAX): Use macro-constant.
33528 (DBL_MAX): Likewise.
33529 (LDBL_MAX): Likewise.
33530 (FLT_EPSILON): Use macro-constant. Give upper bound.
33531 (DBL_EPSILON): Likewise.
33532 (LDBL_EPSILON): Likewise.
33533 (FLT_MIN): Likewise.
33534 (DBL_MIN): Likewise.
33535 (LDBL_MIN): Likewise.
33536 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33537 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33538 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33539 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33540 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33541 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33542 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33543 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33544 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33545 [ISO11] (FLT_TRUE_MIN): Likewise.
33546 [ISO11] (LDBL_TRUE_MIN): Likewise.
33547 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33548 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33549 (SCHAR_MIN): Use macro-int-constant. Specify type.
33550 (SCHAR_MAX): Likewise.
33551 (UCHAR_MAX): Likewise.
33552 (CHAR_MIN): Likewise.
33553 (CHAR_MAX): Likewise.
33554 (MB_LEN_MAX): Use macro-int-constant.
33555 (SHRT_MIN): Use macro-int-constant. Specify type.
33556 (SHRT_MAX): Likewise.
33557 (USHRT_MAX): Likewise.
33558 (INT_MAX): Likewise.
33559 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33561 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33563 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33565 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33566 bound negative. Suffix upper bound with "L".
33567 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33569 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33571 [C99-based standards] (LLONG_MAX): Likewise.
33572 [C99-based standards] (ULLONG_MAX): Likewise.
33573 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33575 [ISO11] (max_align_t): Require type.
33576 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33578 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33579 from $CFLAGS, without defining away __attribute__ calls.
33580 (checknamespace): Use $CFLAGS_namespace.
33582 * conform/conformtest.pl (@keywords): Only include C99 keywords
33583 for standards based on C99 or C11.
33585 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33587 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33590 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33591 usability of symbols in #if.
33593 * conform/conformtest.pl: If macro or constant types start
33594 "promoted:", expect the symbol to be of the following type
33595 promoted by the integer promotions.
33597 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33598 in one place. Also handle "macro-constant".
33600 * conform/conformtest.pl: Only accept expected macro values with
33601 "==". Parse all "macro" lines in one place.
33602 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33604 * conform/conformtest.pl: Handle braced types on "constant" lines
33605 instead of handling "typed-constant".
33606 * conform/data/signal.h-data: Use "constant" instead of
33609 * conform/conformtest.pl: Handle "optional-" at start of lines in
33610 one place rather than duplicating several cases. Handle each
33611 format of "macro" line with initial "optional-".
33613 * conform/conformtest.pl: Only accept expected constant or
33614 optional-constant values with "==". Parse all "constant" lines in
33615 one place. Parse all "optional-constant" lines in one place.
33616 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33617 * conform/data/fmtmsg.h-data: Likewise.
33618 * conform/data/netinet/in.h-data: Likewise.
33619 * conform/data/tar.h-data: Likewise.
33620 * conform/data/limits.h-data: Use "==" form on "constant" and
33621 "optional-constant" lines.
33623 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33624 Use -std=c99 for XOPEN2K.
33625 (@knownproblems): Remove.
33626 (newtoken): Don't check %isknown.
33628 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33629 Do not expect macro.
33630 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33631 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33632 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33633 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33634 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33635 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33636 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33637 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33638 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33639 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33640 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33641 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33642 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33643 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33644 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33645 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33646 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33647 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33648 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33649 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33650 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33651 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33652 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33653 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33654 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33655 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33656 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33657 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33658 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33659 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33660 [XPG3] (acosh): Likewise.
33661 [XPG3] (asinh): Likewise.
33662 [XPG3] (atanh): Likewise.
33663 [XPG3] (cbrt): Likewise.
33664 [XPG3] (expm1): Likewise.
33665 [XPG3] (ilogb): Likewise.
33666 [XPG3] (log1p): Likewise.
33667 [XPG3] (logb): Likewise.
33668 [XPG3] (nextafter): Likewise.
33669 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33670 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33671 [XPG3] (remainder): Likewise.
33672 [XPG3] (rint): Likewise.
33673 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33674 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33675 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33676 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33677 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33678 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33679 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33680 [UNIX98 || XOPEN2K] (scalb): Expect.
33681 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33682 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33683 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33684 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33685 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33686 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33687 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33688 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33689 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33690 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33691 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33692 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33693 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33694 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33695 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33696 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33697 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33698 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33699 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33700 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33701 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33702 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33703 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33704 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33705 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33706 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33707 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33708 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33709 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33710 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33711 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33712 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33713 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33714 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33715 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33716 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33717 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33718 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33719 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33720 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33721 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33722 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33723 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33724 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33725 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33726 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33727 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33728 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33729 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33730 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33731 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33732 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33733 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33734 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33735 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33736 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33737 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33738 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33739 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33740 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33741 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33742 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33743 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33744 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33745 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33746 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33747 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33748 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33749 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33750 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33751 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33752 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33753 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33754 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33755 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33756 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33757 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33758 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33759 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33760 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33761 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33762 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33763 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33764 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33765 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33766 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33767 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33768 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33769 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33770 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33771 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33772 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33773 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33774 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33775 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33776 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33777 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33778 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33779 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33780 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33781 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33782 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33783 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33784 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33785 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33786 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33787 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33788 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33789 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33790 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33791 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33792 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33793 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33794 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33795 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33796 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33797 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33798 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33799 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33800 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33801 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33802 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33803 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33804 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33805 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33806 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33807 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33808 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33809 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33810 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33811 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33812 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33813 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33814 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33815 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33816 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33817 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33819 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33820 _XOPEN_SOURCE_EXTENDED for XPG4.
33822 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33824 * Makeconfig (localtime): Remove variable.
33825 (inst_localtime-file): Likewise.
33827 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33848 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33852 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33853 comparisons to determine direction to adjust input.
33854 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33855 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33856 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33858 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33860 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33862 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33863 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33865 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33867 * math/libm-test.inc (nexttoward_test): Add more tests.
33869 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33872 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33873 in version GLIBC_2.1, not GLIBC_2.0.
33874 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33877 2012-04-30 Joseph Myers <joseph@codesourcery.com>
33880 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33882 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33883 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33884 * math/libm-test.inc (acos_test): Add more tests.
33885 (asin_test): Likewise.
33886 * sysdeps/i386/fpu/libm-test-ulps: Update.
33887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33890 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33892 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33893 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33894 * math/libm-test.inc (acos_test_tonearest): New function.
33895 (acos_test_towardzero): Likewise.
33896 (acos_test_downward): Likewise.
33897 (acos_test_upward): Likewise.
33898 (asin_test_tonearest): Likewise.
33899 (asin_test_towardzero): Likewise.
33900 (asin_test_downward): Likewise.
33901 (asin_test_upward): Likewise.
33902 (main): Call the new functions.
33903 * sysdeps/i386/fpu/libm-test-ulps: Update.
33904 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33908 * math/e_exp10.c: Include <float.h>.
33909 (__ieee754_exp10): Handle underflow here rather than multiplying
33910 large negative argument by M_LN10.
33911 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33913 * math/e_exp10l.c: Include <float.h>.
33914 (__ieee754_exp10l): Handle underflow here rather than multiplying
33915 large negative argument by M_LN10l.
33916 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33917 spurious overflow exception on underflow.
33919 2012-04-29 Marek Polacek <polacek@redhat.com>
33921 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33922 (__fortify_function): New macro.
33923 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33924 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33925 __extern_always_inline.
33926 * libio/bits/stdio2.h: Likewise.
33927 * libio/bits/stdio.h: Likewise.
33928 * string/string.h: Likewise.
33929 * string/bits/string3.h: Likewise.
33930 * include/stdio.h: Likewise.
33931 * stdlib/bits/stdlib.h: Likewise.
33932 * stdlib/stdlib.h: Likewise.
33933 * rt/bits/mqueue2.h: Likewise.
33934 * rt/mqueue.h: Likewise.
33935 * posix/bits/unistd.h: Likewise.
33936 * posix/unistd.h: Likewise.
33937 * io/bits/poll2.h: Likewise.
33938 * io/bits/fcntl2.h: Likewise.
33939 * io/fcntl.h: Likewise.
33940 * io/sys/poll.h: Likewise.
33941 * misc/bits/syslog.h: Likewise.
33942 * misc/bits/syslog-ldbl.h: Likewise.
33943 * misc/sys/syslog.h: Likewise.
33944 * socket/bits/socket2.h: Likewise.
33945 * socket/sys/socket.h: Likewise.
33946 * debug/tst-chk1.c: Likewise.
33947 * wcsmbs/bits/wchar2.h: Likewise.
33948 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33949 * wcsmbs/wchar.h: Likewise.
33951 2012-04-29 Andreas Jaeger <aj@suse.de>
33953 * Makerules (tests): Remove enable-check-abi protection.
33954 (check-abi-warn): Remove.
33955 (check-abi-%): Remove check-abi-warn usage.
33957 * configure.in: Remove check-abi configure option.
33958 * configure: Regenerated.
33959 * config.make.in (enable-check-abi): Remove.
33961 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33964 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33965 double functions to double *_finite functions.
33968 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33969 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33971 * stdio-common/Makefile (tests): Add tst-sprintf3.
33972 * stdio-common/tst-sprintf3.c: New file.
33974 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33975 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33977 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33979 * conform/conformtest.pl: Remove duplicate typed-constant
33982 2012-04-28 David S. Miller <davem@davemloft.net>
33984 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33985 (check-abi-%): Remove AWK script prerequisite and explicit
33987 (check-abi): Rewrite to just diff the symlist with the abilist.
33988 (config-tls, config-abi-config): Delete, no longer used.
33989 (update-abi-%): Remove AWK script and explicit abilist directory.
33990 (update-abi): Rewrite to simply compare and conditionally copy the
33991 symlist and the sysdep abilist file. Remove update-abi-config
33993 * abilist/ld.abilist: Remove.
33994 * abilist/libBrokenLocale.abilist: Remove.
33995 * abilist/libanl.abilist: Remove.
33996 * abilist/libcrypt.abilist: Remove.
33997 * abilist/libdl.abilist: Remove.
33998 * abilist/librt.abilist: Remove.
33999 * abilist/libthread_db.abilist: Remove.
34000 * abilist/libutil.abilist: Remove.
34001 * scripts/extract-abilist.awk: Remove.
34002 * scripts/merge-abilist.awk: Remove.
34003 * sysdeps/generic/libcidn.abilist: New file.
34004 * sysdeps/generic/libnss_compat.abilist: New file.
34005 * sysdeps/generic/libnss_db.abilist: New file.
34006 * sysdeps/generic/libnss_dns.abilist: New file.
34007 * sysdeps/generic/libnss_files.abilist: New file.
34008 * sysdeps/generic/libnss_hesiod.abilist: New file.
34009 * sysdeps/generic/libnss_nis.abilist: New file.
34010 * sysdeps/generic/libnss_nisplus.abilist: New file.
34011 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34012 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34013 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34015 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34016 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34017 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34018 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34019 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34020 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34021 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34022 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34023 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34025 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34026 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34027 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34028 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34030 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34031 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34032 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34033 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34034 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34035 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34037 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34038 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34039 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34041 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34144 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34145 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34146 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34148 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34149 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34150 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34151 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34152 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34153 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34154 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34155 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34156 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34157 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34209 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34211 * conform/conformtest.pl: Fix typo in handling typed-constant from
34214 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34216 * README: Cut down references to pre-2.6 Linux kernels and
34217 Linuxthreads. Update lists of configurations in libc and ports
34218 and sort alphabetically. Say "or newer" with Linux kernel version
34221 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34223 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34226 * math/libm-test.inc (logb_test_downward): New test to expose
34227 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34230 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34233 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34235 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34236 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34238 2012-04-26 Joseph Myers <joseph@codesourcery.com>
34240 * sysdeps/unix/i386/brk.S: Remove file.
34241 * sysdeps/unix/i386/dl-brk.S: Likewise.
34242 * sysdeps/unix/i386/pipe.S: Likewise.
34243 * sysdeps/unix/i386/sigreturn.S: Likewise.
34244 * sysdeps/unix/i386/syscall.S: Likewise.
34245 * sysdeps/unix/i386/vfork.S: Likewise.
34246 * sysdeps/unix/i386/wait.S: Likewise.
34248 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34249 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34251 * configure.in (arm*-none*): Do not allow without
34252 --enable-hacker-mode.
34253 (netbsd*): Remove case setting base_os.
34254 (386bsd*): Likewise.
34255 (freebsd*): Likewise.
34258 (sunos*): Likewise.
34259 (ultrix*): Likewise.
34260 (newsos*): Likewise.
34261 (dynix*): Likewise.
34267 (minix*): Likewise.
34268 (irix4*): Likewise.
34269 (irix6*): Likewise.
34270 (solaris[2-9]*): Likewise.
34272 * configure: Regenerated.
34274 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34277 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34278 overflow or cancellation in calculating denominator.
34279 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34280 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34281 down expression to avoid unexpected rounding in newer GCCs.
34282 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34284 2012-04-26 David S. Miller <davem@davemloft.net>
34286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34287 long-double compat symbols.
34288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34302 2012-04-25 David S. Miller <davem@davemloft.net>
34304 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34305 HWCAP_* values only after the memory barriers have been defined.
34306 (atomic_full_barrier): Define.
34307 (atomic_read_barrier): Define.
34308 (atomic_write_barrier): Define.
34310 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34312 * shlib-versions: Add libgcc_s version information.
34313 * sysdeps/generic/libgcc_s.h: Remove.
34314 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34316 * sysdeps/gnu/unwind-resume.c: Likewise.
34317 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34319 2012-04-25 David S. Miller <davem@davemloft.net>
34321 * sysdeps/unix/sparc/brk.S: Delete.
34322 * sysdeps/unix/sparc/dl-brk.S: Delete.
34323 * sysdeps/unix/sparc/pipe.S: Delete.
34324 * sysdeps/unix/sparc/sysdep.S: Delete.
34325 * sysdeps/unix/sparc/sysdep.h: Delete.
34326 * sysdeps/unix/sparc/vfork.S: Delete.
34327 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34328 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34329 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34330 (ret_ERRVAL, r0, r1, MOVE): Define.
34331 (JUMPTARGET): Remove.
34332 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34333 sysdeps/unix/sparc/sysdep.h
34334 (ENTRY, END): Remove.
34335 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34337 2012-04-25 Joseph Myers <joseph@codesourcery.com>
34339 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34340 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34343 * timezone/README: Update upstream location and email address for
34345 * timezone/zdump.c: Update from tzcode 2012b.
34346 * timezone/zic.c: Likewise.
34348 * configure.in (libc_cv_as_needed): Remove test.
34349 * configure: Regenerated.
34350 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34351 conditional definition.
34352 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34353 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34354 * config.make.in (have-as-needed): Remove variable.
34356 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34357 Paul Pluzhnikov <ppluzhnikov@google.com>
34359 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34362 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34364 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34365 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34366 * sysdeps/sh/strlen.S: Likewise.
34368 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34370 * sysdeps/unix/fork.S: Remove file.
34371 * sysdeps/unix/i386/fork.S: Likewise.
34372 * sysdeps/unix/sparc/fork.S: Likewise.
34374 * sysdeps/unix/system.c: Remove file.
34375 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34377 * sysdeps/unix/getegid.S: Remove file.
34378 * sysdeps/unix/geteuid.S: Likewise.
34380 2012-04-24 Roland McGrath <roland@hack.frob.com>
34382 * scripts/check-localplt.awk: New file.
34383 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34385 * scripts/data/localplt-generic.data: Add a comment.
34387 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34388 NODE when __dir_mkfile failed.
34389 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34390 Reported by Ludovic Courtès <ludo@gnu.org>.
34392 2012-04-24 Andreas Jaeger <aj@suse.de>
34394 * Makerules (common-clean): Also remove gen-as-const-headers
34397 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34399 * Makerules (native-compile): Do not change working directory for
34400 build. Use $(OUTPUT_OPTION) in command.
34401 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34403 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34406 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34407 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34408 * math/libm-test.inc (floor_test): Add more tests.
34409 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34411 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34413 * sysdeps/unix/getdents.c: Remove file.
34414 * sysdeps/unix/sysv/getdents.c: Likewise.
34415 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34417 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34418 sysdeps/unix/mman/syscalls.list.
34420 (mprotect): Likewise.
34422 (munmap): Likewise.
34423 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34424 * sysdeps/unix/mman/syscalls.list: Remove.
34425 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34427 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34428 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34429 * configure: Regenerated.
34430 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34431 $(libgcc_s_suffix).
34432 * config.make.in (libgcc_s_suffix): Remove variable.
34434 2012-04-23 Joseph Myers <joseph@codesourcery.com>
34436 * sysdeps/unix/sysv/gethostname.c: Move to ...
34437 * sysdeps/posix/gethostname.c: ... here.
34439 * sysdeps/unix/execve.S: Remove file.
34441 * sysdeps/unix/_exit.S: Remove file.
34443 2012-04-23 Andreas Jaeger <aj@suse.de>
34446 * manual/Makefile: Remove make dist support, there's no
34447 need for a stand-alone documentation tar ball.
34448 (TEXI2DVI): Define always, it's not in Makeconfig.
34451 (edition): Removed.
34452 (glibc-doc-$(edition).tar): Removed
34456 (ETAGS): Remove, it's in Makeconfig.
34457 (move-if-change): Remove, it's in Makeconfig.
34459 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
34462 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34463 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34464 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34465 (strtod_l, strtof_l, strtold_l): Remove __wur.
34466 It is not necessarily an error to ignore strtol's return value.
34467 One can reliably look at the stored endptr to decide whether
34468 the number had valid syntax.
34470 2012-04-21 Andreas Jaeger <aj@suse.de>
34473 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34475 2012-04-21 Joseph Myers <joseph@codesourcery.com>
34477 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34478 * sysdeps/unix/sysv/Versions: Remove file.
34480 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34485 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
34488 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34489 version from __vm86.
34491 2012-04-20 Joseph Myers <joseph@codesourcery.com>
34493 * sysdeps/unix/common/lxstat.c: Remove file.
34494 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34496 * sysdeps/unix/sysv/Makefile: Remove file.
34498 * sysdeps/unix/sysv/direct.h: Remove file.
34500 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34501 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34502 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34503 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34504 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34505 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34506 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34508 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34510 * sysdeps/unix/xmknod.c: Remove file.
34511 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34513 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34515 * sysdeps/unix/sysv/i386/time.S: Remove file.
34517 * sysdeps/unix/fxstat.c: Remove file.
34518 * sysdeps/unix/xstat.c: Likewise.
34519 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34521 * sysdeps/unix/sysv/sigaction.c: Remove file.
34523 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34524 (sysdep_headers): Remove variable.
34525 [termio.h not in sysdep_headers] (generated): Likewise.
34526 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34527 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34528 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34529 * sysdeps/unix/sysv/tcflow.c: Likewise.
34530 * sysdeps/unix/sysv/tcflush.c: Likewise.
34531 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34532 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34533 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34534 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34535 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34537 * sysdeps/unix/siglist.c: Remove file.
34539 * sysdeps/unix/getppid.S: Remove file.
34541 * sysdeps/unix/mkdir.c: Remove file.
34542 * sysdeps/unix/rmdir.c: Likewise.
34544 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34546 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34548 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34549 errlist-compat value.
34551 2012-04-18 David S. Miller <davem@davemloft.net>
34553 * sysdeps/generic/memcopy.h (reg_char): Delete.
34554 * debug/strcat_chk.c: Use char, not reg_char.
34555 * debug/strcpy_chk.c: Likewise.
34556 * debug/strncat_chk.c: Likewise.
34557 * debug/strncpy_chk.c: Likewise.
34558 * string/memchr.c: Likewise.
34559 * string/memrchr.c: Likewise.
34560 * string/rawmemchr.c: Likewise.
34561 * string/strcat.c: Likewise.
34562 * string/strchr.c: Likewise.
34563 * string/strchrnul.c: Likewise.
34564 * string/strcmp.c: Likewise.
34565 * string/strcpy.c: Likewise.
34566 * string/strncat.c: Likewise.
34567 * string/strncmp.c: Likewise.
34568 * string/strncpy.c: Likewise.
34570 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34572 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34573 __builtin_memcopy is called when src and dest ranges are known to not
34576 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34578 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34579 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34580 fwd_align_merge macro call.
34581 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34582 bwd_align_merge macro call.
34583 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34585 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34587 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34588 bwd_align_merge macros.
34589 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34590 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34591 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34593 2012-04-18 David S. Miller <davem@davemloft.net>
34595 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34597 2012-04-18 Andreas Jaeger <aj@suse.de>
34600 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34601 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34602 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34604 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34605 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34606 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34608 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34609 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34610 Adjust for changed ldbl-128 files.
34612 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34613 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34614 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34616 2012-04-17 David S. Miller <davem@davemloft.net>
34618 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34620 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34622 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34623 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34624 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34625 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34626 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34627 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34629 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34632 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34633 * math/libm-test.inc: Add ilogb errno and exception tests.
34634 * math/w_ilogb.c: New file: ilogb wrapper.
34635 * math/w_ilogbf.c: New file: ilogbf wrapper.
34636 * math/w_ilogbl.c: New file: ilogbl wrapper.
34637 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34638 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34639 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34640 exception being thrown with 0.0 as argument.
34641 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34642 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34643 exception being thrown with 0.0 as argument.
34644 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34645 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34646 exception being thrown with 0.0 as argument.
34647 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34648 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34649 exception being thrown with 0.0 as argument.
34650 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34651 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34652 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34653 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34654 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34655 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34656 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34657 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34658 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34660 2012-04-17 Petr Baudis <pasky@ucw.cz>
34662 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34665 2012-04-16 Marek Polacek <polacek@redhat.com>
34667 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34669 2012-04-16 Marek Polacek <polacek@redhat.com>
34671 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34672 operands of fdivp instruction.
34674 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34676 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34677 * elf/tst-auditmod3b.c: Likewise.
34678 * elf/tst-auditmod4b.c: Likewise.
34679 * elf/tst-auditmod5b.c: Likewise.
34680 * elf/tst-auditmod6b.c: Likewise.
34681 * elf/tst-auditmod6c.c: Likewise.
34682 * elf/tst-auditmod7b.c: Likewise.
34683 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34684 * sysdeps/x86_64/preconfigure.in: Likewise.
34685 * sysdeps/x86_64/preconfigure: Regenerated.
34687 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34689 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34692 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
34694 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34695 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34697 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34700 * locale/iso-639.def: Fix gl language name. Spotted by
34703 2012-04-12 Roland McGrath <roland@hack.frob.com>
34706 * libio/libio.h (__io_write_fn): Update comment.
34708 2012-04-12 Petr Baudis <pasky@ucw.cz>
34711 * stdio.texi (Hook Functions): The user provided writer function
34712 is not allowed to return -1.
34714 2012-04-11 David S. Miller <davem@davemloft.net>
34716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34718 2012-04-11 Mike Frysinger <vapier@gentoo.org>
34720 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34721 Add a leading slash to rtkaio.
34723 2012-04-11 Jim Meyering <meyering@redhat.com>
34726 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34727 It is not necessarily an error to ignore fwrite's return
34728 value. One can reliably use ferror to test for errors after
34731 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34733 * bits/types.h (__snseconds_t): New type.
34734 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34736 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34737 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34738 (__SNSECONDS_T_TYPE): Likewise.
34739 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34740 (__SNSECONDS_T_TYPE): Likewise.
34741 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34742 (__SNSECONDS_T_TYPE): Likewise.
34744 2012-04-10 Andreas Jaeger <aj@suse.de>
34747 * manual/time.texi (Processor Time): Return type of times is
34748 elapsed real time since an arbitrary point in the past.
34749 (CPU Time): Move CLK_TCK from here...
34750 (Processor Time): ...to here. Correct description.
34751 * manual/conf.texi (Constants for Sysconf): Correct description of
34754 2012-04-10 David S. Miller <davem@davemloft.net>
34757 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34758 where the is a gap between DT_REL(A) and DT_JMPREL.
34760 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34762 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34763 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34764 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34766 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34768 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34769 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34770 (dl_main): Handle --inhibit-cache.
34771 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34773 * elf/dl-load.c (_dl_map_object): Use it.
34774 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34776 2012-04-09 Joseph Myers <joseph@codesourcery.com>
34779 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34780 (__ieee754_powl): Saturate large exponents rather than testing for
34781 overflow of y*log2(x).
34782 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34783 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34787 * math/s_ctan.c: Include <float.h>.
34788 (__ctan): Avoid internal overflow or cancellation in calculating
34790 * math/s_ctanf.c: Likewise.
34791 * math/s_ctanl.c: Likewise.
34792 * math/s_ctanh.c: Likewise.
34793 * math/s_ctanhf.c: Likewise.
34794 * math/s_ctanhl.c: Likewise.
34795 * math/libm-test.inc (ctan_test): Add more tests.
34796 (ctanh_test): Likewise.
34797 * sysdeps/i386/fpu/libm-test-ulps: Update.
34798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34800 2012-04-09 Andreas Jaeger <aj@suse.de>
34803 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34804 is an optional BSD extension.
34807 * manual/stdio.texi (Opening Streams): Document additional fopen
34810 2012-04-09 Roland McGrath <roland@hack.frob.com>
34812 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34813 %eax without telling the compiler.
34815 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34818 * manual/install.texi: Use sourceware.org.
34820 2012-04-09 Joseph Myers <joseph@codesourcery.com>
34823 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34824 (__ieee754_pow): Generate overflow and underflow using huge*huge
34825 and tiny*tiny rather than just returning constant infinity or zero
34826 for large exponents.
34827 * math/libm-test.inc (pow_test): Require overflow exceptions for
34828 applicable cases of large exponents.
34831 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34832 (__ieee754_pow): Use iterative multiplication algorithm only for
34833 integer exponents with absolute value below 1024. Check for odd
34834 integer exponents when using algorithm for real exponents.
34835 * math/libm-test.inc (pow_test): Add more tests.
34836 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34838 2012-04-08 Joseph Myers <joseph@codesourcery.com>
34841 * math/libm-test.inc (exp_test): Do not allow overflow exception
34844 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34847 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34848 instead of __kernel_standard_f.
34850 2012-04-08 Mike Frysinger <vapier@gentoo.org>
34852 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34853 * sysdeps/x86_64/memset_chk.S: Likewise.
34855 2012-04-08 Andreas Jaeger <aj@suse.de>
34858 * manual/startup.texi (Environment Access): Describe return value
34859 for putenv and setenv.
34862 * manual/filesys.texi (Directory Entries): Add description for
34866 * manual/filesys.texi (Directory Entries): Clarify that it's file
34867 system not operating system in the description of DT_UNKNOWN.
34870 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34872 2012-04-08 Stephen Compall <s11@member.fsf.org>
34875 * manual/llio.texi (Opening and Closing Files): Add cross
34876 reference to explain mode argument.
34878 2012-04-07 Mike Frysinger <vapier@gentoo.org>
34880 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34881 * sysdeps/x86_64/memset_chk.S: Likewise.
34883 2012-04-07 David S. Miller <davem@davemloft.net>
34885 * elf/elf.h (R_SPARC_WDISP10): Define.
34886 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34888 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34889 R_SPARC_SIZE64 and R_SPARC_H34.
34891 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34893 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34894 conditions and remove no longer applicable assertion.
34896 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34898 * bits/byteswap.h: Include <features.h>.
34899 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34900 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34902 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34904 * bits/byteswap.h (__bswap_16): Removed.
34905 Include <bits/byteswap-16.h> to get __bswap_16.
34906 * sysdeps/i386/bits/byteswap.h: Likewise.
34907 * sysdeps/s390/bits/byteswap.h: Likewise.
34908 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34909 * bits/byteswap-16.h: New file.
34910 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34911 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34912 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34913 * string/Makefile (headers): Add bits/byteswap-16.h.
34915 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34918 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34920 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34921 * nss/tst-nss-static.c: New.
34923 2012-04-06 Robert Millan <rmh@gnu.org>
34926 * manual/llio.texi (File Position Primitive): lseek
34927 refers to WHENCE when it really means OFFSET.
34929 2012-04-06 Andreas Jaeger <aj@suse.de>
34931 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34932 strncmp declarations.
34934 * abilist/libc.abilist: Add __poll and __ppoll.
34936 2012-04-05 David S. Miller <davem@davemloft.net>
34938 * scripts/check-local-headers.sh: Accept a host triplet in the
34939 path matched by the exclude regexp.
34941 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34943 * sysdeps/powerpc/powerpc32/dl-machine.h
34944 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34945 * sysdeps/s390/s390-32/dl-machine.h
34946 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34947 * sysdeps/sparc/sparc32/dl-machine.h
34948 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34949 * sysdeps/sparc/sparc64/dl-machine.h
34950 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34952 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34954 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
34955 undefined symbol errors.
34957 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
34960 2012-04-05 Michael Matz <matz@suse.de>
34963 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34965 2012-04-05 Andreas Jaeger <aj@suse.de>
34968 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34971 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34973 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34974 which ROUND is no valid rounding mode.
34976 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34978 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34980 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34982 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34984 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34985 an exception using FPU order intentionally.
34987 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34989 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34990 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34991 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34992 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34994 2012-04-05 Simon Josefsson <simon@josefsson.org>
34997 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34998 EINVAL when BUFLEN is too smal.
35000 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35003 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35004 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35006 2012-04-03 Andreas Jaeger <aj@suse.de>
35009 * manual/setjmp.texi (System V contexts): Fix sentence.
35012 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35013 New macro for this case.
35014 [!__GNUC__] (__bswap_64): New inline function for this case.
35015 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35016 * bits/byteswap.h: Likewise.
35017 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35018 ull, guard with __GLIBC_HAVE_LONG_LONG.
35020 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35021 __GLIBC_HAVE_LONG_LONG.
35023 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35024 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35026 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35029 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35030 inptr and inend, rather than using last_ch.
35032 2012-04-02 David S. Miller <davem@davemloft.net>
35034 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35035 * stdio-common/printf-parse.h (read_int): Change return type to
35036 'int', return -1 on INT_MAX overflow.
35037 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35038 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35039 overflows INT_MAX. Check for overflow of in-format-string precision
35040 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35041 SIZE_MAX not INT_MAX for integer overflow test.
35042 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35043 skip the construct in the format string but do not record anything.
35044 * stdio-common/bug22.c: Adjust to test both width/prevision
35045 INT_MAX overflow as well as total length INT_MAX overflow. Check
35046 explicitly for proper errno values.
35048 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35050 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35052 * string/test-strcmp.c [! WIDE]: Likewise.
35053 * time/tst-mktime2.c: Likewise for INT_MAX.
35054 * string/test-string.h: #include <sys/param.h> for MIN.
35056 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35057 * sysdeps/i386/init-first.c (init): Likewise.
35058 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35059 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35060 * sysdeps/sh/init-first.c (init): Likewise.
35062 2012-04-01 Ulrich Drepper <drepper@gmail.com>
35064 * po/ru.po: Update from translation team.
35065 * po/vi.po: Likewise.
35067 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35069 * resolv/nss_dns/dns-host.c: Merge copyright years.
35071 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35073 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35074 Optimize memcpy with prefetch if
35075 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35076 src, dst pointers have unequal 16 byte alignments.
35078 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35081 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35082 from a CNAME entry and return the minimum ttl for the query.
35083 (gaih_getanswer_slice): Likewise.
35085 2012-03-30 Jeff Law <law@redhat.com>
35087 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35089 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35090 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35092 * resolv/nss_dns/dns-host.c: Update copyright year.
35094 2012-03-30 Ulrich Drepper <drepper@gmail.com>
35096 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35097 requests to save a system call. Fix check that all bytes are sent.
35099 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35100 comments for sendmmsg.
35102 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35105 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35106 with only 1 character between 0x0041 and 0x01b0.
35107 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35108 * wcsmbs/tst-mbsnrtowcs.c: New file.
35110 2012-03-29 David S. Miller <davem@davemloft.net>
35112 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35113 small copies by hand.
35115 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35118 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35119 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35122 2012-03-28 David S. Miller <davem@davemloft.net>
35124 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35125 that branches into memcpy.
35126 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35127 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35128 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35129 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35130 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35132 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35133 implementation too.
35134 * sysdeps/sparc/mempcpy.S: New file.
35136 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35137 the IFUNC routine in the libc case.
35138 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35140 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35141 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35142 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35143 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35144 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35145 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35146 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35147 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35149 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35150 loop to 256 bytes instead of 64 bytes and fix test signedness.
35152 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35153 * sysdeps/sparc/sparc32/Makefile: rather than here...
35154 * sysdeps/sparc/sparc64/Makefile: and here.
35156 2012-03-28 Ulrich Drepper <drepper@gmail.com>
35158 * malloc/mallocbug.c: Avoid warnings about unused variables.
35160 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35163 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35164 in the right place. Discard and retry query if response is
35165 larger than input buffer size.
35167 2012-03-28 Joseph Myers <joseph@codesourcery.com>
35172 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35173 x for large integer exponent.
35174 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35175 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35176 sign of result as needed afterwards.
35177 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35178 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35179 result for underflowing pow the same as for overflow.
35180 (__kernel_standard_l): Handle powl overflow and underflow here
35181 rather than calling __kernel_standard.
35182 * math/libm-test.inc (pow_test): Add more tests.
35197 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35198 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35199 (__kernel_standard_l): New function.
35200 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35202 * math/w_acosl.c (__acosl): Likewise.
35203 * math/w_asinl.c (__asinl): Likewise.
35204 * math/w_atan2l.c (__atan2l): Likewise.
35205 * math/w_atanhl.c (__atanhl): Likewise.
35206 * math/w_coshl.c (__coshl): Likewise.
35207 * math/w_exp10l.c (__exp10l): Likewise.
35208 * math/w_exp2l.c (__exp2l): Likewise.
35209 * math/w_fmodl.c (__fmodl): Likewise.
35210 * math/w_hypotl.c (__hypotl): Likewise.
35211 * math/w_j0l.c (__j0l, __y0l): Likewise.
35212 * math/w_j1l.c (__j1l, __y1l): Likewise.
35213 * math/w_jnl.c (__jnl, __ynl): Likewise.
35214 * math/w_lgammal.c (__lgammal): Likewise.
35215 * math/w_log10l.c (__log10l): Likewise.
35216 * math/w_log2l.c (__log2l): Likewise.
35217 * math/w_logl.c (__logl): Likewise.
35218 * math/w_powl.c (__powl): Likewise.
35219 * math/w_remainderl.c (__remainderl): Likewise.
35220 * math/w_scalbl.c (sysv_scalbl): Likewise.
35221 * math/w_sinhl.c (__sinhl): Likewise.
35222 * math/w_sqrtl.c (__sqrtl): Likewise.
35223 * math/w_tgammal.c (__tgammal): Likewise.
35224 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35225 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35226 * math/libm-test.inc (acos_test): Add more tests.
35227 (acosh_test): Likewise.
35228 (asin_test): Likewise.
35229 (atanh_test): Likewise.
35230 (exp_test): Likewise.
35231 (exp10_test): Likewise.
35232 (exp2_test): Likewise.
35233 (expm1_test): Likewise.
35234 (lgamma_test): Likewise.
35235 (log_test): Likewise.
35236 (log10_test): Likewise.
35237 (log1p_test): Likewise.
35238 (log2_test): Likewise.
35239 (pow_test): Do not allow some spurious overflow exceptions.
35240 (sqrt_test): Add more tests.
35241 (tgamma_test): Likewise.
35242 (y0_test): Likewise.
35243 (y1_test): Likewise.
35244 (yn_test): Likewise.
35246 2012-03-27 Anton Blanchard <anton@samba.org>
35248 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35250 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35251 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35252 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35254 2012-03-27 David S. Miller <davem@davemloft.net>
35256 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35258 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35259 have-as-vis3 check.
35261 2012-03-27 Andreas Jaeger <aj@suse.de>
35263 * sysdeps/x86_64/elf/configure.in: Moved to ...
35264 * sysdeps/x86_64/configure.in: ... here.
35265 * sysdeps/x86_64/elf/start.S: Moved to ...
35266 * sysdeps/x86_64/start.S: ... here.
35267 * sysdeps/x86_64/elf/configure: Delete.
35269 * sysdeps/x86_64/configure.in: Merge contents from
35270 sysdeps/i386/configure.in (without i686 check).
35272 * sysdeps/i386/elf/Versions: Merge into ...
35273 * sysdeps/i386/Versions: ... this.
35274 * sysdeps/i386/elf/Versions: Delete file.
35275 * sysdeps/i386/elf/start.S: Moved to ...
35276 * sysdeps/i386/start.S: ...here.
35277 * sysdeps/i386/elf/configure.in: Merge into...
35278 * sysdeps/i386/configure.in: ...here.
35279 * sysdeps/i386/elf/configure.in: Delete file.
35280 * sysdeps/i386/elf/configure: Delete file.
35282 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35283 * debug/backtracesyms.c: ... here.
35284 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35285 * debug/backtracesymsfd.c: ... here.
35286 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35287 * sysdeps/generic/ifunc-sel.h: ... here.
35289 * sysdeps/unix/i386/start.c: Delete file.
35290 * sysdeps/unix/sparc/start.c: Delete file.
35291 * sysdeps/unix/start.c: Delete file.
35293 * sysdeps/sh/elf/configure.in: Moved to ...
35294 * sysdeps/sh/configure.in: ... here.
35295 * sysdeps/sh/elf/start.S: Moved to ...
35296 * sysdeps/sh/start.S: ... here.
35297 * sysdeps/sh/elf/configure: Delete file.
35299 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35300 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35301 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35302 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35303 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35304 * sysdeps/powerpc/powerpc64/start.S: here.
35305 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35306 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35307 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35308 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35309 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35311 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35312 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35313 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35314 * sysdeps/powerpc/powerpc32/start.S: ... here.
35315 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35316 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35317 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35319 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35320 * sysdeps/powerpc/ifunc-sel.h: ... here.
35321 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35322 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35324 * sysdeps/sparc/elf/configure.in: Moved to ...
35325 * sysdeps/sparc/configure.in: ... here.
35326 * sysdeps/sparc/elf/configure: Delete file.
35327 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35328 * sysdeps/sparc/sparc32/start.S: ... here.
35329 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35330 * sysdeps/sparc/sparc64/start.S: ... here.
35331 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35332 * sysdeps/sparc/sparc32/Makefile: ... this.
35333 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35334 * sysdeps/sparc/sparc64/Makefile: ... this.
35336 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35337 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35338 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35339 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35340 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35341 * sysdeps/s390/s390-32/setjmp.S: ... here.
35342 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35343 * sysdeps/s390/s390-32/configure.in: ... here.
35344 * sysdeps/s390/s390-32/elf/configure: Delete file.
35345 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35346 * sysdeps/s390/s390-32/start.S: ... here.
35348 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35349 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35350 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35351 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35352 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35353 * sysdeps/s390/s390-64/setjmp.S: ... here.
35354 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35355 * sysdeps/s390/s390-64/configure.in: ... here
35356 * sysdeps/s390/s390-64/elf/configure: Delete file.
35357 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35358 * sysdeps/s390/s390-64/start.S: ... here.
35359 * sysdeps/s390/s390-64/elf/configure: Delete.
35361 * configure.in: Remove support for elf directories in sysdeps.
35363 * configure: Regenerated.
35364 * sysdeps/i386/configure: Regenerated.
35365 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35366 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35367 * sysdeps/s390/s390-32/configure: Regenerated.
35368 * sysdeps/s390/s390-64/configure: Regenerated.
35369 * sysdeps/sh/configure: Regenerated.
35370 * sysdeps/sparc/configure: Regenerated.
35371 * sysdeps/x86_64/configure: Regenerated.
35373 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35377 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35378 denormal result into account.
35380 2012-03-25 Roland McGrath <roland@hack.frob.com>
35382 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35383 Reported by Allan McRae <allan@archlinux.org>.
35385 2012-03-23 Jeff Law <law@redhat.com>
35387 * nss/getnssent.c (__nss_getent): Fix typo.
35389 2012-03-23 David S. Miller <davem@davemloft.net>
35391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35393 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35395 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35396 to pad to uint64_t for each field.
35397 (dl_tls_index): Replace unsigned long with uint64_t.
35399 2012-03-23 Daniel Jacobowitz <dmj@google.com>
35400 Paul Pluzhnikov <ppluzhnikov@google.com>
35403 * grp/Makefile (otherlibs): Don't set it.
35404 * inet/Makefile (otherlibs): Likewise.
35405 * login/Makefile (otherlibs): Likewise.
35406 * nscd/Makefile (otherlibs): Likewise.
35407 * posix/Makefile (otherlibs): Likewise.
35408 * pwd/Makefile (otherlibs): Likewise.
35409 * rt/Makefile (otherlibs): Likewise.
35410 * sunrpc/Makefile (otherlibs): Likewise.
35411 * nss/Makefile (otherlibs): Likewise.
35412 Add libnss_files to routines and static-only-routines.
35413 ($(objpfx)getent): Remove rule.
35414 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35415 static-only-routines.
35417 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35420 * math/s_cexp.c: Include <float.h>.
35421 (__cexp): Handle exp result overflowing not necessarily
35422 overflowing both real and imaginary parts of result.
35423 * math/s_cexpf.c: Likewise.
35424 * math/s_cexpl.c: Likewise.
35425 * math/libm-test.inc (cexp_test): Add more tests.
35426 * sysdeps/i386/fpu/libm-test-ulps: Update.
35427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35429 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35431 * include/link.h (ELFW): New macro.
35432 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35433 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35435 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35437 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35440 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35442 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35444 (struct La_x32_retval): Likewise.
35446 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35448 * sysdeps/x86_64/preconfigure.in: New file.
35449 * sysdeps/x86_64/preconfigure: New generated file.
35451 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35454 * math/e_exp2l.c: Include <float.h>.
35455 (__ieee754_exp2l): Handle overflow and underflow cases
35456 separately. Only pass fractional part of argument to
35458 * math/libm-test.inc (exp2_test): Add more tests.
35460 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35461 negating x to take absolute value.
35462 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35464 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35465 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35467 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35468 computing low part if x was negated.
35469 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35471 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35473 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35474 la_x32_gnu_pltexit.
35475 (pltexit): Cast int_retval to ptrdiff_t.
35476 * elf/tst-auditmod3b.c: Likewise.
35477 * elf/tst-auditmod4b.c: Likewise.
35478 * elf/tst-auditmod5b.c: Likewise.
35479 * elf/tst-auditmod6b.c: Likewise.
35480 * elf/tst-auditmod6c.c: Likewise.
35481 * elf/tst-auditmod7b.c: Likewise.
35483 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35484 and x32_gnu_pltexit.
35486 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35487 __ELF_NATIVE_CLASS.
35488 (La_x32_regs): New macro.
35489 (La_x32_retval): Likewise.
35490 (la_x32_gnu_pltenter): New function prototype.
35491 (la_x32_gnu_pltexit): Likewise.
35493 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35495 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35500 * configure.in (libc_cv_cc_nofma): Check for option to disable
35501 generation of FMA instructions.
35502 * configure: Regenerate.
35503 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35504 * sysdeps/ieee754/dbl-64/Makefile: New file.
35505 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35506 Remove brandred-fma4.
35507 (CFLAGS-brandred-fma4.c): Remove.
35508 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35509 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35511 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35514 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35516 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35517 LLONG_MAX != LONG_MAX.
35518 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35519 (_fitoa_word): Likewise.
35520 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35521 LLONG_MAX != LONG_MAX.
35522 * stdio-common/_itowa.h: Include <_itoa.h>.
35523 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35524 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35525 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35526 only if not defined.
35527 (_ITOA_WORD_TYPE): Likewise.
35528 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35529 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35531 2012-03-21 David S. Miller <davem@davemloft.net>
35533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35535 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35537 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35538 of x86_64 when setting libc_cv_slibdir, libdir and
35540 * sysdeps/unix/sysv/linux/configure: Regenerated.
35542 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35544 * manual/lang.texi (Old Varargs): Remove section.
35545 (How Variadic): Update menu.
35546 (va_start): Do not mention varargs.h.
35548 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35549 Joseph Myers <joseph@codesourcery.com>
35551 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35553 * configure: Regenerated.
35555 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35557 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35558 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35561 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35564 * Makefile (files-for-dist): Remove NOTES.
35565 (NOTES): Remove rule.
35566 * README: Don't refer to NOTES.
35567 * manual/creature.texi: Don't include macros.texi.
35568 * manual/intro.texi (creature.texi): Remove comment referring to
35571 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35572 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35573 * configure: Regenerated.
35574 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35575 LIBC_TRY_CC_OPTION.
35576 (libc_cv_as_i686): Likewise.
35577 (libc_cv_cc_avx): Likewise.
35578 (libc_cv_cc_sse2avx): Likewise.
35579 (libc_cv_cc_fma4): Likewise.
35580 (libc_cv_cc_novzeroupper): Likewise.
35581 * sysdeps/i386/configure: Regenerated.
35584 * sysdeps/i386/fpu/s_cexp.S: Remove.
35585 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35586 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35587 * math/libm-test.inc (cexp_test): Add more tests.
35588 * sysdeps/i386/fpu/libm-test-ulps: Update.
35589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35591 2012-03-21 Allan McRae <allan@archlinux.org>
35593 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35595 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35598 * math/w_exp2.c: Do not include <float.h>.
35599 (o_threshold, u_threshold): Remove.
35600 (__exp2): Calculate result before checking finiteness and calling
35602 * math/w_exp2f.c: Likewise.
35603 * math/w_exp2l.c: Likewise.
35604 * math/libm-test.inc (exp2_test): Require overflow exception for
35608 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35609 range of signed 64-bit integers before using fistpll. Remove
35610 checks for whether integers fit in mantissa bits.
35611 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35612 the range of signed 32-bit integers before using fistpl. Remove
35613 checks for whether integers fit in mantissa bits.
35614 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35615 (__ieee754_powl): Test for y outside the range of signed 64-bit
35616 integers before using fistpll. Reduce 64-bit values to 63-bit
35618 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35619 divide-by-zero is raised for zero to large negative powers.
35620 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35621 (__ieee754_powl): Test for y outside the range of signed 64-bit
35622 integers before using fistpll. Reduce 64-bit values to 63-bit
35624 * math/libm-test.inc (pow_test): Add more tests.
35626 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35628 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35629 <stdio-common/_itoa.h>.
35630 * debug/segfault.c: Likewise.
35631 * elf/dl-cache.c: Likewise.
35632 * elf/dl-minimal.c: Likewise.
35633 * elf/dl-misc.c: Likewise.
35634 * elf/dl-sysdep.c: Likewise.
35635 * elf/dl-version.c: Likewise.
35636 * elf/rtld.c: Likewise.
35637 * hurd/hurdsock.c: Likewise.
35638 * hurd/lookup-retry.c: Likewise.
35639 * malloc/malloc.c: Likewise.
35640 * malloc/mtrace.c: Likewise.
35641 * nscd/nscd_getgr_r.c: Likewise.
35642 * nscd/nscd_getpw_r.c: Likewise.
35643 * nscd/nscd_getserv_r.c: Likewise.
35644 * posix/getopt_init.c: Likewise.
35645 * posix/wordexp.c: Likewise.
35646 * stdio-common/_itoa.c: Likewise.
35647 * stdio-common/printf_fphex.c: Likewise.
35648 * stdio-common/vfprintf.c: Likewise.
35649 * string/_strerror.c: Likewise.
35650 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35651 * sysdeps/i386/i686/hp-timing.h: Likewise.
35652 * sysdeps/mach/_strerror.c: Likewise.
35653 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35654 * sysdeps/mach/hurd/sethostid.c: Likewise.
35655 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35656 * sysdeps/mach/xpg-strerror.c: Likewise.
35657 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35658 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35659 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35660 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35661 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35662 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35663 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35664 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35665 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35666 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35667 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35668 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35669 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35670 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35671 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35672 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35673 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35674 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35675 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35676 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35677 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35679 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35681 * stdio-common/_itoa.h: Moved to ...
35682 * sysdeps/generic/_itoa.h: Here.
35684 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35686 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35687 instead of "_itoa.h" and "_itowa.h".
35688 * stdio-common/vfprintf.: Likewise.
35690 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35692 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35694 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35695 (__signbit): Likwise.
35696 (llrintf): Likwise.
35699 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35701 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35704 2012-03-20 Joseph Myers <joseph@codesourcery.com>
35706 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35707 OVERFLOW_EXCEPTION_OK.
35708 * math/libm-test.inc ("Philosophy"): Update comment about
35710 (OVERFLOW_EXCEPTION): Define.
35711 (OVERFLOW_EXCEPTION_OK): Likewise.
35712 (INVALID_EXCEPTION_OK): Renumber.
35713 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35714 (IGNORE_ZERO_INF_SIGN): Likewise.
35715 (test_exceptions): Handle FE_OVERFLOW.
35716 (exp10_test): Expect overflow exceptions.
35717 (exp2_test): Likewise.
35718 (expm1_test): Likewise.
35719 (nextafter_test): Likewise.
35720 (pow_test): Likewise.
35721 (scalbn_test): Likewise.
35722 (scalbln_test): Likewise.
35724 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35726 * sysdeps/x86_64/bits/atomic.h
35727 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35729 (atomic_exchange_acq): Likewise.
35730 (__arch_exchange_and_add_body): Likewise.
35731 (__arch_add_body): Likewise.
35732 (atomic_add_negative): Likewise.
35733 (atomic_add_zero): Likewise.
35735 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35737 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35738 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35740 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35742 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35743 Check __x86_64__ instead of __WORDSIZE.
35745 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35747 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35749 2012-03-19 David S. Miller <davem@davemloft.net>
35751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35753 * sysdeps/sparc/fpu/fenv_private.h: New file.
35754 * sysdeps/sparc/fpu/math_private.h: Use it.
35755 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35757 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35758 (libc_feholdexcept_setroundl): Remove.
35759 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35761 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35762 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35764 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35766 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35767 int64_t instead of long int.
35768 (INSERT_WORDS64): Likwise.
35770 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35772 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35773 _Unwind_GetCFA return to _Unwind_Ptr first.
35775 2012-03-19 Joseph Myers <joseph@codesourcery.com>
35778 * math/s_clog.c: Include <float.h>.
35779 (__clog): Scale large or subnormal inputs.
35780 * math/s_clogf.c: Likewise.
35781 * math/s_clogl.c: Likewise.
35782 * math/s_clog10.c: Include <float.h>.
35783 (M_LOG10_2): Define.
35784 (__clog10): Scale large or subnormal inputs.
35785 * math/s_clog10f.c: Likewise.
35786 * math/s_clog10l.c: Likewise.
35787 * math/libm-test.inc (clog_test): Add more tests.
35788 (clog10_test): Likewise.
35789 * sysdeps/i386/fpu/libm-test-ulps: Update.
35790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35793 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35795 * math/libm-test.inc (atan2_test): Add another test.
35797 * Makerules (common-objdir-compile): Remove.
35798 * sysdeps/unix/Makefile (config-generated): Do not add
35799 $(unix-generated) to variable.
35800 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35801 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35803 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35805 [generic bits/local_lim.h] (before-compile): Do not append to
35807 [generic bits/local_lim.h] (common-generated): Likewise.
35808 [generic sys/param.h] (before-compile): Do not append to variable.
35809 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35810 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35811 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35812 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35814 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35815 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35816 [generic sys/param.h] ($(addprefix
35817 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35818 [generic sys/param.h] (common-generated): Do not append to
35820 [generic sys/param.h] (sysdep_headers): Likewise.
35821 [generic bits/errno.h] (before-compile): Do not append to
35823 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35825 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35826 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35827 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35828 [generic bits/errno.h] (common-generated): Do not append to
35830 [generic bits/ioctls.h] (before-compile): Do not append to
35832 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35834 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35835 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35836 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35838 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35839 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35840 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35841 [generic bits/ioctls.h] (common-generated): Do not append to
35843 [generic sys/syscall.h] (syscall.h): Remove variable.
35844 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35846 [generic sys/syscall.h] (before-compile): Do not append to
35848 [generic sys/syscall.h] (common-generated): Likewise.
35849 * sysdeps/unix/errnos-tmpl.c: Remove file.
35850 * sysdeps/unix/errnos.awk: Likewise.
35851 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35852 * sysdeps/unix/ioctls.awk: Likewise.
35853 * sysdeps/unix/mk-local_lim.c: Likewise.
35854 * sysdeps/unix/snarf-ioctls: Likewise.
35856 2012-03-19 Richard Henderson <rth@twiddle.net>
35858 * sysdeps/i386/fpu/fenv_private.h: New file.
35859 * sysdeps/i386/fpu/math_private.h: Use it.
35860 (math_opt_barrier, math_force_eval): Remove.
35861 (libc_feholdexcept_setround_53bit): Remove.
35862 (libc_feupdateenv_53bit): Remove.
35863 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35864 (math_opt_barrier, math_force_eval): Remove.
35865 (libc_feholdexcept): Remove.
35866 (libc_feholdexcept_setround): Remove.
35867 (libc_fetestexcept, libc_fesetenv): Remove.
35868 (libc_feupdateenv_test): Remove.
35869 (libc_feupdateenv, libc_feholdsetround): Remove.
35870 (libc_feresetround): Remove.
35872 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35873 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35875 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35876 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35877 (libc_feupdateenv_testl): New.
35878 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35879 (libc_feupdateenv_testf): New.
35880 (libc_feupdateenv): Use libc_feupdateenv_test.
35881 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35882 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35884 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35885 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35886 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35887 (libc_feresetround_noex): New.
35888 (libc_feresetround_noexf): New.
35889 (libc_feresetround_noexl): New.
35890 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35891 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35892 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35893 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35895 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35896 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35898 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35899 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35900 SET_RESTORE_ROUND_NOEX.
35901 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35902 SET_RESTORE_ROUND_NOEXF.
35903 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35904 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35905 (libc_feholdsetroundf): New.
35906 (libc_feresetround, libc_feresetroundf): New.
35908 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35909 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35910 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35912 * sysdeps/generic/math_private.h: Include <fenv.h>.
35913 (default_libc_feholdexcept): New.
35914 (default_libc_feholdexcept_setround): New.
35915 (default_libc_fesetenv, default_libc_feupdateenv): New.
35916 (libc_feholdexcept): Only define if undefined.
35917 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35918 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35919 (libc_feholdexcept_setroundl): Likewise.
35920 (libc_feholdexcept_setround_53bit): Likewise.
35921 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35922 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35923 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35924 (libc_feupdateenv_53bit): Likewise.
35925 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35926 (libc_feholdexcept): Convert from macro to inline function.
35927 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35928 (libc_fesetenv, libc_feupdateenv): Likewise.
35930 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35931 not previously defined.
35932 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35933 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35934 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35935 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35936 * sysdeps/ieee754/flt-32/math_private.h: New file.
35937 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35938 math_private.h below SET_FLOAT_WORD.
35939 (__isnan, __isinf_ns, __finite): Remove.
35940 (__isnanf, __isinf_nsf, __finitef): Remove.
35942 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35946 2012-03-17 David S. Miller <davem@davemloft.net>
35949 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35952 2012-03-16 David S. Miller <davem@davemloft.net>
35954 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35958 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35960 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35961 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35962 sysdep_routines when subdir is sysvipc.
35963 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35964 __getshmlba helper.
35966 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35968 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35970 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35973 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35975 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35976 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35977 (__lround): Renamed to ...
35978 (__llround): This. Replace long int with long long int.
35979 Define lround functions as aliases of llround functions.
35980 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35982 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35984 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35985 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35986 adresses to uintptr_t. Replace "long int" and "unsigned long
35987 int" with "greg_t" on va_arg.
35989 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35991 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35992 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35994 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35995 Move e_machine check before EI_CLASS check. Handle x32
35996 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35997 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35998 SKIP_EM_IA_64 and include
35999 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36001 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36002 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36003 (add_system_dir): New macro.
36005 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36006 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36008 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36019 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36021 * math/w_j0f.c (j0f): Likewise.
36023 * math/w_j0l.c (__j0l): Likewise.
36025 * math/w_j1.c (j1): Likewise.
36027 * math/w_j1f.c (j1f): Likewise.
36029 * math/w_j1l.c (__j1l): Likewise.
36031 * math/w_jn.c (jn): Likewise.
36033 * math/w_jnf.c (jnf): Likewise.
36035 * math/w_jnl.c (__jnl): Likewise.
36037 * math/libm-test.inc (j0_test): Add more tests.
36038 (j1_test): Likewise.
36039 (jn_test): Likewise. Add trailing semicolon to existing test.
36040 (y0_test): Likewise.
36041 (y1_test): Likewise.
36042 * sysdeps/i386/fpu/libm-test-ulps: Update.
36043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36047 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36048 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36049 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36050 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36051 (__tanl): Set errno for infinite argument.
36052 * sysdeps/i386/fpu/mptan.c: Remove.
36053 * sysdeps/i386/fpu/s_tan.S: Likewise.
36054 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36055 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36056 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36057 * math/libm-test.inc (tan_test): Add more tests and enable more
36058 tests for double and long double.
36059 * sysdeps/i386/fpu/libm-test-ulps: Update.
36060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36062 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36064 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36065 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36067 2012-03-16 Roland McGrath <roland@hack.frob.com>
36069 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36070 * configure.in: Use it for both main tree and add-ons.
36071 * configure: Regenerated.
36073 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36075 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36077 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36079 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36083 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36084 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36085 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36086 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36087 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36089 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36090 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36091 != 0 for prec == 2.
36092 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36093 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36094 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36095 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36096 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36097 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36098 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36099 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36100 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36101 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36102 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36103 * math/libm-test.inc (cos_test): Add more tests and enable more
36104 tests for long double.
36105 (sin_test): Likewise.
36106 (sincos_test): Likewise.
36107 * sysdeps/i386/fpu/libm-test-ulps: Update.
36108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36110 2012-03-16 David S. Miller <davem@davemloft.net>
36112 * sysdeps/sparc/fpu/math_private.h: New file.
36114 2012-03-15 David S. Miller <davem@davemloft.net>
36116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36126 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36130 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36131 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36133 * sysdeps/sparc/sparc-ifunc.h: New file.
36134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36158 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36159 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36160 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36161 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36163 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36172 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36173 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36174 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36175 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36176 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36177 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36179 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36181 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36185 2012-03-15 Andreas Jaeger <aj@suse.de>
36188 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36189 ieee754/flt-32 implementation for sin, cos and sincos.
36190 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36191 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36192 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36193 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36194 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36195 ieee754/flt-32 implementation for tan.
36197 * math/libm-test.inc (cos_test): Enable some large input tests for
36199 (sin_test): Likewise.
36200 (sincos_test): Likewise.
36201 (tan_test): Add tests for large input.
36203 * sysdeps/i386/fpu/libm-test-ulps: Update.
36205 2012-03-15 Andreas Jaeger <aj@suse.de>
36208 * math/libm-test.inc (cos_test): Add more test cases.
36209 (sin_test): Likewise.
36210 (sincos_test): Likewise.
36212 2012-03-15 Andreas Jaeger <aj@suse.de>
36215 * math/libm-test.inc (cos_test): Add a test case for large input
36217 (sin_test): Likewise.
36218 (sincos_test): Likewise.
36220 2012-03-15 Andreas Jaeger <aj@suse.de>
36221 Joseph Myers <joseph@codesourcery.com>
36224 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36225 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36226 * sysdeps/i386/fpu/branred.c: Likewise.
36227 * sysdeps/i386/fpu/dosincos.c: Likewise.
36228 * sysdeps/i386/fpu/mpa.c: Likewise.
36229 * sysdeps/i386/fpu/s_cos.S: Likewise.
36230 * sysdeps/i386/fpu/s_sin.S: Likewise.
36231 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36232 * sysdeps/i386/fpu/sincos32.c: Likewise.
36234 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36236 (libc_feupdateenv_53bit): Define.
36237 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36239 (libc_feupdateenv_53bit): Define.
36241 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36242 53 bit (without extend i386 double precision).
36244 * math/libm-test.inc (sincos_test): Add tests for large input.
36248 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36250 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36254 2012-03-15 David S. Miller <davem@davemloft.net>
36256 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36257 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36258 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36259 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36283 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36284 fmin/fmax sysdep routines.
36285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36287 2012-03-14 David S. Miller <davem@davemloft.net>
36289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36292 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36293 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36294 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36295 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36296 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36300 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36309 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36310 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36311 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36312 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36313 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36314 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36315 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36316 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36317 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36361 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36366 * sysdeps/sparc/configure.in: New file.
36367 * sysdeps/sparc/configure: Generate.
36368 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36369 * configure: Regenerate.
36370 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36371 * config.make.in (have-as-vis3): New.
36372 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36373 available use -Av9d instead of -Av9a.
36374 * sysdeps/sparc/sparc64/Makefile: Likewise.
36375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36384 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36385 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36386 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36387 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36388 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36390 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36391 fzeros/fnegs to load 0x80000000 into a float register instead of
36393 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36395 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36397 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36399 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36400 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36401 ($(inst_includedir)/bits/syscall.h): Remove rule.
36402 ($(objpfx)bits/syscall.d): Include instead of
36403 $(objpfx)syscall-list.d.
36404 (generated): Change syscall-list.h and syscall-list.d to
36405 bits/syscall.h and bits/syscall.d.
36407 2012-03-14 Roland McGrath <roland@hack.frob.com>
36410 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36412 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36415 * math/s_csqrt.c: Include <float.h>.
36416 (__csqrt): Scale large or subnormal inputs.
36417 * math/s_csqrtf.c: Likewise.
36418 * math/s_csqrtl.c: Likewise.
36419 * math/libm-test.inc (csqrt_test): Add more tests.
36420 * sysdeps/i386/fpu/libm-test-ulps: Update.
36421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36424 * math/libm-test.inc (hypot_test): Add more tests.
36426 2012-03-13 David S. Miller <davem@davemloft.net>
36429 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36430 double-precision for the calculation instead of scaling.
36432 2012-03-13 Joseph Myers <joseph@codesourcery.com>
36434 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36435 manipulate bits before adding and subtracting TWO52[sx].
36436 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36437 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36439 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36441 2012-03-13 David S. Miller <davem@davemloft.net>
36443 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36444 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36445 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36446 rtld-global-offsets.h
36447 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36449 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36452 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36454 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36455 'err' in the ifdef scope in which it is actually used.
36457 * nss/nss_db/db-init.c: Include string.h
36459 2012-03-12 David S. Miller <davem@davemloft.net>
36461 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36462 masking out of the most significant byte of random value used.
36463 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36464 Fix coding style in previous change.
36466 * sysdeps/unix/sysv/linux/kernel-features.h
36467 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36468 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36470 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36473 2012-03-11 David S. Miller <davem@davemloft.net>
36475 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36476 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36477 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36478 for 'resultvar' otherwise things get truncated on 64-bit.
36480 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36481 Fix masking out of the most significant byte of random value used.
36483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36485 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36489 2012-03-09 David S. Miller <davem@davemloft.net>
36491 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36492 variables with appropriate CPP guards.
36493 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36494 from the frame pointer, not the stack pointer. Correct layout
36495 comments. Fix test on resulting framesize and the management of
36496 the outregs buffer for pltexit. Preserve floating point return
36497 values across _dl_call_pltexit call.
36498 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36499 framesize and the management of the outregs buffer for pltexit.
36500 Preserve floating point return values across _dl_call_pltexit
36502 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36503 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36504 (la_sparc64_gnu_pltexit): New functions.
36505 (print_exit): Fix format string for return register value.
36507 2012-03-10 Joseph Myers <joseph@codesourcery.com>
36509 * sunrpc/Makefile (others): Add rpcgen.
36510 ($(objpfx)rpcgen): Remove special build rule and dependency on
36512 * sunrpc/rpcgen.c: New file.
36514 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36517 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36518 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36519 * sysdeps/i386/crti.S: Likewise.
36520 * sysdeps/i386/crtn.S: Likewise.
36521 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36522 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36523 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36524 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36525 * sysdeps/sh/crti.S: Likewise.
36526 * sysdeps/sh/crtn.S: Likewise.
36527 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36530 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36532 * locale/programs/locfile-kw.gperf: Likewise.
36533 * locale/programs/charmap-kw.h: Regenerated.
36534 * locale/programs/locfile-kw.h: Likewise.
36537 * intl/plural.y: Replace FSF snail mail address with URL.
36538 * intl/plural.c: Regenerated.
36540 2012-03-09 Richard Henderson <rth@twiddle.net>
36542 * include/math_private.h: Remove file.
36543 * math/math_private.h: Move file ...
36544 * sysdeps/generic/math_private.h: ... here.
36546 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36547 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36548 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36550 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36551 and <math_private.h>.
36552 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36553 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36554 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36555 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36556 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36557 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36558 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36559 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36560 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36561 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36562 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36563 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36564 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36565 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36566 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36567 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36568 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36569 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36570 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36571 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36572 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36573 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36574 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36575 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36576 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36577 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36578 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36579 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36580 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36581 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36582 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36583 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36584 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36585 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36586 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36587 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36588 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36589 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36590 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36591 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36592 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36593 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36594 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36595 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36596 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36597 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36598 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36599 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36600 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36601 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36602 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36603 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36604 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36605 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36606 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36607 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36608 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36609 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36610 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36611 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36612 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36613 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36614 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36615 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36616 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36617 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36618 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36619 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36620 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36621 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36622 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36623 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36624 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36625 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36626 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36627 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36628 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36629 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36630 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36631 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36632 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36633 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36634 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36635 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36636 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36637 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36638 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36639 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36640 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36641 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36642 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36643 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36644 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36645 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36646 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36647 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36648 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36649 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36650 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36651 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36652 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36653 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36654 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36655 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36656 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36657 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36658 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36659 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36660 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36661 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36662 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36663 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36664 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36665 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36666 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36667 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36668 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36669 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36670 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36671 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36672 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36673 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36674 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36675 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36676 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36677 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36678 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36679 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36680 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36681 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36682 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36683 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36684 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36685 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36686 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36687 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36688 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36689 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36690 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36691 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36692 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36693 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36694 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36695 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36696 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36697 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36698 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36699 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36700 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36701 * sysdeps/ieee754/k_standard.c: Likewise.
36702 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36703 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36704 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36705 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36706 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36707 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36708 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36709 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36710 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36711 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36712 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36713 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36714 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36715 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36716 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36717 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36718 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36719 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36720 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36721 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36722 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36723 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36724 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36725 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36726 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36727 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36728 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36729 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36730 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36731 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36732 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36733 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36734 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36735 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36736 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36737 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36738 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36739 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36740 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36741 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36742 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36743 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36744 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36745 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36746 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36747 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36748 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36749 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36750 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36751 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36752 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36753 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36754 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36755 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36756 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36757 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36758 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36759 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36760 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36761 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36762 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36763 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36764 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36765 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36766 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36767 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36768 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36769 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36770 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36771 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36772 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36773 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36774 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36775 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36776 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36777 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36778 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36779 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36780 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36781 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36782 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36783 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36784 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36785 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36786 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36787 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36788 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36789 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36790 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36791 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36792 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36793 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36794 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36795 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36796 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36797 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36798 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36799 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36800 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36801 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36802 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36803 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36804 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36805 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36806 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36807 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36808 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36809 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36810 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36811 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36812 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36813 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36814 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36815 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36816 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36817 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36818 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36819 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36820 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36821 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36822 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36823 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36824 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36825 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36826 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36827 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36828 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36829 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36830 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36831 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36832 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36833 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36834 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36835 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36836 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36837 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36838 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36839 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36840 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36841 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36842 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36843 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36844 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36845 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36846 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36847 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36848 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36849 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36850 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36851 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36852 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36853 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36854 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36855 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36856 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36857 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36858 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36859 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36860 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36861 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36862 * sysdeps/ieee754/s_lib_version.c: Likewise.
36863 * sysdeps/ieee754/s_matherr.c: Likewise.
36864 * sysdeps/ieee754/s_signgam.c: Likewise.
36865 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36866 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36867 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36868 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36869 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36870 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36871 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36872 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36873 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36874 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36875 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36876 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36877 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36878 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36879 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36880 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36881 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36882 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36883 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36884 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36885 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36887 2012-03-09 Joseph Myers <joseph@codesourcery.com>
36889 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36890 * sunrpc/rpc_main.c: Likewise.
36891 * sunrpc/rpc_svcout.c: Likewise.
36893 2012-03-09 David S. Miller <davem@davemloft.net>
36895 * include/math_private.h: New file.
36897 2012-03-09 Joseph Myers <joseph@codesourcery.com>
36899 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36900 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36901 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36902 from <bits/socket_type.h>.
36903 (enum __socket_type): Don't define here.
36904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36905 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36906 bits/socket_type.h.
36909 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36910 checking __USE_GNU.
36912 * Makerules ($(inst_includedir)/%.h): New rule.
36913 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36914 (install-others): Remove variable setting.
36915 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36917 2012-03-08 Richard Henderson <rth@twiddle.net>
36919 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36920 from macro to inline function; merge with the
36921 !__LIBC_INTERNAL_MATH_INLINES version.
36922 (__ieee754_sqrtf): Likewise.
36924 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36925 to inline function.
36926 (__rintf, __floor, __floorf): Likewise.
36928 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36929 macro to inline function.
36930 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36932 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36933 not <math/math_private.h>.
36935 2012-03-08 David S. Miller <davem@davemloft.net>
36937 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36939 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36941 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36943 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36945 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36946 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36948 2012-03-08 Ulrich Drepper <drepper@gmail.com>
36950 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36951 be defined individually, they must be defined as a block. Define
36952 S for printing a string instead of hidint the different by using a
36953 macro for adding the 'l'.
36954 * stdio-common/tst-fphex-wide.c: Adjust.
36956 2012-03-07 Marek Polacek <polacek@redhat.com>
36958 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36960 2012-03-08 Marek Polacek <polacek@redhat.com>
36963 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36964 * stdio-common/tst-fphex.c: Define a few macros to make the
36965 test reusable. Use them.
36966 * stdio-common/tst-fphex-wide.c: New file.
36968 2012-03-08 Joseph Myers <joseph@codesourcery.com>
36971 * manual/macros.texi (gnusystems): New macro.
36972 (nongnusystems): Likewise.
36973 (gnulinuxhurdsystems): Likewise.
36974 (gnuhurdsystems): Likewise..
36975 (gnulinuxsystems): Likewise.
36976 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36977 variants of the GNU system, not "GNU system".
36978 * manual/conf.texi: Likewise.
36979 * manual/errno.texi: Likewise. Update example of errno macro
36981 * manual/filesys.texi: Likewise.
36982 (getumask): Document as specific to GNU/Hurd.
36983 * manual/install.texi: Likewise. Reword some references to
36985 * manual/intro.texi: Likewise.
36986 * manual/io.texi: Likewise.
36987 (File Name Portability): Detail which constraints are inapplicable
36988 to all GNU systems and which are only inapplicable to GNU/Hurd.
36989 * manual/job.texi: Likewise.
36990 * manual/llio.texi: Likewise.
36991 (O_NOCTTY): Document as present on GNU/Linux.
36992 * manual/maint.texi: Likewise.
36993 * manual/memory.texi: Likewise.
36994 * manual/pattern.texi: Likewise.
36995 * manual/pipe.texi: Likewise.
36996 * manual/process.texi: Likewise.
36997 * manual/resource.texi: Likewise.
36998 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37000 * manual/setjmp.texi: Likewise.
37001 * manual/signal.texi: Likewise.
37002 * manual/startup.texi: Likewise.
37003 * manual/stdio.texi: Likewise.
37004 * manual/terminal.texi: Likewise.
37005 (ONLCR): Document as POSIX.
37006 (OXTABS): Document availability on GNU/Linux as XTABS.
37007 (ONOEOT): Document availability separately from other bits.
37008 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37009 * manual/time.texi: Likewise.
37010 * manual/users.texi: Likewise.
37011 * INSTALL: Regenerated.
37012 * sysdeps/gnu/errlist.c: Regenerated.
37014 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37015 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37016 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37018 * configure: Regenerated.
37020 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37022 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37023 default includes instead of AC_HEADER_CHECK.
37024 * sysdeps/i386/configure: Regenerated.
37027 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37028 * math/s_cacoshf.c (__cacoshf): Likewise.
37029 * math/s_cacoshl.c (__cacoshl): Likewise.
37030 * math/s_casinh.c (__casinh): Set signs of result from argument.
37031 * math/s_casinhf.c (__casinhf): Likewise.
37032 * math/s_casinhl.c (__casinhl): Likewise.
37033 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37034 (casinh_test): Add more tests.
37035 * sysdeps/i386/fpu/libm-test-ulps: Update.
37036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37038 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37040 * po/zh_TW.po: Update from translation team.
37042 * login/Makefile (distribute): Remove variable.
37043 * catgets/Makefile: Likewise.
37044 * mach/Makefile: Likewise.
37045 * malloc/Makefile: Likewise.
37046 * misc/Makefile: Likewise.
37047 * iconv/Makefile: Likewise.
37048 * nscd/Makefile: Likewise.
37049 * hurd/Makefile: Likewise.
37050 * manual/Makefile: Likewise.
37051 * locale/Makefile: Likewise.
37052 * intl/Makefile: Likewise.
37053 * conform/Makefile: Likewise.
37054 * nss/Makefile: Likewise.
37055 * time/Makefile: Likewise.
37056 * soft-fp/Makefile: Likewise.
37057 * dirent/Makefile: Likewise.
37058 * gmon/Makefile: Likewise.
37059 * po/Makefile: Likewise.
37060 * rt/Makefile: Likewise.
37061 * socket/Makefile: Likewise.
37062 * math/Makefile: Likewise.
37063 * signal/Makefile: Likewise.
37064 * debug/Makefile: Likewise.
37065 * elf/Makefile: Likewise.
37066 * timezone/Makefile: Likewise.
37067 * stdlib/Makefile: Likewise.
37068 * iconvdata/Makefile: Likewise.
37069 * sunrpc/Makefile: Likewise.
37070 * io/Makefile: Likewise.
37071 * argp/Makefile: Likewise.
37072 * inet/Makefile: Likewise.
37073 * hesiod/Makefile: Likewise.
37074 * grp/Makefile: Likewise.
37075 * csu/Makefile: Likewise.
37076 * wctype/Makefile: Likewise.
37077 * crypt/Makefile: Likewise.
37078 * libio/Makefile: Likewise.
37079 * string/Makefile: Likewise.
37080 * nis/Makefile: Likewise.
37081 * resolv/Makefile: Likewise.
37082 * stdio-common/Makefile: Likewise.
37083 * wcsmbs/Makefile: Likewise.
37084 * dlfcn/Makefile: Likewise.
37085 * posix/Makefile: Likewise.
37088 * timezone/Makefile: Don't install timezone files, just the programs
37091 2012-03-06 Ulrich Drepper <drepper@gmail.com>
37093 * nss/databases.def: Add missing gshadow entry.
37095 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37097 2012-03-06 Marek Polacek <polacek@redhat.com>
37100 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37101 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37102 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37103 * stdio-common/tst-long-dbl-fphex.c: New file.
37105 2012-03-06 David S. Miller <davem@davemloft.net>
37107 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37108 (set_obp_int): New function.
37109 (get_obp_int): New function.
37110 (__get_clockfreq_via_dev_openprom): Likewise.
37111 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37112 Avoid unused variable warnings on 'val' and use builtin_expect.
37113 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37115 (INLINE_CLONE_SYSCALL): Likewise.
37117 2012-03-05 David S. Miller <davem@davemloft.net>
37119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37121 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37125 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37126 only for |x| >= 40.
37127 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37129 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
37131 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37132 Replace gettimeofday with __vdso_gettimeofday.
37134 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37135 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37136 __vdso_clock_gettime and __vdso_getcpu.
37138 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37139 time with __vdso_time.
37141 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37143 * manual/lang.texi (size_t): Note types to which size_t may be
37144 equivalent with the GNU C Library, but do not describe when
37145 differences between them are significant.
37147 2012-03-05 Andreas Jaeger <aj@suse.de>
37149 * sysdeps/i386/fpu/libm-test-ulps: Update.
37151 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37154 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37155 (__ieee754_pow): Save and restore rounding mode and use
37156 round-to-nearest for main computations.
37157 * math/libm-test.inc (pow_test_tonearest): New function.
37158 (pow_test_towardzero): Likewise.
37159 (pow_test_downward): Likewise.
37160 (pow_test_upward): Likewise.
37161 (main): Call the new functions.
37162 * sysdeps/i386/fpu/libm-test-ulps: Update.
37163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37166 * math/libm-test.inc (cosh_test_tonearest): New function.
37167 (cosh_test_towardzero): Likewise.
37168 (cosh_test_downward): Likewise.
37169 (cosh_test_upward): Likewise.
37170 (sinh_test_tonearest): Likewise.
37171 (sinh_test_towardzero): Likewise.
37172 (sinh_test_downward): Likewise.
37173 (sinh_test_upward): Likewise.
37174 (main): Call the new functions.
37175 * sysdeps/i386/fpu/libm-test-ulps: Update.
37176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37178 2012-03-05 Tom de Vries <tom@codesourcery.com>
37180 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37181 default stack guard is set in last bytes.
37182 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37184 2012-03-05 Kees Cook <keescook@chromium.org>
37186 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37189 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37190 possibly allocate from heap instead of stack.
37191 * stdio-common/bug-vfprintf-nargs.c: New file.
37192 * stdio-common/Makefile (tests): Add nargs overflow test.
37194 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37198 2012-03-03 Marek Polacek <polacek@redhat.com>
37200 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37201 * math/math_private.h: Likewise.
37202 * stdlib/tst-strtod.c: Likewise.
37203 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37204 * sysdeps/x86_64/bits/atomic.h: Likewise.
37206 2012-03-02 David S. Miller <davem@davemloft.net>
37208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37212 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37213 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37214 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37215 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37217 2012-03-02 Roland McGrath <roland@hack.frob.com>
37220 * manual/examples/README: New file, says the example source files
37221 can be used under GPL>=2.
37222 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37223 line containing just "*/".
37224 * manual/examples/add.c: Add copyright header (GPL>=2).
37225 * manual/examples/argp-ex1.c: Likewise.
37226 * manual/examples/argp-ex2.c: Likewise.
37227 * manual/examples/argp-ex3.c: Likewise.
37228 * manual/examples/argp-ex4.c: Likewise.
37229 * manual/examples/atexit.c: Likewise.
37230 * manual/examples/db.c: Likewise.
37231 * manual/examples/dir.c: Likewise.
37232 * manual/examples/dir2.c: Likewise.
37233 * manual/examples/execinfo.c: Likewise.
37234 * manual/examples/filecli.c: Likewise.
37235 * manual/examples/filesrv.c: Likewise.
37236 * manual/examples/fmtmsgexpl.c: Likewise.
37237 * manual/examples/genpass.c: Likewise.
37238 * manual/examples/inetcli.c: Likewise.
37239 * manual/examples/inetsrv.c: Likewise.
37240 * manual/examples/isockad.c: Likewise.
37241 * manual/examples/longopt.c: Likewise.
37242 * manual/examples/memopen.c: Likewise.
37243 * manual/examples/memstrm.c: Likewise.
37244 * manual/examples/mkfsock.c: Likewise.
37245 * manual/examples/mkisock.c: Likewise.
37246 * manual/examples/mygetpass.c: Likewise.
37247 * manual/examples/pipe.c: Likewise.
37248 * manual/examples/popen.c: Likewise.
37249 * manual/examples/rprintf.c: Likewise.
37250 * manual/examples/search.c: Likewise.
37251 * manual/examples/select.c: Likewise.
37252 * manual/examples/setjmp.c: Likewise.
37253 * manual/examples/sigh1.c: Likewise.
37254 * manual/examples/sigusr.c: Likewise.
37255 * manual/examples/stpcpy.c: Likewise.
37256 * manual/examples/strdupa.c: Likewise.
37257 * manual/examples/strftim.c: Likewise.
37258 * manual/examples/strncat.c: Likewise.
37259 * manual/examples/subopt.c: Likewise.
37260 * manual/examples/swapcontext.c: Likewise.
37261 * manual/examples/termios.c: Likewise.
37262 * manual/examples/testopt.c: Likewise.
37263 * manual/examples/testpass.c: Likewise.
37264 * manual/examples/timeval_subtract.c: Likewise.
37267 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37269 * manual/timeval_subtract.c.texi: ... here, new file.
37271 2012-03-02 David S. Miller <davem@davemloft.net>
37273 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37275 2012-03-02 Joseph Myers <joseph@codesourcery.com>
37278 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37279 (__sin): Save and restore rounding mode and use round-to-nearest
37280 for all computations.
37281 (__cos): Save and restore rounding mode and use round-to-nearest
37282 for all computations.
37283 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37285 (tan): Save and restore rounding mode and use round-to-nearest for
37287 * math/libm-test.inc (cos_test_tonearest): New function.
37288 (cos_test_towardzero): Likewise.
37289 (cos_test_downward): Likewise.
37290 (cos_test_upward): Likewise.
37291 (sin_test_tonearest): Likewise.
37292 (sin_test_towardzero): Likewise.
37293 (sin_test_downward): Likewise.
37294 (sin_test_upward): Likewise.
37295 (tan_test_tonearest): Likewise.
37296 (tan_test_towardzero): Likewise.
37297 (tan_test_downward): Likewise.
37298 (tan_test_upward): Likewise.
37299 (main): Call the new functions.
37300 * sysdeps/i386/fpu/libm-test-ulps: Update.
37301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37304 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37305 small n, then large n, before computing and testing k+n.
37306 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37307 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37309 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37311 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37312 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37313 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37314 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37315 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37316 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37317 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37318 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37319 * math/libm-test.inc (scalbn_test): Add more tests.
37320 (scalbln_test): Likewise.
37322 * manual/filesys.texi (mode_t): Describe constraints on size and
37323 signedness, not exact equivalence to a particular type.
37325 (ino64_t): Likewise.
37327 (nlink_t): Likewise.
37328 (blkcnt_t): Likewise.
37329 (blkcnt64_t): Likewise.
37330 * manual/llio.texi (off_t): Likewise.
37333 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37334 (__ieee754_exp): Save and restore rounding mode and use
37335 round-to-nearest for all computations.
37336 * math/libm-test.inc (exp_test_tonearest): New function.
37337 (exp_test_towardzero): Likewise.
37338 (exp_test_downward): Likewise.
37339 (exp_test_upward): Likewise.
37340 (main): Call the new functions.
37341 * sysdeps/i386/fpu/libm-test-ulps: Update.
37342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37344 2012-03-01 Chris Demetriou <cgd@google.com>
37346 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37347 have predictable order.
37349 2012-03-01 David S. Miller <davem@davemloft.net>
37351 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37353 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37354 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37355 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37356 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37358 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37359 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37360 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37362 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37363 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37364 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37365 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37366 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37370 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37371 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37372 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37374 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37375 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37376 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37377 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37378 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37379 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37380 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37381 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37382 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37383 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37384 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37385 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37386 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37387 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37388 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37389 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37390 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37391 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37392 * sysdeps/sparc/elf/configure: Regenerated.
37394 2012-03-01 Joseph Myers <joseph@codesourcery.com>
37396 * configure.in (AS, LD): Require binutils 2.20 or later.
37397 * configure: Regenerated.
37398 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37399 as required minimum version.
37400 * INSTALL: Regenerated.
37404 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37405 before squaring exponent.
37406 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37407 bottom long double and 27 bits of top long double before squaring
37409 * math/libm-test.inc (erfc_test): Add more tests.
37410 * sysdeps/i386/fpu/libm-test-ulps: Update.
37411 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37414 2012-03-01 Kai Tietz <ktietz@redhat.com>
37416 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37417 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37418 containing bit-fields.
37419 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37420 * soft-fp/single.h (_FP_UNION_S): Likewise.
37421 * soft-fp/double.h (_FP_UNION_D): Likewise.
37423 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37426 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37427 not include ../strcmp.S.
37428 [USE_AS_STRNCASECMP_L]: Likewise.
37429 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37430 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37431 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37432 (__strncasecmp_l_ia32): Define as alias to
37433 __strncasecmp_l_nonascii.
37436 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37437 * sysdeps/i386/fpu/libm-test-ulps: Update.
37438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37440 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37443 2012-02-29 Jeff Law <law@redhat.com>
37445 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37446 out of bounds read.
37448 2012-02-29 Marek Polacek <polacek@redhat.com>
37451 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37452 * elf/Makefile: Add rules to run tst-unused-dep.out.
37454 2012-02-28 David S. Miller <davem@davemloft.net>
37456 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37457 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37458 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37459 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37460 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37461 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37463 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37465 * math/libm-test.inc (llround_test): Move one test from
37466 lround_test. Use TEST_f_L in moved test.
37467 (lround_test): Move misplaced test to llround_test. Add testcase
37470 2012-02-28 Ulrich Drepper <drepper@gmail.com>
37472 * sysdeps/x86_64/fpu/e_expf.S: New file.
37473 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37475 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37478 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37479 of remain_len that may cause incomplete multi-byte character and
37481 * posix/bug-regex33.c: New file.
37482 * posix/Makefile (tests): Add bug-regex33.
37484 2012-02-28 Joseph Myers <joseph@codesourcery.com>
37486 * manual/macros.texi: New file.
37487 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37488 * manual/libc.texinfo: Include macros.texi.
37489 * manual/creatute.texi: Likewise.
37490 * manual/install.texi: Likewise.
37491 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37492 @glibcadj{} in references to the GNU C Library.
37493 * manual/charset.texi: Likewise.
37494 * manual/conf.texi: Likewise.
37495 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37496 when not using those macros.
37497 * manual/creature.texi: Likewise.
37498 * manual/crypt.texi: Likewise.
37499 * manual/errno.texi: Likewise.
37500 * manual/filesys.texi: Likewise.
37501 * manual/header.texi: Likewise.
37502 * manual/install.texi: Likewise.
37503 * manual/intro.texi: Likewise.
37504 * manual/io.texi: Likewise.
37505 * manual/job.texi: Likewise.
37506 * manual/lang.texi: Likewise.
37507 * manual/libc.texiinfo: Likewise.
37508 * manual/llio.texi: Likewise.
37509 * manual/locale.texi: Likewise.
37510 * manual/maint.texi: Likewise.
37511 * manual/math.texi: Likewise.
37512 * manual/memory.texi: Likewise.
37513 * manual/message.texi: Likewise.
37514 * manual/nss.texi: Likewise.
37515 * manual/pattern.texi: Likewise.
37516 * manual/process.texi: Likewise.
37517 * manual/resource.texi: Likewise.
37518 * manual/search.texi: Likewise.
37519 * manual/setjmp.texi: Likewise.
37520 * manual/signal.texi: Likewise.
37521 * manual/socket.texi: Likewise.
37522 * manual/startup.texi: Likewise.
37523 * manual/stdio.texi: Likewise.
37524 * manual/string.texi: Likewise.
37525 * manual/sysinfo.texi: Likewise.
37526 * manual/syslog.texi: Likewise.
37527 * manual/terminal.texi: Likewise.
37528 * manual/time.texi: Likewise.
37529 * manual/users.texi: Likewise.
37530 * INSTALL: Regenerated.
37531 * NOTES: Regenerated.
37532 * sysdeps/gnu/errlist.c: Regenerated.
37534 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37536 * include/dirent.h: Include <dirstream.h> before
37539 2012-02-28 David S. Miller <davem@davemloft.net>
37541 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37542 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37543 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37544 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37546 2012-02-27 David S. Miller <davem@davemloft.net>
37548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37550 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37551 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37554 frame pointer instead of stack pointer relative arg slot.
37555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37556 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37557 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37559 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37562 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37564 2012-02-27 David S. Miller <davem@davemloft.net>
37566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37570 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37571 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37572 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37573 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37575 2012-02-27 Joseph Myers <joseph@codesourcery.com>
37577 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37578 later. Allow versions 5-9.
37579 * configure: Regenerated.
37580 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37581 required minimum version and 4.6 as recommended version. Do not
37582 mention bugs in GCC 2.7 and 2.8.
37583 * INSTALL: Regenerated.
37585 2012-02-27 David S. Miller <davem@davemloft.net>
37587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37591 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37592 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37593 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37594 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37596 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37597 manipulate bits before adding and subtracting TWO112[sx].
37598 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37600 2012-02-27 Roland McGrath <roland@hack.frob.com>
37603 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37604 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37605 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37606 being in POSIX, because they are in 1003.1-2008.
37608 * rt/tst-aio.c: Include <fcntl.h>.
37609 * rt/tst-aio7.c: Likewise.
37610 * rt/tst-aio64.c: Likewise.
37612 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37614 2012-02-27 Joseph Myers <joseph@codesourcery.com>
37616 * manual/install.texi (--with-headers): Describe headers as
37617 interface headers, not private headers.
37618 (Specific advice for GNU/Linux systems): Describe use of headers
37619 from "make headers_install", not private headers from older
37621 * INSTALL: Regenerated.
37622 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37624 * sysdeps/unix/sysv/linux/configure: Regenerated.
37626 * manual/llio.texi (fclean): Remove documentation.
37628 * manual/Makefile (libc-texi-generated): New variable. Include
37630 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37631 $(libc-texi-generated), not duplicated list of files.
37632 (version.texi, stamp-version): New rules.
37633 (realclean): Remove $(libc-texi-generated), not individual files
37634 from that list. Do not remove dir-add.texinfo.
37635 * manual/libc.texinfo: Comment out uses of edition numbers and
37636 references to printed manual. Remove last-updated dates.
37637 (EDITION): Comment out.
37639 (VERSION, UPDATED): Remove.
37640 (version.texi): Include.
37642 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37644 * sysdeps/posix/spawni.c: Include <signal.h>.
37645 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37646 * sysdeps/pthread/aio_fsync.c: Likewise.
37648 2012-02-26 Ulrich Drepper <drepper@gmail.com>
37650 * conform/Makefile (tests): Run only when not cross-compiling and
37651 when fast-check is not defined.
37653 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37654 * conform/data/limits.h-data: Fixes for POSIX2008.
37655 * conform/run-conformtest.sh: Run all tests.
37656 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37658 * include/bits/dlfcn.h: Likewise.
37659 * include/langinfo.h: Likewise.
37660 * include/monetary.h: Likewise.
37661 * include/sys/poll.h: Likewise.
37663 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37665 * posix/spawn.h: Define __need_sigset_t.
37666 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37667 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37668 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37669 to get sigevent_t only.
37670 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37671 only for __USE_GNU.
37672 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37673 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37674 process_vm_writev only for __USE_GNU.
37675 * termios/termios.h: Declare tcgetsid also for POSIX2008.
37677 * conform/Makefile: For now ignore errors from run-conformtest.
37678 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37679 POSIX to avoid namespace pollution. Don't prepend headers.
37680 * conform/data/aio.h-data: Fixes for POSIX testing.
37681 * conform/data/fcntl.h-data: Likewise.
37682 * conform/data/glob.h-data: Likewise.
37683 * conform/data/grp.h-data: Likewise.
37684 * conform/data/pthread.h-data: Likewise.
37685 * conform/data/pwd.h-data: Likewise.
37686 * conform/data/signal.h-data: Likewise.
37687 * conform/data/spawn.h-data: Likewise.
37688 * conform/data/stdio.h-data: Likewise.
37689 * conform/data/stdlib.h-data: Likewise.
37690 * conform/data/stropts.h-data: Likewise.
37691 * conform/data/sys/mman.h-data: Likewise.
37692 * conform/data/sys/stat.h-data: Likewise.
37693 * conform/data/sys/types.h-data: Likewise.
37694 * conform/data/sys/wait.h-data: Likewise.
37695 * conform/data/time.h-data: Likewise.
37696 * conform/data/unistd.h-data: Likewise.
37697 * conform/data/utime.h-data: Likewise.
37699 * io/sys/stat.h: fchmod was always in POSIX.
37700 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37701 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37702 * rt/aio.h: Define __need_timespec before including <time.h>.
37703 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37704 struct. Add forward declaration of pthread_attr_t and use it in
37706 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37707 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37708 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37709 always remove CLK_TCK definition.
37711 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37713 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37715 2012-02-25 Ulrich Drepper <drepper@gmail.com>
37717 * conform/run-conformtest.sh: New file.
37718 * conform/Makefile: Run run-conformtest for tests.
37719 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37722 * conform/data/uchar.h-data: New file.
37723 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37724 * conform/data/arpa/inet.h-data: Likewise.
37725 * conform/data/assert.h-data: Likewise.
37726 * conform/data/complex.h-data: Likewise.
37727 * conform/data/cpio.h-data: Likewise.
37728 * conform/data/ctype.h-data: Likewise.
37729 * conform/data/dirent.h-data: Likewise.
37730 * conform/data/dlfcn.h-data: Likewise.
37731 * conform/data/errno.h-data: Likewise.
37732 * conform/data/fcntl.h-data: Likewise.
37733 * conform/data/float.h-data: Likewise.
37734 * conform/data/fmtmsg.h-data: Likewise.
37735 * conform/data/fnmatch.h-data: Likewise.
37736 * conform/data/ftw.h-data: Likewise.
37737 * conform/data/glob.h-data: Likewise.
37738 * conform/data/grp.h-data: Likewise.
37739 * conform/data/iconv.h-data: Likewise.
37740 * conform/data/inttypes.h-data: Likewise.
37741 * conform/data/langinfo.h-data: Likewise.
37742 * conform/data/libgen.h-data: Likewise.
37743 * conform/data/limits.h-data: Likewise.
37744 * conform/data/locale.h-data: Likewise.
37745 * conform/data/math.h-data: Likewise.
37746 * conform/data/monetary.h-data: Likewise.
37747 * conform/data/mqueue.h-data: Likewise.
37748 * conform/data/ndbm.h-data: Likewise.
37749 * conform/data/net/if.h-data: Likewise.
37750 * conform/data/netdb.h-data: Likewise.
37751 * conform/data/netinet/in.h-data: Likewise.
37752 * conform/data/nl_types.h-data: Likewise.
37753 * conform/data/poll.h-data: Likewise.
37754 * conform/data/pthread.h-data: Likewise.
37755 * conform/data/pwd.h-data: Likewise.
37756 * conform/data/regex.h-data: Likewise.
37757 * conform/data/sched.h-data: Likewise.
37758 * conform/data/search.h-data: Likewise.
37759 * conform/data/semaphore.h-data: Likewise.
37760 * conform/data/setjmp.h-data: Likewise.
37761 * conform/data/signal.h-data: Likewise.
37762 * conform/data/spawn.h-data: Likewise.
37763 * conform/data/stdarg.h-data: Likewise.
37764 * conform/data/stdio.h-data: Likewise.
37765 * conform/data/stdlib.h-data: Likewise.
37766 * conform/data/string.h-data: Likewise.
37767 * conform/data/strings.h-data: Likewise.
37768 * conform/data/stropts.h-data: Likewise.
37769 * conform/data/sys/ipc.h-data: Likewise.
37770 * conform/data/sys/mman.h-data: Likewise.
37771 * conform/data/sys/msg.h-data: Likewise.
37772 * conform/data/sys/resource.h-data: Likewise.
37773 * conform/data/sys/select.h-data: Likewise.
37774 * conform/data/sys/sem.h-data: Likewise.
37775 * conform/data/sys/shm.h-data: Likewise.
37776 * conform/data/sys/socket.h-data: Likewise.
37777 * conform/data/sys/stat.h-data: Likewise.
37778 * conform/data/sys/statvfs.h-data: Likewise.
37779 * conform/data/sys/time.h-data: Likewise.
37780 * conform/data/sys/timeb.h-data: Likewise.
37781 * conform/data/sys/times.h-data: Likewise.
37782 * conform/data/sys/types.h-data: Likewise.
37783 * conform/data/sys/uio.h-data: Likewise.
37784 * conform/data/sys/un.h-data: Likewise.
37785 * conform/data/sys/utsname.h-data: Likewise.
37786 * conform/data/sys/wait.h-data: Likewise.
37787 * conform/data/syslog.h-data: Likewise.
37788 * conform/data/tar.h-data: Likewise.
37789 * conform/data/termios.h-data: Likewise.
37790 * conform/data/utime.h-data: Likewise.
37791 * conform/data/utmpx.h-data: Likewise.
37792 * conform/data/varargs.h-data: Likewise.
37793 * conform/data/wchar.h-data: Likewise.
37794 * conform/data/wctype.h-data: Likewise.
37795 * conform/data/wordexp.h-data: Likewise.
37797 * include/stropts.h: New file.
37798 * include/uchar.h: New file.
37799 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37800 * include/assert.h: Likewise.
37801 * include/ctype.h: Likewise.
37802 * include/dirent.h: Likewise.
37803 * include/dlfcn.h: Likewise.
37804 * include/fcntl.h: Likewise.
37805 * include/fnmatch.h: Likewise.
37806 * include/glob.h: Likewise.
37807 * include/grp.h: Likewise.
37808 * include/libio.h: Likewise.
37809 * include/locale.h: Likewise.
37810 * include/math.h: Likewise.
37811 * include/net/if.h: Likewise.
37812 * include/netdb.h: Likewise.
37813 * include/netinet/in.h: Likewise.
37814 * include/pthread.h: Likewise.
37815 * include/pwd.h: Likewise.
37816 * include/regex.h: Likewise.
37817 * include/sched.h: Likewise.
37818 * include/search.h: Likewise.
37819 * include/setjmp.h: Likewise.
37820 * include/signal.h: Likewise.
37821 * include/stdio.h: Likewise.
37822 * include/stdlib.h: Likewise.
37823 * include/string.h: Likewise.
37824 * include/sys/cdefs.h: Likewise.
37825 * include/sys/mman.h: Likewise.
37826 * include/sys/msg.h: Likewise.
37827 * include/sys/resource.h: Likewise.
37828 * include/sys/select.h: Likewise.
37829 * include/sys/socket.h: Likewise.
37830 * include/sys/stat.h: Likewise.
37831 * include/sys/statvfs.h: Likewise.
37832 * include/sys/time.h: Likewise.
37833 * include/sys/times.h: Likewise.
37834 * include/sys/uio.h: Likewise.
37835 * include/sys/utsname.h: Likewise.
37836 * include/sys/wait.h: Likewise.
37837 * include/termios.h: Likewise.
37838 * include/time.h: Likewise.
37839 * include/ulimit.h: Likewise.
37840 * include/unistd.h: Likewise.
37841 * include/utime.h: Likewise.
37842 * include/wchar.h: Likewise.
37843 * include/wctype.h: Likewise.
37844 * include/wordexp.h: Likewise.
37846 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37848 * time/time.h: TIME_UTC must be a macro.
37849 Make timespec_get available for ISO C11 only as well.
37851 2012-02-24 Ulrich Drepper <drepper@gmail.com>
37853 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37854 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37856 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37858 * configure.in: Use -o not -a in test for unsupported multi-arch.
37860 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37862 * manual/texinfo.tex: Update to version 2012-01-19.16.
37864 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37866 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37868 2012-02-24 Roland McGrath <roland@hack.frob.com>
37871 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37872 * manual/fdl-1.3.texi: New file.
37873 * manual/fdl-1.1.texi: File removed.
37876 * manual/libc.texinfo (FDL_VERSION): New @set.
37877 Use it for mention of FDL in cover text.
37878 (Documentation License): Use it in @include file name.
37880 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37881 Roland McGrath <roland@hack.frob.com>
37884 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37885 (not LONG_LONG_MAX and LONG_LONG_MIN.
37886 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37887 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37889 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37891 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37895 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37896 manipulate bits before adding and subtracting TWO23[sx].
37897 * math/libm-test.inc (nearbyint_test): Add more tests.
37899 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37902 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37903 bits before adding and subtracting TWO23[sx].
37904 * math/libm-test.inc (rint_test): Add more tests.
37905 (rint_test_tonearest): Likewise.
37906 (rint_test_towardzero): Likewise.
37907 (rint_test_downward): Likewise.
37908 (rint_test_upward: Likewise.
37910 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37913 * include/stdc-predef.h: New file. Extracted from features.h.
37914 * include/features.h: Include stdc-predef.h.
37915 * Makefile (headers): Add stdc-predef.h.
37916 * CONFORMANCE (Compiler limitations): Update.
37918 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37920 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37922 2012-02-21 David S. Miller <davem@davemloft.net>
37924 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37925 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37927 2012-02-20 David S. Miller <davem@davemloft.net>
37929 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37930 using a normal save/restore sequence, rather than allocating a
37931 dummy stack frame just to store a frame pointer and restore.
37932 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37934 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37936 * manual/install.texi: Fix stray word in line-wrapped comment.
37938 2012-02-20 David S. Miller <davem@davemloft.net>
37940 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37941 both binutils and gcc support GOTDATA.
37943 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37944 "rd %pc" in the PIC register setup sequences.
37946 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37947 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37948 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37949 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37950 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37951 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37952 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37953 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37954 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37955 (SYSCALL_ERROR_HANDLER): Likewise.
37956 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37957 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37958 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37959 (SYSCALL_ERROR_HANDLER): Likewise.
37961 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37962 (HAVE_GCC_GOTDATA): New.
37963 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37964 relocation support in both binutils and gcc.
37965 * sysdeps/sparc/elf/configure: Regenerate.
37967 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37968 * sysdeps/sparc/sparc32/elf/configure: Delete.
37969 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37970 * sysdeps/sparc/sparc64/elf/configure: Delete.
37971 * sysdeps/sparc/elf/configure.in: New file.
37972 * sysdeps/sparc/elf/configure: Generate.
37974 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37975 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37976 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37977 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37978 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37980 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37982 * manual/install.texi: Do not mention specific glibc version
37984 * manual/libc.texinfo (VERSION, UPDATED): Update.
37985 (@copying): Use @copyright{} and range of years.
37987 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37990 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37991 [crti.S not in sysdirs] (generated): Do not append.
37992 [crti.S not in sysdirs] (omit-deps): Likewise.
37993 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37994 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37995 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37996 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37997 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37999 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38000 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38001 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38002 * csu/defs.awk: Remove file.
38003 * sysdeps/generic/initfini.c: Likewise.
38004 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38006 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38009 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38011 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38012 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38013 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38014 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38015 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38016 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38018 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38019 (__EPOLL_PACKED): Define to empty if not defined by
38021 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38025 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38027 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38028 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38029 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38030 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38032 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38036 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38038 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38040 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38041 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38042 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38045 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38047 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38048 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38050 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38052 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38053 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38055 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38057 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38060 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38062 * math/w_acos.c: Use non-signaling floating-point comparisons.
38063 * math/w_acosf.c: Likewise.
38064 * math/w_acosh.c: Likewise.
38065 * math/w_acoshf.c: Likewise.
38066 * math/w_acoshl.c: Likewise.
38067 * math/w_acosl.c: Likewise.
38068 * math/w_asin.c: Likewise.
38069 * math/w_asinf.c: Likewise.
38070 * math/w_asinl.c: Likewise.
38071 * math/w_atanh.c: Likewise.
38072 * math/w_atanhf.c: Likewise.
38073 * math/w_atanhl.c: Likewise.
38074 * math/w_exp2.c: Likewise.
38075 * math/w_exp2f.c: Likewise.
38076 * math/w_exp2l.c: Likewise.
38077 * math/w_j0.c: Likewise.
38078 * math/w_j0f.c: Likewise.
38079 * math/w_j0l.c: Likewise.
38080 * math/w_j1.c: Likewise.
38081 * math/w_j1f.c: Likewise.
38082 * math/w_j1l.c: Likewise.
38083 * math/w_jn.c: Likewise.
38084 * math/w_jnf.c: Likewise.
38085 * math/w_log.c: Likewise.
38086 * math/w_log10.c: Likewise.
38087 * math/w_log10f.c: Likewise.
38088 * math/w_log10l.c: Likewise.
38089 * math/w_log2.c: Likewise.
38090 * math/w_log2f.c: Likewise.
38091 * math/w_log2l.c: Likewise.
38092 * math/w_logf.c: Likewise.
38093 * math/w_logl.c: Likewise.
38094 * math/w_sqrt.c: Likewise.
38095 * math/w_sqrtf.c: Likewise.
38096 * math/w_sqrtl.c: Likewise.
38097 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38098 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38099 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38100 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38101 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38103 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38106 * manual/string.texi (strnlen): Use correct parameter name in
38107 equivalent expression.
38109 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38112 * manual/users.texi (seteuid): Consistently use neweuid for
38115 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38118 * manual/nss.texi (Services in the NSS configuration): Correct
38119 list of services in example configuration file.
38121 2012-02-19 Nick Bowler <nbowler@draconx.ca>
38124 * manual/arith.texi: Remove statements about negative zero
38125 behaving identically to zero.
38127 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38130 * manual/install.texi: Do not document upgrading from libc5.
38132 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38135 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38137 2012-02-18 David S. Miller <davem@davemloft.net>
38139 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38140 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38141 %o7 across the call.
38142 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38144 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38145 SETUP_PIC_REG_LEAF.
38146 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38147 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38148 * sysdeps/sparc/crtn.S: Likewise.
38150 2012-02-17 Ulrich Drepper <drepper@gmail.com>
38152 * aout/Makefile: Remove.
38154 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38157 * manual/examples/argp-ex1.c (main): Format definition in GNU
38159 * manual/examples/argp-ex2.c (main): Likewise.
38160 * manual/examples/argp-ex3.c (main): Likewise.
38161 * manual/examples/argp-ex4.c (main): Likewise.
38162 * manual/examples/longopt.c (main): Use new-style prototype
38164 * manual/examples/strncat.c (main): Specify return type and use
38165 (void) for arguments.
38166 * manual/examples/subopt.c (main): Use char **argv argument.
38168 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38171 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38174 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38177 * manual/string.texi (strchr): Change when strchrnul is
38180 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38183 * manual/locale.texi (setlocale): Document LOCPATH.
38185 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38188 * manual/process.texi (execle): Move @dots{} before last argument.
38190 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
38193 * manual/charset.texi (Generic Charset Conversion): Fix typo
38194 (LC_TYPE -> LC_CTYPE).
38196 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38199 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38200 (scalbnf): Likewise.
38201 (scalbnl): Likewise.
38202 (scalbln): Likewise.
38203 (scalblnf): Likewise.
38204 (scalblnl): Likewise.
38205 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38206 (vwarnx): Likewise.
38209 * manual/filesys.texi (telldir): Use braces around return type.
38210 * manual/llio.texi (mmap): Add space after comma.
38211 (mmap64): Likewise.
38212 * manual/math.texi (jn): Use @var{} on parameter names.
38218 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38220 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38222 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38223 (sched_get_priority_max): Likewise.
38224 * manual/signal.texi (sigvec): Add space after comma.
38225 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38227 (if_indextoname): Likewise.
38228 (if_freenameindex): Likewise.
38229 (sendto): Use ',' instead of '.' in prototype.
38230 * manual/startup.texi (syscall): Use @dots{} instead of literal
38232 * manual/stdio.texi (__fpending): Separate initial words of
38233 paragraph from @deftypefun line.
38234 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38236 (vsyslog): Use @var{} on parameter names.
38237 * manual/terminal.texi (stty): Use @var{} on parameter names.
38238 * manual/users.texi (getutmp): Use @var{} on parameter names.
38239 (getutmpx): Likewise.
38241 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38244 * manual/stdio.texi (fopen): Fix typos in description of
38247 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38250 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38251 get clock_id definition.
38253 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
38256 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38257 (madvise): Cast every argument to void on its own.
38259 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38262 * manual/startup.texi (Exit Status): Fix typo.
38264 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38267 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38268 * manual/examples/argp-ex2.c: Likewise.
38269 * manual/examples/argp-ex3.c: Likewise.
38271 2012-02-16 Richard Henderson <rth@redhat.com>
38273 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38274 * sysdeps/s390/s390-32/initfini.c: Remove.
38275 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38276 * sysdeps/s390/s390-64/initfini.c: Remove.
38278 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38280 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38281 compiler output for sysdeps/generic/initfini.c.
38282 * sysdeps/sh/elf/initfini.c: Remove file.
38284 2012-02-16 David S. Miller <davem@davemloft.net>
38287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38289 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38290 * sysdeps/sparc/crti.S: New file.
38291 * sysdeps/sparc/crtn.S: New file.
38292 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38293 * sysdeps/sparc/sparc64/Makefile: Likewise.
38295 2012-02-15 Mike Frysinger <vapier@gentoo.org>
38298 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38300 2012-02-15 Roland McGrath <roland@hack.frob.com>
38303 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38305 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38306 (write, read, close): Likewise.
38307 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38309 2012-02-15 Joseph Myers <joseph@codesourcery.com>
38311 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38312 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38313 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38314 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38316 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38320 2012-02-14 Marek Polacek <polacek@redhat.com>
38322 * sysdeps/x86_64/crti.S: New file.
38323 * sysdeps/x86_64/crtn.S: New file.
38324 * sysdeps/x86_64/elf/initfini.c: Remove file.
38326 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38328 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38329 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38330 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38331 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38333 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38337 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38339 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38340 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38341 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38342 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38344 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38348 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38350 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38351 __feraiseexcept instead of feraiseexcept.
38353 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38354 nanosleep invocations.
38355 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38356 strings, and add error checking for a nanosleep invocations.
38358 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38360 Replace FSF snail mail address with URLs, as per GNU coding standards.
38361 Most of the snail mail addresses were wrong anyway, and omitting
38362 them makes the source code easier to maintain. Almost all of the
38363 changes are to license notices and to locale LC_IDENTIFICATION
38364 addresses, except for this one:
38365 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38366 not its snail mail address.
38368 2012-02-09 Richard Henderson <rth@twiddle.net>
38370 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38371 of kernel-features.h.
38373 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38375 2012-02-08 Marek Polacek <polacek@redhat.com>
38377 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38378 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38379 * sysdeps/gnu/_G_config.h: Likewise.
38380 * sysdeps/generic/_G_config.h: Likewise.
38382 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38384 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38388 * sysdeps/powerpc/powerpc32/crti.S: New file.
38389 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38390 * sysdeps/powerpc/powerpc64/crti.S: New file.
38391 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38393 * Makeconfig (have-initfini): Don't set.
38394 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38395 * configure.in (nopic_initfini): Don't substitute.
38396 * config.h.in (HAVE_INITFINI): Don't #undef.
38397 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38398 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38400 2012-02-08 Joseph Myers <joseph@codesourcery.com>
38402 Support crti.S and crtn.S provided directly by architectures.
38403 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38404 [crti.S in sysdirs] (omit-deps): Likewise.
38405 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38406 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38407 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38408 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38409 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38410 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38411 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38412 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38413 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38414 compiler output for sysdeps/generic/initfini.c.
38415 * sysdeps/i386/elf/Makefile: Remove file.
38416 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38418 2012-02-07 Marek Polacek <polacek@redhat.com>
38420 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38421 * sysdeps/gnu/_G_config.h: Likewise.
38422 * sysdeps/mach/hurd/_G_config.h: Likewise.
38424 2012-02-07 Marek Polacek <polacek@redhat.com>
38426 * math/Makefile (tests): Add tst-CMPLX2.
38427 * math/tst-CMPLX2.c: New file.
38429 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38431 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38433 * math/libm-test.inc (jn_test): Add missing L suffix.
38435 2012-02-06 Marek Polacek <polacek@redhat.com>
38437 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38438 * sysdeps/i386/fpu/e_powf.S: Likewise.
38439 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38440 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38441 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38442 * sysdeps/i386/fpu/e_pow.S: Likewise.
38443 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38444 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38445 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38446 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38447 * sysdeps/i386/fpu/e_log2.S: Likewise.
38448 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38449 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38450 * sysdeps/i386/fpu/e_powl.S: Likewise.
38451 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38452 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38453 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38454 * sysdeps/i386/fpu/e_logl.S: Likewise.
38455 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38456 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38457 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38458 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38459 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38460 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38461 * sysdeps/i386/fpu/e_log.S: Likewise.
38462 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38463 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38464 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38465 * sysdeps/i386/fpu/e_logf.S: Likewise.
38466 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38467 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38468 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38469 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38470 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38471 * sysdeps/i386/fpu/e_log10.S: Likewise.
38472 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38473 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38474 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38475 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38476 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38477 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38478 * sysdeps/i386/asm-syntax.h: Likewise.
38479 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38480 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38481 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38482 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38483 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38484 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38485 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38486 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38487 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38488 * sysdeps/powerpc/sysdep.h: Likewise.
38489 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38490 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38492 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38495 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38497 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38499 * sysdeps/i386/sysdep.h: Include <features.h>.
38500 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38503 2012-02-05 Joseph Myers <joseph@codesourcery.com>
38505 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38507 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38510 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38512 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38513 (SETUP_PIC_REG): Use GET_PC_THUNK.
38514 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38517 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38519 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38520 for non-PIC compilation.
38521 (SETUP_PIC_REG): Add .p2align directive.
38522 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38523 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38524 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38525 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38526 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38527 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38528 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38529 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38530 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38531 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38532 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38533 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38534 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38535 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38536 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38537 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38538 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38539 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38540 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38541 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38542 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38543 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38544 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38545 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38546 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38548 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38549 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38550 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38551 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38552 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38553 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38554 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38555 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38556 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38557 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38558 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38559 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38560 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38561 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38562 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38564 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38566 * math/tst-CMPLX.c: Include <stdio.h>.
38568 2012-01-31 Joseph Myers <joseph@codesourcery.com>
38570 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38572 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38573 * sysdeps/sparc/bits/mathdef.h: Likewise.
38575 2012-01-31 Marek Polacek <polacek@redhat.com>
38577 * libio/libio.h: Don't define _PARAMS.
38578 * locale/programs/config.h: Don't define PARAMS.
38579 * stdlib/strtol_l.c: Likewise.
38580 (__strtol_l): Remove PARAMS from the prototype.
38582 2012-01-31 Ulrich Drepper <drepper@gmail.com>
38584 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38585 names. Just use the correct names. Remove unnecessary wrapper
38587 * malloc/arena.c: Likewise.
38588 * malloc/hooks.c: Likewise.
38590 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38591 ARENA_TEST says not to. Simplify test for creation of a new arena.
38592 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38594 2012-01-30 Ulrich Drepper <drepper@gmail.com>
38596 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38598 (update_get_addr): New function.
38599 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38600 GET_ADDR_MODULE parameter.
38602 2012-01-30 Joseph Myers <joseph@codesourcery.com>
38604 * crypt/cert.c: Remove __STDC__ conditionals.
38605 * crypt/crypt-entry.c: Likewise.
38606 * crypt/crypt_util.c: Likewise.
38607 * libio/filedoalloc.c: Likewise.
38608 * libio/fileops.c: Likewise.
38609 * libio/genops.c: Likewise.
38610 * libio/iofclose.c: Likewise.
38611 * libio/iofdopen.c: Likewise.
38612 * libio/iofopen.c: Likewise.
38613 * libio/iofopen64.c: Likewise.
38614 * libio/iogetdelim.c: Likewise.
38615 * libio/iopopen.c: Likewise.
38616 * libio/obprintf.c: Likewise.
38617 * libio/oldfileops.c: Likewise.
38618 * libio/oldiofclose.c: Likewise.
38619 * libio/oldiofdopen.c: Likewise.
38620 * libio/oldiofopen.c: Likewise.
38621 * libio/oldiopopen.c: Likewise.
38622 * libio/wfiledoalloc.c: Likewise.
38623 * libio/wgenops.c: Likewise.
38624 * locale/programs/xmalloc.c: Likewise.
38625 * misc/syslog.c: Likewise.
38626 * stdio-common/xbug.c: Likewise.
38627 * string/memchr.c: Likewise.
38628 * string/memcmp.c: Likewise.
38629 * string/memrchr.c: Likewise.
38630 * string/rawmemchr.c: Likewise.
38631 * sysdeps/posix/getcwd.c: Likewise.
38632 * time/strftime_l.c: Likewise.
38634 2012-01-30 Joseph Myers <joseph@codesourcery.com>
38636 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38637 * config.make.in (config-cflags-sse2avx): Define.
38638 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38641 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38643 * scripts/config.guess: Update from upstream config git repository.
38644 * scripts/config.sub: Likewise.
38646 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38648 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38650 (R_TILEPRO_*, R_TILEGX_*): New macros.
38652 * scripts/firstversions.awk: Fix bug in version range handling.
38654 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38656 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38658 * include/sys/epoll.h: New file.
38659 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38662 2012-01-28 Ulrich Drepper <drepper@gmail.com>
38664 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38665 Avoid unnecessary __WORDSIZE == 64 test.
38666 (fmaxf): Use VEX format if possible.
38671 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38672 * math/math_private.h: Remove libc_fegetround* and
38674 * sysdeps/i386/configure.in: Check for -msse2avx.
38675 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38676 also if SSE2AVX is defined.
38677 Remove libc_fegetround* and libc_fesetround*.
38678 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38679 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38680 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38682 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38683 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38684 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38685 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38686 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38688 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38690 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38692 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38694 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38696 2012-01-27 Ulrich Drepper <drepper@gmail.com>
38699 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38701 * Makeconfig (libm): Define.
38702 * elf/Makefile: Add rules to build and run tst-relsort1.
38703 * elf/tst-relsort1.c: New file.
38704 * elf/tst-relsort1mod1.c: New file.
38705 * elf/tst-relsort1mod2.c: New file.
38707 2012-01-27 Joseph Myers <joseph@codesourcery.com>
38709 * math/s_ldexp.c: Remove __STDC__ conditionals.
38710 * math/s_ldexpf.c: Likewise.
38711 * math/s_ldexpl.c: Likewise.
38712 * math/s_nextafter.c: Likewise.
38713 * math/s_nexttowardf.c: Likewise.
38714 * math/s_significand.c: Likewise.
38715 * math/s_significandf.c: Likewise.
38716 * math/s_significandl.c: Likewise.
38717 * math/w_jnl.c: Likewise.
38718 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38719 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38720 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38721 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38722 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38723 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38724 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38725 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38726 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38727 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38728 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38729 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38730 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38731 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38732 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38733 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38734 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38735 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38736 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38737 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38738 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38739 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38740 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38741 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38742 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38743 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38744 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38745 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38746 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38747 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38748 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38749 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38750 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38751 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38752 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38753 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38754 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38755 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38756 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38757 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38758 * sysdeps/ieee754/k_standard.c: Likewise.
38759 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38760 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38761 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38762 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38763 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38764 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38765 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38766 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38767 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38768 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38769 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38770 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38771 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38772 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38773 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38774 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38775 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38776 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38777 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38778 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38779 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38780 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38781 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38782 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38783 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38784 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38785 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38786 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38787 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38788 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38789 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38790 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38791 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38792 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38793 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38794 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38795 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38796 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38797 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38798 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38799 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38800 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38801 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38802 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38803 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38804 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38805 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38806 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38807 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38808 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38809 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38810 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38811 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38812 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38813 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38814 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38815 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38816 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38817 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38818 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38819 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38820 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38821 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38822 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38823 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38824 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38825 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38826 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38827 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38828 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38829 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38830 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38831 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38832 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38833 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38834 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38835 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38836 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38837 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38838 * sysdeps/ieee754/s_matherr.c: Likewise.
38839 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38840 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38841 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38842 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38844 2012-01-26 Joseph Myers <joseph@codesourcery.com>
38846 * crypt/md5.h: Remove __STDC__ conditionals.
38847 * libio/libioP.h: Likewise.
38848 * locale/programs/config.h: Likewise.
38849 * sysdeps/generic/sysdep.h: Likewise.
38850 * sysdeps/i386/asm-syntax.h: Likewise.
38851 * sysdeps/s390/asm-syntax.h: Likewise.
38852 * sysdeps/unix/sysdep.h: Likewise.
38853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38856 2012-01-26 Joseph Myers <joseph@codesourcery.com>
38858 * libio/libio.h: Remove __STDC__ conditionals.
38859 * malloc/obstack.h: Likewise.
38860 * math/complex.h: Likewise.
38861 * math/math.h: Likewise.
38862 * sysdeps/generic/_G_config.h: Likewise.
38863 * sysdeps/gnu/_G_config.h: Likewise.
38864 * sysdeps/mach/hurd/_G_config.h: Likewise.
38865 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38866 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38867 * sysdeps/sparc/bits/mathdef.h: Likewise.
38869 2012-01-26 Ulrich Drepper <drepper@gmail.com>
38872 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38873 Clean up HAS_* macros.
38874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38875 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38877 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38879 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38880 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38881 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38882 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38883 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38885 2012-01-25 Joseph Myers <joseph@codesourcery.com>
38887 * elf/tst-unique3.cc (gets): Remove declaration.
38888 * elf/tst-unique3lib.cc (gets): Likewise.
38889 * elf/tst-unique3lib2.cc (gets): Likewise.
38890 * elf/tst-unique4.cc (gets): Likewise.
38892 2012-01-24 Ulrich Drepper <drepper@gmail.com>
38894 * include/stdio.h: Add C++ protection. Add gets declarations and
38896 * debug/tst-chk1.c: Don't declare gets here.
38897 * stdio-common/tst-gets.c: Likewise.
38899 2012-01-24 Joseph Myers <joseph@codesourcery.com>
38901 * posix/glob: Remove directory.
38903 2012-01-24 Joseph Myers <joseph@codesourcery.com>
38905 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38907 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38909 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38910 of the non-standard EPFNOSUPPORT.
38912 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38914 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38915 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38916 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38918 2012-01-21 Ulrich Drepper <drepper@gmail.com>
38920 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38922 2012-01-20 Ulrich Drepper <drepper@gmail.com>
38924 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38926 * nscd/grpcache.c (cache_addgr): Likewise.
38927 * nscd/hstcache.c (cache_addhst): Likewise.
38928 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38929 * nscd/pwdcache.c (cache_addpw): Likewise.
38930 * nscd/servicescache.c (cache_addserv): Likewise.
38932 2012-01-16 Ulrich Drepper <drepper@gmail.com>
38934 * malloc/malloc.c: Various cleanups.
38935 * malloc/hooks.c: Likewise.
38937 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38938 * stdlib/bug-fmtmsg1.c: New file.
38940 * stdlib/fmtmsg.c (init): Add missing unlock.
38941 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38943 2012-01-12 Marek Polacek <polacek@redhat.com>
38945 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38948 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38950 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38951 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38952 macro to ensure uniqueness of label name.
38953 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38954 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38956 2012-01-11 Ulrich Drepper <drepper@gmail.com>
38958 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38960 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38961 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38962 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38963 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38965 2012-01-10 Ulrich Drepper <drepper@gmail.com>
38967 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38969 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38970 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38971 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38973 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38975 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
38976 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38977 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38978 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
38980 * math/bits/math-finite.h: Add ldexp support.
38982 2012-01-10 Marek Polacek <polacek@redhat.com>
38984 * locale/programs/localedef.h (show_archive_content): Add noreturn
38987 2012-01-09 Ulrich Drepper <drepper@gmail.com>
38989 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38991 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38993 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38995 * io/Makefile (headers): Add bits/poll2.h.
38997 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39000 typo #include statement.
39002 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39004 * include/sys/cdefs.h: Define __attribute_alloc_size.
39005 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39006 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39007 * elf/pldd.c: Likewise.
39008 * iconv/iconv_charmap.c: Likewise.
39009 * iconv/iconvconfig.c: Likewise.
39010 * iconv/strtab.c: Likewise.
39011 * locale/programs/locale.c: Likewise.
39012 * locale/programs/localedef.h: Likewise.
39013 * locale/programs/simple-hash.c: Likewise.
39014 * nscd/nscd.h: Likewise.
39015 * nss/makedb.c: Likewise.
39016 * sysdeps/generic/ldconfig.h: Likewise.
39017 * locale/programs/localedef.c: Remove xmalloc prototype.
39018 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39020 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39022 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39025 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39027 * math/Makefile (tests): Add tst-CMPLX.
39028 * math/tst-CMPLX.c: New file.
39030 * math/complex.h (CMPLXL): Fix typo.
39032 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39033 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39035 * debug/tst-chk1.c: Add poll and ppoll tests.
39036 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39037 * include/sys/poll.h: Add hidden proto for ppoll.
39038 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39039 * sysdeps/mach/hurd/ppoll.c: Likewise.
39040 * io/ppoll.c: Likewise.
39041 * debug/poll_chk.c: New file.
39042 * debug/ppoll_chk.c: New file.
39043 * include/bits/poll2.h: New file.
39044 * io/bits/poll2.h: New file.
39047 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39049 * configure.in: static is always set to yes. Remove.
39050 * config.make.in: Don't set build-static.
39051 * Makeconfig: Remove use of build-static.
39052 * dlfcn/Makefile: Likewise.
39053 * elf/Makefile: Likewise.
39054 * math/Makefile: Likewise.
39055 * misc/Makefile: Likewise.
39056 * nptl/Makefile: Likewise.
39057 * sysdeps/mach/hurd/Makefile: Likewise.
39059 * configure.in: PWD_P is not used anymore.
39060 * config.make.in: Remove PWD_P entry.
39062 * configure.in: Remove last remnants of RANLIB.
39063 No need to check for signed size_t anymore.
39064 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39066 Remove __builtin_expect test because we require at least gcc 3.4.
39067 * aclocal.m4: Likewise.
39069 * wcsmbs/mbrtoc16.c: Implement using towc function.
39070 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39071 * wcsmbs/wcsmbsload.c: Likewise.
39072 * iconv/gconv_simple.c: Likewise.
39073 * iconv/gconv_int.h: Likewise.
39074 * iconv/gconv_builtin.h: Likewise.
39075 * iconv/iconv_prog.c: Remove CHAR16 handling.
39077 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39079 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39081 * configure.in: Remove --with-elf and --enable-bounded options.
39082 Dont set base_machine for ia64. More non-ELF conditions removed.
39083 Remove testing and setting of leading underscore information.
39084 * config.make.in (build-bounded): Set to no.
39085 * config.h.in: Remove NO_UNDERSCORES entry.
39086 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39088 * csu/start.c: Remove !NO_UNDERSCORE code.
39089 * locale/localeinfo.h: Likewise.
39090 * sysdeps/generic/machine-gmon.h: Likewise.
39091 * sysdeps/generic/sysdep.h: Likewise.
39092 * sysdeps/i386/sysdep.h: Likewise.
39093 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39094 * sysdeps/mach/sysdep.h: Likewise.
39095 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39096 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39097 * sysdeps/sh/sysdep.h: Likewise.
39098 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39099 * sysdeps/unix/i386/sysdep.S: Likewise.
39100 * sysdeps/unix/sparc/start.c: Likewise.
39101 * sysdeps/unix/sparc/sysdep.S: Likewise.
39102 * sysdeps/unix/sparc/sysdep.h: Likewise.
39103 * sysdeps/unix/start.c: Likewise.
39104 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39105 * sysdeps/x86_64/sysdep.h: Likewise.
39107 2012-01-07 Ulrich Drepper <drepper@gmail.com>
39110 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39112 * argp/argp-fmtstream.h: Use const instead __const.
39113 * argp/argp.h: Likewise.
39114 * assert/assert.h: Likewise.
39115 * bits/fenv.h: Likewise.
39116 * bits/sched.h: Likewise.
39117 * bits/sigset.h: Likewise.
39118 * bits/sigthread.h: Likewise.
39119 * catgets/nl_types.h: Likewise.
39120 * conform/data/pthread.h-data: Likewise.
39121 * crypt/crypt-private.h: Likewise.
39122 * crypt/crypt.h: Likewise.
39123 * crypt/crypt_util.c: Likewise.
39124 * ctype/ctype.h: Likewise.
39125 * debug/execinfo.h: Likewise.
39126 * debug/mbsnrtowcs_chk.c: Likewise.
39127 * debug/mbsrtowcs_chk.c: Likewise.
39128 * debug/wcsnrtombs_chk.c: Likewise.
39129 * debug/wcsrtombs_chk.c: Likewise.
39130 * debug/wcstombs_chk.c: Likewise.
39131 * dirent/dirent.h: Likewise.
39132 * dlfcn/dlfcn.h: Likewise.
39133 * elf/neededtest4.c: Likewise.
39134 * grp/grp.h: Likewise.
39135 * gshadow/gshadow.h: Likewise.
39136 * iconv/gconv.h: Likewise.
39137 * iconv/gconv_int.h: Likewise.
39138 * iconv/gconv_simple.c: Likewise.
39139 * iconv/iconv.h: Likewise.
39140 * iconv/loop.c: Likewise.
39141 * iconv/skeleton.c: Likewise.
39142 * include/aio.h: Likewise.
39143 * include/aliases.h: Likewise.
39144 * include/argz.h: Likewise.
39145 * include/arpa/inet.h: Likewise.
39146 * include/assert.h: Likewise.
39147 * include/dirent.h: Likewise.
39148 * include/dlfcn.h: Likewise.
39149 * include/execinfo.h: Likewise.
39150 * include/fcntl.h: Likewise.
39151 * include/fenv.h: Likewise.
39152 * include/glob.h: Likewise.
39153 * include/grp.h: Likewise.
39154 * include/libintl.h: Likewise.
39155 * include/mntent.h: Likewise.
39156 * include/netdb.h: Likewise.
39157 * include/pwd.h: Likewise.
39158 * include/rpc/netdb.h: Likewise.
39159 * include/sched.h: Likewise.
39160 * include/search.h: Likewise.
39161 * include/shadow.h: Likewise.
39162 * include/signal.h: Likewise.
39163 * include/stdio.h: Likewise.
39164 * include/stdlib.h: Likewise.
39165 * include/string.h: Likewise.
39166 * include/sys/socket.h: Likewise.
39167 * include/sys/stat.h: Likewise.
39168 * include/sys/statfs.h: Likewise.
39169 * include/sys/statvfs.h: Likewise.
39170 * include/sys/syslog.h: Likewise.
39171 * include/sys/time.h: Likewise.
39172 * include/sys/uio.h: Likewise.
39173 * include/time.h: Likewise.
39174 * include/unistd.h: Likewise.
39175 * include/utmp.h: Likewise.
39176 * include/wchar.h: Likewise.
39177 * include/wctype.h: Likewise.
39178 * inet/aliases.h: Likewise.
39179 * inet/arpa/inet.h: Likewise.
39180 * inet/netinet/ether.h: Likewise.
39181 * inet/netinet/in.h: Likewise.
39182 * intl/libintl.h: Likewise.
39183 * io/bits/fcntl2.h: Likewise.
39184 * io/fcntl.h: Likewise.
39185 * io/ftw.h: Likewise.
39186 * io/sys/poll.h: Likewise.
39187 * io/sys/stat.h: Likewise.
39188 * io/sys/statfs.h: Likewise.
39189 * io/sys/statvfs.h: Likewise.
39190 * io/utime.h: Likewise.
39191 * libio/bits/stdio.h: Likewise.
39192 * libio/bits/stdio2.h: Likewise.
39193 * libio/libio.h: Likewise.
39194 * libio/libioP.h: Likewise.
39195 * libio/stdio.h: Likewise.
39196 * locale/lc-ctype.c: Likewise.
39197 * locale/locale.h: Likewise.
39198 * login/utmp.h: Likewise.
39199 * malloc/arena.c: Likewise.
39200 * malloc/malloc.c: Likewise.
39201 * malloc/malloc.h: Likewise.
39202 * malloc/mcheck.c: Likewise.
39203 * malloc/mtrace.c: Likewise.
39204 * math/bits/mathcalls.h: Likewise.
39205 * math/fenv.h: Likewise.
39206 * math/math_private.h: Likewise.
39207 * misc/bits/error.h: Likewise.
39208 * misc/bits/syslog.h: Likewise.
39209 * misc/err.h: Likewise.
39210 * misc/error.h: Likewise.
39211 * misc/fstab.h: Likewise.
39212 * misc/mntent.h: Likewise.
39213 * misc/regexp.h: Likewise.
39214 * misc/search.h: Likewise.
39215 * misc/sgtty.h: Likewise.
39216 * misc/sys/mman.h: Likewise.
39217 * misc/sys/syslog.h: Likewise.
39218 * misc/sys/uio.h: Likewise.
39219 * misc/sys/xattr.h: Likewise.
39220 * misc/ttyent.h: Likewise.
39221 * nis/rpcsvc/ypclnt.h: Likewise.
39222 * nss/nss.h: Likewise.
39223 * posix/bits/unistd.h: Likewise.
39224 * posix/fnmatch.h: Likewise.
39225 * posix/glob.h: Likewise.
39226 * posix/sched.h: Likewise.
39227 * posix/spawn.h: Likewise.
39228 * posix/sys/wait.h: Likewise.
39229 * posix/unistd.h: Likewise.
39230 * posix/wordexp.h: Likewise.
39231 * pwd/pwd.h: Likewise.
39232 * resolv/netdb.h: Likewise.
39233 * resource/sys/resource.h: Likewise.
39234 * rt/aio.h: Likewise.
39235 * rt/bits/mqueue2.h: Likewise.
39236 * rt/mqueue.h: Likewise.
39237 * shadow/shadow.h: Likewise.
39238 * signal/signal.h: Likewise.
39239 * socket/send.c: Likewise.
39240 * socket/sendto.c: Likewise.
39241 * socket/sys/socket.h: Likewise.
39242 * stdio-common/printf.h: Likewise.
39243 * stdlib/bits/stdlib.h: Likewise.
39244 * stdlib/fmtmsg.h: Likewise.
39245 * stdlib/monetary.h: Likewise.
39246 * stdlib/stdlib.h: Likewise.
39247 * stdlib/ucontext.h: Likewise.
39248 * streams/stropts.h: Likewise.
39249 * string/argz.h: Likewise.
39250 * string/bits/string2.h: Likewise.
39251 * string/string.h: Likewise.
39252 * string/strings.h: Likewise.
39253 * sunrpc/rpc/auth.h: Likewise.
39254 * sunrpc/rpc/auth_des.h: Likewise.
39255 * sunrpc/rpc/clnt.h: Likewise.
39256 * sunrpc/rpc/netdb.h: Likewise.
39257 * sunrpc/rpc/pmap_clnt.h: Likewise.
39258 * sunrpc/rpc/xdr.h: Likewise.
39259 * sysdeps/generic/inttypes.h: Likewise.
39260 * sysdeps/generic/net/if.h: Likewise.
39261 * sysdeps/generic/sys/swap.h: Likewise.
39262 * sysdeps/gnu/net/if.h: Likewise.
39263 * sysdeps/gnu/utmpx.h: Likewise.
39264 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39265 * sysdeps/i386/i486/bits/string.h: Likewise.
39266 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39267 * sysdeps/s390/bits/string.h: Likewise.
39268 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39269 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39270 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39271 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39272 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39273 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39274 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39275 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39276 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39277 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39278 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39279 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39280 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39281 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39282 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39283 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39284 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39285 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39286 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39287 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39288 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39289 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39290 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39291 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39292 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39293 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39294 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39295 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39296 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39297 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39298 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39299 * sysvipc/sys/ipc.h: Likewise.
39300 * sysvipc/sys/msg.h: Likewise.
39301 * sysvipc/sys/sem.h: Likewise.
39302 * sysvipc/sys/shm.h: Likewise.
39303 * termios/termios.h: Likewise.
39304 * time/sys/time.h: Likewise.
39305 * time/time.h: Likewise.
39306 * wcsmbs/bits/wchar2.h: Likewise.
39307 * wcsmbs/uchar.h: Likewise.
39308 * wcsmbs/wchar.h: Likewise.
39309 * wctype/wctype.h: Likewise.
39312 * Makeconfig: Remove all but ELF support including AIX support.
39313 * Makerules: Likewise.
39314 * config.h.in: Likewise.
39315 * config.make.in: Likewise.
39316 * configure: Likewise.
39317 * configure.in: Likewise.
39318 * csu/Makefile: Likewise.
39319 * csu/version.c: Likewise.
39320 * debug/Makefile: Likewise.
39321 * dlfcn/Makefile: Likewise.
39322 * elf/Makefile: Likewise.
39323 * extra-lib.mk: Likewise.
39324 * iconv/Makefile: Likewise.
39325 * include/libc-symbols.h: Likewise.
39326 * include/shlib-compat.h: Likewise.
39327 * resolv/Makefile: Likewise.
39328 * resolv/res_libc.c: Likewise.
39329 * rt/Makefile: Likewise.
39330 * sysdeps/i386/asm-syntax.h: Likewise.
39331 * sysdeps/i386/sysdep.h: Likewise.
39332 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39333 * sysdeps/mach/sysdep.h: Likewise.
39334 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39335 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39336 * sysdeps/s390/asm-syntax.h: Likewise.
39337 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39338 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39339 * sysdeps/sh/sysdep.h: Likewise.
39340 * sysdeps/unix/sparc/sysdep.h: Likewise.
39341 * sysdeps/wordsize-32/divdi3.c: Likewise.
39342 * sysdeps/x86_64/sysdep.h: Likewise.
39344 * argp/Versions: Remove _argp_unlock_xxx.
39347 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39348 * abilist/libBrokenLocale.abilist: Likewise.
39349 * abilist/libanl.abilist: Likewise.
39350 * abilist/libc.abilist: Likewise.
39351 * abilist/libcrypt.abilist: Likewise.
39352 * abilist/libdl.abilist: Likewise.
39353 * abilist/libm.abilist: Likewise.
39354 * abilist/libnsl.abilist: Likewise.
39355 * abilist/libpthread.abilist: Likewise.
39356 * abilist/libresolv.abilist: Likewise.
39357 * abilist/librt.abilist: Likewise.
39358 * abilist/libthread_db.abilist: Likewise.
39359 * abilist/libutil.abilist: Likewise.
39360 * abilist/libnss_db.abilist: New file.
39362 * scripts/abilist.awk: Add support for indirect functions.
39364 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39366 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39368 * shlib-versions: Remove entries for ports architectures.
39370 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39372 * elf/stackguard-macros.h: Remove support for IA-64.
39373 * elf/tst-auditmod1.c: Likewise.
39374 * sysdeps/generic/ldsodefs.h: Likewise.
39376 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39377 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39381 * configure.in: Remove --enable-omitfp support.
39383 * config.make.in: Likewise.
39384 * Makeconfig: Likewise.
39385 * manual/install.texi: Likewise.
39387 In case anyone cares, the IA-64 architecture could move to ports.
39388 * sysdeps/ia64/*: Removed.
39389 * sysdeps/unix/sysv/linux/ia64/*: Removed.
39390 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39393 * configure.in: Remove entries for unsupported architectures.
39396 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39397 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39399 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39400 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39401 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39402 fall back to using wcrtomb.
39403 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39404 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39406 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39407 * wcsmbs/tst-c16c32-1.c: New file.
39409 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39412 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39414 * elf/tst-unique3.cc: Add explicit declaration of gets.
39415 * elf/tst-unique3lib.cc: Likewise.
39416 * elf/tst-unique3lib2.cc: Likewise.
39417 * elf/tst-unique4.cc: Likewise.
39419 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39421 2012-01-06 Joseph Myers <joseph@codesourcery.com>
39424 * assert/assert.h (static_assert): Don't define for C++.
39425 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39426 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39428 2012-01-03 Ulrich Drepper <drepper@gmail.com>
39430 * iconv/loop.c (single loop): Fix assertion in storing of
39433 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39435 2012-01-01 Ulrich Drepper <drepper@gmail.com>
39437 * posix/getconf.c: Update copyright year.
39438 * nss/getent.c: Likewise.
39439 * nss/makedb.c: Likewise.
39440 * iconv/iconvconfig.c: Likewise.
39441 * iconv/iconv_prog.c: Likewise.
39442 * elf/ldconfig.c: Likewise.
39443 * elf/pldd.c: Likewise.
39444 * elf/sotruss.ksh: Likewise.
39445 * catgets/gencat.c: Likewise.
39446 * csu/version.c: Likewise.
39447 * elf/ldd.bash.in: Likewise.
39448 * elf/sprof.c (print_version): Likewise.
39449 * locale/programs/locale.c: Likewise.
39450 * locale/programs/localedef.c: Likewise.
39451 * login/programs/pt_chown.c: Likewise.
39452 * nscd/nscd.c (print_version): Likewise.
39453 * debug/xtrace.sh: Likewise.
39454 * malloc/memusage.sh: Likewise.
39455 * malloc/mtrace.pl: Likewise.
39456 * debug/catchsegv.sh: Likewise.
39458 2011-12-30 Jakub Jelinek <jakub@redhat.com>
39460 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39463 2011-12-24 Ulrich Drepper <drepper@gmail.com>
39466 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39467 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39469 * iconv/gconv_int.h: Likewise.
39470 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39471 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39472 from libc for GLIBC_2.16.
39473 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39474 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39475 * wcsmbs/uchar.h: Really define mbstate_t.
39476 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39477 * wcsmbs/c16rtomb.c: New file.
39478 * wcsmbs/mbrtoc16.c: New file.
39479 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39480 for C/POSIX locale.
39481 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39482 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39484 * wcsmbs/wchar.h: Add missing __restrict.
39486 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39489 * time/Makefile (routines): Add timespec_get.
39490 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39491 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39492 timespec for ISO C11.
39493 * time/timespec_get.c: New file.
39494 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39495 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39498 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39499 * stdlib/stdlib.h: Declare aligned_alloc.
39500 * Versions.def: Add GLIBC_2.16 for libc.
39501 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39504 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39507 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39511 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39514 * assert/assert.h (static_assert): Define.
39516 * version.h: Update for 2.16 development version.
39519 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39522 * version.h (RELEASE): Bump for 2.15 release.
39523 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39525 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39526 Patch by Marek Polacek <mpolacek@redhat.com>.
39528 * bits/byteswap.h: Protect long long constants with __extension__.
39529 * sysdeps/i386/bits/byteswap.h: Likewise.
39530 * sysdeps/ia64/bits/byteswap.h: Likewise.
39531 * sysdeps/s390/bits/byteswap.h: Likewise.
39532 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39534 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39537 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39538 destination buffer.
39539 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39541 2011-12-23 Marek Polacek <polacek@redhat.com>
39543 * elf/dl-addr.c (determine_info): Add inline keyword.
39544 * elf/tst-auditmod4b.c (check_avx): Likewise.
39545 * elf/tst-auditmod6b.c (check_avx): Likewise.
39546 * elf/tst-auditmod6c.c (check_avx): Likewise.
39547 * elf/tst-auditmod7b.c (check_avx): Likewise.
39549 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39551 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39554 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39557 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39558 processing for last bytes.
39560 2011-08-06 Bruno Haible <bruno@clisp.org>
39563 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39564 U+0385, not to U+1FEE.
39567 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39568 entry for U+00A5 U+0301.
39570 2011-12-22 Ulrich Drepper <drepper@gmail.com>
39573 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39574 buffer for the output is too small.
39576 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39580 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39581 SSE flags if possible.
39583 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39586 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39587 processing for last bytes.
39589 2011-12-22 Joseph Myers <joseph@codesourcery.com>
39591 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39592 (syscall-list-default-options, syscall-list-default-condition)
39593 (syscall-list-includes): Define.
39594 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39595 list of ABIs and options and #if conditions for each ABI. Do not
39596 handle common syscalls between ABIs specially.
39597 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39599 (syscall-list-variants, syscall-list-32bit-options)
39600 (syscall-list-32bit-condition, syscall-list-64bit-options)
39601 (syscall-list-64bit-condition): Define.
39602 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39603 (syscall-list-variants, syscall-list-32bit-options)
39604 (syscall-list-32bit-condition, syscall-list-64bit-options)
39605 (syscall-list-64bit-condition): Define.
39606 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39608 (syscall-list-variants, syscall-list-32bit-options)
39609 (syscall-list-32bit-condition, syscall-list-64bit-options)
39610 (syscall-list-64bit-condition): Define.
39611 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39613 (syscall-list-variants, syscall-list-32bit-options)
39614 (syscall-list-32bit-condition, syscall-list-64bit-options)
39615 (syscall-list-64bit-condition): Define.
39617 2011-12-22 Ulrich Drepper <drepper@gmail.com>
39619 * locale/iso-639.def: Add brx entry.
39622 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39623 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39625 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39626 __feraiseexcept_renamed.
39628 2011-12-21 Ulrich Drepper <drepper@gmail.com>
39631 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39632 EPOLLET with unsigned values.
39633 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39634 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39636 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39637 to large cancellation.
39638 * math/s_cacoshf.c: Likewise.
39639 * math/s_cacoshl.c: Likewise.
39641 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39645 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39646 * math/s_cacoshf.c: Likewise.
39647 * math/s_cacoshl.c: Likewise.
39649 2011-12-21 Ulrich Drepper <drepper@gmail.com>
39652 * iconv/gconv.h: Define __GCONV_SWAP.
39653 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39654 * iconvdata/utf-16.c: Likewise.
39655 * iconvdata/utf-32.c: Likewise.
39657 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39660 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39661 numerator after shifting it by one limb.
39663 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39665 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39666 under [__USE_EXTERN_INLINES].
39668 2011-12-17 Ulrich Drepper <drepper@gmail.com>
39671 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39673 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39675 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39676 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39678 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39679 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39680 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39681 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39682 for strncasecmp/strncasecmp_l compilation.
39683 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39684 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39686 2011-12-08 Marek Polacek <mpolacek@redhat.com>
39689 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39692 2011-12-17 Ulrich Drepper <drepper@gmail.com>
39695 * time/tzfile.c (__tzfile_read): Check values from file header.
39697 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39699 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39700 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39701 * powerpc/powerpc32/dl-start.S: Likewise.
39702 * powerpc/powerpc32/elf/start.S: Likewise.
39703 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39704 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39705 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39706 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39707 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39708 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39709 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39710 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39711 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39712 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39713 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39714 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39715 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39716 * powerpc/powerpc32/memset.S: Likewise.
39717 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39718 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39719 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39720 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39721 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39722 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39723 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39724 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39725 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39726 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39727 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39728 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39729 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39731 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39733 * math/libm-test.inc: Added more nearbyint tests.
39734 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39735 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39736 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39737 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39739 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39741 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39744 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39746 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39747 Add wcscpy-ssse3 wcscpy-c.
39748 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39749 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39750 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39751 * sysdeps/x86_64/wcschr.S: New file.
39752 * sysdeps/x86_64/wcsrchr.S: New file.
39753 * string/test-strcmp.c: Remove checking of wcscmp function for
39755 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39756 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39757 wcsrchr-sse2 wcsrchr-c.
39758 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39759 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39760 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39761 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39762 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39763 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39764 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39765 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39766 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39767 * wcsmbc/wcschr.c (WCSCHR): New macro.
39769 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39771 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39772 * wcsmbs/test-wcsrchr.c: New file.
39773 * string/test-strrchr.c: Add wcsrchr support.
39775 * wcsmbs/test-wcscpy.c: New file.
39776 * string/test-strcpy.c: Add wcscpy support.
39779 2011-12-10 Ulrich Drepper <drepper@gmail.com>
39781 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39784 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39787 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39789 2011-12-04 Ulrich Drepper <drepper@gmail.com>
39791 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39792 Minor optimizations.
39794 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39795 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39796 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39798 2011-12-03 Ulrich Drepper <drepper@gmail.com>
39800 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39801 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39802 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39803 for gcc to avoid warnings.
39804 * inet/Makefile (tests): Add tst-checks.
39805 * inet/tst-checks.c: New file.
39807 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39810 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39813 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39814 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39816 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39818 2011-12-02 Ulrich Drepper <drepper@gmail.com>
39820 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39823 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39825 2011-11-29 Joseph Myers <joseph@codesourcery.com>
39827 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39828 conditional on GCC version.
39829 (__arch_compare_and_exchange_val_8_acq)
39830 (__arch_compare_and_exchange_val_16_acq)
39831 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39832 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39833 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39835 2011-12-02 Joseph Myers <joseph@codesourcery.com>
39837 * sysdeps/sh/backtrace.c: New file.
39839 2011-12-02 Andreas Schwab <schwab@redhat.com>
39841 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39844 2011-12-01 Andreas Schwab <schwab@redhat.com>
39846 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39847 falling back to utime.
39849 2011-11-30 Andreas Schwab <schwab@redhat.com>
39851 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39852 expectations for float.
39854 2011-11-29 Andreas Schwab <schwab@redhat.com>
39856 * locale/weight.h (findidx): Add parameter len.
39857 * locale/weightwc.h (findidx): Likewise.
39858 * posix/fnmatch_loop.c (FCT): Adjust caller.
39859 * posix/regcomp.c (build_equiv_class): Likewise.
39860 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39861 * posix/regexec.c (check_node_accept_bytes): Likewise.
39862 * string/strcoll_l.c (STRCOLL): Likewise.
39863 * string/strxfrm_l.c (STRXFRM): Likewise.
39865 2011-11-17 Ulrich Drepper <drepper@gmail.com>
39867 * Makefile.in: Remove CVSOPT handling.
39868 * configure.in: Remove use of AC_REVISION.
39869 * iconvdata/Makefile (distribute): No need to filter out CVS.
39870 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39873 2011-11-16 Andreas Schwab <schwab@redhat.com>
39875 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39876 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39877 [USE_AS_STRNCASECMP_L]: Likewise.
39878 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39879 NO_TLS_DIRECT_SEG_REFS.
39880 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39881 Fix argument offsets for non-PIC.
39882 [USE_AS_STRNCASECMP_L]: Likewise.
39883 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39884 NO_TLS_DIRECT_SEG_REFS.
39886 2011-11-15 Ulrich Drepper <drepper@gmail.com>
39888 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39890 * locale/loadlocale.c (_nl_load_locale): Likewise.
39892 2011-11-15 Andreas Schwab <schwab@redhat.com>
39894 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39895 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39896 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39897 (SYSCALL_GETTIME): Set errno on error.
39899 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39900 count references to noai6ai_cached.
39902 2011-11-15 Ulrich Drepper <drepper@gmail.com>
39904 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39906 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39907 FD_CLOEXEC for /proc/self/maps.
39909 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39910 FD_CLOEXEC for /proc/meminfo.
39912 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39915 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39916 FD_CLOEXEC for given file.
39918 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39920 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39921 FD_CLOEXEC for /etc/hosts.
39922 (_gethtent): Likewise.
39924 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39926 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39927 cancellation and set FD_CLOEXEC for /etc/netgroup.
39929 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39930 reading /etc/publickey.
39932 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39933 allow cancellation when reading /etc/group.
39935 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39937 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39939 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39940 when using data file.
39942 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39944 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39945 (write_nis_obj): Use "c" and "e" in fopen.
39947 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39949 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39951 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39953 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39955 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39958 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39960 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39962 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39964 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39965 file parsing and set FD_CLOEXEC.
39967 2011-11-14 Ulrich Drepper <drepper@gmail.com>
39969 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39971 2011-11-14 Andreas Schwab <schwab@redhat.com>
39973 * malloc/arena.c (arena_get2): Don't call reused_arena when
39974 _int_new_arena failed.
39976 2011-11-14 Ulrich Drepper <drepper@gmail.com>
39978 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39979 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39980 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39981 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39982 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39983 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39984 to compile strcasecmp and strncasecmp.
39985 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39986 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39988 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39990 2011-11-13 Ulrich Drepper <drepper@gmail.com>
39992 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39993 locale-defines.sym to gen-as-const-headers.
39994 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39995 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39996 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39997 to compile strcasecmp and strncasecmp.
39998 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39999 strcasecmp_l and strncasecmp_l.
40000 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40001 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40002 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40003 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40004 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40005 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40006 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40007 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40008 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40009 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40010 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40012 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40014 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40015 result of SYSDEP_GETTIME_CPU to retval.
40016 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40017 parameter list to macro. Remove trailing semicolon. Adjust users.
40019 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40022 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40024 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40026 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40027 from unused variable.
40029 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40031 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40034 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40037 * sunrpc/rpc_prot.c (rejected): Fix case value.
40039 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40040 unsigned long long int to avoid warnings in shift.
40042 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40044 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40047 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40048 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40049 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40051 * nis/nis_table.c (nis_list): Use variable of correct type for
40052 result of __follow_path call.
40054 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40056 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40057 of math functions ceil, trunc, floor, round, and sqrt, when
40058 avaliable on the platform.
40059 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40061 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40062 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40063 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40065 2011-10-30 Marek Polacek <mpolacek@redhat.com>
40067 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40068 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40070 2011-11-11 Roland McGrath <roland@hack.frob.com>
40072 * include/unistd.h: Fix __readlink return type.
40073 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40075 2011-11-11 Ulrich Drepper <drepper@gmail.com>
40077 * stdlib/ucontext.h: Undo last change for makecontext.
40079 2011-11-11 Andreas Schwab <schwab@redhat.com>
40081 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40083 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40084 * setjmp/setjmp.h: Mark functions as non-leaf.
40085 * setjmp/bits/setjmp2.h: Likewise.
40086 * stdlib/ucontext.h: Likewise.
40088 2011-11-10 Andreas Schwab <schwab@redhat.com>
40090 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40091 (reused_arena): Don't check arena limit.
40092 (arena_get2): Atomically check arena limit.
40094 2011-11-08 Ulrich Drepper <drepper@gmail.com>
40096 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40097 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40102 2011-11-07 Andreas Schwab <schwab@redhat.com>
40104 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40105 handler when locking.
40107 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40108 Fix size of allocated buffer.
40110 2011-11-04 Andreas Schwab <schwab@redhat.com>
40113 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40114 declarations for long double functions.
40115 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40117 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40119 2011-11-03 Andreas Schwab <schwab@redhat.com>
40121 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40124 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40127 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40129 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40131 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40133 * include/alloca.h (stackinfo_alloca_round): Define.
40134 (extend_alloca): Use it.
40135 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40136 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40139 * scripts/check-local-headers.sh: Ignore libaudit.h.
40141 * nscd/Makefile (extra-objs): Make recursively expanded.
40143 2011-11-01 Ulrich Drepper <drepper@gmail.com>
40145 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40146 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40148 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40149 * posix/tst-rfc3484-2.c: Likewise.
40150 * posix/tst-rfc3484-3.c: Likewise.
40152 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40154 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40156 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40157 process_vm_writev from libc using GLIBC_2.15 version.
40159 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40161 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40163 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40166 2011-10-31 Ulrich Drepper <drepper@gmail.com>
40169 * nss/getent.c (initgroups_keys): Show error message in case no group
40172 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40173 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40174 __bump_nl_timestamp.
40175 * nscd/connections (nscd_init): When host database is served open
40176 netlink socket and request notification about configuration changes.
40177 (main_loop_poll): Track netlink file descriptor and bump timestamp
40178 in case data becomes available.
40179 (main_loop_epoll): Likewise.
40180 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40181 (database_pers_head): Add extra_data fileds.
40182 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40183 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40184 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40186 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40187 in6ai data, call __free_in6ai.
40188 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40189 Add -DHAVE_NETLINK.
40190 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40191 interface information. Reuse previous data if netlink timestamp
40193 (__bump_nl_timestamp): New function.
40194 (__free_in6ai): New function.
40196 2011-10-30 Ulrich Drepper <drepper@gmail.com>
40198 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40199 close_not_cancel_no_status here.
40200 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40202 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40205 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40208 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40209 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40210 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40212 2011-07-03 Andreas Jaeger <aj@suse.de>
40215 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40216 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40217 * math/libm-test.inc (sin_test): Add test case.
40219 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40222 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40223 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40225 * elf/chroot_canon.c (chroot_canon): Cleanups.
40227 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40230 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40231 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40233 * string/test-strchr.c: Make usable for strchrnul testing.
40234 * string/test-strchrnul.c: New file.
40235 * string/Makefile (strop-tests): Add strchrnul.
40237 * po/it.po: Update from translation team.
40238 * po/es.po: Likewise.
40240 2011-10-28 Ulrich Drepper <drepper@gmail.com>
40242 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40243 the three constants needed as parameters. Drop the others.
40244 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40245 __m128i_strloadu_tolower.
40246 Create and initialize variable zero and use it in all the places
40247 where _mm_setzero_si128 was used.
40249 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40250 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40251 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40252 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40254 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40255 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40256 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40257 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40258 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40259 __mpranred, __mptan.
40260 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40261 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40262 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40263 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40264 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40265 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40266 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40267 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40268 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40270 2011-10-28 Andreas Schwab <schwab@redhat.com>
40272 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40273 redefine if SHARED.
40274 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40277 wide char related routines to wcsmbs subdir.
40279 2011-10-27 Andreas Schwab <schwab@redhat.com>
40282 * misc/sys/cdefs.h (__THROWNL): Define.
40283 * posix/unistd.h: Use __THREADNL instead of __THREAD
40284 for memory synchronization functions.
40286 2011-10-26 Roland McGrath <roland@hack.frob.com>
40289 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40291 * manual/stdio.texi (Obstack Streams): Node removed.
40293 2011-10-26 Andreas Schwab <schwab@redhat.com>
40295 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40296 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40297 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40299 * math/math_private.h (math_force_eval): Allow non-addressable
40301 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40303 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40305 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40306 file is not needed.
40308 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40309 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40310 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40311 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40312 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40313 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40314 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40315 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40317 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40318 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40319 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40320 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40321 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40322 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40323 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40324 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40325 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40326 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40327 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40328 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40329 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40330 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40331 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40332 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40333 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40334 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40335 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40337 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40338 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40340 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40341 place. Use VEX encoding when compiling for AVX.
40343 2011-10-25 Andreas Schwab <schwab@redhat.com>
40345 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40346 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40348 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40350 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40352 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40353 useless if() expression.
40354 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40355 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40356 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40357 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40358 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40359 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40360 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40361 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40362 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40363 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40364 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40365 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40366 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40367 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40368 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40369 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40370 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40371 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40372 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40374 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40376 2011-10-25 Andreas Schwab <schwab@redhat.com>
40378 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40380 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40382 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40384 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40385 .text section. Avoid duplicate constants.
40386 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40387 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40388 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40389 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40390 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40391 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40392 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40393 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40394 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40395 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40396 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40397 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40398 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40399 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40400 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40401 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40402 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40403 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40404 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40406 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40407 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40408 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40409 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40410 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40411 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40412 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40413 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40414 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40415 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40416 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40417 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40418 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40419 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40420 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40421 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40422 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40423 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40424 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40425 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40426 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40427 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40428 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40429 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40430 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40432 2011-10-24 Ulrich Drepper <drepper@gmail.com>
40434 * sysdeps/x86_64/dla.h: Move to ...
40435 * sysdeps/x86_64/fpu/dla.h: ...here.
40436 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40437 situations. Use __builtin_fma only for gcc 4.6 and up.
40439 * config.make.in: Add have-mfma4 entry.
40440 * configure.in: Substitute libc_cv_cc_fma4.
40441 * math/Makefile (dbl-only-routines): Add sincostab.
40442 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40443 Use __sincostab not sincos.
40444 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40446 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40447 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40448 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40449 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40451 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40452 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40453 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40454 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40456 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40457 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40459 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40460 define aliases when function name is a macro.
40461 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40462 sysdeps/ieee754/dbl-64/sincos.tbl.
40463 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40464 fma4-enabled routines.
40465 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40466 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40467 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40468 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40469 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40470 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40471 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40472 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40473 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40474 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40475 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40476 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40477 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40478 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40479 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40480 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40481 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40482 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40483 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40484 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40485 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40486 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40487 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40488 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40489 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40490 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40491 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40492 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40493 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40494 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40496 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40498 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40499 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40500 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40501 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40502 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40503 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40504 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40505 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40507 2011-10-24 Andreas Schwab <schwab@redhat.com>
40509 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40511 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40513 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40515 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40517 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40519 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40520 Remove unused variable magic_bits.
40521 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40523 * string/strnlen.c: Define and use STRNLEN macro.
40524 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40525 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40526 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40527 * wcsmbs/wcslen.c: Define and use WCSLEN.
40528 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40529 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40530 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40531 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40532 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40533 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40534 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40536 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40539 strnlen-sse2-no-bsf.
40540 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40541 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40542 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40543 Add strnlen support.
40544 (USE_AS_STRNLEN): New macro.
40545 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40546 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40547 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40548 * sysdeps/x86_64/wcslen.S: New file.
40550 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40552 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40553 XMM-moves are used for copying on small sizes.
40555 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40557 * wcsmbs/Makefile (strop-tests): Add wcschr.
40558 * wcsmbs/test-wcschr.c: New file.
40559 * string/test-strchr.c: Update.
40560 Add wcschr support.
40563 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40565 * wcsmbs/Makefile (strop-tests): Add wcslen.
40566 * wcsmbs/test-wcslen.c: New file.
40567 * string/test-strlen.c: Update.
40568 Add wcslen support.
40571 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40573 * po/it.po: Update from translation team.
40575 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40577 * sysdeps/x86_64/wcscmp.S: Update.
40578 Fix wrong comparison semantics.
40579 wcscmp shall use signed comparison not unsigned.
40580 Don't use substraction to avoid overflow bug.
40581 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40582 * wcsmbc/wcscmp.c: Likewise.
40583 * string/test-strcmp.c: Likewise.
40584 Add new tests to check cases with negative values.
40586 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40588 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40589 * sysdeps/x86_64/dla.h: ...here. New file.
40590 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40591 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40593 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40594 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40595 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40596 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40597 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40598 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40600 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40602 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40603 __ynl_finite aliases.
40605 2011-10-22 Ulrich Drepper <drepper@gmail.com>
40607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40609 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40611 [DLA_FMA] (EMULV): Use DLA_FMA.
40612 [DLA_FMA] (MUL12): Use EMULV.
40613 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40614 that are not needed.
40615 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40616 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40617 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40618 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40619 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40620 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40621 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40623 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40625 * math/s_nan.c: Undef __nan.
40626 * math/s_nanf.c: Undef __nanf.
40627 * math/s_nanl.c: Undef __nanl.
40628 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40631 2011-10-22 Ulrich Drepper <drepper@gmail.com>
40633 * math/s_catan.c: Add branch predictions.
40634 * math/s_catanf.c: Likewise.
40635 * math/s_catanh.c: Likewise.
40636 * math/s_catanhf.c: Likewise.
40637 * math/s_catanhl.c: Likewise.
40638 * math/s_catanl.c: Likewise.
40639 * math/s_cexp.c: Likewise.
40640 * math/s_cexpf.c: Likewise.
40641 * math/s_cexpl.c: Likewise.
40642 * math/s_clog.c: Likewise.
40643 * math/s_clog10.c: Likewise.
40644 * math/s_clog10f.c: Likewise.
40645 * math/s_clog10l.c: Likewise.
40646 * math/s_clogf.c: Likewise.
40647 * math/s_clogl.c: Likewise.
40648 * math/s_csqrt.c: Likewise.
40649 * math/s_csqrtf.c: Likewise.
40650 * math/s_csqrtl.c: Likewise.
40651 * math/s_ctanf.c: Likewise.
40652 * math/s_ctanh.c: Likewise.
40653 * math/s_ctanhf.c: Likewise.
40654 * math/s_ctanhl.c: Likewise.
40655 * math/s_ctanl.c: Likewise.
40657 * math/math_private.h: Define __nan, __nanf, __nanl.
40658 * math/s_cacosh.c: Include <math_private.h>.
40659 * math/s_cacoshl.c: Likewise.
40660 * math/s_casinh.c: Likewise.
40661 * math/s_casinhf.c: Likewise.
40662 * math/s_casinhl.c: Likewise.
40663 * math/s_ccos.c: Rely entire on ccosh.
40664 * math/s_ccosf.c: Rely entire on ccoshf.
40665 * math/s_ccosl.c: Rely entirely on ccoshl.
40666 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40667 Remove tests for FE_INVALID.
40668 * math/s_ccoshf.c: Likewise.
40669 * math/s_ccoshl.c: Likewise.
40670 * math/s_csin.c: Likewise.
40671 * math/s_csinf.c: Likewise.
40672 * math/s_csinh.c Likewise.
40673 * math/s_csinhf.c: Likewise.
40674 * math/s_csinhl.c: Likewise.
40675 * math/s_csinl.c: Likewise.
40676 * math/s_ctan.c: Likewise.
40677 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40678 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40679 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40681 2011-10-21 Ulrich Drepper <drepper@gmail.com>
40683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40684 compilation problems.
40686 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40689 2011-10-20 Ulrich Drepper <drepper@gmail.com>
40691 * sysdeps/i386/configure.in: Test for -mfma4 option.
40692 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40693 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40694 COMMON_CPUID_INDEX_80000001.
40695 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40696 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40697 use it if FMA3 is not supported.
40698 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40700 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40701 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40703 2011-10-20 Andreas Schwab <schwab@redhat.com>
40706 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40707 it would create a cycle with a link time dependency.
40709 2011-10-19 Ulrich Drepper <drepper@gmail.com>
40711 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40713 * string/Makefile (strop-tests): Add rawmemchr.
40714 * string/test-rawmemchr.c: New file.
40716 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40717 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40718 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40719 when compiling str{,n}casecmp and when AVX is available. Hook up
40720 new optimized code in initializers.
40722 2011-10-19 Andreas Schwab <schwab@redhat.com>
40724 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40725 __feraiseexcept instead of feraiseexcept.
40727 2011-10-18 Ulrich Drepper <drepper@gmail.com>
40729 * math/math_private.h: Define defaults for libc_fetestexcept and
40731 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40732 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40733 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40734 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40735 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40736 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40737 libc_fetestexcept and libc_feupdateenv.
40739 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40740 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40741 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40742 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40743 libc_feholdexcept_setround.
40745 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40746 Add s_nearbyint-c and s_nearbyintf-c.
40747 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40748 nearbyintf inlines.
40749 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40750 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40751 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40752 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40754 * math/math_private.h: Define defaults for libc_fegetround,
40755 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40756 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40757 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40758 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40759 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40760 standard functions.
40761 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40762 Remove comments and hacks for old compiler versions.
40763 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40764 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40765 libc_feholdexceptl.
40767 2011-10-18 Andreas Schwab <schwab@redhat.com>
40769 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40770 (__feraiseexcept_renamed): Add __NTH.
40771 (feraiseexcept): Add __NTH. Rename local variables to fix
40772 namespace violations.
40774 2011-10-17 Ulrich Drepper <drepper@gmail.com>
40776 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40778 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40780 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40781 recently added interfaces.
40782 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40784 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40785 about macro parameter expansion.
40787 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40788 __NO_MATH_INLINES is defined. Cleanups.
40790 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40791 and __floorf is target has SSE4.1.
40792 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40793 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40794 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40795 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40797 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40799 (floorf): Likewise.
40801 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40803 2011-10-17 Andreas Schwab <schwab@redhat.com>
40805 * misc/sys/cdefs.h: Fix last change.
40807 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40810 2011-10-16 Ulrich Drepper <drepper@gmail.com>
40812 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40814 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40815 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40816 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40817 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40818 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40819 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40820 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40821 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40822 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40823 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40824 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40825 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40826 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40827 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40828 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40829 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40830 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40831 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40832 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40833 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40834 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40835 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40837 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40838 ceil, ceilf, floor, floorf.
40840 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40841 Perform IRELATIVE relocations last.
40843 * elf/do-rel.h: Add another parameter nrelative, replacing the
40844 local variable with the same name. Change name of the function
40845 to end in Rel or Rela (uppercase).
40846 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40847 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40848 elf_dynamic_do_##reloc function.
40850 2011-10-15 Ulrich Drepper <drepper@gmail.com>
40852 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40853 is sufficient, at least on modern CPUs.
40855 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40857 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40858 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40860 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40862 * math/bits/math-finite.h: Add entries for exp.
40863 * math/e_expl.c: Add __*_finite alias.
40864 * sysdeps/i386/fpu/e_exp.S: Likewise.
40865 * sysdeps/i386/fpu/e_expf.S: Likewise.
40866 * sysdeps/i386/fpu/e_expl.c: Likewise.
40867 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40868 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40869 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40870 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40871 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40872 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40873 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40875 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40876 is sufficient, at least on modern CPUs.
40878 * ctype/ctype-info.c (__ctype_init): Define.
40879 * include/ctype.h (__ctype_init): Declare.
40880 (__ctype_b_loc): The variable is always initialized.
40881 (__ctype_toupper_loc): Likewise.
40882 (__ctype_tolower_loc): Likewise.
40883 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40884 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40886 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40888 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40890 * configure.in: Also look in $cxxmachine/include for C++ system
40893 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40895 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40896 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40897 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40898 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40899 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40900 (USE_AS_WMEMCMP): New macro.
40902 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40903 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40904 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40905 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40906 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40907 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40908 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40909 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40910 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40911 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40912 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40913 (USE_AS_WMEMCMP): New macro.
40914 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40915 * sysdeps/string/test-memcmp.c: Update.
40916 Fix simple_wmemcmp.
40918 * wcsmbs/wmemcmp.c: Update.
40919 (WMEMCMP): New macro.
40922 2011-10-12 Andreas Jaeger <aj@suse.de>
40925 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40927 2011-10-15 Ulrich Drepper <drepper@gmail.com>
40929 * libio/iofwide.c (do_length): Avoid warning.
40931 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40933 2011-10-14 Ulrich Drepper <drepper@gmail.com>
40935 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40937 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40938 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40939 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40940 * sysdeps/i386/i686/fpu/e_log.S: New file.
40941 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40942 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40944 * ctype/ctype.h: Add support for inlined isXXX functions when
40945 compiling C++ code.
40947 2011-10-14 Andreas Schwab <schwab@redhat.com>
40949 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40951 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40953 2011-10-13 Roland McGrath <roland@hack.frob.com>
40956 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40958 2011-10-13 Andreas Schwab <schwab@redhat.com>
40960 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40961 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40964 * sysdeps/x86_64/memrchr.S: Check for zero size.
40966 * string/stratcliff.c: Add memrchr tests.
40968 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40970 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40971 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40972 rawmemchr-sse2 rawmemchr-sse2-bsf.
40973 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40974 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40975 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40976 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40977 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40978 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40979 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40980 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40981 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40982 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40983 * string/memrchr.c (MEMRCHR): New macro.
40985 2011-10-12 Ulrich Drepper <drepper@gmail.com>
40987 Add integration with gcc's -ffinite-math-only and optimize wrapper
40989 * Versions.def: Define GLIBC_2.15 version for libm.
40990 * math/Makefile (headers): Add bits/math-finite.h.
40991 * math/bits/math-finite.h: New file.
40992 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40993 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40994 * math/e_acoshl.c: Add __*_finite alias.
40995 * math/e_acosl.c: Likewise.
40996 * math/e_asinl.c: Likewise.
40997 * math/e_atan2l.c: Likewise.
40998 * math/e_atanhl.c: Likewise.
40999 * math/e_coshl.c: Likewise.
41000 * math/e_exp10.c: Likewise.
41001 * math/e_exp10f.c: Likewise.
41002 * math/e_exp10l.c: Likewise.
41003 * math/e_exp2l.c: Likewise.
41004 * math/e_fmodl.c: Likewise.
41005 * math/e_gammal_r.c: Likewise.
41006 * math/e_hypotl.c: Likewise.
41007 * math/e_j0l.c: Likewise.
41008 * math/e_j1l.c: Likewise.
41009 * math/e_jnl.c: Likewise.
41010 * math/e_lgammal_r.c: Likewise.
41011 * math/e_log10l.c: Likewise.
41012 * math/e_log2l.c: Likewise.
41013 * math/e_logl.c: Likewise.
41014 * math/e_powl.c: Likewise.
41015 * math/e_sinhl.c: Likewise.
41016 * math/e_sqrtl.c: Likewise.
41017 * math/e_scalb.c: Completely rewritten and optimized.
41018 * math/e_scalbf.c: Likewise.
41019 * math/e_scalbl.c: Likewise.
41020 * math/w_acos.c: Likewise.
41021 * math/w_acosf.c: Likewise.
41022 * math/w_acosl.c: Likewise.
41023 * math/w_acosh.c: Likewise.
41024 * math/w_acoshf.c: Likewise.
41025 * math/w_acoshl.c: Likewise.
41026 * math/w_asin.c: Likewise.
41027 * math/w_asinf.c: Likewise.
41028 * math/w_asinl.c: Likewise.
41029 * math/w_atan2.c: Likewise.
41030 * math/w_atan2f.c: Likewise.
41031 * math/w_atan2l.c: Likewise.
41032 * math/w_atanh.c: Likewise.
41033 * math/w_atanhf.c: Likewise.
41034 * math/w_atanhl.c: Likewise.
41035 * math/w_exp10.c: Likewise.
41036 * math/w_exp10f.c: Likewise.
41037 * math/w_exp10l.c: Likewise.
41038 * math/w_fmod.c: Likewise.
41039 * math/w_fmodf.c: Likewise.
41040 * math/w_fmodl.c: Likewise.
41041 * math/w_j0.c: Likewise.
41042 * math/w_j0f.c: Likewise.
41043 * math/w_j0l.c: Likewise.
41044 * math/w_j1.c: Likewise.
41045 * math/w_j1f.c: Likewise.
41046 * math/w_j1l.c: Likewise.
41047 * math/w_jn.c: Likewise.
41048 * math/w_jnf.c: Likewise.
41049 * math/w_log.c: Likewise.
41050 * math/w_logf.c: Likewise.
41051 * math/w_logl.c: Likewise.
41052 * math/w_log10.c: Likewise.
41053 * math/w_log10f.c: Likewise.
41054 * math/w_log10l.c: Likewise.
41055 * math/w_log2.c: Likewise.
41056 * math/w_log2f.c: Likewise.
41057 * math/w_log2l.c: Likewise.
41058 * math/w_pow.c: Likewise.
41059 * math/w_powf.c: Likewise.
41060 * math/w_powl.c: Likewise.
41061 * math/w_remainder.c: Likewise.
41062 * math/w_remainderf.c: Likewise.
41063 * math/w_remainderl.c: Likewise.
41064 * math/w_scalb.c: Likewise.
41065 * math/w_scalbf.c: Likewise.
41066 * math/w_scalbl.c: Likewise.
41067 * math/w_sqrt.c: Likewise.
41068 * math/w_sqrtf.c: Likewise.
41069 * math/w_sqrtl.c: Likewise.
41070 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41071 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41073 * math/math_private.h: Declare __kernel_standard_f.
41074 * math/w_cosh.c: Remove cruft and optimize a bit.
41075 * math/w_coshf.c: Likewise.
41076 * math/w_coshl.c: Likewise.
41077 * math/w_exp2.c: Likewise.
41078 * math/w_exp2f.c: Likewise.
41079 * math/w_exp2l.c: Likewise.
41080 * math/w_hypot.c: Likewise.
41081 * math/w_hypotf.c: Likewise.
41082 * math/w_hypotl.c: Likewise.
41083 * math/w_lgamma.c: Likewise.
41084 * math/w_lgamma_r.c: Likewise.
41085 * math/w_lgammaf.c: Likewise.
41086 * math/w_lgammaf_r.c: Likewise.
41087 * math/w_lgammal.c: Likewise.
41088 * math/w_lgammal_r.c: Likewise.
41089 * math/w_sinh.c: Likewise.
41090 * math/w_sinhf.c: Likewise.
41091 * math/w_sinhl.c: Likewise.
41092 * math/w_tgamma.c: Likewise.
41093 * math/w_tgammaf.c: Likewise.
41094 * math/w_tgammal.c: Likewise.
41095 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41096 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41097 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41098 Minor optimizations. Pretty printing. Remove cruft.
41099 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41100 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41101 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41102 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41103 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41104 * sysdeps/i386/fpu/e_asin.S: Likewise.
41105 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41106 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41107 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41108 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41109 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41110 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41111 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41112 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41113 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41114 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41115 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41116 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41117 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41118 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41119 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41120 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41121 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41122 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41123 * sysdeps/i386/fpu/e_log.S: Likewise.
41124 * sysdeps/i386/fpu/e_log10.S: Likewise.
41125 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41126 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41127 * sysdeps/i386/fpu/e_log2.S: Likewise.
41128 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41129 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41130 * sysdeps/i386/fpu/e_logf.S: Likewise.
41131 * sysdeps/i386/fpu/e_logl.S: Likewise.
41132 * sysdeps/i386/fpu/e_pow.S: Likewise.
41133 * sysdeps/i386/fpu/e_powf.S: Likewise.
41134 * sysdeps/i386/fpu/e_powl.S: Likewise.
41135 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41136 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41137 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41138 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41139 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41140 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41141 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41142 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41143 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41144 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41145 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41147 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41148 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41149 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41150 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41151 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41152 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41153 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41154 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41155 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41157 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41158 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41159 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41160 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41161 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41162 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41163 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41164 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41165 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41166 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41167 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41168 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41169 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41170 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41171 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41172 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41173 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41174 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41175 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41176 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41177 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41178 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41179 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41180 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41181 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41182 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41183 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41184 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41185 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41186 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41187 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41188 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41189 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41190 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41191 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41192 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41193 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41194 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41195 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41196 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41197 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41198 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41199 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41200 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41201 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41202 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41203 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41204 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41205 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41206 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41207 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41208 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41209 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41210 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41211 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41212 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41213 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41214 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41215 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41216 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41217 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41218 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41219 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41220 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41221 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41222 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41223 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41224 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41225 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41226 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41227 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41228 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41229 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41230 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41231 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41232 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41233 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41234 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41235 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41236 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41237 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41238 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41239 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41240 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41241 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41242 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41243 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41244 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41245 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41246 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41247 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41248 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41249 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41250 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41251 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41252 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41253 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41254 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41255 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41256 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41257 (__isnanf): Likewise.
41258 (__isinf_ns): Likewise.
41259 (__isinf_nsf): Likewise.
41260 (__finite): Likewise.
41261 (__finitef): Likewise.
41262 (__ieee754_sqrt): Define as macro.
41263 (__ieee754_sqrtf): Define as macro.
41264 (__ieee754_sqrtl): Define as macro.
41265 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41267 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41268 __FINITE_MATH_ONLY__ consistent.
41269 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41271 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41273 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41276 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41278 2011-10-09 Ulrich Drepper <drepper@gmail.com>
41280 * po/ja.po: Update from translation team.
41282 2011-10-08 Roland McGrath <roland@hack.frob.com>
41284 * locale/programs/locarchive.c (prepare_address_space): New function.
41285 (create_archive, enlarge_archive, open_archive): Use it.
41287 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41288 inside [SHARED], where it is used.
41290 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41292 * nss/getent.c (netgroup_keys): Remove unused variable.
41293 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41295 2011-10-08 Ulrich Drepper <drepper@gmail.com>
41297 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41298 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41299 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41300 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41301 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41302 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41303 * math/Makefile (libm-calls): Add s_isinf_ns.
41304 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41305 * math/multc3.c: Likewise.
41306 * math/s_casin.c: Likewise.
41307 * math/s_casinf.c: Likewise.
41308 * math/s_casinl.c: Likewise.
41309 * math/s_ccos.c: Likewise.
41310 * math/s_ccosf.c: Likewise.
41311 * math/s_ccosl.c: Likewise.
41312 * math/s_ctan.c: Likewise.
41313 * math/s_ctanf.c: Likewise.
41314 * math/s_ctanh.c: Likewise.
41315 * math/s_ctanhf.c: Likewise.
41316 * math/s_ctanhl.c: Likewise.
41317 * math/s_ctanl.c: Likewise.
41318 * math/w_fmod.c: Likewise.
41319 * math/w_fmodf.c: Likewise.
41320 * math/w_fmodl.c: Likewise.
41321 * math/w_remainder.c: Likewise.
41322 * math/w_remainderf.c: Likewise.
41323 * math/w_remainderl.c: Likewise.
41324 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41325 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41326 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41327 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41328 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41329 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41330 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41331 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41333 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41335 * stdio-common/printf_fphex.c: Likewise.
41336 * stdio-common/printf_size.c: Likewise.
41338 * math/e_exp10.c: Include math_private.h using <...> not "...".
41339 * math/e_exp10f.c: Likewise.
41340 * math/e_exp10l.c: Likewise.
41341 * math/e_exp2l.c: Likewise.
41342 * math/e_j0l.c: Likewise.
41343 * math/e_j1l.c: Likewise.
41344 * math/e_jnl.c: Likewise.
41345 * math/e_lgammal_r.c: Likewise.
41346 * math/e_rem_pio2l.c: Likewise.
41347 * math/e_scalb.c: Likewise.
41348 * math/e_scalbf.c: Likewise.
41349 * math/e_scalbl.c: Likewise.
41350 * math/k_cosl.c: Likewise.
41351 * math/k_sinl.c: Likewise.
41352 * math/k_tanl.c: Likewise.
41353 * math/s_cacoshf.c: Likewise.
41354 * math/s_catan.c: Likewise.
41355 * math/s_catanf.c: Likewise.
41356 * math/s_catanh.c: Likewise.
41357 * math/s_catanhf.c: Likewise.
41358 * math/s_catanhl.c: Likewise.
41359 * math/s_catanl.c: Likewise.
41360 * math/s_ccosh.c: Likewise.
41361 * math/s_ccoshf.c: Likewise.
41362 * math/s_ccoshl.c: Likewise.
41363 * math/s_cexp.c: Likewise.
41364 * math/s_cexpf.c: Likewise.
41365 * math/s_cexpl.c: Likewise.
41366 * math/s_clog.c: Likewise.
41367 * math/s_clog10.c: Likewise.
41368 * math/s_clog10f.c: Likewise.
41369 * math/s_clog10l.c: Likewise.
41370 * math/s_clogf.c: Likewise.
41371 * math/s_clogl.c: Likewise.
41372 * math/s_csin.c: Likewise.
41373 * math/s_csinf.c: Likewise.
41374 * math/s_csinh.c: Likewise.
41375 * math/s_csinhf.c: Likewise.
41376 * math/s_csinhl.c: Likewise.
41377 * math/s_csinl.c: Likewise.
41378 * math/s_csqrt.c: Likewise.
41379 * math/s_csqrtf.c: Likewise.
41380 * math/s_csqrtl.c: Likewise.
41381 * math/s_ctan.c: Likewise.
41382 * math/s_ctanf.c: Likewise.
41383 * math/s_ctanh.c: Likewise.
41384 * math/s_ctanhf.c: Likewise.
41385 * math/s_ctanhl.c: Likewise.
41386 * math/s_ctanl.c: Likewise.
41387 * math/s_ldexp.c: Likewise.
41388 * math/s_ldexpf.c: Likewise.
41389 * math/s_ldexpl.c: Likewise.
41390 * math/s_significand.c: Likewise.
41391 * math/s_significandf.c: Likewise.
41392 * math/s_significandl.c: Likewise.
41393 * math/w_acos.c: Likewise.
41394 * math/w_acosf.c: Likewise.
41395 * math/w_acosh.c: Likewise.
41396 * math/w_acoshf.c: Likewise.
41397 * math/w_acoshl.c: Likewise.
41398 * math/w_acosl.c: Likewise.
41399 * math/w_asin.c: Likewise.
41400 * math/w_asinf.c: Likewise.
41401 * math/w_asinl.c: Likewise.
41402 * math/w_atan2.c: Likewise.
41403 * math/w_atan2f.c: Likewise.
41404 * math/w_atan2l.c: Likewise.
41405 * math/w_atanh.c: Likewise.
41406 * math/w_atanhf.c: Likewise.
41407 * math/w_atanhl.c: Likewise.
41408 * math/w_cosh.c: Likewise.
41409 * math/w_coshf.c: Likewise.
41410 * math/w_coshl.c: Likewise.
41411 * math/w_dremf.c: Likewise.
41412 * math/w_exp10.c: Likewise.
41413 * math/w_exp10f.c: Likewise.
41414 * math/w_exp10l.c: Likewise.
41415 * math/w_exp2.c: Likewise.
41416 * math/w_exp2f.c: Likewise.
41417 * math/w_fmod.c: Likewise.
41418 * math/w_fmodf.c: Likewise.
41419 * math/w_fmodl.c: Likewise.
41420 * math/w_hypot.c: Likewise.
41421 * math/w_hypotf.c: Likewise.
41422 * math/w_hypotl.c: Likewise.
41423 * math/w_j0.c: Likewise.
41424 * math/w_j0f.c: Likewise.
41425 * math/w_j0l.c: Likewise.
41426 * math/w_j1.c: Likewise.
41427 * math/w_j1f.c: Likewise.
41428 * math/w_j1l.c: Likewise.
41429 * math/w_jn.c: Likewise.
41430 * math/w_jnf.c: Likewise.
41431 * math/w_jnl.c: Likewise.
41432 * math/w_lgamma.c: Likewise.
41433 * math/w_lgamma_r.c: Likewise.
41434 * math/w_lgammaf.c: Likewise.
41435 * math/w_lgammaf_r.c: Likewise.
41436 * math/w_lgammal.c: Likewise.
41437 * math/w_lgammal_r.c: Likewise.
41438 * math/w_log.c: Likewise.
41439 * math/w_log10.c: Likewise.
41440 * math/w_log10f.c: Likewise.
41441 * math/w_log10l.c: Likewise.
41442 * math/w_log2.c: Likewise.
41443 * math/w_log2f.c: Likewise.
41444 * math/w_log2l.c: Likewise.
41445 * math/w_logf.c: Likewise.
41446 * math/w_logl.c: Likewise.
41447 * math/w_pow.c: Likewise.
41448 * math/w_powf.c: Likewise.
41449 * math/w_powl.c: Likewise.
41450 * math/w_remainder.c: Likewise.
41451 * math/w_remainderf.c: Likewise.
41452 * math/w_remainderl.c: Likewise.
41453 * math/w_scalb.c: Likewise.
41454 * math/w_scalbf.c: Likewise.
41455 * math/w_scalbl.c: Likewise.
41456 * math/w_sinh.c: Likewise.
41457 * math/w_sinhf.c: Likewise.
41458 * math/w_sinhl.c: Likewise.
41459 * math/w_sqrt.c: Likewise.
41460 * math/w_sqrtf.c: Likewise.
41461 * math/w_sqrtl.c: Likewise.
41462 * math/w_tgamma.c: Likewise.
41463 * math/w_tgammaf.c: Likewise.
41464 * math/w_tgammal.c: Likewise.
41466 * po/ja.po: Update from translation team.
41468 2011-09-29 Andreas Jaeger <aj@suse.de>
41471 * sunrpc/netname.c (netname2host): Fix logic.
41475 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41477 * math/w_remainder.c (__remainder): Likewise.
41478 * math/w_remainderf.c (__remainderf): Likewise.
41479 * math/libm-test.inc (remainder_test): Add test cases.
41481 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41483 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41486 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41488 * string/test-memcmp.c: Avoid unncessary #defines.
41489 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41491 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41493 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41494 Use new sse2 version for core i3 - i7 as it's faster
41495 than sse42 version.
41496 (bit_Prefer_PMINUB_for_stringop): New.
41497 * sysdeps/x86_64/rawmemchr.S: Update.
41498 Replace with faster SSE2 version.
41499 * sysdeps/x86_64/memrchr.S: New file.
41500 * sysdeps/x86_64/memchr.S: Update.
41501 Replace with faster SSE2 version.
41503 2011-09-12 Marek Polacek <mpolacek@redhat.com>
41505 * elf/dl-load.c (lose): Add cast to avoid warning.
41507 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41509 * po/ca.po: Update from translation team.
41511 * inet/getnetgrent_r.c: Hook up nscd.
41512 * nscd/Makefile (routines): Add nscd_netgroup.
41513 (nscd-modules): Add netgroupcache.
41514 (CFLAGS-netgroupcache.c): Define.
41515 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41516 (cache_search): Add const to second parameter.
41517 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41519 (dbs): Add netgrdb entry.
41520 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41521 (verify_persistent_db): Handle netgrdb.
41522 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41523 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41525 (netgroup_response_header): Define.
41526 (innetgroup_response_header): Define.
41527 (datahead): Add netgroup_response_header and innetgroup_response_header
41529 * nscd/nscd.conf: Add entries for netgroup cache.
41530 * nscd/nscd.h (dbtype): Add netgrdb.
41531 (_PATH_NSCD_NETGROUP_DB): Define.
41532 (netgroup_iov_disabled): Declare.
41533 (xmalloc, xcalloc, xrealloc): Move declarations here.
41534 (cache_search): Adjust prototype.
41535 Add netgroup-related prototypes.
41536 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41537 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41538 (__nscd_innetgr): Declare.
41539 * nscd/selinux.c (perms): Use access_vector_t as element type and
41540 add netgroup-related initializers.
41541 * nscd/netgroupcache.c: New file.
41542 * nscd/nscd_netgroup.c: New file.
41543 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41544 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41545 For four parameters use innetgr.
41546 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41547 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41548 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41549 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41551 * nscd/connections.c (register_traced_file): Don't register file
41552 for disabled databases.
41554 2011-10-06 Ulrich Drepper <drepper@gmail.com>
41556 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41558 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41559 from tree and freeing node.
41561 2011-09-25 Jiri Olsa <jolsa@redhat.com>
41563 * nss/nsswitch.c (__nss_database_lookup): Handle
41564 nss_parse_service_list out of memory case.
41566 2011-09-15 Jiri Olsa <jolsa@redhat.com>
41568 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41569 out of memory case.
41571 2011-10-04 Andreas Schwab <schwab@redhat.com>
41573 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41574 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41576 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41577 elf_machine_rela, elf_machine_lazy_rel.
41578 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41579 (ELF_DYNAMIC_DO_REL): Likewise.
41580 (ELF_DYNAMIC_DO_RELA): Likewise.
41581 (ELF_DYNAMIC_RELOCATE): Likewise.
41582 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41583 to ELF_DYNAMIC_DO_REL.
41584 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41585 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41586 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41588 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41589 skip_ifunc, don't call ifunc function if non-zero.
41590 (elf_machine_rela): Likewise.
41591 (elf_machine_lazy_rel): Likewise.
41592 (elf_machine_lazy_rela): Likewise.
41593 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41594 (elf_machine_lazy_rel): Likewise.
41595 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41597 (elf_machine_lazy_rel): Likewise.
41598 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41600 (elf_machine_lazy_rel): Likewise.
41601 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41602 (elf_machine_lazy_rel): Likewise.
41603 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41604 (elf_machine_lazy_rel): Likewise.
41605 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41606 (elf_machine_lazy_rel): Likewise.
41607 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41608 (elf_machine_lazy_rel): Likewise.
41609 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41610 (elf_machine_lazy_rel): Likewise.
41611 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41612 (elf_machine_lazy_rel): Likewise.
41614 2011-09-28 Ulrich Drepper <drepper@gmail.com>
41616 * nss/nss_files/files-init.c (_nss_files_init): Use static
41617 initialization for all the *_traced_file variables.
41619 2011-09-28 Andreas Schwab <schwab@redhat.com>
41621 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41623 2011-09-27 Roland McGrath <roland@hack.frob.com>
41626 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41628 2011-09-27 Andreas Schwab <schwab@redhat.com>
41630 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41631 Reread the line before reparsing it.
41633 2011-09-26 Andreas Schwab <schwab@redhat.com>
41635 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41637 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41638 Maxim Kuvyrkov <maxim@codesourcery.com>
41639 Joseph Myers <joseph@codesourcery.com>
41641 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41642 if needed for __stack_chk_guard.
41644 2011-09-19 Roland McGrath <roland@hack.frob.com>
41646 * sysdeps/posix/spawni.c (script_execute): Always define it.
41647 It will be optimized away if unused.
41648 (maybe_script_execute): New function.
41649 (__spawni): Call it.
41651 * Makerules: Don't include tls.make.
41652 (config-tls): Always set to thread.
41653 * tls.make.c: File removed.
41655 2011-09-19 Mike Frysinger <vapier@gentoo.org>
41657 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41658 * config.make.in (CPPFLAGS-config): New substituted variable.
41660 2011-09-15 Ulrich Drepper <drepper@gmail.com>
41662 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41665 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41666 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41668 2011-09-15 Roland McGrath <roland@hack.frob.com>
41670 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41671 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41672 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41673 (CALL_FAIL): Likewise.
41674 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41675 (CALL_FAIL): Macro removed.
41676 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41678 2011-09-15 Ulrich Drepper <drepper@gmail.com>
41680 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41681 for __FINITE_MATH_ONLY__ == 1.
41683 2011-09-15 Andreas Schwab <schwab@redhat.com>
41685 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41686 __ieee754_sqrt instead of sqrt.
41687 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41688 __ieee754_sqrtf instead of sqrtf.
41689 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41690 __floorf instead of floorf.
41691 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41692 __floorf, __truncf instead of floorf, truncf.
41694 2011-09-14 Ulrich Drepper <drepper@gmail.com>
41696 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41698 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41699 __extern_always_inline.
41700 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41703 2011-09-14 Andreas Schwab <schwab@redhat.com>
41705 * elf/rtld.c (dl_main): Also relocate in dependency order when
41706 doing symbol dependency testing.
41708 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41710 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41711 Always define `refsym'.
41713 2011-09-13 Andreas Schwab <schwab@redhat.com>
41715 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41716 (__FD_ELT): Renamed from __FDELT.
41717 * misc/bits/select2.h (__FD_ELT): Likewise.
41718 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41719 __FD_MASK instead of __FDELT, __FDMASK.
41720 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41722 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41725 * elf/Makefile (gen-ldd): Fix pattern.
41727 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41728 (init_tls): Likewise.
41730 2011-09-12 Ulrich Drepper <drepper@gmail.com>
41732 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41734 2011-09-12 Andreas Schwab <schwab@redhat.com>
41736 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41737 `struct cmsghdr *' instead of `void *'.
41738 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41741 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41743 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41745 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41746 ldd_rewrite_script.
41748 2011-09-11 Ulrich Drepper <drepper@gmail.com>
41750 * configure.in: Remove --with-tls option.
41751 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41752 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41753 out in case it is missing.
41754 * sysdeps/ia64/elf/configure.in: Likewise.
41755 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41756 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41757 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41758 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41759 * sysdeps/sh/elf/configure.in: Likewise.
41760 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41761 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41762 * sysdeps/x86_64/elf/configure.in: Likewise.
41763 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41764 * sysdeps/mach/hurd/tls.h: Likewise.
41767 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41770 * configure.in: Fix use of AC_INIT.
41772 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41774 2011-09-10 Ulrich Drepper <drepper@gmail.com>
41776 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41778 * malloc/hooks.c: Likewise.
41781 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41782 variables statically.
41783 (narenas): Initialize.
41784 (list_lock): Initialize.
41785 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41786 initializtion of main_arena and list_lock. Small cleanups.
41787 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41788 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41789 Add initializers to main_arena and mp_.
41790 (malloc_state): Remove pagesize member. Change all users to use
41793 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41794 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41795 is always initialized.
41797 * malloc/malloc.c: Removed unused configurations and dead code.
41798 * malloc/arena.c: Likewise.
41799 * malloc/hooks.c: Likewise.
41800 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41802 * include/tls.h: Removed. USE___THREAD must always be defined.
41803 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41804 * elf/dl-libc.c: Likewise.
41805 * elf/dl-tsd.c: Likewise.
41806 * include/errno.h: Likewise.
41807 * include/netdb.h: Likewise.
41808 * include/resolv.h: Likewise.
41809 * inet/herrno-loc.c: Likewise.
41810 * inet/herrno.c: Likewise.
41811 * malloc/arena.c: Likewise.
41812 * malloc/hooks.c: Likewise.
41813 * malloc/malloc.c: Likewise.
41814 * resolv/res-state.c: Likewise.
41815 * resolv/res_libc.c: Likewise.
41816 * sysdeps/i386/dl-machine.h: Likewise.
41817 * sysdeps/ia64/dl-machine.h: Likewise.
41818 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41819 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41820 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41821 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41822 * sysdeps/sh/dl-machine.h: Likewise.
41823 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41824 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41825 * sysdeps/unix/i386/sysdep.S: Likewise.
41826 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41827 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41828 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41829 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41830 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41831 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41832 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41833 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41834 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41835 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41836 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41837 * sysdeps/x86_64/dl-machine.h: Likewise.
41838 * tls.make.c: Likewise.
41840 * configure.in: Remove --with-__thread option. Make tests for
41841 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41842 tls_model attribute fail if no support is available. Remove
41844 * Makeconfig: Adjust for dropped configure option. All features are
41846 * Makerules: Likewise.
41847 * Versions.def: Likewise.
41848 * argp/argp-fmtstream.c: Likewise.
41849 * argp/argp-fmtstream.h: Likewise.
41850 * argp/argp-help.c: Likewise.
41851 * assert/assert.c: Likewise.
41852 * config.h.in: Likewise.
41853 * config.make.in: Likewise.
41854 * configure: Likewise.
41855 * configure.in: Likewise.
41856 * csu/Versions: Likewise.
41857 * csu/init.c: Likewise.
41858 * elf/tst-audit2.c: Likewise.
41859 * elf/tst-tls10.c: Likewise.
41860 * elf/tst-tls10.h: Likewise.
41861 * elf/tst-tls11.c: Likewise.
41862 * elf/tst-tls12.c: Likewise.
41863 * elf/tst-tls14.c: Likewise.
41864 * elf/tst-tlsmod11.c: Likewise.
41865 * elf/tst-tlsmod12.c: Likewise.
41866 * elf/tst-tlsmod13.c: Likewise.
41867 * elf/tst-tlsmod13a.c: Likewise.
41868 * elf/tst-tlsmod14a.c: Likewise.
41869 * elf/tst-tlsmod15b.c: Likewise.
41870 * elf/tst-tlsmod16a.c: Likewise.
41871 * elf/tst-tlsmod16b.c: Likewise.
41872 * elf/tst-tlsmod7.c: Likewise.
41873 * elf/tst-tlsmod8.c: Likewise.
41874 * elf/tst-tlsmod9.c: Likewise.
41875 * gmon/gmon.c: Likewise.
41876 * grp/fgetgrent_r.c: Likewise.
41877 * grp/putgrent.c: Likewise.
41878 * hurd/fopenport.c: Likewise.
41879 * include/libc-symbols.h: Likewise.
41880 * include/tls.h: Likewise.
41881 * intl/gettextP.h: Likewise.
41882 * intl/loadinfo.h: Likewise.
41883 * locale/global-locale.c: Likewise.
41884 * locale/localeinfo.h: Likewise.
41885 * mach/devstream.c: Likewise.
41886 * malloc/arena.c: Likewise.
41887 * malloc/set-freeres.c: Likewise.
41888 * misc/err.c: Likewise.
41889 * misc/getttyent.c: Likewise.
41890 * misc/mntent_r.c: Likewise.
41891 * posix/getopt.c: Likewise.
41892 * posix/wordexp.c: Likewise.
41893 * pwd/fgetpwent_r.c: Likewise.
41894 * resolv/Versions: Likewise.
41895 * resolv/res_hconf.c: Likewise.
41896 * shadow/fgetspent_r.c: Likewise.
41897 * shadow/putspent.c: Likewise.
41898 * stdio-common/printf_fphex.c: Likewise.
41899 * stdio-common/tmpfile.c: Likewise.
41900 * stdlib/abort.c: Likewise.
41901 * stdlib/fmtmsg.c: Likewise.
41902 * sunrpc/auth_unix.c: Likewise.
41903 * sunrpc/clnt_perr.c: Likewise.
41904 * sunrpc/clnt_tcp.c: Likewise.
41905 * sunrpc/clnt_udp.c: Likewise.
41906 * sunrpc/clnt_unix.c: Likewise.
41907 * sunrpc/openchild.c: Likewise.
41908 * sunrpc/svc_simple.c: Likewise.
41909 * sunrpc/svc_tcp.c: Likewise.
41910 * sunrpc/svc_udp.c: Likewise.
41911 * sunrpc/svc_unix.c: Likewise.
41912 * sunrpc/xdr.c: Likewise.
41913 * sunrpc/xdr_array.c: Likewise.
41914 * sunrpc/xdr_rec.c: Likewise.
41915 * sunrpc/xdr_ref.c: Likewise.
41916 * sunrpc/xdr_stdio.c: Likewise.
41918 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41920 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41922 2011-07-03 Andreas Jaeger <aj@suse.de>
41924 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41925 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41926 regenerate with gen-libm-tests.pl.
41928 2010-05-12 Petr Baudis <pasky@suse.cz>
41931 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41932 around j0() zero points by switching to j1().
41933 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41934 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41935 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41936 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41938 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41940 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41942 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
41944 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41945 Patch in part by Pavel Roskin <proski@gnu.org>.
41948 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41950 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41951 Free memory block if necessary.
41954 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41955 be NULL. Don't lock in this case.
41957 2011-09-09 Roland McGrath <roland@hack.frob.com>
41959 * elf/elf.h (ELFOSABI_GNU): New macro.
41960 (ELFOSABI_LINUX): Define to that.
41962 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41964 * string/strncat.c (strncat): Undef the symbol in case it has been
41965 defined in bits/string.h.
41967 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41969 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41971 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
41974 2011-08-17 Andreas Jaeger <aj@suse.de>
41976 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41978 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41979 Ian Lance Taylor <iant@google.com>
41981 * math/libm-test.inc (lround_test): New testcase.
41982 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41984 2011-09-08 Ulrich Drepper <drepper@gmail.com>
41986 * Makefile: Remove support for automatic cvs check-ins.
41987 * Makerules: Likewise.
41988 * config.make.in: Likewise.
41989 * configure.in: Likewise.
41990 * intl/Makefile: Likewise.
41991 * locale/Makefile: Likewise.
41992 * po/Makefile: Likewise.
41993 * posix/Makefile: Likewise.
41994 * sysdeps/gnu/Makefile: Likewise.
41995 * sysdeps/mach/hurd/Makefile: Likewise.
41996 * sysdeps/sparc/sparc32/Makefile: Likewise.
41999 * posix/Makefile (bug-regex32-ENV): Define.
42000 Patch by John Stanley <jpsinthemix@verizon.net>.
42002 * misc/Makefile (headers): Add bits/select2.h.
42003 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42004 * misc/bits/select2.h: New file.
42005 * include/bits/select2.h: New file.
42006 * debug/Makefile (routines): Add fdelt_chk.
42007 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42008 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42010 * debug/fdelt_chk.c: New file.
42012 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42013 * wcsmbs/test-wmemcmp.c: Likewise.
42014 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42015 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42017 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42019 * string/Makefile (strop-tests): Add memcmp.
42020 * string/test-wmemcmp.c: New file.
42021 * string/test-memcmp.c: Add wmemcmp support.
42023 2011-09-08 Roland McGrath <roland@hack.frob.com>
42026 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42029 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42030 garbage value in a __mach_port_mod_refs call in the cases of the
42031 task-self and thread-self ports.
42033 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42035 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42037 2011-09-08 Andreas Schwab <schwab@redhat.com>
42039 * elf/dl-load.c (lose): Check for non-null L.
42041 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42043 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42045 * elf/dl-libc.c (dlerror_run): Pass back error code from
42049 * elf/dl-load.c (lose): Free l_origin if it is valid.
42051 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42053 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42054 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42055 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42056 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42057 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42058 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42060 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42062 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42063 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42064 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42065 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42066 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42067 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42068 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42069 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42070 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42071 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42073 2011-08-15 Alan Modra <amodra@gmail.com>
42076 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42077 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42078 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42079 ppc_mcount to static-only-routines.
42080 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42082 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42083 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42085 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42087 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42088 for finite and infinity parameters.
42090 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42092 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42093 and add nop instructions for throughput optimization.
42094 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42096 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42098 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42099 aligned copy for power7 with vector-scalar instructions.
42100 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42102 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42104 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42107 2011-09-07 Andreas Schwab <schwab@redhat.com>
42110 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42113 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42115 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42116 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42117 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42118 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42121 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42123 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42124 Forgot to demangle the pointer.
42126 * sysdeps/i386/sysdep.h: Define atom_text_section.
42127 * sysdeps/x86_64/sysdep.h: Likewise.
42128 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42129 section with atom_text_section.
42130 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42131 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42132 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42133 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42134 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42136 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42137 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42138 already be defined. Change to take two parameters and don't assign
42139 result to variable. Adjust all users.
42140 Define INTERNAL_GETTIME if not already defined.
42141 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42144 HAVE_CLOCK_GETTIME_VSYSCALL.
42145 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42147 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42148 gettimeofday vsyscall, just use time.
42150 2011-09-06 Andreas Schwab <schwab@redhat.com>
42152 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42155 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42157 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42159 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42161 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42162 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42163 syscall if possible.
42165 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42167 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42168 e_ident. Don't pass to find_mapsXX.
42169 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42171 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42174 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42175 * sysdeps/x86_64/multiarch/strchr.S: Update.
42176 Check bit_slow_BSF bit.
42177 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42178 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42179 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42181 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42184 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42186 (tryshell): Define.
42187 (__spawni): Change last parameter to be flag. Test
42188 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42189 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42190 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42191 * posix/spawni.c: Likewise.
42192 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42193 * posix/spawnp.c: Likewise. Change normal version to use
42194 SPAWN_XFLAGS_USE_PATH.
42195 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42196 SPAWN_XFLAGS_TRY_SHELL.
42199 * posix/glob.h: Remove gcc 1.x support.
42202 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42204 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42207 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42209 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42210 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42211 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42212 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42213 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42214 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42216 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42218 * sysdeps/x86_64/wcscmp.S: New file.
42220 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42221 wcscmp-c wcscmp-sse2
42222 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42223 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42224 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42225 * wcsmbs/wcscmp.c: Allow renaming.
42227 2011-09-05 David S. Miller <davem@davemloft.net>
42229 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42230 stack slot, rather than the struct return pointer slot.
42231 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42232 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42234 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42236 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42238 * po/ja.po: Update from translation team.
42241 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42242 kernel in 64-bit binaries.
42244 2011-09-01 David S. Miller <davem@davemloft.net>
42246 * elf/elf.h (HWCAP_SPARC_*): Move to..
42247 * sysdeps/sparc/sysdep.h: this new file and add new values.
42248 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42249 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42250 _DL_HWCAP_COUNT to 24.
42251 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42253 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42254 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42255 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42256 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42257 instead of magic constants.
42258 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42260 2011-08-31 David S. Miller <davem@davemloft.net>
42262 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42263 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42264 Reimplement to do errno handling inline.
42265 (SYSCALL_ERROR_HANDLER): New macro.
42266 (__SYSCALL_STRING): Do not do errno handling in asm.
42267 (__CLONE_SYSCALL_STRING): Delete.
42268 (__INTERNAL_SYSCALL_STRING): Delete.
42269 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42270 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42271 (PSEUDO): Reimplement to do errno handling inline.
42272 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42273 (SYSCALL_ERROR_HANDLER): New macro.
42274 (__SYSCALL_STRING): Do not do errno handling in asm.
42275 (__CLONE_SYSCALL_STRING): Delete.
42276 (__INTERNAL_SYSCALL_STRING): Delete.
42277 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42278 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42280 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42281 (inline_syscall*): Add 'err' argument.
42282 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42283 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42284 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42285 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42287 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42288 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42290 2011-08-30 Andreas Schwab <schwab@redhat.com>
42292 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42294 2011-08-29 Jiri Olsa <jolsa@redhat.com>
42296 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42299 2011-08-24 David S. Miller <davem@davemloft.net>
42301 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42303 2011-08-24 Andreas Schwab <schwab@redhat.com>
42305 * elf/Makefile: Add rules to build and run unload8 test.
42306 * elf/unload8.c: New file.
42307 * elf/unload8mod1.c: New file.
42308 * elf/unload8mod1x.c: New file.
42309 * elf/unload8mod2.c: New file.
42310 * elf/unload8mod3.c: New file.
42312 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42315 2011-08-23 David S. Miller <davem@davemloft.net>
42317 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42318 subtract stack bias.
42319 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42320 %sp not %fp in calculations.
42321 (_JMPBUF_UNWINDS_ADJ): Likewise.
42323 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42324 (aio_suspend): Call it to force an exception region around the
42325 AIO_MISC_WAIT() invocation.
42327 2011-08-23 Andreas Schwab <schwab@redhat.com>
42329 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42332 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42334 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42336 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42337 and <dl-machine.h>.
42338 (Elf64_FuncDesc): Remove.
42340 2011-08-22 David S. Miller <davem@davemloft.net>
42342 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42343 sigaltstack check, add missing cfi directives.
42344 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42345 missing cfi directives, and sigaltstack handling.
42347 2011-08-16 Andreas Schwab <schwab@redhat.com>
42350 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42351 object is seen twice.
42352 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42354 * elf/Makefile (distribute): Add tst-initorder2.c.
42355 (tests): Add tst-initorder2.
42356 (modules-names): Add tst-initorder2a tst-initorder2b
42357 tst-initorder2c tst-initorder2d. Add rules to build them.
42358 ($(objpfx)tst-initorder2.out): New rule.
42359 * elf/tst-initorder2.c: New file.
42360 * elf/tst-initorder2.exp: New file.
42362 2011-08-22 Andreas Schwab <schwab@redhat.com>
42364 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42366 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42367 dependencies back to end of function.
42369 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42370 $(elfobjdir)/ld.so.
42372 2011-08-21 Ulrich Drepper <drepper@gmail.com>
42374 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42375 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42376 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42377 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42378 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42379 of __vdso_gettimeofday.
42380 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42381 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42383 (_libc_vdso_platform_setup): Remove initialization of
42384 __vdso_gettimeofday and __vdso_time.
42386 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42388 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42389 and fgetc_unlocked.
42390 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42393 * elf/dl-open.c (add_to_global): Report additions to the global scope
42394 for LD_DEBUG=scopes.
42395 (dl_open_worker): Also print scope of newly loaded dependencies.
42396 (_dl_show_scope): Indicate if there is no scope.
42399 * stdio-common/Makefile (tests): Add bug24.
42400 * stdio-common/bug24.c: New file.
42402 2011-08-19 Andreas Jaeger <aj@suse.de>
42405 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42406 non-existant file when using close-on-exec mode.
42408 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42410 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42411 the very first instruction.
42413 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42414 the CFI state in the end.
42415 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42416 inclusion of dl-trampoline.h.
42417 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42419 2011-08-19 Andreas Schwab <schwab@redhat.com>
42421 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42422 expectations for long double.
42424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42425 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42427 2011-08-14 David S. Miller <davem@davemloft.net>
42429 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42430 artificual limit depends upon the system page size.
42432 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42434 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42435 * resolv/Makefile: Define CFLAGS-libresolv.
42437 2011-08-17 Andreas Schwab <schwab@redhat.com>
42439 * nss/makedb.c (compute_tables): Make variables used in nested
42442 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42444 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42445 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42446 if buffer was too small.
42448 * elf/pldd.c (main): Attach to all threads in the process.
42449 Rewrite /proc handling to use *at functions.
42451 2011-08-16 Ulrich Drepper <drepper@gmail.com>
42453 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42454 specifies first scope to show.
42455 (dl_open_worker): Update callers. Move printing scope of new
42456 object to before the relocation.
42457 * elf/rtld.c (dl_main): Update _dl_show_scope call.
42458 * sysdeps/generic/ldsodefs.h: Update declaration.
42460 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42461 string for the scope number.
42463 2011-08-14 Ulrich Drepper <drepper@gmail.com>
42465 * nscd/servicescache.c (cache_addserv): Make sure written is always
42468 2011-08-14 Roland McGrath <roland@hack.frob.com>
42470 * sysdeps/i386/i486/bits/atomic.h
42471 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42472 statement expression, so as to suppress "set but not used" warning.
42473 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42475 * string/strncat.c (STRNCAT): Use prototype definition.
42477 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42478 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42480 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42481 (localedef-modules): Add localedef.
42482 (locale-modules): Add locale.
42484 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42485 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42486 to avoid a warning.
42488 2011-08-14 David S. Miller <davem@davemloft.net>
42490 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42491 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42493 2011-08-13 Ulrich Drepper <drepper@gmail.com>
42495 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42496 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42497 * elf/rtld.c (dl_main): Set l_name of vDSO.
42498 Call _dl_show_scope when DL_DEBUG_SCOPES.
42499 (process_dl_debug): Recognize scopes flag and also set it for all.
42500 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42501 Declare _dl_show_scope.
42503 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42504 (do_dlopen): Pass caller_dlopen to dl_open.
42505 (__libc_dlopen_mode): Initialize caller_dlopen.
42507 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42508 of libc. Make tolower call locale-independent. Optimize a bit by
42509 using isdigit instead of isalnum.
42510 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42512 2011-08-12 Ulrich Drepper <drepper@gmail.com>
42514 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42515 was a dependency or dynamically loaded.
42517 2011-08-11 Ulrich Drepper <drepper@gmail.com>
42519 * intl/l10nflist.c: Allow architecture-specific pop function.
42520 * sysdeps/x86_64/l10nflist.c: New file.
42522 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42525 2011-08-10 Andreas Schwab <schwab@redhat.com>
42527 * include/dirent.h: Add libc_hidden_proto for scandirat and
42528 scandirat64. Don't declare __scandirat64.
42529 * dirent/scandirat.c: Add libc_hidden_def.
42530 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42531 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42533 2011-08-10 David S. Miller <davem@davemloft.net>
42535 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42537 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42538 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42539 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42541 2011-08-09 Ulrich Drepper <drepper@gmail.com>
42543 * Versions.def [libc]: Add GLIBC_2.15.
42544 * dirent/Makefile (routines): Add scandirat and scandirat64.
42545 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42547 * dirent/dirent.h: Declare scandirat and scandirat64.
42548 * dirent/scandirat.c: New file.
42549 * dirent/scandirat64.c: New file.
42550 * sysdeps/wordsize-64/scandirat.c: New file.
42551 * sysdeps/wordsize-64/scandirat64.c: New file.
42552 * dirent/opendir.c: Define opendirat.
42553 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42555 * dirent/scandir64.c: Adjust for scandir.c change.
42556 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42557 __scandirat64, and __scandir_cancel_handler.
42558 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42559 additional parameter and use openat instead of open (outside of ld.so).
42560 Add new __opendir as wrapper around __opendirat.
42561 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42562 here without requiring old scandirat implementation.
42564 2011-08-08 Ulrich Drepper <drepper@gmail.com>
42566 * dirent/scandir.c (cancel_handler): Renamed to
42567 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42568 defined. Adjust users.
42569 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42570 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42572 2011-08-04 Ulrich Drepper <drepper@gmail.com>
42574 * string/test-string.h (IMPL): Use __STRING to expand name and then
42577 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42580 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42582 * string/Makefile: Update.
42583 (strop-tests): Append strncat.
42584 * string/test-wcscmp.c: New file.
42585 New comprehensive test for wcscmp.
42586 * string/test-strcmp.c: Update.
42587 (WIDE): New define.
42589 2011-07-22 Andreas Schwab <schwab@redhat.com>
42591 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42594 2011-07-26 Andreas Schwab <schwab@redhat.com>
42596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42597 encoding to ACE if AI_IDN.
42599 2011-08-01 Jakub Jelinek <jakub@redhat.com>
42601 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42602 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42604 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42606 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42607 Fix overflow bug in strncat.
42608 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42610 * string/test-strncat.c: Update.
42611 Add new tests for checking overflow bugs.
42613 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42615 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42616 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42617 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42618 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42619 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42620 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42621 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42622 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42623 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42625 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42626 (USE_AS_STRCAT): Define.
42627 Add strcat and strncat support.
42628 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42630 2011-07-25 Andreas Schwab <schwab@redhat.com>
42632 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42633 __n bigger than INT_MAX+1.
42634 (__strncmp_g): Likewise.
42636 2011-07-23 Ulrich Drepper <drepper@gmail.com>
42638 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42639 * libio/stido.h: Likewise.
42641 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42643 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42646 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42647 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42648 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42649 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42650 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42653 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42658 (_dl_x86_64_save_sse): Likewise.
42660 2011-07-22 Ulrich Drepper <drepper@gmail.com>
42662 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42664 (_dl_x86_64_save_sse): Likewise.
42666 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42668 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42670 2011-07-21 Andreas Schwab <schwab@redhat.com>
42672 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42674 (_dl_x86_64_save_sse): Use correct AVX check.
42676 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42678 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42679 bug in strncpy/strncat.
42680 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42682 2011-07-21 Ulrich Drepper <drepper@gmail.com>
42684 * string/tester.c (test_strcat): Add tests for different alignments
42685 of source and destination.
42686 (test_strncat): Likewise.
42688 2011-07-20 Ulrich Drepper <drepper@gmail.com>
42691 * posix/glob.c (glob): Check passed in values before using them in
42692 expressions to avoid some overflows.
42693 (glob_in_dir): Likewise.
42696 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42697 check for AVX enablement so that we don't crash with old kernels and
42699 * elf/tst-audit4.c: Add same checks here.
42700 * elf/tst-audit6.c: Likewise.
42702 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42704 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42706 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42708 2011-07-20 Ulrich Drepper <drepper@gmail.com>
42710 * po/cs.po: Update from translation team.
42711 * po/bg.po: Likewise.
42713 2011-07-12 Marek Polacek <mpolacek@redhat.com>
42715 * misc/sys/cdefs.h: Add support for const attribute.
42716 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42717 to gnu_dev_{major,minor,makedev} functions.
42719 2011-07-20 Marek Polacek <mpolacek@redhat.com>
42721 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42723 2011-07-20 Andreas Schwab <schwab@redhat.com>
42725 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42728 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42730 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42731 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42732 register in order to avoid conflicts with the soft frame pointer
42733 being held in r11 when necessary.
42734 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42735 (INTERNAL_VSYSCALL_NCS): Likewise.
42737 2011-07-14 Marek Polacek <mpolacek@redhat.com>
42739 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42740 * elf/dl-fini.c (_dl_fini): Adjust caller.
42741 * elf/dl-close.c (_dl_close_worker): Likewise.
42742 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42744 2011-07-15 Marek Polacek <mpolacek@redhat.com>
42746 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42747 "aux_cache->nlibs < 0".
42749 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42750 in the reload-count case.
42752 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42755 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42756 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42757 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42758 * sysdeps/x86_64/multiarch/strcat.S: New file.
42759 * sysdeps/x86_64/multiarch/strncat.S: New file.
42760 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42761 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42762 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42763 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42764 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42765 (USE_AS_STRCAT): Define.
42766 Add strcat and strncat support.
42767 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42768 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42769 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42770 * string/strncat.c: Update.
42771 (USE_AS_STRNCAT): Define.
42772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42773 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42775 * sysdeps/x86_64/multiarch/init-arch.h
42776 (bit_Prefer_PMINUB_for_stringop): New.
42777 (index_Prefer_PMINUB_for_stringop): Likewise.
42778 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42779 bit_Prefer_PMINUB_for_stringop.
42781 2011-07-19 Ulrich Drepper <drepper@gmail.com>
42783 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42785 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42786 of casting of buffer.
42787 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42788 buffer32 and buffer64.
42789 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42790 writes instead of casting of buffer.
42791 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42793 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42796 2011-07-19 Andreas Schwab <schwab@redhat.com>
42798 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42800 2011-07-19 Ulrich Drepper <drepper@gmail.com>
42802 * nscd/nscd.c (termination_handler): Don't do anything for a database
42803 if it has not yet been initialized.
42805 2011-07-18 Ulrich Drepper <drepper@gmail.com>
42807 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42809 2011-07-15 Marek Polacek <mpolacek@redhat.com>
42811 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42813 2011-07-18 Ulrich Drepper <drepper@gmail.com>
42815 * po/nl.po: Update from translation team.
42816 * po/sv.po: Likewise.
42818 2011-07-16 Roland McGrath <roland@hack.frob.com>
42820 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42821 now disallowed by GCC.
42823 * configure.in (use-default-link): Default to yes if a test -shared
42824 link meets our qualifications.
42825 * configure: Regenerated.
42827 * config.make.in (output-format): New variable.
42828 * configure.in: Check for ld --print-output-format support.
42829 * configure: Regenerated.
42830 * Makerules ($(common-objpfx)format.lds)
42831 [$(output-format) != unknown]: Just use $(output-format),
42832 instead of the linker-script munging.
42834 2011-07-14 Roland McGrath <roland@hack.frob.com>
42836 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42837 of $(common-objpfx)shlib.lds.
42838 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42840 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42841 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42843 * configure.in (-z relro check): Adjust test code to add a large
42844 writable data section after it.
42845 * configure: Regenerated.
42847 2011-07-11 Roland McGrath <roland@hack.frob.com>
42849 * configure.in (-z relro check): Fix test code to make the variable
42851 * configure: Regenerated.
42853 2011-07-11 Ulrich Drepper <drepper@gmail.com>
42855 * nscd/nscd.h (struct traced_file): Define.
42856 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42857 elements. Add traced_files.
42858 (inotify_fd): Declare.
42859 (register_traced_file): Declare.
42860 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42861 (inotify_fd): Export.
42862 (resolv_conf_descr): Remove.
42863 (nscd_init): Move inotify descriptor creation to main.
42864 Don't register files for notification here.
42865 (register_traced_file): New function.
42866 (invalidate_cache): Don't use reset_res to determine whether to call
42867 res_init, go through the list of registered files.
42868 (main_loop_poll): The inotify descriptors are now stored in the
42869 structures for the traced files.
42870 (main_loop_epoll): Likewise
42871 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42872 to __nss_disable_nscd.
42873 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42874 for a database anymore. Check the records for all the registered
42876 * nss/Makefile (libnss_files-routines): Add files-init.
42877 (libnss_db-routines): Add db-init.
42878 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42879 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42880 * nss/nss_db/db-init.c: New file.
42881 * nss/nss_files/files-init.c: New file.
42882 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42883 __nss_lookup_function.
42884 (__nss_lookup_function): Call nss_load_library.
42885 (nss_load_all_libraries): New function.
42886 (__nss_disable_nscd): Take parameter with callback function for files
42887 to register. Set is_nscd. Load all the DSOs for the NSS modules
42888 used for the cached services.
42889 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42890 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42891 options for features to all the files in nscd.
42893 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42895 2011-07-10 Roland McGrath <roland@hack.frob.com>
42897 * csu/elf-init.c (__libc_csu_init): Comment typo.
42899 2011-07-09 Ulrich Drepper <drepper@gmail.com>
42901 * po/pl.po: Update from translation team.
42902 * po/ja.po: Likewise.
42903 * po/ru.po: Likewise.
42904 * po/ko.po: Likewise.
42905 * po/fr.po: Likewise.
42907 2011-07-09 Roland McGrath <roland@hack.frob.com>
42909 * configure.in (.ctors/.dtors header and trailer check):
42910 Use an empirical test on a built program.
42911 * configure: Regenerated.
42913 * configure.in (-z relro check): Use an empirical test on a built DSO.
42914 Detect, but do not require, on ia64.
42915 * configure: Regenerated.
42917 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42918 Update tests that use readelf to use $READELF instead.
42919 * configure: Regenerated.
42921 2011-07-08 Ulrich Drepper <drepper@gmail.com>
42923 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42924 if the result is not used.
42926 2011-07-05 Andreas Jaeger <aj@suse.de>
42929 * stdlib/tst-strtod.c: Add testcase.
42931 2011-07-07 Ulrich Drepper <drepper@gmail.com>
42933 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
42934 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
42935 The latter has a higher limit. Take additional parameter to pass to
42937 (__pathconf): Pass file to __statfs_link_max.
42938 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42940 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42944 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42945 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42947 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42948 (__statfs_filesize_max): Likewise.
42949 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42951 2011-07-05 Andreas Jaeger <aj@suse.de>
42953 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42955 2011-07-06 Marek Polacek <mpolacek@redhat.com>
42957 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42959 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42962 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42964 * Makefile (strop-tests): Add strncat.
42965 * string/test-strncat.c: New file.
42967 2011-06-30 Marek Polacek <mpolacek@redhat.com>
42969 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42971 2011-06-21 Andreas Jaeger <aj@suse.de>
42973 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42974 Copy rule from iconvdata/Makefile.
42976 2011-07-06 Ulrich Drepper <drepper@gmail.com>
42979 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42980 but no long options are defined, just return 'W'.
42982 2011-06-22 Marek Polacek <mpolacek@redhat.com>
42985 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42987 2011-07-06 Ulrich Drepper <drepper@gmail.com>
42989 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42991 (innetgr): Likewise.
42993 2011-07-05 Roland McGrath <roland@hack.frob.com>
42995 * config.make.in (install_root): Default to $(DESTDIR).
42997 2011-07-05 Ulrich Drepper <drepper@gmail.com>
42999 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43001 2011-07-02 Roland McGrath <roland@hack.frob.com>
43003 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43005 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43006 containing directory rather than embedding absolute directory names.
43008 * scripts/check-local-headers.sh: Rewritten using awk.
43009 Match by word, not by line. Print error messages for matches.
43010 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43012 * Makerules [shlib-lds-flags empty]:
43013 ($(common-objpfx)libc_pic.opts): New target.
43014 ($(common-objpfx)libc_pic.os.clean): New target.
43015 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43017 * config.make.in (OBJCOPY): New variable.
43018 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43019 * configure: Regenerated.
43021 * config.make.in (use-default-link): New variable.
43022 * configure.in (use_default_link): Grok --with-default-link to set it.
43023 * configure: Regenerated.
43024 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43025 (shlib-lds, shlib-lds-flags): Define to empty.
43027 * Makerules (shlib-lds): New variable.
43028 (shlib-lds-flags): New variable.
43029 (build-shlib, build-moduile, build-module-asneeded): Use it.
43030 ($(common-objpfx)libc.so): Use $(shlib-lds).
43031 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43032 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43034 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43035 DT_FLAGS/DT_FLAGS_1 with zero flags.
43037 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43038 linker script munging.
43040 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43042 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43044 * crypt/sha512.c (sha512_process_block): Perform total addition using
43045 128-bit if possible.
43046 (__sha512_finish_ctx): Likewise.
43047 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43049 * crypt/sha256.c (SWAP64): Define.
43050 (sha256_process_block): Perform total addition using 64-bit if
43052 (__sha256_finish_ctx): Likewise.
43054 2011-07-01 Ulrich Drepper <drepper@gmail.com>
43056 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43058 * nscd/hstcache.c (cache_addhst): Likewise.
43059 * nscd/grpcache.c (cache_addgr): Likewise.
43060 * nscd/aicache.c (addhstaiX): Likewise
43061 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43063 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
43065 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43066 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43067 * nscd/hstcache.c (cache_addhst): Likewise.
43068 * nscd/grpcache.c (cache_addgr): Likewise.
43069 * nscd/aicache.c (addhstaiX): Likewise
43071 2011-07-01 Andreas Schwab <schwab@redhat.com>
43073 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43074 domain only when needed.
43076 2011-06-30 Andreas Schwab <schwab@redhat.com>
43078 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43079 is always restored.
43081 2011-06-29 Ulrich Drepper <drepper@gmail.com>
43083 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43084 are re-adding the entry.
43085 * nscd/servicescache.c (cache_addserv): Likewise.
43087 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43089 * sysdeps/generic/dl-irel.h: fix protection against multiple
43091 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43093 2011-06-28 Ulrich Drepper <drepper@gmail.com>
43096 * malloc/memusage.sh: Fix quoting in message.
43097 * debug/xtrace.sh: Likewise.
43099 * configure.in: Remove support for --experimental-malloc option, make
43101 * config.make.in: Likewise.
43102 * malloc/Makefile: Likewise.
43104 2011-06-27 Andreas Schwab <schwab@redhat.com>
43106 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43107 two-byte characters.
43109 2011-06-27 Roland McGrath <roland@hack.frob.com>
43111 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43112 AC_CACHE_CHECK invocation.
43113 * configure: Regenerated.
43115 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43117 2011-06-27 Ulrich Drepper <drepper@gmail.com>
43120 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43121 bit from old_res_options.
43123 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43125 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43126 value type for setfct.
43128 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43130 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43131 __gettimeofday instead of gettimeofday.
43133 2011-06-26 Ulrich Drepper <drepper@gmail.com>
43135 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43137 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43139 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43141 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43144 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43147 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43148 strcpy-sse2-unaligned strncpy-sse2-unaligned
43149 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43150 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43151 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43152 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43153 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43154 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43155 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43156 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43157 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43158 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43159 (STRCPY): Support SSE2 and SSSE3 versions.
43161 2011-06-24 Ulrich Drepper <drepper@gmail.com>
43164 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43165 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43166 kernels which artificially limit size of requests.
43168 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43171 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43172 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43173 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43174 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43175 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43176 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43177 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43178 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43179 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43180 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43181 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43182 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43183 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43184 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43186 Enable unaligned load optimization for Intel Core i3, i5 and i7
43188 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43190 (index_Fast_Unaligned_Load): Define.
43191 (HAS_FAST_UNALIGNED_LOAD): Define.
43193 2011-06-23 Marek Polacek <mpolacek@redhat.com>
43195 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43197 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43200 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43201 until it is clear that the information is realy needed.
43202 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43204 2011-06-22 Andreas Schwab <schwab@redhat.com>
43206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43208 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43210 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43211 /sys/devices/system/cpu/online if it is usable.
43213 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43214 reading the information from the /proc filesystem to once a second.
43216 2011-06-21 Andreas Jaeger <aj@suse.de>
43218 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43219 NULL after inclusion of kernel headers.
43221 2011-06-21 Ulrich Drepper <drepper@gmail.com>
43223 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43224 calls to internal_setent.
43227 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43228 addresses using gethostbyname4_r ignore IPv4 addresses.
43230 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43231 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43233 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43235 2011-06-20 David S. Miller <davem@davemloft.net>
43237 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43239 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43241 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43242 (elf_irel): Use it.
43243 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43244 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43245 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43246 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43247 * sysdeps/x86_64/dl-irel.h: Likewise.
43249 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43250 * elf/dl-sym.c: Likewise.
43252 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43254 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43255 need to dereference resplen2.
43257 2011-06-14 Andreas Schwab <schwab@redhat.com>
43259 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43261 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43263 * Makeconfig: Define vardbdir and inst_vardbdir.
43264 * nss/Makefile: Add rules to install db-Makefile.
43266 * nss/nss_db/db-XXX.c: Cleanup.
43268 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43269 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43271 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43272 * nss/makedb.c: Implement -g option to specify that value strings
43273 are generated and should not be added to table iterated over for
43275 * nss/nss_db/db-initgroups.c: New file.
43277 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43280 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43281 (internal_getgrouplist): Adjust to name change.
43282 Update use_initgroups_entry if this is not the first call.
43283 * nss/databases.def: Add initgroups entry.
43285 * nss/makedb.c (compute_tables): Check result of multiple hash table
43286 sizes to minimize maximum chain length.
43288 2011-06-14 Ulrich Drepper <drepper@gmail.com>
43290 * Versions.def: Add entry for libnss_db.
43291 * shlib-versions: Likewise.
43292 * nss/Makefile: Add rules to build libnss_db.
43293 * nss/Versions: Add libnss_db information. Organize libnss_files
43295 * nss/db-Makefile: Add gshadow support. Change rules for the new
43296 makedb progra. Some minor improvements to generate smaller files.
43297 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43299 * nss/makedb.c: ...here.
43300 Improve database format to be smaller and require less memory at
43302 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43304 * nss/nss_db/db-netgrp.c: Likewise.
43305 * nss/nss_db/db-open.c: Likewise.
43306 * nss/nss_files/flies-XXX.x: Adjust comments.
43307 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43308 * nss/nss_files/files-grp.c: Likewise.
43309 * nss/nss_files/files-hosts.c: Likewise.
43310 * nss/nss_files/files-network.c: Likewise.
43311 * nss/nss_files/files-proto.c: Likewise.
43312 * nss/nss_files/files-pwd.c: Likewise.
43313 * nss/nss_files/files-rpc.c: Likewise.
43314 * nss/nss_files/files-service.c: Likewise.
43315 * nss/nss_files/files-sgrp.c: Likewise.
43316 * nss/nss_files/files-spwd.c: Likewise.
43317 * nss/nss_db/db-alias.c: Removed.
43318 * nss/nss_db/dummy-db.h: Removed.
43320 2011-06-02 Ulrich Drepper <drepper@gmail.com>
43322 * nss/makedb.c: Rewritten to not use database library.
43323 * nss/Makefile: Update to build new makedb program.
43325 2011-06-14 Andreas Jaeger <aj@suse.de>
43327 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43328 memset declaration.
43330 2011-06-10 Andreas Schwab <schwab@redhat.com>
43332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43335 2011-06-10 Roland McGrath <roland@hack.frob.com>
43337 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43338 * elf/Makefile ($(objpfx)ld.so): Likewise.
43340 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43341 Don't list ld.so twice in dependencies.
43343 * posix/bug-regex31.c: Include <stdlib.h>.
43345 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43347 * nis/nss_compat/compat-spwd.c
43348 (getspent_next_nss_netgr): Remove unused variable.
43349 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43351 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43352 nonmembers" output to use the right array.
43354 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43356 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43358 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43359 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43360 * catgets/gencat.c (read_input_file): Likewise.
43361 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43363 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43364 variable definition inside #if's controlling its use.
43366 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43368 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43370 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43372 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43375 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43377 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43378 * configure: Regenerated.
43380 * Makerules: Revert last change.
43381 * elf/Makefile: Likewise.
43383 2011-06-09 Roland McGrath <roland@hack.frob.com>
43385 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43386 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43387 (reloc-link): Likewise.
43389 2011-06-09 Ulrich Drepper <drepper@gmail.com>
43391 * elf/Makefile: Add rules to build pldd.
43392 * elf/pldd.c: New file.
43393 * elf/pldd-xx.c: New file.
43395 2011-06-07 Ulrich Drepper <drepper@gmail.com>
43397 * version.h: Update for 2.15 development version.
43399 2011-06-07 David S. Miller <davem@davemloft.net>
43401 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43403 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43404 elf_machine_lazy_rel): Likewise.
43405 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43406 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43407 elf_machine_lazy_rel): Likewise.
43408 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43409 dl_hwcap via passed in argument.
43410 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43413 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43415 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43417 2011-06-06 Roland McGrath <roland@hack.frob.com>
43420 * manual/fdl-1.1.texi: New file, verbatim from:
43421 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43422 * manual/lgpl-2.1.texi: New file, verbatim from:
43423 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43424 * manual/Makefile (licenses): New variable, list those new file names.
43426 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43428 * manual/fdl.texi: File removed.
43429 * manual/lesser.texi: File removed.
43430 * manual/libc.texinfo (Copying, Documentation License):
43431 Use new @include file names, put @appendix directive before @include.
43433 2011-06-04 Jakub Jelinek <jakub@redhat.com>
43436 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43437 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43438 (mq_open): Add __NTH.
43440 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43443 Assume Intel Core i3/i5/i7 processor if AVX is available.
43445 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43447 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43450 2011-05-31 Andreas Schwab <schwab@redhat.com>
43452 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43453 memory. Use alloca_account. Fix memory leak when retrying.
43455 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43457 * version.h (RELEASE): Bump for 2.14 release.
43458 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43460 * config.make.in (RANLIB): Remove entry.
43462 2011-05-30 Ulrich Drepper <drepper@gmail.com>
43464 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43465 (libc.pot): Work around missing support for .ksh extension in xgettext.
43468 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43469 if both request failed.
43470 (send_dg): In case of server errors clear resplen or *resplen2.
43473 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43474 when there are multiple maps.
43475 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43476 (_dl_fini): Remove test here.
43478 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43480 2011-05-29 Ulrich Drepper <drepper@gmail.com>
43483 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43484 bit from old_res_options.
43485 (gaih_inet): Likewise.
43488 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43491 * resolv/res_init.c (res_setoptions): Make the code more compact.
43494 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43498 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43500 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43503 * malloc/malloc.h: Declare malloc hook variables as volatile.
43505 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43509 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43510 raise in the comment.
43511 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43512 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43513 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43515 2011-05-28 Ulrich Drepper <drepper@gmail.com>
43518 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43519 grow the buffers more if it already has to be sufficient.
43520 (build_wcs_upper_buffer): Likewise.
43521 * posix/regexec.c (check_matching): Likewise.
43522 (clean_state_log_if_needed): Likewise.
43523 (extend_buffers): Don't enlarge buffers beyond size of the input
43525 Patches mostly by Emil Wojak <emil@wojak.eu>.
43526 * posix/bug-regex32.c: New file.
43527 * posix/Makefile (tests): Add bug-regex32.
43529 * locale/findlocale.c (_nl_find_locale): Return right away if
43530 _nl_explode_name failed.
43531 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43533 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43535 * debug/xtrace.sh: Unify messages.
43536 * malloc/memusage.sh: Likewise.
43539 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43540 time symbol from vDSO. Substitute with vsyscall if not available.
43541 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43544 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43545 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43546 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43547 Add sendmmsg and internal_sendmmsg.
43548 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43549 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43550 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43552 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43553 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43554 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43556 2011-05-27 Ulrich Drepper <drepper@gmail.com>
43559 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43560 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43562 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43566 * iconvdata/Makefile (tests): Add bug-iconv9.
43567 * iconvdata/bug-iconv9.c: New file.
43569 2011-05-27 Andreas Schwab <schwab@redhat.com>
43572 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43574 2011-05-25 Jakub Jelinek <jakub@redhat.com>
43576 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43577 (struct user_regs_struct): Change intcs field back to cs.
43579 2011-05-25 Ulrich Drepper <drepper@gmail.com>
43581 * po/ja.po: Update from translation team.
43583 2011-05-23 Ulrich Drepper <drepper@gmail.com>
43586 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43587 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43589 2011-05-20 Andreas Schwab <schwab@redhat.com>
43591 * stdlib/longlong.h: Update from GCC.
43593 2011-05-23 Andreas Schwab <schwab@redhat.com>
43595 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43597 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43598 Add parameter name.
43599 (__sysconf): Pass it down.
43601 2011-05-22 Ulrich Drepper <drepper@gmail.com>
43604 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43606 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43607 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43608 add in in __libc_use_alloca calls. Adjust callers.
43609 (glob): Use malloc in some situations.
43611 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43612 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43615 2011-05-21 Ulrich Drepper <drepper@gmail.com>
43617 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43618 and CLOCK_BOOTTIME_ALARM.
43621 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43624 * string/_strerror.c (__strerror_r): Print negative errors as signed
43628 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43629 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43630 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43632 * configure.in: Fix typo in redirection and correct removal of test
43633 files in two cases.
43636 * locale/setlocale.c (new_composite_name): Fix test to check for
43637 identical name of all categories.
43640 * libio/filedoalloc.c (local_isatty): New function.
43641 (_IO_file_doallocate): Use local_isatty.
43642 * stdio-common/perror.c (perror): In case a new stream is used
43643 forward the stream error.
43644 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43647 2011-05-20 Ulrich Drepper <drepper@gmail.com>
43650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43652 * include/alloca.h (extend_alloca_account): Define.
43655 * posix/regex.h: Fix comments with documentation of user-accessible
43656 fields after compilation and describe correct free'ing of pattern
43657 after re_compile_pattern.
43658 Patch by Reuben Thomas <rrt@sc3d.org>.
43660 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43662 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43663 and -mno-altivec to prevent the compiler from using Altivec and/or
43664 VSX instructions when the corresponding registers are not available.
43666 2011-05-19 Andreas Schwab <schwab@redhat.com>
43668 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43670 2011-05-19 Ulrich Drepper <drepper@gmail.com>
43672 * libio/freopen.c (freopen): Use __dup2, not dup2.
43673 * libio/freopen64.c (freopen64): Likewise.
43675 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43678 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43679 * math/Makefile (tests): Add test-powl.
43680 (CFLAGS-test-powl.c): Define.
43681 * math/test-powl.c: New file.
43683 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43685 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43687 2011-05-17 Ulrich Drepper <drepper@gmail.com>
43690 * iconvdata/gb18030.c: Update to GB18020-2005.
43692 2011-05-16 Ulrich Drepper <drepper@gmail.com>
43694 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43695 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43696 Patch by Aharon Robbins <arnold@skeeve.com>.
43699 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43703 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43704 through underflows.
43707 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43708 point to strings before performing equality test for error_one_per_line
43712 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43715 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43716 (struct user_fpregs_struct): Avoid __uint*_t types.
43719 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43720 symbol info. Use it instead of calling _dl_addr locally.
43721 (lock_and_info): New function.
43722 (tr_freehook): Call lock_and_info and pass symbol info as additional
43723 parameter to tr_where.
43724 (tr_mallochook): Likewise.
43725 (tr_reallochook): Likewise.
43726 (tr_memalignhook): Likewise.
43728 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43729 used and couldn't be at all thread-safe.
43731 2011-05-15 Ulrich Drepper <drepper@gmail.com>
43733 * libio/freopen.c (freopen): Don't close old file descriptor
43734 before the new one is opened. Instead dup the new file descriptor
43735 to the old one after the new stream is created.
43736 * libio/freopen64.c (freopen64): Likewise.
43737 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43738 * libio/fileops.c (_IO_new_file_close_it): Handle new
43739 _IO_FLAGS2_NOCLOSE flag.
43740 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43741 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43742 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43743 _IO_FLAGS2_NOCLOSE flag.
43744 * include/unistd.h: Add hidden_proto for dup3.
43745 Define __have_dup3.
43746 * io/dup3.c: Define hidden symbol.
43747 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43750 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43751 when an incomplete long option is used.
43752 * posix/tst-getopt_long1.c: New file.
43753 * posix/Makefile (tests): Add tst-getopt_long1.
43756 * scripts/config.guess: Update from autoconf-2.68.
43757 * scripts/config.sub: Likewise.
43760 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43762 (has_cpuclock): ...this. New function.
43763 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43764 macro here based on has_cpuclock code.
43767 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43768 First byte (not low byte) is now always NUL.
43769 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43771 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43772 Use non-cancelable interfaces.
43775 * locale/iso-639.def: Add entry for Sorani.
43778 * include/stdlib.h: Move include protection to the right place.
43779 Define abort_msg_s. Declare __abort_msg with it.
43780 * stdlib/abort.c (__abort_msg): Adjust type.
43781 * assert/assert.c (__assert_fail_base): New function. Majority
43782 of code from __assert_fail. Allocate memory for __abort_msg with
43784 (__assert_fail): Now call __assert_fail_base.
43785 * assert/assert-perr.c: Remove bulk of implementation. Use
43786 __assert_fail_base.
43787 * include/assert.hL Declare __assert_fail_base.
43788 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43790 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43792 2011-05-14 Ulrich Drepper <drepper@gmail.com>
43796 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43797 until all modules are registered in the DTV.
43798 * elf/Makefile: Add rules to build and run tst-tls19.
43799 * elf/tst-tls19.c: New file.
43800 * elf/tst-tls19mod1.c: New file.
43801 * elf/tst-tls19mod2.c: New file.
43802 * elf/tst-tls19mod3.c: New file.
43803 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43806 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43810 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43811 two-byte sequence errors.
43812 * iconvdata/Makefile (tests): Add bug-iconv8.
43813 * iconvdata/bug-iconv8.c: New file.
43816 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43819 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43822 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43823 (dummy_getcfa): New function.
43824 (init): Get _Unwind_GetCFA address, use dummy if not found.
43825 (backtrace_helper): In recursion check, also check whether CFA changes.
43826 (__backtrace): Completely initialize arg.
43828 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43829 storing incomplete byte sequence in state object. Avoid testing for
43830 guaranteed too small input if we know there is enough data available.
43832 2011-05-11 Andreas Schwab <schwab@redhat.com>
43834 * Makeconfig (+link-pie): Indent.
43835 * Rules (binaries-pie): Define if $(have-fpie) and
43837 (binaries-shared): Also filter out $(binaries-pie).
43838 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43839 * nscd/Makefile (others-pie): Add nscd.
43840 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43841 ($(objpfx)nscd): Remove command override.
43842 * login/Makefile (others-pie): Add pt_chown.
43843 ($(objpfx)pt_chown): Remove command override.
43844 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43845 remove command overrides.
43847 2011-05-13 Ulrich Drepper <drepper@gmail.com>
43849 * libio/tst_putwc.c: Fix error messages.
43852 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43853 currently writing and seek to current position when not.
43854 * libio/Makefile (tests): Add bug-fclose1.
43855 * libio/bug-fclose1.c: New file.
43857 2011-05-12 Ulrich Drepper <drepper@gmail.com>
43860 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43861 don't set DF_1_NODELETE here.
43862 (do_lookup_x): When entering new entry test for copy relocation
43863 and if necessary set DF_1_NODELETE flag.
43864 * elf/tst-unique4.cc: New file.
43865 * elf/tst-unique4.h: New file.
43866 * elf/tst-unique4lib.cc: New file.
43867 * elf/Makefile: Add rules to build and run tst-unique4.
43868 Patch by Piotr Bury <pbury@goahead.com>.
43870 2011-05-11 Ulrich Drepper <drepper@gmail.com>
43873 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43876 * misc/mntent_r.c (addmntent): Flush the stream after the output
43879 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43880 (is_trusted_path_normalize): Skip initial colon. Append slash
43881 to empty buffer. Duplicate is_trusted_path code but allow
43882 constructed patch to be prefix.
43883 (is_dst): Allow $ORIGIN followed by /.
43884 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43885 Correct testing of result of is_trusted_path_normalize
43886 (decompose_rpath): Fix warning.
43888 2011-05-10 Ulrich Drepper <drepper@gmail.com>
43891 * grp/initgroups.c (internal_getgrouplist): When we found the service
43892 list through the initgroups entry in nsswitch.conf do not always
43893 continue on a successful lookup. Don't always use the
43894 __nss_group_database value if it is set.
43895 * nss/nsswitch.conf (initgroups): Change action for successful db
43896 lookup to continue for compatibility.
43898 2011-05-09 Ulrich Drepper <drepper@gmail.com>
43901 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43903 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43905 * iconvdata/tst-tables.sh: Likewise.
43906 * iconvdata/cp770.c: New file.
43907 * iconvdata/cp771.c: New file.
43908 * iconvdata/cp772.c: New file.
43909 * iconvdata/cp773.c: New file.
43910 * iconvdata/cp774.c: New file.
43911 * iconvdata/testdata/CP770: New file.
43912 * iconvdata/testdata/CP770..UTF8: New file.
43913 * iconvdata/testdata/CP771: New file.
43914 * iconvdata/testdata/CP771..UTF8: New file.
43915 * iconvdata/testdata/CP772: New file.
43916 * iconvdata/testdata/CP772..UTF8: New file.
43917 * iconvdata/testdata/CP773: New file.
43918 * iconvdata/testdata/CP773..UTF8: New file.
43919 * iconvdata/testdata/CP774: New file.
43920 * iconvdata/testdata/CP774..UTF8: New file.
43922 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43924 * iconvdata/gen-8bit-gap.sh: Likewise.
43925 * iconvdata/gen-8bit.sh: Likewise.
43927 * locale/iso-639.def: Add ary entry.
43930 * locale/C-translit.h.in: Add U20A1 transliteration.
43933 * locale/iso-639.def: Add wae entry.
43934 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43937 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43941 * locale/C-translit.h.in: Add entry for U20B9.
43942 Patch by pravin.d.s@gmail.com.
43944 2011-05-08 Ulrich Drepper <drepper@gmail.com>
43947 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43948 ENAMETOOLONG use generic getcwd.
43949 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43950 in rtld. Use *stat64.
43951 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
43952 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
43953 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
43954 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43955 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43956 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43957 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43958 __fstatat64 macros.
43959 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43960 * dirent/rewinddir.c: Add libc_hidden_def.
43961 * sysdeps/mach/hurd/rewinddir.c: Likewise.
43962 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
43964 * include/dirent.h (__alloc_dir): Add flags parameter.
43965 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43966 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43968 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43969 from fdopendir if O_CLOEXEC is already set.
43971 2011-03-15 Alan Modra <amodra@gmail.com>
43973 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43974 l_tls_firstbyte_offset non-zero. Save padding offset in
43975 l_tls_firstbyte_offset for later use.
43976 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43977 freeing static tls block.
43979 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43981 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43982 where #ifdef was intended. The intent is to prevent ARG_MAX from
43983 being defined by the kernel headers.
43985 2011-05-07 Ulrich Drepper <drepper@gmail.com>
43988 * resolv/resolv.h: Define RES_NOTLDQUERY.
43989 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43990 no-tld-query and set RES_NOTLDQUERY.
43991 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43992 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43993 modern BIND to search name as TLD unless forbidden.
43995 2011-05-07 Petr Baudis <pasky@suse.cz>
43996 Ulrich Drepper <drepper@gmail.com>
43999 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44000 (is_trusted_path): ...to here.
44001 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44002 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44003 using is_trusted_path_normalize() in setuid scripts.
44005 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44007 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44008 __BEGIN/__END_DECLS.
44010 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44012 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44013 NSS_STATUS_NOTFOUND if no record was found.
44015 2011-05-05 Andreas Schwab <schwab@redhat.com>
44017 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44018 (headers-not-in-tirpc): Remove rpc/netdb.h
44019 * resolv/netdb.h: Revert last change.
44021 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44023 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44024 circular dependency between libgcc.a and libc.a.
44026 2011-05-05 Andreas Schwab <schwab@redhat.com>
44028 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44029 * nis/Makefile: Don't install rpcsvc/*.
44030 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44031 instead of <rpc/types.h>.
44032 (MAXHOSTNAMELEN): Define.
44034 2011-05-03 Andreas Schwab <schwab@redhat.com>
44036 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44038 2011-04-28 Maciej Babinski <mbabinski@google.com>
44041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44042 gethostbyname4_r when IPv6 results are possible.
44044 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44047 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44048 _PC_PIPE_BUF handling.
44050 2011-04-30 Bruno Haible <bruno@clisp.org>
44053 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44054 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44056 * inet/getnameinfo.c (getnameinfo): Likewise.
44058 2011-04-29 Ulrich Drepper <drepper@gmail.com>
44060 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44061 to groups setting in database lookup.
44062 * nss/nsswitch.conf: Add initgroups entry.
44064 2011-04-22 Ulrich Drepper <drepper@gmail.com>
44067 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44069 Patch by Eric Blake <eblake@redhat.com>.
44071 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44073 * sunrpc/Makefile (need-export-routines): Add svc_run.
44074 (routines): Remove svc_run.
44075 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44076 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44077 * sunrpc/svc_run.c (svc_run): Likewise.
44078 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44080 2011-04-21 Ulrich Drepper <drepper@gmail.com>
44082 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44083 problem in reallocation in last patch.
44085 2011-04-20 Ulrich Drepper <drepper@gmail.com>
44087 * sunrpc/Makefile: Move inclusion of Rules.
44089 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44091 * nss/nss_files/files-initgroups.c: New file.
44092 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44093 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44094 _nss_files_initgroups_dyn.
44096 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44098 * elf/elf.h (R_ARM_IRELATIVE): Define.
44100 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44102 * po/ru.po: Update from translation team.
44104 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44106 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44109 2011-02-06 Mike Frysinger <vapier@gentoo.org>
44112 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44113 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44114 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44115 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44116 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44118 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44120 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44122 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44123 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44124 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44126 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44129 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44131 * stdlib/bug-getcontext.c: New file.
44132 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44134 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44136 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44137 instructions into .machine "z9-109".
44138 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44139 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44141 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44143 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44144 between environment variables and auxiliary vector.
44146 2011-04-16 Ulrich Drepper <drepper@gmail.com>
44148 * Makefile: Add rules to build linkobj/libc.so.
44149 * include/libc-symbols.h: Define libc_hidden_nolink.
44150 * include/rpc/auth.h: Mark functions which are to be hidden.
44151 * include/rpc/auth_des.h: Likewise.
44152 * include/rpc/auth_unix.h: Likewise.
44153 * include/rpc/clnt.h: Likewise.
44154 * include/rpc/des_crypt.h: Likewise.
44155 * include/rpc/key_prot.h: Likewise.
44156 * include/rpc/pmap_clnt.h: Likewise.
44157 * include/rpc/pmap_prot.h: Likewise.
44158 * include/rpc/pmap_rmt.h: Likewise.
44159 * include/rpc/rpc_msg.h: Likewise.
44160 * include/rpc/svc.h: Likewise.
44161 * include/rpc/svc_auth.h: Likewise.
44162 * include/rpc/xdr.h: Likewise.
44163 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44164 * nss/Makefile: Likewise.
44165 * sunrpc/Makefile: Don't install headers. Build library with normal
44166 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44167 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44168 for the compat linking library. Remove use of INTDEF/INTUSE.
44169 * sunrpc/auth_none.c: Likewise.
44170 * sunrpc/auth_unix.c: Likewise.
44171 * sunrpc/authdes_prot.c: Likewise.
44172 * sunrpc/authuxprot.c: Likewise.
44173 * sunrpc/clnt_gen.c: Likewise.
44174 * sunrpc/clnt_perr.c: Likewise.
44175 * sunrpc/clnt_raw.c: Likewise.
44176 * sunrpc/clnt_simp.c: Likewise.
44177 * sunrpc/clnt_tcp.c: Likewise.
44178 * sunrpc/clnt_udp.c: Likewise.
44179 * sunrpc/clnt_unix.c: Likewise.
44180 * sunrpc/des_crypt.c: Likewise.
44181 * sunrpc/des_soft.c: Likewise.
44182 * sunrpc/get_myaddr.c: Likewise.
44183 * sunrpc/key_call.c: Likewise.
44184 * sunrpc/key_prot.c: Likewise.
44185 * sunrpc/netname.c: Likewise.
44186 * sunrpc/pm_getmaps.c: Likewise.
44187 * sunrpc/pm_getport.c: Likewise.
44188 * sunrpc/pmap_clnt.c: Likewise.
44189 * sunrpc/pmap_prot.c: Likewise.
44190 * sunrpc/pmap_prot2.c: Likewise.
44191 * sunrpc/pmap_rmt.c: Likewise.
44192 * sunrpc/publickey.c: Likewise.
44193 * sunrpc/rpc_cmsg.c: Likewise.
44194 * sunrpc/rpc_common.c: Likewise.
44195 * sunrpc/rpc_dtable.c: Likewise.
44196 * sunrpc/rpc_prot.c: Likewise.
44197 * sunrpc/rpc_thread.c: Likewise.
44198 * sunrpc/rtime.c: Likewise.
44199 * sunrpc/svc.c: Likewise.
44200 * sunrpc/svc_auth.c: Likewise.
44201 * sunrpc/svc_authux.c: Likewise.
44202 * sunrpc/svc_raw.c: Likewise.
44203 * sunrpc/svc_run.c: Likewise.
44204 * sunrpc/svc_simple.c: Likewise.
44205 * sunrpc/svc_tcp.c: Likewise.
44206 * sunrpc/svc_udp.c: Likewise.
44207 * sunrpc/svc_unix.c: Likewise.
44208 * sunrpc/svcauth_des.c: Likewise.
44209 * sunrpc/xcrypt.c: Likewise.
44210 * sunrpc/xdr.c: Likewise.
44211 * sunrpc/xdr_array.c: Likewise.
44212 * sunrpc/xdr_float.c: Likewise.
44213 * sunrpc/xdr_intXX_t.c: Likewise.
44214 * sunrpc/xdr_mem.c: Likewise.
44215 * sunrpc/xdr_rec.c: Likewise.
44216 * sunrpc/xdr_ref.c: Likewise.
44217 * sunrpc/xdr_sizeof.c: Likewise.
44218 * sunrpc/xdr_stdio.c: Likewise.
44220 2011-04-10 Ulrich Drepper <drepper@gmail.com>
44223 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44224 * sysdeps/ia64/dl-tls.h: Likewise.
44225 * sysdeps/powerpc/dl-tls.h: Likewise.
44226 * sysdeps/s390/dl-tls.h: Likewise.
44227 * sysdeps/sh/dl-tls.h: Likewise.
44228 * sysdeps/sparc/dl-tls.h: Likewise.
44229 * sysdeps/x86_64/dl-tls.h: Likewise.
44230 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44232 2011-03-14 Andreas Schwab <schwab@redhat.com>
44234 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44235 rpath element also skip the following colon.
44236 (expand_dynamic_string_token): Add is_path parameter and pass
44237 down to DL_DST_REQUIRED and _dl_dst_substitute.
44238 (decompose_rpath): Call expand_dynamic_string_token with
44239 non-zero is_path. Ignore empty rpaths.
44240 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44243 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44248 2011-04-09 Ulrich Drepper <drepper@gmail.com>
44251 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44252 Patch by Filipe David Manana <fdmanana@apache.org>.
44254 2011-04-07 Andreas Schwab <schwab@redhat.com>
44256 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44257 Maintain aligned stack.
44258 (CHECK_RSP): Remove unused macro.
44260 2011-04-03 Ulrich Drepper <drepper@gmail.com>
44262 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44263 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44265 2011-04-02 Ulrich Drepper <drepper@gmail.com>
44267 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44269 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44271 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44274 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44275 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44276 * sysdeps/x86_64/memmove.c: New file.
44277 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44278 (memcpy): Renamed to ...
44279 (__new_memcpy): This.
44280 (memcpy): Provide GLIBC_2_14 memcpy.
44281 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44282 (memcpy): Provide GLIBC_2_2_5 memcpy.
44284 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44287 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44289 2011-03-30 Andreas Schwab <schwab@redhat.com>
44291 * misc/syncfs.c: New file.
44292 * misc/Makefile (routines): Add syncfs.
44293 * posix/unistd.h: Declare syncfs.
44294 * sysdeps/unix/syscalls.list: Add syncfs.
44296 2011-04-01 Andreas Schwab <schwab@redhat.com>
44298 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44300 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44301 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44303 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44305 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44306 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44308 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44310 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44311 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44312 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44313 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44314 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44315 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44316 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44318 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44319 sync_file_range.c with -fexceptions.
44320 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44321 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44322 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44323 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44324 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44325 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44326 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44327 sync_file_range as cancellation point
44328 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44329 now a wrapper around __call_sync_file_range with cancellation handling.
44330 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44331 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44332 function name to __call_sync_file_range.
44333 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44334 Add call_sync_file_range.
44336 2011-04-01 Andreas Schwab <schwab@redhat.com>
44338 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44341 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44343 * iconv/iconv.h: Fix typo in comment.
44344 * io/fcntl.h: Likewise.
44345 * libio/stdio.h: Likewise.
44346 * posix/spawn.h: Likewise.
44347 * posix/unistd.h: Likewise.
44348 * stdlib/stdlib.h: Likewise.
44349 * time/time.h: Likewise.
44350 * wcsmbs/wchar.h: Likewise.
44352 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44353 open_by_handle): Add.
44354 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44355 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44356 Augment a few comments.
44357 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44358 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44359 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44360 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44361 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44362 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44365 * io/fcntl.h (AT_EMPTY_PATH): Define.
44367 2011-03-30 Ulrich Drepper <drepper@gmail.com>
44369 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44370 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44371 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44373 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
44374 * Versions.def: Add GLIBC_2.14.
44375 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44378 2011-03-22 Ulrich Drepper <drepper@gmail.com>
44380 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44382 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44384 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44387 * string/test-strncmp.c (do_page_test): New function.
44388 (check2): Likewise.
44389 (test_main): Call check2.
44390 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44392 2011-03-20 Ulrich Drepper <drepper@gmail.com>
44395 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44396 Handle cache information in CPU leaf 4.
44397 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44399 2011-03-18 Ulrich Drepper <drepper@gmail.com>
44402 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44403 character representation.
44404 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44406 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44408 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44409 END(__isnan) to END(__isnanf) to match function entry point/label
44410 EALIGN(__isnanf,...).
44412 2011-03-10 Jakub Jelinek <jakub@redhat.com>
44414 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44416 2011-03-10 Ulrich Drepper <drepper@gmail.com>
44419 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44420 copy from the symbol referenced in the relocation to initialize the
44422 Patch by Piotr Bury <pbury@goahead.com>.
44423 * elf/Makefile: Add rules to build and tst-unique3.
44424 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44425 * elf/tst-unique3.cc: New file.
44426 * elf/tst-unique3.h: New file.
44427 * elf/tst-unique3lib.cc: New file.
44428 * elf/tst-unique3lib2.cc: New file.
44430 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44432 2011-03-10 Mike Frysinger <vapier@gentoo.org>
44434 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44435 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44438 2011-03-06 Ulrich Drepper <drepper@gmail.com>
44440 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44441 to-be-loaded object along a path to loader is ld.so.
44443 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44444 Ulrich Drepper <drepper@gmail.com>
44446 * sysdeps/x86_64/memset.S: After aligning destination, code
44447 branches to different locations depending on the value of
44448 misalignment, when multiarch is enabled. Fix this.
44450 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44452 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44453 Set _x86_64_preferred_memory_instruction for AMD processsors.
44454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44455 Set bit_Prefer_SSE_for_memop for AMD processors.
44457 2011-03-04 Ulrich Drepper <drepper@gmail.com>
44459 * libio/fmemopen.c (fmemopen): Optimize a bit.
44461 2011-03-03 Andreas Schwab <schwab@redhat.com>
44463 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44465 2011-03-03 Roland McGrath <roland@redhat.com>
44467 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44469 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44471 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44472 __bzero_ultra1 instead of __memset_ultra1.
44474 2011-02-23 Andreas Schwab <schwab@redhat.com>
44475 Ulrich Drepper <drepper@gmail.com>
44478 * include/link.h (struct link_map): Add l_orig_initfini.
44479 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44480 returning unsuccessfully.
44481 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44482 close of a file loaded at startup, restore the original l_initfini
44484 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44485 list, store the pointer.
44486 * elf/Makefile ($(objpfx)noload-mem): New rule.
44487 (noload-ENV): Define.
44488 (tests): Add $(objpfx)noload-mem.
44489 * elf/noload.c: Include <memcheck.h>.
44490 (main): Call mtrace. Close all opened handles.
44492 2011-02-17 Andreas Schwab <schwab@redhat.com>
44495 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44496 dependencies are missing.
44498 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44500 Fix __if_freereq crash: Unlike the generic version which uses free,
44502 * sysdeps/mach/hurd/ifreq.h: New file.
44504 2011-01-27 Petr Baudis <pasky@suse.cz>
44505 Ulrich Drepper <drepper@gmail.com>
44508 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44509 to extend_alloca().
44510 * stdio-common/bug23.c: New file.
44511 * stdio-common/Makefile (tests): Add bug23.
44513 2010-09-28 Andreas Schwab <schwab@redhat.com>
44514 Ulrich Drepper <drepper@gmail.com>
44517 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44518 before performing relro protection. At old place add assertion
44519 to make sure nothing changed.
44521 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44522 Glauber de Oliveira Costa <glommer@gmail.com>
44524 * elf/elf.h: Add new ARM TLS relocs.
44526 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44529 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44531 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44533 * sysdeps/wordsize-64/tst-writev.c: New file.
44535 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44537 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44538 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44539 insns in _dl_start to prevent a TOC reference before relocs are
44542 2011-02-15 Ulrich Drepper <drepper@gmail.com>
44545 * Makeconfig: Remove RANLIB definition.
44546 * Makerules: Don't use RANLIB.
44547 * aclocal.m4: Remove ranlib test.
44548 * configure.in: No need to check for ranlib.
44549 * elf/rtld-Rules: Don't use RANLIB.
44551 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44553 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44555 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44556 inclusion protection macro.
44558 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44559 SIGRTMIN and SIGRTMAX and print information in that case only when
44560 SIGRTMIN is defined.
44562 2011-02-11 Jakub Jelinek <jakub@redhat.com>
44564 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44565 arginfo fn returning -1.
44567 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44568 and thousands string is zero terminated.
44570 2011-02-03 Andreas Schwab <schwab@redhat.com>
44572 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44573 sysdeps/unix/sysv/linux/bits/socket.h.
44575 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44577 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44578 (__CPU_COUNT): Remove old macros.
44579 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44580 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44581 (__CPU_ALLOC, __CPU_FREE): Add macros.
44582 (__sched_cpualloc, __sched_cpufree): Add declarations.
44584 2011-02-05 Ulrich Drepper <drepper@gmail.com>
44586 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44587 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44588 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44589 (readdhstai): Return value of addhstaiX call.
44590 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44591 (addgrbyX): Return value returned by cache_addgr.
44592 (readdgrbyname): Return value returned by addgrbyX.
44593 (readdgrbygid): Likewise.
44594 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44595 (addpwbyX): Return value returned by cache_addpw.
44596 (readdpwbyname): Return value returned by addhstbyX.
44597 (readdpwbyuid): Likewise.
44598 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44599 (addservbyX): Return value returned by cache_addserv.
44600 (readdservbyname): Return value returned by addservbyX:
44601 (readdservbyport): Likewise.
44602 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44603 (addhstbyX): Return value returned by cache_addhst.
44604 (readdhstbyname): Return value returned by addhstbyX.
44605 (readdhstbyaddr): Likewise.
44606 (readdhstbynamev6): Likewise.
44607 (readdhstbyaddrv6): Likewise.
44608 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44609 (readdinitgroups): Return value returned by addinitgroupsX.
44610 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44611 (prune_cache): Keep track of timeout value of re-added entries.
44612 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44613 * nscd/nscd.h: Adjust prototypes of readd* functions.
44615 2011-02-04 Roland McGrath <roland@redhat.com>
44617 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44618 (nis_stats): Likewise.
44619 * nis/nis_modify.c (nis_modify): Likewise.
44620 * nis/nis_remove.c (nis_remove): Likewise.
44621 * nis/nis_add.c (nis_add): Likewise.
44623 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44625 * posix/fnmatch_loop.c: Add some consts.
44627 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44629 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44632 * config.make.in (config-cflags-novzeroupper): Define.
44633 * configure.in: Substitute libc_cv_cc_novzeroupper.
44634 * elf/Makefile (AVX-CFLAGS): Define.
44635 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44636 (CFLAGS-tst-auditmod4a.c): Likewise.
44637 (CFLAGS-tst-auditmod4b.c): Likewise.
44638 (CFLAGS-tst-auditmod6b.c): Likewise.
44639 (CFLAGS-tst-auditmod6c.c): Likewise.
44640 (CFLAGS-tst-auditmod7b.c): Likewise.
44641 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44643 2011-02-02 Ulrich Drepper <drepper@gmail.com>
44645 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44646 function to the callback.
44647 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44649 2011-02-02 Andreas Schwab <schwab@redhat.com>
44651 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44654 2011-01-19 Ulrich Drepper <drepper@gmail.com>
44657 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44659 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44661 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44664 * elf/Makefile: Add rules to build and run new test.
44665 * elf/tst-initorder.c: New file.
44666 * elf/tst-initorder.exp: New file.
44667 * elf/tst-initordera1.c: New file.
44668 * elf/tst-initordera2.c: New file.
44669 * elf/tst-initordera3.c: New file.
44670 * elf/tst-initordera4.c: New file.
44671 * elf/tst-initorderb1.c: New file.
44672 * elf/tst-initorderb2.c: New file.
44673 * elf/tst-order-a1.c: New file.
44674 * elf/tst-order-a2.c: New file.
44675 * elf/tst-order-a3.c: New file.
44676 * elf/tst-order-a4.c: New file.
44677 * elf/tst-order-b1.c: New file.
44678 * elf/tst-order-b2.c: New file.
44679 * elf/tst-order-main.c: New file.
44680 New test case by George Gensure <werkt0@gmail.com>.
44682 2010-10-01 Andreas Schwab <schwab@redhat.com>
44684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44685 decoding ACE if AI_CANONIDN.
44687 2011-01-18 Ulrich Drepper <drepper@gmail.com>
44689 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44691 2011-01-17 Ulrich Drepper <drepper@gmail.com>
44693 * version.h (RELEASE): Bump for 2.13 release.
44694 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44696 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44698 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44700 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44701 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44702 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44703 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44704 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44705 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44707 * posix/getconf.c: Update copyright year.
44708 * catgets/gencat.c: Likewise.
44709 * csu/version.c: Likewise.
44710 * debug/catchsegv.sh: Likewise.
44711 * debug/xtrace.sh: Likewise.
44712 * elf/ldconfig.c: Likewise.
44713 * elf/ldd.bash.in: Likewise.
44714 * elf/sprof.c (print_version): Likewise.
44715 * iconv/iconv_prog.c: Likewise.
44716 * iconv/iconvconfig.c: Likewise.
44717 * locale/programs/locale.c: Likewise.
44718 * locale/programs/localedef.c: Likewise.
44719 * malloc/memusage.sh: Likewise.
44720 * malloc/mtrace.pl: Likewise.
44721 * nscd/nscd.c (print_version): Likewise.
44722 * nss/getent.c: Likewise.
44724 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44725 PF_CAIF, and PF_ALG.
44726 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44728 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44730 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44731 (modules-names): Use them.
44732 (ifunc-test-modules, ifunc-pie-tests): Define.
44733 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44734 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44735 (test-extras): Likewise.
44736 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44737 $(compile-command.c).
44738 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44739 (all-built-dso): Define.
44740 (check-textrel.out, check-execstack.out): Depend on it.
44742 * configure.in: Don't override --enable-multi-arch.
44744 2011-01-15 Ulrich Drepper <drepper@gmail.com>
44747 * nscd/hstcache.c (tryagain): Define.
44748 (cache_addhst): Return tryagain not notfound for temporary errors.
44749 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44752 2011-01-14 Ulrich Drepper <drepper@gmail.com>
44755 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44756 to make the syscall.
44757 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44760 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44761 and fall back to matching as normal character if the string ends before
44762 the matching ']' is found. This is what POSIX requires.
44763 * posix/testfnm.c: Adjust test result.
44764 * posix/globtest.sh: Adjust test result. Add new test.
44765 * posix/tst-fnmatch.input: Likewise.
44766 * posix/tst-fnmatch2.c: Add new test.
44768 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44770 * elf/Makefile (check-execstack): Revert last change. Depend on
44772 (check-execstack.h): New target.
44773 (generated): Add check-execstack.h.
44774 * elf/check-execstack.c: Include "check-execstack.h".
44775 (main): Revert last change.
44776 (handle_file): Return zero if GNU_STACK is absent and
44777 DEFAULT_STACK_PERMS doesn't include PF_X.
44779 2011-01-13 Ulrich Drepper <drepper@gmail.com>
44781 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44782 in child fails because the descriptor is already closed.
44783 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44784 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44785 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44788 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44792 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44793 temporary buffer used to handle multi lookups locally.
44794 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44796 2011-01-12 Ulrich Drepper <drepper@gmail.com>
44798 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44801 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44803 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44804 alignment for SSE2.
44806 2011-01-12 Ulrich Drepper <drepper@gmail.com>
44809 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44810 characters. When rounding increased number of integer digits recompute
44812 * stdio-common/tst-grouping.c: New file.
44813 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44815 2011-01-09 Ulrich Drepper <drepper@gmail.com>
44817 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44818 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44820 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44822 * bits/select.h: Likewise.
44824 2011-01-08 Ulrich Drepper <drepper@gmail.com>
44826 * po/ja.po: Update from translation team.
44828 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
44831 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44832 implementation just like for lxstat, fxstatat, et al.
44834 2010-12-27 Jim Meyering <meyering@redhat.com>
44837 * posix/regexec.c (build_trtable): Return failure indication upon
44838 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44840 2010-12-25 Ulrich Drepper <drepper@gmail.com>
44843 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44844 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44845 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44846 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44849 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44852 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44853 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44855 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44857 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44858 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44859 script has SORT_BY_INIT_PRIORITY.
44860 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44861 NO_CTORS_DTORS_SECTIONS is defined.
44862 * elf/soinit.c: Likewise.
44863 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44864 NO_CTORS_DTORS_SECTIONS is defined.
44865 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44866 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44867 * sysdeps/sh/init-first.c: Likewise.
44868 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44870 2010-12-24 Ulrich Drepper <drepper@gmail.com>
44872 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44873 always use the slow path.
44875 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44877 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44878 similar rule which adds the sysdep directories to the header search in
44879 order to pick up the correct platform stackinfo.h.
44880 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44881 perform test if it is, otherwise return successfully without testing.
44882 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44883 DEFAULT_STACK_PERMS define in stackinfo.h.
44884 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44885 defined in stackinfo.h.
44886 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44887 DEFAULT_STACK_PERMS defined in stackinfo.h.
44888 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44889 * sysdeps/ia64/stackinfo.h: Likewise.
44890 * sysdeps/s390/stackinfo.h: Likewise.
44891 * sysdeps/sh/stackinfo.h: Likewise.
44892 * sysdeps/sparc/stackinfo.h: Likewise.
44893 * sysdeps/x86_64/stackinfo.h: Likewise.
44894 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44895 PF_X for powerpc64. Retain PF_X for powerpc32.
44897 2010-12-19 Ulrich Drepper <drepper@gmail.com>
44899 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44901 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44902 GETDENTS_64BIT_ALIGNED.
44904 2010-12-14 Ulrich Drepper <dreper@gmail.com>
44906 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
44908 2010-12-10 Andreas Schwab <schwab@redhat.com>
44910 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44913 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44914 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44916 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44917 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44919 2010-12-09 Ulrich Drepper <drepper@gmail.com>
44922 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44925 2010-12-09 Jakub Jelinek <jakub@redhat.com>
44927 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44929 2010-12-03 Ulrich Drepper <drepper@gmail.com>
44931 * po/it.po: Update from translation team.
44933 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44935 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44938 2010-11-30 Ulrich Drepper <drepper@gmail.com>
44940 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44942 2010-11-24 Andreas Schwab <schwab@redhat.com>
44944 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44946 (gaih_getanswer_slice): Likewise.
44948 2010-10-20 Jakub Jelinek <jakub@redhat.com>
44950 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44952 2010-05-31 Petr Baudis <pasky@suse.cz>
44955 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44956 silently even in the chroot mode.
44958 2010-11-22 Ulrich Drepper <drepper@gmail.com>
44960 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44961 last patch a bit. Pretty printing
44963 2010-05-31 Petr Baudis <pasky@suse.cz>
44966 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44967 initialization of skip_initgroups_dyn.
44969 2010-11-19 Ulrich Drepper <drepper@gmail.com>
44971 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44972 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44974 2010-11-16 Ulrich Drepper <drepper@gmail.com>
44976 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44978 2010-11-11 Andreas Schwab <schwab@redhat.com>
44980 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44981 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44982 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44983 ($(objpfx)tst-fnmatch-mem): New rule.
44984 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44985 * posix/tst-fnmatch.c (main): Call mtrace.
44987 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44990 Support Intel processor model 6 and model 0x2c.
44992 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
44994 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44997 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45000 * string/test-strncasecmp.c (check_result): New function.
45001 (do_one_test): Use it.
45002 (check1): New function.
45003 (test_main): Use it.
45004 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45005 Support strcasecmp and strncasecmp.
45007 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45010 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45011 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45013 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45015 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45019 * sysdeps/x86_64/multiarch/bzero.S: New file.
45020 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45021 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45022 * sysdeps/x86_64/multiarch/memset.S: New file.
45023 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45025 Set bit_Prefer_SSE_for_memop for Intel processors.
45026 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45028 (index_Prefer_SSE_for_memop): Define.
45029 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45031 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45033 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45034 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45036 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45039 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45040 (__x86_64_raw_data_cache_size_half): Likewise.
45041 (__x86_64_raw_shared_cache_size): Likewise.
45042 (__x86_64_raw_shared_cache_size_half): Likewise.
45044 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45045 (__x86_64_raw_data_cache_size_half): Likewise.
45046 (__x86_64_raw_shared_cache_size): Likewise.
45047 (__x86_64_raw_shared_cache_size_half): Likewise.
45048 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45049 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45050 and __x86_64_raw_shared_cache_size_half. Round
45051 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45052 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45053 to multiple of 256 bytes.
45055 2010-11-03 Ulrich Drepper <drepper@gmail.com>
45058 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45059 of inacessible symlinks. Verify result of symlink before returning it.
45060 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45061 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45063 2010-10-28 Erich Ritz <erichritz@gmail.com>
45065 * math/math.h (isinf): Fix typo in comment.
45067 2010-11-01 Ulrich Drepper <drepper@gmail.com>
45069 * po/da.po: Update from translation team.
45071 2010-10-26 Ulrich Drepper <drepper@gmail.com>
45073 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45074 is added to the list.
45076 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45077 Ulrich Drepper <drepper@gmail.com>
45079 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45080 the global list here. Move code to...
45081 (_dl_add_to_namespace_list): ...here. New function.
45082 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45083 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45084 * elf/dl-load.c (lose): Don't remove the element from the list.
45085 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45086 (_dl_map_object): Likewise.
45088 2010-10-25 Ulrich Drepper <drepper@gmail.com>
45091 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45092 into all bytes of SSE register.
45093 Patch by Richard Li <richardpku@gmail.com>.
45095 2010-10-24 Ulrich Drepper <drepper@gmail.com>
45098 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45101 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45103 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45104 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45105 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45106 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45111 2010-10-22 Andreas Schwab <schwab@redhat.com>
45113 * include/dlfcn.h (__RTLD_SECURE): Define.
45114 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45115 mode & __RTLD_SECURE instead.
45116 (open_path): Rename preloaded parameter to secure.
45117 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45118 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45119 * elf/dl-deps.c (openaux): Likewise.
45120 * elf/rtld.c (struct map_args): Remove is_preloaded.
45121 (map_doit): Don't use it.
45122 (dl_main): Likewise.
45123 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45124 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45126 2010-09-09 Andreas Schwab <schwab@redhat.com>
45128 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45129 (sysd-rules-targets): Remove duplicates.
45130 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45131 rtld-%.$o dependency.
45133 2010-10-18 Andreas Schwab <schwab@redhat.com>
45135 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45136 _dl_map_object do it.
45138 2010-10-19 Ulrich Drepper <drepper@gmail.com>
45140 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45141 fast fma builtins, define the macros in the C99 standard.
45142 (FP_FAST_FMAF): Likewise.
45143 (FP_FAST_FMAL): Likewise.
45144 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45146 * bits/mathdef.h: Update copyright year.
45147 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45149 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45151 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45152 builtins, define the macros in the C99 standard.
45153 (FP_FAST_FMAF): Likewise.
45154 (FP_FAST_FMAL): Likewise.
45155 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45157 (FP_FAST_FMAF): Likewise.
45159 2010-10-15 Jakub Jelinek <jakub@redhat.com>
45162 * math/libm-test.inc (fma_test): Some new testcases.
45163 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45164 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45165 y and infinite z. Do multiplication by C already in long double.
45166 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45168 y and infinite z. Do bitwise or of inexact bit into u.d.
45169 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45170 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45171 * sysdeps/i386/fpu/s_fma.S: Removed.
45172 * sysdeps/i386/fpu/s_fmal.S: Removed.
45174 2010-10-16 Jakub Jelinek <jakub@redhat.com>
45177 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45178 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45179 computation is not scheduled after fetestexcept. Fix value
45180 of minimum denormal long double.
45182 2010-10-14 Jakub Jelinek <jakub@redhat.com>
45185 * math/libm-test.inc (fma_test): Add some more tests.
45186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45189 2010-10-15 Andreas Schwab <schwab@redhat.com>
45191 * scripts/data/localplt-s390-linux-gnu.data: New file.
45192 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45194 2010-10-13 Jakub Jelinek <jakub@redhat.com>
45197 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45198 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45200 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45202 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45204 if one of x and y is very large and the other is subnormal.
45205 * sysdeps/s390/fpu/s_fmaf.c: New file.
45206 * sysdeps/s390/fpu/s_fma.c: New file.
45207 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45208 * sysdeps/powerpc/fpu/s_fma.S: New file.
45209 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45210 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45211 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45213 2010-10-12 Jakub Jelinek <jakub@redhat.com>
45216 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45218 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45219 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45220 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45221 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45222 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45223 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45224 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45226 2010-10-12 Ulrich Drepper <drepper@redhat.com>
45229 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45230 * posix/bug-regex31.input: Add test case.
45232 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45234 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45235 * posix/bug-regex31.input: New file.
45238 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45239 (parse_sub_exp): Fix last change, use postorder.
45241 * posix/bug-regex31.c: New file.
45242 * posix/Makefile: Add rules to build and run bug-regex31.
45244 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45247 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45250 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45251 to have entries in sys_siglist.
45254 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45257 2010-10-07 Jakub Jelinek <jakub@redhat.com>
45260 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45261 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45262 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45263 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45264 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45265 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45266 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45267 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45268 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45269 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45270 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45271 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45272 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45273 * math/ftestexcept.c (fetestexcept): Likewise.
45274 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45275 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45276 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45277 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45278 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45279 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45280 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45282 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45285 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45288 2010-10-06 Ulrich Drepper <drepper@gmail.com>
45290 * string/bug-strstr1.c: New file.
45291 * string/Makefile: Add rules to build and run bug-strstr1.
45293 2010-10-05 Eric Blake <eblake@redhat.com>
45296 * string/str-two-way.h (two_way_long_needle): Always clear memory
45297 when skipping input due to the shift table.
45299 2010-10-03 Ulrich Drepper <drepper@gmail.com>
45302 * malloc/mcheck.c: Handle large requests.
45305 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45306 for strncmp and strncasecmp.
45307 * string/stratcliff.c: Add tests for strcmp and strncmp.
45308 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45310 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45312 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45315 2010-09-30 Andreas Jaeger <aj@suse.de>
45317 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45318 (CGROUP_SUPER_MAGIC): Define.
45319 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45320 Handle btrfs and cgroup file systems.
45321 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45324 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
45326 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45327 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45329 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45332 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45333 trying to locate the ELF header.
45335 2010-09-27 Andreas Schwab <schwab@redhat.com>
45338 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45339 Mask out sign-bit copies when constructing f_fsid.
45341 2010-09-24 Petr Baudis <pasky@suse.cz>
45343 * debug/stack_chk_fail_local.c: Add missing licence exception.
45344 * debug/warning-nop.c: Likewise.
45346 2010-09-15 Joseph Myers <joseph@codesourcery.com>
45348 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45349 implementing getdents64 using getdents syscall, set d_type if
45350 __ASSUME_GETDENTS32_D_TYPE.
45352 2010-09-16 Andreas Schwab <schwab@redhat.com>
45354 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45355 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45357 2010-09-21 Ulrich Drepper <drepper@redhat.com>
45360 * posix/unistd.h: Undo change of feature selection for ftruncate from
45363 2010-09-20 Ulrich Drepper <drepper@redhat.com>
45365 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45368 2010-09-20 Andreas Schwab <schwab@redhat.com>
45370 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45372 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45374 2010-09-14 Andreas Schwab <schwab@redhat.com>
45376 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45377 variables after CHECK_SP call.
45378 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45380 2010-09-13 Andreas Schwab <schwab@redhat.com>
45381 Ulrich Drepper <drepper@redhat.com>
45383 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45384 re-relocationg ld.so.
45385 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45386 _dl_init_paths call.
45387 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45390 2010-09-14 Ulrich Drepper <drepper@redhat.com>
45392 * resolv/res_init.c (__res_vinit): Count the default server we added.
45394 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45395 Ulrich Drepper <drepper@redhat.com>
45398 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45399 (____longjmp_chk): Use %ebx for saving value across system call.
45402 2010-09-06 Andreas Schwab <schwab@redhat.com>
45404 * manual/Makefile: Don't mix pattern rules with normal rules.
45406 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45408 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45410 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45411 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45412 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45413 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45414 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45417 2010-09-04 Ulrich Drepper <drepper@redhat.com>
45420 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45421 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45423 2010-09-02 Ulrich Drepper <drepper@redhat.com>
45425 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45426 * sysdeps/x86_64/addmul_1.S: Likewise.
45427 * sysdeps/x86_64/lshift.S: Likewise.
45428 * sysdeps/x86_64/mul_1.S: Likewise.
45429 * sysdeps/x86_64/rshift.S: Likewise.
45430 * sysdeps/x86_64/sub_n.S: Likewise.
45431 * sysdeps/x86_64/submul_1.S: Likewise.
45433 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45435 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45436 Define __sched_param instead of SCHED_* and sched_param when
45437 <bits/sched.h> is included with __need_schedparam defined.
45438 * bits/sched.h [__need_schedparam]
45439 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45440 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45441 (__defined_schedparam): Define to 1.
45442 (__sched_param): New structure, identical to sched_param.
45443 (__need_schedparam): Undefine.
45445 2010-08-31 Mike Frysinger <vapier@gentoo.org>
45447 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45448 (epoll_create1): Declare.
45450 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45452 2010-08-31 Andreas Schwab <schwab@redhat.com>
45455 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45456 shifting retval into place.
45458 2010-09-01 Ulrich Drepper <drepper@redhat.com>
45460 * nis/rpcsvc/nis.h: Update copyright notice.
45461 * nis/rpcsvc/nis.x: Likewise.
45462 * nis/rpcsvc/nis_callback.h: Likewise.
45463 * nis/rpcsvc/nis_callback.x: Likewise.
45464 * nis/rpcsvc/nis_object.x: Likewise.
45465 * nis/rpcsvc/nis_tags.h: Likewise.
45466 * nis/rpcsvc/yp.h: Likewise.
45467 * nis/rpcsvc/yp.x: Likewise.
45468 * nis/rpcsvc/ypupd.h: Likewise.
45469 * nis/yp_xdr.c: Likewise.
45470 * nis/ypupdate_xdr.c: Likewise.
45472 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45473 mainly the body of pmap_getport. Add parameters to specify timeouts.
45474 (pmap_getport): Use __libc_rpc_getport.
45475 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45476 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45477 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45479 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45484 2010-08-27 Roland McGrath <roland@redhat.com>
45486 * sysdeps/i386/i686/multiarch/Makefile
45487 (CFLAGS-varshift.c): New variable.
45489 2010-08-27 Ulrich Drepper <drepper@redhat.com>
45491 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45492 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45494 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45496 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45498 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45500 * sysdeps/x86_64/strlen.S: Unroll the loop.
45501 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45502 strlen-sse2 strlen-sse2-bsf.
45503 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45504 __strlen_no_bsf if bit_Slow_BSF is set.
45505 (__strlen_sse42): Removed.
45506 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45507 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45509 2010-08-25 Roland McGrath <roland@redhat.com>
45511 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45512 * sysdeps/x86_64/multiarch/varshift.c: New file.
45513 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45514 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45515 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45516 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45518 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45520 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45521 strlen-sse2 strlen-sse2-bsf.
45522 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45523 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45524 (__strlen_sse2): Removed.
45525 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45526 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45527 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45528 bit_Slow_BSF for Atom.
45529 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45530 (index_Slow_BSF): Define.
45531 (HAS_SLOW_BSF): Define.
45533 2010-08-25 Ulrich Drepper <drepper@redhat.com>
45536 * resolv/res_init.c (__res_vinit): When no server address at all
45537 is given default to loopback.
45539 2010-08-24 Roland McGrath <roland@redhat.com>
45541 * configure.in: Remove config-name.h generation.
45542 * configure: Regenerated.
45543 * config-name.in: File removed.
45544 * scripts/config-uname.sh: New file.
45545 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45546 ($(objdir)config-name.h): New target.
45548 * sunrpc/rpc_parse.h: Avoid nested comment.
45550 2010-08-24 Richard Henderson <rth@redhat.com>
45551 Ulrich Drepper <drepper@redhat.com>
45552 H.J. Lu <hongjiu.lu@intel.com>
45554 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45555 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45556 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45557 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45558 _mm_alignr_epi8 with _mm_loadu_si128.
45559 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45560 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45561 (__m128i_shift_right): Removed.
45562 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45563 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45564 * sysdeps/x86_64/multiarch/varshift.h: New file.
45565 * sysdeps/x86_64/multiarch/varshift.S: New file.
45567 2010-08-21 Mike Frysinger <vapier@gentoo.org>
45569 * configure.in: Move assembler checks to before sysdep dir checking.
45571 2010-08-20 Petr Baudis <pasky@suse.cz>
45573 * LICENSES: Sync the sunrpc license.
45575 2010-08-19 Ulrich Drepper <drepper@redhat.com>
45577 * sunrpc/auth_des.c: Update copyright notice once again.
45578 * sunrpc/auth_none.c: Likewise.
45579 * sunrpc/auth_unix.c: Likewise.
45580 * sunrpc/authdes_prot.c: Likewise.
45581 * sunrpc/authuxprot.c: Likewise.
45582 * sunrpc/bindrsvprt.c: Likewise.
45583 * sunrpc/clnt_gen.c: Likewise.
45584 * sunrpc/clnt_perr.c: Likewise.
45585 * sunrpc/clnt_raw.c: Likewise.
45586 * sunrpc/clnt_simp.c: Likewise.
45587 * sunrpc/clnt_tcp.c: Likewise.
45588 * sunrpc/clnt_udp.c: Likewise.
45589 * sunrpc/clnt_unix.c: Likewise.
45590 * sunrpc/des_crypt.c: Likewise.
45591 * sunrpc/des_soft.c: Likewise.
45592 * sunrpc/get_myaddr.c: Likewise.
45593 * sunrpc/getrpcport.c: Likewise.
45594 * sunrpc/key_call.c: Likewise.
45595 * sunrpc/key_prot.c: Likewise.
45596 * sunrpc/openchild.c: Likewise.
45597 * sunrpc/pm_getmaps.c: Likewise.
45598 * sunrpc/pm_getport.c: Likewise.
45599 * sunrpc/pmap_clnt.c: Likewise.
45600 * sunrpc/pmap_prot.c: Likewise.
45601 * sunrpc/pmap_prot2.c: Likewise.
45602 * sunrpc/pmap_rmt.c: Likewise.
45603 * sunrpc/rpc/auth.h: Likewise.
45604 * sunrpc/rpc/auth_unix.h: Likewise.
45605 * sunrpc/rpc/clnt.h: Likewise.
45606 * sunrpc/rpc/des_crypt.h: Likewise.
45607 * sunrpc/rpc/key_prot.h: Likewise.
45608 * sunrpc/rpc/netdb.h: Likewise.
45609 * sunrpc/rpc/pmap_clnt.h: Likewise.
45610 * sunrpc/rpc/pmap_prot.h: Likewise.
45611 * sunrpc/rpc/pmap_rmt.h: Likewise.
45612 * sunrpc/rpc/rpc.h: Likewise.
45613 * sunrpc/rpc/rpc_des.h: Likewise.
45614 * sunrpc/rpc/rpc_msg.h: Likewise.
45615 * sunrpc/rpc/svc.h: Likewise.
45616 * sunrpc/rpc/svc_auth.h: Likewise.
45617 * sunrpc/rpc/types.h: Likewise.
45618 * sunrpc/rpc/xdr.h: Likewise.
45619 * sunrpc/rpc_clntout.c: Likewise.
45620 * sunrpc/rpc_cmsg.c: Likewise.
45621 * sunrpc/rpc_common.c: Likewise.
45622 * sunrpc/rpc_cout.c: Likewise.
45623 * sunrpc/rpc_dtable.c: Likewise.
45624 * sunrpc/rpc_hout.c: Likewise.
45625 * sunrpc/rpc_main.c: Likewise.
45626 * sunrpc/rpc_parse.c: Likewise.
45627 * sunrpc/rpc_parse.h: Likewise.
45628 * sunrpc/rpc_prot.c: Likewise.
45629 * sunrpc/rpc_sample.c: Likewise.
45630 * sunrpc/rpc_scan.c: Likewise.
45631 * sunrpc/rpc_scan.h: Likewise.
45632 * sunrpc/rpc_svcout.c: Likewise.
45633 * sunrpc/rpc_tblout.c: Likewise.
45634 * sunrpc/rpc_util.c: Likewise.
45635 * sunrpc/rpc_util.h: Likewise.
45636 * sunrpc/rpcinfo.c: Likewise.
45637 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45638 * sunrpc/rpcsvc/key_prot.x: Likewise.
45639 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45640 * sunrpc/rpcsvc/mount.x: Likewise.
45641 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45642 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45643 * sunrpc/rpcsvc/rex.x: Likewise.
45644 * sunrpc/rpcsvc/rstat.x: Likewise.
45645 * sunrpc/rpcsvc/rusers.x: Likewise.
45646 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45647 * sunrpc/rpcsvc/spray.x: Likewise.
45648 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45649 * sunrpc/rtime.c: Likewise.
45650 * sunrpc/svc.c: Likewise.
45651 * sunrpc/svc_auth.c: Likewise.
45652 * sunrpc/svc_authux.c: Likewise.
45653 * sunrpc/svc_raw.c: Likewise.
45654 * sunrpc/svc_run.c: Likewise.
45655 * sunrpc/svc_simple.c: Likewise.
45656 * sunrpc/svc_tcp.c: Likewise.
45657 * sunrpc/svc_udp.c: Likewise.
45658 * sunrpc/svc_unix.c: Likewise.
45659 * sunrpc/svcauth_des.c: Likewise.
45660 * sunrpc/xcrypt.c: Likewise.
45661 * sunrpc/xdr.c: Likewise.
45662 * sunrpc/xdr_array.c: Likewise.
45663 * sunrpc/xdr_float.c: Likewise.
45664 * sunrpc/xdr_mem.c: Likewise.
45665 * sunrpc/xdr_rec.c: Likewise.
45666 * sunrpc/xdr_ref.c: Likewise.
45667 * sunrpc/xdr_sizeof.c: Likewise.
45668 * sunrpc/xdr_stdio.c: Likewise.
45670 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45673 2010-08-19 Andreas Schwab <schwab@redhat.com>
45675 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45677 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
45679 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45680 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45681 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45682 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45683 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45684 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45685 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45686 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45687 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45688 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45689 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45690 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45691 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45692 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45694 2010-07-26 Anton Blanchard <anton@samba.org>
45696 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45697 * malloc/arena.c (heap_trim): Likewise.
45699 2010-08-16 Ulrich Drepper <drepper@redhat.com>
45701 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45703 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45704 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45706 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45708 * sysdeps/i386/elf/Makefile: New file.
45710 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45712 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45713 from fanotify_init.
45714 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45715 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45717 2010-08-15 Ulrich Drepper <drepper@redhat.com>
45719 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45721 * sysdeps/multiarch/strcmp.S: Likewise.
45723 2010-08-14 Ulrich Drepper <drepper@redhat.com>
45725 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45726 strncase_l-nonascii.
45727 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45728 Add strncase_l-ssse3.
45729 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45730 * sysdeps/x86_64/strcmp.S: Likewise.
45731 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45732 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45733 * sysdeps/x86_64/strncase.S: New file.
45734 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45735 * sysdeps/x86_64/strncase_l.S: New file.
45736 * string/Makefile (strop-tests): Add strncasecmp.
45737 * string/test-strncasecmp.c: New file.
45739 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45742 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45743 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45745 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45747 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45749 2010-08-12 Ulrich Drepper <drepper@redhat.com>
45751 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45752 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45753 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45755 2010-05-01 Alan Modra <amodra@gmail.com>
45757 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45758 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45759 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45760 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45761 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45762 tidying. Don't tail-call __sigjmp_save for static lib.
45763 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45765 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45766 (CALL_MCOUNT): Add eh info, and nop after bl.
45767 (TAIL_CALL_SYSCALL_ERROR): New macro.
45768 (PSEUDO_RET): Use it.
45769 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45770 Correct save location of integer regs and cr.
45771 (_dl_profile_resolve): Correct cr save location. Delete nops
45772 after bl when SHARED. Reduce cfi size a little by better
45773 placement of cfi directives.
45774 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45775 make a stack frame. Instead use parm save area as a temp.
45776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45777 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45779 Don't make a stack frame for parent, use parm save area.
45780 Increase child stack frame to 112 bytes. Don't save unused reg,
45781 and adjust reg usage. Set up cfi on error recovery and
45782 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45784 (__makecontext): Add dummy nop after jump to exit.
45785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45786 Use correct parm save area and cr save, reduce stack frame.
45787 Correct cfi for possible PSEUDO_RET frame setup.
45788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45789 Branch to local label emitted by PSEUDO_RET rather than
45792 2010-08-12 Andreas Schwab <schwab@redhat.com>
45795 * locale/programs/locale.c (print_assignment): New function.
45796 (show_locale_vars): Use it.
45798 2010-08-11 Ulrich Drepper <drepper@redhat.com>
45800 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45802 (struct statfs64): Likewise.
45803 (_STATFS_F_FLAGS): Define.
45804 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45805 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45806 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45807 (ST_VALID): Define locally.
45808 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45809 __statvfs_getflags, use the provided value.
45810 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45811 __ASSUME_STATFS_F_FLAGS.
45813 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45815 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45816 Add sys/fanotify.h.
45817 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45818 fanotify_mask for GLIBC_2.13.
45819 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45820 fanotify_init and fanotify_mark.
45821 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45822 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45824 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45826 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45827 prlimit64 for GLIBC_2.13.
45828 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45830 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45833 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45834 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45835 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45836 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45838 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45841 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45842 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45844 * nss/Makefile: Add rules to build and run tst-nss-test1.
45845 * shlib-versions: Add entry for libnss_test1.
45846 * nss/nss_test1.c: New file.
45847 * nss/tst-nss-test1.c: New file.
45849 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45850 (__nss_configure_lookup): Set appropriate entry in
45851 __nss_configure_lookup to true.
45852 * nss/nsswitch.h: Define enum with indeces of databases in
45853 databases and __nss_database_custom arrays. Declare
45854 __nss_database_custom.
45855 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45856 to avoid using nscd when custom rules are installed.
45857 * nss/getXXbyYY_r.c: Likewise.
45858 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45860 * nss/nss_files/files-parse.c: Whitespace fixes.
45862 2010-08-09 Ulrich Drepper <drepper@redhat.com>
45865 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45866 * posix/fnmatch_loop.c: Likewise.
45868 2010-07-17 Andi Kleen <ak@linux.intel.com>
45870 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45871 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45872 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45873 * Versions.def [GLIBC_2.13]: Add.
45875 2010-08-06 Ulrich Drepper <drepper@redhat.com>
45877 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45878 Also fail if tpwd after pwuid call is NULL.
45880 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45882 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45883 when converting to ms.
45885 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45887 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45888 EOPNOTSUPP errors with ENOTTY.
45889 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45890 EOPNOTSUPP errors with ENOTTY.
45892 2010-07-31 Ulrich Drepper <drepper@redhat.com>
45894 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45895 Add strcasecmp_l-ssse3.
45896 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45898 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45899 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45900 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45902 2010-07-30 Ulrich Drepper <drepper@redhat.com>
45904 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45906 * string/Makefile (strop-tests): Add strcasecmp.
45907 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45908 strcasecmp_l-nonascii.
45909 (gen-as-const-headers): Add locale-defines.sym.
45910 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45911 * sysdeps/x86_64/strcasecmp.S: New file.
45912 * sysdeps/x86_64/strcasecmp_l.S: New file.
45913 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45914 * sysdeps/x86_64/locale-defines.sym: New file.
45915 * string/test-strcasecmp.c: New file.
45917 * string/test-strcasestr.c: Test both ends of the range of characters.
45918 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45920 2010-07-29 Roland McGrath <roland@redhat.com>
45923 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45925 2010-07-27 Ulrich Drepper <drepper@redhat.com>
45927 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45930 2010-07-27 Andreas Schwab <schwab@redhat.com>
45932 * manual/memory.texi (Malloc Tunable Parameters): Document
45935 2010-07-26 Roland McGrath <roland@redhat.com>
45938 * configure.in (-fgnu89-inline check): Set and substitute
45939 gnu89_inline, not libc_cv_gnu89_inline.
45940 * configure: Regenerated.
45941 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45943 2010-07-26 Ulrich Drepper <drepper@redhat.com>
45945 * string/test-strnlen.c: New file.
45946 * string/Makefile (strop-tests): Add strnlen.
45947 * string/tester.c (test_strnlen): Add a few more test cases.
45948 * string/tst-strlen.c: Better error reporting.
45950 * sysdeps/x86_64/strnlen.S: New file.
45952 2010-07-24 Ulrich Drepper <drepper@redhat.com>
45954 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45955 lower-latency instructions.
45957 2010-07-23 Ulrich Drepper <drepper@redhat.com>
45959 * string/test-strcasestr.c: New file.
45960 * string/test-strstr.c: New file.
45961 * string/Makefile (strop-tests): Add strstr and strcasestr.
45962 * string/str-two-way.h: Don't undefine MAX.
45963 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45965 2010-07-21 Andreas Schwab <schwab@redhat.com>
45967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45968 strcasestr-nonascii.
45969 (CFLAGS-strcasestr-nonascii.c): Define.
45970 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45971 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45972 Remove unused attribute.
45974 2010-07-20 Roland McGrath <roland@redhat.com>
45976 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45977 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45978 ld.so.cache was broken. With it, there is no way to disable dsocaps
45979 like LD_HWCAP_MASK can disable hwcaps.
45981 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45983 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45985 2010-07-16 Ulrich Drepper <drepper@redhat.com>
45987 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45988 call in strcasestr.
45989 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45990 __strcasestr_sse42_nonascii.
45991 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45992 strcasestr-nonascii.c.
45993 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45995 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
45997 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45998 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45999 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46000 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46002 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46004 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46007 2010-07-06 Andreas Schwab <schwab@redhat.com>
46010 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46013 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46015 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46016 _PC_PIPE_BUF using F_GETPIPE_SZ.
46018 2010-07-05 Roland McGrath <roland@redhat.com>
46020 * manual/arith.texi (Rounding Functions): Fix rint description
46021 implicit in round description.
46023 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46025 * elf/Makefile: Fix linking for a few tests to make recent linker
46028 2010-06-30 Andreas Schwab <schwab@redhat.com>
46030 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46031 $(common-objpfx)libc_nonshared.a.
46033 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46035 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46036 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46037 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46038 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46039 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46040 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46041 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46042 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46057 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46058 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46059 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46060 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46061 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46062 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46063 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46064 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46065 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46066 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46067 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46068 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46084 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46086 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46087 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46088 * string/memmove.c (memmove): Renamed to ...
46089 (MEMMOVE): ...this. Default to memmove.
46090 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46091 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46094 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46095 mempcpy-ssse3-back memmove-ssse3-back.
46096 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46097 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46098 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46099 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46100 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46101 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46102 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46103 * sysdeps/x86_64/multiarch/memmove.c: New file.
46104 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46105 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46106 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46107 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46108 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46109 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46111 (index_Fast_Copy_Backward): Define.
46112 (HAS_ARCH_FEATURE): Define.
46113 (HAS_FAST_REP_STRING): Define.
46114 (HAS_FAST_COPY_BACKWARD): Define.
46116 2010-06-21 Andreas Schwab <schwab@redhat.com>
46118 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46119 Restore proper fallback handling.
46121 2010-06-19 Ulrich Drepper <drepper@redhat.com>
46124 * posix/group_member.c (__group_member): Correct checking loop.
46126 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46127 OOM in getpwuid_r correctly. Return error number when the caller
46128 should return, otherwise -1.
46129 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46130 call returning > 0 value.
46131 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46133 2010-06-07 Andreas Schwab <schwab@redhat.com>
46135 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46136 libc_nonshared.a from targets in modules-names.
46138 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46140 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46143 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
46145 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46146 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46147 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46148 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46150 2010-06-02 Andreas Schwab <schwab@redhat.com>
46152 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46154 2010-06-14 Ulrich Drepper <drepper@redhat.com>
46156 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46158 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46159 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46160 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46161 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46162 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46163 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46165 2010-06-14 Roland McGrath <roland@redhat.com>
46167 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46169 2010-06-07 Jakub Jelinek <jakub@redhat.com>
46171 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46172 __REDIRECT followed by __THROW.
46173 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46174 * posix/getopt.h (getopt): Likewise.
46176 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46178 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46179 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46180 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46182 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46183 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46185 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
46187 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46189 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46193 Properly check family and model.
46195 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46197 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46199 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
46201 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46203 2010-05-21 Ulrich Drepper <drepper@redhat.com>
46205 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46208 2010-05-19 Andreas Schwab <schwab@redhat.com>
46210 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46213 2010-05-21 Andreas Schwab <schwab@redhat.com>
46215 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46216 and internal_recvmmsg.
46217 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46218 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46219 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46220 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46222 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46223 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46224 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46226 2010-05-20 Andreas Schwab <schwab@redhat.com>
46228 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46230 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
46232 POWER7 optimizations.
46233 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46234 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46236 2010-05-19 Ulrich Drepper <drepper@redhat.com>
46238 * version.h: Update for 2.13 development version.
46240 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
46242 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46243 exceptions. Return 0.
46245 2010-05-07 Roland McGrath <roland@redhat.com>
46247 * elf/ldconfig.c (main): Add a const.
46249 2010-05-06 Ulrich Drepper <drepper@redhat.com>
46251 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46252 (args_options): Add no-idn option.
46253 (ahosts_keys_int): Add idn_flags to ai_flags.
46254 (parse_option): Handle 'i' option to clear idn_flags.
46256 * malloc/malloc.c (_int_free): Possible race in the most recently
46257 added check. Only act on the data if no current modification
46260 See ChangeLog.17 for earlier changes.