1 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9 2014-06-16 Florian Weimer <fweimer@redhat.com>
12 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
13 non-executed part of the test.
15 2014-06-16 Andreas Schwab <schwab@suse.de>
17 * string/bits/string2.h (strdup, strndup): Update feature guard.
19 2014-06-14 David S. Miller <davem@davemloft.net>
21 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
25 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
26 that was previously under [RESET_PID].
27 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
29 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
30 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
32 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33 (__libc_vfork): New strong alias.
34 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
36 2014-06-14 Andi Kleen <ak@linux.intel.com>
38 * sysdeps/generic/elide.h: New file.
40 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
42 * Makefile (installed-headers): Adjust path of pthread.h header.
44 2014-06-13 Roland McGrath <roland@hack.frob.com>
46 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
47 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
48 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
49 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
51 * nptl/sysdeps/s390/Makefile: Moved ...
52 * sysdeps/s390/nptl/Makefile: ... here.
53 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
54 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
55 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
56 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
57 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
58 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
59 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
60 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
61 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
62 * sysdeps/s390/nptl/pthreaddef.h: ... here.
63 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
64 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
65 * nptl/sysdeps/s390/tls.h: Moved ...
66 * sysdeps/s390/nptl/tls.h: ... here.
68 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
69 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
71 2014-06-13 David S. Miller <davem@davemloft.net>
73 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
74 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
75 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
76 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
77 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
78 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
79 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
80 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
81 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
82 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
83 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
84 Remove RESET_PID cpp guards.
85 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
86 Remove RESET_PID cpp guards.
87 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
89 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
91 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
94 2014-06-13 Andi Kleen <ak@linux.intel.com>
96 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
97 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
98 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
99 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
100 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
101 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
102 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
103 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
104 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
105 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
106 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
107 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
108 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
109 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
110 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
111 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
112 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
113 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
114 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
115 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
117 2014-06-13 Andi Kleen <ak@linux.intel.com>
119 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
120 (pthread_rwlock_rdlock): Add elision.
121 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
122 (pthread_rwlock_wrlock): Add elision.
123 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
124 (pthread_rwlock_trywrlock): Add elision.
125 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
126 (pthread_rwlock_tryrdlock): Add elision.
127 * nptl/pthread_rwlock_unlock.c: Include elide.h.
128 (pthread_rwlock_tryrdlock): Add elision unlock.
129 * nptl/sysdeps/pthread/pthread.h:
130 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
131 (PTHREAD_RWLOCK_INITIALIZER,
132 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
133 Handle new elision field.
134 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
135 * sysdeps/arm/nptl/bits/pthreadtypes.h
136 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
137 * sysdeps/sh/nptl/bits/pthreadtypes.h
138 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
139 * sysdeps/tile/nptl/bits/pthreadtypes.h
140 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
141 * sysdeps/a/nptl/bits/pthreadtypes.h
142 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
143 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
144 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
145 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
146 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
147 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
148 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
149 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
150 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
151 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
152 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
153 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
154 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
155 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
156 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
157 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
158 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
159 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
160 (elision_init): Set try_xbegin to zero when no RTM.
161 * sysdeps/x86/nptl/bits/pthreadtypes.h
162 (pthread_rwlock_t): Change __pad1 to __rwelision.
163 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
165 2014-06-13 Andi Kleen <ak@linux.intel.com>
167 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
168 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
169 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
170 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
172 2014-06-13 Meador Inge <meadori@codesourcery.com>
175 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
176 that the cached result has been set before returning it.
178 2014-06-12 Roland McGrath <roland@hack.frob.com>
180 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
181 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
182 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
183 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
184 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
185 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
187 * nptl/sysdeps/sparc/Makefile: Moved ...
188 * sysdeps/sparc/nptl/Makefile: ... here.
189 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
190 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
191 * nptl/sysdeps/sparc/tls.h: Moved ...
192 * sysdeps/sparc/nptl/tls.h: ... here.
193 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
194 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
195 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
196 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
197 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
198 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
199 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
200 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
201 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
202 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
203 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
204 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
205 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
206 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
207 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
208 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
209 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
210 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
212 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
213 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
215 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
216 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
218 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
219 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
222 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
224 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
225 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
227 * sysdeps/pthread/posix-timer.h: Include <list.h>.
228 (struct list_links): Type removed.
229 (struct thread_node, struct timer_node): Replace struct list_links
230 with struct list_head.
231 (list_unlink_ip): Likewise.
232 * sysdeps/pthread/timer_routines.c
233 (timer_free_list, thread_free_list, thread_active_list): Likewise.
234 (list_append, list_insbefore): Likewise.
235 (list_init): Function removed.
236 (thread_init, init_module): Use INIT_LIST_HEAD instead.
237 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
238 * sysdeps/pthread/Makefile: ... here, new file.
240 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
241 * sysdeps/nptl/Implies: ... here.
242 * sysdeps/unix/sysv/linux/Implies: Add nptl.
243 * nptl/sysdeps/pthread/list.h: Moved ...
244 * include/list.h: ... here.
245 * nptl/sysdeps/pthread/createthread.c: Moved ...
246 * nptl/createthread.c: ... here.
247 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
248 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
249 * nptl/pt-longjmp.c: ... here.
250 * nptl/sysdeps/pthread/Makefile: Moved ...
251 * sysdeps/nptl/Makefile: ... here.
252 * nptl/sysdeps/pthread/Subdirs: Moved ...
253 * sysdeps/nptl/Subdirs: ... here.
254 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
255 * sysdeps/nptl/aio_misc.h: ... here.
256 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
257 * sysdeps/nptl/bits/libc-lock.h: ... here.
258 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
259 * sysdeps/nptl/bits/libc-lockP.h: ... here.
260 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
261 * sysdeps/nptl/bits/stdio-lock.h: ... here.
262 * nptl/sysdeps/pthread/configure: Moved ...
263 * sysdeps/nptl/configure: ... here.
264 * nptl/sysdeps/pthread/configure.ac: Moved ...
265 * sysdeps/nptl/configure.ac: ... here.
266 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
267 * sysdeps/nptl/gai_misc.h: ... here.
268 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
269 * sysdeps/nptl/librt-cancellation.c: ... here.
270 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
271 * sysdeps/nptl/malloc-machine.h: ... here.
272 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
273 * sysdeps/nptl/pthread-functions.h: ... here.
274 * nptl/sysdeps/pthread/pthread.h: Moved ...
275 * sysdeps/nptl/pthread.h: ... here.
276 * nptl/sysdeps/pthread/setxid.h: Moved ...
277 * sysdeps/nptl/setxid.h: ... here.
278 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
279 * sysdeps/nptl/sigfillset.c: ... here.
280 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
281 * sysdeps/nptl/tcb-offsets.h: ... here.
282 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
283 * sysdeps/nptl/tst-mqueue8x.c: ... here.
284 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
285 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
286 * nptl/sysdeps/pthread/allocalim.h: Moved ...
287 * sysdeps/pthread/allocalim.h: ... here.
288 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
289 * sysdeps/pthread/bits/sigthread.h: ... here.
290 * nptl/sysdeps/pthread/flockfile.c: Moved ...
291 * sysdeps/pthread/flockfile.c: ... here.
292 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
293 * sysdeps/pthread/ftrylockfile.c: ... here.
294 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
295 * sysdeps/pthread/funlockfile.c: ... here.
296 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
297 * sysdeps/pthread/posix-timer.h: ... here.
298 * nptl/sysdeps/pthread/timer_create.c: Moved ...
299 * sysdeps/pthread/timer_create.c: ... here.
300 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
301 * sysdeps/pthread/timer_delete.c: ... here.
302 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
303 * sysdeps/pthread/timer_getoverr.c: ... here.
304 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
305 * sysdeps/pthread/timer_gettime.c: ... here.
306 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
307 * sysdeps/pthread/timer_routines.c: ... here.
308 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
309 * sysdeps/pthread/timer_settime.c: ... here.
310 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
311 * sysdeps/pthread/tst-timer.c: ... here.
312 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
313 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
315 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
316 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
318 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
319 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
320 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
321 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
322 Update #include target.
323 * nptl/sysdeps/i386/i686/Makefile: Moved ...
324 * sysdeps/i386/i686/nptl/Makefile: ... here.
325 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
326 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
327 Update #include target.
328 * nptl/sysdeps/i386/i686/tls.h: Moved ...
329 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
330 * nptl/sysdeps/i386/Makefile: Moved ...
331 * sysdeps/i386/nptl/Makefile: ... here.
332 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
333 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
334 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
335 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
336 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
337 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
338 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
339 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
340 * sysdeps/i386/nptl/pthreaddef.h: ... here.
341 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
342 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
343 * nptl/sysdeps/i386/tls.h: Moved ...
344 * sysdeps/i386/nptl/tls.h: ... here.
346 * sysdeps/sh/Makefile [$(subdir) = csu]
347 (gen-as-const-headers): Add tcb-offsets.sym.
348 * nptl/sysdeps/sh/Makefile: File removed.
349 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
350 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
351 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
352 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
353 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
354 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
355 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
356 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
357 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
358 * sysdeps/sh/nptl/pthreaddef.h: ... here.
359 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
360 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
361 * nptl/sysdeps/sh/tls.h: Moved ...
362 * sysdeps/sh/nptl/tls.h: ... here.
363 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
364 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
365 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
366 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
367 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
368 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
369 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
370 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
371 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
372 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
373 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
374 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
375 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
376 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
377 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
378 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
379 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
380 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
381 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
382 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
383 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
384 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
385 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
386 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
387 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
389 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
390 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
392 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
393 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
394 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
395 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
396 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
397 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
398 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
399 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
400 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
401 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
402 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
403 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
404 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
405 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
406 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
407 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
408 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
409 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
410 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
412 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
414 * posix/spawn_faction_addopen.c: Include string.h.
416 2014-06-11 Roland McGrath <roland@hack.frob.com>
418 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
419 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
420 * nptl/sysdeps/x86_64/Makefile: Moved ...
421 * sysdeps/x86_64/nptl/Makefile: ... here.
422 * nptl/sysdeps/x86_64/configure: Moved ...
423 * sysdeps/x86_64/nptl/configure: ... here.
424 * nptl/sysdeps/x86_64/configure.ac: Moved ...
425 * sysdeps/x86_64/nptl/configure.ac: ... here.
426 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
427 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
428 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
429 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
430 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
431 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
432 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
433 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
434 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
435 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
436 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
437 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
438 * nptl/sysdeps/x86_64/tls.h: Moved ...
439 * sysdeps/x86_64/nptl/tls.h: ... here.
440 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
441 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
442 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
443 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
445 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
447 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
451 2014-06-11 Joseph Myers <joseph@codesourcery.com>
453 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
455 [POSIX] (off_t): Likewise.
456 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
457 [POSIX] (S_ISBLK): Require macro.
458 [POSIX] (S_ISCHR): Likewise.
459 [POSIX] (S_ISDIR): Likewise.
460 [POSIX] (S_ISFIFO): Likewise.
461 [POSIX] (S_ISREG): Likewise.
462 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
464 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
466 [POSIX] (time_t): Likewise.
467 [POSIX] (timer_t): Likewise.
469 2014-06-11 Florian Weimer <fweimer@redhat.com>
472 * posix/spawn_int.h (struct __spawn_action): Make the path string
473 non-const to support deallocation.
474 * posix/spawn_faction_addopen.c
475 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
476 * posix/spawn_faction_destroy.c
477 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
478 path in all spawn_do_open actions.
479 * posix/tst-spawn.c (do_test): Exercise the copy operation in
480 posix_spawn_file_actions_addopen.
482 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
484 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
485 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
486 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
487 conditional code always true.
488 (__libc_vfork): New alias.
490 2014-06-11 Roland McGrath <roland@hack.frob.com>
492 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
493 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
495 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
497 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
498 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
500 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
501 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
503 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
504 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
506 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
508 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
509 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
510 multiarch strcmp for PPC64.
511 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
512 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
514 multiarch optimizations.
515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
516 (__libc_ifunc_impl_list): Likewise.
518 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
520 * benchtests/scripts/validate_benchout.py: New script.
521 * benchtests/Makefile (bench-func): Call it.
522 * benchtests/scripts/benchout.schema.json: New file.
524 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
526 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
527 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
528 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
529 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
530 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
531 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
532 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
533 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
534 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
535 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
536 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
537 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
538 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
539 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
540 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
541 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
645 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
646 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
647 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
648 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
649 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
651 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
653 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
654 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
655 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
656 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
657 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
658 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
659 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
660 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
661 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
662 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
663 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
664 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
665 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
667 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
668 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
670 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
671 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
672 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
673 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
675 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
676 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
677 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
678 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
679 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
680 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
681 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
683 2014-06-10 Wilco <wdijkstr@arm.com>
685 * math/test-fenv-return.c: New file.
686 * math/Makefile: Add new test test-fenv-return.
688 2014-06-10 Joseph Myers <joseph@codesourcery.com>
691 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
693 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
694 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
695 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
696 0.0L for an argument of 1.0L.
697 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
699 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
700 value when x - 1 is zero.
701 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
702 * sysdeps/i386/fpu/libm-test-ulps: Update.
703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
705 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
708 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
710 2014-06-09 Roland McGrath <roland@hack.frob.com>
712 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
713 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
715 2014-06-09 Roland McGrath <roland@hack.frob.com>
717 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
718 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
720 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
721 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
723 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
724 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
726 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
727 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
729 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
730 if not already defined.
731 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
732 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
733 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
734 (TLS_INIT_TP): Use it.
735 (TLS_DEFINE_INIT_TP): New macro.
736 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
738 2014-06-09 Joseph Myers <joseph@codesourcery.com>
740 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
742 [POSIX] (IXANY): Likewise.
743 [POSIX] (OLCUC): Likewise.
744 [POSIX || POSIX2008] (CBAUD): Do not allow.
745 [POSIX || POSIX2008] (DEFECHO): Likewise.
746 [POSIX || POSIX2008] (ECHOCTL): Likewise.
747 [POSIX || POSIX2008] (ECHOKE): Likewise.
748 [POSIX || POSIX2008] (ECHOPRT): Likewise.
749 [POSIX || POSIX2008] (EXTA): Likewise.
750 [POSIX || POSIX2008] (EXTB): Likewise.
751 [POSIX || POSIX2008] (FLUSHO): Likewise.
752 [POSIX || POSIX2008] (LOBLK): Likewise.
753 [POSIX || POSIX2008] (PENDIN): Likewise.
754 [POSIX || POSIX2008] (SWTCH): Likewise.
755 [POSIX || POSIX2008] (VDISCARD): Likewise.
756 [POSIX || POSIX2008] (VDSUSP): Likewise.
757 [POSIX || POSIX2008] (VLNEXT): Likewise.
758 [POSIX || POSIX2008] (VREPRINT): Likewise.
759 [POSIX || POSIX2008] (VSTATUS): Likewise.
760 [POSIX || POSIX2008] (VWERASE): Likewise.
761 (B*): Change to B[0123456789]*.
762 * conform/data/time.h-data [POSIX || UNIX98]
763 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
764 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
765 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
766 [POSIX] (tm_*): Do not allow.
768 2014-06-07 Joseph Myers <joseph@codesourcery.com>
770 * Makefile (install): Don't set LANGUAGE.
771 * Makefile.in (install): Likewise.
772 * assert/Makefile (test-assert-ENV): Remove variable.
773 (test-assert-perr-ENV): Likewise.
774 * elf/Makefile (neededtest4-ENV): Likewise.
775 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
776 [$(cross-compiling) = no]: Don't set LANGUAGE.
777 * io/ftwtest-sh (LANG): Remove variable.
778 * libio/Makefile (tst-widetext-ENV): Likewise.
779 * manual/install.texi (Running make install): Don't refer to
780 environment settings for make install.
781 * INSTALL: Regenerated.
782 * nptl/tst-tls6.sh: Don't set LANG.
783 * posix/globtest.sh (LANG): Remove variable.
784 * string/Makefile (tester-ENV): Likewise.
785 (inl-tester-ENV): Likewise.
786 (noinl-tester-ENV): Likewise.
787 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
788 [$(cross-compiling) = no]: Don't set LANGUAGE.
789 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
790 without explicit environment settings.
792 2014-06-06 Roland McGrath <roland@hack.frob.com>
794 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
795 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
796 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
797 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
799 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
801 * crypt/crypt-private.h [DOS]: Add some includes taken from the
802 other files in the crypt directory.
803 * crypt/crypt.c: Remove duplicate includes.
804 * crypt/crypt-entry.c: Likewise.
805 * crypt/crypt_util.c: Likewise.
807 2014-06-06 Joseph Myers <joseph@codesourcery.com>
809 * Makeconfig (run-program-env): New variable.
810 (run-program-prefix-before-env): Likewise.
811 (run-program-prefix-after-env): Likewise.
812 (run-program-prefix): Define in terms of new variables.
813 (built-program-cmd-before-env): New variable.
814 (built-program-cmd-after-env): Likewise.
815 (built-program-cmd): Define in terms of new variables.
816 (test-program-prefix-before-env): New variable.
817 (test-program-prefix-after-env): Likewise.
818 (test-program-prefix): Define in terms of new variables.
819 (test-program-cmd-before-env): New variable.
820 (test-program-cmd-after-env): Likewise.
821 (test-program-cmd): Define in terms of new variables.
822 * Rules (make-test-out): Use $(run-program-env).
823 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
824 (help): Do not mention environment variables. Mention
825 --timeoutfactor option.
826 (timeoutfactor): New variable.
827 (blacklist_exports): Remove function.
828 (exports): Remove variable.
829 (command): Do not include ${exports}.
830 * manual/install.texi (Configuring and compiling): Do not mention
831 test wrappers preserving environment variables. Mention that last
832 assignment to a variable must take precedence.
833 * INSTALL: Regenerated.
834 * benchtests/Makefile (run-bench): Use $(run-program-env).
835 * catgets/Makefile ($(objpfx)test1.cat): Use
836 $(built-program-cmd-before-env), $(run-program-env) and
837 $(built-program-cmd-after-env).
838 ($(objpfx)test2.cat): Do not specify environment variables
840 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
841 $(run-program-env) and $(built-program-cmd-after-env).
842 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
843 $(run-program-env) and $(test-program-cmd-after-env).
844 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
846 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
847 run_program_env and test_program_cmd_after_env arguments.
848 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
849 * elf/tst-pathopt.sh: Use run_program_env argument.
850 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
851 $(test-wrapper-env) and $(run-program-env).
852 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
853 run_program_env arguments.
854 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
855 * intl/Makefile ($(objpfx)tst-gettext.out): Use
856 $(test-program-prefix-before-env), $(run-program-env) and
857 $(test-program-prefix-after-env).
858 ($(objpfx)tst-gettext2.out): Likewise.
859 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
860 run_program_env and test_program_prefix_after_env arguments.
861 * intl/tst-gettext2.sh: Likewise.
862 * intl/tst-gettext4.sh: Do not set environment variables
864 * intl/tst-gettext6.sh: Likewise.
865 * intl/tst-translit.sh: Likewise.
866 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
867 $(test-program-prefix-before-env), $(run-program-env) and
868 $(test-program-prefix-after-env).
869 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
870 run_program_env and test_program_prefix_after_env arguments.
871 * math/Makefile (run-regen-ulps): Use $(run-program-env).
872 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
873 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
874 explicitly with each use of ${test_wrapper_env}.
875 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
876 $(test-program-prefix-before-env), $(run-program-env) and
877 $(test-program-prefix-after-env).
878 * posix/tst-getconf.sh: Do not set environment variables
880 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
881 run_program_env and test_program_prefix_after_env arguments.
882 * stdio-common/tst-printf.sh: Do not set environment variables
884 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
885 $(test-program-prefix-before-env), $(run-program-env) and
886 $(test-program-prefix-after-env).
887 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
888 run_program_env and test_program_prefix_after_env arguments.
889 Split $test calls into $test_pre and $test.
890 * timezone/Makefile (build-testdata): Use
891 $(built-program-cmd-before-env), $(run-program-env) and
892 $(built-program-cmd-after-env).
894 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
896 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
897 strlen for non SHARED builds.
899 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
901 * nptl/allocatestack.c (check_list): Inlined function...
902 (__reclaim_stacks): ... here.
904 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
907 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
910 2014-06-05 Joseph Myers <joseph@codesourcery.com>
912 * Rules (make-test-out): Include
913 LOCPATH=$(common-objpfx)localedata in default environment.
914 * debug/Makefile (tst-chk1-ENV): Remove variable.
915 (tst-chk2-ENV): Likewise.
916 (tst-chk3-ENV): Likewise.
917 (tst-chk4-ENV): Likewise.
918 (tst-chk5-ENV): Likewise.
919 (tst-chk6-ENV): Likewise.
920 (tst-lfschk1-ENV): Likewise.
921 (tst-lfschk2-ENV): Likewise.
922 (tst-lfschk3-ENV): Likewise.
923 (tst-lfschk4-ENV): Likewise.
924 (tst-lfschk5-ENV): Likewise.
925 (tst-lfschk6-ENV): Likewise.
926 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
927 (tst-iconv7-ENV): Likewise.
928 * intl/Makefile (LOCPATH-ENV): Likewise.
929 (tst-codeset-ENV): Likewise.
930 (tst-gettext3-ENV): Likewise.
931 (tst-gettext5-ENV): Likewise.
932 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
933 (tst-fopenloc-ENV): Likewise.
934 (tst-fgetws-ENV): Remove variable.
935 (tst-ungetwc1-ENV): Likewise.
936 (tst-ungetwc2-ENV): Likewise.
937 (bug-ungetwc2-ENV): Likewise.
938 (tst-swscanf-ENV): Likewise.
939 (bug-ftell-ENV): Likewise.
940 (tst-fgetwc-ENV): Likewise.
941 (tst-fseek-ENV): Likewise.
942 (tst-ftell-partial-wide-ENV): Likewise.
943 (tst-ftell-active-handler-ENV): Likewise.
944 (tst-ftell-append-ENV): Likewise.
945 * posix/Makefile (tst-fnmatch-ENV): Likewise.
946 (tst-regexloc-ENV): Likewise.
947 (bug-regex1-ENV): Likewise.
948 (tst-regex-ENV): Likewise.
949 (tst-regex2-ENV): Likewise.
950 (bug-regex5-ENV): Likewise.
951 (bug-regex6-ENV): Likewise.
952 (bug-regex17-ENV): Likewise.
953 (bug-regex18-ENV): Likewise.
954 (bug-regex19-ENV): Likewise.
955 (bug-regex20-ENV): Likewise.
956 (bug-regex22-ENV): Likewise.
957 (bug-regex23-ENV): Likewise.
958 (bug-regex25-ENV): Likewise.
959 (bug-regex26-ENV): Likewise.
960 (bug-regex30-ENV): Likewise.
961 (bug-regex32-ENV): Likewise.
962 (bug-regex33-ENV): Likewise.
963 (bug-regex34-ENV): Likewise.
964 (bug-regex35-ENV): Likewise.
965 (tst-rxspencer-ENV): Likewise.
966 (tst-rxspencer-no-utf8-ENV): Likewise.
967 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
968 (tst-sscanf-ENV): Likewise.
969 (tst-swprintf-ENV): Likewise.
970 (tst-swscanf-ENV): Likewise.
971 (test-vfprintf-ENV): Likewise.
972 (scanf13-ENV): Likewise.
973 (bug14-ENV): Likewise.
974 (tst-grouping-ENV): Likewise.
975 * stdlib/Makefile (tst-strtod-ENV): Likewise.
976 (tst-strtod3-ENV): Likewise.
977 (tst-strtod4-ENV): Likewise.
978 (tst-strtod5-ENV): Likewise.
979 (testmb2-ENV): Likewise./
980 * string/Makefile (tst-strxfrm-ENV): Likewise.
981 (tst-strxfrm2-ENV): Likewise.
982 (bug-strcoll1-ENV): Likewise.
983 (test-strcasecmp-ENV): Likewise.
984 (test-strncasecmp-ENV): Likewise.
985 * time/Makefile (tst-strptime-ENV): Likewise.
986 (tst-ftime_l-ENV): Likewise.
987 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
988 (tst-mbrtowc-ENV): Likewise.
989 (tst-wcrtomb-ENV): Likewise.
990 (tst-mbrtowc2-ENV): Likewise.
991 (tst-c16c32-1-ENV): Likewise.
992 (tst-mbsnrtowcs-ENV): Likewise.
994 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
996 * manual/resource.texi (How to get information about the memory
997 subsystem?): Fix typo.
998 Reported by Peon de la Parra Ivan <peon@keba.com>
1000 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1003 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1004 (pthread_spin_lock): Branch out of spin loop to proper location.
1005 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1006 (pthread_spin_lock): Likewise.
1008 * nptl/tst-spin4.c: New test.
1009 * nptl/Makefile (tests): Add tst-spin4.
1011 2014-06-03 Andreas Schwab <schwab@suse.de>
1014 * resolv/res_send.c (send_dg): Reload file descriptor after
1017 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1019 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1021 2014-06-03 Richard Henderson <rth@redhat.com>
1023 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1024 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1025 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1026 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1027 in the SAVE_PID block.
1028 (__libc_vfork): New alias.
1029 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1031 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1032 child in registers, not on the stack. Remove RESET_PID conditionals.
1033 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1035 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1037 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1039 2014-06-03 Wilco <wdijkstr@arm.com>
1041 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1042 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1043 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1044 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1045 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1048 2014-06-03 Wilco <wdijkstr@arm.com>
1050 * sysdeps/aarch64/fpu/math_private.h
1051 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1052 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1053 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1054 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1057 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1059 * crypt/crypt-private.h: Include ufc-crypt.h.
1060 (__b64_from_24bit): Declare extern.
1061 * crypt/crypt_util.c(__b64_from_24bit): New function.
1062 (b64t): New static const variable.
1063 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1064 (b64t): Remove variable.
1065 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1066 * crypt/sha256-crypt.c: Include crypt-private.h.
1067 (b64t): Remove variable.
1068 (__sha256_crypt_r): Remove b64_from_24bit and replace
1069 with __b64_from_24bit.
1070 * crypt/sha512-crypt.c: Likewise.
1072 2014-06-02 Roland McGrath <roland@hack.frob.com>
1074 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1075 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1076 Label the code __libc_vfork rather than __vfork.
1077 [!NOT_IN_libc] (vfork): Define as weak alias.
1078 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1079 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1080 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1082 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1084 * malloc/malloc.c (malloc_info): Fix format specifier for
1087 2014-06-02 Wilco <wdijkstr@arm.com>
1089 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1092 2014-06-02 Wilco <wdijkstr@arm.com>
1095 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1096 Rewrite to reduce FPCR/FPSR accesses.
1098 2014-06-01 David S. Miller <davem@davemloft.net>
1100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1102 2014-05-31 David S. Miller <davem@davemloft.net>
1104 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1105 to occur in round to nearest mode when |x| >= 2.0
1107 2014-05-30 Richard Henderson <rth@twiddle.net>
1109 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1110 (PSEUDO_RET_NOERRNO): Remove.
1111 (ret): Don't redefine.
1112 (ret_NOERRNO): Define in terms of ret.
1113 (ret_ERRVAL): Likewise.
1115 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1116 use of PSEUDO_RET; perform the error check directly.
1118 2014-05-30 Marko Myllynen <myllynen@redhat.com>
1120 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1123 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1125 * malloc/malloc (malloc_info): Fix formatting.
1127 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1128 Roland McGrath <roland@hack.frob.com>
1130 * malloc/malloc (malloc_info): Also print mmapped statistics.
1132 2014-05-30 Roland McGrath <roland@hack.frob.com>
1134 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1135 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1137 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
1139 * malloc/malloc.c (malloc_info): Inline mi_arena.
1141 2014-05-29 Richard Henderson <rth@twiddle.net>
1143 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1144 Remove comma before expanding ASM_ARGS_##nr.
1145 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1146 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1148 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1149 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1150 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1151 (ASM_ARGS_1): Add leading comma.
1153 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1154 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1155 to __errno_location.
1156 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1157 Remove the expected plt for __errno_location.
1159 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1160 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1163 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1164 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1165 it and break it down.
1166 (DOCARGS_0, DOCARGS_1): Do nothing.
1167 (DOCARGS_2): Update to store into the new stack frame.
1168 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1169 (UNDOCARGS_1): Update to restore from the new stack frame.
1170 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1171 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1173 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1174 (SINGLE_THREAD_P): New parameter for result regno.
1175 (PSEUDO): Update to match; use cbz instead of beq.
1177 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1178 Use ENTRY to define the _nocancel entry point. Share the syscall
1179 and syscall error check paths with the cancel path.
1182 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1183 whitespace; tabs before and after asm mnemonics.
1185 2014-05-29 Eric Wong <normalperson@yhbt.net>
1188 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1189 Call fstat64 or stat64 internally, depending on arguments passed.
1190 Replace stat buffer argument with file descriptor argument.
1191 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1192 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1193 Pass fd to __internal_statvfs instead of calling fstat64.
1194 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1195 Pass fd to __internal_statvfs64 instead of calling fstat64.
1196 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1197 Pass -1 to __internal_statvfs instead of calling stat64.
1198 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1199 Pass -1 to __internal_statvfs64 instead of calling stat64.
1201 2014-05-28 Roland McGrath <roland@hack.frob.com>
1203 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1204 that was previously under [RESET_PID].
1205 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1207 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1208 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1210 2014-05-27 Roland McGrath <roland@hack.frob.com>
1212 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1214 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1215 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1217 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
1219 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1221 2014-05-27 Andreas Schwab <schwab@suse.de>
1223 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1225 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1226 * elf/rtld.c (init_tls, dl_main): Likewise.
1227 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1228 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1229 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1230 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1231 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1232 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1233 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1234 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1235 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1236 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1237 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1238 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1239 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1240 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1241 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1242 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1243 * sysdeps/generic/tls.h: Update description.
1245 2014-05-27 Will Newton <will.newton@linaro.org>
1248 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1249 and restore r2 rather than just restoring.
1251 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1254 * libio/tst-ftell-append.c: New test case.
1255 * libio/Makefile (tests): Add test case.
1256 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1258 * libio/wfileops.c (do_ftell_wide): Likewise.
1260 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1264 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1268 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1269 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1270 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1271 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1272 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1273 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1274 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1277 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1280 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1281 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1282 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1283 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1284 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1286 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1287 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1289 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1291 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1293 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1294 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1295 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1297 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1298 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1299 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1300 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1302 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1305 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1308 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1311 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1315 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1318 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1323 conditional [RESET_PID].
1324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1325 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1327 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1332 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1333 (__libc_vfork): New strong alias.
1334 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1336 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1341 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1342 (__libc_vfork): New strong alias.
1343 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1345 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1348 2014-05-26 Carlos O'Donell <carlos@redhat.com>
1350 * malloc/malloc.c (mi_arena): New function.
1351 (malloc_info): Remove nested function mi_arena. Call non-nosted
1354 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1356 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1358 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1359 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1360 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1361 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1362 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1363 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1364 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1366 2014-05-26 Andreas Schwab <schwab@suse.de>
1369 * locale/programs/repertoire.c (repertoire_read): Add slash
1370 between I18NPATH element and file name.
1371 * locale/programs/locfile.c (locfile_read): Likewise.
1373 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1375 * nptl/pthread_mutexattr_settype.c
1376 (__pthread_mutexattr_settype):
1377 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1379 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1381 * nptl/tst-mutex5 (do_test):
1382 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1384 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1386 * benchtests/README: Document 'init' directive.
1387 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1389 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1390 (parse_file): Recognize 'init' directive.
1392 2014-05-26 Kyle McMartin <kyle@redhat.com>
1395 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1396 alignment of struct pthread.
1398 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1401 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1402 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1403 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1404 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1406 2014-05-25 Richard Henderson <rth@twiddle.net>
1408 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1409 (SINGLE_THREAD_P_PIC): Remove.
1410 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1411 (SINGLE_THREAD_P_PIC): Remove.
1413 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1414 branch to syscall error ...
1416 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1417 from __local_syscall_error to .Lsyscall_error.
1418 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1419 (SYSCALL_ERROR): Update label name.
1421 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1422 Do not use DOARGS/UNDOARGS.
1423 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1424 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1425 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1426 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1427 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1429 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1432 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1433 define if !NOT_IN_libc.
1434 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1435 define with non-default symbol versions.
1437 2014-05-23 Richard Henderson <rth@twiddle.net>
1439 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1440 (vfork, __vfork): Define via compat_symbol.
1442 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1443 [!HAVE_IFUNC] (vfork_compat): Remove.
1444 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1446 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1449 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1450 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1453 2014-05-23 Richard Henderson <rth@twiddle.net>
1455 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1456 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1457 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1458 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1460 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1461 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1462 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1463 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1464 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1465 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1466 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1467 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1468 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1469 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1470 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1471 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1472 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1473 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1474 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1475 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1476 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1477 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1478 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1479 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1480 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1481 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1482 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1483 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1484 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1485 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1486 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1487 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1488 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1489 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1490 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1491 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1492 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1493 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1494 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1495 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1496 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1497 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1498 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1499 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1500 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1501 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1502 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1503 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1504 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1505 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1506 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1507 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1508 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1509 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1510 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1511 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1512 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1513 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1514 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1515 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1517 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1518 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1519 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1520 before exiting on error.
1521 (__libc_vfork): New strong alias.
1522 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1523 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1525 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1526 that was previously under [RESET_PID].
1527 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1529 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1531 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1534 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1535 value when x - 1 is zero.
1536 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1537 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1538 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1539 0.0L for an argument of 1.0L.
1540 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1542 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1543 value when x - 1 is zero.
1544 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1545 * sysdeps/i386/fpu/libm-test-ulps: Update.
1546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1548 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1550 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1551 alphasort and versionsort.
1553 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1555 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1557 [copysignf]: Likewise.
1559 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1561 * crypt/md5-crypt.c: Fix formatting.
1563 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1565 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1566 (b64_from_24bit): New function.
1568 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1570 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1571 libc_hidden_builtin_def to ifunc.
1572 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1573 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1575 2014-05-21 Roland McGrath <roland@hack.frob.com>
1577 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1578 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1580 2014-05-21 Joseph Myers <joseph@codesourcery.com>
1582 * nscd/Depend (linuxthreads): Remove.
1584 * resolv/Depend (linuxthreads): Remove.
1585 * rt/Depend (linuxthreads): Remove.
1587 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1588 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1589 $(common-objpfx)elf/.
1590 (link-libc-before-gnulib): Likewise.
1591 (elfobjdir): Remove variable.
1592 * Makefile (install): Use $(elf-objpfx) instead of
1593 $(common-objpfx)elf/.
1594 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1596 (link-libc-deps): Likewise.
1597 ($(common-objpfx)libc.so): Likewise.
1598 ($(common-objpfx)linkobj/libc.so): Likewise.
1599 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1600 instead of $(common-objpfx)elf/.
1601 (symbolic-link-list): Likewise.
1602 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1603 [$(cross-compiling) = no]: Likewise.
1604 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1606 (static-gnulib-arch): Likewise.
1607 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1608 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1609 $(common-objpfx)elf/.
1611 2014-05-21 Richard Henderson <rth@redhat.com>
1613 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1614 (SINGLE_THREAD_P): Use the correct width load. Fold
1615 into the ldr offset.
1617 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1618 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1620 2014-05-20 Joseph Myers <joseph@codesourcery.com>
1622 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1623 (libgcc_s_resume): Use __attribute_used__.
1624 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1627 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1629 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1630 optimization when used with float constants.
1632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1634 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1637 * locale/nl_langinfo_l.c: Make direct reference to every
1638 _nl_current_CATEGORY symbol.
1639 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1640 (tests-static): Add tst-langinfo-static.
1641 (tests-special): Add tst-langinfo-static.out.
1642 ($(objpfx)tst-langinfo.out): Redirect output.
1643 ($(objpfx)tst-langinfo-static.out): New.
1644 * localedata/tst-langinfo.sh: Send output to stdout.
1645 * localedata/tst-langinfo-static.c: New file.
1648 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1649 when the shift amount is modulo the limb size.
1651 2014-05-20 Richard Henderson <rth@redhat.com>
1654 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1655 Change type of sa_flags from unsigned int to int.
1658 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1660 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1662 2014-05-20 Will Newton <will.newton@linaro.org>
1664 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1665 Test the return value of the system call in the nocancel case.
1667 2014-05-20 Will Newton <will.newton@linaro.org>
1668 Yvan Roux <yvan.roux@linaro.org>
1670 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1671 #include of asm/ptrace.h.
1672 (PTRACE_GET_THREAD_AREA): Remove #undef.
1673 (PTRACE_GETHBPREGS): Likewise.
1674 (PTRACE_SETHBPREGS): Likewise.
1675 (struct user_regs_struct): New structure.
1676 (struct user_fpsimd_struct): New structure.
1677 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1678 #include of asm/ptrace.h and second #include of sys/user.h.
1679 (PTRACE_GET_THREAD_AREA): Remove #undef.
1680 (PTRACE_GETHBPREGS): Likewise.
1681 (PTRACE_SETHBPREGS): Likewise.
1682 (ELF_NGREG): Use new struct user_regs_struct.
1683 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1685 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1687 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1688 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1690 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1693 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1694 membar to avoid block loads/stores to overlap previous stores.
1696 2014-05-17 Richard Henderson <rth@redhat.com>
1698 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1699 Create the __##syscall_name##_nocancel entry point.
1700 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1701 Remove; let the sysdep-cancel.h code create it.
1703 2014-05-17 David S. Miller <davem@davemloft.net>
1705 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1706 Protect with __USE_GNU.
1707 (TIOCSET_TEMPT): Likewise.
1708 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1709 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1710 these are already provided in bits/ioctl-types.h
1712 2014-05-16 Roland McGrath <roland@hack.frob.com>
1714 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1715 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1717 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1718 Use wait4 regardless of [__NR_waitpid].
1720 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1723 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1724 (_FP_NANSIGN_Q): Set the quiet bit.
1726 2014-05-16 Joseph Myers <joseph@codesourcery.com>
1728 * benchtests/Makefile
1729 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1730 not $(common-objpfx)math/libm.so.
1731 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1732 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1733 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1734 $(common-objpfx)dlfcn/libdl.so.
1735 ($(objpfx)tst-audit8): Depend on $(libm), not
1736 $(common-objpfx)math/libm.so.
1737 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1738 not $(common-objpfx)dlfcn/libdl.so.
1740 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1741 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1742 [$(build-shared) = yes].
1743 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1744 $(common-objpfx)nptl/libpthread.so.
1745 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1746 $(common-objpfx)math/libm.so$(libm.so-version) or
1747 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1748 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1749 $(common-objpfx)dlfcn/libdl.so.
1750 * setjmp/Makefile (link-libm): Remove variable.
1751 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1752 * stdio-common/Makefile (link-libm): Remove variable.
1753 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1754 * stdlib/Makefile (link-libm): Remove variable.
1755 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1756 ($(objpfx)tst-strtod-round): Likewise.
1757 ($(objpfx)tst-tininess): Likewise.
1758 ($(objpfx)tst-strtod-underflow): Likewise.
1759 ($(objpfx)tst-strtod6): Likewise.
1760 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1761 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1762 $(common-objpfx)dlfcn/libdl.so.
1764 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1766 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1767 BSD terminal modes definitions.
1769 2014-05-16 Roland McGrath <roland@hack.frob.com>
1771 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1772 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1774 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1775 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1776 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1777 Don't do #include_next.
1778 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1779 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1780 Don't do #include_next.
1781 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1782 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1783 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1784 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1786 2014-05-16 Allan McRae <allan@archlinux.org>
1788 * po/sv.po: Update Swedish translation from translation project.
1790 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1793 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1796 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1797 errno if the TIOCGPTN ioctl fails with an error different than
1799 * login/tst-ptsname.c: New file.
1800 * login/Makefile (tests): Add tst-ptsname.
1803 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1806 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1809 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1810 herrno to return EAI_AGAIN.
1812 2014-05-14 Roland McGrath <roland@hack.frob.com>
1814 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1815 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1816 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1817 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1818 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1819 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1820 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1821 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1822 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1823 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1824 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1825 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1826 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1827 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1828 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1829 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1830 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1831 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1832 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1833 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1834 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1835 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1836 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1837 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1838 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1839 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1840 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1841 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1842 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1843 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1845 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1847 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1850 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1852 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1854 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1856 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1858 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1860 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1862 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1864 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1866 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1868 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1870 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1872 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1874 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1876 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1879 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1881 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1883 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1885 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1887 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1889 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1891 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1893 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1895 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1897 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1900 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1902 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1904 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1905 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1906 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1907 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1908 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1909 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1910 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1911 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1912 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1913 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1914 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1915 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1916 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1917 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1918 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1919 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1920 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1921 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1922 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1923 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1924 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1925 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1926 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1927 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1928 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1929 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1930 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1931 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1932 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1933 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1934 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1936 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1937 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1939 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1940 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1941 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1942 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1943 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1944 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1946 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1947 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1949 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1950 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1952 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1953 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1955 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1956 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1957 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1958 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1960 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1961 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1962 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1963 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1964 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1965 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1966 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1967 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1969 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1970 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1972 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1974 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1975 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1976 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1977 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1978 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1980 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1982 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1984 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1985 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1986 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1987 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1988 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1989 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1991 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1992 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1994 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1995 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1997 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1998 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2000 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2001 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2002 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2003 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2005 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2006 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2007 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2008 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2009 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2010 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2011 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2012 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2014 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2015 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2017 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2019 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2020 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2021 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2022 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2023 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2025 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2027 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2029 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2030 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2031 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2032 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2033 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2034 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2035 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2036 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2037 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2038 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2040 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2041 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2043 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2044 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2046 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2047 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2049 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2050 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2051 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2052 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2053 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2054 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2056 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2057 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2058 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2059 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2060 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2061 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2062 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2063 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2065 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2066 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2068 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2070 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2071 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2072 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2073 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2074 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2076 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2078 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2080 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2081 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2082 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2083 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2084 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2085 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2086 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2087 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2088 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2089 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2090 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2092 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2093 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2095 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2096 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2098 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2099 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2100 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2101 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2102 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2103 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2104 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2105 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2106 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2107 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2108 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2109 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2110 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2111 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2112 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2113 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2114 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2115 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2117 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2118 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2119 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2120 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2122 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2123 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2124 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2125 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2126 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2127 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2128 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2129 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2131 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2132 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2134 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2135 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2136 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2137 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2138 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2139 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2140 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2141 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2142 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2143 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2144 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2145 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2146 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2147 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2148 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2149 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2150 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2152 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2153 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2154 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2155 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2156 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2158 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2159 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2160 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2161 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2162 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2163 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2164 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2165 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2166 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2167 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2169 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2170 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2172 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2173 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2174 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2175 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2176 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2177 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2178 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2179 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2180 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2181 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2182 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2183 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2184 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2185 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2186 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2188 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2190 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2192 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2194 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2202 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2204 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2206 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2207 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2208 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2209 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2210 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2211 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2212 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2213 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2214 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2215 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2216 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2217 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2218 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2219 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2220 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
2222 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2223 that was previously under [RESET_PID].
2224 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2225 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2226 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2228 * sysdeps/i386/nptl/Implies: New file.
2229 * sysdeps/x86_64/nptl/Implies: New file.
2230 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2231 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2232 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2233 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2235 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2236 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2237 (__libc_vfork): New strong alias.
2238 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2239 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2241 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2242 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2243 (__libc_vfork): New strong alias.
2244 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2245 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2247 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2248 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2249 (__libc_vfork): New strong alias.
2250 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2251 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2252 * nptl/pt-vfork.c: New file.
2253 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2254 (libpthread: GLIBC_2.20): New version set (empty).
2256 2014-05-14 Will Newton <will.newton@linaro.org>
2258 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2261 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2264 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2265 arguments with exponent 65 or above.
2266 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2267 arguments 0x1p113L or above.
2268 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2269 to arguments 0x1p107L or above.
2270 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2271 positive arguments with exponent 65 or above.
2272 * math/auto-libm-test-in: Add more tests of log1p.
2273 * math/auto-libm-test-out: Regenerated.
2276 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2277 non-finite arguments is +0.
2278 * math/s_cacosf.c (__cacosf): Likewise.
2279 * math/s_cacosl.c (__cacosl): Likewise.
2280 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2281 * sysdeps/i386/fpu/libm-test-ulps: Update.
2282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2285 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2287 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2288 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2289 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2290 for explicit high bit of mantissa when testing for argument equal
2292 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2293 * sysdeps/i386/fpu/libm-test-ulps: Update.
2294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2297 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2298 (__erf): Scale by 16 instead of 8 in potentially underflowing
2299 case. Ensure exception if result actually underflows.
2300 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2301 (__erff): Scale by 16 instead of 8 in potentially underflowing
2302 case. Ensure exception if result actually underflows.
2303 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2304 (efx8): Remove variable.
2305 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2306 case. Ensure exception if result actually underflows.
2307 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2308 (efx8): Remove variable.
2309 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2310 case. Ensure exception if result actually underflows.
2311 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2312 (efx8): Remove variable.
2313 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2314 case. Ensure exception if result actually underflows.
2315 * math/auto-libm-test-in: Add more tests of erf.
2316 * math/auto-libm-test-out: Regenerated.
2318 2014-05-14 Andreas Schwab <schwab@suse.de>
2320 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2321 Remove code conditionalized on USE___THREAD.
2323 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2324 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2327 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2329 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2330 Define unconditionally.
2331 (__ASSUME_O_CLOEXEC): Likewise.
2332 (__ASSUME_SOCK_CLOEXEC): Likewise.
2333 (__ASSUME_IN_NONBLOCK): Likewise.
2334 (__ASSUME_PIPE2): Likewise.
2335 (__ASSUME_EVENTFD2): Likewise.
2336 (__ASSUME_SIGNALFD4): Likewise.
2337 (__ASSUME_DUP3): Likewise.
2338 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2339 (__ASSUME_DUP3): Do not define.
2340 (__ASSUME_EVENTFD2): Likewise.
2341 (__ASSUME_IN_NONBLOCK): Likewise.
2342 (__ASSUME_O_CLOEXEC): Likewise.
2343 (__ASSUME_PIPE2): Likewise.
2344 (__ASSUME_SIGNALFD4): Likewise.
2345 (__ASSUME_SOCK_CLOEXEC): Likewise.
2346 (__ASSUME_UTIMES): Undefine.
2347 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2348 (__ASSUME_UTIMES): Do not define.
2349 (__ASSUME_O_CLOEXEC): Likewise.
2350 (__ASSUME_SOCK_CLOEXEC): Likewise.
2351 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2352 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2354 (__ASSUME_PIPE2): Likewise.
2355 (__ASSUME_EVENTFD2): Likewise.
2356 (__ASSUME_SIGNALFD4): Likewise.
2357 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2358 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2360 (__ASSUME_EVENTFD2): Likewise.
2361 (__ASSUME_SIGNALFD4): Likewise.
2362 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2363 (__ASSUME_32BITUIDS): Likewise.
2364 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2365 (__ASSUME_IPC64): Likewise.
2366 (__ASSUME_ST_INO_64_BIT): Likewise.
2367 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2368 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2369 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2370 (__ASSUME_UTIMES): Do not define.
2371 (__ASSUME_PSELECT): Likewise.
2372 (__ASSUME_PPOLL): Likewise.
2373 (__ASSUME_O_CLOEXEC): Likewise.
2374 (__ASSUME_SOCK_CLOEXEC): Likewise.
2375 (__ASSUME_IN_NONBLOCK): Likewise.
2376 (__ASSUME_PIPE2): Likewise.
2377 (__ASSUME_EVENTFD2): Likewise.
2378 (__ASSUME_SIGNALFD4): Likewise.
2379 (__ASSUME_DUP3): Likewise.
2380 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2381 (__ASSUME_UTIMES): Likewise.
2382 (__ASSUME_O_CLOEXEC): Likewise.
2383 (__ASSUME_SOCK_CLOEXEC): Likewise.
2384 (__ASSUME_IN_NONBLOCK): Likewise.
2385 (__ASSUME_PIPE2): Likewise.
2386 (__ASSUME_EVENTFD2): Likewise.
2387 (__ASSUME_SIGNALFD4): Likewise.
2388 (__ASSUME_DUP3): Likewise.
2389 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2390 (__ASSUME_UTIMES): Likewise.
2391 (__ASSUME_O_CLOEXEC): Likewise.
2392 (__ASSUME_SOCK_CLOEXEC): Likewise.
2393 (__ASSUME_IN_NONBLOCK): Likewise.
2394 (__ASSUME_PIPE2): Likewise.
2395 (__ASSUME_EVENTFD2): Likewise.
2396 (__ASSUME_SIGNALFD4): Likewise.
2397 (__ASSUME_DUP3): Likewise.
2398 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2400 (__ASSUME_UTIMES): Likewise.
2401 (__ASSUME_EVENTFD2): Likewise.
2402 (__ASSUME_SIGNALFD4): Likewise.
2403 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2404 (__ASSUME_O_CLOEXEC): Likewise.
2405 (__ASSUME_SOCK_CLOEXEC): Likewise.
2406 (__ASSUME_IN_NONBLOCK): Likewise.
2407 (__ASSUME_PIPE2): Likewise.
2408 (__ASSUME_EVENTFD2): Likewise.
2409 (__ASSUME_SIGNALFD4): Likewise.
2410 (__ASSUME_DUP3): Likewise.
2411 (__ASSUME_UTIMES): Undefine.
2413 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2414 feclearexcept. Remove symbol versioning code.
2415 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2416 symbol versioning code.
2417 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2418 symbol versioning code.
2419 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2420 feupdateenv. Remove symbol versioning code.
2421 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2422 fegetexceptflag. Remove symbol versioning code.
2423 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2424 fesetexceptflag. Remove symbol versioning code.
2425 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2426 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2427 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2428 (__posix_fadvise64_l32): Remove prototype.
2429 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2432 2014-05-13 Roland McGrath <roland@hack.frob.com>
2434 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2435 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2436 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2437 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2439 2014-05-13 Sami Kerola <kerolasa@iki.fi>
2441 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2442 current working directory
2444 2014-05-13 Roland McGrath <roland@hack.frob.com>
2446 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2447 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2448 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2449 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2450 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2451 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2452 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2453 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2454 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2455 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2456 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2457 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2458 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2459 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2460 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2461 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2462 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2463 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2464 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2465 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2466 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2467 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2468 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2469 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2470 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2471 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2472 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2473 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2474 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2475 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2476 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2477 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2478 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2479 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2480 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2481 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2482 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2483 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2484 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2485 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2486 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2487 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2489 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2490 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2492 * sysdeps/unix/sysv/linux/arm/Makefile
2493 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2494 Add rt-aeabi_unwind_cpp_pr1.
2495 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2496 Add nptl-aeabi_unwind_cpp_pr1.
2497 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2498 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2499 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2500 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2501 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2502 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2504 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2505 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2506 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2507 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2509 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2510 Deconditionalize the code that was previously under [RESET_PID].
2511 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2513 * sysdeps/generic/exit-thread.h: New file.
2514 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2515 * include/unistd.h (__exit_thread): Remove declaration.
2516 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2517 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2518 * csu/libc-start.c: Include <exit-thread.h>.
2519 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2520 * nptl/pthread_create.c: Include <exit-thread.h>.
2521 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2522 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2523 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2524 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2525 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2526 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2527 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2528 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2529 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2530 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2531 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2532 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2533 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2534 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2535 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2536 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2537 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2539 2014-05-13 Andreas Schwab <schwab@suse.de>
2541 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2543 2014-05-12 Joseph Myers <joseph@codesourcery.com>
2545 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2546 (__ASSUME_UTIMES): Do not condition on kernel version.
2547 (__ASSUME_PSELECT): Define unconditionally.
2548 (__ASSUME_PPOLL): Likewise.
2549 (__ASSUME_ATFCTS): Likewise.
2550 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2551 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2552 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2553 (__ASSUME_UTIMENSAT): Define unconditionally.
2554 (__ASSUME_PRIVATE_FUTEX): Likewise.
2555 (__ASSUME_FALLOCATE): Likewise.
2556 (__ASSUME_O_CLOEXEC): Likewise.
2557 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2558 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2559 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2560 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2561 (__ASSUME_IN_NONBLOCK): Likewise.
2562 (__ASSUME_PIPE2): Likewise.
2563 (__ASSUME_EVENTFD2): Likewise.
2564 (__ASSUME_SIGNALFD4): Likewise.
2565 (__ASSUME_DUP3): Likewise.
2566 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2567 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2568 (__ASSUME_AT_RANDOM): Likewise.
2569 (__ASSUME_PREADV): Likewise.
2570 (__ASSUME_PWRITEV): Likewise.
2571 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2572 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2573 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2574 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2575 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2576 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2577 (__ASSUME_O_CLOEXEC): Define unconditionally.
2578 (__ASSUME_PSELECT): Do not undefine conditionally.
2579 (__ASSUME_PPOLL): Likewise.
2580 (__ASSUME_ATFCTS): Likewise.
2581 (__ASSUME_SET_ROBUST_LIST): Likewise.
2582 (__ASSUME_UTIMENSAT): Likewise.
2583 (__ASSUME_FDATASYNC): Define unconditionally.
2584 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2585 (__ASSUME_SIGFRAME_V2): Likewise.
2586 )__ASSUME_EVENTFD2): Likewise.
2587 (__ASSUME_SIGNALFD4): Likewise.
2588 (__ASSUME_PSELECT): Do not undefine conditionally.
2589 (__ASSUME_PPOLL): Likewise.
2590 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2591 (__ASSUME_PSELECT): Define unconditionally.
2592 (__ASSUME_PPOLL): Likewise.
2593 (__ASSUME_O_CLOEXEC): Likewise.
2594 (__ASSUME_SOCK_CLOEXEC): Likewise.
2595 (__ASSUME_IN_NONBLOCK): Likewise.
2596 (__ASSUME_PIPE2): Likewise.
2597 (__ASSUME_EVENTFD2): Likewise.
2598 (__ASSUME_SIGNALFD4): Likewise.
2599 (__ASSUME_DUP3): Likewise.
2600 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2601 (__ASSUME_O_CLOEXEC): Likewise.
2602 (__ASSUME_SOCK_CLOEXEC): Likewise.
2603 (__ASSUME_IN_NONBLOCK): Likewise.
2604 (__ASSUME_PIPE2): Likewise.
2605 (__ASSUME_EVENTFD2): Likewise.
2606 (__ASSUME_SIGNALFD4): Likewise.
2607 (__ASSUME_DUP3): Likewise.
2608 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2609 (__ASSUME_EVENTFD2): Likewise.
2610 (__ASSUME_SIGNALFD4): Likewise.
2611 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2613 2014-05-12 Andreas Schwab <schwab@suse.de>
2616 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2617 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2618 than maximum RPC packet size.
2619 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2620 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2621 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2622 (_nss_nis_getservbyport_r): Likewise.
2624 2014-05-12 Will Newton <will.newton@linaro.org>
2626 * malloc/Makefile (tests): Add tst-mallopt.
2627 * malloc/tst-mallopt.c: New file.
2629 2014-05-09 Roland McGrath <roland@hack.frob.com>
2631 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2632 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2634 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2636 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2637 (tst-tlsmod6.so): Likewise.
2639 2014-05-09 Roland McGrath <roland@hack.frob.com>
2641 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2643 2014-05-09 Joseph Myers <joseph@codesourcery.com>
2646 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2647 and <dl-procinfo.h>.
2648 (__fegetenv): Save SSE state in envp->__eip if supported.
2649 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2650 envp->__eip if supported.
2651 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2652 and <dl-procinfo.h>.
2653 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2654 __data_offset and __data_selector in environment to 0. Set SSE
2656 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2658 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2660 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2662 2014-05-09 Will Newton <will.newton@linaro.org>
2664 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2665 and libc_relro_required for ARM.
2666 * sysdeps/arm/preconfigure: Regenerate.
2668 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2669 Stefan Liebler <stli@linux.vnet.ibm.com>
2671 * config.make.in (enable-lock-elision): New Makefile variable.
2672 * configure.ac: Likewise.
2673 * configure: Regenerate.
2674 * sysdeps/s390/configure.ac:
2675 Add check for gcc transactions support.
2676 * sysdeps/s390/configure: Regenerate.
2677 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2678 Build elision files if enabled.
2679 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2680 Add lock elision support for s390.
2681 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2682 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2683 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2684 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2685 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2686 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2687 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2689 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2691 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2693 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2695 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2696 (__lll_timedlock_elision, __lll_lock_elision)
2697 (__lll_unlock_elision, __lll_trylock_elision)
2698 (lll_timedlock_elision, lll_lock_elision)
2699 (lll_unlock_elision, lll_trylock_elision): Add.
2700 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2701 (pthread_mutex_t): Add lock elision support for s390.
2703 2014-05-14 Wilco <wdijkstr@arm.com>
2705 * sysdeps/arm/fclrexcpt.c: Cleanup.
2706 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2707 * sysdeps/arm/feenablxcpt.c: Cleanup.
2708 * sysdeps/arm/fegetenv.c: Cleanup.
2709 * sysdeps/arm/fegetexcept.c: Cleanup.
2710 * sysdeps/arm/fegetround.c: Cleanup.
2711 * sysdeps/arm/feholdexcpt.c: Cleanup.
2712 * sysdeps/arm/fesetenv.c: Cleanup.
2713 * sysdeps/arm/fesetround.c: Cleanup.
2714 * sysdeps/arm/feupdateenv.c: Cleanup.
2715 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2716 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2717 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2718 * sysdeps/arm/ftestexcept.c: Cleanup.
2719 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2720 * sysdeps/arm/setfpucw.c: Cleanup.
2722 2014-05-09 Will Newton <will.newton@linaro.org>
2724 * sysdeps/arm/armv7/strcmp.S: New file.
2725 * NEWS: Mention addition of ARMv7 optimized strcmp.
2727 2014-05-08 Roland McGrath <roland@hack.frob.com>
2729 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2730 look for %.ac rather than %.in.
2732 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2733 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2734 * sysdeps/mach/hurd/configure: Regenerated.
2735 * sysdeps/unix/sysv/linux/configure: Regenerated.
2737 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2739 2014-05-07 Steve Ellcey <sellcey@mips.com>
2742 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2746 2014-05-07 Andreas Schwab <schwab@suse.de>
2748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2749 when skipping over non-matching result from nscd.
2751 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
2754 * nptl/sockperf.c (client): Check socket return value.
2757 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2758 nscd security class.
2760 2014-05-06 Roland McGrath <roland@hack.frob.com>
2762 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2763 * sysdeps/arm/unwind.h: ... here.
2765 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2768 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2771 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2773 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2774 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2775 multiarch strncpy for PPC64.
2776 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2777 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2778 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2779 multiarch optimizations.
2780 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2781 (__libc_ifunc_impl_list): Likewise.
2782 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2783 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2784 multiarch stpncpy for PPC64.
2785 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2786 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2788 2014-05-06 Andreas Schwab <schwab@suse.de>
2791 * gmon/mcount.c (_MCOUNT_DECL): Use
2792 atomic_compare_and_exchange_bool_acq instead of
2793 catomic_compare_and_exchange_bool_acq.
2795 2014-05-05 Roland McGrath <roland@hack.frob.com>
2797 * elf/Makefile (others, install-bin): Remove pldd.
2798 (pldd-modules): Variable removed.
2799 ($(objpfx)pldd): Target removed.
2800 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2801 (others, install-bin): Append pldd here.
2802 ($(objpfx)pldd): New target.
2804 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2805 to 0, so the first #if test emitted later doesn't see it undefined.
2806 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2807 * sysdeps/gnu/errlist.c: Regenerated.
2809 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2811 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2812 [libc_hidden_builtin_def]: Define to empty value.
2813 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2814 [libc_hidden_builtin_def]: Likewise.
2815 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2816 [libc_hidden_builtin_def]: Likewise.
2817 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2818 [libc_hidden_builtin_def]: Likewise.
2819 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2820 __redirect_memcpy and define ifunc as default hidden symbol.
2821 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2822 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2824 2014-05-04 Adam Conrad <adconrad@0c3.net>
2826 * locale/iso-4217.def: Reintroduce XDR currency.
2828 2014-05-04 Allan McRae <allan@archlinux.org>
2830 * po/eo.po: Update Esperanto translation from translation project.
2832 2014-05-02 Carlos O'Donell <carlos@redhat.com>
2834 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2835 and FEATURE_INDEX_MAX to 1.
2836 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2838 2014-05-01 Steve Ellcey <sellcey@mips.com>
2840 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2841 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2842 * iconvdata/big5.c (ONE_DIRECTION): Define.
2843 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2844 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2845 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2846 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2847 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2848 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2849 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2850 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2851 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2852 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2853 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2854 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2855 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2856 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2857 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2858 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2859 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2860 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2861 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2862 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2863 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2864 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2865 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2866 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2867 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2868 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2869 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2870 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2871 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2872 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2873 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2874 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2875 * iconvdata/johab.c (ONE_DIRECTION): Define.
2876 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2877 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2878 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2879 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2880 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2881 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2882 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2883 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2884 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2885 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2887 2014-05-01 Roland McGrath <roland@hack.frob.com>
2889 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2890 (_IO_JUMPS_OFFSET): Define to 0.
2892 * nptl/sysdeps/pthread/bits/libc-lock.h
2893 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2894 (__libc_lock_define_initialized_recursive): Always define using
2895 initializer. Modern compilers treat uninitialized (implicit zero) and
2896 explicit zero initializers the same (i.e. put the datum in bss).
2898 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2900 * nscd/nscd-client.h: Include <string.h>.
2902 2014-05-01 David S. Miller <davem@davemloft.net>
2905 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2906 multiple zero bytes exist at the end of a string.
2907 Reported by Aurelien Jarno <aurelien@aurel32.net>
2909 * string/test-strcmp.c (check): Add explicit test for situations where
2910 there are multiple zero bytes after the first.
2912 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2915 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2916 when compiling wprintf.
2917 * stdio-common/tstdiomisc.c (t3): New function.
2920 2014-05-01 Steve Ellcey <sellcey@mips.com>
2922 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2923 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2924 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2925 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2927 2014-05-01 Steve Ellcey <sellcey@mips.com>
2929 * stdlib/longlong.h: Updated from GCC.
2931 2014-05-01 Will Newton <will.newton@linaro.org>
2932 Bernard Ogden <bernie.ogden@linaro.org>
2934 * NEWS: Update fixed bug list.
2937 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2939 2014-04-30 David S. Miller <davem@davemloft.net>
2941 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2942 (libc_feholdexcept_setround_sparc_ctx): New function.
2943 (libc_fesetenv_sparc_ctx): Likewise.
2944 (libc_feupdateenv_sparc_ctx): Likewise.
2945 (libc_feholdsetround_sparc_ctx): Likewise.
2946 (libc_feholdexcept_setround_ctx): Define.
2947 (libc_feholdexcept_setroundf_ctx): Likewise.
2948 (libc_feholdexcept_setroundl_ctx): Likewise.
2949 (libc_fesetenv_ctx): Likewise.
2950 (libc_fesetenvf_ctx): Likewise.
2951 (libc_fesetenvl_ctx): Likewise.
2952 (libc_feupdateenv_ctx): Likewise.
2953 (libc_feupdateenvf_ctx): Likewise.
2954 (libc_feupdateenvl_ctx): Likewise.
2955 (libc_feresetround_ctx): Likewise.
2956 (libc_feresetroundf_ctx): Likewise.
2957 (libc_feresetroundl_ctx): Likewise.
2958 (libc_feholdsetround_ctx): Likewise.
2959 (libc_feholdsetroundf_ctx): Likewise.
2960 (libc_feholdsetroundl_ctx): Likewise.
2962 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2963 with __USE_GNU instead of XOPEN cpp guards.
2965 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2968 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2969 with XOPEN cpp guards.
2971 2014-04-30 Julian Brown <julian@codesourcery.com>
2974 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2977 2014-04-30 Joseph Myers <joseph@codesourcery.com>
2980 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2982 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2983 * sysdeps/unix/sysv/linux/configure: Regenerated.
2984 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2985 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2986 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2987 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2988 * README: Update reference to required Linux kernel version.
2989 * manual/install.texi (Linux): Update reference to required Linux
2990 kernel headers version.
2991 * INSTALL: Regenerated.
2993 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2995 [POSIX] (limits.h): Likewise.
2996 [POSIX] (math.h): Likewise.
2997 [POSIX] (sys/wait.h): Likewise.
2998 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3000 [POSIX] (stddef.h): Do not allow header inclusion.
3002 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3004 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3006 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3008 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3009 Return immediately after lll_futex_wake.
3011 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3014 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3016 (datahead_init_pos): Call datahead_init_common early.
3017 (datahead_init_neg): Likewise.
3019 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3020 datahead_init_neg): New functions.
3021 * nscd/aicache.c (addhstaiX): Use them.
3022 * nscd/grpcache.c (cache_addgr): Likewise.
3023 * nscd/hstcache.c (cache_addhst): Likewise.
3024 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3025 * nscd/netgroupcache.c (do_notfound): Likewise.
3026 (addgetnetgrentX): Likewise.
3027 (addinnetgrX): Likewise.
3028 * nscd/pwdcache.c (cache_addpw): Likewise.
3029 * nscd/servicescache.c (cache_addserv): Likewise.
3031 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3032 Atsushi Onoe <atsushi@onoe.org>
3037 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3038 one response is valid.
3039 * resolv/res_send.c (send_dg): Check for validity of other
3040 response if the current response is a referral.
3042 2014-04-29 Steve Ellcey <sellcey@mips.com>
3044 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3046 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3049 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3050 Always divide by positive zero when computing -Inf result.
3051 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3052 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3054 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3056 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3057 FPSCR if value do not change.
3058 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3059 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3060 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3061 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3062 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3063 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3066 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3068 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3069 * sysdeps/unix/sysv/linux/hppa: Move directory from
3070 ports/systeps/unix/sysv/linux/hppa.
3071 * README: Update listing for hppa-*-linux-gnu.
3073 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3076 * manual/stdio.texi (Hook functions): Fix types of stream hook
3079 * socket/sys/socket.h: Fix typo in comment.
3081 2014-04-28 Wilco <wdijkstr@arm.com>
3083 * sysdeps/arm/fenv_private.h: New file.
3084 * sysdeps/arm/math_private.h: New file.
3085 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3087 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3089 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3091 (La_x86_64_retval): Likewise.
3093 2014-04-24 Ian Bolton <ian.bolton@arm.com>
3095 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3096 fpsr if value didn't change.
3097 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3098 to fpcr if value didn't change.
3099 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3100 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3101 fpsr or fpcr if value didn't change.
3102 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3103 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3104 fpcr if value didn't change.
3105 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3106 to fpsr if value didn't change.
3108 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3110 * nptl/tst-sem3.c: Use test-skeleton.c
3111 (main): Rename to do_test. Use return instead of
3113 * nptl/tst-sem4.c: Use test-skeleton.c
3114 (main): Rename to do_test.
3116 2014-04-22 David S. Miller <davem@davemloft.net>
3118 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3119 (struct sigaction): New struct member __glibc_reserved0, change
3120 type of sa_flags to int.
3122 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3124 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3125 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3127 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3129 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3130 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3132 2014-04-22 Will Newton <will.newton@linaro.org>
3133 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3135 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3136 (__longjmp): Add longjmp and longjmp_target SystemTap
3138 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3139 (__sigsetjmp): Add setjmp SystemTap probe.
3141 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3143 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3146 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3148 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3150 * sysdeps/powerpc/fpu/fenv_private.h
3151 (libc_feholdexcept_setroundl_ctx): Define to
3152 libc_feholdexcept_setround_ppc_ctx.
3153 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3154 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3155 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3156 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3158 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3160 * sysdeps/aarch64/math-tests.h: New file.
3162 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3164 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3167 Check and set bit_AVX2_Usable.
3168 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3170 (bit_AVX2): Likewise.
3171 (index_AVX2_Usable): Likewise.
3172 (CPUID_AVX2): Likewise.
3173 (HAS_AVX2): Likewise.
3175 2014-04-17 Will Newton <will.newton@linaro.org>
3177 * manual/setjmp.texi (System V contexts): Add note that
3178 calling setcontext on a context created by a call to a
3179 signal handler is undefined. Update text to note that
3180 setcontext from a signal handler is possible but not
3184 * stdlib/tst-setcontext.c: Include signal.h.
3185 (main): Check that the signal stack before and
3186 after swapcontext is the same.
3188 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3189 Re-implement to restore registers in user code and avoid
3190 rt_sigreturn system call.
3192 2014-04-17 Wilco <wdijkstr@arm.com>
3194 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3195 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3196 * math/test-fenv.c: Skip exception trap tests on targets which only
3197 support non-stop mode.
3199 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3200 Wilco Dijkstra <wilco.dijkstra@arm.com>
3202 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3203 (libc_feholdsetround_aarch64_ctx)
3204 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3205 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3206 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3207 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3208 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3209 (libc_feresetround_noexl_ctx): Define.
3211 2014-04-16 Richard Henderson <rth@redhat.com>
3213 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3215 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3218 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3219 const from the non-libc, non-ldso copy.
3221 * sysdeps/alpha/libm-test-ulps: Regenerate.
3223 2014-04-16 Ian Bolton <ian.bolton@arm.com>
3224 Wilco Dijkstra <wilco.dijkstra@arm.com>
3226 * sysdeps/aarch64/fpu/math_private.h: New file.
3228 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3230 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3232 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3234 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3235 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3236 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3237 Intel MPX bound registers before _dl_profile_fixup.
3238 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3239 registers after _dl_profile_fixup. Save and restore bound
3240 registers bnd0/bnd1 when calling _dl_call_pltexit.
3241 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3242 (LR_BND_OFFSET): Likewise.
3243 (LRV_BND0_OFFSET): Likewise.
3244 (LRV_BND1_OFFSET): Likewise.
3246 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3248 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3250 * sysdeps/mach/hurd/i386/tls.h: ... here.
3251 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3252 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3255 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3257 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3259 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3261 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3263 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3266 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3267 * sysdeps/s390/configure: Regenerate.
3270 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3271 Set round-to-nearest internally to reduce error accumulation.
3273 2014-04-16 Alan Modra <amodra@gmail.com>
3277 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3278 * math/libm-test.inc (frexp_test_data): Add tests.
3279 * NEWS: Update fixed bug list.
3281 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3283 * benchtests/Makefile: Depend on libraries in build directory.
3284 (bench-math): Separate out math tests.
3285 (bench-pthread): Separate out pthread tests.
3286 (bench): Include math and pthread tests.
3288 2014-04-14 Carlos O'Donell <carlos@redhat.com>
3291 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3292 _dl_debug_initialize.
3294 * configure.ac: Remove SELinux header check.
3295 * configure: Regenerate.
3296 * nscd/selinux.c (perms): Array of const char* to permission names.
3297 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3298 default policy. Call string_to_security_class and string_to_av_perm to
3299 translate strings. Enforce default policy and call avs_has_perm with
3300 results of translated strings.
3302 2014-04-13 David S. Miller <davem@davemloft.net>
3304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3306 2014-04-12 Allan McRae <allan@archlinux.org>
3309 * manual/string.texi (Collation Functions): Fix qsort argument
3311 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3313 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3315 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3316 Make the test a no-op if there are no exceptions defined.
3318 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3320 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3321 enable-hardcoded-path-in-tests
3323 2014-04-11 Will Newton <will.newton@linaro.org>
3325 * benchtests/Makefile (extra-objs): Add json-lib.o.
3326 (bench-func): Tidy up JSON output.
3327 * benchtests/bench-skeleton.c: Include json-lib.h.
3328 (main): Use JSON library functions to do output of
3330 * benchtests/bench-timing-type.c (main): Output the
3331 timing type simply, leaving formatting to the user.
3332 * benchtests/json-lib.c: New file.
3333 * benchtests/json-lib.h: Likewise.
3335 2014-04-11 Torvald Riegel <triegel@redhat.com>
3338 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3339 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3340 memory barriers. Add comments.
3341 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3342 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3343 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3344 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3345 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3346 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3348 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3350 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3351 * sysdeps/s390/s390-64/configure.ac: ... this ...
3352 * sysdeps/s390/configure.ac: ... to here.
3353 * sysdeps/s390/s390-32/configure: Delete file.
3354 * sysdeps/s390/s390-64/configure: Delete file.
3355 * sysdeps/s390/configure: Regenerate.
3357 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3359 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3361 2014-04-11 Will Newton <will.newton@linaro.org>
3363 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3364 to zero if it is not defined elsewhere. (mtrim): Test
3365 the value of MALLOC_DEBUG with #if rather than #ifdef.
3367 2014-04-10 Torvald Riegel <triegel@redhat.com>
3369 * benchtests/pthread_once-inputs: New file.
3370 * benchtests/pthread_once-source.c: New file.
3371 * benchtests/README: Update documentation.
3373 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3374 H.J. Lu <hongjiu.lu@intel.com>
3376 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3377 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3378 * sysdeps/x86_64/configure: Regenerated.
3379 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3381 (REGISTER_SAVE_RAX): Likewise.
3382 (REGISTER_SAVE_RCX): Likewise.
3383 (REGISTER_SAVE_RDX): Likewise.
3384 (REGISTER_SAVE_RSI): Likewise.
3385 (REGISTER_SAVE_RDI): Likewise.
3386 (REGISTER_SAVE_R8): Likewise.
3387 (REGISTER_SAVE_R9): Likewise.
3388 (REGISTER_SAVE_BND0): Likewise.
3389 (REGISTER_SAVE_BND1): Likewise.
3390 (REGISTER_SAVE_BND2): Likewise.
3391 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3392 bound registers when calling _dl_fixup.
3394 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3396 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3397 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3399 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3400 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3401 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3402 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3403 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3404 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3405 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3407 2014-04-09 Peter Brett <peter@peter-b.co.uk>
3410 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3411 pathconf(_PC_NAME_MAX).
3413 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3415 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3417 (__PTHREAD_SPINS): Move definition to ...
3418 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3419 (__PTHREAD_SPINS): ... here.
3420 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3421 (__PTHREAD_SPIN): Likewise.
3422 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3423 (__PTHREAD_SPIN): Likewise.
3424 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3425 (__PTHREAD_SPIN): Likewise.
3426 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3427 (__PTHREAD_SPIN): Likewise.
3428 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3429 (__PTHREAD_SPIN): Likewise.
3430 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3431 (__PTHREAD_SPIN): Likewise.
3432 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3433 (__PTHREAD_SPIN): Likewise.
3434 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3435 (__PTHREAD_SPIN): Likewise.
3436 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3437 (__PTHREAD_SPIN): Likewise.
3438 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3439 (__PTHREAD_SPIN): Likewise.
3440 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3441 (__PTHREAD_SPIN): Likewise.
3442 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3443 (__PTHREAD_SPIN): Likewise.
3445 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3446 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3447 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3448 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3450 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3451 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3452 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3453 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3455 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3456 strlen symbol for non multi-arch builds.
3457 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3458 missing hidden_def and weak_alias.
3460 2014-04-08 Carlos O'Donell <carlos@redhat.com>
3462 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3464 2014-04-07 Will Newton <will.newton@linaro.org>
3466 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3467 and contents. [!_LIBC] Remove #ifndef and contents.
3468 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3469 * string/memccpy.c (__memccpy): Use ANSI prototype.
3470 * string/memfrob.c (memfrob): Likewise.
3471 * string/strcoll.c (STRCOLL): Likewise.
3472 * string/strlen.c (strlen): Likewise.
3473 * string/strtok.c (STRTOK): Likewise.
3474 * string/strcat.c: Remove unused #include of memcopy.h.
3475 (strcat): Use ANSI prototype.
3476 * string/strchr.c: Remove unused #include of memcopy.h.
3477 (strchr): Use ANSI prototype.
3478 * string/strcmp.c: Remove unused #include of memcopy.h.
3479 (strcmp): Use ANSI prototype.
3480 * string/strcpy.c: Remove unused #include of memcopy.h.
3481 (strcpy): Use ANSI prototype.
3483 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3485 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3486 * config.make.in (config-extra-cppflags): Set it from
3487 libc_extra_cppflags.
3488 * configure.ac (libc_extra_cflags): Make it accumulate over
3489 configure fragments.
3490 (libc_extra_cppflags): New flag.
3491 * configure. Regenerate.
3492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3493 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3494 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3498 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3499 result for FE_DOWNWARD rounding mode.
3500 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3504 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3506 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3507 in function argument name.
3509 2014-04-03 David Svoboda <svoboda@cert.org>
3512 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3515 2014-04-03 Roland McGrath <roland@hack.frob.com>
3517 * elf/dl-unmap-segments.h: New file.
3518 * sysdeps/generic/ldsodefs.h
3519 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3520 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3521 * elf/dl-fptr.c: Likewise.
3522 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3523 * sysdeps/aarch64/tlsdesc.c: Likewise.
3524 * sysdeps/arm/tlsdesc.c: Likewise.
3525 * sysdeps/i386/tlsdesc.c: Likewise.
3526 * sysdeps/tile/dl-runtime.c: Likewise.
3527 * sysdeps/x86_64/tlsdesc.c: Likewise.
3528 * elf/dl-load.h: New file.
3529 * elf/dl-load.c: Include it.
3530 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3531 Macros moved to dl-load.h.
3532 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3533 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3534 Use _dl_unmap_segments in place of __munmap.
3535 Break out segment-mapping loop into ...
3536 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3538 2014-04-03 Will Newton <will.newton@linaro.org>
3540 * elf/dl-lookup.c (do_lookup_x): Remove comment
3541 referring to nested function and move variable
3542 declarations down to before first use.
3544 2014-04-02 Joseph Myers <joseph@codesourcery.com>
3548 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3550 * math/s_catanf.c (__catanf): Likewise.
3551 * math/s_catanh.c (__catanh): Likewise.
3552 * math/s_catanhf.c (__catanhf): Likewise.
3553 * math/s_catanhl.c (__catanhl): Likewise.
3554 * math/s_catanl.c (__catanl): Likewise.
3555 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3556 by positive zero when computing -Inf result.
3557 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3558 (catanh_test): Likewise.
3559 * sysdeps/i386/fpu/libm-test-ulps: Update.
3560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3563 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3564 instead of using underflowing value in computing result.
3565 * math/s_clog10.c (__clog10): Likewise.
3566 * math/s_clog10f.c (__clog10f): Likewise.
3567 * math/s_clog10l.c (__clog10l): Likewise.
3568 * math/s_clogf.c (__clogf): Likewise.
3569 * math/s_clogl.c (__clogl): Likewise.
3570 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3571 (clog10_test): Likewise.
3572 * sysdeps/i386/fpu/libm-test-ulps: Update.
3573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3575 2014-04-02 Alan Modra <amodra@gmail.com>
3578 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3579 output when value is near a power of two. Use int64_t for lx and
3580 remove casts. Use decimal rather than hex exponent constants.
3581 Don't use long double multiplication when double will suffice.
3582 * math/libm-test.inc (nextafter_test_data): Add tests.
3583 * NEWS: Add 16739 and 16786 to bug list.
3585 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3587 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3589 2014-04-01 Will Newton <will.newton@linaro.org>
3591 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3592 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3594 2014-04-01 Florian Weimer <fweimer@redhat.com>
3597 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3598 * nptl/tst-setuid2.c: New file.
3599 * nptl/Makefile (xtests): Add tst-setuid2.
3601 2014-04-01 Alan Modra <amodra@gmail.com>
3604 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3606 2014-03-31 Joseph Myers <joseph@codesourcery.com>
3610 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3611 set errno as appropriate.
3612 * math/w_scalbf.c (__scalbf): Likewise.
3613 * math/w_scalbl.c (__scalbl): Likewise.
3614 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3615 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3616 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3620 * math/w_atan2.c: Include <errno.h>.
3621 (__atan2): Set errno for result underflowing to zero.
3622 * math/w_atan2f.c: Include <errno.h>.
3623 (__atan2f): Set errno for result underflowing to zero.
3624 * math/w_atan2l.c: Include <errno.h>.
3625 (__atan2l): Set errno for result underflowing to zero.
3626 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3628 * math/auto-libm-test-out: Regenerated.
3630 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3632 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3633 Encode instruction correctly in little endian.
3634 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3636 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3638 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3640 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3643 2014-03-31 Joseph Myers <joseph@codesourcery.com>
3646 * sysdeps/unix/sysv/linux/kernel-features.h
3647 [__sparc__ && !__arch64__ && !__sparc_v9__]
3648 (__ASSUME_SET_ROBUST_LIST): Do not define.
3649 [__sparc__ && !__arch64__ && !__sparc_v9__]
3650 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3651 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3653 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3654 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3655 (__ASSUME_REQUEUE_PI): Likewise.
3656 (__ASSUME_SET_ROBUST_LIST): Likewise.
3657 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3658 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3660 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3661 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3663 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3665 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3667 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3668 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3670 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3671 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3675 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3676 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3677 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3679 2014-03-31 Will Newton <will.newton@linaro.org>
3681 * benchtests/Makefile (bench): Add ffs and ffsll to list
3683 * benchtests/ffs-inputs: New file.
3684 * benchtests/ffsll-inputs: Likewise.
3686 2014-03-29 Joseph Myers <joseph@codesourcery.com>
3689 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3690 too large before casting to int.
3691 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3692 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3693 * math/libm-test.inc (scalb_test_data): Add more tests.
3695 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3697 * benchtests/Makefile (DETAILED_OPT): New make option.
3698 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3700 * benchtests/bench-skeleton.c: Include stdbool.h.
3701 (main): Store and print timings per input.
3702 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3703 member to each argument value.
3704 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3705 (_print_arg_data): Initialize per-input timing to 0.
3707 * benchtests/Makefile (timing-type): New binary.
3708 (bench-clean): Also remove bench-timing-type.
3709 (bench): New target for timing-type.
3710 (bench-func): Print output in JSON format.
3711 * benchtests/bench-skeleton.c (main): Print output in JSON
3713 * benchtests/bench-timing-type.c: New file.
3714 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3715 (TIMING_PRINT_STATS): Remove.
3716 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3719 * benchtests/bench-modf.c: Remove.
3720 * benchtests/modf-inputs: New inputs file.
3722 2014-03-28 Joseph Myers <joseph@codesourcery.com>
3725 * math/s_clog10.c (M_PI_LOG10E): New macro.
3726 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3727 imaginary parts are 0.
3728 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3729 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3730 imaginary parts are 0.
3731 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3732 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3733 imaginary parts are 0.
3734 * math/libm-test.inc (clog10_test_data): Update expected results
3735 for when real and imaginary parts are 0.
3737 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3739 * elf/dl-load.c: Finish conversion of __builtin_expect into
3742 2014-03-27 Joseph Myers <joseph@codesourcery.com>
3745 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3746 1+x for argument with exponent below -67.
3747 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3749 * math/auto-libm-test-in: Add more tests of exp.
3750 * math/auto-libm-test-out: Regenerated.
3752 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3755 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3756 (nscd_getnetgrent): Use it.
3759 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3762 2014-03-27 Andi Kleen <ak@linux.intel.com>
3764 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3765 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3766 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3767 (lll_robust_unlock): Remove out of line section. Use cfi
3769 (LLL_STUB_UNWIND_INFO*): Remove.
3770 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3771 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3772 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3773 (lll_robust_unlock): Remove out of line section. Use cfi
3775 (LLL_STUB_UNWIND_INFO*): Remove.
3777 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3780 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3783 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3785 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3787 2014-03-26 Joseph Myers <joseph@codesourcery.com>
3790 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3792 * math/test-fenv-preserve.c: New file.
3793 * math/Makefile (tests): Add test-fenv-preserve.
3795 2014-03-26 Will Newton <will.newton@linaro.org>
3797 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3799 2014-03-25 Roland McGrath <roland@hack.frob.com>
3801 * scripts/versionlist.awk: Partition the version sets and emit all
3802 GLIBC_* (sorted) before all others (sorted).
3804 2014-03-25 Joseph Myers <joseph@codesourcery.com>
3806 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3807 GLIBC_2.2.5 version.
3809 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3811 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3814 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3819 2014-03-25 Andreas Schwab <schwab@suse.de>
3821 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3822 label to be used after in6ailist is initialized.
3824 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3826 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3827 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3829 2014-03-25 Joseph Myers <joseph@codesourcery.com>
3833 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3835 (fp_formats): Update initializers.
3836 (init_fp_formats): Initialize new field.
3837 (output_for_one_input_case): Allow underflow for results up to
3839 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3840 * math/auto-libm-test-in: Don't mark some underflows from asin and
3842 * math/auto-libm-test-out: Regenerated.
3843 * sysdeps/i386/fpu/libm-test-ulps: Update.
3844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3846 2014-03-25 Andreas Schwab <schwab@suse.de>
3848 * libio/Makefile (tst-ftell-partial-wide-ENV)
3849 (tst-ftell-active-handler-ENV): Define.
3851 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3853 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3855 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3857 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3859 2014-03-24 Joseph Myers <joseph@codesourcery.com>
3861 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3862 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3863 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3865 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3868 * elf/dl-load.c (open_verify): Add mode parameter.
3869 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3870 (open_path): Change from boolean 'secure' to complete flag 'mode'
3871 (_dl_map_object): Adjust.
3872 * elf/Makefile (tests): Add tst-dlopen-aout.
3873 * elf/tst-dlopen-aout.c: New test.
3875 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3878 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3879 (struct stat): Rename member pad0 to __glibc_reserved0.
3882 * sysdeps/s390/s390-32/bits/wordsize.h
3883 (__WORDSIZE32_SIZE_ULONG): New define.
3884 * sysdeps/s390/s390-64/bits/wordsize.h
3885 (__WORDSIZE32_SIZE_ULONG): Likewise.
3886 * sysdeps/generic/stdint.h (SIZE_MAX):
3887 Define as UL if __WORDSIZE32_SIZE_ULONG.
3890 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3891 (__glibc_reserved0): New variable.
3892 (sa_flags): Change type to int.
3894 * posix/Makefile (before-compile): Use += before-compile instead
3897 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3898 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3900 2014-03-20 Andreas Schwab <schwab@suse.de>
3903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3904 non-matching result from nscd.
3906 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3908 * scripts/bench.py: Moved to ...
3909 * benchtests/scripts/bench.py: ... here.
3910 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3912 2014-03-24 Andreas Schwab <schwab@suse.de>
3915 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3916 alloca_account and account alloca use for struct in6ailist.
3918 2014-03-24 Joseph Myers <joseph@codesourcery.com>
3921 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3922 rounding mode to recompute results that overflow to infinity or
3924 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3926 * math/auto-libm-test-out: Regenerated.
3927 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3928 (ccosh_test): Likewise.
3929 (csin_test_data): Use plus_oflow.
3930 (csin_test): Use ALL_RM_TEST.
3931 (csinh_test_data): Use plus_oflow.
3932 (csinh_test): Use ALL_RM_TEST.
3933 * sysdeps/i386/fpu/libm-test-ulps: Update.
3934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3936 2014-03-21 Joseph Myers <joseph@codesourcery.com>
3938 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3939 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3940 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3943 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3945 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3946 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3947 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3948 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3950 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3951 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3953 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3954 * sysdeps/i386/fpu/libm-test-ulps: Update.
3955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3957 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3959 * scripts/bench.pl: Remove file.
3960 * scripts/bench.py: New benchmark script.
3961 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3962 * benchtests/README: Mention python dependency.
3963 * scripts/pylintrc: New file.
3964 * scripts/pylint: New file.
3966 * bits/mathdef.h: Use #ifdef instead of #if.
3967 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3968 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3969 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3970 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3971 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3972 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3974 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3975 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3977 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3978 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3979 and strpbrk-ppc64 objects.
3980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3981 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3982 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3983 multiarch strpbrk for POWER7.
3984 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3985 multiarch strpbrk for PPC64.
3986 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3988 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3991 2014-03-20 Joseph Myers <joseph@codesourcery.com>
3993 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3994 (atan_test): Likewise.
3995 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3996 (atanh_test): Use ALL_RM_TEST.
3997 (atan2_test_data): Likewise.
3998 (cabs_test): Likewise.
3999 (cacosh_test): Likewise.
4000 (carg_test): Likewise.
4001 (casin_test): Likewise.
4002 (casinh_test): Likewise.
4003 (cbrt_test): Likewise.
4004 (csqrt_test): Likewise.
4005 (erf_test): Likewise.
4006 (erfc_test): Likewise.
4007 (pow10_test): Likewise.
4008 (exp2_test): Likewise.
4009 (hypot_test): Likewise.
4010 (j0_test): Likewise.
4011 (j1_test): Likewise.
4012 (lgamma_test): Likewise.
4013 (gamma_test): Likewise.
4014 (sincos_test): Likewise.
4015 (tanh_test): Likewise.
4016 (y0_test): Likewise.
4017 (y1_test): Likewise.
4018 * sysdeps/i386/fpu/libm-test-ulps: Update.
4019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4021 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4023 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4025 and strcspn-ppc64 objects.
4026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4027 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4028 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4029 multiarch strcspn for POWER7.
4030 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4031 multiarch strcspn for PPC64.
4032 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4034 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4037 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4039 * math/gen-libm-test.pl (generate_testfile): Expect only function
4040 name as argument to AUTO_TESTS_* and pass results for all rounding
4041 modes to parse_args.
4042 (parse_auto_input): Separate inputs of automatic tests from
4043 outputs before storing in %auto_tests.
4044 * math/libm-test.inc (acos_test_data): Update call to
4046 (acos_test): Use ALL_RM_TEST.
4047 (acos_tonearest_test_data): Remove.
4048 (acos_test_tonearest): Likewise.
4049 (acos_towardzero_test_data): Likewise.
4050 (acos_test_towardzero): Likewise.
4051 (acos_downward_test_data): Likewise.
4052 (acos_test_downward): Likewise.
4053 (acos_upward_test_data): Likewise.
4054 (acos_test_upward): Likewise.
4055 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4056 (asin_test_data): Likewise.
4057 (asin_test): Use ALL_RM_TEST.
4058 (asin_tonearest_test_data): Remove.
4059 (asin_test_tonearest): Likewise.
4060 (asin_towardzero_test_data): Likewise.
4061 (asin_test_towardzero): Likewise.
4062 (asin_downward_test_data): Likewise.
4063 (asin_test_downward): Likewise.
4064 (asin_upward_test_data): Likewise.
4065 (asin_test_upward): Likewise.
4066 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4067 (atan_test_data): Likewise.
4068 (atanh_test_data): Likewise.
4069 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4070 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4071 (carg_test_data): Likewise.
4072 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4073 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4074 (ccosh_test_data): Likewise.
4075 (cexp_test_data): Likewise.
4076 (clog_test_data): Likewise.
4077 (clog10_test_data): Likewise.
4078 (cos_test_data): Update call to AUTO_TESTS_f_f.
4079 (cos_test): Use ALL_RM_TEST.
4080 (cos_tonearest_test_data): Remove.
4081 (cos_test_tonearest): Likewise.
4082 (cos_towardzero_test_data): Likewise.
4083 (cos_test_towardzero): Likewise.
4084 (cos_downward_test_data): Likewise.
4085 (cos_test_downward): Likewise.
4086 (cos_upward_test_data): Likewise.
4087 (cos_test_upward): Likewise.
4088 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4089 (cosh_test): Use ALL_RM_TEST.
4090 (cosh_tonearest_test_data): Remove.
4091 (cosh_test_tonearest): Likewise.
4092 (cosh_towardzero_test_data): Likewise.
4093 (cosh_test_towardzero): Likewise.
4094 (cosh_downward_test_data): Likewise.
4095 (cosh_test_downward): Likewise.
4096 (cosh_upward_test_data): Likewise.
4097 (cosh_test_upward): Likewise.
4098 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4099 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4100 (ctan_test_data): Likewise.
4101 (ctan_test): Use ALL_RM_TEST.
4102 (ctan_tonearest_test_data): Remove.
4103 (ctan_test_tonearest): Likewise.
4104 (ctan_towardzero_test_data): Likewise.
4105 (ctan_test_towardzero): Likewise.
4106 (ctan_downward_test_data): Likewise.
4107 (ctan_test_downward): Likewise.
4108 (ctan_upward_test_data): Likewise.
4109 (ctan_test_upward): Likewise.
4110 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4111 (ctanh_test): Use ALL_RM_TEST.
4112 (ctanh_tonearest_test_data): Remove.
4113 (ctanh_test_tonearest): Likewise.
4114 (ctanh_towardzero_test_data): Likewise.
4115 (ctanh_test_towardzero): Likewise.
4116 (ctanh_downward_test_data): Likewise.
4117 (ctanh_test_downward): Likewise.
4118 (ctanh_upward_test_data): Likewise.
4119 (ctanh_test_upward): Likewise.
4120 (erf_test_data): Update call to AUTO_TESTS_f_f.
4121 (erfc_test_data): Likewise.
4122 (exp_test_data): Likewise.
4123 (exp_test): Use ALL_RM_TEST.
4124 (exp_tonearest_test_data): Remove.
4125 (exp_test_tonearest): Likewise.
4126 (exp_towardzero_test_data): Likewise.
4127 (exp_test_towardzero): Likewise.
4128 (exp_downward_test_data): Likewise.
4129 (exp_test_downward): Likewise.
4130 (exp_upward_test_data): Likewise.
4131 (exp_test_upward): Likewise.
4132 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4133 (exp10_test): Use ALL_RM_TEST.
4134 (exp10_tonearest_test_data): Remove.
4135 (exp10_test_tonearest): Likewise.
4136 (exp10_towardzero_test_data): Likewise.
4137 (exp10_test_towardzero): Likewise.
4138 (exp10_downward_test_data): Likewise.
4139 (exp10_test_downward): Likewise.
4140 (exp10_upward_test_data): Likewise.
4141 (exp10_test_upward): Likewise.
4142 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4143 (expm1_test_data): Likewise.
4144 (expm1_test): Use ALL_RM_TEST.
4145 (expm1_tonearest_test_data): Remove.
4146 (expm1_test_tonearest): Likewise.
4147 (expm1_towardzero_test_data): Likewise.
4148 (expm1_test_towardzero): Likewise.
4149 (expm1_downward_test_data): Likewise.
4150 (expm1_test_downward): Likewise.
4151 (expm1_upward_test_data): Likewise.
4152 (expm1_test_upward): Likewise.
4153 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4154 (fma_test): Use ALL_RM_TEST.
4155 (fma_towardzero_test_data): Remove.
4156 (fma_test_towardzero): Likewise.
4157 (fma_downward_test_data): Likewise.
4158 (fma_test_downward): Likewise.
4159 (fma_upward_test_data): Likewise.
4160 (fma_test_upward): Likewise.
4161 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4162 (j0_test_data): Update call to AUTO_TESTS_f_f.
4163 (j1_test_data): Likewise.
4164 (jn_test_data): Update call to AUTO_TESTS_if_f.
4165 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4166 (log_test_data): Update call to AUTO_TESTS_f_f.
4167 (log10_test_data): Likewise.
4168 (log1p_test_data): Likewise.
4169 (log2_test_data): Likewise.
4170 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4171 (pow_tonearest_test_data): Likewise.
4172 (sin_test_data): Update call to AUTO_TESTS_f_f.
4173 (sin_test): Use ALL_RM_TEST.
4174 (sin_tonearest_test_data): Remove.
4175 (sin_test_tonearest): Likewise.
4176 (sin_towardzero_test_data): Likewise.
4177 (sin_test_towardzero): Likewise.
4178 (sin_downward_test_data): Likewise.
4179 (sin_test_downward): Likewise.
4180 (sin_upward_test_data): Likewise.
4181 (sin_test_upward): Likewise.
4182 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4183 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4184 (sinh_test): Use ALL_RM_TEST.
4185 (sinh_tonearest_test_data): Remove.
4186 (sinh_test_tonearest): Likewise.
4187 (sinh_towardzero_test_data): Likewise.
4188 (sinh_test_towardzero): Likewise.
4189 (sinh_downward_test_data): Likewise.
4190 (sinh_test_downward): Likewise.
4191 (sinh_upward_test_data): Likewise.
4192 (sinh_test_upward): Likewise.
4193 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4194 (sqrt_test): Use ALL_RM_TEST.
4195 (sqrt_tonearest_test_data): Remove.
4196 (sqrt_test_tonearest): Likewise.
4197 (sqrt_towardzero_test_data): Likewise.
4198 (sqrt_test_towardzero): Likewise.
4199 (sqrt_downward_test_data): Likewise.
4200 (sqrt_test_downward): Likewise.
4201 (sqrt_upward_test_data): Likewise.
4202 (sqrt_test_upward): Likewise.
4203 (tan_test_data): Update call to AUTO_TESTS_f_f.
4204 (tan_test): Use ALL_RM_TEST.
4205 (tan_tonearest_test_data): Remove.
4206 (tan_test_tonearest): Likewise.
4207 (tan_towardzero_test_data): Likewise.
4208 (tan_test_towardzero): Likewise.
4209 (tan_downward_test_data): Likewise.
4210 (tan_test_downward): Likewise.
4211 (tan_upward_test_data): Likewise.
4212 (tan_test_upward): Likewise.
4213 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4214 (tgamma_test_data): Likewise.
4215 (y0_test_data): Likewise.
4216 (y1_test_data): Likewise.
4217 (yn_test_data): Update call to AUTO_TESTS_if_f.
4218 (main): Do not call removed functions.
4220 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4222 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4223 (ldexp_test_data): Remove.
4224 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4226 (scalb_test): Use ALL_RM_TEST.
4228 2014-03-19 Andreas Schwab <schwab@suse.de>
4230 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4232 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4235 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4236 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4237 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4238 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4239 (__ASSUME_PREADV): Undefine.
4240 (__ASSUME_PWRITEV): Likewise.
4242 2014-03-18 Roland McGrath <roland@hack.frob.com>
4244 * bits/mman-linux.h: Add comment about non-Linux use.
4245 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4246 bits/mman-linux.h resting place.
4248 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4249 * bits/mman-linux.h: ... here.
4251 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4253 * conform/conformtest.pl: Add standard definition when calling C
4254 preprocessor on data files.
4255 (checknamespace): Remove unused variable.
4257 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4259 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4260 minus_oflow, plus_uflow and minus_uflow in expected results.
4261 * math/libm-test.inc (scalbn_test_data): Add more tests of
4262 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4264 (scalbn_test): Use ALL_RM_TEST.
4265 (scalbln_test_data): Add more tests of negative arguments. Use
4266 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4267 (scalbln_test): Use ALL_RM_TEST.
4269 2014-03-18 Roland McGrath <roland@hack.frob.com>
4271 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4273 2014-03-18 Will Newton <will.newton@linaro.org>
4275 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4278 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4280 * Makerules [!subdir] (check-abi): Exit with error status if a
4283 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4285 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4286 for rint. Include results for all rounding modes.
4287 (nearbyint_test): Use ALL_RM_TEST.
4288 (rint_test_data): Include all tests used for nearbyint.
4290 2014-03-17 Will Newton <will.newton@linaro.org>
4292 * nptl/sysdeps/pthread/pthread.h: Revert previous
4295 * sysdeps/generic/ldsodefs.h: Revert previous
4298 * libio/genops.c: Revert previous change.
4299 * libio/libioP.h: Likewise.
4300 * stdio-common/vfprintf.c: Likewise.
4302 * sysdeps/generic/math_private.h: Revert previous
4305 * sysdeps/generic/math_private.h: Check whether
4306 HAVE_RM_CTX is defined with #ifdef rather
4309 * argp/argp-fmtstream.h: Check whether
4310 __STRICT_ANSI__ is defined with #ifdef rather
4312 * argp/argp.h: Likewise.
4314 * libio/genops.c: Check whether
4315 _IO_JUMPS_OFFSET is defined with #ifdef rather
4317 * libio/libioP.h: Likewise.
4318 * stdio-common/vfprintf.c: Likewise.
4320 * sysdeps/generic/ldsodefs.h: Check whether
4321 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4324 * nptl/sysdeps/pthread/pthread.h: Check
4325 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4328 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4330 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4332 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4336 * libio/fileops.c (_IO_file_open): Seek to end of file but
4337 don't cache the offset.
4338 (get_file_offset): Remove function.
4339 (do_ftell): Use cached offset when available.
4340 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4341 don't cache the offset.
4342 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4344 (do_one_test): Call it.
4345 (do_ftell_test): Fix up expected old offset for a+ mode.
4346 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4349 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4350 up test status with function return status.
4351 (do_write_test): Likewise.
4352 (do_append_test): Likewise.
4354 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4355 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4358 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4360 * math/gen-libm-test.pl (parse_args): Handle results specified for
4361 each rounding mode separately.
4362 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4363 tests and results from lrint_tonearest_test_data,
4364 lrint_towardzero_test_data, lrint_downward_test_data and
4365 lrint_upward_test_data.
4366 (lrint_test): Use ALL_RM_TEST.
4367 (lrint_tonearest_test_data): Remove.
4368 (lrint_test_tonearest): Likewise.
4369 (lrint_towardzero_test_data): Likewise.
4370 (lrint_test_towardzero): Likewise.
4371 (lrint_downward_test_data): Likewise.
4372 (lrint_test_downward): Likewise.
4373 (lrint_upward_test_data): Likewise.
4374 (lrint_test_upward): Likewise.
4375 (llrint_test_data): Merge in per-rounding-mode tests and results
4376 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4377 llrint_downward_test_data and llrint_upward_test_data.
4378 (llrint_test): Use ALL_RM_TEST.
4379 (llrint_tonearest_test_data): Remove.
4380 (llrint_test_tonearest): Likewise.
4381 (llrint_towardzero_test_data): Likewise.
4382 (llrint_test_towardzero): Likewise.
4383 (llrint_downward_test_data): Likewise.
4384 (llrint_test_downward): Likewise.
4385 (llrint_upward_test_data): Likewise.
4386 (llrint_test_upward): Likewise.
4387 (rint_test_data): Merge in per-rounding-mode tests and results
4388 from rint_tonearest_test_data, rint_towardzero_test_data,
4389 rint_downward_test_data and rint_upward_test_data. Add
4390 per-rounding-mode results for tests not in those arrays.
4391 (rint_test): Use ALL_RM_TEST.
4392 (rint_tonearest_test_data): Remove.
4393 (rint_test_tonearest): Likewise.
4394 (rint_towardzero_test_data): Likewise.
4395 (rint_test_towardzero): Likewise.
4396 (rint_downward_test_data): Likewise.
4397 (rint_test_downward): Likewise.
4398 (rint_upward_test_data): Likewise.
4399 (rint_test_upward): Likewise.
4400 (main): Don't call removed functions.
4402 2014-03-14 Roland McGrath <roland@hack.frob.com>
4404 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4405 "Compiled on ..." crapola. It is anti-useful.
4407 2014-03-14 Joseph Myers <joseph@codesourcery.com>
4409 * scripts/evaluate-test.sh: Handle fourth argument to determine
4410 whether test run should stop on failure.
4411 * Makeconfig (stop-on-test-failure): New variable.
4412 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4413 $(stop-on-test-failure).
4414 * Makefile (tests): Give a summary of results from testing and
4415 exit with failure status if they include an ERROR or FAIL.
4417 * manual/install.texi (Configuring and compiling): Mention
4418 stop-on-test-failure=y.
4419 * INSTALL: Regenerated.
4421 2014-03-14 Roland McGrath <roland@hack.frob.com>
4423 * scripts/versionlist.awk: New file.
4424 * Makerules [$(build-shared) = yes]
4425 (postclean-generated): Add Versions.def, not Versions.def.v and
4427 ($(common-objpfx)Versions.def.v.i): Target removed.
4428 ($(common-objpfx)Versions.def): New target.
4429 ($(common-objpfx)Versions.all): Depend on that rather that
4430 $(common-objpfx)Versions.def.v.
4431 * Versions.def: File removed.
4433 * Makeconfig (+gccwarn): Add -Wundef.
4434 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4435 a dl-sysdep.h breaking its contract.
4436 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4437 * include/stackinfo.h: New file.
4438 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4439 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4440 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4441 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4442 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4443 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4444 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4445 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4446 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4447 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4448 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4449 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4450 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4451 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4452 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4454 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4457 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4459 * math/libm-test.inc (round_test_data): Add more tests.
4462 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4464 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4467 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4469 * math/libm-test.inc (ceil_test_data): Add more tests.
4471 * math/libm-test.inc (trunc_test_data): Add more tests related to
4474 2014-03-14 Roland McGrath <roland@hack.frob.com>
4476 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4477 with #if rather than #ifdef.
4478 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4480 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4482 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4483 first. Disable AVX-512 GCC support if assembler doesn't support
4485 * sysdeps/x86_64/configure: Regenerated.
4487 2014-03-13 Carlos O'Donell <carlos@redhat.com>
4489 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4490 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4491 (__old_pthread_attr_setstack): Likewise.
4492 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4493 [!_STACK_GROWS_DOWN]: Likewise.
4495 2014-03-13 Mike Frysinger <vapier@gentoo.org>
4497 * config.make.in (have-bash2): Delete.
4498 * configure.ac (libc_cv_have_bash2): Delete.
4499 * configure: Regenerate.
4500 * elf/Makefile (common-ldd-rewrite): Rename to ...
4501 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4502 (sh-ldd-rewrite): Delete.
4503 (bash-ldd-rewrite): Delete.
4504 (have-bash2): Delete checks.
4505 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4508 * config.make.in (have-ksh): Delete.
4510 * configure.ac (libc_cv_have_ksh): Delete.
4511 * configure: Regenerate.
4513 * elf/Makefile: Delete $(have-ksh) check.
4514 ($(objpfx)sotruss): Change KSH to BASH.
4515 * elf/sotruss.ksh: Rename to ...
4516 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4517 function style to match POSIX. Drop ksh vim mode setting.
4519 * manual/time.texi (Specifying the Time Zone with TZ): Change
4520 Tuesday to Thursday.
4522 * debug/tst-longjmp_chk2.c: Update header comment.
4523 (stackoverflow_handler): Add comment. Call assert on pass value.
4525 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4527 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4528 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4529 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4530 (La_x86_64_vector): Add zmm.
4531 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4532 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4533 ($(objpfx)tst-audit10): New target.
4534 ($(objpfx)tst-audit10.out): Likewise.
4535 (tst-audit10-ENV): New.
4536 (AVX512-CFLAGS): Likewise.
4537 (CFLAGS-tst-audit10.c): Likewise.
4538 (CFLAGS-tst-auditmod10a.c): Likewise.
4539 (CFLAGS-tst-auditmod10b.c): Likewise.
4540 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4541 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4542 * sysdeps/x86_64/configure: Regenerated.
4543 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4544 AVX-512 zmm register support.
4545 (_dl_x86_64_save_sse): Likewise.
4546 (_dl_x86_64_restore_sse): Likewise.
4547 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4548 size vector registers.
4549 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4550 (ZMM_SIZE): Likewise.
4551 * sysdeps/x86_64/tst-audit10.c: New file.
4552 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4553 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4555 2014-03-13 Roland McGrath <roland@hack.frob.com>
4557 * configure.ac (HAVE_EHDR_START): New check.
4558 * configure: Regenerated.
4559 * config.h.in (HAVE_EHDR_START): New #undef.
4560 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4561 assuming the lowest-addressed segment maps the start of the file.
4563 2014-03-13 Joseph Myers <joseph@codesourcery.com>
4565 * INSTALL: Regenerated.
4567 2014-03-13 Will Newton <will.newton@linaro.org>
4569 * manual/setjmp.texi (System V contexts): Improve
4570 clarity and grammar of documentation.
4572 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4575 * elf/Makefile (tests): Add tst-pie2.
4576 (tests-pie): Add tst-pie2.
4577 * elf/tst-pie2.c: New file.
4578 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4580 * elf/rtld.c (map_doit): Load executable as lt_executable.
4581 (dl_main): Likewise.
4583 2014-03-12 Joseph Myers <joseph@codesourcery.com>
4586 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4587 (__ASSUME_PSELECT): Undefine.
4589 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4592 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4593 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4595 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4596 selector for static builds.
4598 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4601 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4604 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4606 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4607 IFUNC selector for static builds.
4609 2014-03-11 Joseph Myers <joseph@codesourcery.com>
4611 * sysdeps/mips/math_private.h [__mips_hard_float]
4612 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4613 libc_feresetround_mips_ctx.
4614 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4615 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4616 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4619 * math/s_nextafter.c (__nextafter): Do not return value from
4620 overflowing computation.
4621 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4622 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4623 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4625 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4627 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4628 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4630 2014-03-11 Roland McGrath <roland@hack.frob.com>
4632 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4633 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4634 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4635 the new mov targetting sp.
4637 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4640 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4641 Define it for static builds as well.
4642 (NO_BZERO_IMPL): Likewise.
4644 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4646 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4647 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4648 multiarch strspn for PPC64.
4649 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4650 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4652 (__libc_ifunc_impl_list): Likewise.
4653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4654 multiarch optimizations
4655 * string/strspn.c (strspn): Using macro to redefine symbol name.
4657 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4658 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4660 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4661 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4662 multiarch strncat for PPC64.
4663 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4664 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4665 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4666 (__libc_ifunc_impl_list): Likewise.
4667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4668 multiarch optimizations
4670 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4673 * nscd/nscd.service: Make service type forking.
4675 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4677 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4678 sign in non default rounding modes.
4679 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4681 2014-03-08 Joseph Myers <joseph@codesourcery.com>
4683 * math/libm-test.inc (ALL_RM_TEST): New macro.
4684 (ceil_test): Use ALL_RM_TEST.
4685 (cimag_test): Likewise.
4686 (conj_test): Likewise.
4687 (copysign_test): Likewise.
4688 (cproj_test): Likewise.
4689 (creal_test): Likewise.
4690 (fabs_test): Likewise.
4691 (floor_test): Likewise.
4692 (fmax_test): Likewise.
4693 (fmin_test): Likewise.
4694 (fmod_test): Likewise.
4695 (fpclassify_test): Likewise.
4696 (frexp_test): Likewise.
4697 (ilogb_test): Likewise.
4698 (isfinite_test): Likewise.
4699 (finite_test): Likewise.
4700 (isgreater_test): Likewise.
4701 (isgreaterequal_test): Likewise.
4702 (isinf_test): Likewise.
4703 (isless_test): Likewise.
4704 (islessequal_test): Likewise.
4705 (islessgreater_test): Likewise.
4706 (isnan_test): Likewise.
4707 (isnormal_test): Likewise.
4708 (issignaling_test): Likewise.
4709 (isunordered_test): Likewise.
4710 (logb_test): Likewise.
4711 (logb_downward_test_data): Remove.
4712 (logb_test_downward): Likewise.
4713 (lround_test): Use ALL_RM_TEST.
4714 (llround_test): Likewise.
4715 (modf_test): Likewise.
4716 (nexttoward_test): Likewise.
4717 (remainder_test): Likewise.
4718 (drem_test): Likewise.
4719 (remainder_tonearest_test_data): Likewise.
4720 (remainder_test_tonearest): Likewise.
4721 (drem_test_tonearest): Likewise.
4722 (remainder_towardzero_test_data): Likewise.
4723 (remainder_test_towardzero): Likewise.
4724 (drem_test_towardzero): Likewise.
4725 (remainder_downward_test_data): Likewise.
4726 (remainder_test_downward): Likewise.
4727 (drem_test_downward): Likewise.
4728 (remainder_upward_test_data): Likewise.
4729 (remainder_test_upward): Likewise.
4730 (drem_test_upward): Likewise.
4731 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4732 (round_test): Use ALL_RM_TEST.
4733 (signbit_test): Likewise.
4734 (trunc_test): Likewise.
4735 (significand_test): Likewise.
4736 (main): Don't call removed functions.
4738 2014-03-07 Joseph Myers <joseph@codesourcery.com>
4741 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4743 (ILL_ILLOPN): Likewise.
4744 (ILL_ILLADR): Likewise.
4745 (ILL_ILLTRP): Likewise.
4746 (ILL_PRVOPC): Likewise.
4747 (ILL_PRVREG): Likewise.
4748 (ILL_COPROC): Likewise.
4749 (ILL_BADSTK): Likewise.
4750 (FPE_INTDIV): Likewise.
4751 (FPE_INTOVF): Likewise.
4752 (FPE_FLTDIV): Likewise.
4753 (FPE_FLTOVF): Likewise.
4754 (FPE_FLTUND): Likewise.
4755 (FPE_FLTRES): Likewise.
4756 (FPE_FLTINV): Likewise.
4757 (FPE_FLTSUB): Likewise.
4758 (SEGV_MAPERR): Likewise.
4759 (SEGV_ACCERR): Likewise.
4760 (BUS_ADRALN): Likewise.
4761 (BUS_ADRERR): Likewise.
4762 (BUS_OBJERR): Likewise.
4763 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4764 (TRAP_TRACE): Likewise.
4765 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4767 (CLD_KILLED): Likewise.
4768 (CLD_DUMPED): Likewise.
4769 (CLD_TRAPPED): Likewise.
4770 (CLD_STOPPED): Likewise.
4771 (CLD_CONTINUED): Likewise.
4772 (POLL_IN): Likewise.
4773 (POLL_OUT): Likewise.
4774 (POLL_MSG): Likewise.
4775 (POLL_ERR): Likewise.
4776 (POLL_PRI): Likewise.
4777 (POLL_HUP): Likewise.
4778 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4780 (ILL_ILLOPN): Likewise.
4781 (ILL_ILLADR): Likewise.
4782 (ILL_ILLTRP): Likewise.
4783 (ILL_PRVOPC): Likewise.
4784 (ILL_PRVREG): Likewise.
4785 (ILL_COPROC): Likewise.
4786 (ILL_BADSTK): Likewise.
4787 (FPE_INTDIV): Likewise.
4788 (FPE_INTOVF): Likewise.
4789 (FPE_FLTDIV): Likewise.
4790 (FPE_FLTOVF): Likewise.
4791 (FPE_FLTUND): Likewise.
4792 (FPE_FLTRES): Likewise.
4793 (FPE_FLTINV): Likewise.
4794 (FPE_FLTSUB): Likewise.
4795 (SEGV_MAPERR): Likewise.
4796 (SEGV_ACCERR): Likewise.
4797 (BUS_ADRALN): Likewise.
4798 (BUS_ADRERR): Likewise.
4799 (BUS_OBJERR): Likewise.
4800 (BUS_MCEERR_AR): Likewise.
4801 (BUS_MCEERR_AO): Likewise.
4802 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4803 (TRAP_TRACE): Likewise.
4804 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4806 (CLD_KILLED): Likewise.
4807 (CLD_DUMPED): Likewise.
4808 (CLD_TRAPPED): Likewise.
4809 (CLD_STOPPED): Likewise.
4810 (CLD_CONTINUED): Likewise.
4811 (POLL_IN): Likewise.
4812 (POLL_OUT): Likewise.
4813 (POLL_MSG): Likewise.
4814 (POLL_ERR): Likewise.
4815 (POLL_PRI): Likewise.
4816 (POLL_HUP): Likewise.
4817 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4818 (ILL_ILLOPN): Likewise.
4819 (ILL_ILLADR): Likewise.
4820 (ILL_ILLTRP): Likewise.
4821 (ILL_PRVOPC): Likewise.
4822 (ILL_PRVREG): Likewise.
4823 (ILL_COPROC): Likewise.
4824 (ILL_BADSTK): Likewise.
4825 (FPE_INTDIV): Likewise.
4826 (FPE_INTOVF): Likewise.
4827 (FPE_FLTDIV): Likewise.
4828 (FPE_FLTOVF): Likewise.
4829 (FPE_FLTUND): Likewise.
4830 (FPE_FLTRES): Likewise.
4831 (FPE_FLTINV): Likewise.
4832 (FPE_FLTSUB): Likewise.
4833 (SEGV_MAPERR): Likewise.
4834 (SEGV_ACCERR): Likewise.
4835 (BUS_ADRALN): Likewise.
4836 (BUS_ADRERR): Likewise.
4837 (BUS_OBJERR): Likewise.
4838 (BUS_MCEERR_AR): Likewise.
4839 (BUS_MCEERR_AO): Likewise.
4840 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4841 (TRAP_TRACE): Likewise.
4842 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4844 (CLD_KILLED): Likewise.
4845 (CLD_DUMPED): Likewise.
4846 (CLD_TRAPPED): Likewise.
4847 (CLD_STOPPED): Likewise.
4848 (CLD_CONTINUED): Likewise.
4849 (POLL_IN): Likewise.
4850 (POLL_OUT): Likewise.
4851 (POLL_MSG): Likewise.
4852 (POLL_ERR): Likewise.
4853 (POLL_PRI): Likewise.
4854 (POLL_HUP): Likewise.
4855 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4857 (ILL_ILLOPN): Likewise.
4858 (ILL_ILLADR): Likewise.
4859 (ILL_ILLTRP): Likewise.
4860 (ILL_PRVOPC): Likewise.
4861 (ILL_PRVREG): Likewise.
4862 (ILL_COPROC): Likewise.
4863 (ILL_BADSTK): Likewise.
4864 (ILL_BADIADDR): Likewise.
4865 (ILL_BREAK): Likewise.
4866 (FPE_INTDIV): Likewise.
4867 (FPE_INTOVF): Likewise.
4868 (FPE_FLTDIV): Likewise.
4869 (FPE_FLTOVF): Likewise.
4870 (FPE_FLTUND): Likewise.
4871 (FPE_FLTRES): Likewise.
4872 (FPE_FLTINV): Likewise.
4873 (FPE_FLTSUB): Likewise.
4874 (FPE_DECOVF): Likewise.
4875 (FPE_DECDIV): Likewise.
4876 (FPE_DECERR): Likewise.
4877 (FPE_INVASC): Likewise.
4878 (FPE_INVDEC): Likewise.
4879 (SEGV_MAPERR): Likewise.
4880 (SEGV_ACCERR): Likewise.
4881 (SEGV_PSTKOVF): Likewise.
4882 (BUS_ADRALN): Likewise.
4883 (BUS_ADRERR): Likewise.
4884 (BUS_OBJERR): Likewise.
4885 (BUS_MCEERR_AR): Likewise.
4886 (BUS_MCEERR_AO): Likewise.
4887 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4888 (TRAP_TRACE): Likewise.
4889 (TRAP_BRANCH): Likewise.
4890 (TRAP_HWBKPT): Likewise.
4891 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4893 (CLD_KILLED): Likewise.
4894 (CLD_DUMPED): Likewise.
4895 (CLD_TRAPPED): Likewise.
4896 (CLD_STOPPED): Likewise.
4897 (CLD_CONTINUED): Likewise.
4898 (POLL_IN): Likewise.
4899 (POLL_OUT): Likewise.
4900 (POLL_MSG): Likewise.
4901 (POLL_ERR): Likewise.
4902 (POLL_PRI): Likewise.
4903 (POLL_HUP): Likewise.
4904 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4905 (ILL_ILLOPN): Likewise.
4906 (ILL_ILLADR): Likewise.
4907 (ILL_ILLTRP): Likewise.
4908 (ILL_PRVOPC): Likewise.
4909 (ILL_PRVREG): Likewise.
4910 (ILL_COPROC): Likewise.
4911 (ILL_BADSTK): Likewise.
4912 (FPE_INTDIV): Likewise.
4913 (FPE_INTOVF): Likewise.
4914 (FPE_FLTDIV): Likewise.
4915 (FPE_FLTOVF): Likewise.
4916 (FPE_FLTUND): Likewise.
4917 (FPE_FLTRES): Likewise.
4918 (FPE_FLTINV): Likewise.
4919 (FPE_FLTSUB): Likewise.
4920 (SEGV_MAPERR): Likewise.
4921 (SEGV_ACCERR): Likewise.
4922 (BUS_ADRALN): Likewise.
4923 (BUS_ADRERR): Likewise.
4924 (BUS_OBJERR): Likewise.
4925 (BUS_MCEERR_AR): Likewise.
4926 (BUS_MCEERR_AO): Likewise.
4927 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4928 (TRAP_TRACE): Likewise.
4929 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4931 (CLD_KILLED): Likewise.
4932 (CLD_DUMPED): Likewise.
4933 (CLD_TRAPPED): Likewise.
4934 (CLD_STOPPED): Likewise.
4935 (CLD_CONTINUED): Likewise.
4936 (POLL_IN): Likewise.
4937 (POLL_OUT): Likewise.
4938 (POLL_MSG): Likewise.
4939 (POLL_ERR): Likewise.
4940 (POLL_PRI): Likewise.
4941 (POLL_HUP): Likewise.
4942 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4943 (ILL_ILLOPN): Likewise.
4944 (ILL_ILLADR): Likewise.
4945 (ILL_ILLTRP): Likewise.
4946 (ILL_PRVOPC): Likewise.
4947 (ILL_PRVREG): Likewise.
4948 (ILL_COPROC): Likewise.
4949 (ILL_BADSTK): Likewise.
4950 (FPE_INTDIV): Likewise.
4951 (FPE_INTOVF): Likewise.
4952 (FPE_FLTDIV): Likewise.
4953 (FPE_FLTOVF): Likewise.
4954 (FPE_FLTUND): Likewise.
4955 (FPE_FLTRES): Likewise.
4956 (FPE_FLTINV): Likewise.
4957 (FPE_FLTSUB): Likewise.
4958 (SEGV_MAPERR): Likewise.
4959 (SEGV_ACCERR): Likewise.
4960 (BUS_ADRALN): Likewise.
4961 (BUS_ADRERR): Likewise.
4962 (BUS_OBJERR): Likewise.
4963 (BUS_MCEERR_AR): Likewise.
4964 (BUS_MCEERR_AO): Likewise.
4965 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4966 (TRAP_TRACE): Likewise.
4967 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4969 (CLD_KILLED): Likewise.
4970 (CLD_DUMPED): Likewise.
4971 (CLD_TRAPPED): Likewise.
4972 (CLD_STOPPED): Likewise.
4973 (CLD_CONTINUED): Likewise.
4974 (POLL_IN): Likewise.
4975 (POLL_OUT): Likewise.
4976 (POLL_MSG): Likewise.
4977 (POLL_ERR): Likewise.
4978 (POLL_PRI): Likewise.
4979 (POLL_HUP): Likewise.
4980 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4981 (ILL_ILLOPN): Likewise.
4982 (ILL_ILLADR): Likewise.
4983 (ILL_ILLTRP): Likewise.
4984 (ILL_PRVOPC): Likewise.
4985 (ILL_PRVREG): Likewise.
4986 (ILL_COPROC): Likewise.
4987 (ILL_BADSTK): Likewise.
4988 (FPE_INTDIV): Likewise.
4989 (FPE_INTOVF): Likewise.
4990 (FPE_FLTDIV): Likewise.
4991 (FPE_FLTOVF): Likewise.
4992 (FPE_FLTUND): Likewise.
4993 (FPE_FLTRES): Likewise.
4994 (FPE_FLTINV): Likewise.
4995 (FPE_FLTSUB): Likewise.
4996 (SEGV_MAPERR): Likewise.
4997 (SEGV_ACCERR): Likewise.
4998 (BUS_ADRALN): Likewise.
4999 (BUS_ADRERR): Likewise.
5000 (BUS_OBJERR): Likewise.
5001 (BUS_MCEERR_AR): Likewise.
5002 (BUS_MCEERR_AO): Likewise.
5003 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5004 (TRAP_TRACE): Likewise.
5005 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5007 (CLD_KILLED): Likewise.
5008 (CLD_DUMPED): Likewise.
5009 (CLD_TRAPPED): Likewise.
5010 (CLD_STOPPED): Likewise.
5011 (CLD_CONTINUED): Likewise.
5012 (POLL_IN): Likewise.
5013 (POLL_OUT): Likewise.
5014 (POLL_MSG): Likewise.
5015 (POLL_ERR): Likewise.
5016 (POLL_PRI): Likewise.
5017 (POLL_HUP): Likewise.
5018 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5019 (ILL_ILLOPN): Likewise.
5020 (ILL_ILLADR): Likewise.
5021 (ILL_ILLTRP): Likewise.
5022 (ILL_PRVOPC): Likewise.
5023 (ILL_PRVREG): Likewise.
5024 (ILL_COPROC): Likewise.
5025 (ILL_BADSTK): Likewise.
5026 (ILL_DBLFLT): Likewise.
5027 (ILL_HARDWALL): Likewise.
5028 (FPE_INTDIV): Likewise.
5029 (FPE_INTOVF): Likewise.
5030 (FPE_FLTDIV): Likewise.
5031 (FPE_FLTOVF): Likewise.
5032 (FPE_FLTUND): Likewise.
5033 (FPE_FLTRES): Likewise.
5034 (FPE_FLTINV): Likewise.
5035 (FPE_FLTSUB): Likewise.
5036 (SEGV_MAPERR): Likewise.
5037 (SEGV_ACCERR): Likewise.
5038 (BUS_ADRALN): Likewise.
5039 (BUS_ADRERR): Likewise.
5040 (BUS_OBJERR): Likewise.
5041 (BUS_MCEERR_AR): Likewise.
5042 (BUS_MCEERR_AO): Likewise.
5043 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5044 (TRAP_TRACE): Likewise.
5045 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5047 (CLD_KILLED): Likewise.
5048 (CLD_DUMPED): Likewise.
5049 (CLD_TRAPPED): Likewise.
5050 (CLD_STOPPED): Likewise.
5051 (CLD_CONTINUED): Likewise.
5052 (POLL_IN): Likewise.
5053 (POLL_OUT): Likewise.
5054 (POLL_MSG): Likewise.
5055 (POLL_ERR): Likewise.
5056 (POLL_PRI): Likewise.
5057 (POLL_HUP): Likewise.
5058 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5059 (ILL_ILLOPN): Likewise.
5060 (ILL_ILLADR): Likewise.
5061 (ILL_ILLTRP): Likewise.
5062 (ILL_PRVOPC): Likewise.
5063 (ILL_PRVREG): Likewise.
5064 (ILL_COPROC): Likewise.
5065 (ILL_BADSTK): Likewise.
5066 (FPE_INTDIV): Likewise.
5067 (FPE_INTOVF): Likewise.
5068 (FPE_FLTDIV): Likewise.
5069 (FPE_FLTOVF): Likewise.
5070 (FPE_FLTUND): Likewise.
5071 (FPE_FLTRES): Likewise.
5072 (FPE_FLTINV): Likewise.
5073 (FPE_FLTSUB): Likewise.
5074 (SEGV_MAPERR): Likewise.
5075 (SEGV_ACCERR): Likewise.
5076 (BUS_ADRALN): Likewise.
5077 (BUS_ADRERR): Likewise.
5078 (BUS_OBJERR): Likewise.
5079 (BUS_MCEERR_AR): Likewise.
5080 (BUS_MCEERR_AO): Likewise.
5081 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5082 (TRAP_TRACE): Likewise.
5083 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5085 (CLD_KILLED): Likewise.
5086 (CLD_DUMPED): Likewise.
5087 (CLD_TRAPPED): Likewise.
5088 (CLD_STOPPED): Likewise.
5089 (CLD_CONTINUED): Likewise.
5090 (POLL_IN): Likewise.
5091 (POLL_OUT): Likewise.
5092 (POLL_MSG): Likewise.
5093 (POLL_ERR): Likewise.
5094 (POLL_PRI): Likewise.
5095 (POLL_HUP): Likewise.
5096 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5097 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5100 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5101 before #include of <time.h>.
5102 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5103 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5104 (test-xfail-UNIX98/sched.h/conform): Likewise.
5106 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5108 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5109 error absence of trapping exception support.
5110 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5112 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5114 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5115 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5116 * timezone/Makefile (testdata): Move definition above include of
5118 (test-zones): New variable.
5119 (tests-special): Add zone files.
5120 (build-testdata): Use $(evaluate-test).
5122 * elf/Makefile (tests-special): Rename tests to end with .out.
5123 ($(objpfx)noload-mem): Likewise.
5124 ($(objpfx)tst-leaks1-mem): Likewise.
5125 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5126 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5127 $(objpfx)test-iconvconfig.out.
5128 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5129 set -e inside subshell and redirect output to file.
5130 * iconvdata/Makefile (generated): Rename tests to end with .out.
5132 (tests-special): Rename tests to end with .out.
5133 ($(objpfx)mtrace-tst-loading): Likewise.
5134 * intl/Makefile (generated): Likewise.
5135 (tests-special): Likewise.
5136 ($(objpfx)mtrace-tst-gettext): Likewise.
5137 * misc/Makefile (generated): Likewise.
5138 (tests-special): Likewise.
5139 ($(objpfx)tst-error1-mem): Likewise.
5140 * nptl/Makefile (tests-special): Likewise.
5141 ($(objpfx)tst-stack3-mem): Likewise.
5142 (generated): Likewise.
5143 * posix/Makefile (generated): Likewise.
5144 (tests-special): Likewise.
5145 (xtests-special): Likewise.
5146 ($(objpfx)tst-fnmatch-mem): Likewise.
5147 ($(objpfx)bug-regex2-mem): Likewise.
5148 ($(objpfx)bug-regex14-mem): Likewise.
5149 ($(objpfx)bug-regex21-mem): Likewise.
5150 ($(objpfx)bug-regex31-mem): Likewise.
5151 ($(objpfx)tst-vfork3-mem): Likewise.
5152 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5153 ($(objpfx)tst-pcre-mem): Likewise.
5154 ($(objpfx)tst-boost-mem): Likewise.
5155 ($(objpfx)bug-ga2-mem): Likewise.
5156 ($(objpfx)bug-glob2-mem): Likewise.
5157 * resolv/Makefile (generate): Likewise.
5158 (tests-special): Likewise.
5159 (xtests-special): Likewise.
5160 (generated): Likewise.
5161 ($(objpfx)mtrace-tst-leaks): Likewise.
5162 ($(objpfx)mtrace-tst-leaks2): Likewise.
5164 * scripts/merge-test-results.sh: New file.
5165 * Makefile (tests-special-notdir): New variable.
5166 (tests): Run merge-test-results.sh.
5168 * Rules (tests-special-notdir): New variable.
5169 (xtests-special-notdir): Likewise.
5170 (tests): Run merge-test-results.sh
5173 * Makeconfig (test-xfail-name): New variable.
5174 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5175 compute variable name for expected failures.
5176 * conform/Makefile (conformtest-headers-data): New variable.
5177 (conformtest-standards): Likewise.
5178 (conformtest-headers-ISO): Likewise.
5179 (conformtest-headers-ISO99): Likewise.
5180 (conformtest-headers-ISO11): Likewise.
5181 (conformtest-headers-POSIX): Likewise.
5182 (conformtest-headers-XPG3): Likewise.
5183 (conformtest-headers-XPG4): Likewise.
5184 (conformtest-headers-UNIX98): Likewise.
5185 (conformtest-headers-XOPEN2K): Likewise.
5186 (conformtest-headers-POSIX2008): Likewise.
5187 (conformtest-headers-XOPEN2K8): Likewise.
5188 (conformtest-header-list-base): Likewise.
5189 (conformtest-header-list-tests): Likewise.
5190 (conformtest-header-base): Likewise.
5191 (conformtest-header-tests): Likewise.
5192 (tests-special): Add $(conformtest-header-list-tests). If
5193 [$(fast-check) && !$(cross-compiling)], add
5194 $(conformtest-header-tests) instead of
5195 $(objpfx)run-conformtest.out.
5196 (generated): Add $(conformtest-header-list-base). If
5197 [$(fast-check) && !$(cross-compiling)], add
5198 $(conformtest-header-base). Remove previous setting.
5199 ($(conformtest-header-list-tests)): New target.
5200 (test-xfail-run-conformtest): Remove variable.
5201 ($(objpfx)run-conformtest.out): Remove target.
5202 (test-xfail-ISO11/complex.h/conform): New variable.
5203 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5204 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5205 (test-xfail-XPG3/varargs.h/conform): Likewise.
5206 (test-xfail-XPG4/varargs.h/conform): Likewise.
5207 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5208 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5209 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5210 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5211 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5212 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5213 (test-xfail-XPG3/ftw.h/conform): Likewise.
5214 (test-xfail-XPG3/grp.h/conform): Likewise.
5215 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5216 (test-xfail-XPG3/limits.h/conform): Likewise.
5217 (test-xfail-XPG3/pwd.h/conform): Likewise.
5218 (test-xfail-XPG3/search.h/conform): Likewise.
5219 (test-xfail-XPG3/signal.h/conform): Likewise.
5220 (test-xfail-XPG3/stdio.h/conform): Likewise.
5221 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5222 (test-xfail-XPG3/string.h/conform): Likewise.
5223 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5224 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5225 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5226 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5227 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5228 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5229 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5230 (test-xfail-XPG3/termios.h/conform): Likewise.
5231 (test-xfail-XPG3/time.h/conform): Likewise.
5232 (test-xfail-XPG3/unistd.h/conform): Likewise.
5233 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5234 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5235 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5236 (test-xfail-XPG4/netdb.h/conform): Likewise.
5237 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5238 (test-xfail-XPG4/signal.h/conform): Likewise.
5239 (test-xfail-XPG4/stdio.h/conform): Likewise.
5240 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5241 (test-xfail-XPG4/stropts.h/conform): Likewise.
5242 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5243 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5244 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5245 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5246 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5247 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5248 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5249 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5250 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5251 (test-xfail-XPG4/termios.h/conform): Likewise.
5252 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5253 (test-xfail-XPG4/unistd.h/conform): Likewise.
5254 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5255 (test-xfail-POSIX/sched.h/conform): Likewise.
5256 (test-xfail-POSIX/signal.h/conform): Likewise.
5257 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5258 (test-xfail-POSIX/tar.h/conform): Likewise.
5259 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5260 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5261 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5262 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5263 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5264 (test-xfail-UNIX98/sched.h/conform): Likewise.
5265 (test-xfail-UNIX98/signal.h/conform): Likewise.
5266 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5267 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5268 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5269 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5270 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5271 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5272 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5273 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5274 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5275 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5276 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5277 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5278 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5279 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5280 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5281 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5282 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5283 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5284 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5285 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5286 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5287 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5288 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5289 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5290 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5291 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5292 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5293 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5294 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5295 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5296 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5297 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5298 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5299 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5300 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5301 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5302 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5303 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5304 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5305 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5306 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5307 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5308 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5309 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5310 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5311 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5312 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5313 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5314 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5315 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5316 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5317 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5318 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5319 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5320 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5321 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5322 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5323 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5324 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5325 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5326 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5327 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5328 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5329 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5330 (conformtest-cc-flags): Likewise.
5331 ($(conformtest-header-tests): New target.
5332 * conform/check-header-lists.sh: New file.
5333 * conform/run-conformtest.sh: Remove.
5335 * conform/conformtest.pl: Allow ' and \ in values given for
5337 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5339 [POSIX] (sys/types.h): Likewise.
5340 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5342 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5344 * conform/data/signal.h-data (SIGIO): Remove expectation.
5345 [XPG3] (SIGBUS): Do not expect.
5346 [POSIX || XPG3] (SIGPOLL): Likewise.
5347 [POSIX || XPG3] (SIGPROF): Likewise.
5348 [POSIX || XPG3] (SIGSYS): Likewise.
5349 [XPG3] (SIGTRAP): Likewise.
5350 [POSIX || XPG3] (SIGURG): Likewise.
5351 [POSIX || XPG3] (SIGVTALRM): Likewise.
5352 [POSIX || XPG3] (SIGXCPU): Likewise.
5353 [POSIX || XPG3] (SIGXFSZ): Likewise.
5354 [POSIX] (SA_SIGINFO): Expect.
5355 [XPG3] (siginfo_t): Do not expect type or contents.
5356 [POSIX] (si_pid): Do not expect element.
5357 [POSIX] (si_uid): Likewise.
5358 [POSIX] (si_addr): Likewise.
5359 [POSIX] (si_status): Likewise.
5360 [POSIX] (si_band): Likewise.
5361 [XPG4] (si_value): Likewise.
5362 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5363 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5364 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5365 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5366 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5367 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5368 [POSIX || XPG3] (ILL_COPROC): Likewise.
5369 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5370 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5371 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5372 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5373 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5374 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5375 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5376 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5377 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5378 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5379 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5380 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5381 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5382 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5383 [POSIX || XPG3] (CLD_EXITED): Likewise.
5384 [POSIX || XPG3] (CLD_KILLED): Likewise.
5385 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5386 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5387 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5388 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5389 [POSIX || XPG3] (POLL_IN): Likewise.
5390 [POSIX || XPG3] (POLL_OUT): Likewise.
5391 [POSIX || XPG3] (POLL_MSG): Likewise.
5392 [POSIX || XPG3] (POLL_ERR): Likewise.
5393 [POSIX || XPG3] (POLL_PRI): Likewise.
5394 [POSIX || XPG3] (POLL_HUP): Likewise.
5395 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5396 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5397 (SIG*): Do not allow.
5398 [XPG3] (si_*): Likewise.
5399 [XPG3] (SI_*): Likewise.
5400 [XPG3 || XPG4] (sigev_*): Likewise.
5401 [XPG3 || XPG4] (SIGEV_*): Likewise.
5402 [XPG3 || XPG4] (sival_*): Likewise.
5403 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5404 [POSIX || XPG3] (BUS_*): Likewise.
5405 [POSIX || XPG3] (CLD_*): Likewise.
5406 [POSIX || XPG3] (FPE_*): Likewise.
5407 [POSIX || XPG3] (ILL_*): Likewise.
5408 [POSIX || XPG3] (POLL_*): Likewise.
5409 [POSIX || XPG3] (SEGV_*): Likewise.
5410 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5411 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5412 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5413 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5414 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5415 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5416 Specify type and value.
5417 (TVERSLEN): Likewise.
5418 (REGTYPE): Likewise.
5419 (AREGTYPE): Likewise.
5420 (LNKTYPE): Likewise.
5421 (SYMTYPE): Likewise.
5422 (CHRTYPE): Likewise.
5423 (BLKTYPE): Likewise.
5424 (DIRTYPE): Likewise.
5425 (FIFOTYPE): Likewise.
5426 (CONTTYPE): Likewise.
5431 (TUWRITE): Likewise.
5434 (TGWRITE): Likewise.
5437 (TOWRITE): Likewise.
5439 [POSIX] (TSVTX): Expect constant.
5441 2014-03-06 Joseph Myers <joseph@codesourcery.com>
5443 * Makefile (tests): Change dependencies to ....
5444 (tests-special): ... additions to this variable.
5445 (tests): Depend on $(tests-special).
5446 * Makerules (check-abi-list): New variable.
5447 (check-abi): Depend on $(check-abi-list).
5448 [$(subdir) = elf] (tests-special): Add
5449 $(objpfx)check-abi-libc.out.
5450 [$(build-shared) = yes && subdir] (tests-special): Add
5452 [$(build-shared) = yes && subdir] (tests): Do not depend on
5454 * Rules (tests): Depend on $(tests-special).
5455 (xtests): Depend on $(xtests-special).
5456 * catgets/Makefile (tests): Change dependencies to ....
5457 (tests-special): ... additions to this variable.
5458 * conform/Makefile (tests): Change dependencies to ....
5459 (tests-special): ... additions to this variable.
5460 * elf/Makefile (tests): Change dependencies to ....
5461 (tests-special): ... additions to this variable.
5462 * grp/Makefile (tests): Change dependencies to ....
5463 (tests-special): ... additions to this variable.
5464 * iconv/Makefile (xtests): Change dependencies to ....
5465 (xtests-special): ... additions to this variable.
5466 * iconvdata/Makefile (tests): Change dependencies to ....
5467 (tests-special): ... additions to this variable.
5468 * intl/Makefile (tests): Change dependencies to ....
5469 (tests-special): ... additions to this variable. Also add
5470 $(objpfx)tst-gettext.out.
5471 * io/Makefile (tests): Change dependencies to ....
5472 (tests-special): ... additions to this variable.
5473 * libio/Makefile (tests): Change dependencies to ....
5474 (tests-special): ... additions to this variable.
5475 * malloc/Makefile (tests): Change dependencies to ....
5476 (tests-special): ... additions to this variable.
5477 * misc/Makefile (tests): Change dependencies to ....
5478 (tests-special): ... additions to this variable.
5479 * nptl/Makefile (tests): Change dependencies to ....
5480 (tests-special): ... additions to this variable.
5481 * nptl_db/Makefile (tests): Change dependencies to ....
5482 (tests-special): ... additions to this variable.
5483 * posix/Makefile (tests): Change dependencies to ....
5484 (tests-special): ... additions to this variable.
5485 (xtests): Change dependencies to ....
5486 (xtests-special): ... additions to this variable.
5487 * resolv/Makefile (tests): Change dependencies to ....
5488 (tests-special): ... additions to this variable.
5489 (xtests): Change dependencies to ....
5490 (xtests-special): ... additions to this variable.
5491 * stdio-common/Makefile (tests): Change dependencies to ....
5492 (tests-special): ... additions to this variable.
5493 (do-tst-unbputc): Remove target.
5494 (do-tst-printf): Likewise.
5495 * stdlib/Makefile (tests): Change dependencies to ....
5496 (tests-special): ... additions to this variable.
5497 * string/Makefile (tests): Change dependencies to ....
5498 (tests-special): ... additions to this variable.
5499 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5500 (tests-special): ... additions to this variable.
5502 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5504 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5506 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5507 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5509 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5510 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5511 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5512 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5513 * conform/data/libgen.h-data [XPG3]: Likewise.
5514 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5515 * conform/data/ndbm.h-data [XPG3]: Likewise.
5516 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5517 * conform/data/netdb.h-data [XPG3]: Likewise.
5518 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5519 * conform/data/poll.h-data [XPG3]: Likewise.
5520 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5521 * conform/data/strings.h-data [XPG3]: Likewise.
5522 * conform/data/stropts.h-data [XPG3]: Likewise.
5523 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5524 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5525 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5527 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5528 * conform/data/sys/time.h-data [XPG3]: Likewise.
5529 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5530 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5531 * conform/data/sys/un.h-data [XPG3]: Likewise.
5532 * conform/data/syslog.h-data [XPG3]: Likewise.
5533 * conform/data/ucontext.h-data [XPG3]: Likewise.
5534 * conform/data/utmpx.h-data [XPG3]: Likewise.
5535 * conform/data/varargs.h-data [UNIX98]: Enable file.
5537 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5539 * math/libm-test.inc (struct test_f_f_data): Move expected results
5540 into structure for each rounding mode.
5541 (struct test_ff_f_data): Likewise.
5542 (struct test_ff_f_data_nexttoward): Likewise.
5543 (struct test_fi_f_data): Likewise.
5544 (struct test_fl_f_data): Likewise.
5545 (struct test_if_f_data): Likewise.
5546 (struct test_fff_f_data): Likewise.
5547 (struct test_c_f_data): Likewise.
5548 (struct test_f_f1_data): Likewise.
5549 (struct test_fF_f1_data): Likewise.
5550 (struct test_ffI_f1_data): Likewise.
5551 (struct test_c_c_data): Likewise.
5552 (struct test_cc_c_data): Likewise.
5553 (struct test_f_i_data): Likewise.
5554 (struct test_ff_i_data): Likewise.
5555 (struct test_f_l_data): Likewise.
5556 (struct test_f_L_data): Likewise.
5557 (struct test_fFF_11_data): Likewise.
5559 (RM_FE_DOWNWARD): Likewise.
5560 (RM_FE_TONEAREST): Likewise.
5561 (RM_FE_TOWARDZERO): Likewise.
5562 (RM_FE_UPWARD): Likewise.
5563 (RUN_TEST_LOOP_f_f): Update references to expected results.
5564 (RUN_TEST_LOOP_2_f): Likewise.
5565 (RUN_TEST_LOOP_fff_f): Likewise.
5566 (RUN_TEST_LOOP_c_f): Likewise.
5567 (RUN_TEST_LOOP_f_f1): Likewise.
5568 (RUN_TEST_LOOP_fF_f1): Likewise.
5569 (RUN_TEST_LOOP_fI_f1): Likewise.
5570 (RUN_TEST_LOOP_ffI_f1): Likewise.
5571 (RUN_TEST_LOOP_c_c): Likewise.
5572 (RUN_TEST_LOOP_cc_c): Likewise.
5573 (RUN_TEST_LOOP_f_i): Likewise.
5574 (RUN_TEST_LOOP_f_i_tg): Likewise.
5575 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5576 (RUN_TEST_LOOP_f_b): Likewise.
5577 (RUN_TEST_LOOP_f_b_tg): Likewise.
5578 (RUN_TEST_LOOP_f_l): Likewise.
5579 (RUN_TEST_LOOP_f_L): Likewise.
5580 (RUN_TEST_LOOP_fFF_11): Likewise.
5581 * math/gen-libm-test.pl (parse_args): Output four copies of
5582 expected results for each test.
5584 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5585 (__ASSUME_UTIMES): Remove.
5586 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5587 (__ASSUME_UTIMES): Likewise.
5589 * math/gen-auto-libm-tests.c: Update comment on output format.
5590 (output_for_one_input_case): Generate before-rounding and
5591 after-rounding information as conditions on output flags not
5592 floating-point format.
5593 * math/auto-libm-test-out: Regenerated.
5594 * math/gen-libm-test.pl (cond_value): New function.
5595 (or_cond_value): Use cond_value.
5596 (generate_testfile): Handle conditional exceptions.
5598 2014-03-05 Joseph Myers <joseph@codesourcery.com>
5600 * math/libm-test.inc (max_valid_error): New variable.
5601 (init_max_error): Take new argument specifying whether function
5602 results are exactly determined. Set max_valid_error and bound
5603 other variables for errors based on this argument.
5604 (set_max_error): Do not record results above max_valid_error.
5605 (check_float_internal): Only accept errors of up to 0.5ulps if
5606 also at most max_valid_error.
5607 (START): Take new argument EXACT and pass it to init_max_error.
5608 (acos_test): Update call to START.
5609 (acos_test_tonearest): Likewise.
5610 (acos_test_towardzero): Likewise.
5611 (acos_test_downward): Likewise.
5612 (acos_test_upward): Likewise.
5613 (acosh_test): Likewise.
5614 (asin_test): Likewise.
5615 (asin_test_tonearest): Likewise.
5616 (asin_test_towardzero): Likewise.
5617 (asin_test_downward): Likewise.
5618 (asin_test_upward): Likewise.
5619 (asinh_test): Likewise.
5620 (atan_test): Likewise.
5621 (atanh_test): Likewise.
5622 (atan2_test): Likewise.
5623 (cabs_test): Likewise.
5624 (cacos_test): Likewise.
5625 (cacosh_test): Likewise.
5626 (carg_test): Likewise.
5627 (casin_test): Likewise.
5628 (casinh_test): Likewise.
5629 (catan_test): Likewise.
5630 (catanh_test): Likewise.
5631 (cbrt_test): Likewise.
5632 (ccos_test): Likewise.
5633 (ccosh_test): Likewise.
5634 (ceil_test): Likewise.
5635 (cexp_test): Likewise.
5636 (cimag_test): Likewise.
5637 (clog_test): Likewise.
5638 (clog10_test): Likewise.
5639 (conj_test): Likewise.
5640 (copysign_test): Likewise.
5641 (cos_test): Likewise.
5642 (cos_test_tonearest): Likewise.
5643 (cos_test_towardzero): Likewise.
5644 (cos_test_downward): Likewise.
5645 (cos_test_upward): Likewise.
5646 (cosh_test): Likewise.
5647 (cosh_test_tonearest): Likewise.
5648 (cosh_test_towardzero): Likewise.
5649 (cosh_test_downward): Likewise.
5650 (cosh_test_upward): Likewise.
5651 (cpow_test): Likewise.
5652 (cproj_test): Likewise.
5653 (creal_test): Likewise.
5654 (csin_test): Likewise.
5655 (csinh_test): Likewise.
5656 (csqrt_test): Likewise.
5657 (ctan_test): Likewise.
5658 (ctan_test_tonearest): Likewise.
5659 (ctan_test_towardzero): Likewise.
5660 (ctan_test_downward): Likewise.
5661 (ctan_test_upward): Likewise.
5662 (ctanh_test): Likewise.
5663 (ctanh_test_tonearest): Likewise.
5664 (ctanh_test_towardzero): Likewise.
5665 (ctanh_test_downward): Likewise.
5666 (ctanh_test_upward): Likewise.
5667 (erf_test): Likewise.
5668 (erfc_test): Likewise.
5669 (exp_test): Likewise.
5670 (exp_test_tonearest): Likewise.
5671 (exp_test_towardzero): Likewise.
5672 (exp_test_downward): Likewise.
5673 (exp_test_upward): Likewise.
5674 (exp10_test): Likewise.
5675 (exp10_test_tonearest): Likewise.
5676 (exp10_test_towardzero): Likewise.
5677 (exp10_test_downward): Likewise.
5678 (exp10_test_upward): Likewise.
5679 (pow10_test): Likewise.
5680 (exp2_test): Likewise.
5681 (expm1_test): Likewise.
5682 (expm1_test_tonearest): Likewise.
5683 (expm1_test_towardzero): Likewise.
5684 (expm1_test_downward): Likewise.
5685 (expm1_test_upward): Likewise.
5686 (fabs_test): Likewise.
5687 (fdim_test): Likewise.
5688 (floor_test): Likewise.
5689 (fma_test): Likewise.
5690 (fma_test_towardzero): Likewise.
5691 (fma_test_downward): Likewise.
5692 (fma_test_upward): Likewise.
5693 (fmax_test): Likewise.
5694 (fmin_test): Likewise.
5695 (fmod_test): Likewise.
5696 (fpclassify_test): Likewise.
5697 (frexp_test): Likewise.
5698 (hypot_test): Likewise.
5699 (ilogb_test): Likewise.
5700 (isfinite_test): Likewise.
5701 (finite_test): Likewise.
5702 (isgreater_test): Likewise.
5703 (isgreaterequal_test): Likewise.
5704 (isinf_test): Likewise.
5705 (isless_test): Likewise.
5706 (islessequal_test): Likewise.
5707 (islessgreater_test): Likewise.
5708 (isnan_test): Likewise.
5709 (isnormal_test): Likewise.
5710 (issignaling_test): Likewise.
5711 (isunordered_test): Likewise.
5712 (j0_test): Likewise.
5713 (j1_test): Likewise.
5714 (jn_test): Likewise.
5715 (ldexp_test): Likewise.
5716 (lgamma_test): Likewise.
5717 (gamma_test): Likewise.
5718 (lrint_test): Likewise.
5719 (lrint_test_tonearest): Likewise.
5720 (lrint_test_towardzero): Likewise.
5721 (lrint_test_downward): Likewise.
5722 (lrint_test_upward): Likewise.
5723 (llrint_test): Likewise.
5724 (llrint_test_tonearest): Likewise.
5725 (llrint_test_towardzero): Likewise.
5726 (llrint_test_downward): Likewise.
5727 (llrint_test_upward): Likewise.
5728 (log_test): Likewise.
5729 (log10_test): Likewise.
5730 (log1p_test): Likewise.
5731 (log2_test): Likewise.
5732 (logb_test): Likewise.
5733 (logb_test_downward): Likewise.
5734 (lround_test): Likewise.
5735 (llround_test): Likewise.
5736 (modf_test): Likewise.
5737 (nearbyint_test): Likewise.
5738 (nextafter_test): Likewise.
5739 (nexttoward_test): Likewise.
5740 (pow_test): Likewise.
5741 (pow_test_tonearest): Likewise.
5742 (pow_test_towardzero): Likewise.
5743 (pow_test_downward): Likewise.
5744 (pow_test_upward): Likewise.
5745 (remainder_test): Likewise.
5746 (drem_test): Likewise.
5747 (remainder_test_tonearest): Likewise.
5748 (drem_test_tonearest): Likewise.
5749 (remainder_test_towardzero): Likewise.
5750 (drem_test_towardzero): Likewise.
5751 (remainder_test_downward): Likewise.
5752 (drem_test_downward): Likewise.
5753 (remainder_test_upward): Likewise.
5754 (drem_test_upward): Likewise.
5755 (remquo_test): Likewise.
5756 (rint_test): Likewise.
5757 (rint_test_tonearest): Likewise.
5758 (rint_test_towardzero): Likewise.
5759 (rint_test_downward): Likewise.
5760 (rint_test_upward): Likewise.
5761 (round_test): Likewise.
5762 (scalb_test): Likewise.
5763 (scalbn_test): Likewise.
5764 (scalbln_test): Likewise.
5765 (signbit_test): Likewise.
5766 (sin_test): Likewise.
5767 (sin_test_tonearest): Likewise.
5768 (sin_test_towardzero): Likewise.
5769 (sin_test_downward): Likewise.
5770 (sin_test_upward): Likewise.
5771 (sincos_test): Likewise.
5772 (sinh_test): Likewise.
5773 (sinh_test_tonearest): Likewise.
5774 (sinh_test_towardzero): Likewise.
5775 (sinh_test_downward): Likewise.
5776 (sinh_test_upward): Likewise.
5777 (sqrt_test): Likewise.
5778 (sqrt_test_tonearest): Likewise.
5779 (sqrt_test_towardzero): Likewise.
5780 (sqrt_test_downward): Likewise.
5781 (sqrt_test_upward): Likewise.
5782 (tan_test): Likewise.
5783 (tan_test_tonearest): Likewise.
5784 (tan_test_towardzero): Likewise.
5785 (tan_test_downward): Likewise.
5786 (tan_test_upward): Likewise.
5787 (tanh_test): Likewise.
5788 (tgamma_test): Likewise.
5789 (trunc_test): Likewise.
5790 (y0_test): Likewise.
5791 (y1_test): Likewise.
5792 (yn_test): Likewise.
5793 (significand_test): Likewise.
5795 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5796 individual tests in comment.
5797 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5798 (prev_max_error): New variable.
5799 (prev_real_max_error): Likewise.
5800 (prev_imag_max_error): Likewise.
5801 (compare_ulp_data): Don't refer to test names in comment.
5802 (find_test_ulps): Remove function.
5803 (find_function_ulps): Likewise.
5804 (find_complex_function_ulps): Likewise.
5805 (init_max_error): Take function name as argument. Look up ulps
5807 (print_ulps): Remove function.
5808 (print_max_error): Use prev_max_error instead of calling
5810 (print_complex_max_error): Use prev_real_max_error and
5811 prev_imag_max_error instead of calling find_complex_function_ulps.
5812 (check_float_internal): Take max_ulp parameter instead of calling
5813 find_test_ulps. Don't call print_ulps.
5814 (check_float): Update call to check_float_internal.
5815 (check_complex): Update calls to check_float_internal.
5816 (START): Pass argument to init_max_error.
5817 * math/gen-libm-test.pl (%results): Don't include "kind"
5819 (parse_ulps): Don't handle ulps of individual tests.
5820 (print_ulps_file): Likewise.
5821 (output_ulps): Likewise.
5822 * math/README.libm-test: Update.
5823 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5825 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5826 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5827 * sysdeps/arm/libm-test-ulps: Likewise.
5828 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5829 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5830 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5831 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5832 * sysdeps/microblaze/libm-test-ulps: Likewise.
5833 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5834 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5835 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5836 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5837 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5838 * sysdeps/sh/libm-test-ulps: Likewise.
5839 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5840 * sysdeps/tile/libm-test-ulps: Likewise.
5841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5843 2014-03-04 Joseph Myers <joseph@codesourcery.com>
5845 * math/libm-test.inc (print_complex_max_error): Check separately
5846 whether real and imaginary errors are within allowed range and
5847 pass 0 to print_complex_function_ulps instead of value within
5850 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5852 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5854 (get_handles_fopen): Likewise.
5855 (do_write_test): Likewise.
5857 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5859 * libio/fileops.c (do_ftell): Use cached offset when
5861 * libio/iofwide.c (do_ftell_wide): Likewise.
5862 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5864 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5867 * libio/libioP.h (get_file_offset): New function.
5868 * libio/fileops.c (get_file_offset): Likewise.
5869 (do_ftell): Likewise.
5870 (_IO_new_file_seekoff): Split out ftell logic.
5871 * libio/wfileops.c (do_ftell_wide): Likewise.
5872 (_IO_wfile_seekoff): Split out ftell logic.
5873 * libio/tst-ftell-active-handler.c: New test case.
5874 * libio/Makefile (tests): Add it.
5876 2014-03-03 Roland McGrath <roland@hack.frob.com>
5878 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5879 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5881 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5884 * nscd/connections.c (nscd_init): Call do_exit.
5885 (start_threads): Call do_exit and notify_parent.
5886 (begin_drop_privileges): Call do_exit.
5887 (finish_drop_privileges): Likewise.
5888 * nscd/selinux.c (preserve_capabilities): Likewise.
5889 (install_real_capabilities): Likewise.
5890 (nscd_selinux_enabled): Likewise.
5891 (avc_create_thread): Likewise.
5892 (avc_alloc_lock): Likewise.
5893 (nscd_avc_init): Likewise.
5894 * nscd/nscd.c (parent_fd): New static variable.
5895 (main): Create a pipe between parent and child processes.
5896 Skip closing parent_fd.
5897 (monitor_child): New function.
5898 (do_exit): Likewise.
5899 (notify_parent): Likewise.
5900 * nscd/nscd.h (notify_parent): Likewise.
5901 (do_exit): Likewise.
5903 2014-03-03 Carlos O'Donell <carlos@redhat.com>
5905 * malloc/malloc.c (__libc_calloc): Revert last change.
5907 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5911 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5913 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5914 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5916 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5917 (__libc_ifunc_impl_list): Likewise.
5918 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5919 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5920 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5921 * string/strrchr.c: Define STRRCHR.
5923 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
5925 * benchtest/bench-strtok.c (simple_strtok): Delete.
5926 (strtok_string): Use as benchmark.
5927 * string/strtok (STRTOK): New macro.
5929 2014-02-28 Carlos O'Donell <carlos@redhat.com>
5931 * manual/threads.texi: Add header and standard comments to all
5934 * elf/dl-lookup.c (check_match): New function.
5935 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5936 (do_lookup_x): Remove nested function check_match. Use non-nested
5937 function check_match.
5939 2014-02-28 Roland McGrath <roland@hack.frob.com>
5941 * csu/Makefile (generated, before-compile): Use += rather than =.
5942 * catgets/Makefile (generated, generated-dirs): Likewise.
5943 * debug/Makefile (generated): Likewise.
5944 * dlfcn/Makefile (generated): Likewise.
5945 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5946 * iconvdata/Makefile (before-compile, generated): Likewise.
5947 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5948 * libio/Makefile (generated): Likewise.
5949 * malloc/Makefile (generated): Likewise.
5950 * manual/Makefile (generated, generated-dirs): Likewise.
5951 * misc/Makefile (generated): Likewise.
5952 * posix/Makefile (generated): Likewise.
5953 * resolv/Makefile (generated): Likewise.
5954 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5955 * timezone/Makefile (generated, generated-dirs): Likewise.
5957 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5959 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5961 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5962 power8 implementation.
5963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5964 file: POWER8 llround ifunc implementation.
5965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5966 (__lllround): Add POWER8 implementation.
5967 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5968 POWER8 llround implementation.
5970 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5971 power8 implementation.
5972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5973 file: POWER8 llrint ifunc implementation.
5974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5975 Add POWER8 implementation.
5976 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5977 POWER8 llrint implementation.
5979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5980 power8 implementation.
5981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5982 file: POWER8 finite ifunc implementation.
5983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5984 Add POWER8 implementation.
5985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5987 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5988 POWER8 finite implementation.
5989 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5991 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5992 power8 implementation.
5993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5994 file: POWER8 isinf ifunc implementation.
5995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5996 POWER8 implementation.
5997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5999 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6000 isinf implementation.
6001 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6003 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6004 (INIT_ARCH): Add hwcap2 initialization.
6005 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6006 power8 implementation.
6007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6008 file: POWER8 isnan ifunc implementation.
6009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6010 POWER8 implementation.
6011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6013 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6014 isnan implementation.
6015 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6017 2014-02-27 Joey Ye <joey.ye@arm.com>
6019 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6020 (_FP_NANFRAC_Q): Set to zero.
6022 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6025 * math/auto-libm-test-in: New test inputs.
6026 * math/auto-libm-test-out: Regenerate.
6027 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6030 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6032 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6034 * scripts/evaluate-test.sh: Take new argument indicating whether
6035 failure is expected.
6036 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6037 indicating whether failure is expected.
6038 * conform/Makefile (test-xfail-run-conformtest): New variable.
6039 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6041 * posix/Makefile (test-xfail-annexc): New variable.
6042 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6044 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6046 * argp/Makefile: Include Makeconfig immediately after defining
6048 * assert/Makefile: Likewise.
6049 * benchtests/Makefile: Likewise.
6050 * catgets/Makefile: Likewise.
6051 * conform/Makefile: Likewise.
6052 * crypt/Makefile: Likewise.
6053 * csu/Makefile: Likewise.
6054 (all): Remove target.
6055 * ctype/Makefile: Include Makeconfig immediately after defining
6057 * debug/Makefile: Likewise.
6058 * dirent/Makefile: Likewise.
6059 * dlfcn/Makefile: Likewise.
6060 * gmon/Makefile: Likewise.
6061 * gnulib/Makefile: Likewise.
6062 * grp/Makefile: Likewise.
6063 * gshadow/Makefile: Likewise.
6064 * hesiod/Makefile: Likewise.
6065 * hurd/Makefile: Likewise.
6066 (all): Remove target.
6067 * iconvdata/Makefile: Include Makeconfig immediately after
6069 * inet/Makefile: Likewise.
6070 * intl/Makefile: Likewise.
6071 * io/Makefile: Likewise.
6072 * libio/Makefile: Likewise.
6073 (all): Remove target.
6074 * locale/Makefile: Include Makeconfig immediately after defining
6076 * login/Makefile: Likewise.
6077 * mach/Makefile: Likewise.
6078 (all): Remove target.
6079 * malloc/Makefile: Include Makeconfig immediately after defining
6081 (all): Remove target.
6082 * manual/Makefile: Include Makeconfig immediately after defining
6084 * math/Makefile: Likewise.
6085 * misc/Makefile: Likewise.
6086 * nis/Makefile: Likewise.
6087 * nss/Makefile: Likewise.
6088 * po/Makefile: Likewise.
6089 (all): Remove target.
6090 * posix/Makefile: Include Makeconfig immediately after defining
6092 * pwd/Makefile: Likewise.
6093 * resolv/Makefile: Likewise.
6094 * resource/Makefile: Likewise.
6095 * rt/Makefile: Likewise.
6096 * setjmp/Makefile: Likewise.
6097 * shadow/Makefile: Likewise.
6098 * signal/Makefile: Likewise.
6099 * socket/Makefile: Likewise.
6100 * soft-fp/Makefile: Likewise.
6101 * stdio-common/Makefile: Likewise.
6102 * stdlib/Makefile: Likewise.
6103 * streams/Makefile: Likewise.
6104 * string/Makefile: Likewise.
6105 * sunrpc/Makefile: Likewise.
6106 (all): Remove target.
6107 * sysvipc/Makefile: Include Makeconfig immediately after defining
6109 * termios/Makefile: Likewise.
6110 * time/Makefile: Likewise.
6111 * timezone/Makefile: Likewise.
6112 (all): Remove target.
6113 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6115 * wctype/Makefile: Likewise.
6117 2014-02-26 Steve Ellcey <sellcey@mips.com>
6119 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6120 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6121 (libc_feholdexcept_setround_mips): Ditto.
6122 (libc_feholdsetround): New.
6123 (libc_feholdsetroundf): New.
6124 (libc_feholdsetroundl): New.
6125 (libc_feupdateenv_test_mips): New.
6126 (libc_feupdateenv_test): New.
6127 (libc_feupdateenv_testf): New.
6128 (libc_feupdateenv_testl): New.
6129 (libc_feresetround): New.
6130 (libc_feresetroundf): New.
6131 (libc_feresetroundl): New.
6132 (libc_fetestexcept_mips): New.
6133 (libc_fetestexcept): New.
6134 (libc_fetestexceptf): New.
6135 (libc_fetestexceptl): New.
6137 (libc_feholdexcept_setround_mips_ctx): New.
6138 (libc_feholdexcept_setround_ctx): New.
6139 (libc_feholdexcept_setroundf_ctx): New.
6140 (libc_feholdexcept_setroundl_ctx): New.
6141 (libc_fesetenv_mips_ctx): New.
6142 (libc_fesetenv_ctx): New.
6143 (libc_fesetenv_ctxf): New.
6144 (libc_fesetenv_ctxl): New.
6145 (libc_feupdateenv_mips_ctx): New.
6146 (libc_feupdateenv_ctx): New.
6147 (libc_feupdateenvf_ctx): New.
6148 (libc_feupdateenvl_ctx): New.
6149 (libc_feholdsetround_mips_ctx): New.
6150 (libc_feholdsetround_ctx): New.
6151 (libc_feholdsetroundf_ctx): New.
6152 (libc_feholdsetroundl_ctx): New.
6153 (libc_feresetround_mips_ctx): New.
6154 (libc_feresetround_ctx): New.
6155 (libc_feresetroundf_ctx): New.
6156 (libc_feresetroundl_ctx): New.
6158 2014-02-26 Carlos O'Donell <carlos@redhat.com>
6160 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6162 * manual/ipc.texi: New file.
6163 * manual/Makefile (chapters): Add ipc.
6164 * manual/job.texi: Add "Inter-Process Communication" to next.
6165 * manual/process.texi: Add "Inter-Process Communication" to prev.
6167 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6171 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
6173 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6175 * manual/arith.texi: Fix spaces after sentences.
6176 * manual/charset.texi: Likewise.
6177 * manual/errno.texi: Likewise.
6178 * manual/install.texi: Likewise.
6179 * manual/llio.texi: Likewise.
6180 * manual/locale.texi: Likewise.
6181 * manual/maint.texi: Likewise.
6182 * manual/math.texi: Likewise.
6183 * manual/memory.texi: Likewise.
6184 * manual/message.texi: Likewise.
6185 * manual/probes.texi: Likewise.
6186 * manual/resource.texi: Likewise.
6187 * manual/signal.texi: Likewise.
6188 * manual/socket.texi: Likewise.
6189 * manual/stdio.texi: Likewise.
6190 * manual/string.texi: Likewise.
6191 * manual/time.texi: Likewise.
6192 * manual/users.texi: Likewise.
6194 2014-02-25 Carlos O'Donell <carlos@redhat.com>
6197 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6198 _DEFAULT_SOURCE is defined.
6200 2014-02-25 Ulrich Drepper <drepper@gmail.com>
6201 Carlos O'Donell <carlos@redhat.com>
6204 * elf/dl-tls.c (_dl_count_modids): New function.
6205 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6206 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6207 audit library and increment generation counter.
6208 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6209 * elf/tst-audit9.c: New file.
6210 * elf/tst-auditmod9a.c: New file.
6211 * elf/tst-auditmod9b.c: New file.
6212 * elf/Makefile: Add rules to build and run tst-audit9.
6214 2014-02-25 Florian Weimer <fweimer@redhat.com>
6217 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6219 2014-02-25 Will Newton <will.newton@linaro.org>
6221 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6222 (__longjmp): Restore sp and lr before restoring callee
6223 saved registers. Add longjmp and longjmp_target
6224 SystemTap probe point.
6225 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6226 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6227 Define to zero to match jmpbuf layout.
6228 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6229 (__sigsetjmp): Save sp and lr before saving callee
6230 saved registers. Add setjmp SystemTap probe point.
6232 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6234 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6236 2014-02-24 Andreas Schwab <schwab@suse.de>
6239 * elf/pldd.c (wait_for_ptrace_stop): New function.
6240 (main): Call it after attaching.
6242 2014-02-22 Roland McGrath <roland@hack.frob.com>
6244 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6245 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6246 Versions files is now verboten.
6247 * hurd/Versions (libc: GLIBC_2.0):
6248 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6249 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6250 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6251 * mach/Versions: Likewise.
6253 * csu/Versions: Remove unused %include.
6254 * resolv/Versions: Likewise.
6256 2014-02-21 Joseph Myers <joseph@codesourcery.com>
6258 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6259 ($(objpfx)check-local-headers.out): Likewise.
6260 ($(objpfx)begin-end-check.out): Likewise.
6261 * Makerules (check-abi-%.out): Likewise.
6262 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6263 ($(objpfx)test2.cat): Likewise.
6264 ($(objpfx)de/libc.cat): Likewise.
6265 ($(objpfx)test-gencat.out): Likewise.
6266 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6267 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6268 ($(objpfx)noload-mem): Likewise.
6269 ($(objpfx)tst-pathopt.out): Likewise.
6270 ($(objpfx)tst-rtld-load-self.out): Likewise.
6271 ($(objpfx)tst-array1-cmp.out): Likewise.
6272 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6273 ($(objpfx)tst-array2-cmp.out): Likewise.
6274 ($(objpfx)tst-array3-cmp.out): Likewise.
6275 ($(objpfx)tst-array4-cmp.out): Likewise.
6276 ($(objpfx)tst-array5-cmp.out): Likewise.
6277 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6278 ($(objpfx)check-textrel.out): Likewise.
6279 ($(objpfx)check-execstack.out): Likewise.
6280 ($(objpfx)check-localplt.out): Likewise.
6281 ($(objpfx)order2-cmp.out): Likewise.
6282 ($(objpfx)tst-leaks1-mem): Likewise.
6283 ($(objpfx)tst-leaks1-static-mem): Likewise.
6284 ($(objpfx)tst-initorder-cmp.out): Likewise.
6285 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6286 ($(objpfx)tst-unused-dep.out): Likewise.
6287 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6288 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6289 * iconv/Makefile (test-iconvconfig): Likewise.
6290 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6291 ($(objpfx)iconv-test.out): Likewise.
6292 ($(objpfx)tst-tables.out): Likewise.
6293 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6294 ($(objpfx)tst-gettext.out): Likewise.
6295 ($(objpfx)tst-translit.out): Likewise.
6296 ($(objpfx)tst-gettext2.out): Likewise.
6297 ($(objpfx)tst-gettext4.out): Likewise.
6298 ($(objpfx)tst-gettext6.out): Likewise.
6299 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6300 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6301 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6302 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6303 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6304 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6305 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6306 ($(objpfx)wordexp-tst.out): Likewise.
6307 ($(objpfx)annexc.out): Likewise.
6308 ($(objpfx)tst-fnmatch-mem): Likewise.
6309 ($(objpfx)bug-regex2-mem): Likewise.
6310 ($(objpfx)bug-regex14-mem): Likewise.
6311 ($(objpfx)bug-regex21-mem): Likewise.
6312 ($(objpfx)bug-regex31-mem): Likewise.
6313 ($(objpfx)tst-vfork3-mem): Likewise.
6314 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6315 ($(objpfx)tst-pcre-mem): Likewise.
6316 ($(objpfx)tst-boost-mem): Likewise.
6317 ($(objpfx)tst-getconf.out): Likewise.
6318 ($(objpfx)bug-ga2-mem): Likewise.
6319 ($(objpfx)bug-glob2-mem): Likewise.
6320 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6321 ($(objpfx)mtrace-tst-leaks2): Likewise.
6322 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6323 ($(objpfx)tst-printf.out): Likewise.
6324 ($(objpfx)tst-setvbuf1.out): Likewise.
6325 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6326 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6327 ($(objpfx)tst-fmtmsg.out): Likewise.
6328 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6329 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6331 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6332 * bits/sigaction.h [__USE_MISC]: Likewise.
6333 * bits/waitstatus.h: Update #endif comments.
6334 * ctype/ctype.h: Likewise.
6335 * dirent/dirent.h: Likewise.
6336 [__USE_MISC]: Remove redundant conditionals.
6337 * grp/grp.h: Update #endif comments.
6338 [__USE_GNU]: Remove redundant conditionals.
6339 [__USE_MISC]: Likewise.
6340 * inet/netinet/in.h [__USE_GNU]: Likewise.
6341 * io/sys/stat.h [__USE_MISC]: Likewise.
6342 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6343 * libio/bits/stdio.h: Update #endif comments.
6344 [__USE_MISC]: Remove redundant conditionals.
6345 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6346 * libio/stdio.h: Update #endif comments.
6347 [__USE_MISC]: Remove redundant conditionals.
6348 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6349 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6350 * math/math.h: Update #else and #endif comments.
6351 [__USE_MISC]: Remove redundant conditionals.
6352 * misc/sys/uio.h: Update #endif comments.
6353 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6354 * posix/glob.h [__USE_MISC]: Likewise.
6355 * posix/sys/types.h: Update #endif comments.
6356 [__USE_MISC]: Remove redundant conditionals.
6357 * posix/sys/wait.h: Update #endif comments.
6358 [__USE_MISC]: Remove redundant conditionals.
6359 * posix/unistd.h: Update #endif comments.
6360 [__USE_MISC]: Remove redundant conditionals.
6361 * pwd/pwd.h [__USE_GNU]: Likewise.
6362 [__USE_MISC]: Likewise.
6363 * resolv/netdb.h [__USE_GNU]: Likewise.
6364 * signal/signal.h: Update #endif comments.
6365 [__USE_MISC]: Remove redundant conditionals.
6366 * stdlib/stdlib.h: Update #else and #endif comments.
6367 [__USE_MISC]: Remove redundant conditionals.
6368 [__USE_GNU]: Likewise.
6369 * string/bits/string2.h [__USE_MISC]: Likewise.
6370 * string/string.h: Update #endif comments.
6371 [__USE_MISC]: Remove redundant conditionals.
6372 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6374 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6375 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6376 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6378 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6380 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6382 [__USE_MISC]: Remove redundant conditionals.
6383 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6384 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6385 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6386 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6387 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6389 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6390 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6392 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6393 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6395 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6397 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6398 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6400 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6402 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6403 * sysdeps/x86/bits/string.h: Update #endif comments.
6404 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6406 * time/sys/time.h: Update #endif comments.
6407 * time/time.h: Likewise.
6408 [__USE_MISC]: Remove redundant conditionals.
6410 2014-02-21 Yury Gribov <y.gribov@samsung.com>
6413 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6415 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6417 * Versions.def (librt): Add GLIBC_2.17.
6419 2014-02-21 Adam Conrad <adconrad@0c3.net>
6421 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6422 synonym for _SYS_AUXV_H to allow direct inclusion.
6423 * sysdeps/sparc/bits/hwcap.h: Likewise.
6424 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6425 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6426 * sysdeps/sparc/sysdep.h: Likewise.
6428 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6430 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6432 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6434 * benchtests/bench-strrchr.c: Print length instead of position.
6436 2014-02-20 Joseph Myers <joseph@codesourcery.com>
6439 * sysdeps/unix/sysv/linux/kernel-features.h
6440 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6441 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6442 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6443 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6445 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6446 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6447 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6448 (__ASSUME_SENDMMSG): Define instead of using previous
6449 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6450 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6451 (__ASSUME_SENDMMSG_SYSCALL): Define.
6452 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6453 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6455 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6456 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6458 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6459 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6461 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6462 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6463 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6464 [__ASSUME_SENDMMSG]: Change conditionals to
6465 [__ASSUME_SENDMMSG_SOCKETCALL].
6466 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6467 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6469 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6470 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6472 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6473 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6474 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6475 [!__ASSUME_SENDMMSG]: Change conditional to
6476 [!__ASSUME_SENDMMSG_SOCKETCALL].
6477 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6478 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6482 * sysdeps/unix/sysv/linux/kernel-features.h
6483 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6484 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6485 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6486 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6487 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6488 [__i386__ || __sparc__]
6489 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6490 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6491 (__ASSUME_RECVMMSG): Define instead of using previous
6492 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6493 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6494 (__ASSUME_RECVMMSG_SYSCALL): Define.
6495 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6496 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6498 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6499 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6501 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6502 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6504 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6505 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6506 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6507 [__ASSUME_RECVMMSG]: Change condition to
6508 [__ASSUME_RECVMMSG_SOCKETCALL].
6509 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6510 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6512 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6513 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6514 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6516 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6517 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6518 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6519 [!__ASSUME_RECVMMSG]: Change condition to
6520 [!__ASSUME_RECVMMSG_SOCKETCALL].
6521 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6522 (__ASSUME_RECVMMSG_SYSCALL): Define.
6525 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6526 __powerpc__ || __s390__ || __sh__ || __sparc__]
6527 (__ASSUME_SOCKETCALL): Define.
6528 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6529 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6530 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6531 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6532 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6533 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6534 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6535 (__ASSUME_ACCEPT4): Define instead of using previous
6536 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6537 __powerpc__ || __sparc__ || __s390__)] condition.
6538 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6539 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6540 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6541 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6542 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6543 [!__ASSUME_ACCEPT4]: Change condition to
6544 [!__ASSUME_ACCEPT4_SOCKETCALL].
6545 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6546 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6547 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6548 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6549 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6550 __ASSUME_ACCEPT4_SYSCALL.
6551 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6552 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6553 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6554 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6555 __ASSUME_ACCEPT4_SYSCALL.
6556 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6557 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6558 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6559 [__ASSUME_ACCEPT4]: Change condition to
6560 [__ASSUME_ACCEPT4_SOCKETCALL].
6561 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6562 (__ASSUME_SOCKETCALL): Define.
6563 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6564 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6565 (__ASSUME_SOCKETCALL): Define.
6566 (__ASSUME_ACCEPT4): Remove.
6567 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6569 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6570 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6572 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6573 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6575 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6577 (HWCAP_ARM_LPAE): Likewise.
6578 (HWCAP_ARM_EVTSTRM): Likewise.
6579 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6580 Add vpfd32, lpae and evtstrm.
6581 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6584 2014-02-19 Joseph Myers <joseph@codesourcery.com>
6586 * math/auto-libm-test-in: Add tests of clog10.
6587 * math/auto-libm-test-out: Regenerated.
6588 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6589 * sysdeps/i386/fpu/libm-test-ulps: Update.
6590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6592 2014-02-18 Andreas Schwab <schwab@suse.de>
6595 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6596 Store non-zero if the second buffer was newly allocated.
6597 (send_dg): Likewise.
6598 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6599 to send_vc and send_dg.
6600 (res_nsend): Pass NULL for ansp2_malloced.
6601 * resolv/res_query.c (__libc_res_nquery): Add parameter
6602 answerp2_malloced and pass it down to __libc_res_nsend.
6603 (res_nquery): Pass additional NULL to __libc_res_nquery.
6604 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6605 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6606 second answer buffer if answerp2_malloced was set.
6607 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6608 (__libc_res_nquerydomain): Add parameter
6609 answerp2_malloced and pass it down to __libc_res_nquery.
6610 (res_nquerydomain): Pass additional NULL to
6611 __libc_res_nquerydomain.
6612 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6613 additional NULL to __libc_res_nsend and __libc_res_nquery.
6614 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6615 additional NULL to __libc_res_nsearch.
6616 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6617 parameter of __libc_res_nsearch to check for separately allocated
6619 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6621 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6622 additional NULL to __libc_res_nquery.
6623 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6625 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6626 * include/resolv.h: Update prototypes of __libc_res_nquery,
6627 __libc_res_nsearch, __libc_res_nsend.
6629 2014-02-18 Joseph Myers <joseph@codesourcery.com>
6631 * math/auto-libm-test-in: Add tests of fma.
6632 * math/auto-libm-test-out: Regenerated.
6633 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6634 (fma_towardzero_test_data): Likewise.
6635 (fma_downward_test_data): Likewise.
6636 (fma_upward_test_data): Likewise.
6637 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6639 (rounding_modes): Add values for new field.
6640 (func_calc_method): Add value mpfr_fff_f.
6641 (func_calc_desc): Add mpfr_fff_f union field.
6642 (test_function): Add field exact_args.
6643 (FUNC): Add macro argument EXACT_ARGS.
6644 (FUNC_mpfr_f_f): Update call to FUNC.
6645 (FUNC_mpfr_f_f): Likewise.
6646 (FUNC_mpfr_ff_f): Likewise.
6647 (FUNC_mpfr_if_f): Likewise.
6648 (FUNC_mpc_c_f): Likewise.
6649 (FUNC_mpc_c_c): Likewise.
6650 (test_functions): Add fma. Update calls to FUNC.
6651 (handle_input_arg): Add argument exact_args.
6652 (add_test): Update call to handle_input_arg.
6653 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6654 (output_for_one_input_case): Update call to calc_generic_results.
6655 Recalculate exact zero results in each rounding mode.
6657 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6658 non-negative before setting low bit.
6659 * math/auto-libm-test-in: Mark one asin test possibly having
6661 * math/auto-libm-test-out: Regenerated.
6662 * sysdeps/i386/fpu/libm-test-ulps: Update.
6663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6665 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6667 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6668 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6669 ports/sysdeps/unix/sysv/linux/microblaze.
6670 * README: Add missing listing for microblaze*-*-linux-gnu.
6672 2014-02-16 Mike Frysinger <vapier@gentoo.org>
6674 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6675 * sysdeps/unix/sysv/linux/ia64: Move directory from
6676 ports/sysdeps/unix/sysv/linux/ia64.
6677 * README: Update listing for ia64-*-linux-gnu.
6679 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6680 Joseph Myers <joseph@codesourcery.com>
6682 * Makeconfig (test-name): New variable.
6683 (evaluate-test): Likewise.
6684 * Makerules (do-test-clean): Remove .test-result files.
6685 (common-mostlyclean): Likewise.
6686 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6687 * scripts/evaluate-test.sh: New file.
6689 2014-02-14 Joseph Myers <joseph@codesourcery.com>
6691 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6692 separate $(objpfx)tst-fopenloc-cmp.out and
6693 $(objpfx)tst-fopenloc-mem.out targets.
6694 (tests): Update dependencies.
6695 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6696 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6697 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6698 (tst-rxspencer-no-utf8-ARGS): New variable.
6699 (tst-rxspencer-no-utf8-ENV): Likewise.
6700 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6701 instead of $(objpfx)tst-rxspencer-mem.
6702 ($(objpfx)tst-rxspencer-mem): Change target to
6703 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6704 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6705 * posix/tst-rxspencer-no-utf8.c: New file.
6707 * elf/Makefile ($(objpfx)order.out): Remove rule.
6708 [$(run-built-tests) = yes] (tests): Depend on
6709 $(objpfx)order-cmp.out.
6710 ($(objpfx)order-cmp.out): New rule.
6711 [$(run-built-tests) = yes] (tests): Depend on
6712 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6713 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6714 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6715 $(objpfx)tst-array5-static-cmp.out.
6716 ($(objpfx)tst-array1.out): Remove rule.
6717 ($(objpfx)tst-array1-cmp.out): New rule.
6718 ($(objpfx)tst-array1-static.out): Remove rule.
6719 ($(objpfx)tst-array1-static-cmp.out): New rule.
6720 ($(objpfx)tst-array2.out): Remove rule.
6721 ($(objpfx)tst-array2-cmp.out): New rule.
6722 ($(objpfx)tst-array3.out): Remove rule.
6723 ($(objpfx)tst-array3-cmp.out): New rule.
6724 ($(objpfx)tst-array4.out): Remove rule.
6725 ($(objpfx)tst-array4-cmp.out): New rule.
6726 ($(objpfx)tst-array5.out): Remove rule.
6727 ($(objpfx)tst-array5-cmp.out): New rule.
6728 ($(objpfx)tst-array5-static.out): Remove rule.
6729 ($(objpfx)tst-array5-static-cmp.out): New rule.
6730 [$(run-built-tests) = yes] (tests): Depend on
6731 $(objpfx)order2-cmp.out.
6732 ($(objpfx)order2.out): Remove rule.
6733 ($(objpfx)order2-cmp.out): New rule.
6734 ($(objpfx)tst-initorder.out): Remove rule.
6735 [$(run-built-tests) = yes] (tests): Depend on
6736 $(objpfx)tst-initorder-cmp.out.
6737 ($(objpfx)tst-initorder-cmp.out): New rule.
6738 ($(objpfx)tst-initorder2.out): Remove rule.
6739 [$(run-built-tests) = yes] (tests): Depend on
6740 $(objpfx)tst-initorder2-cmp.out.
6741 ($(objpfx)tst-initorder2-cmp.out): New rule.
6742 [$(run-built-tests) = yes] (tests): Depend on
6743 $(objpfx)tst-unused-dep-cmp.out.
6744 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6745 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6746 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6747 on $(objpfx)tst-setvbuf1-cmp.out.
6748 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6749 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6750 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6751 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6752 ($(objpfx)tst-svc.out): Remove rule.
6753 ($(objpfx)tst-svc-cmp.out): New rule.
6755 2014-02-13 Joseph Myers <joseph@codesourcery.com>
6757 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6758 * ctype/ctype.h [__USE_MISC]: Likewise.
6759 * dirent/dirent.h [__USE_MISC]: Likewise.
6760 * grp/grp.h [__USE_MISC]: Likewise.
6761 * io/fcntl.h [__USE_MISC]: Likewise.
6762 * io/sys/stat.h [__USE_MISC]: Likewise.
6763 * libio/stdio.h [__USE_MISC]: Likewise.
6764 * posix/unistd.h [__USE_MISC]: Likewise.
6765 * pwd/pwd.h [__USE_MISC]: Likewise.
6766 * stdlib.h [__USE_MISC]: Likewise.
6767 * string/bits/string2.h [__USE_MISC]: Likewise.
6768 * string/string.h [__USE_MISC]: Likewise.
6769 * time/time.h [__USE_MISC]: Likewise.
6771 2014-02-13 Andreas Schwab <schwab@suse.de>
6774 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6775 second answer buffer if it was separately allocated.
6777 2014-02-12 Joseph Myers <joseph@codesourcery.com>
6779 * sysdeps/mips/math-tests.h: Include <features.h>.
6780 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6781 (ROUNDING_TESTS_long_double): Do not define.
6782 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6783 (EXCEPTION_TESTS_long_double): Likewise.
6784 * sysdeps/mips/mips64/libm-test-ulps: Update.
6786 * include/features.h (__USE_BSD): Remove macro definitions.
6787 (__USE_SVID): Likewise.
6788 (_BSD_SOURCE): Likewise.
6789 (_SVID_SOURCE): Likewise.
6790 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6791 from definition of _DEFAULT_SOURCE.
6792 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6794 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6795 * bits/mman.h [__USE_BSD]: Likewise.
6796 * bits/termios.h [__USE_BSD]: Likewise.
6797 * bits/waitstatus.h [__USE_BSD]: Likewise.
6798 * ctype/ctype.h [__USE_SVID]: Likewise.
6799 * dirent/dirent.h [__USE_BSD]: Likewise.
6800 * grp/grp.h [__USE_SVID]: Likewise.
6801 [__USE_BSD]: Likewise.
6802 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6803 * io/fcntl.h [__USE_BSD]: Likewise.
6804 * io/ftw.h [__USE_BSD]: Likewise.
6805 * io/sys/stat.h [__USE_BSD]: Likewise.
6806 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6807 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6808 * libio/stdio.h [__USE_SVID]: Likewise.
6809 [__USE_BSD]: Likewise.
6810 * math/math.h [__USE_SVID]: Likewise.
6811 [__USE_BSD]: Likewise.
6812 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6813 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6814 * misc/search.h [__USE_SVID]: Likewise.
6815 * misc/sys/mman.h [__USE_BSD]: Likewise.
6816 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6817 * misc/sys/uio.h [__USE_BSD]: Likewise.
6818 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6819 * posix/glob.h [__USE_BSD]: Likewise.
6820 * posix/regex.h [__USE_BSD]: Likewise.
6821 * posix/sys/types.h [__USE_BSD]: Likewise.
6822 [__USE_SVID]: Likewise.
6823 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6824 * posix/sys/wait.h [__USE_BSD]: Likewise.
6825 [__USE_SVID]: Likewise.
6826 * posix/unistd.h [__USE_BSD]: Likewise.
6827 [__USE_SVID]: Likewise.
6828 * pwd/pwd.h [__USE_SVID]: Likewise.
6829 * resolv/netdb.h [__USE_BSD]: Likewise.
6830 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6831 * signal/signal.h [__USE_BSD]: Likewise.
6832 [__USE_SVID]: Likewise.
6833 * socket/sys/socket.h [__USE_BSD]: Likewise.
6834 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6835 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6836 [__USE_SVID]: Likewise.
6837 * string/bits/string2.h [__USE_BSD]: Likewise.
6838 [__USE_SVID]: Likewise.
6839 * string/bits/string3.h [__USE_BSD]: Likewise.
6840 * string/endian.h [__USE_BSD]: Likewise.
6841 * string/string.h [__USE_SVID]: Likewise.
6842 [__USE_BSD]: Likewise.
6843 * string/strings.h [__USE_BSD]: Likewise.
6844 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6845 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6846 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6847 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6848 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6849 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6851 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6853 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6854 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6856 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6857 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6859 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6861 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6862 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6863 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6865 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6867 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6868 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6869 * termios/termios.h [__USE_BSD]: Likewise.
6870 * time/sys/time.h [__USE_BSD]: Likewise.
6871 * time/time.h [__USE_BSD]: Likewise.
6872 [__USE_SVID]: Likewise.
6874 * Makefile (subdir_targets): Remove subdir_lint.out.
6876 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6877 (do-tst-printf): Likewise.
6878 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6879 $(objpfx)tst-printf.out.
6881 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6883 * Makerules (check-abi-%): Change target to
6884 $(objpfx)check-abi-%.out.
6885 (check-abi target): Update dependencies.
6886 (check-abi-pattern variable): Redirect output of diff to $@.
6887 (check-abi variable): Likewise.
6888 * elf/Makefile (check-abi): Update dependencies.
6890 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6892 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6893 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6895 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6896 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6897 value has largest subnormal exponent.
6898 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6899 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6900 * sysdeps/aarch64/soft-fp/sfp-machine.h
6901 (_FP_TININESS_AFTER_ROUNDING): New macro.
6902 * sysdeps/alpha/soft-fp/sfp-machine.h
6903 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6904 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6906 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6907 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6908 * sysdeps/mips/soft-fp/sfp-machine.h
6909 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6910 * sysdeps/powerpc/soft-fp/sfp-machine.h
6911 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6912 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6914 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6915 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6916 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6917 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6918 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6921 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
6924 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6927 2014-02-12 Richard Henderson <rth@redhat.com>
6929 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
6930 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6931 * sysdeps/unix/sysv/linux/alpha: Move directory from
6932 ports/sysdeps/unix/sysv/linux/alpha.
6933 * README: Update listing for alpha-*-linux-gnu.
6935 2014-02-11 Joseph Myers <joseph@codesourcery.com>
6937 * include/features.h: Update comment documenting feature test
6939 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6941 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6942 (_SVID_SOURCE): Likewise.
6943 (_DEFAULT_SOURCE): Update description of default features.
6944 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6946 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6947 (S_ISVTX): Likewise.
6948 * manual/math.texi (Mathematical Constants): Likewise.
6949 * manual/signal.texi (Interrupted Primitives): Likewise.
6950 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6951 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6952 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6953 Don't refer to _SVID_SOURCE in warning text.
6955 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6957 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6959 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6960 * sysdeps/mips/dl-lookup.c: Remove.
6961 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6963 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6966 * math/auto-libm-test-in: Add testcase for expl.
6967 * math/auto-libm-test-out: Regenerate.
6968 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6969 calculation of unsafe.
6970 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6972 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6974 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6975 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6976 ports/sysdeps/unix/sysv/linux/aarch64.
6977 * README: Update listing for aarch64*-*-linux-gnu.
6979 2014-02-11 Will Newton <will.newton@linaro.org>
6981 * manual/probes.texi (Mathematical Function Probes): Use
6982 "triggered" instead of "hit".
6984 * manual/probes.texi (Internal Probes): Add documentation
6985 of setjmp, longjmp and longjmp_target probes.
6987 * include/stap-probe.h: Add comment about probe argument
6990 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6991 definition. (tr_where, tr_freehook, tr_mallochook,
6992 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6994 2014-02-11 David S. Miller <davem@davemloft.net>
6996 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6997 processing int_tests.
6999 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7001 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7002 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7003 * sysdeps/unix/sysv/linux/mips: Move directory from
7004 ports/sysdeps/unix/sysv/linux/mips.
7005 * README: Update listing for mips-*-linux-gnu and
7008 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7010 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7011 * sysdeps/unix/sysv/linux/m68k: Move directory from
7012 ports/sysdeps/unix/sysv/linux/m68k.
7013 * README: Update listing for m68k-*-linux-gnu.
7015 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7017 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7018 * sysdeps/unix/sysv/linux/generic: Move directory from
7019 ports/sysdeps/unix/sysv/linux/generic.
7020 * sysdeps/unix/sysv/linux/tile: Move directory from
7021 ports/sysdeps/unix/sysv/linux/tile.
7022 * README: Update listing for tile*-*-linux-gnu.
7024 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7026 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7028 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7029 * catgets/open_catalog.c (__open_catalog): Likewise.
7030 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7031 * debug/confstr_chk.c: Likewise.
7032 * debug/fread_chk.c (__fread_chk): Likewise.
7033 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7034 * debug/getgroups_chk.c: Likewise.
7035 * debug/mbsnrtowcs_chk.c: Likewise.
7036 * debug/mbsrtowcs_chk.c: Likewise.
7037 * debug/mbstowcs_chk.c: Likewise.
7038 * debug/memcpy_chk.c: Likewise.
7039 * debug/memmove_chk.c: Likewise.
7040 * debug/mempcpy_chk.c: Likewise.
7041 * debug/memset_chk.c: Likewise.
7042 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7043 * debug/strcat_chk.c (__strcat_chk): Likewise.
7044 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7045 * debug/strncat_chk.c (__strncat_chk): Likewise.
7046 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7047 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7048 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7049 * debug/wcpncpy_chk.c: Likewise.
7050 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7051 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7052 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7053 * debug/wcsncpy_chk.c: Likewise.
7054 * debug/wcsnrtombs_chk.c: Likewise.
7055 * debug/wcsrtombs_chk.c: Likewise.
7056 * debug/wcstombs_chk.c: Likewise.
7057 * debug/wmemcpy_chk.c: Likewise.
7058 * debug/wmemmove_chk.c: Likewise.
7059 * debug/wmempcpy_chk.c: Likewise.
7060 * debug/wmemset_chk.c: Likewise.
7061 * dirent/scandirat.c (SCANDIRAT): Likewise.
7062 * dlfcn/dladdr1.c (dladdr1): Likewise.
7063 * dlfcn/dladdr.c (dladdr): Likewise.
7064 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7065 * dlfcn/dlerror.c (__dlerror): Likewise.
7066 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7067 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7068 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7069 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7070 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7071 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7072 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7073 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7075 * elf/dl-conflict.c: Likewise.
7076 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7077 * elf/dl-dst.h: Likewise.
7078 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7079 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7080 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7081 * elf/dl-init.c (call_init, _dl_init): Likewise.
7082 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7083 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7084 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7086 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7088 * elf/dl-minimal.c (__libc_memalign): Likewise.
7089 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7090 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7091 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7092 * elf/dl-sym.c (do_sym): Likewise.
7093 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7094 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7095 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7096 * elf/dl-writev.h (_dl_writev): Likewise.
7097 * elf/ldconfig.c (search_dir): Likewise.
7098 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7099 (dl_main): Likewise.
7100 * elf/setup-vdso.h (setup_vdso): Likewise.
7101 * grp/compat-initgroups.c (compat_call): Likewise.
7102 * grp/fgetgrent.c (fgetgrent): Likewise.
7103 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7104 * grp/putgrent.c (putgrent): Likewise.
7105 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7107 * hurd/hurdinit.c: Likewise.
7108 * iconvdata/8bit-gap.c (struct): Likewise.
7109 * iconvdata/ansi_x3.110.c : Likewise.
7110 * iconvdata/big5.c : Likewise.
7111 * iconvdata/big5hkscs.c : Likewise.
7112 * iconvdata/cp1255.c: Likewise.
7113 * iconvdata/cp1258.c : Likewise.
7114 * iconvdata/cp932.c : Likewise.
7115 * iconvdata/euc-cn.c: Likewise.
7116 * iconvdata/euc-jisx0213.c : Likewise.
7117 * iconvdata/euc-jp.c: Likewise.
7118 * iconvdata/euc-jp-ms.c : Likewise.
7119 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7120 * iconvdata/gb18030.c : Likewise.
7121 * iconvdata/gbbig5.c (const): Likewise.
7122 * iconvdata/gbgbk.c: Likewise.
7123 * iconvdata/gbk.c : Likewise.
7124 * iconvdata/ibm1364.c : Likewise.
7125 * iconvdata/ibm930.c : Likewise.
7126 * iconvdata/ibm932.c: Likewise.
7127 * iconvdata/ibm933.c : Likewise.
7128 * iconvdata/ibm935.c : Likewise.
7129 * iconvdata/ibm937.c : Likewise.
7130 * iconvdata/ibm939.c : Likewise.
7131 * iconvdata/ibm943.c: Likewise.
7132 * iconvdata/iso_11548-1.c: Likewise.
7133 * iconvdata/iso-2022-cn.c : Likewise.
7134 * iconvdata/iso-2022-cn-ext.c : Likewise.
7135 * iconvdata/iso-2022-jp-3.c: Likewise.
7136 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7137 * iconvdata/iso-2022-kr.c : Likewise.
7138 * iconvdata/iso646.c (gconv_end): Likewise.
7139 * iconvdata/iso_6937-2.c : Likewise.
7140 * iconvdata/iso_6937.c : Likewise.
7141 * iconvdata/iso8859-1.c: Likewise.
7142 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7143 * iconvdata/shift_jisx0213.c : Likewise.
7144 * iconvdata/sjis.c : Likewise.
7145 * iconvdata/t.61.c : Likewise.
7146 * iconvdata/tcvn5712-1.c : Likewise.
7147 * iconvdata/tscii.c: Likewise.
7148 * iconvdata/uhc.c : Likewise.
7149 * iconvdata/unicode.c (gconv_end): Likewise.
7150 * iconvdata/utf-16.c (gconv_end): Likewise.
7151 * iconvdata/utf-32.c (gconv_end): Likewise.
7152 * iconvdata/utf-7.c (base64): Likewise.
7153 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7154 * iconv/gconv_close.c (__gconv_close): Likewise.
7155 * iconv/gconv_open.c (__gconv_open): Likewise.
7156 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7157 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7158 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7159 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7160 (ucs4le_internal_loop_single): Likewise.
7161 * iconv/iconv.c (iconv): Likewise.
7162 * iconv/iconv_close.c: Likewise.
7163 * iconv/loop.c (SINGLE): Likewise.
7164 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7165 * include/atomic.h: Likewise.
7166 * inet/inet6_option.c (option_alloc): Likewise.
7167 * intl/bindtextdom.c (set_binding_values): Likewise.
7168 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7169 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7170 * intl/localealias.c (read_alias_file): Likewise.
7171 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7172 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7173 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7174 * libio/fmemopen.c (fmemopen): Likewise.
7175 * libio/iofgets.c (_IO_fgets): Likewise.
7176 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7177 * libio/iofgetws.c (fgetws): Likewise.
7178 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7179 * libio/iogetdelim.c (_IO_getdelim): Likewise.
7180 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7181 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7182 * locale/findlocale.c (_nl_find_locale): Likewise.
7183 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7184 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7186 * locale/setlocale.c (setlocale): Likewise.
7187 * login/programs/pt_chown.c (main): Likewise.
7188 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7189 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7190 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7191 (mmap, mmap64, mremap, munmap): Likewise.
7192 * math/e_exp2l.c: Likewise.
7193 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7194 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7195 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7196 * math/s_catan.c (__catan): Likewise.
7197 * math/s_catanf.c (__catanf): Likewise.
7198 * math/s_catanh.c (__catanh): Likewise.
7199 * math/s_catanhf.c (__catanhf): Likewise.
7200 * math/s_catanhl.c (__catanhl): Likewise.
7201 * math/s_catanl.c (__catanl): Likewise.
7202 * math/s_ccosh.c (__ccosh): Likewise.
7203 * math/s_ccoshf.c (__ccoshf): Likewise.
7204 * math/s_ccoshl.c (__ccoshl): Likewise.
7205 * math/s_cexp.c (__cexp): Likewise.
7206 * math/s_cexpf.c (__cexpf): Likewise.
7207 * math/s_cexpl.c (__cexpl): Likewise.
7208 * math/s_clog10.c (__clog10): Likewise.
7209 * math/s_clog10f.c (__clog10f): Likewise.
7210 * math/s_clog10l.c (__clog10l): Likewise.
7211 * math/s_clog.c (__clog): Likewise.
7212 * math/s_clogf.c (__clogf): Likewise.
7213 * math/s_clogl.c (__clogl): Likewise.
7214 * math/s_csin.c (__csin): Likewise.
7215 * math/s_csinf.c (__csinf): Likewise.
7216 * math/s_csinh.c (__csinh): Likewise.
7217 * math/s_csinhf.c (__csinhf): Likewise.
7218 * math/s_csinhl.c (__csinhl): Likewise.
7219 * math/s_csinl.c (__csinl): Likewise.
7220 * math/s_csqrt.c (__csqrt): Likewise.
7221 * math/s_csqrtf.c (__csqrtf): Likewise.
7222 * math/s_csqrtl.c (__csqrtl): Likewise.
7223 * math/s_ctan.c (__ctan): Likewise.
7224 * math/s_ctanf.c (__ctanf): Likewise.
7225 * math/s_ctanh.c (__ctanh): Likewise.
7226 * math/s_ctanhf.c (__ctanhf): Likewise.
7227 * math/s_ctanhl.c (__ctanhl): Likewise.
7228 * math/s_ctanl.c (__ctanl): Likewise.
7229 * math/w_pow.c: Likewise.
7230 * math/w_powf.c: Likewise.
7231 * math/w_powl.c: Likewise.
7232 * math/w_scalb.c (sysv_scalb): Likewise.
7233 * math/w_scalbf.c (sysv_scalbf): Likewise.
7234 * math/w_scalbl.c (sysv_scalbl): Likewise.
7235 * misc/error.c (error_tail): Likewise.
7236 * misc/pselect.c (__pselect): Likewise.
7237 * nis/nis_callback.c (__nis_create_callback): Likewise.
7238 * nis/nis_call.c (__nisfind_server): Likewise.
7239 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7240 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7241 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7242 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7243 * nis/nis_lookup.c (nis_lookup): Likewise.
7244 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7245 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7246 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7247 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7248 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7249 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7250 * nis/nss_compat/compat-initgroups.c (add_group)
7251 (internal_getgrent_r): Likewise.
7252 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7253 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7254 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7255 (internal_getspnam_r): Likewise.
7256 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7257 (_nss_nis_getaliasbyname_r): Likewise.
7258 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7259 (_nss_nis_getntohost_r): Likewise.
7260 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7261 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7262 (_nss_nis_getgrgid_r): Likewise.
7263 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7264 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7265 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7266 (_nss_nis_gethostbyname4_r): Likewise.
7267 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7268 (initgroups_netid): Likewise.
7269 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7270 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7271 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7272 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7273 (_nss_nis_getprotobynumber_r): Likewise.
7274 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7275 (_nss_nis_getsecretkey): Likewise.
7276 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7277 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7278 (_nss_nis_getpwuid_r): Likewise.
7279 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7280 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7281 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7282 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7283 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7284 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7285 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7287 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7288 (_nss_nisplus_getntohost_r): Likewise.
7289 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7290 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7291 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7292 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7294 * nis/nss_nisplus/nisplus-initgroups.c
7295 (_nss_nisplus_initgroups_dyn): Likewise.
7296 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7297 (_nss_nisplus_getnetbyaddr_r): Likewise.
7298 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7299 (_nss_nisplus_getprotobynumber_r): Likewise.
7300 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7301 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7302 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7304 * nis/nss_nisplus/nisplus-service.c
7305 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7306 (_nss_nisplus_getservbyport_r): Likewise.
7307 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7308 (_nss_nisplus_getspnam_r): Likewise.
7309 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7311 * nscd/aicache.c (addhstaiX): Likewise.
7312 * nscd/cache.c (cache_search, prune_cache): Likewise.
7313 * nscd/connections.c (register_traced_file, send_ro_fd)
7314 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7315 (main_loop_epoll): Likewise.
7316 * nscd/grpcache.c (addgrbyX): Likewise.
7317 * nscd/hstcache.c (addhstbyX): Likewise.
7318 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7319 * nscd/mem.c (gc, mempool_alloc): Likewise.
7320 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7321 (addinnetgrX): Likewise.
7322 * nscd/nscd-client.h (__nscd_acquire_maplock)
7323 (__nscd_drop_map_ref): Likewise.
7324 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7325 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7326 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7328 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7329 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7330 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7331 (__nscd_get_map_ref): Likewise.
7332 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7333 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7335 * nscd/pwdcache.c (addpwbyX): Likewise.
7336 * nscd/selinux.c (preserve_capabilities): Likewise.
7337 * nscd/servicescache.c (addservbyX): Likewise.
7338 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7339 * posix/fnmatch.c (fnmatch): Likewise.
7340 * posix/getopt.c (_getopt_internal_r): Likewise.
7341 * posix/glob.c (glob, glob_in_dir): Likewise.
7342 * posix/wordexp.c (exec_comm_child): Likewise.
7343 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7344 (getanswer_r, gaih_getanswer_slice): Likewise.
7345 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7346 * resolv/res_init.c: Likewise.
7347 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7348 * resolv/res_query.c (__libc_res_nquery): Likewise.
7349 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7351 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7352 * stdio-common/perror.c (perror): Likewise.
7353 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7354 * stdio-common/tmpnam.c (tmpnam): Likewise.
7355 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7356 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7357 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7359 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7360 * stdlib/putenv.c (putenv): Likewise.
7361 * stdlib/setenv.c (__add_to_environ): Likewise.
7362 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7363 * stdlib/strtol_l.c (INTERNAL): Likewise.
7364 * string/memmem.c (memmem): Likewise.
7365 * string/strerror.c (strerror): Likewise.
7366 * string/strnlen.c (__strnlen): Likewise.
7367 * string/test-memmem.c (simple_memmem): Likewise.
7368 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7369 * sunrpc/pm_getport.c (__get_socket): Likewise.
7370 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7371 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7372 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7373 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7375 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7376 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7377 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7378 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7379 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7380 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7382 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7384 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7385 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7386 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7387 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7388 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7389 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7390 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7391 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7392 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7393 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7394 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7395 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7397 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7399 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7401 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7402 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7403 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7404 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7405 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7406 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7407 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7408 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7409 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7410 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7411 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7412 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7413 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7414 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7415 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7416 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7418 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7420 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7422 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7424 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7425 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7426 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7428 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7429 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7430 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7431 * sysdeps/posix/sleep.c: Likewise.
7432 * sysdeps/posix/tempname.c: Likewise.
7433 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7434 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7436 * sysdeps/powerpc/powerpc32/dl-machine.h
7437 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7438 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7439 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7440 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7441 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7443 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7444 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7445 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7446 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7447 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7448 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7449 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7450 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7451 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7452 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7453 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7454 (elf_machine_lazy_rel): Likewise.
7455 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7456 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7457 (elf_machine_lazy_rel): Likewise.
7458 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7459 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7460 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7461 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7462 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7463 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7464 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7465 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7467 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7468 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7469 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7470 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7471 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7472 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7473 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7474 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7475 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7476 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7477 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7479 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7480 (__posix_fallocate64_l64): Likewise.
7481 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7482 (posix_fallocate): Likewise.
7483 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7485 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7486 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7487 (getifaddrs_internal): Likewise.
7488 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7489 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7490 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7491 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7492 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7493 (__posix_fallocate64_l64): Likewise.
7494 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7496 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7497 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7498 (__get_clockfreq): Likewise.
7499 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7500 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7501 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7502 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7503 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7504 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7505 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7506 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7508 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7509 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7510 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7511 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7512 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7513 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7514 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7516 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7517 (posix_fallocate): Likewise.
7518 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7519 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7520 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7521 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7522 (elf_machine_rela, elf_machine_rela_relative)
7523 (elf_machine_lazy_rel): Likewise.
7524 * time/asctime.c (asctime_internal): Likewise.
7525 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7526 * time/tzset.c (__tzset_parse_tz): Likewise.
7527 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7528 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7529 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7530 * wcsmbs/wcsmbsload.h: Likewise.
7533 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7535 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7536 (arena_get2): Remove THREAD_STATS conditionals.
7537 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7538 (__malloc_stats, int): Likewise.
7540 2014-02-08 Mike Frysinger <vapier@gentoo.org>
7542 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7543 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7545 * manual/setjmp.texi: Fix typos/grammar errors.
7547 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7548 Only return early when n is <= 0. Delete unused return statement.
7550 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7551 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7552 * debug/tst-longjmp_chk3.c: New file.
7554 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7555 (test_main): Replace code with set_fortify_handler call.
7556 * debug/test-strcpy_chk.c: Likewise.
7557 * debug/tst-chk1.c: Likewise.
7558 * debug/tst-longjmp_chk.c: Likewise.
7559 * test-skeleton.c: Include fcntl.h & paths.h
7560 (set_fortify_handler): Define.
7562 * debug/tst-longjmp_chk.c: Add header comment and include
7564 (do_test): Mark static.
7565 (TEST_FUNCTION): Define.
7567 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7568 (IP_PMTUDISC_INTERFACE): Likewise.
7569 (IP_MULTICAST_IF): Likewise.
7570 (IP_MULTICAST_TTL): Likewise.
7571 (IP_MULTICAST_LOOP): Likewise.
7572 (IP_ADD_MEMBERSHIP): Likewise.
7573 (IP_DROP_MEMBERSHIP): Likewise.
7574 (IP_UNBLOCK_SOURCE): Likewise.
7575 (IP_BLOCK_SOURCE): Likewise.
7576 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7577 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7578 (IP_MSFILTER): Likewise.
7579 (MCAST_JOIN_GROUP): Likewise.
7580 (MCAST_BLOCK_SOURCE): Likewise.
7581 (MCAST_UNBLOCK_SOURCE): Likewise.
7582 (MCAST_LEAVE_GROUP): Likewise.
7583 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7584 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7585 (MCAST_MSFILTER): Likewise.
7586 (IP_MULTICAST_ALL): Likewise.
7587 (IP_UNICAST_IF): Likewise.
7589 * timezone/Makefile: Delete $(have-ksh) check.
7590 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7591 * timezone/tzselect.ksh: Add +x mode bits.
7593 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7594 (ANON_INODE_FS_MAGIC): Likewise.
7595 (BDEVFS_MAGIC): Likewise.
7596 (BINFMTFS_MAGIC): Likewise.
7597 (BTRFS_TEST_MAGIC): Likewise.
7598 (CRAMFS_MAGIC_WEND): Likewise.
7599 (DEBUGFS_MAGIC): Likewise.
7600 (ECRYPTFS_SUPER_MAGIC): Likewise.
7601 (EXT3_SUPER_MAGIC): Likewise.
7602 (EXT4_SUPER_MAGIC): Likewise.
7603 (FUTEXFS_SUPER_MAGIC): Likewise.
7604 (HOSTFS_SUPER_MAGIC): Likewise.
7605 (HUGETLBFS_MAGIC): Likewise.
7606 (MINIX3_SUPER_MAGIC): Likewise.
7607 (MTD_INODE_FS_MAGIC): Likewise.
7608 (NILFS_SUPER_MAGIC): Likewise.
7609 (OPENPROM_SUPER_MAGIC): Likewise.
7610 (PIPEFS_MAGIC): Likewise.
7611 (PSTOREFS_MAGIC): Likewise.
7612 (QNX6_SUPER_MAGIC): Likewise.
7613 (RAMFS_MAGIC): Likewise.
7614 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7615 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7616 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7617 (SECURITYFS_MAGIC): Likewise.
7618 (SELINUX_MAGIC): Likewise.
7619 (SMACK_MAGIC): Likewise.
7620 (SOCKFS_MAGIC): Likewise.
7621 (SQUASHFS_MAGIC): Likewise.
7622 (STACK_END_MAGIC): Likewise.
7623 (TMPFS_MAGIC): Likewise.
7624 (USBDEVICE_SUPER_MAGIC): Likewise.
7625 (V9FS_MAGIC): Likewise.
7626 (XENFS_SUPER_MAGIC): Likewise.
7627 (CRAMFS_MAGIC): Fix typo in comment.
7628 (EXT2_SUPER_MAGIC): Update comment.
7629 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7631 2014-02-08 Joseph Myers <joseph@codesourcery.com>
7633 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7634 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7635 * sysdeps/unix/sysv/linux/arm: Move directory from
7636 ports/sysdeps/unix/sysv/linux/arm.
7637 * README: Update listing for arm-*-linux-gnueabi.
7639 * README: Remove mention of am33.
7641 2014-02-07 Roland McGrath <roland@hack.frob.com>
7643 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7644 than the comma operator, to avoid "rhs of comma has no effect"
7646 (__sigfillset, __sigandset, __sigorset): Likewise.
7647 * include/signal.h (__sigemptyset): Likewise.
7648 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7650 2014-02-07 Allan McRae <allan@archlinux.org>
7652 * version.h (RELEASE): Set to "development".
7653 (VERSION): Set to "2.19.90"
7654 * NEWS: Add 2.20 section.
7656 2014-02-06 Carlos O'Donell <carlos@redhat.com>
7659 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7661 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7663 * manual/contrib.texi: Update entry for Carlos O'Donell,
7664 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7666 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
7668 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7670 * sysdeps/unix/sysv/linux/kernel-features.h
7671 [__LINUX_KERNEL_VERSION >= 0x020621]
7672 (__ASSUME_PROC_PID_TASK_COMM): Define.
7674 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7677 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7678 conversion when destination buffer does not have enough space.
7679 * libio/tst-ftell-partial-wide.c: New test case.
7680 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7682 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7683 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7684 Leonard and Allan McRae.
7686 2014-02-04 David S. Miller <davem@davemloft.net>
7688 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7691 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7720 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7722 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7723 * shlib-versions: Likewise.
7725 2014-02-04 Roland McGrath <roland@hack.frob.com>
7726 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7728 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7729 (abilist-pattern): New variable, set to %-le.abilist.
7731 * Makerules (abilist-pattern): New variable.
7732 (vpath): Use $(abilist-pattern) in place of %.abilist.
7733 (check-abi-% pattern rule): Likewise.
7734 (check-abi, update-abi): Likewise.
7736 2014-02-04 Eric Wong <normalperson@yhbt.net>
7738 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7740 2014-02-03 Carlos O'Donell <carlos@redhat.com>
7742 * manual/startup.texi: Add next, previous, and top entries for
7743 the `Program Arguments' and `Environment Variables' nodes.
7745 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
7747 * manual/macros.texi: Add comments before MTASC-safety macros.
7749 * manual/users.texi: Document MTASC-safety properties.
7751 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7752 (pthread_getspecific, pthread_setspecific): Format with
7753 @deftypefun, and add @safety note.
7754 * manual/signal.texi: Move comments that analyze the above
7755 functions to their home place.
7757 2014-02-03 Allan McRae <allan@archlinux.org>
7759 * po/sl.po: Update Slovenian translation from translation project.
7761 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
7763 * manual/time.texi (timegm): Add missing blank after @c.
7764 Reported by Joseph Myers <joseph@codesourcery.com>.
7766 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
7768 * manual/check-safety.sh: New.
7769 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7771 * manual/terminal.texi: Document MTASC-safety properties.
7773 * manual/filesys.texi: Document MTASC-safety properties.
7775 * manual/errno.texi: Document MTASC-safety properties.
7777 * manual/intro.texi: Document safety identifiers and
7780 * manual/string.texi (wcstok): Fix prototype.
7781 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7783 * manual/time.texi: Document MTASC-safety properties.
7785 * manual/string.texi: Document MTASC-safety properties.
7787 * manual/threads.texi: Document MTASC-safety properties.
7789 * manual/stdio.texi: Document MTASC-safety properties.
7791 * manual/syslog.texi: Document MTASC-safety properties.
7793 * manual/sysinfo.texi: Document MTASC-safety properties.
7795 * manual/startup.texi: Document MTASC-safety properties.
7797 * manual/socket.texi: Document MTASC-safety properties.
7799 * manual/signal.texi: Document MTASC-safety properties.
7801 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
7803 * manual/setjmp.texi: Document MTASC-safety properties.
7805 * manual/search.texi: Document MTASC-safety properties.
7807 * manual/resource.texi: Document MTASC-safety properties.
7809 * manual/process.texi: Document MTASC-safety properties.
7811 * manual/platform.texi: Document MTASC-safety properties.
7813 * manual/pipe.texi: Document MTASC-safety properties.
7815 * manual/pattern.texi: Document MTASC-safety properties.
7817 * manual/message.texi: Document MTASC-safety properties.
7820 * manual/memory.texi: Document MTASC-safety properties.
7822 * manual/math.texi: Document MTASC-safety properties.
7824 * manual/locale.texi: Document MTASC-safety properties.
7826 * manual/llio.texi: Document MTASC-safety properties.
7828 * manual/libdl.texi: New.
7830 * manual/lang.texi: Document MTASC-safety properties.
7832 * manual/job.texi: Document MTASC-safety properties.
7834 * manual/getopt.texi: Document MTASC-safety properties.
7836 * manual/ctype.texi: Document MTASC-safety properties.
7838 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7841 * csu/libc-tls.c (static_map): Remove variable.
7842 (__libc_setup_tls): Use main executable's link map for TLS data.
7843 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7844 casing for LM_ID_BASE and GL(dl_nns).
7845 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7846 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7847 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7848 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7849 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7851 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7854 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
7856 * manual/debug.texi: Document MTASC-safety properties.
7858 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7861 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7862 of __x86_64__ when disabling x87 inline functions.
7864 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
7866 * manual/charset.texi: Document MTASC-safety properties.
7868 * manual/crypt.texi: Document MTASC-safety properties.
7870 * manual/conf.texi: Document MTASC-safety properties.
7872 * manual/arith.texi: Document MTASC-safety properties.
7874 * manual/argp.texi: Document MTASC-safety properties.
7876 * manual/macros.texi: Introduce macros to document multi
7877 thread, asynchronous signal and asynchronous cancellation
7879 * manual/intro.texi: Introduce the properties themselves.
7881 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7883 * sysdeps/sh/sh4/Makefile: New file.
7885 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7887 * math/gen-libm-test.pl ($srcdir): New variable.
7888 ($auto_input): Use it.
7890 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7893 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7894 access beyond array bounds when parsing netgroups file.
7896 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7897 the old buffer before realloc.
7899 2014-01-27 Allan McRae <allan@archlinux.org>
7901 * po/fr.po: Update French translation from translation project.
7903 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7905 * sysdeps/sh/libm-test-ulps: Regenerate.
7907 2014-01-24 David S. Miller <davem@davemloft.net>
7909 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7911 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7913 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7914 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7916 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7919 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7920 string pointers after reallocation.
7922 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7924 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7925 __SH4A__ instead of __SH_FPU_ANY__.
7927 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7929 * sysdeps/sh/fpu_control.h: New file.
7930 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7931 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7932 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7933 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7934 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7935 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7936 * sysdeps/sh/sys/ucontext.h: Remove.
7937 * sysdeps/sh/sys: Remove directory.
7939 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7941 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7942 s390/sys/ucontext.h.
7943 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7944 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7946 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7949 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7951 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7954 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7955 Adjust the vDSO correctly for internal calls.
7956 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7958 2014-01-20 Allan McRae <allan@archlinux.org>
7960 * po/ca.po: Update Catalan translation from translation project.
7962 2014-01-16 Mike Frysinger <vapier@gentoo.org>
7964 * sysdeps/s390/sotruss-lib.c: New file.
7966 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7969 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
7970 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7971 local calls issues by not having a PLT stub required for IFUNC calls.
7972 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7974 2014-01-16 Joseph Myers <joseph@codesourcery.com>
7976 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7977 * math/test-fpucw-static.c: Likewise.
7979 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7982 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7984 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7986 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7987 implementation for powerpc.
7989 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
7992 * sysdeps/posix/system.c (__libc_system): Do not enable
7993 asynchronous cancellation.
7995 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7998 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7999 handling only for numbers special also in the IEEE case.
8001 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8003 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8005 2014-01-11 Allan McRae <allan@archlinux.org>
8007 * po/bg.po: Update Bulgarian translation from translation project.
8009 * po/de.po: Update German translation from translation project.
8011 2014-01-10 Roland McGrath <roland@hack.frob.com>
8013 * sysdeps/generic/gcc-compat.h: New file.
8015 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8017 * benchtests/asin-inputs: Correct slow inputs.
8018 * benchtests/acos-inputs: Likewise.
8020 2014-01-10 Allan McRae <allan@archlinux.org>
8022 * po:sv.po: Update Swedish translation from translation project.
8024 * po/vi.po: Update Vietnamese translation from translation project.
8026 * po/eo.po: Update Esperanto translation from translation project.
8028 * po/cs.po: Update Czech translation from translation project.
8030 * po/nl.po: Update Dutch translation from translation project.
8032 * po/pl.po: Update Polish translation from translation project.
8034 * po/ru.po: Update Russian translation from translation project.
8036 * po/uk.po: Update Ukrainian translation from translation project.
8038 2014-01-08 Brooks Moses <bmoses@google.com>
8040 * elf/dl-load.c: Fix comment typo.
8042 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8044 * po/header.pot: Rename to...
8045 * po/pot.header: ... this.
8046 * po/Makefile: Use pot.header.
8048 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8049 Maxim Kuvyrkov <maxim@kugelworks.com>
8052 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8053 SRC and DEST against LEN.
8055 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8058 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8060 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8062 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8066 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8069 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8070 for large positive arguments.
8072 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8074 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8076 * math/auto-libm-test-in: Mark various tests with
8077 xfail-rounding:ldbl-128ibm.
8078 * math/auto-libm-test-out: Regenerated.
8081 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8082 Increase overflow threshold.
8084 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
8087 * stdio-common/vfprintf.c: Check for integer overflow.
8089 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8091 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8092 the first argument and return value of __tls_get_addr_internal.
8094 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8096 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8097 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8099 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8101 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8102 * sysdeps/s390/rtld-global-offsets.sym: New file.
8103 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8105 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8106 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8107 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8109 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8110 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8116 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8117 halfs of GPRs for high_gprs contexts.
8118 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8119 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8121 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8123 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8125 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8126 for high GPRs (uc_high_gprs) and for future extensions
8128 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8129 for future extensions (__reserved).
8130 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8132 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8133 SC_HIGHGPRS offset definition.
8134 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8135 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8137 * Versions.def: Add GLIBC_2.19 for libpthread.
8138 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8139 siglongjmp for libpthread with GLIBC_2.19 symver.
8140 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8141 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8142 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8143 * sysdeps/s390/__longjmp.c: New file.
8144 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8145 * sysdeps/s390/longjmp.c: New file.
8146 * sysdeps/s390/setjmp.S: New file.
8147 * sysdeps/s390/sigjmp.S: New file.
8148 * sysdeps/s390/v1-longjmp.c: New file.
8149 * sysdeps/s390/v1-setjmp.h: New file.
8150 * sysdeps/s390/v1-sigjmp.c: New file.
8151 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8152 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8154 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8155 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8156 versioned symbols for ____longjmp_chk.
8157 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8167 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8168 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8169 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8170 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8171 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8172 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8173 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8174 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8175 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8176 * sysdeps/s390/rtld-__longjmp.c: New file.
8177 * sysdeps/s390/rtld-setjmp.S: New file.
8179 2014-01-06 Joseph Myers <joseph@codesourcery.com>
8182 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8183 Return -__logl (x) for small positive arguments without evaluating
8186 2014-01-06 Mike Frysinger <vapier@gentoo.org>
8188 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8190 (__ptrace_peeksiginfo_args): ... this.
8191 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8192 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8193 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8195 2014-01-06 Allan McRae <allan@archlinux.org>
8197 * inet/netinet/in.h: Fix typo in comment.
8199 2014-01-05 Andreas Jaeger <aj@suse.de>
8201 * sysdeps/i386/fpu/libm-test-ulps: Update.
8203 2014-01-05 Allan McRae <allan@archlinux.org>
8205 * po/libc.pot: Regenerated.
8207 * malloc/memusagestat.c: Fix gettext call formatting.
8209 2014-01-04 Sami Kerola <kerolasa@iki.fi>
8211 * nscd/nscd.c: Improve usage() output.
8213 2014-01-04 Mike Frysinger <vapier@gentoo.org>
8215 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8216 * sysdeps/unix/sysv/linux/configure: Regenerated.
8217 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8218 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8220 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8223 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8224 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8226 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8228 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8229 extra tokens at end of #undef directive.
8230 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8231 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8232 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8234 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8236 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8238 * math/auto-libm-test-in: Mark various tests with
8239 xfail-rounding:ldbl-128ibm.
8240 * math/auto-libm-test-out: Regenerated.
8242 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8245 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8246 numbers with subnormal high part when calculating exponent.
8249 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8253 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8255 (__ieee754_acoshl): Use __log1pl not __log1p.
8257 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
8259 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8260 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8261 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8262 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8263 (reused_arena, arena_get2): Convert to GNU style.
8264 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8265 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8266 (memalign_check, __malloc_set_state): Likewise.
8267 * malloc/mallocbug.c (main): Likewise.
8268 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8269 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8270 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8271 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8272 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8273 (__posix_memalign, malloc_info): Likewise.
8274 * malloc/malloc.h: Likewise.
8275 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8276 (mallochook, memalignhook, reallochook, mabort): Likewise.
8277 * malloc/mcheck.h: Likewise.
8278 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8279 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8280 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8281 * malloc/morecore.c (__default_morecore): Likewise.
8282 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8283 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8284 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8285 (print_and_abort): Likewise.
8286 * malloc/obstack.h: Likewise.
8287 * malloc/set-freeres.c (__libc_freeres): Likewise.
8288 * malloc/tst-mallocstate.c (main): Likewise.
8289 * malloc/tst-mtrace.c (main): Likewise.
8290 * malloc/tst-realloc.c (do_test): Likewise.
8292 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8295 * nscd/netgroupcache.c (do_notfound): New function.
8296 (addgetnetgrentX): Use it.
8299 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8300 NSS_STATUS_NOTFOUND.
8302 2014-01-01 Joseph Myers <joseph@codesourcery.com>
8304 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8307 2014-01-01 Allan McRae <allan@archlinux.org>
8309 * scripts/update-copyrights: Update configure input file suffix.
8311 * NEWS: Update copyright year.
8312 * catgets/gencat.c: Likewise.
8313 * csu/version.c: Likewise.
8314 * debug/catchsegv.sh: Likewise.
8315 * debug/pcprofiledump.c: Likewise.
8316 * debug/xtrace.sh: Likewise.
8317 * elf/ldconfig.c: Likewise.
8318 * elf/ldd.bash.in: Likewise.
8319 * elf/pldd.c: Likewise.
8320 * elf/sotruss.ksh: Likewise.
8321 * elf/sprof.c: Likewise.
8322 * iconv/iconv_prog.c: Likewise.
8323 * iconv/iconvconfig.c: Likewise.
8324 * locale/programs/locale.c: Likewise.
8325 * locale/programs/localedef.c: Likewise.
8326 * login/programs/pt_chown.c: Likewise.
8327 * malloc/memusage.sh: Likewise.
8328 * malloc/memusagestat.c: Likewise.
8329 * malloc/mtrace.pl: Likewise.
8330 * manual/libc.texinfo: Likewise.
8331 * nscd/nscd.c: Likewise.
8332 * nss/getent.c: Likewise.
8333 * nss/makedb.c: Likewise.
8334 * posix/getconf.c: Likewise.
8335 * scripts/test-installation.pl: Likewise.
8337 * All files with FSF copyright notices: Update copyright dates
8338 using scripts/update-copyrights.
8339 * intl/plural.c: Regenerated.
8340 * locale/programs/charmap-kw.h: Likewise.
8341 * locale/programs/locfile-kw.h: Likewise.
8343 2013-12-31 Mike Frysinger <vapier@gentoo.org>
8345 * sysdeps/unix/sysv/linux/configure: Regenerated.
8346 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8347 the linux/fanotify.h header.
8348 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8349 HAVE_LINUX_FANOTIFY_H is defined.
8351 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8353 * benchtests/cos-inputs: New inputs.
8354 * benchtests/sin-inputs: Likewise.
8356 * benchtests/atan-inputs: New inputs. Fix name of multiple
8357 precision fallback inputs.
8359 * benchtests/atanh-inputs: New inputs.
8360 * benchtests/tanh-inputs: Likewise.
8362 * benchtests/acosh-inputs: New inputs.
8363 * benchtests/asinh-inputs: Likewise.
8365 * benchtests/cosh-inputs: New inputs.
8366 * benchtests/sinh-inputs: Likewise.
8368 * benchtests/acos-inputs: Add more inputs.
8369 * benchtests/asin-inputs: Likewise.
8371 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
8374 * manual/arith.texi: Fix spelling.
8375 * manual/charset.texi: Likewise.
8376 * manual/errno.texi: Likewise.
8377 * manual/filesys.texi: Likewise.
8378 * manual/lang.texi: Likewise.
8379 * manual/llio.texi: Likewise.
8380 * manual/locale.texi: Likewise.
8381 * manual/message.texi: Likewise.
8382 * manual/resource.texi: Likewise.
8383 * manual/search.texi: Likewise.
8384 * manual/setjmp.texi: Likewise.
8385 * manual/stdio.texi: Likewise.
8386 * manual/string.texi: Likewise.
8387 * manual/sysinfo.texi: Likewise.
8388 * manual/time.texi: Likewise.
8390 2013-12-27 Carlos O'Donell <carlos@redhat.com>
8392 * po/sl.po: New file.
8394 2013-12-27 Mike Frysinger <vapier@gentoo.org>
8396 * .gitignore: Add core/.gdbinit/.gdb_history.
8398 2013-12-27 Allan McRae <allan@archlinux.org>
8401 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8402 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8404 2013-12-24 Brooks Moses <bmoses@google.com>
8406 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8407 all compilers that claim C++98 compliance, not just GCC.
8408 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8411 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8413 * NEWS: Restore accidentally deleted bug-fix entries.
8415 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8416 Ondřej Bílka <neleai@seznam.cz>
8419 * malloc/malloc.c (_int_free): Perform sanity check only if we
8422 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
8425 * manual/stdio.texi (String Input Conversions): Clarify that character
8426 classes are not supported.
8428 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8432 2013-12-22 Joseph Myers <joseph@codesourcery.com>
8435 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8436 Calculate results for small negative arguments directly rather
8437 than using reflection formula with special underflow handling.
8439 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8440 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8441 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8442 (fchflags): Likewise.
8444 (setlogin): Likewise.
8445 (sigaltstack): Likewise.
8448 (sigsetmask): Likewise.
8450 (waitpid): Likewise.
8451 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8452 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8454 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8455 * sysdeps/unix/bsd/Makefile: ... here.
8456 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8457 * sysdeps/unix/bsd/Versions: ... here.
8458 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8459 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8460 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8461 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8462 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8463 * sysdeps/unix/bsd/sigblock.c: ... here.
8464 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8465 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8466 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8467 * sysdeps/unix/bsd/sigvec.c: ... here.
8468 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8469 * sysdeps/unix/bsd/tcdrain.c: ... here.
8470 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8471 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8472 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8473 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8474 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8475 * sysdeps/unix/bsd/wait.c: ... here.
8476 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8477 * sysdeps/unix/bsd/wait3.c: ... here.
8478 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8479 * sysdeps/unix/bsd/waitpid.c: ... here.
8481 2013-12-21 Joseph Myers <joseph@codesourcery.com>
8484 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8485 round-to-nearest for [!USE_AS_EXPM1L].
8486 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8487 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8488 more tests of exp and exp10. Expect some exp10 tests to miss
8489 exceptions or fail in directed rounding modes.
8490 * math/auto-libm-test-out: Regenerated.
8491 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8492 (exp10_test_tonearest): New function.
8493 (exp10_towardzero_test_data): New array.
8494 (exp10_test_towardzero): New function.
8495 (exp10_downward_test_data): New array.
8496 (exp10_test_downward): New function.
8497 (exp10_upward_test_data): New array.
8498 (exp10_test_upward): New function.
8499 (main): Call the new functions.
8500 * sysdeps/i386/fpu/libm-test-ulps: Update.
8501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8503 2013-12-20 Joseph Myers <joseph@codesourcery.com>
8505 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8506 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8507 * math/auto-libm-test-out: Regenerated.
8508 * math/libm-test.inc (acosh_test_data): Add more tests.
8509 (atanh_test_data): Likewise.
8510 (ceil_test_data): Likewise.
8511 (copysign_test_data): Likewise.
8512 * sysdeps/i386/fpu/libm-test-ulps: Update.
8513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8515 * timezone/checktab.awk: Update from tzcode 2013i.
8516 * timezone/private.h: Likewise.
8517 * timezone/scheck.c: Likewise.
8518 * timezone/tzfile.h: Likewise.
8519 * timezone/tzselect.ksh: Likewise.
8520 * timezone/zdump.c: Likewise.
8521 * timezone/zic.c: Likewise.
8523 * math/auto-libm-test-in: Add tests of cpow.
8524 * math/auto-libm-test-out: Regenerated.
8525 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8526 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8528 (func_calc_desc): Add mpc_cc_c union field.
8529 (test_functions): Add cpow.
8530 (special_fill_2pi): New function.
8531 (special_real_inputs): Add 2pi.
8532 (calc_generic_results): Handle mpc_cc_c.
8533 * sysdeps/i386/fpu/libm-test-ulps: Update.
8534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8536 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8537 csqrt, ctan and ctanh.
8538 * math/auto-libm-test-out: Regenerated.
8539 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8540 (TEST_COND_x86): Likewise.
8541 (ccos_test_data): Use AUTO_TESTS_c_c.
8542 (ccosh_test_data): Likewise.
8543 (cexp_test_data): Likewise.
8544 (clog_test_data): Likewise.
8545 (csqrt_test_data): Likewise.
8546 (ctan_test_data): Likewise.
8547 (ctan_tonearest_test_data): Likewise.
8548 (ctan_towardzero_test_data): Likewise.
8549 (ctan_downward_test_data): Likewise.
8550 (ctan_upward_test_data): Likewise.
8551 (ctanh_test_data): Likewise.
8552 (ctanh_tonearest_test_data): Likewise.
8553 (ctanh_towardzero_test_data): Likewise.
8554 (ctanh_downward_test_data): Likewise.
8555 (ctanh_upward_test_data): Likewise.
8556 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8558 (func_calc_desc): Add mpc_c_c union field.
8559 (FUNC_mpc_c_c): New macro.
8560 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8561 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8563 (special_fill_min_subnorm_p120): New function.
8564 (special_real_inputs): Add min_subnorm_p120.
8565 (calc_generic_results): Handle mpc_c_c.
8566 * sysdeps/i386/fpu/libm-test-ulps: Update.
8567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8569 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8571 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8572 (do_sin_slow): New functions.
8573 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8574 (cslow2, csloww1, csloww2): Use the new functions.
8576 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8577 Use M to change sign of result instead of X. Assume X is
8579 (csloww1): Likewise.
8583 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8588 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8590 (sloww1): Don't adjust sign of DX.
8591 (csloww1): Likewise.
8592 (sloww2): Use X directly and don't adjust sign of DX.
8593 (csloww2): Likewise.
8595 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8597 * math/auto-libm-test-in: Add tests of cabs and carg.
8598 * math/auto-libm-test-out: Regenerated.
8599 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8600 (carg_test_data): Likewise.
8601 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8603 (func_calc_desc): Add mpc_c_f union field.
8604 (test_functions): Add cabs and carg.
8605 (calc_generic_results): Handle mpc_c_f.
8607 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8608 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8609 as a macro and a compat symbol.
8610 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8611 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8612 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8613 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8614 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8615 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8617 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8619 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8621 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8623 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8625 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8627 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8628 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8631 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8635 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8637 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8638 trailing whitespace removed.
8639 * scripts/config.guess: Update to version 2013-11-29.
8640 * scripts/config.sub: Update to version 2013-10-01.
8642 * math/auto-libm-test-in: Add tests of sincos.
8643 * math/auto-libm-test-out: Regenerated.
8644 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8645 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8647 (func_calc_desc): Add mpfr_f_11 union field.
8648 (test_functions): Add sincos.
8649 (calc_generic_results): Handle mpfr_f_11.
8650 * sysdeps/i386/fpu/libm-test-ulps: Update.
8651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8653 2013-12-19 Andreas Schwab <schwab@suse.de>
8655 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8657 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8658 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8659 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8661 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8663 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8664 * sysdeps/i386/fpu/libm-test-ulps: Update.
8665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8668 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8669 round-to-nearest mode when using frndint.
8670 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8671 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8672 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8674 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8676 * math/auto-libm-test-out: Regenerated.
8677 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8678 (TEST_COND_x86): Likewise.
8679 (expm1_tonearest_test_data): New array.
8680 (expm1_test_tonearest): New function.
8681 (expm1_towardzero_test_data): New array.
8682 (expm1_test_towardzero): New function.
8683 (expm1_downward_test_data): New array.
8684 (expm1_test_downward): New function.
8685 (expm1_upward_test_data): New array.
8686 (expm1_test_upward): New function.
8687 (main): Run the new test functions.
8688 * sysdeps/i386/fpu/libm-test-ulps: Update.
8689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8691 * include/features.h: Update comment documenting feature test
8692 macros. Mention _DEFAULT_SOURCE in comment.
8693 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8694 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8695 _BSD_SOURCE and _SVID_SOURCE.
8696 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8697 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8698 !_SVID_SOURCE]: Likewise.
8699 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8700 (__USE_POSIX_IMPLICITLY): Define.
8701 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8702 (_POSIX_SOURCE): Undefine and redefine.
8703 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8704 (_POSIX_C_SOURCE): Likewise.
8705 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8706 (Feature Test Macros): Update documentation of default features.
8708 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8710 * benchtests/Makefile: Add bench-strtok.
8711 * benchtests/bench-strtok.c: New file: strtok benchtest.
8713 2013-12-19 Allan McRae <allan@archlinux.org>
8715 * manual/install.texi: Suppress menu for plain text output.
8716 * INSTALL: Regenerated.
8718 2013-12-18 Brooks Moses <bmoses@google.com>
8721 * misc/getauxval.c: Include errno.h.
8722 (__getauxval): Set errno to ENOENT if the requested type is not
8724 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8725 don't declare with __attribute_const__.
8726 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8727 * manual/startup.texi: Document that getauxval sets errno.
8729 2013-12-18 Joseph Myers <joseph@codesourcery.com>
8731 * math/auto-libm-test-in: Add tests of jn and yn.
8732 * math/auto-libm-test-out: Regenerated.
8733 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8734 (yn_test_data): Likewise.
8735 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8737 (func_calc_desc): Add mpfr_if_f union field.
8738 (FUNC_mpfr_if_f): New macro.
8739 (test_functions): Add jn and yn.
8740 (calc_generic_results): Assert type of second input for
8741 mpfr_ff_f. Handle mpfr_if_f.
8742 (output_for_one_input_case): Disable all checking for arguments
8743 fitting floating-point types in case of an integer argument.
8744 * sysdeps/i386/fpu/libm-test-ulps: Update.
8745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8748 Don't expect fegetround reference in libm.so.
8750 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8752 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8753 $(config-cflags-nofma).
8755 2013-12-18 Joseph Myers <joseph@codesourcery.com>
8757 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8758 * math/auto-libm-test-out: Regenerated.
8761 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8762 to determine exponent and adjust argument to have exponent of -1.
8763 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8765 * math/auto-libm-test-out: Regenerated.
8766 * sysdeps/i386/fpu/libm-test-ulps: Update.
8767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8769 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
8771 * manual/probes.texi: Remove cases when per-thread arenas are
8774 2013-12-18 Andreas Schwab <schwab@suse.de>
8776 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8777 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8778 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8779 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8780 * sysdeps/i386/i686/multiarch/Makefile: Update.
8781 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8783 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8785 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8786 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8788 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8791 Support TZ transition times < 00:00:00.
8792 This is needed for version-3 tz-format files; it supports time
8793 stamps past 2037 for America/Godthab (the only entry in the tz
8794 database for which this change is relevant).
8795 * manual/time.texi (TZ Variable): Document transition times
8796 from -167:59:59 through -00:00:01.
8797 * time/tzset.c (tz_rule): Time of day is now signed.
8798 (__tzset_parse_tz): Parse negative time of day.
8800 Document TZ transition times >= 25:00:00.
8801 * manual/time.texi (TZ Variable): Document transition times from
8802 25:00:00 through 167:59:59. These are already supported, and this
8803 support will help with version-3 tz-format files.
8805 * manual/time.texi (TZ Variable): Modernize North America example
8806 to reflect current (i.e., 2007-and-later) daylight saving rules.
8808 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8810 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8812 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8813 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8814 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8815 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8816 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8817 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8818 * sysdeps/unix/bsd/clock.c: Likewise.
8819 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8820 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8821 * sysdeps/unix/bsd/init-posix.c: Likewise.
8822 * sysdeps/unix/bsd/poll.c: Likewise.
8823 * sysdeps/unix/bsd/ptsname.c: Likewise.
8824 * sysdeps/unix/bsd/seekdir.c: Likewise.
8825 * sysdeps/unix/bsd/setegid.c: Likewise.
8826 * sysdeps/unix/bsd/seteuid.c: Likewise.
8827 * sysdeps/unix/bsd/setgid.c: Likewise.
8828 * sysdeps/unix/bsd/setrgid.c: Likewise.
8829 * sysdeps/unix/bsd/setruid.c: Likewise.
8830 * sysdeps/unix/bsd/setsid.c: Likewise.
8831 * sysdeps/unix/bsd/setuid.c: Likewise.
8832 * sysdeps/unix/bsd/sigaction.c: Likewise.
8833 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8834 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8835 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8836 * sysdeps/unix/bsd/telldir.c: Likewise.
8837 * sysdeps/unix/bsd/times.c: Likewise.
8838 * sysdeps/unix/bsd/usleep.c: Likewise.
8840 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8841 ($(objpfx)libbsd-compat.a): Remove rule.
8843 * include/features.h (__FAVOR_BSD): Do not define.
8844 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8845 features conflicting with POSIX.
8846 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8847 (_BSD_SOURCE): Remove description of not being a subset of other
8848 feature test macros.
8849 * manual/job.texi (getpgrp): Do not document BSD version.
8850 (getpgid): Do not document by reference to BSD getpgrp.
8851 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8852 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8853 * signal/signal.h [__FAVOR_BSD]: Likewise.
8854 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8855 instead of making contents conditional on [__FAVOR_BSD].
8856 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8858 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8862 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8865 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8866 values below 2**-450, not 2**-500.
8867 * math/auto-libm-test-in: Don't allow spurious underflow from
8869 * math/auto-libm-test-out: Regenerated.
8873 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8874 values of ha and hb and sort them after adjusting subnormal
8876 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8878 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8879 values of ea and eb and sort them after adjusting subnormal
8881 * math/auto-libm-test-in: Do not expect some hypot tests of
8882 subnormals to fail. Add more hypot tests.
8883 * math/auto-libm-test-out: Regenerated.
8885 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8888 * sysdeps/sh/s_fma.c: New file.
8889 * sysdeps/sh/s_fmaf.c: New file.
8890 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8892 * sysdeps/sh/Implies: Add sh/soft-fp.
8894 2013-12-16 Roland McGrath <roland@hack.frob.com>
8896 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8897 level of indirection to members `objname', `errstring', `malloced'.
8898 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8899 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8900 it as the __longjmp argument (just pass 1 instead).
8901 (_dl_catch_error): Initialize C with argument pointers and address of
8902 volatile local ERRCODE rather than copying values out of C at return.
8904 2013-12-16 Joseph Myers <joseph@codesourcery.com>
8906 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8907 * math/auto-libm-test-out: Regenerated.
8908 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8909 (hypot_test_data): Likewise.
8910 (pow_test_data): Likewise.
8911 (pow_tonearest_test_data): Likewise.
8912 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8914 (func_calc_desc): Add mpfr_ff_f union field.
8915 (FUNC_mpfr_ff_f): New macro.
8916 (test_functions): Add atan2, hypot and pow.
8917 (special_fill_min): New function.
8918 (special_fill_minus_min): Likewise.
8919 (special_fill_min_subnorm): Likewise.
8920 (special_fill_minus_min_subnorm): Likewise.
8921 (special_real_inputs): Add min, -min, min_subnorm and
8923 (calc_generic_results): Handle mpfr_ff_f.
8924 * sysdeps/i386/fpu/libm-test-ulps: Update.
8925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8927 2013-12-16 Will Newton <will.newton@linaro.org>
8929 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8930 (Aligned Memory Blocks): Add documentation for aligned_alloc
8931 and suggest it as an alternative to posix_memalign.
8932 (Hooks for Malloc): Document __memalign_hook is also called
8933 for aligned_alloc. (Summary of Malloc): Add summary for
8934 aligned alloc. Document __memalign_hook is also called
8937 2013-12-16 Will Newton <will.newton@linaro.org>
8939 * manual/memory.texi (Malloc Examples): Clarify default
8940 alignment documentation. Suggest posix_memalign rather
8941 than memalign or valloc.
8942 (Aligned Memory Blocks): Remove suggestion to use memalign
8943 or valloc. Remove obsolete comment about BSD.
8944 Document memalign errno values and mark the function obsolete.
8945 Document posix_memalign returned error codes. Mark valloc
8946 as obsolete. (Hooks for Malloc): __memalign_hook is also
8947 called for posix_memalign and valloc.
8948 (Summary of Malloc): Add posix_memalign to function summary.
8949 __memalign_hook is also called for posix_memalign and valloc.
8951 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8953 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8957 (sloww): Use mynumber union. Expand ternary operator into
8959 (cslow): use mynumber union.
8961 2013-12-16 Allan McRae <allan@archlinux.org>
8963 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8964 * configure: Regenerated.
8966 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8969 * configure.ac: Added --enable-maintainer-mode. Check for
8970 autoconf when enabled.
8971 * configure: Regenerated.
8973 * nscd/nscd.service: New file.
8974 * nscd/nscd.tmpfiles: New file.
8976 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
8979 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8980 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8981 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8982 (strstr): Add __strstr_sse2_unaligned ifunc.
8983 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8984 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8985 (strcasestr): Remove __strcasestr_sse42 ifunc.
8986 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8987 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8990 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8992 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8993 * sysdeps/sh/bits/fenv.h: ... here.
8994 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8996 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8998 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9000 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9001 hypotf multiarch implementations.
9002 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9003 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9004 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9005 multiarch hypot for PPC64.
9006 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9007 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9008 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9009 multiarch hypotf for PPC64.
9011 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9012 modff multiarch implementations.
9013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9016 multiarch modf for PPC64.
9017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9020 multiarch modff for PPC64.
9022 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9023 and logl multiarch implementations.
9024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9027 multiarch logb for PPC64.
9028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9031 multiarch logb for PPC64.
9032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9035 multiarch logb for PPC64.
9037 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9038 isinff multiarch implementation.
9039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9043 multiarch isinf for PPC64.
9044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9047 multiarch isinff for PPC64.
9049 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9050 finitef multiarch implementation.
9051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9055 multiarch finite for PPC64.
9056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9059 multiarch finitef for PPC64.
9061 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9062 lrint multiarch implementation.
9063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9067 multiarch llrint for PPC64.
9068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9069 multiarch lrint for PPC64.
9071 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9072 copysignf multiarch implementation.
9073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9078 multiarch copysign for PPC64.
9079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9080 multiarch copysignf for PPC64.
9082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9083 multiarch implementation.
9084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9092 multiarch llround for PPC64.
9093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9094 multiarch trunc for PPC64.
9095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9096 multiarch truncf for PPC64.
9098 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9099 multiarch implementation.
9100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9108 multiarch llround for PPC64.
9109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9110 multiarch round for PPC64.
9111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9112 multiarch roundf for PPC64.
9114 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9115 multiarch implementation.
9116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9124 multiarch llround for PPC64.
9125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9126 multiarch floor for PPC64.
9127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9128 multiarch floorf for PPC64.
9130 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9131 multiarch implementation.
9132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9140 multiarch llround for PPC64.
9141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9142 multiarch ceil for PPC64.
9143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9144 multiarch ceilf for PPC64.
9146 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9147 multiarch implementation.
9148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9155 multiarch llround for PPC64.
9156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9157 multiarch lround for PPC64.
9159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9160 multiarch implementation.
9161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9168 multiarch isnan for PPC64.
9169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9170 multiarch isnanf for PPC64.
9172 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9173 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9174 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9175 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9176 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9179 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9180 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9181 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9182 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9185 multiarch implementations.
9186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9187 (__libc_ifunc_impl_list): Likewise.
9188 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9189 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9190 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9191 multiarch stpcpy for PPC64.
9193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9194 multiarch implementations.
9195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9196 (__libc_ifunc_impl_list): Likewise.
9197 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9198 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9199 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9200 multiarch strcpy for PPC64.
9202 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9203 redefine function name.
9204 (_wordcopy_fwd_dest_aligned): Likewise.
9205 (_wordcopy_bwd_aligned): Likewise.
9206 (_wordcopy_bwd_dest_aligned): Likewise.
9207 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9208 multiarch implementations.
9209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9210 (__libc_ifunc_impl_list): Likewise.
9211 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9212 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9213 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9214 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9215 multiarch wcscpy for PPC64.
9217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9218 multiarch implementations.
9219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9220 (__libc_ifunc_impl_list): Likewise.
9221 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9222 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9223 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9224 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9225 multiarch wcscpy for PPC64.
9227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9228 multiarch implementations.
9229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9230 (__libc_ifunc_impl_list): Likewise.
9231 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9232 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9233 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9234 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9235 multiarch wcsrchr for PPC64.
9237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9238 multiarch implementations.
9239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9240 (__libc_ifunc_impl_list): Likewise.
9241 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9242 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9243 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9244 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9245 multiarch wcschr for PPC64.
9247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9248 multiarch implementations.
9249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9250 (__libc_ifunc_impl_list): Likewise.
9251 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9252 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9253 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9254 multiarch strchrnul for PPC64.
9256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9259 (__libc_ifunc_impl_list): Likewise.
9260 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9261 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9262 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9263 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9269 (__libc_ifunc_impl_list): Likewise.
9270 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9271 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9272 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9273 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9277 multiarch implementations.
9278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9279 (__libc_ifunc_impl_list): Likewise.
9280 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9281 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9282 strncasecmp for PPC64.
9283 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9284 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9285 multiarch strncasecmp_l for PPC64.
9287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9288 multiarch implementations.
9289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9290 (__libc_ifunc_impl_list): Likewise.
9291 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9292 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9293 multiarch strcasecmp for PPC64.
9294 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9296 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9297 multiarch strcasecmp_l for PPC64.
9299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9302 (__libc_ifunc_impl_list): Likewise.
9303 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9304 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9305 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9308 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9311 (__libc_ifunc_impl_list): Likewise.
9312 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9313 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9314 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9320 (__libc_ifunc_impl_list): Likewise.
9321 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9322 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9323 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9324 rawmemrchr for PPC64.
9326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9329 (__libc_ifunc_impl_list): Likewise.
9330 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9331 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9332 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9338 (__libc_ifunc_impl_list): Likewise.
9339 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9340 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9341 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9347 (__libc_ifunc_impl_list): Likewise.
9348 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9349 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9350 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9353 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9354 avoid cretion of __bzero symbol.
9355 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9357 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9359 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9361 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9362 multiarch implementations.
9363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9364 (__libc_ifunc_impl_list): Likewise.
9365 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9366 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9367 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9368 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9370 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9371 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9372 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9373 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9374 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9376 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9378 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9382 (__libc_ifunc_impl_list): Likewise.
9383 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9384 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9385 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9386 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9390 multiarch for POWER/PPC64.
9391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9392 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9393 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9394 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9395 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9396 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9397 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9398 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9399 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9402 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9403 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9404 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9405 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9406 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9407 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9408 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9409 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9410 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9411 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9412 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9413 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9414 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9415 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9416 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9425 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9427 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9429 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9431 * benchtests/Makefile (bench): Add exp2 and log2.
9432 (LDLIBS-bench-exp2): Add -lm.
9433 (LDLIBS-bench-log2): Likewise.
9434 * benchtests/exp2-inputs: New inputs file.
9435 * benchtests/log2-inputs: New inputs file.
9436 * benchtests/log-inputs: Add new inputs.
9437 * benchtests/tan-inputs: Likewise.
9439 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9441 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9443 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9444 (csloww2): ... from here.
9446 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9447 instead of structures.
9448 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9449 (POLYNOMIAL): Likewise.
9450 (TAYLOR_SLOW): Likewise.
9458 (bsloww1): Likewise.
9459 (bsloww2): Likewise.
9462 (csloww1): Likewise.
9463 (csloww2): Likewise.
9465 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
9467 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9468 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9469 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9470 * malloc/hooks.c (realloc_check): Likewise.
9472 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9473 * malloc/arena.c: Remove PER_THREAD conditional.
9474 [!PER_THREAD]: Remove code.
9475 (ptmalloc_unlock_all2): Likewise.
9476 (ptmalloc_init): Likewise.
9477 (_int_new_arena): Likewise.
9478 (arena_get2): Likewise.
9479 * malloc/hooks.c (__malloc_get_state): Likewise.
9480 (__malloc_set_state): Likewise.
9481 * malloc/malloc.c: Likewise.
9482 (struct malloc_state): Likewise.
9483 (struct malloc_par): Likewise.
9484 (__libc_realloc): Likewise.
9485 (__libc_mallopt): Likewise.
9487 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9489 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9491 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
9493 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9494 macro to a function. Check for zero perturb_byte.
9495 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9497 * malloc/malloc.c: (force_reg): Remove.
9498 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9499 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9500 force_reg by atomic_forced_read.
9501 * malloc/arena.c (ptmalloc_init): Likewise.
9502 * malloc/hooks.c (top_check): Likewise.
9504 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9508 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9512 2013-12-08 Joseph Myers <joseph@codesourcery.com>
9514 * math/auto-libm-test-in: Add tests of lgamma.
9515 * math/auto-libm-test-out: Regenerated.
9516 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9517 (M_LOG_2_SQRT_PIl): Likewise.
9518 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9519 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9521 (func_calc_desc): Add mpfr_f_f1 union field.
9530 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9531 (test_functions): Add lgamma.
9532 (calc_generic_results): Handle mpfr_f_f1.
9533 * sysdeps/i386/fpu/libm-test-ulps: Update.
9534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9536 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9538 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9539 __mpn_add_n for PowerPC64/POWER7.
9540 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9541 __mpn_sub_n for PowerPC64/POWER7.
9543 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9544 __mpn_addmul_1 for PowerPC64.
9545 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9546 __mpn_submul_1 for PowerPC64.
9547 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9549 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9552 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9555 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9557 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9559 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9561 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9562 add multiarch folders.
9563 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9564 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9565 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9566 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9567 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9568 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9569 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9570 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9571 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9572 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9573 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9582 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9588 multiarch __ieee754_hypot for PowerPC32.
9589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9594 multiarch __ieee754_hypotf for PowerPC32.
9596 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9597 long_double_symbol only if __logbl is defined.
9598 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9599 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9600 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9601 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9602 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9603 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9604 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9605 path for implementation.
9606 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9607 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9609 logb, and logbl multiarch implementations for PowerPC32.
9610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9615 multiarch logb for PowerPC32.
9616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9621 multiarch logbf for PowerPC32.
9622 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9626 multiarch logbl implementation for PowerPC32.
9628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9629 and modff multiarch implementations.
9630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9635 multiarch modf for PowerPC32.
9636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9641 multiarch modff for PowerPC32.
9643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9644 and lrintf multiarch implementations.
9645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9650 multiarch lrint for PowerPC32.
9651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9652 file: multiarch lrintf for PowerPC32.
9654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9655 and lroundf multiarch implementations.
9656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9663 multiarch lround for PowerPC32.
9664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9665 file: multiarch lroundf for PowerPC32.
9667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9668 copysign and copysignf multiarch implementations.
9669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9674 file: multiarch copysign for PowerPC32.
9675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9676 file: multiarch copysignf for PowerPC32.
9678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9679 and truncf multiarch implementations.
9680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9685 multiarch trunc for PowerPC32.
9686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9691 multiarch truncf for PowerPC32.
9693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9694 and roundf multiarch implementations.
9695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9700 multiarch round for PowerPC32.
9701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9706 multiarch roundf for PowerPC32.
9708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9709 and floorf multiarch implementations.
9710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9715 multiarch floor for PowerPC32.
9716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9721 multiarch floorf for PowerPC32.
9723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9724 and ceilf multiarch implementations.
9725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9730 multiarch ceil for PowerPC32.
9731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9736 multiarch ceilf for PowerPC32.
9738 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9740 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9743 and finitef multiarch implementations.
9744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9749 multiarch finite for PowerPC32.
9750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9753 file: multiarch finitef for PowerPC32.
9755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9756 and isinff multiarch implementations.
9757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9762 multiarch isinf for PowerPC32.
9763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9766 multiarch isinff for PowerPC32.
9768 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9769 alias when __isnan is defined.
9770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9771 and isnanf multiarch implementations.
9772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9781 multiarch isnan for PowerPC32.
9782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9787 multiarch isnanf for PowerPC32.
9789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9790 and sqrtf multiarch implementations.
9791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9796 multiarch sqrt for PowerPC32.
9797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9802 multiarch sqrtf for PowerPC32.
9804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9805 and llroundf multiarch implementations.
9806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9813 file: multiarch llround for PowerPC32.
9814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9815 file: multiarch llroundf for PowerPC32.
9817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9818 multiarch PowerPC32 fpu implementations.
9819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9824 multiarch llrint for PowerPC32.
9825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9834 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9836 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9838 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9840 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9841 multiarch wordcopy for PPC32.
9842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9845 (__libc_ifunc_impl_list): Likewise.
9846 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9847 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9848 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9849 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9850 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9851 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9853 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9854 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9856 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9858 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9860 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9861 multiarch wcscpy for PPC32.
9862 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9864 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9865 (__libc_ifunc_impl_list): Likewise.
9866 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9867 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9868 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9869 sysdeps/powerpc/power6/wcscpy.c.
9871 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9872 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9874 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9876 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9878 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9879 multiarch wcsrchr for PPC32.
9880 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9882 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9883 (__libc_ifunc_impl_list): Likewise.
9884 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9885 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9886 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9887 sysdeps/powerpc/power6/wcsrchr.c.
9889 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9891 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9893 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9894 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9895 multiarch wcschr for PPc32.
9896 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9898 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9899 (__libc_ifunc_impl_list): Likewise.
9900 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9901 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9902 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9903 sysdeps/powerpc/power6/wcschr.c.
9905 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9906 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9908 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9909 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9910 file: multiarch strchr for PPC32.
9911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9913 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9914 (__libc_ifunc_impl_list): Likewise.
9916 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9918 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9920 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9922 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9923 multiarch strchrnul for PPC32.
9924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9927 (__libc_ifunc_impl_list): Likewise.
9929 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9931 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9932 multiarch strncasecmp for PPC32.
9933 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9935 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9936 multiarch strncasecmp_l for PPC32.
9937 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9938 strncasecmp multiarch objects.
9939 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9940 (__libc_ifunc_impl_list): Likewise.
9942 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9944 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9945 multiarch strncasecmp for PPC32.
9946 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9948 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9949 multiarch strcasecmp_l for PPC32.
9950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9953 (__libc_ifunc_impl_list): Likewise.
9955 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9957 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9959 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9960 multiarch strncmp for PPC32.
9961 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9963 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9964 (__libc_ifunc_impl_list): Likewise.
9966 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9967 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9969 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9970 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9971 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9973 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9974 (__libc_ifunc_impl_list): Likewise.
9976 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9978 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9980 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9981 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9983 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9984 (__libc_ifunc_impl_list): Likewise.
9986 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9988 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9990 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9991 multiarch rawmemchr for PPC32.
9992 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9994 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9995 (__libc_ifunc_impl_list): Likewise.
9997 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9999 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10001 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10002 file: memrchr multiarch for PPC32.
10003 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10005 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10006 (__libc_ifunc_impl_list): Likewise.
10008 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10009 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10011 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10012 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10013 multiarch memchr for PPC32.
10014 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10016 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10017 (__libc_ifunc_impl_list): Likewise.
10019 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10020 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10022 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10024 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10025 file: multiarch mempcpy for PPC32.
10026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10028 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10029 (__libc_ifunc_impl_list): Likewise.
10031 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10032 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10033 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10034 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10035 multiarch bzero for PPC32.
10036 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10038 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10040 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10041 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10042 file: multiarch memset for PPC32.
10043 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10045 memset multiarch objects.
10046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10047 (__libc_ifunc_impl_list): Likewise.
10049 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10051 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10052 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10054 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10055 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10058 (__libc_ifunc_impl_list): Likewise.
10060 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10061 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10062 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10064 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10066 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10068 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10069 multiarch memcpy for PPC32.
10070 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10072 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10073 (__libc_ifunc_impl_list): Likewise.
10075 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10076 support multiarch for POWER/PPC32.
10077 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10079 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10081 Implies file to make multiarch folder appers before the fpu and
10082 default folder for power4 configuration.
10084 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10086 * scripts/bench.pl: Append volatile keyword to type.
10088 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10090 * sysdeps/sh/sotruss-lib.c: New file.
10091 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10093 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10097 2013-12-05 Joseph Myers <joseph@codesourcery.com>
10100 * math/w_tgamma.c: Include <errno.h>.
10101 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10102 * math/w_tgammaf.c: Include <errno.h>.
10103 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10104 * math/w_tgammal.c: Include <errno.h>.
10105 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10106 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10107 underflow. Add more tgamma tests.
10108 * math/auto-libm-test-out: Regenerated.
10109 * sysdeps/i386/fpu/libm-test-ulps: Update.
10110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10112 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10113 sin, sinh, tan, tanh, tgamma, y0 and y1.
10114 * math/auto-libm-test-out: Regenerated.
10115 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10116 (TEST_COND_x86): Likewise.
10117 (M_E2l): Remove macro.
10119 (M_2_SQRT_PIl): Likewise.
10120 (M_SQRT_PIl): Likewise.
10121 (M_1_DIV_El): Likewise.
10122 (log_test_data): Use AUTO_TESTS_f_f.
10123 (log10_test_data): Likewise.
10124 (log1p_test_data): Likewise.
10125 (log2_test_data): Likewise.
10126 (sin_test_data): Likewise.
10127 (sin_tonearest_test_data): Likewise.
10128 (sin_towardzero_test_data): Likewise.
10129 (sin_downward_test_data): Likewise.
10130 (sin_upward_test_data): Likewise.
10131 (sinh_test_data): Likewise.
10132 (sinh_tonearest_test_data): Likewise.
10133 (sinh_towardzero_test_data): Likewise.
10134 (sinh_downward_test_data): Likewise.
10135 (sinh_upward_test_data): Likewise.
10136 (tan_test_data): Likewise.
10137 (tan_tonearest_test_data): Likewise.
10138 (tan_towardzero_test_data): Likewise.
10139 (tan_downward_test_data): Likewise.
10140 (tan_upward_test_data): Likewise.
10141 (tanh_test_data): Likewise.
10142 (tgamma_test_data): Likewise.
10143 (y0_test_data): Likewise.
10144 (y1_test_data): Likewise.
10145 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10146 (special_real_inputs): Add pi/4.
10147 * sysdeps/i386/fpu/libm-test-ulps: Update.
10148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10150 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10152 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10153 "longjmp_target" static probes.
10154 (__longjmp): Rename to __longjmp_symbol.
10155 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10156 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10157 on which longjmp to generate.
10158 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10159 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10161 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10162 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10163 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10164 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10165 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10166 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10168 __longjmp_symbol based on which __longjmp to generate.
10169 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10171 (setjmp): Rename to setjmp_symbol.
10172 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10173 (_setjmp): Rename to _setjmp_symbol.
10174 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10175 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10176 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10177 which setjmp to generate.
10178 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10179 "longjmp_target" static probes.
10181 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10183 * benchtests/README: Add note about output arguments.
10184 * benchtests/bench-sincos.c: Remove file.
10185 * benchtests/sincos-inputs: New file.
10186 * scripts/bench.pl: Identify output arguments and define
10187 static variables for them.
10189 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10192 * Makefile (INSTALL): Add install-plain.texi as the primary
10194 * manual/install-plain.texi: New file.
10195 * manual/install.texi: Include node directive only for
10196 non-plaintext output.
10198 2013-12-04 Joseph Myers <joseph@codesourcery.com>
10200 * stdlib/longlong.h: Update from GCC.
10204 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10205 * math/w_j0f.c (y0f): Likewise.
10206 * math/w_j0l.c (__y0l): Likewise.
10207 * math/w_j1.c (y1): Likewise.
10208 * math/w_j1f.c (y1f): Likewise.
10209 * math/w_j1l.c (__y1l): Likewise
10210 * math/w_jn.c (yn): Likewise.
10211 * math/w_jnf.c (ynf): Likewise.
10212 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10213 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10214 value for Bessel function domain errors outside _SVID_ mode.
10215 Adjust sign of return value for yn (negative integer, 0).
10216 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10217 by zero in return for negative x and set sign appropriately for
10219 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10220 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10221 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10222 expectations in error cases.
10223 (y1_test_data): Likewise.
10224 (yn_test_data): Likewise.
10225 * sysdeps/i386/fpu/libm-test-ulps: Update.
10226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10228 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10230 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10231 "64" to "64-v1". Add "64-v2".
10232 (abi-64-options): Rename to ...
10233 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10234 (abi-64-condition): Rename to ...
10235 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10236 (abi-64-ld-soname): Rename to ...
10237 (abi-64-v1-ld-soname): ... this.
10238 (abi-64-v2-options): Define.
10239 (abi-64-v2-condition): Likewise.
10240 (abi-64-v2-ld-soname): Likewise.
10241 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10242 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10247 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10248 Alan Modra <amodra@gmail.com>
10250 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10251 New versions for use with the ELFv2 ABI.
10252 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10253 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10255 (struct La_ppc64v2_retval): Likewise.
10256 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10257 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10258 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10259 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10260 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10261 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10262 Do not save or restore CR.
10263 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10264 (_dl_profile_resolve): Do no save or restore CR. Support extended
10265 return values for ELFv2 ABI. Fix location of FPR return registers.
10266 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10267 updated values for _CALL_ELF == 2.
10268 (La_regs, La_retval, int_retval): Likewise.
10270 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10272 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10273 (FRAME_MIN_SIZE_PARM): Likewise.
10274 (FRAME_BACKCHAIN): Likewise.
10275 (FRAME_CR_SAVE): Likewise.
10276 (FRAME_LR_SAVE): Likewise.
10277 (FRAME_TOC_SAVE): Likewise.
10278 (FRAME_PARM_SAVE): Likewise.
10279 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10280 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10281 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10282 (call_mcount_parm_offset): New macro.
10283 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10284 (PROF): Use symbolic stack frame offsets.
10285 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10286 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10287 Redefine in terms of FRAME_MIN_SIZE.
10288 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10289 (_dl_profile_resolve): Likewise. Update comment.
10290 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10291 symbols stack frame offsets.
10292 (__sigsetjmp): Likewise.
10293 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10294 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10295 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10296 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10299 (FRAME_BACKCHAIN): Remove.
10300 (FRAME_CR_SAVE): Likewise.
10301 (FRAME_LR_SAVE): Likewise.
10302 (FRAME_COMPILER_DW): Likewise.
10303 (FRAME_LINKER_DW): Likewise.
10304 (FRAME_TOC_SAVE): Likewise.
10305 (FRAME_PARM_SAVE): Likewise.
10306 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10307 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10308 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10310 (CHECK_SP): Use symbolic stack frame offsets.
10311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10312 zone" instead of caller's parameter save area for temp storage.
10313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10314 Likewise. Also, use symbolic stack frame offsets.
10315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10316 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10317 our own stack frame instead of the caller's.
10318 (__socket): Use symbolic stack frame offsets.
10320 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10321 Alan Modra <amodra@gmail.com>
10323 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10325 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10326 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10327 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10329 (elf_machine_fixup_plt): Call it.
10330 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10332 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10333 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10334 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10335 r2 before calling target.
10337 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10338 Alan Modra <amodra@gmail.com>
10340 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10341 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10342 versions of macros to support ELFv2 ABI.
10343 (LOCALENTRY): New macro.
10344 (ENTRY, EALIGN): Use it.
10345 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10346 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10347 fall through into ENTRY entry point.
10348 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10349 Only define if _CALL_ELF != 2.
10351 (elf_machine_matches_host): Verify ABI version matches.
10352 (RTLD_START): Use LOCALENTRY.
10353 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10354 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10355 (PLT_ENTRY_WORDS): New macro.
10356 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10357 (elf_machine_runtime_setup): Support ELFv2 ABI.
10358 (elf_machine_fixup_plt): Likewise.
10359 (elf_machine_plt_conflict): Likewise.
10360 (resolve_ifunc): Likewise.
10361 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10362 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10365 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10367 (makecontext): Support ELFv2 ABI.
10368 * elf/elf.h (EF_PPC64_ABI): Define.
10370 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10372 * sysdeps/powerpc/powerpc64/sysdep.h
10373 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10374 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10375 (ENTRY) [ASSEMBLER]: ... but instead here ...
10376 (EALIGN) [ASSEMBLER]: ... and here.
10377 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10378 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10379 (ENTRY_2) [!ASSEMBLER]: Use it.
10380 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10381 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
10382 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10383 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10384 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10386 Use PPC64_LOAD_FUNCPTR.
10388 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10390 2013-12-04 Alan Modra <amodra@gmail.com>
10392 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10393 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10394 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10395 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10397 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10398 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10399 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10400 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10401 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10402 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10404 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10407 (__makecontext): Fix incorrect CFI when backtracing out of
10408 context created via makecontext.
10409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10410 (__setcontext): Fix incorrect CFI during switch to new context.
10411 (__novec_setcontext): Likewise.
10413 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10416 * time/strptime_l.c (__strptime_internal): Allow modifiers
10418 * time/tst-strptime.c (day_tests): Add testcase.
10420 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10422 * scripts/bench.pl: Skip over blank lines.
10424 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10427 * manual/time.texi (Calendar Time): Clarify what timezone functions
10430 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10434 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10436 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10438 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10439 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10440 * debug/memset_chk.c (__memset_chk): Likewise.
10441 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10442 * debug/strncpy_chk.c: Likewise.
10444 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10448 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10449 (__ieee754_exp): For possibly underflowing results, check size of
10450 result and force underflow exception if required.
10451 * math/auto-libm-test-in: Add more tests of exp.
10452 * math/auto-libm-test-out: Regenerated.
10453 * sysdeps/i386/fpu/libm-test-ulps: Update.
10454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10457 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10458 * math/w_exp2f.c (__exp2f): Likewise.
10459 * math/w_exp2l.c (__exp2l): Likewise.
10460 * math/auto-libm-test-in: Do not allow missing errno on exp2
10462 * math/auto-libm-test-out: Regenerated.
10464 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
10467 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10468 handle filename validation.
10469 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10472 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10475 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10476 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10477 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10479 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10480 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10481 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10482 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10483 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10484 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10485 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10486 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10487 Add more erfc tests.
10488 * math/auto-libm-test-out: Regenerated.
10489 * sysdeps/i386/fpu/libm-test-ulps: Update.
10490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10492 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10493 exp2, expm1, j0 and j1.
10494 * math/auto-libm-test-out: Regenerated.
10495 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10496 (erfc_test_data): Likewise.
10497 (exp_test_data): Likewise.
10498 (exp_tonearest_test_data): Likewise.
10499 (exp_towardzero_test_data): Likewise.
10500 (exp_downward_test_data): Likewise.
10501 (exp_upward_test_data): Likewise.
10502 (exp10_test_data): Likewise.
10503 (exp2_test_data): Likewise.
10504 (expm1_test_data): Likewise.
10505 (j0_test_data): Likewise.
10506 (j1_test_data): Likewise.
10507 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10508 (input_flag_type): Add flag_xfail_rounding.
10509 (input_flags): Add xfail-rounding.
10510 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10511 (output_for_one_input_case): Handle flag_xfail_rounding.
10512 * sysdeps/i386/fpu/libm-test-ulps: Update.
10513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10515 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10518 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10521 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10524 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10525 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10526 (STAP_PROBE0): New macro.
10527 (STAP_PROBE1): Likewise.
10528 (STAP_PROBE2): Likewise.
10529 (STAP_PROBE3): Likewise.
10530 (STAP_PROBE4): Likewise.
10532 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
10534 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10536 2013-12-02 Steve Ellcey <sellcey@mips.com>
10538 * benchtests/Makefile (bench): Add sqrt.
10539 (LDLIBS-bench-sqrt): New.
10540 * benchtests/sqrt-input: New.
10542 2013-12-02 Pavel Simerda <psimerda@redhat.com>
10544 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10545 (GAIH_EAI): Likewise.
10546 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10547 (gaih_inet): Likewise.
10548 (getaddrinfo): Don't use GAIH_EAI.
10550 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10551 (struct gaih): Remove definition.
10553 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10555 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10556 Use HERRNOP directly.
10558 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10562 2013-11-30 Joseph Myers <joseph@codesourcery.com>
10564 * math/gen-auto-libm-tests.c (test_functions): Add more
10565 single-argument functions.
10566 (special_fill_pi_2): New function.
10567 (special_fill_minus_pi_2): Likewise.
10568 (special_fill_pi_6): Likewise.
10569 (special_fill_minus_pi_6): Likewise.
10570 (special_fill_pi_3): Likewise.
10571 (special_fill_2pi_3): Likewise.
10572 (special_fill_e): Likewise.
10573 (special_fill_1_e): Likewise.
10574 (special_fill_e_minus_1): Likewise.
10575 (special_real_inputs): Add more special inputs.
10576 (output_for_one_input_case): Do not require ERANGE on underflow to
10577 zero if round-to-nearest result does not underflow to zero, unless
10578 exact results required.
10579 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10580 atan, atanh, cbrt, cos and cosh.
10581 * math/auto-libm-test-out: Regenerated.
10582 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10583 (acos_tonearest_test_data): Likewise.
10584 (acos_towardzero_test_data): Likewise.
10585 (acos_downward_test_data): Likewise.
10586 (acos_upward_test_data): Likewise.
10587 (acosh_test_data): Likewise.
10588 (asin_test_data): Likewise.
10589 (asin_tonearest_test_data): Likewise.
10590 (asin_towardzero_test_data): Likewise.
10591 (asin_upward_test_data): Likewise.
10592 (asinh_test_data): Likewise.
10593 (atan_test_data): Likewise.
10594 (atanh_test_data): Likewise.
10595 (cbrt_test_data): Likewise.
10596 (cos_test_data): Likewise.
10597 (cos_tonearest_test_data): Likewise.
10598 (cos_towardzero_test_data): Likewise.
10599 (cos_downward_test_data): Likewise.
10600 (cos_upward_test_data): Likewise.
10601 (cosh_test_data): Likewise.
10602 (cosh_tonearest_test_data): Likewise.
10603 (cosh_towardzero_test_data): Likewise.
10604 (cosh_downward_test_data): Likewise.
10605 (cosh_upward_test_data): Likewise.
10606 * sysdeps/i386/fpu/libm-test-ulps: Update.
10607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10609 2013-11-29 Joseph Myers <joseph@codesourcery.com>
10612 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10613 * math/w_exp10f.c (__exp10f): Likewise.
10614 * math/w_exp10l.c (__exp10l): Likewise.
10615 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10616 errno settings in existing tests.
10619 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10620 precision control set to double precision.
10621 * sysdeps/i386/fpu/w_sqrt.c: New file.
10622 * math/auto-libm-test-in: Add more tests.
10623 * math/auto-libm-test-out: Update.
10625 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10626 (sqrt_test_tonearest): New function.
10627 (sqrt_towardzero_test_data): New variable.
10628 (sqrt_test_towardzero): New function.
10629 (sqrt_downward_test_data): New variable.
10630 (sqrt_test_downward): New function.
10631 (sqrt_upward_test_data): New variable.
10632 (sqrt_test_upward): New function.
10633 (main): Call the new functions.
10635 * math/gen-auto-libm-tests.c: New file.
10636 * math/auto-libm-test-in: Likewise.
10637 * math/auto-libm-test-out: New generated file.
10638 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10640 (%beautify): Add generated representations of zero.
10641 (top level): Set $auto_input and call parse_auto_input.
10642 (beautify): Remove trailing "f" from hex float constants.
10643 (parse_args): Handle XFAIL_TEST.
10644 (convert_condition): New function.
10645 (or_value): Likewise.
10646 (or_cond_value): Likewise.
10647 (generate_testfile): Handle AUTO_TESTS_* lines.
10648 (parse_auto_input): New function.
10649 * math/libm-test.inc (XFAIL_TEST): New macro.
10650 (ERRNO_UNCHANGED): Update value.
10651 (ERRNO_EDOM): Likewise.
10652 (ERRNO_ERANGE): Likewise.
10653 (IGNORE_RESULT): Likewise.
10654 (TEST_COND_flt_32): New macro.
10655 (TEST_COND_dbl_64): Likewise.
10656 (TEST_COND_ldbl_96_intel): Likewise.
10657 (TEST_COND_ldbl_96_m68k): Likewise.
10658 (TEST_COND_ldbl_128): Likewise.
10659 (TEST_COND_ldbl_128ibm): Likewise.
10660 (TEST_COND_long32): Likewise.
10661 (TEST_COND_long64): Likewise.
10662 (TEST_COND_before_rounding): Likewise.
10663 (TEST_COND_after_rounding): Likewise.
10664 (enable_test): Handle XFAIL_TEST flag.
10665 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10666 with finite results.
10667 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10668 auto-libm-test-out.
10670 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10671 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10674 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10675 __tls_get_addr_internal instead of __tls_get_offset in order to
10676 avoid GOT pointer dependency. Make rtld export
10677 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10678 __tls_get_addr since we are a __tls_get_offset platform.
10679 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10680 GOT pointer being set up before.
10681 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10683 2013-11-28 Joseph Myers <joseph@codesourcery.com>
10685 * manual/math.texi (Errors in Math Functions): Document accuracy
10689 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10690 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10691 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10692 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10693 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10694 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10695 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10696 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10697 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10698 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10699 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10700 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10701 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10702 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10703 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10704 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10706 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10707 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10708 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10709 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10710 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10712 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10714 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10716 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10717 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10718 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10719 atomic-feupdateenv and flt-rounds.
10720 * sysdeps/powerpc/nofpu/Versions (libc): Add
10721 __atomic_feholdexcept, __atomic_feclearexcept,
10722 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10723 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10724 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10725 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10726 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10731 * manual/arith.texi (FP Exceptions): Document that exceptions may
10732 not be raised when matherr is used.
10733 (Math Error Reporting): Document overflow in directed rounding
10734 modes. Document that errno may not be set when finite values are
10735 returned on overflow. Document intent to set errno on underflow
10736 only for underflow to zero.
10739 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10740 round-to-nearest then adjust result for other rounding modes.
10741 * include/fenv.h (fegetround): Use libm_hidden_proto.
10742 * math/fegetround.c (fegetround): Use libm_hidden_def.
10743 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10744 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10745 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10746 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10748 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10749 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10750 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10751 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10753 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10756 * nss/Versions (libnss_files): Add
10757 _nss_files_gethostbyname3_r.
10758 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10760 (HOST_DB_LOOKUP): Remove macro.
10761 (_nss_files_gethostbyname_r): Implement function without the
10762 HOST_DB_LOOKUP macro.
10763 (_nss_files_gethostbyname2_r): Likewise.
10765 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
10767 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10769 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
10771 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10772 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10775 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10777 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10778 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10779 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10780 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10781 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10782 __fe_nomask_env_priv and attribute_hidden.
10783 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10784 (libc_feupdateenv_test_ppc): Likewise.
10785 (libc_feresetround_ppc): Likewise.
10786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10787 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10788 compat_symbol macro.
10789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10790 (__fe_nomask_env): Likewise.
10791 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10793 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10795 * string/Makefile: Remove ifunc tests.
10796 * string/test-string.h: Define TEST_IFUNC.
10797 * string/test-bcopy-ifunc.c: Remove.
10798 * string/test-bzero-ifunc.c: Likewise.
10799 * string/test-memccpy-ifunc.c: Likewise.
10800 * string/test-memchr-ifunc.c: Likewise.
10801 * string/test-memcmp-ifunc.c: Likewise.
10802 * string/test-memcpy-ifunc.c: Likewise.
10803 * string/test-memmem-ifunc.c: Likewise.
10804 * string/test-memmove-ifunc.c: Likewise.
10805 * string/test-mempcpy-ifunc.c: Likewise.
10806 * string/test-memrchr-ifunc.c: Likewise.
10807 * string/test-memset-ifunc.c: Likewise.
10808 * string/test-rawmemchr-ifunc.c: Likewise.
10809 * string/test-stpcpy-ifunc.c: Likewise.
10810 * string/test-stpncpy-ifunc.c: Likewise.
10811 * string/test-strcasecmp-ifunc.c: Likewise.
10812 * string/test-strcasestr-ifunc.c: Likewise.
10813 * string/test-strcat-ifunc.c: Likewise.
10814 * string/test-strchr-ifunc.c: Likewise.
10815 * string/test-strchrnul-ifunc.c: Likewise.
10816 * string/test-strcmp-ifunc.c: Likewise.
10817 * string/test-strcpy-ifunc.c: Likewise.
10818 * string/test-strcspn-ifunc.c: Likewise.
10819 * string/test-strlen-ifunc.c: Likewise.
10820 * string/test-strncasecmp-ifunc.c: Likewise.
10821 * string/test-strncat-ifunc.c: Likewise.
10822 * string/test-strncmp-ifunc.c: Likewise.
10823 * string/test-strncpy-ifunc.c: Likewise.
10824 * string/test-strnlen-ifunc.c: Likewise.
10825 * string/test-strpbrk-ifunc.c: Likewise.
10826 * string/test-strrchr-ifunc.c: Likewise.
10827 * string/test-strspn-ifunc.c: Likewise.
10828 * string/test-strstr-ifunc.c: Likewise.
10830 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10832 * benchtests/Makefile: Remove ifunc tests.
10833 * benchtests/bench-string.h: Define TEST_IFUNC.
10834 * benchtests/bench-bcopy-ifunc.c: Remove.
10835 * benchtests/bench-bzero-ifunc.c: Likewise.
10836 * benchtests/bench-memccpy-ifunc.c: Likewise.
10837 * benchtests/bench-memchr-ifunc.c: Likewise.
10838 * benchtests/bench-memcmp-ifunc.c: Likewise.
10839 * benchtests/bench-memcpy-ifunc.c: Likewise.
10840 * benchtests/bench-memmem-ifunc.c: Likewise.
10841 * benchtests/bench-memmove-ifunc.c: Likewise.
10842 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10843 * benchtests/bench-memrchr-ifunc.c: Likewise.
10844 * benchtests/bench-memset-ifunc.c: Likewise.
10845 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10846 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10847 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10848 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10849 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10850 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10851 * benchtests/bench-strcat-ifunc.c: Likewise.
10852 * benchtests/bench-strchr-ifunc.c: Likewise.
10853 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10854 * benchtests/bench-strcmp-ifunc.c: Likewise.
10855 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10856 * benchtests/bench-strcpy-ifunc.c: Likewise.
10857 * benchtests/bench-strcspn-ifunc.c: Likewise.
10858 * benchtests/bench-strlen-ifunc.c: Likewise.
10859 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10860 * benchtests/bench-strncat-ifunc.c: Likewise.
10861 * benchtests/bench-strncmp-ifunc.c: Likewise.
10862 * benchtests/bench-strncpy-ifunc.c: Likewise.
10863 * benchtests/bench-strnlen-ifunc.c: Likewise.
10864 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10865 * benchtests/bench-strrchr-ifunc.c: Likewise.
10866 * benchtests/bench-strsep-ifunc.c: Likewise.
10867 * benchtests/bench-strspn-ifunc.c: Likewise.
10868 * benchtests/bench-strstr-ifunc.c: Likewise.
10870 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10872 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10874 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10876 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10877 * rt/aio.h: Likewise.
10878 * sysdeps/gnu/bits/utmp.h: Likewise.
10879 * sysdeps/gnu/bits/utmpx.h: Likewise.
10880 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10881 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10882 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10883 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10884 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10885 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10886 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10887 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10888 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10889 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10890 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10891 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10892 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10894 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10895 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10896 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10897 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10898 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10899 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10900 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10901 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10902 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10903 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10904 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10905 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10906 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10907 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10908 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10909 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10910 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10911 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10912 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10913 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10914 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10915 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10916 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10917 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10918 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10919 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10920 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10921 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10923 2013-11-25 Carlos O'Donell <carlos@redhat.com>
10926 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10927 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10929 2013-11-25 Joseph Myers <joseph@codesourcery.com>
10931 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10932 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10935 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10937 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10938 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10939 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10940 (__fesetround): Remove define.
10941 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10942 rounding and exceptions handling.
10943 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10944 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10945 (__fe_nomask_env): Likewise.
10946 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10947 __fegetround instead of fegetround.
10948 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10949 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10951 2013-11-21 Roland McGrath <roland@hack.frob.com>
10953 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10956 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10958 2013-11-21 Meador Inge <meadori@codesourcery.com>
10961 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10962 (encrypt_r): Likewise.
10963 * malloc/obstack.h (obstack_free): Likewise.
10964 * posix/unistd.h (encrypt): Likewise.
10966 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10968 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10969 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10970 DL_CALL_DT_FINI() that call the functions directly.
10971 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10972 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10973 * elf/dl-fini.c: Likewise.
10975 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
10977 * malloc/hooks.c (memalign_check): Add alignment rounding.
10978 * malloc/malloc.c (_mid_memalign): New function.
10979 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10980 Implement by calling _mid_memalign.
10981 * manual/probes.texi (Memory Allocation Probes): Remove
10982 memory_valloc_retry and memory_pvalloc_retry.
10984 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10986 * locale/programs/locarchive.c (open_archive): Add const
10987 qualifier to ARCHIVEFNAME and copy default fname to
10991 * libio/tst-widetext.input: Rename Oriya to Odia.
10992 * locale/iso-639.def: Likewise.
10994 * manual/probes.texi (Mathematical Function Probes): Add
10995 documentation for sin, cos, asin and acos probes.
10996 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10997 (__sin32): Add slowasin probe.
10998 (__cos32): Add slowacos probe.
10999 (__mpsin): Add slowsin probe.
11000 (__mpcos): Add slowcos probe.
11002 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11005 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11006 thread-local __sim_exceptions_thread and global
11007 __sim_exceptions_global.
11008 (__sim_disabled_exceptions): Change to thread-local
11009 __sim_disabled_exceptions_thread and global
11010 __sim_disabled_exceptions_global.
11011 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11012 and global __sim_round_mode_global.
11013 (__simulate_exceptions): Use thread-local floating-point state and
11014 set global state from it as needed.
11015 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11016 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11017 __sim_round_mode_thread.
11018 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11019 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11020 and global __sim_exceptions_global.
11021 (__sim_disabled_exceptions): Change to thread-local
11022 __sim_disabled_exceptions_thread and global
11023 __sim_disabled_exceptions_global.
11024 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11025 and global __sim_round_mode_global.
11026 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11027 (SIM_SET_GLOBAL): Likewise.
11028 * sysdeps/powerpc/soft-fp/sfp-machine.h
11029 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11030 __sim_round_mode_thread.
11031 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11032 __sim_disabled_exceptions_thread.
11033 (__sim_exceptions): Change to __sim_exceptions_thread.
11034 (__sim_disabled_exceptions): Change to
11035 __sim_disabled_exceptions_thread.
11036 (__sim_round_mode): Change to __sim_round_mode_thread.
11037 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11038 thread-local floating-point state and set global state from it as
11040 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11041 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11042 (__sim_disabled_exceptions): Remove extern declaration.
11043 (feenableexcept): Use thread-local floating-point state and set
11044 global state from it as needed.
11045 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11046 extern declaration.
11047 (__sim_disabled_exceptions): Likewise.
11048 (__sim_round_mode): Likewise.
11049 (__fegetenv): Use thread-local floating-point state.
11050 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11051 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11052 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11053 floating-point state and set global state from it as needed.
11054 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11055 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11056 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11058 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11059 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11061 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11062 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11063 Use __sim_round_mode_thread.
11064 * math/test-fenv-tls.c: New file.
11065 * math/Makefile (tests): Add test-fenv-tls.
11066 ($(objpfx)test-fenv-tls): Depend on
11067 $(common-objpfx)nptl/libpthread.so.
11069 2013-11-19 Andreas Schwab <schwab@suse.de>
11071 * locale/programs/locale.c (show_info): Decode wordarray elements.
11072 * locale/categories.def (LC_MONETARY): Add element for
11073 _NL_MONETARY_CRNCYSTR.
11074 * locale/C-monetary.c (conversion_rate): New variable.
11075 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11078 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11080 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11081 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11083 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11085 * elf/Makefile (tst-auxv): New test.
11086 * elf/tst-auxv.c: New
11087 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11089 2013-11-18 Joseph Myers <joseph@codesourcery.com>
11091 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11092 (hidden_proto): Caller changed.
11093 (hidden_tls_proto): New macro.
11094 (libc_hidden_tls_proto): Likewise.
11095 (rtld_hidden_tls_proto): Likewise.
11096 (libm_hidden_tls_proto): Likewise.
11097 (libresolv_hidden_tls_proto): Likewise.
11098 (librt_hidden_tls_proto): Likewise.
11099 (libdl_hidden_tls_proto): Likewise.
11100 (libnss_files_hidden_tls_proto): Likewise.
11101 (libnsl_hidden_tls_proto): Likewise.
11102 (libnss_nisplus_hidden_tls_proto): Likewise.
11103 (libutil_hidden_tls_proto): Likewise.
11105 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
11108 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11109 (decompose_rpath): Defer expansion to fillin_rpath.
11110 (_dl_init_paths): Pass linkmap to fillin_rpath.
11112 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11114 * benchtests/Makefile: Add strsep.
11115 * benchtests/bench-strsep.c: New file: strsep benchtest.
11116 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11118 2013-11-18 Andreas Schwab <schwab@suse.de>
11120 * locale/programs/locale.c (show_info) [case byte]: Check for
11121 '\377' instead of '\177'.
11122 * locale/C-monetary.c (not_available): Always use "\377".
11123 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11124 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11125 detect unavailable sign_posn locale elements.
11126 * locale/localeconv.c (__localeconv): For grouping and
11127 mon_grouping handle "\177" and "\377" like no grouping.
11128 (INT_ELEM): New macro. Use it to set all numeric members.
11129 * locale/programs/ld-monetary.c (monetary_read)
11130 <tok_mon_grouping>: Normalize single -1 to the empty string.
11131 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11134 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11137 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11138 when we match (nil).
11139 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11141 2013-11-16 Joseph Myers <joseph@codesourcery.com>
11143 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11144 (NO_TEST_INLINE): Update value.
11145 (ERRNO_UNCHANGED): Likewise.
11146 (ERRNO_EDOM): Likewise.
11147 (ERRNO_ERANGE): Likewise.
11148 (IGNORE_RESULT): Likewise.
11149 (check_float_internal): Check signs of NaN results if
11150 TEST_NAN_SIGN used.
11151 (check_complex): Pass TEST_NAN_SIGN flag through to second
11152 check_float_internal call.
11153 (copysign_test_data): Add tests with quiet NaNs as second
11154 argument. Use TEST_NAN_SIGN.
11155 (fabs_test_data): Add test of negative quiet NaN argument. Use
11157 (signbit_test_data): Add tests of quiet NaN argument.
11158 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11160 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11162 (parse_args): Handle function results specified as IGNORE.
11163 * math/libm-test.inc (IGNORE_RESULT): New macro.
11164 (check_float_internal): Do not check numerical result if flag
11166 (check_complex): Pass through IGNORE_RESULT to second
11167 check_float_internal call.
11168 (check_int): Do not check numerical result if flag IGNORE_RESULT
11170 (check_long): Likewise.
11171 (check_bool): Likewise.
11172 (check_longlong): Likewise.
11173 (lrint_test_data): Add tests of infinite and NaN arguments.
11174 (lrint_tonearest_test_data): Likewise.
11175 (lrint_towardzero_test_data): Likewise.
11176 (lrint_downward_test_data): Likewise.
11177 (lrint_upward_test_data): Likewise.
11178 (llrint_test_data): Likewise.
11179 (llrint_tonearest_test_data): Likewise.
11180 (llrint_towardzero_test_data): Likewise.
11181 (llrint_downward_test_data): Likewise.
11182 (llrint_upward_test_data): Likewise.
11183 (lround_test_data): Likewise.
11184 (llround_test_data): Likewise.
11186 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11187 (ERRNO_UNCHANGED): Update value.
11188 (ERRNO_EDOM): Likewise.
11189 (ERRNO_ERANGE): Likewise.
11190 (NO_TEST_INLINE_FLOAT): New macro.
11191 (NO_TEST_INLINE_DOUBLE): Likewise.
11192 (enable_test): New function.
11193 (RUN_TEST_f_f): Check enable_test before running test.
11194 (RUN_TEST_2_f): Likewise.
11195 (RUN_TEST_fff_f): Likewise.
11196 (RUN_TEST_c_f): Likewise.
11197 (RUN_TEST_f_f1): Likewise.
11198 (RUN_TEST_fF_f1): Likewise.
11199 (RUN_TEST_fI_f1): Likewise.
11200 (RUN_TEST_ffI_f1): Likewise.
11201 (RUN_TEST_c_c): Likewise.
11202 (RUN_TEST_cc_c): Likewise.
11203 (RUN_TEST_f_i): Likewise.
11204 (RUN_TEST_f_i_tg): Likewise.
11205 (RUN_TEST_ff_i_tg): Likewise.
11206 (RUN_TEST_f_b): Likewise.
11207 (RUN_TEST_f_b_tg): Likewise.
11208 (RUN_TEST_f_l): Likewise.
11209 (RUN_TEST_f_L): Likewise.
11210 (RUN_TEST_fFF_11): Likewise.
11211 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11213 (cosh_test_data): Likewise.
11214 (exp_test_data): Likewise.
11215 (expm1_test_data): Likewise.
11216 (hypot_test_data): Likewise.
11217 (pow_test_data): Likewise.
11218 (sinh_test_data): Likewise.
11219 (tanh_test_data): Likewise.
11220 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11223 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11224 tests with quiet NaN input and output.
11225 (acosh_test_data): Likewise.
11226 (asin_test_data): Likewise.
11227 (asinh_test_data): Likewise.
11228 (atan_test_data): Likewise.
11229 (atanh_test_data): Likewise.
11230 (atan2_test_data): Likewise.
11231 (cbrt_test_data): Likewise.
11232 (cos_test_data): Likewise.
11233 (cosh_test_data): Likewise.
11234 (erf_test_data): Likewise.
11235 (erfc_test_data): Likewise.
11236 (exp_test_data): Likewise.
11237 (exp10_test_data): Likewise.
11238 (exp2_test_data): Likewise.
11239 (expm1_test_data): Likewise.
11240 (hypot_test_data): Likewise.
11241 (j0_test_data): Likewise.
11242 (j1_test_data): Likewise.
11243 (jn_test_data): Likewise.
11244 (lgamma_test_data): Likewise.
11245 (log_test_data): Likewise.
11246 (log10_test_data): Likewise.
11247 (log1p_test_data): Likewise.
11248 (log2_test_data): Likewise.
11249 (pow_test_data): Likewise.
11250 (scalb_test_data): Likewise.
11251 (sin_test_data): Likewise.
11252 (sincos_test_data): Likewise.
11253 (sinh_test_data): Likewise.
11254 (tan_test_data): Likewise.
11255 (tanh_test_data): Likewise.
11256 (tgamma_test_data): Likewise.
11257 (y0_test_data): Likewise.
11258 (y1_test_data): Likewise.
11259 (yn_test_data): Likewise.
11262 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11263 argument being NaN and avoid computations with second argument in
11265 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11266 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11267 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11269 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11271 * locale/iso-639.def: Add Chitwani Tharu (the).
11273 2013-11-14 Andreas Schwab <schwab@suse.de>
11275 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11276 word instead of empty string.
11278 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11281 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11283 (__fe_nomask_env): Likewise.
11285 2013-11-13 Steve Ellcey <sellcey@mips.com>
11287 * benchtests/bench-timing.h: Include time.h.
11289 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11292 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11294 * sysdeps/unix/sysv/linux/configure: Regenerated.
11296 2013-11-13 Joseph Myers <joseph@codesourcery.com>
11299 * stdlib/strtod_l.c (round_and_return): Do not consider
11300 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11301 exponent one less than half the least subnormal exponent.
11302 * stdlib/test-strtod-round-data: Add more tests.
11303 * stdlib/tst-strtod-round.c (tests): Regenerated.
11305 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11308 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11309 (__fe_mask_env): Likewise.
11310 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11311 libm_hidden_proto and add function prototype.
11312 (__fe_mask_env): Add function prototype.
11313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11314 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11316 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11318 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11320 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11322 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11323 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11325 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11327 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11328 of htab_find_slot().
11330 2013-11-11 David S. Miller <davem@davemloft.net>
11333 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11334 symbol in the non-vis3 case in static builds.
11335 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11336 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11337 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11338 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11340 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11343 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11346 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11348 * benchtests/Makefile: Add bench-strtod.
11349 * benchtests/bench-strtod.c: New file: strtod benchtest
11351 2013-11-11 Andreas Schwab <schwab@suse.de>
11354 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11355 terminating NUL in key length.
11357 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11359 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11360 Add artificial ODP entry for vDSO symbol for PPC64.
11361 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11362 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11364 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11367 * nss/getent.c (services_keys): Recognize services starting with digit.
11369 2013-11-06 David S. Miller <davem@davemloft.net>
11372 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11373 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11375 2013-11-06 Will Newton <will.newton@linaro.org>
11377 * manual/memory.texi (Malloc Examples): Remove register
11378 keyword from examples.
11380 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
11382 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11384 2013-11-04 Joseph Myers <joseph@codesourcery.com>
11387 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11388 depending on [__GCC_IEC_559 > 0].
11389 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11390 depending on [__GCC_IEC_559_COMPLEX > 0].
11392 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
11394 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11397 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
11399 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11401 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
11404 * malloc/malloc (malloc_info): Do not handle first bin as
11407 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
11409 * locale/iso-639.def: Add Central Nahuatl (nhn).
11411 2013-11-01 Bruno Haible <bruno@clisp.org>
11414 * manual/math.texi (BSD Random): Specify range upper bound as
11417 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
11419 * locale/iso-639.def: Add Meadow Mari (mhr).
11421 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
11423 [BZ #14752], [BZ #15763]
11424 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11426 * rt/tst_shm.c: Add test for escaping directory.
11428 2013-10-31 Andreas Schwab <schwab@suse.de>
11431 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11432 followed by 'x' as part of digit sequence.
11433 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11435 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11438 * configure.ac: allow GNU Make 4.0 and greater.
11439 * configure: Regenerated.
11441 2013-10-30 Will Newton <will.newton@linaro.org>
11444 * malloc/hooks.c (memalign_check): Limit alignment to the
11445 maximum representable power of two.
11446 * malloc/malloc.c (__libc_memalign): Likewise.
11447 * malloc/tst-memalign.c (do_test): Add test for very
11448 large alignment values.
11449 * malloc/tst-posix_memalign.c (do_test): Likewise.
11451 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11454 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11455 (munmap_chunk): Likewise.
11456 (mremap_chunk): Likewise.
11458 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11461 * stdlib/div.c (div): Remove obsolete code.
11462 * stdlib/ldiv.c (ldiv): Likewise.
11463 * stdlib/lldiv.c (lldiv): Likewise.
11465 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11468 * nss/nss_files/files-XXX.c (get_contents_ret): New
11470 (get_contents): New function.
11471 (internal_getent): Use it. Expand size of LINEBUFLEN.
11473 2013-10-30 Mike Frysinger <vapier@gentoo.org>
11475 * configure.in: Moved to ...
11476 * configure.ac: ... here. Change reference to configure.in
11478 * sysdeps/arm/preconfigure.ac: ... here.
11479 configure.in to configure.ac.
11480 * sysdeps/gnu/configure.in: Moved to ...
11481 * sysdeps/gnu/configure.ac: ... here.
11482 * sysdeps/i386/configure.in: Moved to ...
11483 * sysdeps/i386/configure.ac: ... here.
11484 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11485 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11486 * sysdeps/mach/configure.in: Moved to ...
11487 * sysdeps/mach/configure.ac: ... here.
11488 * sysdeps/mach/hurd/configure.in: Moved to ...
11489 * sysdeps/mach/hurd/configure.ac: ... here.
11490 * sysdeps/powerpc/configure.in: Moved to ...
11491 * sysdeps/powerpc/configure.ac: ... here.
11492 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11493 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11494 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11495 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11496 * sysdeps/s390/s390-32/configure.in: Moved to ...
11497 * sysdeps/s390/s390-32/configure.ac: ... here.
11498 * sysdeps/s390/s390-64/configure.in: Moved to ...
11499 * sysdeps/s390/s390-64/configure.ac: ... here.
11500 * sysdeps/sh/configure.in: Moved to ...
11501 * sysdeps/sh/configure.ac: ... here.
11502 * sysdeps/sparc/configure.in: Moved to ...
11503 * sysdeps/sparc/configure.ac: ... here.
11504 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11505 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11506 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11507 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11508 * sysdeps/x86_64/configure.in: Moved to ...
11509 * sysdeps/x86_64/configure.ac: ... here.
11510 * sysdeps/x86_64/preconfigure.in: Moved to ...
11511 * sysdeps/x86_64/preconfigure.ac: ... here.
11512 * aclocal.m4: Change reference to configure.in to configure.ac.
11513 * config.h.in: Likewise.
11514 * manual/install.texi: Likewise.
11515 * manual/maint.texi: Likewise.
11516 * Makefile: Likewise.
11517 * malloc/Makefile: Likewise.
11518 * nscd/Makefile: Likewise.
11519 * Makeconfig: Change reference to configure.in and
11520 preconfigure.in to configure.ac and preconfigure.ac
11522 * INSTALL: Regenerated.
11523 * configure: Likewise.
11524 * sysdeps/gnu/configure: Likewise.
11525 * sysdeps/i386/configure: Likewise.
11526 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11527 * sysdeps/mach/configure: Likewise.
11528 * sysdeps/mach/hurd/configure: Likewise.
11529 * sysdeps/powerpc/configure: Likewise.
11530 * sysdeps/powerpc/powerpc32/configure: Likewise.
11531 * sysdeps/powerpc/powerpc64/configure: Likewise.
11532 * sysdeps/s390/s390-32/configure: Likewise.
11533 * sysdeps/s390/s390-64/configure: Likewise.
11534 * sysdeps/sh/configure: Likewise.
11535 * sysdeps/sparc/configure: Likewise.
11536 * sysdeps/unix/sysv/linux/configure: Likewise.
11537 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11538 * sysdeps/x86_64/configure: Likewise.
11539 * sysdeps/x86_64/preconfigure: Likewise.
11541 2013-10-29 Andreas Schwab <schwab@suse.de>
11543 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11545 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11547 * benchtests/pow-inputs: Add new inputs.
11549 * benchtests/exp-inputs: Add new inputs.
11551 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11552 conditional check for return value.
11553 (__cos32): Likewise.
11555 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11557 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11558 to provide a boost for large inputs with word alignment.
11559 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11560 implementation based on optimized PPC64 strcpy.
11561 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11562 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11563 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11564 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11566 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11569 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11571 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11574 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11575 * time/tst-strptime.c (day_tests): Add testcase.
11577 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11580 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11582 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11585 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11586 MAP_FAILED on error.
11588 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11591 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11592 heap for large requests.
11594 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11597 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11598 result if the result has no associated interface.
11599 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11600 interface for all 127.X.Y.Z addresses.
11602 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
11604 * locale/iso-639.def: Add Ligurian (lij)
11606 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
11609 * sunrpc/rpc_main.c: Document rpcgen -5.
11611 2013-10-19 Michael Stahl <mstahl@redhat.com>
11613 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11615 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
11618 * posix/glob.c: Match only directories when trailing slash is present.
11619 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11620 (main): Add testcase.
11622 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
11625 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11627 2013-10-18 Carlos O'Donell <carlos@redhat.com>
11629 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11630 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11631 AUTH_DES and cindex for FIPS 140-2.
11632 (DES Encryption): Add cindex FIPS 46-3.
11634 * locale/locarchive.h (struct locarhandle): Add fname.
11635 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11636 if an optional argument was specified to --list-archive,
11638 * locale/programs/locarchive.c (show_archive_content): Take new
11639 argument fname and pass it via ah.fname to open_archive.
11640 * locale/programs/localedef.h: Update decl.
11641 (open_archive): If AH->fname is non-null, open that file
11642 rather than the default file name, and don't ignore ENOENT.
11643 (create_archive): Set AH.fname to NULL.
11644 (delete_locales_from_archive): Likewise.
11645 (add_locales_to_archive): Likewise.
11646 * locale/programs/locfile.c (write_all_categories): Likewise.
11648 2013-10-18 Joseph Myers <joseph@codesourcery.com>
11649 Aldy Hernandez <aldyh@redhat.com>
11651 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11652 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11653 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11654 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11655 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11656 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11657 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11658 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11659 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11660 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11661 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11662 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11663 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11664 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11665 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11667 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11669 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11671 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11673 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11674 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11676 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11677 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11678 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11679 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11681 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11682 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11683 * sysdeps/powerpc/preconfigure: Likewise.
11684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11686 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11687 Replace contents of file by #include of <fenv_libc.h>.
11688 * sysdeps/powerpc/soft-fp/sfp-machine.h
11689 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11691 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11692 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11693 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11694 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11695 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11696 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11697 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11698 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11699 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11700 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11701 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11702 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11704 Allow copysignl PLT reference to be missing.
11706 2013-10-18 Richard Sandiford <richard@codesourcery.com>
11707 Joseph Myers <joseph@codesourcery.com
11710 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11712 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11714 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11716 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11717 * elf/tst-tls1.c: Likewise.
11718 * elf/tst-tls10.h: Likewise.
11719 * elf/tst-tls14.c: Likewise.
11720 * elf/tst-tls2.c: Likewise.
11721 * elf/tst-tls3.c: Likewise.
11722 * elf/tst-tls4.c: Likewise.
11723 * elf/tst-tls5.c: Likewise.
11724 * elf/tst-tls6.c: Likewise.
11725 * elf/tst-tls7.c: Likewise.
11726 * elf/tst-tls8.c: Likewise.
11727 * elf/tst-tls9.c: Likewise.
11728 * elf/tst-tlsmod1.c: Likewise.
11729 * elf/tst-tlsmod13.c: Likewise.
11730 * elf/tst-tlsmod13a.c: Likewise.
11731 * elf/tst-tlsmod14a.c: Likewise.
11732 * elf/tst-tlsmod16a.c: Likewise.
11733 * elf/tst-tlsmod16b.c: Likewise.
11734 * elf/tst-tlsmod2.c: Likewise.
11735 * elf/tst-tlsmod3.c: Likewise.
11736 * elf/tst-tlsmod4.c: Likewise.
11737 * elf/tst-tlsmod5.c: Likewise.
11738 * elf/tst-tlsmod6.c: Likewise.
11740 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
11743 * malloc/malloc.c: remove checks for statistics.
11745 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
11748 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11749 * inet/tst-network.c: Add testcase.
11751 2013-10-17 Andreas Schwab <schwab@suse.de>
11754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11755 to determine canonical name.
11757 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
11759 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11760 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11761 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11762 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11763 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11764 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11765 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11766 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11767 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11768 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11769 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11770 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11771 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11772 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11773 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11774 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11776 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11777 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11778 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11779 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11780 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11781 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11782 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11783 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11784 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11785 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11786 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11787 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11788 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11789 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11790 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11791 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11792 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11793 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11794 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11795 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11796 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11797 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11798 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11799 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11800 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11801 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11802 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11803 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11804 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11805 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11806 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11807 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11808 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11809 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11810 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11811 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11812 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11813 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11814 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11815 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11816 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11818 2013-10-17 Joseph Myers <joseph@codesourcery.com>
11821 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11822 make result into a quiet NaN.
11824 2013-10-16 Joseph Myers <joseph@codesourcery.com>
11826 * soft-fp/adddf3.c: Fix horizontal whitespace.
11827 * soft-fp/addsf3.c: Likewise.
11828 * soft-fp/addtf3.c: Likewise.
11829 * soft-fp/divdf3.c: Likewise.
11830 * soft-fp/divsf3.c: Likewise.
11831 * soft-fp/divtf3.c: Likewise.
11832 * soft-fp/double.h: Likewise.
11833 * soft-fp/eqdf2.c: Likewise.
11834 * soft-fp/eqsf2.c: Likewise.
11835 * soft-fp/eqtf2.c: Likewise.
11836 * soft-fp/extenddftf2.c: Likewise.
11837 * soft-fp/extended.h: Likewise.
11838 * soft-fp/extendsfdf2.c: Likewise.
11839 * soft-fp/extendsftf2.c: Likewise.
11840 * soft-fp/extendxftf2.c: Likewise.
11841 * soft-fp/fixdfdi.c: Likewise.
11842 * soft-fp/fixdfsi.c: Likewise.
11843 * soft-fp/fixdfti.c: Likewise.
11844 * soft-fp/fixsfdi.c: Likewise.
11845 * soft-fp/fixsfsi.c: Likewise.
11846 * soft-fp/fixsfti.c: Likewise.
11847 * soft-fp/fixtfdi.c: Likewise.
11848 * soft-fp/fixtfsi.c: Likewise.
11849 * soft-fp/fixtfti.c: Likewise.
11850 * soft-fp/fixunsdfdi.c: Likewise.
11851 * soft-fp/fixunsdfsi.c: Likewise.
11852 * soft-fp/fixunsdfti.c: Likewise.
11853 * soft-fp/fixunssfdi.c: Likewise.
11854 * soft-fp/fixunssfsi.c: Likewise.
11855 * soft-fp/fixunssfti.c: Likewise.
11856 * soft-fp/fixunstfdi.c: Likewise.
11857 * soft-fp/fixunstfsi.c: Likewise.
11858 * soft-fp/fixunstfti.c: Likewise.
11859 * soft-fp/floatdidf.c: Likewise.
11860 * soft-fp/floatdisf.c: Likewise.
11861 * soft-fp/floatditf.c: Likewise.
11862 * soft-fp/floatsidf.c: Likewise.
11863 * soft-fp/floatsisf.c: Likewise.
11864 * soft-fp/floatsitf.c: Likewise.
11865 * soft-fp/floattidf.c: Likewise.
11866 * soft-fp/floattisf.c: Likewise.
11867 * soft-fp/floattitf.c: Likewise.
11868 * soft-fp/floatundidf.c: Likewise.
11869 * soft-fp/floatundisf.c: Likewise.
11870 * soft-fp/floatunditf.c: Likewise.
11871 * soft-fp/floatunsidf.c: Likewise.
11872 * soft-fp/floatunsisf.c: Likewise.
11873 * soft-fp/floatunsitf.c: Likewise.
11874 * soft-fp/floatuntidf.c: Likewise.
11875 * soft-fp/floatuntisf.c: Likewise.
11876 * soft-fp/floatuntitf.c: Likewise.
11877 * soft-fp/fmadf4.c: Likewise.
11878 * soft-fp/fmasf4.c: Likewise.
11879 * soft-fp/fmatf4.c: Likewise.
11880 * soft-fp/gedf2.c: Likewise.
11881 * soft-fp/gesf2.c: Likewise.
11882 * soft-fp/getf2.c: Likewise.
11883 * soft-fp/ledf2.c: Likewise.
11884 * soft-fp/lesf2.c: Likewise.
11885 * soft-fp/letf2.c: Likewise.
11886 * soft-fp/muldf3.c: Likewise.
11887 * soft-fp/mulsf3.c: Likewise.
11888 * soft-fp/multf3.c: Likewise.
11889 * soft-fp/negdf2.c: Likewise.
11890 * soft-fp/negsf2.c: Likewise.
11891 * soft-fp/negtf2.c: Likewise.
11892 * soft-fp/op-1.h: Likewise.
11893 * soft-fp/op-2.h: Likewise.
11894 * soft-fp/op-4.h: Likewise.
11895 * soft-fp/op-8.h: Likewise.
11896 * soft-fp/op-common.h: Likewise.
11897 * soft-fp/quad.h: Likewise.
11898 * soft-fp/single.h: Likewise.
11899 * soft-fp/soft-fp.h: Likewise.
11900 * soft-fp/sqrtdf2.c: Likewise.
11901 * soft-fp/sqrtsf2.c: Likewise.
11902 * soft-fp/sqrttf2.c: Likewise.
11903 * soft-fp/subdf3.c: Likewise.
11904 * soft-fp/subsf3.c: Likewise.
11905 * soft-fp/subtf3.c: Likewise.
11906 * soft-fp/truncdfsf2.c: Likewise.
11907 * soft-fp/trunctfdf2.c: Likewise.
11908 * soft-fp/trunctfsf2.c: Likewise.
11909 * soft-fp/trunctfxf2.c: Likewise.
11910 * soft-fp/unorddf2.c: Likewise.
11911 * soft-fp/unordsf2.c: Likewise.
11912 * soft-fp/unordtf2.c: Likewise.
11914 2013-10-15 Joseph Myers <joseph@codesourcery.com>
11916 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11917 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11919 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
11921 * elf/dl-libc.c: Clear initfini list after freeing.
11923 2013-10-14 Joseph Myers <joseph@codesourcery.com>
11925 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11926 * soft-fp/addsf3.c: Likewise.
11927 * soft-fp/addtf3.c: Likewise.
11928 * soft-fp/divdf3.c: Likewise.
11929 * soft-fp/divsf3.c: Likewise.
11930 * soft-fp/divtf3.c: Likewise.
11931 * soft-fp/double.h: Likewise.
11932 * soft-fp/eqdf2.c: Likewise.
11933 * soft-fp/eqsf2.c: Likewise.
11934 * soft-fp/eqtf2.c: Likewise.
11935 * soft-fp/extenddftf2.c: Likewise.
11936 * soft-fp/extended.h: Likewise.
11937 * soft-fp/extendsfdf2.c: Likewise.
11938 * soft-fp/extendsftf2.c: Likewise.
11939 * soft-fp/extendxftf2.c: Likewise.
11940 * soft-fp/fixdfdi.c: Likewise.
11941 * soft-fp/fixdfsi.c: Likewise.
11942 * soft-fp/fixdfti.c: Likewise.
11943 * soft-fp/fixsfdi.c: Likewise.
11944 * soft-fp/fixsfsi.c: Likewise.
11945 * soft-fp/fixsfti.c: Likewise.
11946 * soft-fp/fixtfdi.c: Likewise.
11947 * soft-fp/fixtfsi.c: Likewise.
11948 * soft-fp/fixtfti.c: Likewise.
11949 * soft-fp/fixunsdfdi.c: Likewise.
11950 * soft-fp/fixunsdfsi.c: Likewise.
11951 * soft-fp/fixunsdfti.c: Likewise.
11952 * soft-fp/fixunssfdi.c: Likewise.
11953 * soft-fp/fixunssfsi.c: Likewise.
11954 * soft-fp/fixunssfti.c: Likewise.
11955 * soft-fp/fixunstfdi.c: Likewise.
11956 * soft-fp/fixunstfsi.c: Likewise.
11957 * soft-fp/fixunstfti.c: Likewise.
11958 * soft-fp/floatdidf.c: Likewise.
11959 * soft-fp/floatdisf.c: Likewise.
11960 * soft-fp/floatditf.c: Likewise.
11961 * soft-fp/floatsidf.c: Likewise.
11962 * soft-fp/floatsisf.c: Likewise.
11963 * soft-fp/floatsitf.c: Likewise.
11964 * soft-fp/floattidf.c: Likewise.
11965 * soft-fp/floattisf.c: Likewise.
11966 * soft-fp/floattitf.c: Likewise.
11967 * soft-fp/floatundidf.c: Likewise.
11968 * soft-fp/floatundisf.c: Likewise.
11969 * soft-fp/floatunsidf.c: Likewise.
11970 * soft-fp/floatunsisf.c: Likewise.
11971 * soft-fp/floatuntidf.c: Likewise.
11972 * soft-fp/floatuntisf.c: Likewise.
11973 * soft-fp/floatuntitf.c: Likewise.
11974 * soft-fp/fmadf4.c: Likewise.
11975 * soft-fp/fmasf4.c: Likewise.
11976 * soft-fp/fmatf4.c: Likewise.
11977 * soft-fp/gedf2.c: Likewise.
11978 * soft-fp/gesf2.c: Likewise.
11979 * soft-fp/getf2.c: Likewise.
11980 * soft-fp/ledf2.c: Likewise.
11981 * soft-fp/lesf2.c: Likewise.
11982 * soft-fp/letf2.c: Likewise.
11983 * soft-fp/muldf3.c: Likewise.
11984 * soft-fp/mulsf3.c: Likewise.
11985 * soft-fp/multf3.c: Likewise.
11986 * soft-fp/negdf2.c: Likewise.
11987 * soft-fp/negsf2.c: Likewise.
11988 * soft-fp/negtf2.c: Likewise.
11989 * soft-fp/op-1.h: Likewise.
11990 * soft-fp/op-2.h: Likewise.
11991 * soft-fp/op-4.h: Likewise.
11992 * soft-fp/op-8.h: Likewise.
11993 * soft-fp/op-common.h: Likewise.
11994 * soft-fp/quad.h: Likewise.
11995 * soft-fp/single.h: Likewise.
11996 * soft-fp/soft-fp.h: Likewise.
11997 * soft-fp/sqrtdf2.c: Likewise.
11998 * soft-fp/sqrtsf2.c: Likewise.
11999 * soft-fp/sqrttf2.c: Likewise.
12000 * soft-fp/subdf3.c: Likewise.
12001 * soft-fp/subsf3.c: Likewise.
12002 * soft-fp/subtf3.c: Likewise.
12003 * soft-fp/truncdfsf2.c: Likewise.
12004 * soft-fp/trunctfdf2.c: Likewise.
12005 * soft-fp/trunctfsf2.c: Likewise.
12006 * soft-fp/trunctfxf2.c: Likewise.
12007 * soft-fp/unorddf2.c: Likewise.
12008 * soft-fp/unordsf2.c: Likewise.
12009 * soft-fp/unordtf2.c: Likewise.
12011 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12014 * misc/error.c (error_tail): Fix possible buffer overflow.
12016 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12019 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12022 2013-10-14 P. J. McDermott <pj@pehjota.net>
12025 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12026 testing pipefail option.
12028 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12030 * soft-fp/double.h: Indent preprocessor directives inside #if.
12031 * soft-fp/extended.h: Likewise.
12032 * soft-fp/op-2.h: Likewise.
12033 * soft-fp/op-4.h: Likewise.
12034 * soft-fp/op-common.h: Likewise.
12035 * soft-fp/quad.h: Likewise.
12036 * soft-fp/single.h: Likewise.
12037 * soft-fp/soft-fp.h: Likewise.
12039 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12041 * iconv/iconv_prog.c: Fix typos.
12042 * stdio-common/psiginfo-data.h: Likewise.
12044 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12047 * locale/setlocale.c: Fix typo.
12049 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12052 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12053 signaling NaN arguments.
12054 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12055 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12058 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12059 unordered operands.
12060 * soft-fp/gesf2.c (__gesf2): Likewise.
12061 * soft-fp/getf2.c (__getf2): Likewise.
12062 * soft-fp/ledf2.c (__ledf2): Likewise.
12063 * soft-fp/lesf2.c (__lesf2): Likewise.
12064 * soft-fp/letf2.c (__letf2): Likewise.
12066 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12067 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12068 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12069 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12070 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12071 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12072 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12073 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12074 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12075 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12076 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12077 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12078 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12079 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12080 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12081 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12082 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12083 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12084 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12085 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12086 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12087 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12088 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12089 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12090 * soft-fp/floattidf.c (__floattidf): Likewise.
12091 * soft-fp/floattisf.c (__floattisf): Likewise.
12092 * soft-fp/floattitf.c (__floattitf): Likewise.
12093 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12094 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12095 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12096 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12097 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12098 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12099 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12100 * soft-fp/gesf2.c (__gesf2): Likewise.
12101 * soft-fp/getf2.c (__getf2): Likewise.
12102 * soft-fp/ledf2.c (__ledf2): Likewise.
12103 * soft-fp/lesf2.c (__lesf2): Likewise.
12104 * soft-fp/letf2.c (__letf2): Likewise.
12106 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12107 Undefine and redefine.
12108 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12109 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12110 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12111 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12112 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12113 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12114 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12115 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12116 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12117 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12118 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12119 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12120 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12121 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12122 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12125 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12126 without decrementing exponent if mantissa >= that for the
12127 denominator, not >.
12128 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12129 denominator, not >. Decrement exponent in < case instead of
12130 incrementing in >= case.
12131 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12132 without decrementing exponent if mantissa >= that for the
12133 denominator, not >.
12135 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12136 computing saturated result for unsigned overflow.
12138 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12139 Jeff Law <law@redhat.com>
12141 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12142 (atan2Mp): Add systemtap probe marker.
12143 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12144 (__ieee754_log): Add systemtap probe marker.
12145 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12146 (atanMp): Add systemtap probe marker.
12147 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12148 (tanMp): Add systemtap probe marker.
12149 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12150 (__slowexp): Add systemtap probe marker.
12151 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12152 (__slowpow): Add systemtap probe marker.
12153 * manual/probes.texi: Document probes.
12155 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
12158 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12160 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12162 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12163 written to buffer but not flushed.
12164 * libio/iofwrite_u.c: Likewise.
12165 * libio/iopadn.c: Return bytes returned even if EOF was
12167 * libio/iowpadn.c: Likewise.
12168 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12169 if _IO_padn does not write the whole buffer.
12170 [!COMPILE_WPRINTF] (PAD): Likewise.
12172 2013-10-10 David S. Miller <davem@davemloft.net>
12174 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12177 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12179 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12180 instead of FSF address.
12181 * soft-fp/fixdfti.c: Likewise.
12182 * soft-fp/fixsfti.c: Likewise.
12183 * soft-fp/fixtfti.c: Likewise.
12184 * soft-fp/fixunsdfti.c: Likewise.
12185 * soft-fp/fixunssfti.c: Likewise.
12186 * soft-fp/fixunstfti.c: Likewise.
12187 * soft-fp/floattidf.c: Likewise.
12188 * soft-fp/floattisf.c: Likewise.
12189 * soft-fp/floattitf.c: Likewise.
12190 * soft-fp/floatuntidf.c: Likewise.
12191 * soft-fp/floatuntisf.c: Likewise.
12192 * soft-fp/floatuntitf.c: Likewise.
12193 * soft-fp/trunctfxf2.c: Likewise.
12195 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12196 * soft-fp/fixdfti.c: Likewise.
12197 * soft-fp/fixsfti.c: Likewise.
12198 * soft-fp/fixtfti.c: Likewise.
12199 * soft-fp/fixunsdfti.c: Likewise.
12200 * soft-fp/fixunssfti.c: Likewise.
12201 * soft-fp/fixunstfti.c: Likewise.
12202 * soft-fp/floattidf.c: Likewise.
12203 * soft-fp/floattisf.c: Likewise.
12204 * soft-fp/floattitf.c: Likewise.
12205 * soft-fp/floatuntidf.c: Likewise.
12206 * soft-fp/floatuntisf.c: Likewise.
12207 * soft-fp/floatuntitf.c: Likewise.
12208 * soft-fp/trunctfxf2.c: Likewise.
12210 2013-10-10 David S. Miller <davem@davemloft.net>
12212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12214 2013-10-10 Joseph Myers <joseph@codsourcery.com>
12216 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12217 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12218 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12219 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12220 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12221 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12222 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12224 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12225 for NaNs before doing comparisons on argument.
12226 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12229 2013-10-10 Will Newton <will.newton@linaro.org>
12231 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12232 passed to _int_memalign does not overflow.
12234 2013-10-10 Torvald Riegel <triegel@redhat.com>
12236 * scripts/bench.pl: Add include-sources directive.
12237 * benchtests/README: Update documentation.
12239 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12241 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12242 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12243 instead of FP_INIT_ROUNDMODE.
12244 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12245 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12248 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12249 copy class of input value.
12250 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12251 not handle exceptions.
12252 * soft-fp/negsf2.c (__negsf2): Likewise.
12253 * soft-fp/negtf2.c (__negtf2): Likewise.
12254 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12256 2013-10-09 Joseph Myers <joseph@codesourcery.com>
12258 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12259 semicolon. From Linux kernel.
12261 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12263 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12265 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12268 * manual/socket.texi: Added statement about buffer
12269 for gethostbyname2_r.
12271 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
12273 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12274 Use .p2align directive instead, throughout.
12275 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12276 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12277 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12278 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12279 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12280 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12281 * sysdeps/x86_64/strchr.S: Likewise.
12282 * sysdeps/x86_64/strrchr.S: Likewise.
12284 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12286 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12288 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12290 * sysdeps/generic/math_private.h (__mpsin1): Remove
12292 (__mpcos1): Likewise.
12293 (__mpsin): New argument __range_reduce.
12294 (__mpcos): Likewise.
12295 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12296 (slow): Use __mpsin and __mpcos.
12300 (sloww1): Likewise.
12301 (sloww2): Likewise.
12302 (bsloww): Likewise.
12303 (bsloww1): Likewise.
12304 (bsloww2): Likewise.
12305 (cslow2): Likewise.
12306 (csloww): Likewise.
12307 (csloww1): Likewise.
12308 (csloww2): Likewise.
12309 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12310 range_reduce. Merge in __mpsin1.
12311 (__mpcos): Likewise.
12312 (__mpsin1): Remove.
12313 (__mpcos1): Likewise.
12315 2013-10-07 Joseph Myers <joseph@codesourcery.com>
12317 * locale/loadlocale.c (_nl_intern_locale_data): Use
12319 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12320 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12321 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12322 obstack data is appropriately aligned.
12323 (obstack_int32_grow_fast): Likewise.
12324 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12325 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12326 (add_locale_uint32_array): Likewise.
12328 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12330 * benchtests/Makefile: Remove ARGLIST and RET variables.
12331 ($(objpfx)bench-%.c): Pass only function name to the script.
12332 * benchtests/README: Update documentation.
12333 * benchtests/acos-inputs: Add new directives.
12334 * benchtests/acosh-inputs: Likewise.
12335 * benchtests/asin-inputs: Likewise.
12336 * benchtests/asinh-inputs: Likewise.
12337 * benchtests/atan-inputs: Likewise.
12338 * benchtests/atanh-inputs: Likewise.
12339 * benchtests/cos-inputs: Likewise.
12340 * benchtests/cosh-inputs: Likewise.
12341 * benchtests/exp-inputs: Likewise.
12342 * benchtests/log-inputs: Likewise.
12343 * benchtests/pow-inputs: Likewise.
12344 * benchtests/rint-inputs: Likewise.
12345 * benchtests/sin-inputs: Likewise.
12346 * benchtests/sinh-inputs: Likewise.
12347 * benchtests/tan-inputs: Likewise.
12348 * benchtests/tanh-inputs: Likewise.
12349 * scripts/bench.pl: Add support for new directives.
12351 2013-10-07 Alan Modra <amodra@gmail.com>
12353 * README: Fix careless merge.
12355 2013-10-05 Alan Modra <amodra@gmail.com>
12357 * NEWS: Mention powerpc64le support and bugs fixed.
12358 * README: Both big-endian and little-endian powerpc64 supported.
12360 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12362 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12363 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12364 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12365 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12367 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12369 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12372 2013-10-04 Joseph Myers <joseph@codesourcery.com>
12374 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12375 Move -mhard-float appending from
12376 ports/sysdeps/powerpc/powerpc32/Makefile.
12377 [$(with-fp) = yes] (ASFLAGS): Likewise.
12378 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12379 * sysdeps/powerpc/nofpu: Move directory from
12380 ports/sysdeps/powerpc/nofpu.
12381 * sysdeps/powerpc/soft-fp: Move directory from
12382 ports/sysdeps/powerpc/soft-fp.
12383 * sysdeps/powerpc/powerpc32/405: Move directory from
12384 ports/sysdeps/powerpc/powerpc32/405.
12385 * sysdeps/powerpc/powerpc32/440: Move directory from
12386 ports/sysdeps/powerpc/powerpc32/440.
12387 * sysdeps/powerpc/powerpc32/464: Move directory from
12388 ports/sysdeps/powerpc/powerpc32/464.
12389 * sysdeps/powerpc/powerpc32/476: Move directory from
12390 ports/sysdeps/powerpc/powerpc32/476.
12391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12392 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12394 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12396 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12398 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12400 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12401 * README: Update for powerpc-*-linux-gnu software floating point
12404 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12405 case to powerpc/powerpc32*.
12406 * sysdeps/unix/sysv/linux/configure: Regenerated.
12408 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12409 (_FPU_MASK_OM): Define as 0x04.
12410 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12411 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12413 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12415 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12418 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12421 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12424 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12425 and setcontext_e500.
12427 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12429 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12431 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12433 * manual/threads.texi (Default Thread Attributes): Fix typo.
12435 2013-10-04 Will Newton <will.newton@linaro.org>
12437 * malloc/Makefile: Add tst-memalign.
12438 * malloc/tst-memalign.c: New file.
12440 * malloc/tst-posix_memalign.c: Add comments.
12441 (do_test): Add comments and call free on all potentially
12442 allocated pointers. Add space after cast.
12444 * malloc/tst-pvalloc.c: Add comments.
12445 (do_test): Add comments and call free on all potentially
12446 allocated pointers. Remove duplicate check for NULL pointer.
12447 Add space after cast.
12449 * malloc/tst-valloc.c: Add comments.
12450 (do_test): Add comments and call free on all potentially
12451 allocated pointers. Remove duplicate check for NULL pointer.
12452 Add space after cast.
12454 2013-10-04 Alan Modra <amodra@gmail.com>
12456 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12457 Use stdint types in rather than __attribute__((mode())).
12458 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12460 2013-10-04 Alan Modra <amodra@gmail.com>
12462 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12463 Correct handling of unaligned relocs for little-endian.
12464 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12466 2013-10-04 Alan Modra <amodra@gmail.com>
12468 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12469 * configure: Regenerate.
12470 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12471 * shlib-versions: Likewise.
12473 2013-10-04 Alan Modra <amodra@gmail.com>
12475 * string/tester.c (test_memrchr): Increment reported test cycle.
12477 2013-10-04 Alan Modra <amodra@gmail.com>
12479 * string/test-memcpy.c (do_one_test): When reporting errors, print
12480 string address and don't overrun end of string.
12482 2013-10-04 Alan Modra <amodra@gmail.com>
12484 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12485 insrdi. Make better use of reg selection to speed exit slightly.
12486 Schedule entry path a little better. Remove useless "are we done"
12487 checks on entry to main loop. Handle wrapping around zero address.
12488 Correct main loop count. Handle single left-over word from main
12489 loop inline rather than by using loop_small. Remove extra word
12490 case in loop_small caused by wrong loop count. Add little-endian
12492 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12493 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12495 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12496 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12497 support. Avoid rlwimi.
12498 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12500 2013-10-04 Alan Modra <amodra@gmail.com>
12502 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12503 insrdi. Formatting.
12504 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12505 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12506 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12507 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12508 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12509 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12511 2013-10-04 Alan Modra <amodra@gmail.com>
12513 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12514 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12515 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12516 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12517 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12518 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12519 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12520 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12521 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12522 use of regs. Use power7 mtocrf. Tidy function tails.
12524 2013-10-04 Alan Modra <amodra@gmail.com>
12526 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12527 Formatting. Consistently use rXXX register defines or rN defines.
12528 Use early exit labels that avoid restoring unused non-volatile regs.
12529 Make cr field use more consistent with rWORDn compares. Rename
12530 regs used as shift registers for unaligned loop, using rN defines
12531 for short lifetime/multiple use regs.
12532 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12533 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12534 addi 1,1,64 to pop stack frame. Simplify return value code.
12535 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12537 2013-10-04 Alan Modra <amodra@gmail.com>
12539 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12540 support. Correct typos, formatting. Optimize tail. Use insrdi
12541 rather than rlwimi.
12542 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12543 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12544 little-endian support. Correct typos.
12545 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12546 rather than rlwimi.
12547 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12548 in loop and entry code to keep "and." results.
12549 (strchr): Add little-endian support. Comment. Move cntlzd
12551 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12553 2013-10-04 Alan Modra <amodra@gmail.com>
12555 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12556 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12557 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12558 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12560 2013-10-04 Alan Modra <amodra@gmail.com>
12562 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12563 (rTMP): Define as r11.
12564 (strcmp): Add little-endian support. Optimise tail.
12565 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12566 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12567 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12568 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12569 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12570 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12571 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12573 2013-10-04 Alan Modra <amodra@gmail.com>
12575 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12576 little-endian support. Remove unnecessary "are we done" tests.
12577 Handle "s" wrapping around zero and extremely large "size".
12578 Correct main loop count. Handle single left-over word from main
12579 loop inline rather than by using small_loop. Correct comments.
12580 Delete "zero" tail, use "end_max" instead.
12581 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12583 2013-10-04 Alan Modra <amodra@gmail.com>
12585 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12586 support. Don't branch over align.
12587 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12588 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12589 support. Rearrange tmp reg use to suit. Comment.
12590 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12592 2013-10-04 Alan Modra <amodra@gmail.com>
12594 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12596 2013-10-04 Alan Modra <amodra@gmail.com>
12598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12599 conditional form of branch and link when obtaining pc.
12600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12602 2013-10-04 Alan Modra <amodra@gmail.com>
12604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12609 2013-10-04 Alan Modra <amodra@gmail.com>
12611 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12612 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12613 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12614 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12615 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12616 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12617 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12618 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12619 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12620 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12622 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12623 Alistair Popple <alistair@ozlabs.au.ibm.com>
12624 Alan Modra <amodra@gmail.com>
12627 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12628 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12629 _dl_hwcap access for little-endian.
12630 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12631 destroy vmx regs when saving unaligned.
12632 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12633 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12634 destroy vmx regs when saving unaligned.
12636 2013-10-04 Alan Modra <amodra@gmail.com>
12638 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12639 Don't use a union to pack hi/low value.
12641 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12643 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12645 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12646 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12647 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12648 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12649 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12651 2013-10-04 Alan Modra <amodra@gmail.com>
12653 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12654 constants to usual value for .cst8 section, and remove redundant
12656 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12657 constant for 0x1p52. Load little-endian words of double from
12658 correct stack offsets.
12660 2013-10-04 Alan Modra <amodra@gmail.com>
12662 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12663 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12664 words of double from correct stack offsets.
12665 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12666 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12667 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12668 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12669 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12670 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12671 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12672 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12673 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12674 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12675 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12676 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12677 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12678 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12679 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12680 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12681 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12683 2013-10-04 Alan Modra <amodra@gmail.com>
12685 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12686 64-bit int/double union.
12687 (_FPU_SETCW): Likewise.
12688 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12689 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12691 2013-10-04 Alan Modra <amodra@gmail.com>
12693 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12694 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12696 2013-10-04 Alan Modra <amodra@gmail.com>
12698 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12699 use vector int constants.
12700 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12702 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12704 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12705 array with long long.
12706 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12707 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12708 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12709 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12710 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12711 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12712 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12713 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12714 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12715 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12716 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12717 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12718 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12720 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12722 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12723 (__signbit): Likewise. Correct for little-endian.
12724 (__signbitl): Call __signbit.
12725 (lrint): Correct for little-endian.
12726 (lrintf): Call lrint.
12728 2013-10-04 Alan Modra <amodra@gmail.com>
12730 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12731 union 32-bit int array member with 64-bit int array.
12732 (t515, tm256): Double rather than long double.
12733 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12735 2013-10-04 Alan Modra <amodra@gmail.com>
12737 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12739 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12740 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12741 version of math_ldbl.h.
12743 2013-10-04 Alan Modra <amodra@gmail.com>
12745 [BZ #15734], [BZ #15735]
12746 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12747 all uses of ieee875 long double macros and unions. Simplify test
12748 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12749 ldbl_extract_mantissa value for ix,iy exponents. Properly
12750 normalize after ldbl_extract_mantissa, and don't add hidden bit
12751 already handled. Don't treat low word of ieee854 mantissa like
12752 low word of IBM long double and mask off bit when testing for
12754 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12755 all uses of ieee875 long double macros and unions. Simplify tests
12756 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12757 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12758 two1022, instead use their values. Recognise that tests for large
12759 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12760 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12761 Rewrite all uses of ieee875 long double macros and unions. Simplify
12762 test for 0.0L and nan. Correct negation.
12763 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12764 ieee875 long double macros and unions. Correct output for large
12765 magnitude x. Correct absolute value calculation.
12766 (__erfcl): Likewise.
12767 * math/libm-test.inc: Add tests for errors discovered in IBM long
12768 double versions of fmodl, remainderl, erfl and erfcl.
12770 2013-10-04 Alan Modra <amodra@gmail.com>
12772 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12773 all uses of ieee854 long double macros and unions. Simplify tests
12774 for long doubles that are fully specified by the high double.
12775 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12777 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12778 Remove dead code too.
12779 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12780 (__ieee754_ynl): Likewise.
12781 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12782 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12783 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12784 Remove dead code too.
12785 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12786 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12787 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12788 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12790 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12792 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12793 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12794 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12795 Comment on variable precision.
12796 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12797 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12799 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12800 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12801 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12802 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12803 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12805 2013-10-04 Alan Modra <amodra@gmail.com>
12807 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12808 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12809 all uses of ieee854 long double macros and unions.
12810 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12811 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12812 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12813 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12814 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12815 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12817 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12818 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12819 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12820 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12821 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12822 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12823 Simplify sign and nan test too.
12824 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12825 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12826 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12827 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12829 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12830 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12832 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12833 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12834 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12835 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12836 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12837 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12839 2013-10-04 Alan Modra <amodra@gmail.com>
12841 * stdio-common/printf_size.c (__printf_size): Don't use
12842 union ieee854_long_double in fpnum union.
12843 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12844 signbit macro to retrieve sign from long double.
12845 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12846 retrieve sign from long double.
12847 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12848 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12849 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12850 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12851 * math/test-misc.c (main): Don't use union ieee854_long_double.
12853 2013-10-04 Alan Modra <amodra@gmail.com>
12856 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12857 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12858 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12859 calculation. Remove unnecessary test for denormal exponent.
12860 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12861 Correct handling of denormals. Avoid undefined shift behaviour.
12862 Correct normalisation of low mantissa when low double is denormal.
12863 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12864 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12865 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12866 Correct normalisation of low mantissa. Test for overflow of high
12867 mantissa and normalise.
12868 (ldbl_nearbyint): Use more readable constant for two52.
12869 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12870 (__mpn_construct_long_double): Fix test for overflow of high
12871 mantissa and correct normalisation. Avoid undefined shift.
12873 2013-10-04 Alan Modra <amodra@gmail.com>
12875 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12876 (union ibm_extended_long_double): Define as an array of ieee754_double.
12877 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12878 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12879 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12880 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12881 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12882 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12883 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12884 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12885 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12886 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12887 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12889 2013-10-03 Joseph Myers <joseph@codesourcery.com>
12891 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12892 page size instead of calling getpagesize.
12894 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12895 (LOCFILE_ALIGN_MASK): Likewise.
12896 (LOCFILE_ALIGN_UP): Likewise.
12897 (LOCFILE_ALIGNED_P): Likewise.
12898 * locale/programs/ld-collate.c (collate_output): Use the new
12899 macros instead of __alignof__ (int32_t).
12900 * locale/weight.h (findidx): Likewise.
12902 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
12905 * manual/string.texi: Fix strncat and wcsncat.
12907 2013-10-03 Brooks Moses <bmoses@google.com>
12910 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12911 * Makerules: ...here, and adjust associated comments.
12913 2013-10-02 Will Newton <will.newton@linaro.org>
12915 * malloc/Makefile: Add tst-pvalloc.
12916 * malloc/tst-pvalloc.c: New file.
12918 2013-10-02 Will Newton <will.newton@linaro.org>
12920 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12921 improve test coverage.
12923 2013-10-02 Will Newton <will.newton@linaro.org>
12925 * malloc/Makefile: Add tst-posix_memalign.
12926 * malloc/tst-posix_memalign.c: New file.
12928 2013-10-01 Eric Blake <eblake@redhat.com>
12930 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12931 Use __THROWNL rather than __THROW on static functions.
12933 2013-09-30 Petr Machata <pmachata@redhat.com>
12935 * elf/elf.h (R_AARCH64_ABS16): New macro.
12936 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12937 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12938 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12939 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12940 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12941 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12942 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12943 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12944 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12945 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12946 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12947 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12948 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12949 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12950 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12951 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12952 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12953 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12954 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12955 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12956 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12957 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12958 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12959 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12960 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12961 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12962 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12963 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12964 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12965 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12966 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12967 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12968 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12969 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12970 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12971 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12972 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12973 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12974 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12975 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12976 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12977 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12978 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12979 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12980 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12981 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12982 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12983 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12984 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12985 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12986 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12987 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12988 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12989 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12990 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12991 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12992 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12993 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12994 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12995 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12996 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12997 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12998 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12999 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13000 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13001 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13002 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13003 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13004 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13005 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13006 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13007 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13008 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13009 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13010 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13011 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13012 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13013 (R_AARCH64_TLSDESC_LDR): Likewise.
13014 (R_AARCH64_TLSDESC_ADD): Likewise.
13015 (R_AARCH64_TLSDESC_CALL): Likewise.
13017 2013-09-30 Andreas Schwab <schwab@suse.de>
13020 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13021 the nss database lookup.
13022 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13025 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13027 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13029 2013-09-28 P. J. McDermott <pj@pehjota.net>
13031 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13032 ${Bash-specific parameter/pattern/string} parameter expansion.
13033 * sysdeps/unix/make-syscalls.sh: Likewise.
13035 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13037 * sysdeps/sh/stackguard-macros.h: New file.
13039 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13042 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13043 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13044 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13045 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13046 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13048 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13050 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13051 Fix thread ID register.
13053 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13055 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13056 [POSIX || UNIX98]: Require rather than permitting all symbols from
13058 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13059 element of struct sched_param.
13060 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13061 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13062 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13063 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13066 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13068 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13069 argument calculation.
13071 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13073 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13075 [POSIX] (pthread_attr_t): Do not require type.
13076 [POSIX] (pthread_cond_t): Likewise.
13077 [POSIX] (pthread_condattr_t): Likewise.
13078 [POSIX] (pthread_key_t): Likewise.
13079 [POSIX] (pthread_mutex_t): Likewise.
13080 [POSIX] (pthread_mutexattr_t): Likewise.
13081 [POSIX] (pthread_once_t): Likewise.
13082 [POSIX] (pthread_t): Likewise.
13083 [POSIX-based standards] (pthread_atfork): Expect function.
13085 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13086 Richard Sandiford <richard@codesourcery.com>
13088 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13089 (swap_endianness_p): New extern variable.
13090 (set_big_endian): New inline function.
13091 (maybe_swap_uint32): Likewise.
13092 (maybe_swap_uint32_array): Likewise.
13093 (maybe_swap_uint32_obstack): Likewise.
13094 * locale/programs/locfile.c: Include <stdbool.h>.
13095 (swap_endianness_p): New variable.
13096 (add_locale_uint32): Call maybe_swap_uint32.
13097 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13098 (write_locale_data): Call maybe_swap_uint32_array.
13099 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13101 (obstack_int32_grow_fast): Likewise.
13102 (output_weightwc): Call maybe_swap_uint32_obstack.
13103 (collate_output): Likewise.
13104 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13105 (OPT_LITTLE_ENDIAN): Likewise.
13106 (options): Add --little-endian and --big-endian options.
13107 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13108 * locale/programs/locarchive.c: Include "locfile.h".
13112 (create_archive): Use the new macros to access fields of
13113 structures directly mapped from or written to locale archives.
13114 (oldlocrecentcmp): Likewise.
13115 (enlarge_archive): Likewise.
13116 (insert_name): Likewise.
13117 (add_alias): Likewise.
13118 (add_locale): Likewise.
13119 (delete_locales_from_archive): Likewise.
13120 (show_archive_content): Likewise.
13121 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13124 2013-09-24 Roland McGrath <roland@hack.frob.com>
13126 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13127 http://www.gnu.org/doc/freemanuals.texi.
13128 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13130 2013-09-24 Will Newton <will.newton@linaro.org>
13132 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13135 2013-09-23 Joseph Myers <joseph@codesourcery.com>
13137 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13140 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13142 * manual/threads.texi (POSIX Threads): Fix a typo.
13144 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13147 * string/tst-strcoll-overflow.c: New test case.
13148 * string/Makefile (xtests): Add tst-strcoll-overflow.
13149 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13150 cache if string sizes may cause integer overflow.
13153 * string/strcoll_l.c (coll_seq): New members rule, idx,
13154 save_idx and back_us.
13155 (get_next_seq_nocache): New function.
13156 (do_compare_nocache): New function.
13157 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13160 2013-09-23 Carlos O'Donell <carlos@redhat.com>
13163 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13164 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13165 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13168 * elf/Makefile (tests): Add tst-ptrguard1.
13169 (tests-static): Add tst-ptrguard1-static.
13170 (tst-ptrguard1-ARGS): Define.
13171 (tst-ptrguard1-static-ARGS): Define.
13172 * elf/tst-ptrguard1.c: New file.
13173 * elf/tst-ptrguard1-static.c: New file.
13174 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13175 * sysdeps/i386/stackguard-macros.h: Likewise.
13176 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13177 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13178 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13179 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13180 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13181 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13183 2013-09-23 Hector Marco <hecmargi@upv.es>
13184 Ismael Ripoll <iripoll@disca.upv.es>
13185 Carlos O'Donell <carlos@redhat.com>
13188 * sysdeps/generic/stackguard-macros.h: Define
13189 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13190 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13191 Define __pointer_chk_guard_local.
13192 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13193 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13195 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13198 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13200 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13202 * include/string.h (__ffs): Declare as hidden.
13203 * string/ffs.c (__ffs): Define as hidden.
13204 * sysdeps/i386/ffs.c (__ffs): Likewise.
13205 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13206 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13207 * sysdeps/s390/ffs.c (__ffs): Likewise.
13208 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13210 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
13212 * NEWS: Mention malloc probes.
13214 * malloc/arena.c (new_heap): New memory_heap_new probe.
13215 (grow_heap): New memory_heap_more probe.
13216 (shrink_heap): New memory_heap_less probe.
13217 (heap_trim): New memory_heap_free probe.
13218 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13219 (systrim): New memory_sbrk_less probe.
13220 * manual/probes.texi: Document them.
13222 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13223 * manual/probes.texi: Document it.
13225 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13226 (__libc_realloc): Add memory_realloc_retry probe.
13227 (__libc_memalign): Add memory_memalign_retry probe.
13228 (__libc_valloc): Add memory_valloc_retry probe.
13229 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13230 (__libc_calloc): Add memory_calloc_retry probe.
13231 * manual/probes.texi: Document them.
13233 * malloc/arena.c (get_free_list): Add probe
13234 memory_arena_reuse_free_list.
13235 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13236 and memory_arena_reuse.
13237 (arena_get2) [!PER_THREAD]: Likewise.
13238 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13239 memory_arena_reuse_realloc.
13240 * manual/probes.texi: Document them.
13242 * malloc/malloc.c (__libc_free): Add
13243 memory_mallopt_free_dyn_thresholds probe.
13244 (__libc_mallopt): Add multiple memory_mallopt probes.
13245 * manual/probes.texi: Document them.
13247 * malloc/malloc.c: Include stap-probe.h.
13248 (__libc_mallopt): Add memory_mallopt probe.
13249 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13250 * manual/probes.texi: New.
13251 * manual/Makefile (chapters): Add probes.
13252 * manual/threads.texi: Set next node.
13254 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13256 [BZ #15963, #13985]
13257 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13258 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13259 Add `Chinese' to `nan' entry name.
13261 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13263 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13264 (POLYNOMIAL): Likewise.
13265 (TAYLOR_SINCOS): Likewise.
13266 (TAYLOR_SLOW): Likewise.
13267 (__sin): Use TAYLOR_SINCOS.
13269 (slow): Use TAYLOR_SLOW.
13271 (bsloww): Likewise.
13272 (csloww): Likewise.
13274 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13276 * stdlib/strtod_l.c: Fix buffer overrun.
13278 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13280 * benchtests/Makefile (bench): Add sincos.
13281 * benchtests/bench-sincos.c: New file.
13283 * math/libm-test.inc (cos_test_data): New test inputs.
13284 (sin_test_data): Likewise.
13286 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13292 (sloww1): Likewise.
13293 (sloww2): Likewise.
13294 (bsloww1): Likewise.
13295 (bsloww2): Likewise.
13296 (cslow2): Likewise.
13297 (csloww1): Likewise.
13298 (csloww2): Likewise.
13300 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13305 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13309 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13311 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13312 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13313 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13314 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13315 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13316 * elf/cache.c (print_entry): Handle the new cache flags.
13318 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13319 Aldy Hernandez <aldyh@redhat.com>
13321 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13322 Change condition to [_SOFT_FLOAT].
13323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13325 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13326 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13327 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13328 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13330 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13331 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13332 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13333 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13334 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13335 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13336 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13337 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13338 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13341 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13343 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13344 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13345 (__longjmp): Use LOAD_GP to load saved GPRs.
13346 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13347 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13348 (__sigsetjmp): Use SAVE_GP to save GPRs.
13350 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13351 Do not append -msoft-float.
13352 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13354 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13356 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13358 2013-09-17 Joseph Myers <joseph@codesourcery.com>
13361 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13362 (_FPU_GETCW): Use initial "__" on variable and field names but not
13363 on macro parameter name.
13364 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13365 parentheses around reference to macro parameter.
13367 2013-09-13 Richard Sandiford <richard@codesourcery.com>
13369 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13371 (ctype_startup): Use uint32_t in cast and sizeof for
13374 2013-09-11 Jia Liu <proljc@gmail.com>
13376 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13378 [__FreeBSD__]: Likewise.
13380 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
13382 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13383 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13384 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13385 (strchr): Remove __strchr_sse42 ifunc selection.
13386 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13387 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13389 2013-09-11 Will Newton <will.newton@linaro.org>
13391 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13392 parameter to RES. Remove hardcoded 1000 value.
13393 * benchtests/bench-skeleton.c (main): Pass RES parameter
13394 to TIMING_INIT and multiply result by 1000.
13396 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13400 2013-09-11 Andreas Schwab <schwab@suse.de>
13402 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13404 (O_TMPFILE) [__USE_GNU]: Define.
13405 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13408 2013-09-11 Will Newton <will.newton@linaro.org>
13411 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13414 2013-09-11 Will Newton <will.newton@linaro.org>
13417 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13420 2013-09-11 Will Newton <will.newton@linaro.org>
13423 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13426 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
13428 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13429 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13430 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13431 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13432 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13434 2013-09-10 Allan McRae <allan@archlinux.org>
13437 * manual/arith.texi (Parsing of Floats): Clarify
13441 * manual/install.texi (Running make install): Mention
13443 * INSTALL: Regenerated.
13445 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13447 * csu/init-first.c (_init): Remove the !SHARED condition around
13448 FPU control word initialization.
13449 * elf/dl-support.c (_dl_fpu_control): New variable.
13450 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13451 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13452 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13453 * math/test-fpucw-static.c: New file.
13454 * math/test-fpucw-ieee.c: New file.
13455 * math/test-fpucw-ieee-static.c: New file.
13456 * math/Makefile (tests): Add `test-fpucw-ieee' and
13458 (tests-static): New variable.
13459 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13461 [($(build-shared),yes)]
13462 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13464 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13467 2013-09-09 Allan McRae <allan@archlinux.org>
13470 * manual/string.texi (Collation Functions): Fix typo in
13472 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13475 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13478 * libio/memstream.c (open_memstream): Fix memory leak.
13479 * libio/wmemstream.c (open_wmemstream): Likewise.
13482 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13484 2013-09-09 Will Newton <will.newton@linaro.org>
13486 * malloc/Makefile: Add tst-realloc to tests.
13487 * malloc/tst-realloc.c: New file.
13489 2013-09-09 Allan McRae <allan@archlinux.org>
13492 * COPYING: Update from GNU website to fix FSF address.
13493 * COPYING.LIB: Likewise.
13495 2013-09-06 David S. Miller <davem@davemloft.net>
13497 * po/zh_TW.po: Update Chinese (traditional) translation from
13498 translation project.
13500 2013-09-06 Richard Sandiford <richard@codesourcery.com>
13501 Joseph Myers <joseph@codesourcery.com>
13503 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13505 (obstack_chunk_alloc): New macro.
13506 (obstack_chunk_free): Likewise.
13507 (record_offset): New function.
13508 (init_locale_data): Likewise.
13509 (align_locale_data): Likewise.
13510 (add_locale_empty): Likewise.
13511 (add_locale_raw_data): Likewise.
13512 (add_locale_raw_obstack): Likewise.
13513 (add_locale_string): Likewise.
13514 (add_locale_wstring): Likewise.
13515 (add_locale_uint32): Likewise.
13516 (add_locale_uint32_array): Likewise.
13517 (add_locale_char): Likewise.
13518 (start_locale_structure): Likewise.
13519 (end_locale_structure): Likewise.
13520 (start_locale_prelude): Likewise.
13521 (end_locale_prelude): Likewise.
13522 (write_locale_data): Take locale_file structure rather than an
13524 * locale/programs/locfile.h: Include "obstack.h".
13525 (struct locale_file): Change to store locale file contents instead
13527 (init_locale_data): New prototype.
13528 (align_locale_data): Likewise.
13529 (add_locale_empty): Likewise.
13530 (add_locale_raw_data): Likewise.
13531 (add_locale_raw_obstack): Likewise.
13532 (add_locale_string): Likewise.
13533 (add_locale_wstring): Likewise.
13534 (add_locale_uint32): Likewise.
13535 (add_locale_uint32_array): Likewise.
13536 (add_locale_char): Likewise.
13537 (start_locale_structure): Likewise.
13538 (end_locale_structure): Likewise.
13539 (start_locale_prelude): Likewise.
13540 (end_locale_prelude): Likewise.
13541 (write_locale_data): Update prototype.
13542 * locale/programs/3level.h (struct TABLE): Remove result field.
13543 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13544 Use new locale_file interface.
13545 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13546 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13547 * locale/programs/ld-address.c (address_output): Use new
13548 locale_file interface.
13549 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13551 (collate_finish): Don't call collseq_table_finalize.
13552 (collate_output): Use new locale_file interface.
13553 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13555 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13556 (TABLE): Move defines earlier in file.
13557 (ELEMENT): Likewise.
13558 (DEFAULT): Likewise.
13559 (wctrans_table_add): Move macro and inline function earlier in
13561 (struct wctype_table): Move type earlier in file.
13562 (add_locale_wctype_table): New static prototype.
13563 (struct locale_ctype_t): Use logical types instead of struct iovec
13564 pointers for members.
13565 (ctype_output): Use new locale_file interface.
13566 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13567 new locale_file interface.
13568 (allocate_arrays): Update for use of new locale_file interface.
13569 * locale/programs/ld-identification.c (identification_output): Use
13570 new locale_file interface.
13571 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13572 * locale/programs/ld-messages.c (messages_output): Likewise.
13573 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13574 * locale/programs/ld-name.c (name_output): Likewise.
13575 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13576 * locale/programs/ld-paper.c (paper_output): Likewise.
13577 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13578 * locale/programs/ld-time.c (time_output): Likewise.
13580 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13582 * benchtests/Makefile: Add memrchr benchmark.
13583 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13584 benchmark as memrchr.
13585 * benchtests/bench-memrchr-ifunc.c: New file.
13586 * benchtests/bench-memrchr.c: New file.
13588 2013-09-06 Will Newton <will.newton@linaro.org>
13590 * benchtests/Makefile (string-bench): Add memcpy.
13592 2013-09-05 Carlos O'Donell <carlos@redhat.com>
13593 Cong Wang <amwang@redhat.com>
13596 * sysdeps/unix/sysv/linux/bits/in.h
13597 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13598 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13599 before __USE_KERNEL_IPV6_DEFS uses.
13600 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13602 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13603 sockaddr_in6, or ipv6_mreq.
13605 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13607 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13608 memory access for final bytes in some large inputs.
13609 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13611 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13613 * string/test-memrchr.c: New file.
13614 * string/test-memrchr-ifunc.c: New file.
13615 * string/Makefile: Add new memrchr testcase.
13617 2013-09-05 Mike Frysinger <vapier@gentoo.org>
13619 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13620 fanotify_init returns EPERM.
13622 2013-09-04 Joseph Myers <joseph@codesourcery.com>
13624 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13626 (top level): Treat second token from macro or constant entries for
13627 allowed headers as allowed.
13628 * include/complex.h: Condition internal declarations on
13630 * include/fenv.h: Condition include of <stdbool.h> and internal
13631 declarations on [!_ISOMAC].
13633 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13636 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13638 2013-09-04 Joseph Myers <joseph@codesourcery.com>
13640 * configure.in (--enable-versioning): Remove configure option.
13641 (libc_cv_asm_symver_directive): Remove configure test.
13642 (libc_cv_ld_version_script_option): Likewise.
13643 (VERSIONING): Remove variable and AC_SUBST.
13644 (DO_VERSIONING): Remove AC_DEFINE.
13645 * configure: Regenerated.
13646 * config.h.in (DO_VERSIONING): Remove macro.
13647 * Makerules [$(versioning) = yes]: Change conditionals to
13648 [$(build-shared) = yes].
13649 * config.make.in (versioning): Remove variable.
13650 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13651 [$(build-shared) = yes].
13652 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13653 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13654 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13655 [$(build-shared) = yes].
13656 * extra-lib.mk [$(versioning) = yes]: Likewise.
13657 * hurd/Makefile [$(versioning) = yes]: Likewise.
13658 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13660 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13662 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13663 [SHARED && !NO_HIDDEN].
13664 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13666 [SHARED && DO_VERSIONING]: Likewise..
13667 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13668 [$(build-shared) = yes].
13669 * manual/install.texi (--disable-versioning): Remove
13671 * INSTALL: Regenerated.
13672 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13674 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13675 [$(build-shared) = yes].
13676 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13677 * sysdeps/i386/i686/multiarch/strstr-c.c
13678 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13679 [SHARED && !NO_HIDDEN].
13680 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13681 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13682 * sysdeps/powerpc/powerpc32/dl-machine.c
13683 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13684 * sysdeps/powerpc/powerpc32/sysdep.h
13685 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13686 to [SHARED && PIC && !NO_HIDDEN].
13687 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13688 conditional to [SHARED].
13690 2013-09-04 Will Newton <will.newton@linaro.org>
13692 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13693 * benchtests/bench-string.h: Include bench-timing.h instead
13694 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13695 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13696 call to HP_TIMING_DIFF_INIT.
13697 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13698 instead of hp-timing.h macros.
13699 * benchtests/bench-memchr.c: Likewise.
13700 * benchtests/bench-memcmp.c: Likewise.
13701 * benchtests/bench-memcpy.c: Likewise.
13702 * benchtests/bench-memmem.c: Likewise.
13703 * benchtests/bench-memmove.c: Likewise.
13704 * benchtests/bench-memset.c: Likewise.
13705 * benchtests/bench-rawmemchr.c: Likewise.
13706 * benchtests/bench-strcasecmp.c: Likewise.
13707 * benchtests/bench-strcasestr.c: Likewise.
13708 * benchtests/bench-strcat.c: Likewise.
13709 * benchtests/bench-strchr.c: Likewise.
13710 * benchtests/bench-strcmp.c: Likewise.
13711 * benchtests/bench-strcpy.c: Likewise.
13712 * benchtests/bench-strcpy_chk.c: Likewise.
13713 * benchtests/bench-strlen.c: Likewise.
13714 * benchtests/bench-strncasecmp.c: Likewise.
13715 * benchtests/bench-strncat.c: Likewise.
13716 * benchtests/bench-strncmp.c: Likewise.
13717 * benchtests/bench-strncpy.c: Likewise.
13718 * benchtests/bench-strnlen.c: Likewise.
13719 * benchtests/bench-strpbrk.c: Likewise.
13720 * benchtests/bench-strrchr.c: Likewise.
13721 * benchtests/bench-strspn.c: Likewise.
13722 * benchtests/bench-strstr.c: Likewise.
13724 2013-09-04 Will Newton <will.newton@linaro.org>
13726 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13728 2013-09-03 Joseph Myers <joseph@codesourcery.com>
13731 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13732 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13733 * math/libm-test.inc (lgamma_test_data): Add more tests.
13734 * sysdeps/i386/fpu/libm-test-ulps: Update.
13735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13737 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
13739 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13740 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13743 Add strcmp-sse2-unaligned
13744 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13746 2013-09-02 Mike Frysinger <vapier@gentoo.org>
13748 * Versions.def (libc): Add GLIBC_2.19.
13750 2013-09-02 Mike Frysinger <vapier@gentoo.org>
13752 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13753 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13755 2013-09-02 Joseph Myers <joseph@codesourcery.com>
13758 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13759 intermediate calculations in recurrence.
13760 (__ieee754_ynf): Likewise.
13761 * math/libm-test.inc (jn_test_data): Do not allow spurious
13762 underflow exception. Add more tests.
13763 (yn_test_data): Add more tests.
13764 * sysdeps/i386/fpu/libm-test-ulps: Update.
13765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13767 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
13769 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13771 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13773 * csu/init-first.c: Fix then/than typos.
13774 * locale/programs/ld-collate.c: Likewise.
13775 * locale/programs/linereader.h: Likewise.
13776 * manual/charset.texi: Likewise.
13777 * manual/filesys.texi: Likewise.
13778 * manual/stdio.texi: Likewise.
13779 * manual/string.texi: Likewise.
13780 * stdlib/fmtmsg.c: Likewise.
13781 * sysdeps/i386/stpncpy.S: Likewise.
13782 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13783 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13784 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13785 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13787 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13789 * elf/dl-open.c: Fix typos.
13790 * iconvdata/gbbig5.c: Likewise.
13791 * iconvdata/iso-2022-jp.c: Likewise.
13792 * iconv/gconv_int.h: Likewise.
13793 * iconv/loop.c: Likewise.
13794 * nis/rpcsvc/nis.h: Likewise.
13795 * resolv/ns_name.c: Likewise.
13796 * stdio-common/vfscanf.c: Likewise.
13797 * streams/stropts.h: Likewise.
13798 * sunrpc/rpc_thread.c: Likewise.
13799 * sysdeps/i386/strpbrk.S: Likewise.
13800 * sysdeps/ieee754/k_standard.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13802 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13803 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13804 * sysdeps/mach/hurd/profil.c: Likewise.
13805 * sysdeps/s390/dl-procinfo.h: Likewise.
13806 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13807 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13808 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13809 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13810 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13812 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13814 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13815 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13817 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
13819 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13820 aix specific files.
13821 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13822 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13823 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13824 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13825 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13826 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13827 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13828 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13830 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13831 Roland McGrath <roland@hack.frob.com>
13833 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13834 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13836 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13838 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13839 __executable_start symbol instead of _start.
13841 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13843 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13844 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13846 * sysdeps/gnu/ldsodefs.h: ... this new file.
13848 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13849 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13850 instead of ELFOSABI_LINUX.
13852 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13853 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13854 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13855 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13857 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13858 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13859 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13861 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13862 (ibm_extended_long_double): Add ieee_nan member.
13863 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13864 (do_test): New function.
13866 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13868 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13869 functions, renamed from truncdfsf_test, trunctfsf_test,
13871 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13873 (do_test): Run all these.
13875 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
13877 * argp/argp-help.c: Fix typos.
13878 * argp/argp-parse.c: Likewise.
13879 * debug/backtracesyms.c: Likewise.
13880 * elf/elf.h: Likewise.
13881 * malloc/malloc.c: Likewise.
13882 * nis/nis_print.c: Likewise.
13883 * resolv/res_comp.c: Likewise.
13884 * stdlib/stdlib.h: Likewise.
13885 * sunrpc/clnt_tcp.c: Likewise.
13886 * sunrpc/clnt_udp.c: Likewise.
13887 * sunrpc/clnt_unix.c: Likewise.
13888 * sysdeps/unix/bsd/ptsname.c: Likewise.
13889 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13890 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13897 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13899 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13901 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13904 2013-08-27 Mike Frysinger <vapier@gentoo.org>
13907 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13908 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13909 ($(objpfx)bug-dl-leaf): New rule.
13910 ($(objpfx)bug-dl-leaf.so): Likewise.
13911 ($(objpfx)bug-dl-leaf.out): Likewise.
13912 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13913 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13914 * dlfcn/bug-dl-leaf.c: New test.
13915 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13916 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13917 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13918 (dlclose): Likewise.
13919 (dlmopen): Likewise.
13921 2013-08-27 Roland McGrath <roland@hack.frob.com>
13923 * include/netdb.h [!_ISOMAC]:
13924 Don't include <tls.h>.
13925 (h_errno, __libc_h_errno): Move declaration and macros out of
13928 * include/resolv.h [_RESOLV_H_]:
13929 Don't include <tls.h>.
13930 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13931 * resolv/res_libc.c: Don't include <tls.h>.
13932 (_res): Use __attribute__ ((nocommon)) in place of
13933 __attribute__ ((section (".bss"))).
13935 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13936 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13938 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13940 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13941 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13943 * resolv/res_mkquery.c: Include <sys/time.h>.
13945 * inet/ifreq.c: Moved to ...
13946 * sysdeps/unix/ifreq.c: ... here.
13947 * inet/ifreq.c: New file, true stub version.
13949 * socket/sa_len.c: New file.
13950 * socket/Makefile (aux): Add it.
13951 * sysdeps/unix/sysv/linux/Makefile
13952 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13953 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13954 and #include <socket/sa_len.c>.
13955 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13956 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13958 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13959 * bits/socket.h: ... here.
13961 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13962 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13963 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13965 2013-08-27 Andreas Schwab <schwab@suse.de>
13968 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13969 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13970 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13971 * string/test-strcasecmp.c (test_main): Run tests in several
13973 * string/test-strncasecmp.c (test_main): Likewise.
13975 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13976 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13977 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13978 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13979 (__strncasecmp_ssse3) [PIC]: Likewise.
13981 2013-08-26 Roland McGrath <roland@hack.frob.com>
13983 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13985 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13986 instead of explicitly declaring xdecrypt.
13987 * nis/nss_nis/nis-publickey.c: Likewise.
13989 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13992 * nscd/aicache.c: Include res_hconf.h.
13993 (addhstaiX): Initialize res_hconf.
13995 2013-08-26 Andreas Schwab <schwab@suse.de>
13997 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13998 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14000 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14002 * nscd/aicache.c (addhstaiX): Fix indentation.
14004 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14006 * configure.ac: Quote $build_pt_chown test.
14007 * configure: Regenerated.
14009 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14012 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14013 * math/s_cexpf.c (__cexpf): Likewise.
14014 * math/s_cexpl.c (__cexpl): Likewise.
14015 * math/libm-test.inc (cexp_test_data): Correct expected return
14016 value for NaN + i0. Add another test.
14018 2013-08-22 David S. Miller <davem@davemloft.net>
14020 * po/ca.po: Update Catalan translation from translation project.
14021 * po/uk.po: Add Ukrainian translations from translation project.
14023 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14026 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14027 is infinite, not alongside NaN test.
14028 * math/s_fdimf.c (__fdimf): Likewise.
14029 * math/s_fdiml.c (__fdiml): Likewise.
14030 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14031 errno is unchanged.
14033 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14035 * argp/argp-help.c: Fix typos.
14036 * crypt/speeds.c: Likewise.
14037 * csu/check_fds.c: Likewise.
14038 * elf/dl-load.c: Likewise.
14039 * elf/dl-open.c: Likewise.
14040 * elf/reldep3.c: Likewise.
14041 * elf/reldep.c: Likewise.
14042 * elf/sprof.c: Likewise.
14043 * iconv/iconv_charmap.c: Likewise.
14044 * iconv/skeleton.c: Likewise.
14045 * iconv/strtab.c: Likewise.
14046 * io/lockf64.c: Likewise.
14047 * libio/libioP.h: Likewise.
14048 * resolv/gai_notify.c: Likewise.
14049 * resolv/ns_name.c: Likewise.
14050 * resolv/ns_samedomain.c: Likewise.
14051 * resolv/res_send.c: Likewise.
14052 * stdlib/random.c: Likewise.
14053 * sunrpc/rpc/xdr.h: Likewise.
14054 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14055 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14056 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14057 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14058 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14059 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14060 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14061 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14062 * sysdeps/mach/hurd/check_fds.c: Likewise.
14063 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14064 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14065 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14066 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14067 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14068 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14069 * sysdeps/pthread/aio_notify.c: Likewise.
14070 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14071 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14072 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14073 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14074 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14076 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14078 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14079 version if bit_Slow_SSE4_2 is set.
14080 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14081 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14083 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14086 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14087 trampoline stack frame information.
14088 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14089 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14090 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14091 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14092 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14093 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14094 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14095 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14097 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14098 interrupting a syscall and set with option SA_SIGINFO.
14100 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14103 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14104 argument is infinite.
14105 * math/s_cprojf.c (__cprojf): Likewise.
14106 * math/s_cprojl.c (__cprojl): Likewise.
14107 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14108 * math/libm-test.inc (cproj_test_data): Add more tests.
14110 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14112 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14113 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14114 size. Use __ffs to determine corresponding shift.
14116 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14117 Roland McGrath <roland@hack.frob.com>
14119 * Makefile (INSTALL): Remove trailing blank lines from output of
14122 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14124 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14125 Align 32 bit compat elf_greg to 8 bytes.
14127 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14129 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14131 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14133 * string/strcoll_l.c (coll_seq): New structure.
14134 (get_next_seq_cached): New function.
14135 (get_next_seq): New function.
14136 (do_compare): New function.
14137 (STRCOLL): Use GNU style definition. Simplify implementation
14138 by using get_next_seq, get_next_seq_cached and do_compare.
14140 2013-08-16 Florian Weimer <fweimer@redhat.com>
14144 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14146 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14148 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14149 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14150 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14152 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14153 GETDENTS_64BIT_ALIGNED.
14154 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14155 * manual/filesys.texi (Reading/Closing Directory): Document
14156 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14158 * manual/conf.texi (Limits for Files): Add portability note to
14159 NAME_MAX, PATH_MAX.
14160 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14162 2013-08-13 Andreas Schwab <schwab@suse.de>
14165 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14167 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14168 LDBL_MAX_EXP >= 16384]: Add tests for it.
14170 2013-08-12 David S. Miller <davem@davemloft.net>
14172 * version.h (RELEASE): Set to "development".
14173 (VERSION): Set to "2.18.90".
14174 * NEWS: Add 2.19 section.
14176 2013-08-03 David S. Miller <davem@davemloft.net>
14178 * po/ko.po: Update Korean translation from translation project.
14180 2013-08-01 David S. Miller <davem@davemloft.net>
14182 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14183 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14186 2013-07-30 David S. Miller <davem@davemloft.net>
14188 * po/fr.po: Update French translation from translation project.
14190 2013-07-28 David S. Miller <davem@davemloft.net>
14192 * po/cs.po: Update Czech translation from translation project.
14194 * po/sv.po: Update Swedish translation from translation project.
14196 2013-07-27 David S. Miller <davem@davemloft.net>
14198 * po/eo.po: Update Esperanto translation from translation project.
14200 * po/vi.po: Update Vietnamese translation from translation project.
14202 * po/de.po: Update German translation from translation project.
14204 2013-07-26 David S. Miller <davem@davemloft.net>
14206 * po/bg.po: Update Bulgarian translation from translation project.
14208 * po/nl.po: Update Dutch translation from translation project.
14209 * po/pl.po: Update Polish translation from translation project.
14210 * po/ru.po: Update Russian translation from translation project.
14212 2013-07-24 David S. Miller <davem@davemloft.net>
14214 * po/libc.pot: Update.
14216 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14218 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14219 variable page size.
14220 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14221 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14222 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14224 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14226 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14228 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14229 Andreas Schwab <schwab@suse.de>
14230 Roland McGrath <roland@hack.frob.com>
14231 Joseph Myers <joseph@codesourcery.com>
14232 Carlos O'Donell <carlos@redhat.com>
14235 * config.h.in: Define HAVE_PT_CHOWN.
14236 * config.make.in (build-pt-chown): New variable.
14237 * configure.in (--enable-pt_chown): New configure option.
14238 * configure: Regenerate.
14239 * login/Makefile: Include Makeconfig. Build pt_chown only if
14240 build-pt-chown is enabled.
14241 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14242 pt_chown to fix pty ownership.
14243 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14245 * manual/install.texi (Configuring and compiling): Mention
14246 --enable-pt_chown. Add @findex for grantpt.
14247 * INSTALL: Regenerate.
14249 2013-07-20 David S. Miller <davem@davemloft.net>
14251 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14252 difference between 32-bit and 64-bit.
14254 2013-07-15 Carlos O'Donell <carlos@redhat.com>
14257 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14258 Avoid system header dependency with -ffreestanding.
14259 ($(objpfx)bits/syscall%d): Likewise.
14261 2013-07-13 David S. Miller <davem@davemloft.net>
14263 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14264 underflows from atanl/atan2l due to bug 15319.
14265 (casinh_test_data): Likewise.
14267 2013-07-07 David S. Miller <davem@davemloft.net>
14269 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14271 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14273 * sysdeps/i386/fpu/libm-test-ulps: Update.
14274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14276 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14278 * configure.in (--enable-lock-elision): Fix message text.
14279 * INSTALL: Regenerate.
14280 * configure: Regenerate.
14282 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14286 2013-07-03 Andreas Jaeger <aj@suse.de>
14288 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14290 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14291 (ptrace_peeksiginfo_args): Add.
14292 (__ptrace_peeksiginfo_flags): Add.
14293 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14294 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14295 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14297 2013-07-03 Allan McRae <allan@archlinux.org>
14299 * sysdeps/i386/fpu/libm-test-ulps: Update.
14301 2013-07-02 David S. Miller <davem@davemloft.net>
14303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14305 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14309 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14311 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14314 2013-07-02 Andi Kleen <ak@linux.intel.com>
14316 * config.h.in (ENABLE_LOCK_ELISION): Add.
14317 * configure.in (--enable-lock-elision): Add option.
14318 * manual/install.texi: Document --enable lock elision.
14319 * configure: Regenerate
14320 * INSTALL: Regenerate.
14322 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14324 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14325 SSE4.2 strcasecmp for libc.a.
14326 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14328 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14331 * soft-fp/op-common.h (_FP_FMA): New macro.
14332 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14333 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14334 (_FP_MUL_MEAT_1_imm): ... here.
14335 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14336 (_FP_MUL_MEAT_1_wide): ... here.
14337 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14338 (_FP_MUL_MEAT_1_hard): ... here.
14339 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14340 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14341 (_FP_MUL_MEAT_2_wide): ... here.
14342 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14343 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14344 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14345 (_FP_MUL_MEAT_2_gmp): ... here.
14346 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14347 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14348 (_FP_MUL_MEAT_4_wide): ... here.
14349 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14350 (_FP_MUL_MEAT_4_gmp): ... here.
14351 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14352 (_FP_WFRACBITS_DW_S): Likewise.
14353 (_FP_WFRACXBITS_DW_S): Likewise.
14354 (_FP_HIGHBIT_DW_S): Likewise.
14355 (FP_FMA_S): Likewise.
14356 (_FP_FRAC_HIGH_DW_S): Likewise.
14357 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14358 (_FP_WFRACBITS_DW_D): Likewise.
14359 (_FP_WFRACXBITS_DW_D): Likewise.
14360 (_FP_HIGHBIT_DW_D): Likewise.
14361 (FP_FMA_D): Likewise.
14362 (_FP_FRAC_HIGH_DW_D): Likewise.
14363 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14364 (_FP_WFRACBITS_DW_E): Likewise.
14365 (_FP_WFRACXBITS_DW_E): Likewise.
14366 (_FP_HIGHBIT_DW_E): Likewise.
14367 (FP_FMA_E): Likewise.
14368 (_FP_FRAC_HIGH_DW_E): Likewise.
14369 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14370 (_FP_WFRACBITS_DW_Q): Likewise.
14371 (_FP_WFRACXBITS_DW_Q): Likewise.
14372 (_FP_HIGHBIT_DW_Q): Likewise.
14373 (FP_FMA_Q): Likewise.
14374 (_FP_FRAC_HIGH_DW_Q): Likewise.
14375 * soft-fp/fmasf4.c: New file.
14376 * soft-fp/fmadf4.c: Likewise.
14377 * soft-fp/fmatf4.c: Likewise.
14379 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14382 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14384 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14386 (index_Slow_SSE4_2): Likewise.
14387 (index_Prefer_PMINUB_for_stringop): Likewise.
14388 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14389 bit_Slow_SSE4_2 is set.
14390 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14391 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14393 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14395 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14396 rtld_global._dl_hwcap2.
14397 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14399 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14400 POWER8 feature descriptions defined in _dl_hwcap2.
14401 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14402 string handling for POWER8 feature bits.
14403 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14404 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14405 _dl_powerpc_cap_flags.
14406 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14407 * sysdeps/powerpc/rtld-global-offsets.sym
14408 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14409 _dl_hwcap2 in the rtld_global_ro structure.
14411 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14413 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14414 hardware capabilities in support of AT_HWCAP2.
14415 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14416 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14418 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14419 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14420 explicitly the unknown a_type display mechanism is used.
14421 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14422 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14424 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14425 to macro prototype for AT_HWCAP2 support.
14426 * sysdeps/i386/dl-procinfo.h: Likewise.
14427 * sysdeps/s390/dl-procinfo.h: Likewise.
14428 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14429 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14430 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14431 return -1 for unknown a_type display fallback.
14432 * sysdeps/sparc/dl-procinfo.h: Likewise.
14433 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14434 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14436 2013-06-28 Joseph Myers <joseph@codesourcery.com>
14438 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14439 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14441 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14444 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14445 mprotect making __stack_prot writable.
14447 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14448 Joseph Myers <joseph@codesourcery.com>
14450 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14451 as being properly aligned.
14453 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14455 * dlfcn/modstatic5.c: New file.
14456 * dlfcn/tststatic5.c: New file.
14457 * dlfcn/Makefile (tests): Add tststatic5.
14458 (tests-static): Likewise.
14459 (modules-names): Add modstatic5.
14460 (tststatic5-ENV): New variable.
14461 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14464 * elf/dl-support.c (_dl_main_map): New variable.
14465 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14466 (_dl_nns, _dl_load_adds): Set to 1.
14467 (_dl_initial_searchlist): Refer to _dl_main_map.
14468 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14469 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14470 call to _dl_get_origin.
14471 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14473 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14474 * dlfcn/modstatic3.c: New file.
14475 * dlfcn/tststatic3.c: New file.
14476 * dlfcn/tststatic4.c: New file.
14477 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14478 (tests-static): Likewise.
14479 (modules-names): Add modstatic3.
14480 (tststatic3-ENV, tststatic4-ENV): New variables.
14481 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14482 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14484 2013-06-26 Joseph Myers <joseph@codesourcery.com>
14486 * configure.in (CC): Require GCC version 4.4 or later.
14487 * configure: Regenerated.
14488 * manual/install.texi (Tools for Compilation): Update GCC version
14490 * INSTALL: Regenerated.
14492 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14495 * string/test-memcmp.c (check2): New.
14496 (main): Call check2.
14498 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14500 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14503 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14505 (dl_open_worker) [!SHARED]: ... here.
14507 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14509 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14511 2013-06-25 Richard Henderson <rth@redhat.com>
14513 * locale/programs/locarchive.c: Include <libc-internal.h>
14515 2013-06-25 Joseph Myers <joseph@codesourcery.com>
14517 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14518 trailing whitespace removed.
14520 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14523 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14524 * locale/programs/locarchive.c: Include libc-mmap.h.
14525 (prepare_address_space): Take two new outputs (the mmap base and len).
14526 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14528 (create_archive): Declare new mmap base and len values for
14529 prepare_address_space, and store the result in ah.
14530 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14531 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14532 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14533 Declare new mmap base and len values for
14534 prepare_address_space, and store the result in new_ah.
14535 (open_archive): Declare new mmap base and len values for
14536 prepare_address_space, and store the result in ah.
14537 (close_archive): If ah->mmap_base is not NULL, use that and
14538 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14539 * sysdeps/generic/libc-mmap.h: New file.
14541 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14543 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14544 (ALIGN_UP): Likewise.
14545 (PTR_ALIGN_DOWN): Likewise.
14546 (PTR_ALIGN_UP): Likewise.
14548 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14550 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14551 entry mapped to PPC_PLATFORM_POWER8.
14552 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14554 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14555 (_dl_string_platform): Add case for exporting platform position for
14557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14558 search path to sysdeps/powerpc/powerpc32/power8 directory.
14559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14560 search path to sysdeps/powerpc/powerpc64/power8 directory.
14561 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14562 power7 directories.
14563 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14564 power7 directories.
14566 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14568 * INSTALL: Regenerate.
14570 * nscd/connections.c (nscd_init): Fix comment.
14572 2013-06-22 Joseph Myers <joseph@codesourcery.com>
14574 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14577 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14578 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14580 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14582 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14584 (DL_DST_REQ_STATIC): Remove macro.
14586 2013-06-21 Joseph Myers <joseph@codesourcery.com>
14589 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14590 with a shift of 0 bits.
14592 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14594 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14597 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14600 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14602 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14604 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14605 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14606 accepts -fno-tree-loop-distribute-patterns.
14607 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14608 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14610 * string/memset.c (memset): Likewise.
14611 * string/test-memmove.c (simple_memmove): Disable loop transformation
14613 * string/test-memset.c (simple_memset): Likewise.
14614 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14615 * benchtests/bench-memset.c (simple_memset): Likewise.
14616 * configure: Regenerated.
14618 2013-06-20 Joseph Myers <joseph@codesourcery.com>
14620 * math/test-misc.c (main): Ignore fesetround failure when failures
14621 of subsequent rounding tests would be ignored.
14624 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14625 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14626 * math/fegetenv.c (__fegetenv): Return 0.
14627 * math/fegetexcept.c (fegetexcept): Return 0.
14628 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14630 * math/feholdexcpt.c (feholdexcept): Return 0.
14631 * math/fesetenv.c (__fesetenv): Return 0.
14632 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14633 argument FE_TONEAREST.
14634 * math/feupdateenv.c (__feupdateenv): Return 0.
14635 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14637 2013-06-18 Roland McGrath <roland@hack.frob.com>
14639 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14640 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14641 ($(objpfx)rtld-%.os rules): Use them.
14643 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14645 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14648 2013-06-17 Roland McGrath <roland@hack.frob.com>
14650 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14651 length of target pattern, then descending length of dependency pattern.
14652 * configure.in (AWK): Require gawk 3.1.2 or newer.
14653 * manual/install.texi (Tools for Compilation): Say that we do.
14654 * configure: Regenerated.
14656 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14657 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14658 * scripts/sysd-rules.awk: ... this new script.
14659 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14660 than a glob-style pattern.
14662 2013-06-17 Joseph Myers <joseph@codesourcery.com>
14664 * math/test-misc.c (main): Do not treat incorrectly rounded
14665 conversions as failure unless ROUNDING_TESTS passes.
14667 2013-06-15 Joseph Myers <joseph@codesourcery.com>
14670 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14671 restore exception state around main square root computation, then
14672 check for inexactness explicitly.
14674 * math/libm-test.inc (fma_test_data): Add another test.
14676 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14678 * manual/threads.texi (Non-POSIX Extensions): New document
14679 node. Document pthread_getattr_default_np and
14680 pthread_setattr_default_np.
14682 * Versions.def (libpthread): Add GLIBC_2.18.
14683 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14692 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14703 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14706 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14708 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14709 H.J. Lu <hjl.tools@gmail.com>
14712 * sysdeps/x86_64/rtld-memset.c: Remove file.
14713 * sysdeps/x86_64/rtld-memset.S: New file.
14715 2013-06-14 Joseph Myers <joseph@codesourcery.com>
14717 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14718 (test_in_one_mode): Take arguments for whether the rounding mode
14719 is supported for each floating-point type.
14720 (do_test): Pass new arguments to test_in_one_mode using
14723 2013-06-13 Roland McGrath <roland@hack.frob.com>
14725 * posix/tst-waitid.c (do_test): Distinguish different instances of
14726 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14727 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14728 before entering the kernel for waitpid.
14730 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14732 * NEWS: Fix note on clock function precision. Text by Roland
14735 2013-06-13 Roland McGrath <roland@hack.frob.com>
14737 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14738 it into place only when and if the sanity check passes.
14740 2013-06-13 Joseph Myers <joseph@codesourcery.com>
14742 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14743 output for whether conversion result is exact. Take argument
14744 indicating whether type is IBM long double.
14745 (round_for_all): Change need_exact field to ibm_ld.
14746 * stdlib/tst-strtod-round.c (struct exactness): New type.
14747 (struct test): Change bool ld_ok field to struct exactness exact.
14748 (TEST): Update all definitions for change to field.
14749 (tests): Regenerate array contents.
14750 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14751 field value. Check for IBM long double here.
14752 (do_test): Update calls to test_in_one_mode.
14754 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14757 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14758 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14760 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14763 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14764 generated by the compiler on loop optimizations.
14765 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14766 general definitions.
14768 2013-06-12 Joseph Myers <joseph@codesourcery.com>
14770 * math/bug-nextafter.c: Include <math-tests.h>.
14771 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14773 * math/bug-nexttoward.c: Include <math-tests.h>.
14774 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14776 * math/test-misc.c: Include <math-tests.h>.
14777 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14780 2013-06-12 Andreas Jaeger <aj@suse.de>
14782 * po/ia.po: Update Interlingua translation from translation
14785 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14787 * include/fenv.h: Include stdbool.h.
14788 (struct rm_ctx): New structure.
14789 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14791 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14792 (SET_RESTORE_ROUNDF): Likewise.
14793 (SET_RESTORE_ROUNDL): Likewise.
14794 (SET_RESTORE_ROUND_NOEX): Likewise.
14795 (SET_RESTORE_ROUND_NOEXF): Likewise.
14796 (SET_RESTORE_ROUND_NOEXL): Likewise.
14797 (SET_RESTORE_ROUND_53BIT): Likewise.
14798 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14799 (libc_feresetround_noexf_ctx): Likewise.
14800 (libc_feresetround_noexl_ctx): Likewise.
14801 (libc_feholdsetround_53bit_ctx): Likewise.
14802 (libc_feresetround_53bit_ctx): Likewise.
14803 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14804 (libc_feholdexcept_setround_sse_ctx): New function.
14805 (libc_fesetenv_sse_ctx): Likewise.
14806 (libc_feupdateenv_sse_ctx): Likewise.
14807 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14808 (libc_feholdexcept_setround_387_ctx): Likewise.
14809 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14810 (libc_feholdsetround_387_prec_ctx): Likewise.
14811 (libc_feholdsetround_387_ctx): Likewise.
14812 (libc_feholdsetround_387_53bit_ctx): Likewise.
14813 (libc_feholdsetround_sse_ctx): Likewise.
14814 (libc_feresetround_sse_ctx): Likewise.
14815 (libc_feresetround_387_ctx): Likewise.
14816 (libc_feupdateenv_387_ctx): Likewise.
14817 (libc_feholdexcept_setroundf_ctx): Define macro.
14818 (libc_fesetenvf_ctx): Likewise.
14819 (libc_feupdateenvf_ctx): Likewise.
14820 (libc_feholdsetroundf_ctx): Likewise.
14821 (libc_feresetroundf_ctx): Likewise.
14822 (libc_feholdexcept_setround_ctx): Likewise.
14823 (libc_fesetenv_ctx): Likewise.
14824 (libc_feupdateenv_ctx): Likewise.
14825 (libc_feholdsetround_ctx): Likewise.
14826 (libc_feresetround_ctx): Likewise.
14827 (libc_feholdexcept_setroundl_ctx): Likewise.
14828 (libc_feupdateenvl_ctx): Likewise.
14829 (libc_feholdsetroundl_ctx): Likewise.
14830 (libc_feresetroundl_ctx): Likewise.
14831 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14832 (libc_feresetround_53bit_ctx): Likewise.
14834 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14836 * locale/iso-639.def: Convert to UTF-8.
14838 2013-06-11 Joseph Myers <joseph@codesourcery.com>
14840 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14841 (EXCEPTION_TESTS_double): Likewise.
14842 (EXCEPTION_TESTS_long_double): Likewise.
14843 (EXCEPTION_TESTS): Likewise.
14844 * math/libm-test.inc (test_exceptions): Only test exceptions if
14845 EXCEPTION_TESTS (FLOAT).
14847 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14849 * benchtests/Makefile (string-bench): Add strcpy_chk and
14851 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14852 * benchtests/bench-stpcpy_chk.c: New file.
14853 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14854 * benchtests/bench-strcpy_chk.c: New file.
14855 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14857 (do_test): Likewise.
14859 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14861 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14862 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14863 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14864 with tabs where appropriate.
14865 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14867 [PPC_PLATFORM_PPC440]: Likewise.
14868 [PPC_PLATFORM_PPC464]: Likewise.
14869 [PPC_PLATFORM_PPC476]: Likewise.
14870 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14871 ppc464, and ppc476 platform strings merging from ports/
14874 2013-06-11 Andreas Schwab <schwab@suse.de>
14877 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14878 (from_ucs4_idx): Regenerate.
14879 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14880 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14881 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14882 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14883 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14884 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14885 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14886 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14887 from FROM_LOOP and TO_LOOP specific macros.
14888 (BODY): Handle combining characters.
14889 * iconvdata/BIG5HKSCS.irreversible: Update.
14890 * iconvdata/BIG5HKSCS.precomposed: New file.
14891 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14893 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14895 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14897 * include/sys/time.h: Fix indentation and add copyright header.
14899 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14900 (do_test): Likewise.
14901 * string/test-memchr.c (do_one_test): Likewise.
14902 (do_test): Likewise.
14903 * string/test-memcmp.c (do_one_test): Likewise.
14904 (do_test): Likewise.
14905 * string/test-memcpy.c (do_one_test): Likewise.
14906 (do_test): Likewise.
14907 * string/test-memmem.c (do_one_test): Likewise.
14908 (do_test): Likewise.
14909 (do_random_tests): Likewise.
14910 * string/test-memmove.c (do_one_test): Likewise.
14911 (do_test): Likewise.
14912 * string/test-memset.c (do_one_test): Likewise.
14913 (do_test): Likewise.
14914 * string/test-rawmemchr.c (do_one_test): Likewise.
14915 (do_test): Likewise.
14916 * string/test-strcasecmp.c (do_one_test): Likewise.
14917 (do_test): Likewise.
14918 * string/test-strcasestr.c (do_one_test): Likewise.
14919 (do_test): Likewise.
14920 * string/test-strcat.c (do_one_test): Likewise.
14921 (do_test): Likewise.
14922 * string/test-strchr.c (do_one_test): Likewise.
14923 (do_test): Likewise.
14924 * string/test-strcmp.c (do_one_test): Likewise.
14925 (do_test): Likewise.
14926 * string/test-strcpy.c (do_one_test): Likewise.
14927 (do_test): Likewise.
14928 * string/test-string.h: Likewise.
14929 (test_init): Likewise.
14930 * string/test-strlen.c (do_one_test): Likewise.
14931 (do_test): Likewise.
14932 * string/test-strncasecmp.c (do_one_test): Likewise.
14933 (do_test): Likewise.
14934 * string/test-strncat.c (do_one_test): Likewise.
14935 (do_test): Likewise.
14936 * string/test-strncmp.c (do_one_test): Likewise.
14937 (do_test_limit): Likewise.
14938 (do_test): Likewise.
14939 * string/test-strncpy.c (do_one_test): Likewise.
14940 (do_test): Likewise.
14941 * string/test-strnlen.c (do_one_test): Likewise.
14942 (do_test): Likewise.
14943 * string/test-strpbrk.c (do_one_test): Likewise.
14944 (do_test): Likewise.
14945 * string/test-strrchr.c (do_one_test): Likewise.
14946 (do_test): Likewise.
14947 * string/test-strspn.c (do_one_test): Likewise.
14948 (do_test): Likewise.
14949 * string/test-strstr.c (do_one_test): Likewise.
14950 (do_test): Likewise.
14952 * benchtests/Makefile (string-bench): Add string benchmarks.
14953 * benchtests/bench-bcopy-ifunc.c: New file.
14954 * benchtests/bench-bcopy.c: New file.
14955 * benchtests/bench-bzero-ifunc.c: New file.
14956 * benchtests/bench-bzero.c: New file.
14957 * benchtests/bench-memccpy-ifunc.c: New file.
14958 * benchtests/bench-memccpy.c: New file.
14959 * benchtests/bench-memchr-ifunc.c: New file.
14960 * benchtests/bench-memchr.c: New file.
14961 * benchtests/bench-memcmp-ifunc.c: New file.
14962 * benchtests/bench-memcmp.c: New file.
14963 * benchtests/bench-memmem-ifunc.c: New file.
14964 * benchtests/bench-memmem.c: New file.
14965 * benchtests/bench-memmove-ifunc.c: New file.
14966 * benchtests/bench-memmove.c: New file.
14967 * benchtests/bench-mempcpy-ifunc.c: New file.
14968 * benchtests/bench-mempcpy.c: New file.
14969 * benchtests/bench-memset-ifunc.c: New file.
14970 * benchtests/bench-memset.c: New file.
14971 * benchtests/bench-rawmemchr-ifunc.c: New file.
14972 * benchtests/bench-rawmemchr.c: New file.
14973 * benchtests/bench-stpcpy-ifunc.c: New file.
14974 * benchtests/bench-stpcpy.c: New file.
14975 * benchtests/bench-stpncpy-ifunc.c: New file.
14976 * benchtests/bench-stpncpy.c: New file.
14977 * benchtests/bench-strcasecmp-ifunc.c: New file.
14978 * benchtests/bench-strcasecmp.c: New file.
14979 * benchtests/bench-strcasestr-ifunc.c: New file.
14980 * benchtests/bench-strcasestr.c: New file.
14981 * benchtests/bench-strcat-ifunc.c: New file.
14982 * benchtests/bench-strcat.c: New file.
14983 * benchtests/bench-strchr-ifunc.c: New file.
14984 * benchtests/bench-strchr.c: New file.
14985 * benchtests/bench-strchrnul-ifunc.c: New file.
14986 * benchtests/bench-strchrnul.c: New file.
14987 * benchtests/bench-strcmp-ifunc.c: New file.
14988 * benchtests/bench-strcmp.c: New file.
14989 * benchtests/bench-strcpy-ifunc.c: New file.
14990 * benchtests/bench-strcpy.c: New file.
14991 * benchtests/bench-strcspn-ifunc.c: New file.
14992 * benchtests/bench-strcspn.c: New file.
14993 * benchtests/bench-strlen-ifunc.c: New file.
14994 * benchtests/bench-strlen.c: New file.
14995 * benchtests/bench-strncasecmp-ifunc.c: New file.
14996 * benchtests/bench-strncasecmp.c: New file.
14997 * benchtests/bench-strncat-ifunc.c: New file.
14998 * benchtests/bench-strncat.c: New file.
14999 * benchtests/bench-strncmp-ifunc.c: New file.
15000 * benchtests/bench-strncmp.c: New file.
15001 * benchtests/bench-strncpy-ifunc.c: New file.
15002 * benchtests/bench-strncpy.c: New file.
15003 * benchtests/bench-strnlen-ifunc.c: New file.
15004 * benchtests/bench-strnlen.c: New file.
15005 * benchtests/bench-strpbrk-ifunc.c: New file.
15006 * benchtests/bench-strpbrk.c: New file.
15007 * benchtests/bench-strrchr-ifunc.c: New file.
15008 * benchtests/bench-strrchr.c: New file.
15009 * benchtests/bench-strspn-ifunc.c: New file.
15010 * benchtests/bench-strspn.c: New file.
15011 * benchtests/bench-strstr-ifunc.c: New file.
15012 * benchtests/bench-strstr.c: New file.
15014 * benchtests/Makefile: Disable parallel execution of targets.
15015 (string-bench): Add memcpy.
15016 (benchset): New variable to store a list of benchmark sets.
15017 (bench-func): Renamed from bench.
15018 (bench-set): New target.
15019 (bench): Depend on bench-func and bench-set.
15020 * benchtests/README: Add section on benchmark sets.
15021 * benchtests/bench-memcpy-ifunc.c: New file.
15022 * benchtests/bench-memcpy.c: New file.
15023 * benchtests/bench-string.h: New file.
15025 2013-06-11 Andreas Schwab <schwab@suse.de>
15028 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15029 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15030 values in the triple.
15031 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15032 terminator in the group key.
15034 2013-06-11 Andreas Jaeger <aj@suse.de>
15036 * po/zh_TW.po: Update Chinese (traditional) translation from
15037 translation project.
15039 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15041 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15042 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15043 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15044 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15045 (clock_getcpuclockid): Likewise.
15046 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15047 Add weak_alias and libc_hidden_def.
15048 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15049 * rt/clock_gettime.c (clock_gettime): Rename to
15050 __clock_gettime. Add weak_alias and libc_hidden_def.
15051 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15052 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15053 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15054 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15055 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15057 * rt/clock_settime.c (clock_settime): Rename to
15058 __clock_settime. Add weak_alias and libc_hidden_def.
15059 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15061 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15063 * mach/err_boot.sub: Remove trailing whitespace.
15064 * mach/err_ipc.sub: Likewise.
15065 * mach/err_mach.sub: Likewise.
15067 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15068 (ROUNDING_TESTS_double): Likewise.
15069 (ROUNDING_TESTS_long_double): Likewise.
15070 (ROUNDING_TESTS): Likewise.
15071 * math/libm-test.inc: Include <math-tests.h>.
15072 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15073 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15074 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15075 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15077 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15079 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15082 2013-06-08 Joseph Myers <joseph@codesourcery.com>
15084 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15085 otherwise empty TRANS lines.
15086 * sysdeps/gnu/errlist.c: Regenerated.
15088 * catgets/gencat.c (error_print): Use (void) in function
15090 * crypt/crypt_util.c (__init_des): Likewise.
15091 * crypt/speeds.c (Stop): Likewise.
15093 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15094 * inet/ruserpass.c (token): Likewise.
15095 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15096 * intl/localealias.c (extend_alias_table): Likewise.
15097 * intl/plural-exp.c (init_germanic_plural): Likewise.
15098 * libio/fcloseall.c (__fcloseall): Likewise.
15099 * libio/genops.c (_IO_flush_all): Likewise.
15100 (_IO_flush_all_linebuffered): Likewise.
15101 (_IO_cleanup): Likewise.
15102 (_IO_iter_begin): Likewise.
15103 (_IO_iter_end): Likewise.
15104 (_IO_list_lock): Likewise.
15105 (_IO_list_unlock): Likewise.
15106 (_IO_list_resetlock): Likewise.
15107 * libio/getchar.c (getchar): Likewise.
15108 * libio/getchar_u.c (getchar_unlocked): Likewise.
15109 * libio/getwchar.c (getwchar): Likewise.
15110 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15111 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15112 * login/getpt.c (__getpt): Likewise.
15113 * login/tst-utmp.c (main): Likewise.
15114 * malloc/hooks.c (__malloc_check_init): Likewise.
15115 * malloc/malloc.c (__malloc_stats): Likewise.
15116 * malloc/mtrace.c (tr_break): Likewise.
15117 (mtrace): Likewise.
15118 (muntrace): Likewise.
15119 * misc/fstab.c (endfsent): Likewise.
15120 * misc/getclktck.c (__getclktck): Likewise.
15121 * misc/getdtsz.c (__getdtablesize): Likewise.
15122 * misc/gethostid.c (gethostid): Likewise.
15123 * misc/getpagesize.c (__getpagesize): Likewise.
15124 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15125 (__get_nprocs): Likewise.
15126 (__get_phys_pages): Likewise.
15127 (__get_avphys_pages): Likewise.
15128 * misc/getttyent.c (getttyent): Likewise.
15129 (setttyent): Likewise.
15130 (endttyent): Likewise.
15131 * misc/getusershell.c (getusershell): Likewise.
15132 (endusershell): Likewise.
15133 (setusershell): Likewise.
15134 (initshells): Likewise.
15135 * misc/hsearch.c (__hdestroy): Likewise.
15136 * misc/sync.c (sync): Likewise.
15137 * misc/syslog.c (closelog_internal): Likewise.
15138 (closelog): Likewise.
15139 * misc/ttyslot.c (ttyslot): Likewise.
15140 * misc/vhangup.c (vhangup): Likewise.
15141 * posix/fork.c (__fork): Likewise.
15142 * posix/getegid.c (__getegid): Likewise.
15143 * posix/geteuid.c (__geteuid): Likewise.
15144 * posix/getgid.c (__getgid): Likewise.
15145 * posix/getpid.c (__getpid): Likewise.
15146 * posix/getppid.c (__getppid): Likewise.
15147 * posix/getuid.c (__getuid): Likewise.
15148 * posix/pause.c (pause): Likewise.
15149 * posix/setpgrp.c (setpgrp): Likewise.
15150 * posix/setsid.c (__setsid): Likewise.
15151 * posix/test-vfork.c (noop): Likewise.
15152 * resolv/gethnamaddr.c (_endhtent): Likewise.
15153 (_gethtent): Likewise.
15154 (ht_endhostent): Likewise.
15155 (gethostent): Likewise.
15156 (dns_service): Likewise.
15157 * stdlib/drand48.c (drand48): Likewise.
15158 * stdlib/lrand48.c (lrand48): Likewise.
15159 * stdlib/mrand48.c (mrand48): Likewise.
15160 * stdlib/rand.c (rand): Likewise.
15161 * stdlib/random.c (__random): Likewise.
15162 * stdlib/setenv.c (clearenv): Likewise.
15163 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15164 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15165 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15166 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15167 (__get_nprocs): Likewise.
15168 (__get_phys_pages): Likewise.
15169 (__get_avphys_pages): Likewise.
15170 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15171 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15172 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15173 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15174 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15175 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15176 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15177 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15178 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15179 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15180 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15181 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15182 * sysdeps/posix/clock.c (clock): Likewise.
15183 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15184 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15185 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15186 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15187 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15188 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15189 (__get_nprocs_conf): Likewise.
15190 (__get_phys_pages): Likewise.
15191 (__get_avphys_pages): Likewise.
15192 * time/clock.c (clock): Likewise.
15193 * time/tzset.c (__tzname_max): Likewise.
15195 2013-06-07 Joseph Myers <joseph@codesourcery.com>
15197 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15198 (__bswap_32): Do not use "register".
15199 * crypt/crypt.c (_ufc_doit_r): Likewise.
15200 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15201 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15202 * gmon/gmon.c (__monstartup): Likewise.
15203 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15204 * hurd/hurdmalloc.c (more_memory): Likewise.
15205 (malloc): Likewise.
15207 (realloc): Likewise.
15208 (malloc_fork_prepare): Likewise.
15209 (malloc_fork_parent): Likewise.
15210 (malloc_fork_child): Likewise.
15211 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15212 (_svcauth_des): Likewise.
15213 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15214 * inet/inet_net.c (inet_network): Likewise.
15215 * inet/inet_netof.c (inet_netof): Likewise.
15216 * inet/rcmd.c (__validuser2_sa): Likewise.
15217 * io/fts.c (fts_open): Likewise.
15218 (fts_load): Likewise.
15219 (fts_close): Likewise.
15220 (fts_read): Likewise.
15221 (fts_children): Likewise.
15222 (fts_build): Likewise.
15223 (fts_stat): Likewise.
15224 (fts_sort): Likewise.
15225 (fts_alloc): Likewise.
15226 (fts_lfree): Likewise.
15227 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15228 (_IO_file_xsgetn): Likewise.
15229 (_IO_file_xsgetn_mmap): Likewise.
15230 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15231 (_IO_cookie_write): Likewise.
15232 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15233 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15234 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15235 * malloc/obstack.c (_obstack_begin): Likewise.
15236 (_obstack_begin_1): Likewise.
15237 (_obstack_newchunk): Likewise.
15238 (_obstack_allocated_p): Likewise.
15239 (obstack_free): Likewise.
15240 (_obstack_memory_used): Likewise.
15241 * misc/getttyent.c (getttynam): Likewise.
15242 (getttyent): Likewise.
15245 * misc/getusershell.c (initshells): Likewise.
15246 * misc/syslog.c (__vsyslog_chk): Likewise.
15247 * misc/ttyslot.c (ttyslot): Likewise.
15248 * nis/nis_hash.c (__nis_hash): Likewise.
15249 * posix/fnmatch_loop.c (FCT): Likewise.
15250 * posix/getconf.c (print_all): Likewise.
15252 * posix/getopt.c (exchange): Likewise.
15253 * posix/glob.c (globfree): Likewise.
15254 (prefix_array): Likewise.
15255 (__glob_pattern_type): Likewise.
15256 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15257 (NS_GET32): Likewise.
15258 (NS_PUT16): Likewise.
15259 (NS_PUT32): Likewise.
15260 * resolv/gethnamaddr.c (getanswer): Likewise.
15261 (gethostbyname2): Likewise.
15262 (gethostbyaddr): Likewise.
15263 (_gethtent): Likewise.
15264 (_gethtbyname2): Likewise.
15265 (_gethtbyaddr): Likewise.
15266 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15267 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15268 * resolv/res_init.c (__res_vinit): Likewise.
15269 (net_mask): Likewise.
15270 * resolv/res_mkquery.c (outchar): Likewise.
15272 * stdio-common/printf_fp.c (outchar): Likewise.
15274 * stdio-common/printf_fphex.c (outchar): Likewise.
15276 * stdio-common/printf_size.c (outchar): Likewise.
15278 * stdio-common/test_rdwr.c (main): Likewise.
15279 * stdio-common/tfformat.c (matches): Likewise.
15280 * stdio-common/vfprintf.c (outchar): Likewise.
15281 (printf_unknown): Likewise.
15282 (buffered_vfprintf): Likewise.
15283 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15284 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15285 (ReadFile): Likewise.
15286 * stdlib/qsort.c (SWAP): Likewise.
15287 (_quicksort): Likewise.
15288 * stdlib/setenv.c (__add_to_environ): Likewise.
15289 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15290 * stdlib/strtol_l.c (__strtol_l): Likewise.
15291 * stdlib/tst-strtod.c (main): Likewise.
15292 * stdlib/tst-strtol.c (main): Likewise.
15293 * stdlib/tst-strtoll.c (main): Likewise.
15294 * string/bits/string2.h (__strcmp_cc): Likewise.
15295 (__strcmp_cg): Likewise.
15296 (__strcspn_c1): Likewise.
15297 (__strcspn_c2): Likewise.
15298 (__strcspn_c3): Likewise.
15299 (__strspn_c1): Likewise.
15300 (__strspn_c2): Likewise.
15301 (__strspn_c3): Likewise.
15302 (__strsep_1c): Likewise.
15303 (__strsep_2c): Likewise.
15304 (__strsep_3c): Likewise.
15305 * string/memccpy.c (__memccpy): Likewise.
15306 * string/stpcpy.c (__stpcpy): Likewise.
15307 * string/strcmp.c (strcmp): Likewise.
15308 * string/strrchr.c (strrchr): Likewise.
15309 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15311 * sysdeps/mach/hurd/getcwd.c
15312 (_hurd_canonicalize_directory_name_internal): Likewise.
15313 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15314 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15315 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15316 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15317 Likewise, in both definitions.
15318 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15320 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15321 64] (__bswap_64): Likewise.
15322 * time/test_time.c (main): Likewise.
15323 * time/tzfile.c (__tzfile_read): Likewise.
15324 (__tzfile_compute): Likewise.
15325 * time/tzset.c (__tzset_parse_tz): Likewise.
15326 (tzset_internal): Likewise.
15327 (compute_change): Likewise.
15328 * wcsmbs/wcscat.c (__wcscat): Likewise.
15329 * wcsmbs/wcschr.c (wcschr): Likewise.
15330 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15331 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15332 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15333 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15334 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15335 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15336 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15337 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15338 * wcsmbs/wmemset.c (wmemset): Likewise.
15340 2013-06-06 Joseph Myers <joseph@codesourcery.com>
15342 * scripts/config.guess: Update to version 2013-05-16.
15343 * scripts/config.sub: Update to version 2013-04-24.
15344 * scripts/install-sh: Update to version 2011-11-20.07.
15345 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15346 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15348 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
15350 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15351 * elf/sln.c: Likewise.
15352 * hurd/hurd/ioctl.h: Likewise.
15353 * hurd/hurdmalloc.c: Likewise.
15354 * hurd/xattr.c: Likewise.
15355 * include/shlib-compat.h: Likewise.
15356 * inet/ruserpass.c: Likewise.
15357 * libio/iofgets_u.c: Likewise.
15358 * libio/iofgetws_u.c: Likewise.
15359 * locale/programs/ld-identification.c: Likewise.
15360 * locale/programs/ld-time.c: Likewise.
15361 * mach/msg-destroy.c: Likewise.
15362 * nss/nss_files/files-netgrp.c: Likewise.
15363 * resolv/res_data.c: Likewise.
15364 * soft-fp/op-1.h: Likewise.
15365 * soft-fp/op-2.h: Likewise.
15366 * soft-fp/op-4.h: Likewise.
15367 * soft-fp/op-common.h: Likewise.
15368 * stdio-common/printf_fphex.c: Likewise.
15369 * stdlib/strtod_l.c: Likewise.
15370 * sunrpc/rpc/clnt.h: Likewise.
15371 * sysdeps/generic/framestate.c: Likewise.
15372 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15373 * sysdeps/i386/bsd-setjmp.S: Likewise.
15374 * sysdeps/i386/__longjmp.S: Likewise.
15375 * sysdeps/i386/setjmp.S: Likewise.
15376 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15377 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15378 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15379 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15380 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15381 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15382 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15383 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15384 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15385 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15386 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15387 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15388 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15389 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15390 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15391 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15392 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15393 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15394 * sysdeps/ieee754/support.c: Likewise.
15395 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15396 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15397 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15398 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15399 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15400 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15401 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15402 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15403 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15404 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15405 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15406 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15407 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15408 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15409 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15410 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15411 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15414 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
15416 * posix/transbug.c: Remove executable mode.
15418 2013-06-05 Joseph Myers <joseph@codesourcery.com>
15420 * crypt/speeds.c: Remove trailing whitespace.
15421 * dlfcn/default.c: Likewise.
15422 * elf/ifuncdep2.c: Likewise.
15423 * elf/ifuncmain1.c: Likewise.
15424 * elf/ifuncmain1vis.c: Likewise.
15425 * elf/testobj.h: Likewise.
15426 * elf/tst-stackguard1.c: Likewise.
15427 * gmon/sys/gmon.h: Likewise.
15428 * hurd/hurdmsg.c: Likewise.
15429 * hurd/new-fd.c: Likewise.
15430 * hurd/ports-get.c: Likewise.
15431 * iconvdata/ibm1008_420.c: Likewise.
15432 * inet/tst-getni1.c: Likewise.
15433 * inet/tst-getni2.c: Likewise.
15434 * libio/ioungetc.c: Likewise.
15435 * libio/wfiledoalloc.c: Likewise.
15436 * manual/libm-err-tab.pl: Likewise.
15437 * math/w_dremf.c: Likewise.
15438 * misc/ftruncate.c: Likewise.
15439 * posix/bug-glob2.c: Likewise.
15440 * posix/tst-pcre.c: Likewise.
15441 * posix/wait4.c: Likewise.
15442 * resolv/README: Likewise.
15443 * resolv/res_debug.h: Likewise.
15444 * resolv/tst-inet_ntop.c: Likewise.
15445 * setjmp/bug269-setjmp.c: Likewise.
15446 * soft-fp/extended.h: Likewise.
15447 * soft-fp/op-1.h: Likewise.
15448 * soft-fp/op-2.h: Likewise.
15449 * soft-fp/op-4.h: Likewise.
15450 * soft-fp/op-8.h: Likewise.
15451 * soft-fp/testit.c: Likewise.
15452 * stdio-common/bug16.c: Likewise.
15453 * stdlib/random.c: Likewise.
15454 * sunrpc/rpcsvc/rquota.x: Likewise.
15455 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15456 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15457 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15458 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15459 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15460 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15461 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15462 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15463 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15464 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15465 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15466 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15467 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15468 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15469 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15470 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15471 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15472 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15473 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15474 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15475 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15476 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15477 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15478 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15479 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15480 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15481 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15482 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15483 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15484 * sysdeps/ieee754/s_lib_version.c: Likewise.
15485 * sysdeps/mach/hurd/check_fds.c: Likewise.
15486 * sysdeps/mach/hurd/getsockname.c: Likewise.
15487 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15488 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15489 * sysdeps/powerpc/bits/link.h: Likewise.
15490 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15491 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15492 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15493 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15494 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15495 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15496 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15497 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15498 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15499 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15500 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15501 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15502 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15503 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15504 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15505 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15506 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15507 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15508 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15509 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15510 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15511 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15512 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15513 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15514 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15515 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15516 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15517 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15518 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15519 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15520 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15521 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15522 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15523 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15524 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15525 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15526 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15527 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15528 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15529 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15530 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15531 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15532 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15533 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15534 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15535 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15536 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15537 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15538 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15539 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15540 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15541 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15542 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15543 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15544 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15545 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15546 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15547 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15548 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15549 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15550 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15551 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15552 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15553 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15554 * sysdeps/powerpc/sysdep.h: Likewise.
15555 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15556 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15557 * sysdeps/sh/dl-trampoline.S: Likewise.
15558 * sysdeps/sh/memset.S: Likewise.
15559 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15560 * sysdeps/sh/strlen.S: Likewise.
15561 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15562 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15563 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15564 * sysdeps/sparc/sparc32/rem.S: Likewise.
15565 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15566 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15567 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15568 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15569 * sysdeps/sparc/sparc32/urem.S: Likewise.
15570 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15571 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15572 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15573 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15574 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15575 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15576 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15577 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15578 * sysdeps/unix/bsd/times.c: Likewise.
15579 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15580 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15584 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15585 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15586 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15587 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15588 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15589 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15590 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15591 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15592 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15593 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15594 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15595 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15596 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15597 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15598 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15599 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15600 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15601 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15602 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15603 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15604 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15605 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15606 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15607 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15608 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15609 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15610 * sysdeps/x86_64/strcspn.S: Likewise.
15612 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15614 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15615 generated file. Regenerate properly from gen-translit.pl.
15616 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15617 locale/C-translit.h.
15619 2013-06-05 Andreas Schwab <schwab@suse.de>
15622 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15623 week as 6 instead of -1.
15624 * time/tst-strptime.c (day_tests): Add test case.
15626 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15628 * sysdeps/generic/math_private.h
15629 (libc_feholdexcept_setround_53bit): Replace with
15630 libc_feholdsetround_53bit.
15631 (libc_feupdateenv_53bit): Replace with
15632 libc_feresetround_53bit.
15633 (SET_RESTORE_ROUND_53BIT): Adjust.
15635 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15637 * string/test-strchrnul.c: Add copyright header.
15639 * posix/tst-getaddrinfo4.c: Increase test timeout.
15641 2013-06-03 Carlos O'Donell <carlos@redhat.com>
15644 * math/libm-test.inc (MAX_EXP): Remove
15646 (ulp): Use MIN_EXP - MANT_DIG.
15647 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15649 2013-05-31 Carlos O'Donell <carlos@redhat.com>
15651 * po/be.po: Revert last change.
15652 * po/zh_CN.po: Likewise.
15653 * po/header.pot: Likewise.
15655 2013-05-31 Joseph Myers <joseph@codesourcery.com>
15657 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15658 link-libc-deps to empty as target-specific variable.
15659 * Makerules (link-libc-args): New variable.
15660 (libc-for-link): Likewise.
15661 (link-libc-deps): Likewise.
15662 (lib%.so): Depend on $(link-libc-deps). Link with
15664 (build-module): Link with $(link-libc-args).
15665 (build-module-asneeded): Likewise.
15666 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15668 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15669 target-specific variable.
15670 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15671 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15672 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15674 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15676 ($(objpfx)libpcprofile.so): Likewise.
15677 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15679 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15680 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15681 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15683 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15684 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15685 * login/Makefile ($(objpfx)libutil.so): Likewise.
15686 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15687 * math/Makefile ($(objpfx)libm.so): Likewise.
15688 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15689 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15690 variable instead of depending directly on libc.
15691 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15692 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15694 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15696 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15697 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15698 ($(objpfx)libanl.so): Likewise.
15699 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15701 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15703 * sysdeps/i386/fpu/Makefile: Remove file.
15704 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15705 ($(objpfx)libm.so): Remove dependency on ld.so.
15707 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
15710 * nis/yp_xdr.c (XDRMAXNAME): Define.
15711 (XDRMAXRECORD): Define.
15712 (xdr_domainname): Use XDRMAXNAME.
15713 (xdr_mapname): Likewise.
15714 (xdr_peername): Likewise.
15715 (xdr_keydat): Use XDRMAXRECORD.
15716 (xdr_valdat): Likewise.
15718 2013-05-30 Jeff Law <law@redhat.com>
15721 * manual/errno.texi (ESTALE): Update to account for more than
15722 just NFS file systems.
15723 * sysdeps/gnu/errlist.c: Regenerated.
15725 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15728 * elf/Makefile (tests): Add tst-null-argv.
15729 (modules-names): Add tst-null-argv-lib.
15730 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15731 (tst-null-argv-ENV): Set environment for tst-null-argv.
15732 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15733 (RTLD_PROGNAME): New macro.
15734 * elf/tst-null-argv.c: New test case.
15735 * elf/tst-null-argv-lib.c: Library for test case.
15736 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15737 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15738 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15739 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15740 * elf/dl-init.c (call_init): Likewise.
15741 (_dl_init): Likewise.
15742 * elf/dl-load.c (print_search_path): Likewise.
15743 (_dl_map_object): Likewise.
15744 * elf/dl-lookup.c (do_lookup_x): Likewise.
15745 (add_dependency): Likewise.
15746 (_dl_lookup_symbol_x): Likewise.
15747 (_dl_debug_bindings): Likewise.
15748 * elf/dl-open.c (_dl_show_scope): Likewise.
15749 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15750 * elf/dl-version.c (match_symbol): Likewise.
15751 (_dl_check_map_versions): Likewise.
15752 * elf/rtld.c (dl_main): Likewise.
15753 (print_unresolved): Use RTLD_PROGNAME.
15754 (print_missing_version): Likewise.
15755 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15756 (elf_machine_rela): Likewise.
15757 * sysdeps/powerpc/powerpc32/dl-machine.c
15758 (__process_machine_rela): Likewise.
15759 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15761 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15763 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15765 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15766 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15768 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15770 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15772 2013-05-28 Carlos O'Donell <carlos@redhat.com>
15774 * po/be.po: Add descriptive title.
15775 * po/zh_CN.po: Likewise.
15776 * po/header.pot: Likewise.
15778 2013-05-28 Mike Frysinger <vapier@gentoo.org>
15780 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15782 (enlarge_archive): Likewise.
15784 2013-05-28 Ben North <ben@redfrontdoor.org>
15786 * manual/arith.texi (frexp): It is the magnitude of the return
15787 value which lies in [0.5, 1), not the return value itself.
15789 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15793 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15795 * stdio-common/bug26.c (main): Correct fscanf template.
15797 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15798 declare _dl_skip_args.
15800 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15803 * manual/platform.texi: Add missing @end deftypefun.
15805 2013-05-24 Joseph Myers <joseph@codesourcery.com>
15808 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15809 bit of mantissa of 2^16382.
15810 * math/libm-test.inc (hypot_test_data): Add more tests.
15812 * math/libm-test.inc: Add drem and pow10 to list of tested
15814 (pow10_test): New function.
15815 (drem_test): Likewise.
15816 (drem_test_tonearest): Likewise.
15817 (drem_test_towardzero): Likewise.
15818 (drem_test_downward): Likewise.
15819 (drem_test_upward): Likewise.
15820 (main): Call the new functions.
15822 * math/libm-test.inc (finite_test_data): Remove.
15823 (finite_test): Run tests from isfinite_test_data.
15824 (gamma_test_data): Remove.
15825 (gamma_test): Run tests from lgamma_test_data.
15826 * sysdeps/i386/fpu/libm-test-ulps: Update.
15827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15829 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15831 * manual/platform.texi: Add PowerPC PPR function set documentation.
15832 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15835 2013-05-24 Carlos O'Donell <carlos@redhat.com>
15837 * math/libm-test.inc (MAX_EXP): Define.
15839 (ulp): New function.
15840 (check_float_internal): Use ULPDIFF.
15841 (cpow_test): Disable failing test.
15842 (check_ulp): Test ulp() implemetnation.
15843 (main): Call check_ulp before starting tests.
15845 2013-05-24 Joseph Myers <joseph@codesourcery.com>
15847 * math/gen-libm-test.pl (generate_testfile): Do not handle
15848 START_DATA and END_DATA.
15849 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15851 (acos_tonearest_test_data): Likewise.
15852 (acos_towardzero_test_data): Likewise.
15853 (acos_downward_test_data): Likewise.
15854 (acos_upward_test_data): Likewise.
15855 (acosh_test_data): Likewise.
15856 (asin_test_data): Likewise.
15857 (asin_tonearest_test_data): Likewise.
15858 (asin_towardzero_test_data): Likewise.
15859 (asin_downward_test_data): Likewise.
15860 (asin_upward_test_data): Likewise.
15861 (asinh_test_data): Likewise.
15862 (atan_test_data): Likewise.
15863 (atanh_test_data): Likewise.
15864 (atan2_test_data): Likewise.
15865 (cabs_test_data): Likewise.
15866 (cacos_test_data): Likewise.
15867 (cacosh_test_data): Likewise.
15868 (carg_test_data): Likewise.
15869 (casin_test_data): Likewise.
15870 (casinh_test_data): Likewise.
15871 (catan_test_data): Likewise.
15872 (catanh_test_data): Likewise.
15873 (cbrt_test_data): Likewise.
15874 (ccos_test_data): Likewise.
15875 (ccosh_test_data): Likewise.
15876 (ceil_test_data): Likewise.
15877 (cexp_test_data): Likewise.
15878 (cimag_test_data): Likewise.
15879 (clog_test_data): Likewise.
15880 (clog10_test_data): Likewise.
15881 (conj_test_data): Likewise.
15882 (copysign_test_data): Likewise.
15883 (cos_test_data): Likewise.
15884 (cos_tonearest_test_data): Likewise.
15885 (cos_towardzero_test_data): Likewise.
15886 (cos_downward_test_data): Likewise.
15887 (cos_upward_test_data): Likewise.
15888 (cosh_test_data): Likewise.
15889 (cosh_tonearest_test_data): Likewise.
15890 (cosh_towardzero_test_data): Likewise.
15891 (cosh_downward_test_data): Likewise.
15892 (cosh_upward_test_data): Likewise.
15893 (cpow_test_data): Likewise.
15894 (cproj_test_data): Likewise.
15895 (creal_test_data): Likewise.
15896 (csin_test_data): Likewise.
15897 (csinh_test_data): Likewise.
15898 (csqrt_test_data): Likewise.
15899 (ctan_test_data): Likewise.
15900 (ctan_tonearest_test_data): Likewise.
15901 (ctan_towardzero_test_data): Likewise.
15902 (ctan_downward_test_data): Likewise.
15903 (ctan_upward_test_data): Likewise.
15904 (ctanh_test_data): Likewise.
15905 (ctanh_tonearest_test_data): Likewise.
15906 (ctanh_towardzero_test_data): Likewise.
15907 (ctanh_downward_test_data): Likewise.
15908 (ctanh_upward_test_data): Likewise.
15909 (erf_test_data): Likewise.
15910 (erfc_test_data): Likewise.
15911 (exp_test_data): Likewise.
15912 (exp_tonearest_test_data): Likewise.
15913 (exp_towardzero_test_data): Likewise.
15914 (exp_downward_test_data): Likewise.
15915 (exp_upward_test_data): Likewise.
15916 (exp10_test_data): Likewise.
15917 (exp2_test_data): Likewise.
15918 (expm1_test_data): Likewise.
15919 (fabs_test_data): Likewise.
15920 (fdim_test_data): Likewise.
15921 (finite_test_data): Likewise.
15922 (floor_test_data): Likewise.
15923 (fma_test_data): Likewise.
15924 (fma_towardzero_test_data): Likewise.
15925 (fma_downward_test_data): Likewise.
15926 (fma_upward_test_data): Likewise.
15927 (fmax_test_data): Likewise.
15928 (fmin_test_data): Likewise.
15929 (fmod_test_data): Likewise.
15930 (fpclassify_test_data): Likewise.
15931 (frexp_test_data): Likewise.
15932 (gamma_test_data): Likewise.
15933 (hypot_test_data): Likewise.
15934 (ilogb_test_data): Likewise.
15935 (isfinite_test_data): Likewise.
15936 (isgreater_test_data): Likewise.
15937 (isgreaterequal_test_data): Likewise.
15938 (isinf_test_data): Likewise.
15939 (isless_test_data): Likewise.
15940 (islessequal_test_data): Likewise.
15941 (islessgreater_test_data): Likewise.
15942 (isnan_test_data): Likewise.
15943 (isnormal_test_data): Likewise.
15944 (issignaling_test_data): Likewise.
15945 (isunordered_test_data): Likewise.
15946 (j0_test_data): Likewise.
15947 (j1_test_data): Likewise.
15948 (jn_test_data): Likewise.
15949 (ldexp_test_data): Likewise.
15950 (lgamma_test_data): Likewise.
15951 (lrint_test_data): Likewise.
15952 (lrint_tonearest_test_data): Likewise.
15953 (lrint_towardzero_test_data): Likewise.
15954 (lrint_downward_test_data): Likewise.
15955 (lrint_upward_test_data): Likewise.
15956 (llrint_test_data): Likewise.
15957 (llrint_tonearest_test_data): Likewise.
15958 (llrint_towardzero_test_data): Likewise.
15959 (llrint_downward_test_data): Likewise.
15960 (llrint_upward_test_data): Likewise.
15961 (log_test_data): Likewise.
15962 (log10_test_data): Likewise.
15963 (log1p_test_data): Likewise.
15964 (log2_test_data): Likewise.
15965 (logb_test_data): Likewise.
15966 (logb_downward_test_data): Likewise.
15967 (lround_test_data): Likewise.
15968 (llround_test_data): Likewise.
15969 (modf_test_data): Likewise.
15970 (nearbyint_test_data): Likewise.
15971 (nextafter_test_data): Likewise.
15972 (nexttoward_test_data): Likewise.
15973 (pow_test_data): Likewise.
15974 (pow_tonearest_test_data): Likewise.
15975 (pow_towardzero_test_data): Likewise.
15976 (pow_downward_test_data): Likewise.
15977 (pow_upward_test_data): Likewise.
15978 (remainder_test_data): Likewise.
15979 (remainder_tonearest_test_data): Likewise.
15980 (remainder_towardzero_test_data): Likewise.
15981 (remainder_downward_test_data): Likewise.
15982 (remainder_upward_test_data): Likewise.
15983 (remquo_test_data): Likewise.
15984 (rint_test_data): Likewise.
15985 (rint_tonearest_test_data): Likewise.
15986 (rint_towardzero_test_data): Likewise.
15987 (rint_downward_test_data): Likewise.
15988 (rint_upward_test_data): Likewise.
15989 (round_test_data): Likewise.
15990 (scalb_test_data): Likewise.
15991 (scalbn_test_data): Likewise.
15992 (scalbln_test_data): Likewise.
15993 (signbit_test_data): Likewise.
15994 (sin_test_data): Likewise.
15995 (sin_tonearest_test_data): Likewise.
15996 (sin_towardzero_test_data): Likewise.
15997 (sin_downward_test_data): Likewise.
15998 (sin_upward_test_data): Likewise.
15999 (sincos_test_data): Likewise.
16000 (sinh_test_data): Likewise.
16001 (sinh_tonearest_test_data): Likewise.
16002 (sinh_towardzero_test_data): Likewise.
16003 (sinh_downward_test_data): Likewise.
16004 (sinh_upward_test_data): Likewise.
16005 (sqrt_test_data): Likewise.
16006 (tan_test_data): Likewise.
16007 (tan_tonearest_test_data): Likewise.
16008 (tan_towardzero_test_data): Likewise.
16009 (tan_downward_test_data): Likewise.
16010 (tan_upward_test_data): Likewise.
16011 (tanh_test_data): Likewise.
16012 (tgamma_test_data): Likewise.
16013 (trunc_test_data): Likewise.
16014 (y0_test_data): Likewise.
16015 (y1_test_data): Likewise.
16016 (yn_test_data): Likewise.
16017 (significand_test_data): Likewise.
16019 * math/gen-libm-test.pl (@functions): Remove variable.
16020 (generate_testfile): Don't handle START and END lines.
16021 * math/libm-test.inc (START): New macro.
16023 (END_COMPLEX): Likewise.
16024 (acos_test): Use END macro without arguments.
16025 (acos_test_tonearest): Likewise.
16026 (acos_test_towardzero): Likewise.
16027 (acos_test_downward): Likewise.
16028 (acos_test_upward): Likewise.
16029 (acosh_test): Likewise.
16030 (asin_test): Likewise.
16031 (asin_test_tonearest): Likewise.
16032 (asin_test_towardzero): Likewise.
16033 (asin_test_downward): Likewise.
16034 (asin_test_upward): Likewise.
16035 (asinh_test): Likewise.
16036 (atan_test): Likewise.
16037 (atanh_test): Likewise.
16038 (atan2_test): Likewise.
16039 (cabs_test): Likewise.
16040 (cacos_test): Use END_COMPLEX macro without arguments.
16041 (cacosh_test): Likewise.
16042 (carg_test): Use END macro without arguments.
16043 (casin_test): Use END_COMPLEX macro without arguments.
16044 (casinh_test): Likewise.
16045 (catan_test): Likewise.
16046 (catanh_test): Likewise.
16047 (cbrt_test): Use END macro without arguments.
16048 (ccos_test): Use END_COMPLEX macro without arguments.
16049 (ccosh_test): Likewise.
16050 (ceil_test): Use END macro without arguments.
16051 (cexp_test): Use END_COMPLEX macro without arguments.
16052 (cimag_test): Use END macro without arguments.
16053 (clog_test): Use END_COMPLEX macro without arguments.
16054 (clog10_test): Likewise.
16055 (conj_test): Likewise.
16056 (copysign_test): Use END macro without arguments.
16057 (cos_test): Likewise.
16058 (cos_test_tonearest): Likewise.
16059 (cos_test_towardzero): Likewise.
16060 (cos_test_downward): Likewise.
16061 (cos_test_upward): Likewise.
16062 (cosh_test): Likewise.
16063 (cosh_test_tonearest): Likewise.
16064 (cosh_test_towardzero): Likewise.
16065 (cosh_test_downward): Likewise.
16066 (cosh_test_upward): Likewise.
16067 (cpow_test): Use END_COMPLEX macro without arguments.
16068 (cproj_test): Likewise.
16069 (creal_test): Use END macro without arguments.
16070 (csin_test): Use END_COMPLEX macro without arguments.
16071 (csinh_test): Likewise.
16072 (csqrt_test): Likewise.
16073 (ctan_test): Likewise.
16074 (ctan_test_tonearest): Likewise.
16075 (ctan_test_towardzero): Likewise.
16076 (ctan_test_downward): Likewise.
16077 (ctan_test_upward): Likewise.
16078 (ctanh_test): Likewise.
16079 (ctanh_test_tonearest): Likewise.
16080 (ctanh_test_towardzero): Likewise.
16081 (ctanh_test_downward): Likewise.
16082 (ctanh_test_upward): Likewise.
16083 (erf_test): Use END macro without arguments.
16084 (erfc_test): Likewise.
16085 (exp_test): Likewise.
16086 (exp_test_tonearest): Likewise.
16087 (exp_test_towardzero): Likewise.
16088 (exp_test_downward): Likewise.
16089 (exp_test_upward): Likewise.
16090 (exp10_test): Likewise.
16091 (exp2_test): Likewise.
16092 (expm1_test): Likewise.
16093 (fabs_test): Likewise.
16094 (fdim_test): Likewise.
16095 (finite_test): Likewise.
16096 (floor_test): Likewise.
16097 (fma_test): Likewise.
16098 (fma_test_towardzero): Likewise.
16099 (fma_test_downward): Likewise.
16100 (fma_test_upward): Likewise.
16101 (fmax_test): Likewise.
16102 (fmin_test): Likewise.
16103 (fmod_test): Likewise.
16104 (fpclassify_test): Likewise.
16105 (frexp_test): Likewise.
16106 (gamma_test): Likewise.
16107 (hypot_test): Likewise.
16108 (ilogb_test): Likewise.
16109 (isfinite_test): Likewise.
16110 (isgreater_test): Likewise.
16111 (isgreaterequal_test): Likewise.
16112 (isinf_test): Likewise.
16113 (isless_test): Likewise.
16114 (islessequal_test): Likewise.
16115 (islessgreater_test): Likewise.
16116 (isnan_test): Likewise.
16117 (isnormal_test): Likewise.
16118 (issignaling_test): Likewise.
16119 (isunordered_test): Likewise.
16120 (j0_test): Likewise.
16121 (j1_test): Likewise.
16122 (jn_test): Likewise.
16123 (ldexp_test): Likewise.
16124 (lgamma_test): Likewise.
16125 (lrint_test): Likewise.
16126 (lrint_test_tonearest): Likewise.
16127 (lrint_test_towardzero): Likewise.
16128 (lrint_test_downward): Likewise.
16129 (lrint_test_upward): Likewise.
16130 (llrint_test): Likewise.
16131 (llrint_test_tonearest): Likewise.
16132 (llrint_test_towardzero): Likewise.
16133 (llrint_test_downward): Likewise.
16134 (llrint_test_upward): Likewise.
16135 (log_test): Likewise.
16136 (log10_test): Likewise.
16137 (log1p_test): Likewise.
16138 (log2_test): Likewise.
16139 (logb_test): Likewise.
16140 (logb_test_downward): Likewise.
16141 (lround_test): Likewise.
16142 (llround_test): Likewise.
16143 (modf_test): Likewise.
16144 (nearbyint_test): Likewise.
16145 (nextafter_test): Likewise.
16146 (nexttoward_test): Likewise.
16147 (pow_test): Likewise.
16148 (pow_test_tonearest): Likewise.
16149 (pow_test_towardzero): Likewise.
16150 (pow_test_downward): Likewise.
16151 (pow_test_upward): Likewise.
16152 (remainder_test): Likewise.
16153 (remainder_test_tonearest): Likewise.
16154 (remainder_test_towardzero): Likewise.
16155 (remainder_test_downward): Likewise.
16156 (remainder_test_upward): Likewise.
16157 (remquo_test): Likewise.
16158 (rint_test): Likewise.
16159 (rint_test_tonearest): Likewise.
16160 (rint_test_towardzero): Likewise.
16161 (rint_test_downward): Likewise.
16162 (rint_test_upward): Likewise.
16163 (round_test): Likewise.
16164 (scalb_test): Likewise.
16165 (scalbn_test): Likewise.
16166 (scalbln_test): Likewise.
16167 (signbit_test): Likewise.
16168 (sin_test): Likewise.
16169 (sin_test_tonearest): Likewise.
16170 (sin_test_towardzero): Likewise.
16171 (sin_test_downward): Likewise.
16172 (sin_test_upward): Likewise.
16173 (sincos_test): Likewise.
16174 (sinh_test): Likewise.
16175 (sinh_test_tonearest): Likewise.
16176 (sinh_test_towardzero): Likewise.
16177 (sinh_test_downward): Likewise.
16178 (sinh_test_upward): Likewise.
16179 (sqrt_test): Likewise.
16180 (tan_test): Likewise.
16181 (tan_test_tonearest): Likewise.
16182 (tan_test_towardzero): Likewise.
16183 (tan_test_downward): Likewise.
16184 (tan_test_upward): Likewise.
16185 (tanh_test): Likewise.
16186 (tgamma_test): Likewise.
16187 (trunc_test): Likewise.
16188 (y0_test): Likewise.
16189 (y1_test): Likewise.
16190 (yn_test): Likewise.
16191 (significand_test): Likewise.
16193 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
16196 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16198 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16201 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16202 __ppc_mdoio and __ppc_mdoom.
16203 * manual/platform.texi: Document new functions __ppc_yield,
16204 __ppc_mdoio and __ppc_mdoom.
16206 2013-05-22 Carlos O'Donell <carlos@redhat.com>
16208 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16209 (main): Mention "tls" pseudo-hwcap is legacy.
16210 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16212 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16214 * math/gen-libm-test.pl (parse_args): Output only string of
16215 arguments as text for test name, not full call or descriptions of
16216 tests for extra outputs.
16217 (generate_testfile): Do not pass function name to parse_args.
16218 Generate this_func variable from START.
16219 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16221 (struct test_ff_f_data): Likewise.
16222 (test_ff_f_data_nexttoward): Likewise.
16223 (struct test_fi_f_data): Likewise.
16224 (struct test_fl_f_data): Likewise.
16225 (struct test_if_f_data): Likewise.
16226 (struct test_fff_f_data): Likewise.
16227 (struct test_c_f_data): Likewise.
16228 (struct test_f_f1_data): Likewise. Remove field extra_name.
16229 (struct test_fF_f1_data): Likewise.
16230 (struct test_ffI_f1_data): Likewise.
16231 (struct test_c_c_data): Rename test_name field to arg_str.
16232 (struct test_cc_c_data): Likewise.
16233 (struct test_f_i_data): Likewise.
16234 (struct test_ff_i_data): Likewise.
16235 (struct test_f_l_data): Likewise.
16236 (struct test_f_L_data): Likewise.
16237 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16239 (COMMON_TEST_SETUP): New macro.
16240 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16241 (COMMON_TEST_CLEANUP): Likewise.
16242 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16243 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16245 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16246 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16248 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16249 (RUN_TEST_fff_f): Take argument string. Call new setup and
16251 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16252 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16254 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16255 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16257 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16258 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16260 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16261 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16263 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16264 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16266 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16267 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16269 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16270 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16272 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16273 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16275 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16276 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16278 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16279 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16281 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16282 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16284 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16285 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16287 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16288 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16290 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16291 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16293 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16294 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16296 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16298 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16300 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16301 to _sifields.sigfault.
16302 (si_addr_lsb): Define new macro.
16303 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16304 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16305 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16307 2013-05-03 Carlos O'Donell <carlos at redhat.com>
16310 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16312 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16314 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16315 loading the domain.
16317 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16319 * math/gen-libm-test.pl (parse_args): Do not include expected
16320 result in test name.
16321 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16322 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16323 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16324 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16325 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16328 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16330 * benchtests/Makefile: Sort function entries.
16332 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16333 tanh, asinh, acosh, atanh.
16334 * benchtests/acos-inputs: New file.
16335 * benchtests/acosh-inputs: New file.
16336 * benchtests/asin-inputs: New file.
16337 * benchtests/asinh-inputs: New file.
16338 * benchtests/atanh-inputs: New file.
16339 * benchtests/cosh-inputs: New file.
16340 * benchtests/log-inputs: New file.
16341 * benchtests/sinh-inputs: New file.
16342 * benchtests/tanh-inputs: New file.
16344 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16347 * posix/tst-getaddrinfo4.c: New test.
16348 * posix/Makefile (tests): Add it.
16350 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16353 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16354 when no services were used.
16355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16356 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16358 2013-05-21 Andreas Schwab <schwab@suse.de>
16361 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16362 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16364 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16365 redundant variable declarations and reallocation of buffer when
16366 parsing as IPv6 address. Always set NSS status when called from
16367 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16368 buffer too small. Correct computation of needed size.
16369 * nss/Makefile (tests): Add test-digits-dots.
16370 * nss/test-digits-dots.c: New test.
16372 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16374 * benchtests/Makefile: Remove instructions for adding
16376 * benchtests/README: New file to explain how to execute and
16377 enhance the benchmark tests.
16379 2013-05-21 Andreas Schwab <schwab@suse.de>
16382 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16383 * setjmp/tst-sigsetjmp.c: New test.
16385 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16387 * sysdeps/x86_64/memset.S (memset): New implementation.
16388 (__bzero): Likewise.
16389 (__memset_tail): New function.
16391 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16393 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16394 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16395 __memcpy_sse2_unaligned ifunc selection.
16396 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16397 Add memcpy-sse2-unaligned.S.
16398 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16399 Add: __memcpy_sse2_unaligned.
16401 2013-05-19 Joseph Myers <joseph@codesourcery.com>
16404 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16405 math_force_eval before restoring floating-point envrionment.
16406 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16407 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16409 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16411 (__nearbyintl): Use math_force_eval before restoring
16412 floating-point environment.
16413 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16415 * math/gen-libm-test.pl (special_functions): Remove.
16416 (parse_args): Don't handle TEST_extra. Handle functions with no
16418 * math/libm-test.inc (struct test_sincos_data): Replace with
16419 struct test_fFF_11_data.
16420 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16421 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16422 (sincos_test_data): Change element type to struct
16423 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16424 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16425 RUN_TEST_LOOP_sincos.
16426 * math/README.libm-test: Don't mention special handling of
16427 individual functions.
16428 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16429 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16430 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16431 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16432 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16435 * math/gen-libm-test.pl (get_variable): Remove function.
16436 (parse_args): Don't show pointer parameters to call in test
16437 names. Use "extra output N" in test names for extra outputs
16438 rather than naming variables.
16440 2013-05-18 Joseph Myers <joseph@codesourcery.com>
16443 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16444 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16445 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16447 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16449 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16452 * math/gen-libm-test.pl (@tests): Remove variable.
16453 ($count): Likewise.
16454 (new_test): Remove function.
16455 (show_exceptions): New function.
16456 (special_functions): Use show_exceptions instead of new_test.
16457 (parse_args): Likewise.
16458 (generate_testfile): Pass only function name in generated call to
16459 print_max_error or print_complex_max_error.
16460 (get_ulps): Do not handle complex tests specially.
16461 (output_test): Rename to ...
16462 (get_all_ulps_for_test): ... this. Return a string rather than
16463 printing to a file. Require ulps to be present.
16464 (output_ulps): Generate arrays rather than #defines.
16465 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16466 (struct ulp_data): New type.
16467 (BUILD_COMPLEX_ULP): Remove macro.
16468 (compare_ulp_data): New function.
16469 (find_ulps): Likewise.
16470 (find_test_ulps): Likewise.
16471 (find_function_ulps): Likewise.
16472 (find_complex_function_ulps): Likewise.
16473 (print_max_error): Determine allowed ulps using
16474 find_function_ulps.
16475 (print_complex_max_error): Determine allowed ulps using
16476 find_complex_function_ulps.
16477 (check_float_internal): Determine max ulps using find_test_ulps.
16478 (check_float): Do not take max_ulp parameter. Update call to
16479 check_float_internal.
16480 (check_complex): Likewise.
16481 (check_int): Do not take max_ulp parameter.
16482 (check_long): Likewise.
16483 (check_bool): Likewise.
16484 (check_longlong): Likewise.
16485 (struct test_f_f_data): Remove max_ulp field.
16486 (struct test_ff_f_data): Likewise.
16487 (struct test_ff_f_data_nexttoward): Likewise.
16488 (struct test_fi_f_data): Likewise.
16489 (struct test_fl_f_data): Likewise.
16490 (struct test_if_f_data): Likewise.
16491 (struct test_fff_f_data): Likewise.
16492 (struct test_c_f_data): Likewise.
16493 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16494 (struct test_fF_f1_data): Likewise.
16495 (struct test_ffI_f1_data): Likewise.
16496 (struct test_c_c_data): Remove max_ulp field.
16497 (struct test_cc_c_data): Likewise.
16498 (struct test_f_i_data): Likewise.
16499 (struct test_ff_i_data): Likewise.
16500 (struct test_f_l_data): Likewise.
16501 (struct test_f_L_data): Likewise.
16502 (struct test_sincos_data): Likewise.
16503 (RUN_TEST_f_f): Do not handle ulps.
16504 (RUN_TEST_LOOP_f_f): Likewise.
16505 (RUN_TEST_2_f): Likewise.
16506 (RUN_TEST_LOOP_2_f): Likewise.
16507 (RUN_TEST_fff_f): Likewise.
16508 (RUN_TEST_LOOP_fff_f): Likewise.
16509 (RUN_TEST_c_f): Likewise.
16510 (RUN_TEST_LOOP_c_f): Likewise.
16511 (RUN_TEST_f_f1): Likewise.
16512 (RUN_TEST_LOOP_f_f1): Likewise.
16513 (RUN_TEST_fF_f1): Likewise.
16514 (RUN_TEST_LOOP_fF_f1): Likewise.
16515 (RUN_TEST_fI_f1): Likewise.
16516 (RUN_TEST_LOOP_fI_f1): Likewise.
16517 (RUN_TEST_ffI_f1): Likewise.
16518 (RUN_TEST_LOOP_ffI_f1): Likewise.
16519 (RUN_TEST_c_c): Likewise.
16520 (RUN_TEST_LOOP_c_c): Likewise.
16521 (RUN_TEST_cc_c): Likewise.
16522 (RUN_TEST_LOOP_cc_c): Likewise.
16523 (RUN_TEST_f_i): Likewise.
16524 (RUN_TEST_LOOP_f_i): Likewise.
16525 (RUN_TEST_f_i_tg): Likewise.
16526 (RUN_TEST_LOOP_f_i_tg): Likewise.
16527 (RUN_TEST_ff_i_tg): Likewise.
16528 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16529 (RUN_TEST_f_b): Likewise.
16530 (RUN_TEST_LOOP_f_b): Likewise.
16531 (RUN_TEST_f_b_tg): Likewise.
16532 (RUN_TEST_LOOP_f_b_tg): Likewise.
16533 (RUN_TEST_f_l): Likewise.
16534 (RUN_TEST_LOOP_f_l): Likewise.
16535 (RUN_TEST_f_L): Likewise.
16536 (RUN_TEST_LOOP_f_L): Likewise.
16537 (RUN_TEST_sincos): Likewise.
16538 (RUN_TEST_LOOP_sincos): Likewise.
16540 2013-05-17 Joseph Myers <joseph@codesourcery.com>
16544 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16545 main case of finite arguments, set rounding mode to FE_TONEAREST
16546 and discard exceptions.
16547 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16549 (remainder_tonearest_test_data): New variable.
16550 (remainder_test_tonearest): New function.
16551 (remainder_towardzero_test_data): New variable.
16552 (remainder_test_towardzero): New function.
16553 (remainder_downward_test_data): New variable.
16554 (remainder_test_downward): New function.
16555 (remainder_upward_test_data): New variable.
16556 (remainder_test_upward): New function.
16557 (main): Call the new test functions.
16559 * math/libm-test.inc (struct test_f_f1_data): Remove field
16561 (struct test_fF_f1_data): Likewise.
16562 (struct test_ffI_f1_data): Likewise.
16563 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16564 based on value of EXTRA_EXPECTED.
16565 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16566 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16567 EXTRA_VAR based on value of EXTRA_EXPECTED.
16568 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16569 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16570 EXTRA_VAR based on value of EXTRA_EXPECTED.
16571 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16572 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16573 EXTRA_VAR based on value of EXTRA_EXPECTED.
16574 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16575 * math/gen-libm-test.pl (parse_args): Don't output initializers
16576 for extra output values.
16578 * math/libm-test.inc (check_int): Expect result to be exactly
16579 equal to expected value and do not handle ulps.
16580 (check_long): Likewise.
16581 (check_longlong): Likewise.
16583 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16585 (cimag_test_data): Likewise.
16586 (conj_test_data): Likewise.
16587 (copysign_test_data): Likewise.
16588 (cproj_test_data): Likewise.
16589 (creal_test_data): Likewise.
16590 (fabs_test_data): Likewise.
16591 (fdim_test_data): Likewise.
16592 (finite_test_data): Likewise.
16593 (floor_test_data): Likewise.
16594 (fmax_test_data): Likewise.
16595 (fmin_test_data): Likewise.
16596 (fmod_test_data): Likewise.
16597 (fpclassify_test_data): Likewise.
16598 (frexp_test_data): Likewise.
16599 (ilogb_test_data): Likewise.
16600 (isfinite_test_data): Likewise.
16601 (isgreater_test_data): Likewise.
16602 (isgreaterequal_test_data): Likewise.
16603 (isinf_test_data): Likewise.
16604 (isless_test_data): Likewise.
16605 (islessequal_test_data): Likewise.
16606 (islessgreater_test_data): Likewise.
16607 (isnan_test_data): Likewise.
16608 (isnormal_test_data): Likewise.
16609 (issignaling_test_data): Likewise.
16610 (isunordered_test_data): Likewise.
16611 (ldexp_test_data): Likewise.
16612 (lrint_test_data): Likewise.
16613 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16614 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16615 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16616 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16617 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16618 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16620 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16621 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16622 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16623 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16625 (lrint_downward_test_data): Test for "inexact" exceptions.
16626 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16627 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16628 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16630 (lrint_upward_test_data): Test for "inexact" exceptions.
16631 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16633 (llrint_test_data): Test for "inexact" exceptions.
16634 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16635 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16636 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16637 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16638 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16639 (llrint_downward_test_data): Test for "inexact" exceptions.
16640 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16641 (llrint_upward_test_data): Test for "inexact" exceptions.
16642 (logb_test_data): Likewise.
16643 (logb_downward_test_data): Likewise.
16644 (nextafter_test_data): Likewise.
16645 (nexttoward_test_data): Likewise.
16646 (remainder_test_data): Likewise.
16647 (remquo_test_data): Likewise.
16648 (scalbn_test_data): Likewise.
16649 (scalbln_test_data): Likewise.
16650 (signbit_test_data): Likewise.
16651 (sqrt_test_data): Likewise.
16652 (significand_test_data): Likewise.
16654 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16657 * benchtests/bench-modf.c (struct args): Mark arg0 as
16659 * scripts/bench.pl: Mark members of struct args as volatile.
16661 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16664 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16665 negative infinity on POWER6 or lower.
16666 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16668 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16671 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16672 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16673 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16674 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16675 (_FP_SETQNAN): New macro.
16676 (_FP_SETQNAN_SEMIRAW): Likewise.
16677 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16678 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16679 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16680 (FP_EXTEND): Use _FP_FRAC_SNANP.
16681 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16682 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16684 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16686 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16689 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16691 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16692 with DIVIDE_BY_ZERO_EXCEPTION.
16693 (gamma_test_data): Likewise.
16694 (lgamma_test_data): Likewise.
16695 (log_test_data): Likewise.
16696 (log10_test_data): Likewise.
16697 (log2_test_data): Likewise.
16698 (tgamma_test_data): Likewise.
16700 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16701 (acos_test_tonearest): Likewise.
16702 (acos_test_towardzero): Likewise.
16703 (acos_test_downward): Likewise.
16704 (acos_test_upward): Likewise.
16705 (acosh_test): Likewise.
16706 (asin_test): Likewise.
16707 (asin_test_tonearest): Likewise.
16708 (asin_test_towardzero): Likewise.
16709 (asin_test_downward): Likewise.
16710 (asin_test_upward): Likewise.
16711 (asinh_test): Likewise.
16712 (atan_test): Likewise.
16713 (atanh_test): Likewise.
16714 (atan2_test): Likewise.
16715 (cabs_test): Likewise.
16716 (cacos_test): Likewise.
16717 (cacosh_test): Likewise.
16718 (casin_test): Likewise.
16719 (casinh_test): Likewise.
16720 (catan_test): Likewise.
16721 (catanh_test): Likewise.
16722 (cbrt_test): Likewise.
16723 (ccos_test): Likewise.
16724 (ccosh_test): Likewise.
16725 (cexp_test): Likewise.
16726 (clog_test): Likewise.
16727 (clog10_test): Likewise.
16728 (cos_test): Likewise.
16729 (cos_test_tonearest): Likewise.
16730 (cos_test_towardzero): Likewise.
16731 (cos_test_downward): Likewise.
16732 (cos_test_upward): Likewise.
16733 (cosh_test): Likewise.
16734 (cosh_test_tonearest): Likewise.
16735 (cosh_test_towardzero): Likewise.
16736 (cosh_test_downward): Likewise.
16737 (cosh_test_upward): Likewise.
16738 (cpow_test): Likewise.
16739 (csin_test): Likewise.
16740 (csinh_test): Likewise.
16741 (csqrt_test): Likewise.
16742 (ctan_test): Likewise.
16743 (ctan_test_tonearest): Likewise.
16744 (ctan_test_towardzero): Likewise.
16745 (ctan_test_downward): Likewise.
16746 (ctan_test_upward): Likewise.
16747 (ctanh_test): Likewise.
16748 (ctanh_test_tonearest): Likewise.
16749 (ctanh_test_towardzero): Likewise.
16750 (ctanh_test_downward): Likewise.
16751 (ctanh_test_upward): Likewise.
16752 (erf_test): Likewise.
16753 (erfc_test): Likewise.
16754 (exp_test): Likewise.
16755 (exp_test_tonearest): Likewise.
16756 (exp_test_towardzero): Likewise.
16757 (exp_test_downward): Likewise.
16758 (exp_test_upward): Likewise.
16759 (exp10_test): Likewise.
16760 (exp2_test): Likewise.
16761 (expm1_test): Likewise.
16762 (fmod_test): Likewise.
16763 (gamma_test): Likewise.
16764 (hypot_test): Likewise.
16765 (j0_test): Likewise.
16766 (j1_test): Likewise.
16767 (jn_test): Likewise.
16768 (lgamma_test): Likewise.
16769 (log_test): Likewise.
16770 (log10_test): Likewise.
16771 (log1p_test): Likewise.
16772 (log2_test): Likewise.
16773 (logb_test_downward): Likewise.
16774 (pow_test): Likewise.
16775 (pow_test_tonearest): Likewise.
16776 (pow_test_towardzero): Likewise.
16777 (pow_test_downward): Likewise.
16778 (pow_test_upward): Likewise.
16779 (remainder_test): Likewise.
16780 (remquo_test): Likewise.
16781 (sin_test): Likewise.
16782 (sin_test_tonearest): Likewise.
16783 (sin_test_towardzero): Likewise.
16784 (sin_test_downward): Likewise.
16785 (sin_test_upward): Likewise.
16786 (sincos_test): Likewise.
16787 (sinh_test): Likewise.
16788 (sinh_test_tonearest): Likewise.
16789 (sinh_test_towardzero): Likewise.
16790 (sinh_test_downward): Likewise.
16791 (sinh_test_upward): Likewise.
16792 (sqrt_test): Likewise.
16793 (tan_test): Likewise.
16794 (tan_test_tonearest): Likewise.
16795 (tan_test_towardzero): Likewise.
16796 (tan_test_downward): Likewise.
16797 (tan_test_upward): Likewise.
16798 (tanh_test): Likewise.
16799 (tgamma_test): Likewise.
16800 (y0_test): Likewise.
16801 (y1_test): Likewise.
16802 (yn_test): Likewise.
16804 * math/gen-libm-test.pl (adjust_arg): Remove function.
16805 (special_function): Remove argument $in_func. Only handle
16806 generating output for tables of tests, not inside functions.
16807 (parse_args): Likewise.
16808 (generate_testfile): Remove variable $in_func. Update call to
16810 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16811 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16812 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16813 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16814 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16815 (MAX_VALUE_INIT): Rename macro to max_value.
16816 (MIN_VALUE_INIT): Rename macro to min_value.
16817 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16818 (plus_zero): Remove variable.
16819 (minus_zero): Likewise.
16820 (plus_infty): Likewise.
16821 (minus_infty): Likewise.
16822 (qnan_value): Likewise.
16823 (max_value): Likewise.
16824 (min_value): Likewise.
16825 (min_subnorm_value): Likewise.
16827 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16829 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16830 uint64_t or uint32_t usage.
16831 * crypt/sha256-block.c: Likewise.
16832 * crypt/sha256-crypt.c: Likewise.
16833 * crypt/sha256.c: Likewise.
16834 * crypt/sha512-block.c: Likewise.
16835 * crypt/sha512-crypt.c: Likewise.
16836 * crypt/sha512.c: Likewise.
16837 * debug/backtrace-tst.c: Likewise.
16838 * debug/pcprofiledump.c: Likewise.
16839 * elf/cache.c: Likewise.
16840 * elf/dl-cache.c: Likewise.
16841 * elf/dl-misc.c: Likewise.
16842 * elf/dl-profile.c: Likewise.
16843 * elf/dl-support.c: Likewise.
16844 * elf/ldconfig.c: Likewise.
16845 * elf/sprof.c: Likewise.
16846 * iconv/dummy-repertoire.c: Likewise.
16847 * iconv/iconv_charmap.c: Likewise.
16848 * iconv/skeleton.c: Likewise.
16849 * iconvdata/8bit-generic.c: Likewise.
16850 * iconvdata/cp737.h: Likewise.
16851 * iconvdata/cp775.h: Likewise.
16852 * iconvdata/ibm1008.h: Likewise.
16853 * iconvdata/ibm1025.h: Likewise.
16854 * iconvdata/ibm1046.h: Likewise.
16855 * iconvdata/ibm1097.h: Likewise.
16856 * iconvdata/ibm1112.h: Likewise.
16857 * iconvdata/ibm1122.h: Likewise.
16858 * iconvdata/ibm1123.h: Likewise.
16859 * iconvdata/ibm1124.h: Likewise.
16860 * iconvdata/ibm1129.h: Likewise.
16861 * iconvdata/ibm1130.h: Likewise.
16862 * iconvdata/ibm1132.h: Likewise.
16863 * iconvdata/ibm1133.h: Likewise.
16864 * iconvdata/ibm1137.h: Likewise.
16865 * iconvdata/ibm1140.h: Likewise.
16866 * iconvdata/ibm1141.h: Likewise.
16867 * iconvdata/ibm1142.h: Likewise.
16868 * iconvdata/ibm1143.h: Likewise.
16869 * iconvdata/ibm1144.h: Likewise.
16870 * iconvdata/ibm1145.h: Likewise.
16871 * iconvdata/ibm1146.h: Likewise.
16872 * iconvdata/ibm1147.h: Likewise.
16873 * iconvdata/ibm1148.h: Likewise.
16874 * iconvdata/ibm1149.h: Likewise.
16875 * iconvdata/ibm1153.h: Likewise.
16876 * iconvdata/ibm1154.h: Likewise.
16877 * iconvdata/ibm1155.h: Likewise.
16878 * iconvdata/ibm1156.h: Likewise.
16879 * iconvdata/ibm1157.h: Likewise.
16880 * iconvdata/ibm1158.h: Likewise.
16881 * iconvdata/ibm1160.h: Likewise.
16882 * iconvdata/ibm1161.h: Likewise.
16883 * iconvdata/ibm1162.h: Likewise.
16884 * iconvdata/ibm1163.h: Likewise.
16885 * iconvdata/ibm1164.h: Likewise.
16886 * iconvdata/ibm1166.h: Likewise.
16887 * iconvdata/ibm1167.h: Likewise.
16888 * iconvdata/ibm12712.h: Likewise.
16889 * iconvdata/ibm1390.h: Likewise.
16890 * iconvdata/ibm1399.h: Likewise.
16891 * iconvdata/ibm16804.h: Likewise.
16892 * iconvdata/ibm4517.h: Likewise.
16893 * iconvdata/ibm4899.h: Likewise.
16894 * iconvdata/ibm4909.h: Likewise.
16895 * iconvdata/ibm4971.h: Likewise.
16896 * iconvdata/ibm5347.h: Likewise.
16897 * iconvdata/ibm803.h: Likewise.
16898 * iconvdata/ibm856.h: Likewise.
16899 * iconvdata/ibm901.h: Likewise.
16900 * iconvdata/ibm902.h: Likewise.
16901 * iconvdata/ibm9030.h: Likewise.
16902 * iconvdata/ibm9066.h: Likewise.
16903 * iconvdata/ibm921.h: Likewise.
16904 * iconvdata/ibm922.h: Likewise.
16905 * iconvdata/ibm9448.h: Likewise.
16906 * iconvdata/isiri-3342.h: Likewise.
16907 * iconvdata/jis0201.h: Likewise.
16908 * include/link.h: Likewise.
16909 * include/netdb.h: Likewise.
16910 * inet/check_native.c: Likewise.
16911 * inet/check_pf.c: Likewise.
16912 * inet/getipv4sourcefilter.c: Likewise.
16913 * inet/getnameinfo.c: Likewise.
16914 * inet/getsourcefilter.c: Likewise.
16915 * inet/htonl.c: Likewise.
16916 * inet/setipv4sourcefilter.c: Likewise.
16917 * inet/setsourcefilter.c: Likewise.
16918 * inet/test-inet6_opt.c: Likewise.
16919 * inet/tst-network.c: Likewise.
16920 * locale/C-collate.c: Likewise.
16921 * locale/C-ctype.c: Likewise.
16922 * locale/C-time.c: Likewise.
16923 * locale/C-translit.h: Likewise.
16924 * locale/loadarchive.c: Likewise.
16925 * locale/programs/3level.h: Likewise.
16926 * locale/programs/charmap.c: Likewise.
16927 * locale/programs/charmap.h: Likewise.
16928 * locale/programs/ld-address.c: Likewise.
16929 * locale/programs/ld-collate.c: Likewise.
16930 * locale/programs/ld-ctype.c: Likewise.
16931 * locale/programs/ld-identification.c: Likewise.
16932 * locale/programs/ld-measurement.c: Likewise.
16933 * locale/programs/ld-messages.c: Likewise.
16934 * locale/programs/ld-monetary.c: Likewise.
16935 * locale/programs/ld-name.c: Likewise.
16936 * locale/programs/ld-numeric.c: Likewise.
16937 * locale/programs/ld-paper.c: Likewise.
16938 * locale/programs/ld-telephone.c: Likewise.
16939 * locale/programs/ld-time.c: Likewise.
16940 * locale/programs/linereader.c: Likewise.
16941 * locale/programs/locale.c: Likewise.
16942 * locale/programs/locarchive.c: Likewise.
16943 * locale/programs/locfile.h: Likewise.
16944 * locale/programs/repertoire.c: Likewise.
16945 * locale/programs/simple-hash.c: Likewise.
16946 * locale/programs/simple-hash.h: Likewise.
16947 * malloc/memusage.c: Likewise.
16948 * malloc/memusagestat.c: Likewise.
16949 * nis/nis_defaults.c: Likewise.
16950 * nis/nis_hash.c: Likewise.
16951 * nis/nis_print.c: Likewise.
16952 * nis/nis_xdr.c: Likewise.
16953 * nscd/connections.c: Likewise.
16954 * nscd/hstcache.c: Likewise.
16955 * nscd/nscd_gethst_r.c: Likewise.
16956 * nscd/nscd_getserv_r.c: Likewise.
16957 * nscd/nscd_helper.c: Likewise.
16958 * nscd/servicescache.c: Likewise.
16959 * nss/makedb.c: Likewise.
16960 * nss/nss_db/db-XXX.c: Likewise.
16961 * nss/nss_db/db-initgroups.c: Likewise.
16962 * nss/nss_db/db-netgrp.c: Likewise.
16963 * nss/nss_files/files-network.c: Likewise.
16964 * nss/nss_files/files-parse.c: Likewise.
16965 * posix/bug-regex5.c: Likewise.
16966 * posix/fnmatch_loop.c: Likewise.
16967 * posix/regcomp.c: Likewise.
16968 * posix/regexec.c: Likewise.
16969 * posix/tst-rfc3484-2.c: Likewise.
16970 * posix/tst-rfc3484-3.c: Likewise.
16971 * posix/tst-rfc3484.c: Likewise.
16972 * resolv/nss_dns/dns-canon.c: Likewise.
16973 * resolv/nss_dns/dns-network.c: Likewise.
16974 * resolv/res_init.c: Likewise.
16975 * resolv/res_mkquery.c: Likewise.
16976 * resolv/tst-aton.c: Likewise.
16977 * stdlib/cxa_atexit.c: Likewise.
16978 * stdlib/cxa_finalize.c: Likewise.
16979 * stdlib/gen-fpioconst.c: Likewise.
16980 * stdlib/strtol_l.c: Likewise.
16981 * string/tst-endian.c: Likewise.
16982 * sunrpc/auth_des.c: Likewise.
16983 * sunrpc/clnt_udp.c: Likewise.
16984 * sunrpc/rtime.c: Likewise.
16985 * sunrpc/svcauth_des.c: Likewise.
16986 * sunrpc/xdr.c: Likewise.
16987 * sunrpc/xdr_intXX_t.c: Likewise.
16988 * sunrpc/xdr_rec.c: Likewise.
16989 * sysdeps/generic/ldconfig.h: Likewise.
16990 * sysdeps/generic/ldsodefs.h: Likewise.
16991 * sysdeps/generic/memusage.h: Likewise.
16992 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16993 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16994 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16995 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16996 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16997 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16998 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16999 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17000 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17001 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17002 * sysdeps/posix/getaddrinfo.c: Likewise.
17003 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17004 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17005 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17006 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17007 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17008 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17009 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17010 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17011 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17012 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17013 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17014 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17015 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17016 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17017 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17018 * sysdeps/x86_64/dl-tls.h: Likewise.
17019 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17020 * time/alt_digit.c: Likewise.
17021 * time/era.c: Likewise.
17022 * wcsmbs/tst-c16c32-1.c: Likewise.
17024 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17026 * math/libm-test.inc (struct test_sincos_data): New type.
17027 (RUN_TEST_LOOP_sincos): New macro.
17028 (sincos_test_data): New variable.
17029 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17031 2013-05-16 Richard Henderson <rth@redhat.com>
17033 * math/atest-exp2.c (LIMB64): New macro.
17034 (CONSTSZ): New macro.
17035 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17037 (print_mpn_fp): ... to function scope.
17038 (read_mpn_hex): Remove.
17039 (get_log2): Remove.
17040 (exp2_mpn): Use mp_log2.
17041 (main): Use mp_exp1.
17043 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17045 * math/libm-test.inc: Remove comment about not testing "inexact"
17047 (INEXACT_EXCEPTION): New macro.
17048 (NO_INEXACT_EXCEPTION): Likewise.
17049 (INVALID_EXCEPTION_OK): Update value.
17050 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17051 (OVERFLOW_EXCEPTION_OK): Likewise.
17052 (UNDERFLOW_EXCEPTION_OK): Likewise.
17053 (IGNORE_ZERO_INF_SIGN): Likewise.
17054 (ERRNO_UNCHANGED): Likewise.
17055 (ERRNO_EDOM): Likewise.
17056 (ERRNO_ERANGE): Likewise.
17057 (test_exceptions): Handle testing "inexact" exceptions.
17058 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17059 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17060 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17061 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17063 (rint_towardzero_test_data): Likewise.
17064 (rint_downward_test_data): Likewise.
17065 (rint_upward_test_data): Likewise.
17067 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17068 with OVERFLOW_EXCEPTION.
17069 (exp10_test_data): Likewise.
17070 (exp2_test_data): Likewise.
17071 (expm1_test_data): Likewise.
17072 (lgamma_test_data): Likewise.
17073 (pow_test_data): Likewise.
17074 (tgamma_test_data): Likewise.
17075 (yn_test_data): Remove duplicate test of overflow.
17077 * math/libm-test.inc (struct test_cc_c_data): New type.
17078 (RUN_TEST_LOOP_cc_c): New macro.
17079 (cpow_test_data): New variable.
17080 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17082 * math/libm-test.inc (struct test_f_L_data): New type.
17083 (RUN_TEST_LOOP_f_L): New macro.
17084 (llrint_test_data): New variable.
17085 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17086 (llrint_tonearest_test_data): New variable.
17087 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17088 (llrint_towardzero_test_data): New variable.
17089 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17090 (llrint_downward_test_data): New variable.
17091 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17092 (llrint_upward_test_data): New variable.
17093 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17094 (llround_test_data): New variable.
17095 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17097 2013-05-13 Peter Collingbourne <pcc@google.com>
17099 * math/atest-exp2.c (get_log2): Remove const attribute.
17101 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17103 * math/libm-test.inc (struct test_f_l_data): New type.
17104 (RUN_TEST_LOOP_f_l): New macro.
17105 (lrint_test_data): New variable.
17106 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17107 (lrint_tonearest_test_data): New variable.
17108 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17109 (lrint_towardzero_test_data): New variable.
17110 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17111 (lrint_downward_test_data): New variable.
17112 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17113 (lrint_upward_test_data): New variable.
17114 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17115 (lround_test_data): New variable.
17116 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17118 2013-05-15 Peter Collingbourne <pcc@google.com>
17120 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17121 (EXTRACT_WORDS64) Use where appropriate.
17122 (INSERT_WORDS64) Likewise.
17124 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17125 constraints with x constraints.
17126 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17128 * malloc/obstack.c (_obstack_compat): Add initializer.
17130 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17132 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17133 si_trapno and add si_addr_lsb to _sifields.sigfault.
17134 (si_trapno): Remove macro.
17135 (si_addr_lsb): Define new macro.
17136 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17138 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17140 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17141 instead of TEST_f_l.
17142 (llrint_test_tonearest): Likewise.
17143 (llrint_test_towardzero): Likewise.
17144 (llrint_test_downward): Likewise.
17145 (llrint_test_upward): Likewise.
17146 (llround_test): Likewise.
17148 * math/libm-test.inc (struct test_f_i_data): Add comment.
17149 (RUN_TEST_LOOP_f_b): New macro.
17150 (RUN_TEST_LOOP_f_b_tg): Likewise.
17151 (finite_test_data): New variable.
17152 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17153 (isfinite_test_data): New variable.
17154 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17155 (isinf_test_data): New variable.
17156 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17157 (isnan_test_data): New variable.
17158 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17159 (isnormal_test_data): New variable.
17160 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17161 (issignaling_test_data): New variable.
17162 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17163 (signbit_test_data): New variable.
17164 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17166 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17167 with INVALID_EXCEPTION.
17168 (acosh_test_data): Likewise.
17169 (asin_test_data): Likewise.
17170 (atanh_test_data): Likewise.
17171 (fmod_test_data): Likewise.
17172 (log_test_data): Likewise.
17173 (log10_test_data): Likewise.
17174 (log2_test_data): Likewise.
17175 (pow_test_data): Likewise.
17176 (sqrt_test_data): Likewise.
17177 (y0_test_data): Likewise.
17178 (y1_test_data): Likewise.
17179 (yn_test_data): Likewise.
17181 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17184 * math/libm-test.inc (struct test_ff_i_data): New type.
17185 (RUN_TEST_LOOP_ff_i_tg): New macro.
17186 (isgreater_test_data): New variable.
17187 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17188 (isgreaterequal_test_data): New variable.
17189 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17190 (isless_test_data): New variable.
17191 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17192 (islessequal_test_data): New variable.
17193 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17194 (islessgreater_test_data): New variable.
17195 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17196 (isunordered_test_data): New variable.
17197 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17199 2013-05-14 David S. Miller <davem@davemloft.net>
17201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17203 2013-05-14 Joseph Myers <joseph@codesourcery.com>
17205 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17207 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17209 (struct test_f_i_data): Change type of max_ulp to int.
17211 * math/libm-test.inc (test_ffI_f1_data): New type.
17212 (RUN_TEST_LOOP_ffI_f1): New macro.
17213 (remquo_test_data): New variable.
17214 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17216 * setjmp/tst-setjmp-fp.c: New file.
17217 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17218 (link-libm): New variable.
17219 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17221 * math/libm-test.inc (struct test_f_i_data): New type.
17222 (RUN_TEST_LOOP_f_i): New macro.
17223 (RUN_TEST_LOOP_f_i_tg): Likewise.
17224 (fpclassify_test_data): New variable.
17225 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17226 (ilogb_test_data): New variable.
17227 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17229 * math/libm-test.inc (scalbln_test): Correct function name in END
17232 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17233 (RUN_TEST_LOOP_fI_f1): New macro.
17234 (frexp_test_data): New variable.
17235 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17237 * math/libm-test.inc (struct test_fF_f1_data): New type.
17238 (RUN_TEST_LOOP_fF_f1): New macro.
17239 (modf_test_data): New variable.
17240 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17242 * math/libm-test.inc (struct test_f_f1_data): New type.
17243 (RUN_TEST_LOOP_f_f1): New macro.
17244 (gamma_test_data): New variable.
17245 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17246 (lgamma_test_data): New variable.
17247 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17249 2013-05-13 Carlos O'Donell <carlos@redhat.com>
17251 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17252 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17253 (main): Comment "tls" pseudo-hwcap.
17255 2013-05-13 Joseph Myers <joseph@codesourcery.com>
17257 * math/libm-test.inc (struct test_fl_f_data): New type.
17258 (RUN_TEST_LOOP_fl_f): New variable.
17259 (scalbln_test_data): New variable.
17260 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17262 * math/libm-test.inc (struct test_fi_f_data): New type.
17263 (RUN_TEST_LOOP_fi_f): New macro.
17264 (ldexp_test_data): New variable.
17265 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17266 (scalbn_test_data): New variable.
17267 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17269 * math/libm-test.inc (struct test_c_f_data): New type.
17270 (RUN_TEST_LOOP_c_f): New macro.
17271 (cabs_test_data): New variable.
17272 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17273 (carg_test_data): New variable.
17274 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17275 (cimag_test_data): New variable.
17276 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17277 (creal_test_data): New variable.
17278 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17280 * math/libm-test.inc (struct test_if_f_data): New type.
17281 (RUN_TEST_LOOP_if_f): New macro.
17282 (jn_test_data): New variable.
17283 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17284 (yn_test_data): New variable.
17285 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17287 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17289 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17291 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17292 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17294 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17296 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17297 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17298 (bench-deps): Add bench-timing.h.
17299 * benchtests-bench-skeleton.c: Include bench-timing.h.
17300 (main): Use TIMING_* macros instead of clock_gettime.
17301 * benchtests/bench-timing.h: New file.
17304 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17305 Renamed from _LIB_VERSION.
17306 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17308 2013-05-12 Joseph Myers <joseph@codesourcery.com>
17310 * math/libm-test.inc (struct test_fff_f_data): New type.
17311 (RUN_TEST_LOOP_fff_f): New macro.
17312 (fma_test_data): New variable.
17313 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17314 (fma_towardzero_test_data): New variable.
17315 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17316 (fma_downward_test_data): New variable.
17317 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17318 (fma_upward_test_data): New variable.
17319 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17321 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17322 (struct test_c_c_data): New type.
17323 (RUN_TEST_LOOP_c_c): New macro.
17324 (cacos_test_data): New variable.
17325 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17326 (cacosh_test_data): New variable.
17327 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17328 (casin_test_data): New variable.
17329 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17330 (casinh_test_data): New variable.
17331 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17332 (catan_test_data): New variable.
17333 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17334 (catanh_test_data): New variable.
17335 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17336 (ccos_test_data): New variable.
17337 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17338 (ccosh_test_data): New variable.
17339 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17340 (cexp_test_data): New variable.
17341 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17342 (clog_test_data): New variable.
17343 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17344 (clog10_test_data): New variable.
17345 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17346 (conj_test_data): New variable.
17347 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17348 (cproj_test_data): New variable.
17349 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17350 (csin_test_data): New variable.
17351 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17352 (csinh_test_data): New variable.
17353 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17354 (csqrt_test_data): New variable.
17355 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17356 (ctan_test_data): New variable.
17357 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17358 (ctan_tonearest_test_data): New variable.
17359 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17360 (ctan_towardzero_test_data): New variable.
17361 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17362 (ctan_downward_test_data): New variable.
17363 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17364 (ctan_upward_test_data): New variable.
17365 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17366 (ctanh_test_data): New variable.
17367 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17368 (ctanh_tonearest_test_data): New variable.
17369 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17370 (ctanh_towardzero_test_data): New variable.
17371 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17372 (ctanh_downward_test_data): New variable.
17373 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17374 (ctanh_upward_test_data): New variable.
17375 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17376 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17379 * math/libm-test.inc (struct test_ff_f_data): New type.
17380 (struct test_ff_f_data_nexttoward): Likewise.
17381 (RUN_TEST_LOOP_2_f): New macro.
17382 (RUN_TEST_LOOP_ff_f): Likewise.
17383 (atan2_test_data): New variable.
17384 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17385 (copysign_test_data): New variable.
17386 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17387 (fdim_test_data): New variable.
17388 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17389 (fmax_test_data): New variable.
17390 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17391 (fmin_test_data): New variable.
17392 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17393 (fmod_test_data): New variable.
17394 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17395 (hypot_test_data): New variable.
17396 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17397 (nextafter_test_data): New variable.
17398 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17399 (nexttoward_test_data): New variable.
17400 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17401 (pow_test_data): New variable.
17402 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17403 (pow_tonearest_test_data): New variable.
17404 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17405 (pow_towardzero_test_data): New variable.
17406 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17407 (pow_downward_test_data): New variable.
17408 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17409 (pow_upward_test_data): New variable.
17410 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17411 (remainder_test_data): New variable.
17412 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17413 (scalb_test_data): New variable.
17414 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17415 * sysdeps/i386/fpu/libm-test-ulps: Update.
17417 2013-05-11 Joseph Myers <joseph@codesourcery.com>
17419 * math/libm-test.inc (fma_test): Use max_value instead of local
17421 (nextafter_test): Likewise.
17423 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17424 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17425 (acos_downward_test_data): New variable.
17426 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17427 (acos_upward_test_data): New variable.
17428 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17429 (acosh_test_data): New variable.
17430 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17431 (asin_test_data): New variable.
17432 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17433 (asin_tonearest_test_data): New variable.
17434 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17435 (asin_towardzero_test_data): New variable.
17436 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17437 (asin_downward_test_data): New variable.
17438 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17439 (asin_upward_test_data): New variable.
17440 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17441 (asinh_test_data): New variable.
17442 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17443 (atan_test_data): New variable.
17444 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17445 (atanh_test_data): New variable.
17446 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17447 (cbrt_test_data): New variable.
17448 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17449 (ceil_test_data): New variable.
17450 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17451 (cos_test_data): New variable.
17452 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17453 (cos_tonearest_test_data): New variable.
17454 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17455 (cos_towardzero_test_data): New variable.
17456 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17457 (cos_downward_test_data): New variable.
17458 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17459 (cos_upward_test_data): New variable.
17460 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17461 (cosh_test_data): New variable.
17462 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17463 (cosh_tonearest_test_data): New variable.
17464 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17465 (cosh_towardzero_test_data): New variable.
17466 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17467 (cosh_downward_test_data): New variable.
17468 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17469 (cosh_upward_test_data): New variable.
17470 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17471 (erf_test_data): New variable.
17472 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17473 (erfc_test_data): New variable.
17474 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17475 (exp_test_data): New variable.
17476 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17477 (exp_tonearest_test_data): New variable.
17478 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17479 (exp_towardzero_test_data): New variable.
17480 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17481 (exp_downward_test_data): New variable.
17482 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17483 (exp_upward_test_data): New variable.
17484 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17485 (exp10_test_data): New variable.
17486 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17487 (exp2_test_data): New variable.
17488 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17489 (expm1_test_data): New variable.
17490 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17491 (fabs_test_data): New variable.
17492 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17493 (floor_test_data): New variable.
17494 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17495 (j0_test_data): New variable.
17496 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17497 (j1_test_data): New variable.
17498 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17499 (log_test_data): New variable.
17500 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17501 (log10_test_data): New variable.
17502 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17503 (log1p_test_data): New variable.
17504 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17505 (log2_test_data): New variable.
17506 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17507 (logb_test_data): New variable.
17508 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17509 (logb_downward_test_data): New variable.
17510 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17511 (nearbyint_test_data): New variable.
17512 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17513 (rint_test_data): New variable.
17514 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17515 (rint_tonearest_test_data): New variable.
17516 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17517 (rint_towardzero_test_data): New variable.
17518 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17519 (rint_downward_test_data): New variable.
17520 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17521 (rint_upward_test_data): New variable.
17522 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17523 (round_test_data): New variable.
17524 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17525 (sin_test_data): New variable.
17526 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17527 (sin_tonearest_test_data): New variable.
17528 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17529 (sin_towardzero_test_data): New variable.
17530 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17531 (sin_downward_test_data): New variable.
17532 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17533 (sin_upward_test_data): New variable.
17534 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17535 (sinh_test_data): New variable.
17536 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17537 (sinh_tonearest_test_data): New variable.
17538 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17539 (sinh_towardzero_test_data): New variable.
17540 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17541 (sinh_downward_test_data): New variable.
17542 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17543 (sinh_upward_test_data): New variable.
17544 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17545 (sqrt_test_data): New variable.
17546 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17547 (tan_test_data): New variable.
17548 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17549 (tan_tonearest_test_data): New variable.
17550 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17551 (tan_towardzero_test_data): New variable.
17552 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17553 (tan_downward_test_data): New variable.
17554 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17555 (tan_upward_test_data): New variable.
17556 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17557 (tanh_test_data): New variable.
17558 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17559 (tgamma_test_data): New variable.
17560 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17561 (trunc_test_data): New variable.
17562 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17563 (y0_test_data): New variable.
17564 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17565 (y1_test_data): New variable.
17566 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17567 (significand_test_data): New variable.
17568 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17570 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17573 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17575 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17577 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17579 2013-05-10 Andreas Jaeger <aj@suse.de>
17582 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17583 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17585 2013-05-10 Joseph Myers <joseph@codesourcery.com>
17587 * math/gen-libm-test.pl (adjust_arg): New function.
17588 (special_functions): Handle generating output in both functions
17590 (parse_args): Likewise.
17591 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17592 $in_func argument to parse_args.
17593 * math/libm-test.inc (struct test_f_f_data): New type.
17594 (IF_ROUND_INIT_): New macro.
17595 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17596 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17597 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17598 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17599 (ROUND_RESTORE_): Likewise.
17600 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17601 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17602 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17603 (ROUND_RESTORE_FE_UPWARD): Likewise.
17604 (RUN_TEST_LOOP_f_f): New macro.
17605 (acos_test_data): New variable.
17606 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17607 (acos_tonearest_test_data): New variable.
17608 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17610 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17612 * benchtests/bench-skeleton.c (startup): Fix coding style.
17614 2013-05-10 Joseph Myers <joseph@codesourcery.com>
17617 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17618 negative infinity argument.
17619 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17620 negative infinity argument.
17621 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17622 negative infinity argument.
17623 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17626 2013-05-10 Florian Weimer <fweimer@redhat.com>
17628 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17629 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17630 * iconv/iconv_prog.c (main): Likewise.
17631 * locale/programs/charmap-dir.c (charmap_readdir)
17632 (fopen_uncompressed): Likewise.
17633 * locale/programs/locfile.c (siblings_uncached)
17634 (write_locale_data): Use lstat64 instead of lstat.
17635 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17638 2013-05-10 Andreas Jaeger <aj@suse.de>
17641 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17643 Include <locale.h>.
17645 2013-05-09 Carlos O'Donell <carlos@redhat.com>
17647 * elf/dl-close.c (_dl_close_worker): Add comments.
17649 2013-05-09 Joseph Myers <joseph@codesourcery.com>
17652 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17654 (__ieee754_rem_pio2l): Update comments.
17657 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17659 (__ieee754_rem_pio2l): Update comments.
17661 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17662 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17664 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17667 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17668 (M_PI_34_LOG10El): Likewise.
17669 (M_PI2_LOG10El): Likewise.
17670 (M_PI4_LOG10El): Likewise.
17671 (M_PI_LOG10El): Likewise.
17673 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17677 2013-05-08 Joseph Myers <joseph@codesourcery.com>
17679 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17680 (MINUS_ZERO_INIT): Likewise.
17681 (PLUS_INFTY_INIT): Likewise.
17682 (MINUS_INFTY_INIT): Likewise.
17683 (QNAN_VALUE_INIT): Likewise.
17684 (MAX_VALUE_INIT): Likewise.
17685 (MIN_VALUE_INIT): Likewise.
17686 (MIN_SUBNORM_VALUE_INIT): Likewise.
17687 (plus_zero): Initialize with PLUS_ZERO_INIT.
17688 (minus_zero): Initialize with MINUS_ZERO_INIT.
17689 (plus_infty): Initialize with PLUS_INFTY_INIT.
17690 (minus_infty): Initialize with MINUS_INFTY_INIT.
17691 (qnan_value): Initialize with QNAN_VALUE_INIT.
17692 (max_value): Initialize with MAX_VALUE_INIT.
17693 (min_value): Initialize with MIN_VALUE_INIT.
17694 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17696 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17697 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17698 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17699 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17701 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17702 (RUN_TEST_2_f): Likewise.
17703 (RUN_TEST_ff_f): Likewise.
17704 (RUN_TEST_fi_f): Likewise.
17705 (RUN_TEST_fl_f): Likewise.
17706 (RUN_TEST_fff_f): Likewise.
17707 (RUN_TEST_c_f): Likewise.
17708 (RUN_TEST_f_f1): Likewise.
17709 (RUN_TEST_fF_f1): Likewise.
17710 (RUN_TEST_fI_f1): Likewise.
17711 (RUN_TEST_ffI_f1): Likewise.
17712 (RUN_TEST_c_c): Likewise.
17713 (RUN_TEST_cc_c): Likewise.
17714 (RUN_TEST_f_i): Likewise.
17715 (RUN_TEST_f_i_tg): Likewise.
17716 (RUN_TEST_ff_i_tg): Likewise.
17717 (RUN_TEST_f_b): Likewise.
17718 (RUN_TEST_f_b_tg): Likewise.
17719 (RUN_TEST_f_l): Likewise.
17720 (RUN_TEST_f_L): Likewise.
17721 (RUN_TEST_sincos): Likewise.
17722 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17723 whether to show exceptions. Do not include ");\n" in return
17725 (special_functions): Output call to RUN_TEST_sincos instead of
17726 check_float calls. Update calls to new_test.
17727 (parse_args): Output call to single RUN_TEST_* macro instead of
17728 check_* calls and other assignments. Update calls to new_test.
17734 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17735 input to result for tgamma overflow.
17736 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17737 (gamma_coeff): New variable.
17738 (NCOEFF): New macro.
17739 (gamma_positive): New function.
17740 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17741 underflow here. Use gamma_positive instead of exp (lgamma) for
17743 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17744 (gamma_coeff): New variable.
17745 (NCOEFF): New macro.
17746 (gammaf_positive): New function.
17747 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17748 underflow here. Use gamma_positive instead of exp (lgamma) for
17750 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17751 (gamma_coeff): New variable.
17752 (NCOEFF): New macro.
17753 (gammal_positive): New function.
17754 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17755 underflow here. Use gamma_positive instead of exp (lgamma) for
17757 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17758 (gamma_coeff): New variable.
17759 (NCOEFF): New macro.
17760 (gammal_positive): New function.
17761 (__ieee754_gammal_r): Handle positive infinity, overflow and
17762 underflow here. Handle NaN the same as positive infinity. Remove
17763 check x < 0xffffffff for negative integers. Use gamma_positive
17764 instead of exp (lgamma) for other arguments.
17765 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17766 (gamma_coeff): New variable.
17767 (NCOEFF): New macro.
17768 (gammal_positive): New function.
17769 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17770 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17771 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17772 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17773 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17774 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17775 * sysdeps/generic/math_private.h (__gamma_productf): New
17777 (__gamma_product): Likewise.
17778 (__gamma_productl): Likewise.
17779 * math/Makefile (libm-calls): Add gamma_product.
17780 * math/libm-test.inc (tgamma_test): Add more tests.
17781 * sysdeps/i386/fpu/libm-test-ulps: Update.
17782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17784 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
17786 * benchtests/bench-skeleton.c (main): Preheat CPU.
17788 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17790 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17792 2013-05-07 Roland McGrath <roland@hack.frob.com>
17794 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17795 and _dl_skip_args_internal.
17797 2013-05-07 Carlos O'Donell <carlos@redhat.com>
17799 * manual/message.texi (Message Translation): Talk about users.
17800 Message to key mapping impacts design.
17802 2013-05-06 Roland McGrath <roland@hack.frob.com>
17804 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17806 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17808 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17809 * sysdeps/wordsize-64/glob64.c: ... here.
17811 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17812 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17815 * debug/getlogin_r_chk.c: Moved to ...
17816 * login/getlogin_r_chk.c: ... here.
17817 * debug/Makefile (routines): Move getlogin_r_chk to ...
17818 * login/Makefile (routines): ... here.
17819 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17820 * login/Versions (libc: GLIBC_2.4): ... here.
17822 * io/poll.c (__poll): Renamed from poll.
17823 Add libc_hidden_def.
17824 (poll): Define as weak alias.
17826 * debug/ptsname_r_chk.c: Moved to ...
17827 * login/ptsname_r_chk.c: ... here.
17828 * debug/Makefile (routines): Move ptsname_r_chk to ...
17829 * login/Makefile (routines): ... here.
17830 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17831 * login/Versions (libc: GLIBC_2.4): ... here.
17833 * posix/getlogin.c: Moved to ...
17834 * login/getlogin.c: ... here.
17835 * posix/getlogin_r.c: Moved to ...
17836 * login/getlogin_r.c: ... here.
17837 * posix/getlogin_r.c: Moved to ...
17838 * login/getlogin_r.c: ... here.
17839 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17840 * login/Makefile (routines): ... here.
17841 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17842 * login/Versions (libc: GLIBC_2.0): ... here.
17844 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17845 (setrlimit): Define as weak alias.
17847 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17848 Call __ names for open, ftruncate, and close.
17849 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17850 (truncate): Define as weak alias.
17852 2013-05-06 Joseph Myers <joseph@codesourcery.com>
17854 * math/gen-libm-test.pl (parse_args): Initialize x before each
17855 test of frexp, modf and remquo.
17857 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17858 test signgam value.
17860 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17864 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17866 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17868 2013-05-06 Roland McGrath <roland@hack.frob.com>
17870 * elf/dl-writev.h: New file.
17871 * elf/dl-misc.c: Include it.
17872 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17873 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17875 2013-05-04 Joseph Myers <joseph@codesourcery.com>
17877 * math/libm-test.inc (noXFails): Remove variable.
17878 (noXPasses): Likewise.
17879 (BUILD_COMPLEX_INT): Remove macro.
17880 (print_screen): Remove xfail argument.
17881 (print_screen_max_error): Likewise.
17882 (update_stats): Likewise.
17883 (print_max_error): Likewise. Update calls to other affected
17885 (print_complex_max_error): Likewise.
17886 (test_single_exception): Update calls to print_screen.
17887 (test_single_errno): Likewise.
17888 (check_float_internal): Remove xfail argument. Update calls to
17889 other affected functions.
17890 (check_float): Likewise.
17891 (check_complex): Likewise.
17892 (check_int): Likewise.
17893 (check_long): Likewise.
17894 (check_bool): Likewise.
17895 (check_longlong): Likewise.
17896 (main): Don't print noXFails and noXPasses.
17897 * math/gen-libm-test.pl (top level): Don't mention expected
17898 failure handling in comment.
17899 (new_test): Don't handle expected failures.
17900 (parse_args): Don't mention expected failure handling in comment.
17901 (generate_testfile): Don't handle expected failures.
17902 (parse_ulps): Likewise.
17903 (print_ulps_file): Likewise.
17904 (get_failure): Remove function.
17905 (output_test): Don't handle expected failures.
17906 * make/README.libm-test: Don't mention expected failure handling.
17908 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17909 (minus_zero): Likewise.
17910 (plus_infty): Likewise.
17911 (minus_infty): Likewise.
17912 (qnan_value): Likewise.
17913 (max_value): Likewise.
17914 (min_value): Likewise.
17915 (min_subnorm_value): Likewise.
17916 (initialize): Do not initialize those variables dynamically.
17918 2013-05-03 Roland McGrath <roland@hack.frob.com>
17920 * io/open.c (__open_2): Moved to ...
17921 * io/open_2.c: ... this new file.
17922 * io/open64.c (__open64_2): Moved to ...
17923 * io/open64_2.c: ... this new file.
17924 * io/openat.c (__openat_2): Moved to ...
17925 * io/openat_2.c: ... this new file.
17926 * io/openat64.c (__openat64_2): Moved to ...
17927 * io/openat64_2.c: ... this new file.
17928 * io/Makefile (routines): Add them.
17929 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17930 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17931 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17932 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17933 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17934 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17935 (__openat64): Add hidden_ver.
17936 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17937 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17939 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17940 Separately conditionalize setting of GLRO(dl_sysinfo) so
17941 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17942 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17944 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17946 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17947 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17949 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17950 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17951 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17952 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17953 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17955 2013-05-03 Joseph Myers <joseph@codesourcery.com>
17957 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17958 test signgam value.
17960 * math/libm-test.inc (hypot_test): Do not use
17961 IGNORE_ZERO_INF_SIGN.
17963 2013-05-03 Andreas Jaeger <aj@suse.de>
17965 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17967 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17968 (PF_MAX): Adjust for VSOCK change.
17970 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17974 2013-05-02 Carlos O'Donell <carlos@redhat.com>
17977 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17978 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17979 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17981 2013-05-02 David S. Miller <davem@davemloft.net>
17983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17985 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
17987 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17989 2013-05-01 Roland McGrath <roland@hack.frob.com>
17991 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17993 2013-05-01 Richard Smith <richard@metafoo.co.uk>
17996 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17997 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17998 Use __attribute__ ((__gnu_inline__)).
17999 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18000 Don't use __attribute__ ((__gnu_inline__)).
18002 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18005 * math/s_catan.c (__catan): Handle small real or imaginary part of
18006 input specially to avoid spurious underflow.
18007 * math/s_catanf.c (__catanf): Likewise.
18008 * math/s_catanh.c (__catanh): Likewise.
18009 * math/s_catanhf.c (__catanhf): Likewise.
18010 * math/s_catanhl.c (__catanhl): Likewise.
18011 * math/s_catanl.c (__catanl): Likewise.
18012 * math/libm-test.inc (catan_test): Add more tests.
18013 (catanh_test): Likewise.
18014 * sysdeps/i386/fpu/libm-test-ulps: Update.
18015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18017 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18021 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18024 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18025 accurately for denominator in atan2.
18026 * math/s_catanf.c (__catanf): Likewise.
18027 * math/s_catanh.c (__catanh): Likewise.
18028 * math/s_catanhf.c (__catanhf): Likewise.
18029 * math/s_catanhl.c (__catanhl): Likewise.
18030 * math/s_catanl.c (__catanl): Likewise.
18031 * math/libm-test.inc (catan_test): Add more tests.
18032 (catanh_test): Likewise.
18033 * sysdeps/i386/fpu/libm-test-ulps: Update.
18034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18036 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18038 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18040 * benchtests/Makefile (bench): Remove slow benchmarks.
18041 * benchtests/atan-inputs: Add slow benchmark inputs.
18042 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18043 (BENCH_FUNC): Accept variant offset.
18045 * benchtests/bench-skeleton.c (main): Run benchmark for each
18047 * benchtests/cos-inputs: Add slow benchmark inputs.
18048 * benchtests/exp-inputs: Likewise.
18049 * benchtests/pow-inputs: Likewise.
18050 * benchtests/sin-inputs: Likewise.
18051 * benchtests/slowatan-inputs: Remove.
18052 * benchtests/slowatan.c: Remove.
18053 * benchtests/slowcos-inputs: Remove.
18054 * benchtests/slowcos.c: Remove.
18055 * benchtests/slowexp-inputs: Remove.
18056 * benchtests/slowexp.c: Remove.
18057 * benchtests/slowpow-inputs: Remove.
18058 * benchtests/slowpow.c: Remove.
18059 * benchtests/slowsin-inputs: Remove.
18060 * benchtests/slowsin.c: Remove.
18061 * benchtests/slowtan-inputs: Remove.
18062 * benchtests/slowtan.c: Remove.
18063 * benchtests/tan-inputs: Add slow benchmark inputs.
18064 * scripts/bench.pl: Parse comments and directives.
18066 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18068 ($(objpfx)bench-%.c): Remove *-ITER.
18069 * benchtests/bench-modf.c: Remove definition of ITER.
18070 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18071 (main): Loop for DURATION seconds instead of fixed number of
18073 * scripts/bench.pl: Don't expect iterations in parameters.
18075 2013-04-29 Roland McGrath <roland@hack.frob.com>
18077 * io/fchdir.c (__fchdir): Renamed from fchdir.
18078 (fchdir): Define as weak alias.
18080 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18082 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18083 (ERRNO_EDOM): Likewise.
18084 (ERRNO_ERANGE): Likewise.
18085 (noErrnoTests): New variable.
18086 (init_max_error): Set errno to 0.
18087 (test_single_errno): New function.
18088 (test_errno): Likewise.
18089 (check_float_internal): Call test_errno. Set errno to 0.
18090 (check_complex): Refer to errno tests in comment.
18091 (check_int): Call test_errno. Set errno to 0.
18092 (check_long): Likewise.
18093 (check_bool): Likewise.
18094 (check_longlong): Likewise.
18095 (cos_test): Use ERRNO_* flags for errno tests instead of
18097 (expm1_test): Likewise.
18098 (fmod_test): Likewise.
18099 (ilogb_test): Likewise.
18100 (lgamma_test): Likewise.
18101 (pow_test): Likewise.
18102 (remainder_test): Likewise.
18103 (sin_test): Likewise.
18104 (tan_test): Likewise.
18105 (yn_test): Likewise.
18106 (initialize): Set errno to 0.
18107 (main): Print number of errno tests.
18108 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18110 2013-04-29 Andreas Jaeger <aj@suse.de>
18113 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18117 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18118 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18122 * stdlib/random.c (__initstate): Return NULL if
18126 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18127 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18130 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18134 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18136 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18137 of individual tests.
18138 (casin_test): Likewise.
18139 (casinh_test): Likewise.
18141 2013-04-27 Joseph Myers <joseph@codesourcery.com>
18144 * math/s_catan.c (__catan): Handle arguments with large real or
18145 imaginary part separately without squaring.
18146 * math/s_catanf.c (__catanf): Likewise.
18147 * math/s_catanh.c (__catanh): Likewise.
18148 * math/s_catanhf.c (__catanhf): Likewise.
18149 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18151 (__catanhl): Handle arguments with large real or imaginary part
18152 separately without squaring.
18153 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18155 (__catanl): Handle arguments with large real or imaginary part
18156 separately without squaring.
18157 * math/libm-test.inc (catan_test): Add more tests.
18158 (catanh_test): Likewise.
18159 * sysdeps/i386/fpu/libm-test-ulps: Update.
18160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18162 2013-04-27 Andreas Jaeger <aj@suse.de>
18165 * stdlib/stdlib.h: Update guards for qecvt.
18166 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18169 2013-04-27 Allan McRae <allan@archlinux.org>
18171 * sysdeps/i386/fpu/libm-test-ulps: Update.
18173 2013-04-26 Joseph Myers <joseph@codesourcery.com>
18176 * math/s_catan.c: Include <float.h>.
18177 (__catan): Ensure underflow exception occurs for underflowed
18179 * math/s_catanf.c: Include <float.h>.
18180 (__catanf): Ensure underflow exception occurs for underflowed
18182 * math/s_catanh.c: Include <float.h>.
18183 (__catanh): Ensure underflow exception occurs for underflowed
18185 * math/s_catanhf.c: Include <float.h>.
18186 (__catanhf): Ensure underflow exception occurs for underflowed
18188 * math/s_catanhl.c: Include <float.h>.
18189 (__catanhl): Ensure underflow exception occurs for underflowed
18191 * math/s_catanl.c: Include <float.h>.
18192 (__catanl): Ensure underflow exception occurs for underflowed
18194 * math/libm-test.inc (catan_test): Add more tests.
18195 (catanh_test): Likewise.
18198 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18199 underflowed result.
18200 * math/s_ccoshf.c (__ccoshf): Likewise.
18201 * math/s_ccoshl.c (__ccoshl): Likewise.
18202 * math/s_csin.c (__csin): Likewise.
18203 * math/s_csinf.c (__csinf): Likewise.
18204 * math/s_csinh.c (__csinh): Likewise.
18205 * math/s_csinhf.c (__csinhf): Likewise.
18206 * math/s_csinhl.c (__csinhl): Likewise.
18207 * math/s_csinl.c (__csinl): Likewise.
18208 * math/libm-test.inc (ccos_test): Add more tests.
18209 (ccosh_test): Likewise.
18210 (csin_test): Likewise.
18211 (csinh_test): Likewise.
18213 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18215 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18216 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18217 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18218 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18219 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18220 powerpc/power5+/fpu folders.
18221 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18224 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18228 2013-04-25 Joseph Myers <joseph@codesourcery.com>
18230 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18231 additions to variable.
18232 [$(config-machine) = x86_64] (modules-names): Likewise.
18233 ($(objpfx)tst-audit3): Remove dependency.
18234 ($(objpfx)tst-audit3.out): Likewise.
18235 ($(objpfx)tst-audit4): Likewise.
18236 ($(objpfx)tst-audit4.out): Likewise.
18237 ($(objpfx)tst-audit5): Likewise.
18238 ($(objpfx)tst-audit5.out): Likewise.
18239 ($(objpfx)tst-audit6): Likewise.
18240 ($(objpfx)tst-audit6.out): Likewise.
18241 ($(objpfx)tst-audit7): Likewise.
18242 ($(objpfx)tst-audit7.out): Likewise.
18243 (tst-audit3-ENV): Remove variable.
18244 (tst-audit4-ENV): Likewise.
18245 (tst-audit5-ENV): Likewise.
18246 (tst-audit6-ENV): Likewise.
18247 (tst-audit7-ENV): Likewise.
18248 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18249 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18250 addition to variable.
18251 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18252 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18253 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18254 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18255 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18256 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18257 tst-audit3, tst-audit4 and tst-audit5.
18258 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18259 tst-audit6 and tst-audit7.
18260 [$(subdir) = elf] (modules-names): Add audit modules for those
18262 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18263 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18264 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18265 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18266 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18267 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18268 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18269 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18270 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18271 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18272 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18273 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18274 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18275 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18276 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18277 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18279 [$(subdir) = elf && $(config-cflags-avx) = yes]
18280 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18281 [$(subdir) = elf && $(config-cflags-avx) = yes]
18282 (CFLAGS-tst-auditmod4a.c): Likewise.
18283 [$(subdir) = elf && $(config-cflags-avx) = yes]
18284 (CFLAGS-tst-auditmod4b.c): Likewise.
18285 [$(subdir) = elf && $(config-cflags-avx) = yes]
18286 (CFLAGS-tst-auditmod6b.c): Likewise.
18287 [$(subdir) = elf && $(config-cflags-avx) = yes]
18288 (CFLAGS-tst-auditmod6c.c): Likewise.
18289 [$(subdir) = elf && $(config-cflags-avx) = yes]
18290 (CFLAGS-tst-auditmod7b.c): Likewise.
18291 * elf/tst-audit3.c: Move to ...
18292 * sysdeps/x86_64/tst-audit3.c: ... here.
18293 * elf/tst-audit4.c: Move to ...
18294 * sysdeps/x86_64/tst-audit4.c: ... here.
18295 * elf/tst-audit5.c: Move to ...
18296 * sysdeps/x86_64/tst-audit5.c: ... here.
18297 * elf/tst-audit6.c: Move to ...
18298 * sysdeps/x86_64/tst-audit6.c: ... here.
18299 * elf/tst-audit7.c: Move to ...
18300 * sysdeps/x86_64/tst-audit7.c: ... here.
18301 * elf/tst-auditmod3a.c: Move to ...
18302 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18303 * elf/tst-auditmod3b.c: Move to ...
18304 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18305 * elf/tst-auditmod4a.c: Move to ...
18306 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18307 * elf/tst-auditmod4b.c: Move to ...
18308 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18309 * elf/tst-auditmod5a.c: Move to ...
18310 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18311 * elf/tst-auditmod5b.c: Move to ...
18312 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18313 * elf/tst-auditmod6a.c: Move to ...
18314 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18315 * elf/tst-auditmod6b.c: Move to ...
18316 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18317 * elf/tst-auditmod6c.c: Move to ...
18318 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18319 * elf/tst-auditmod7a.c: Move to ...
18320 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18321 * elf/tst-auditmod7b.c: Move to ...
18322 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18324 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18327 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18328 define unconditionally.
18329 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18330 define unconditionally.
18331 (INT8_C, INT16_C, etc.): Likewise.
18333 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18335 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18336 __ehdr_start with hidden visibility.
18338 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18340 2013-04-24 Carlos O'Donell <carlos@redhat.com>
18342 * math/libm-test.inc (cos_test): Use accurate hex constants.
18343 (sincost_test): Likewise.
18345 2013-04-24 Joseph Myers <joseph@codesourcery.com>
18347 * math/libm-test.inc (catan_test): Add more tests.
18348 (catanh_test): Likewise.
18350 * math/s_catanf.c (__catanf): Use suffixed floating-point
18352 * math/s_catanhf.c (__catanhf): Likewise.
18353 * math/s_catanhl.c (__catanhl): Likewise.
18354 * math/s_catanl.c (__catanl): Likewise.
18357 * math/s_catan.c (__catan): Calculate imaginary part of result
18358 with log1p not log unless computing log of number close to 0.
18359 * math/s_catanf.c (__catanf): Likewise.
18360 * math/s_catanl.c (__catanl): Likewise.
18361 * math/s_catanh.c (__catanh): Calculate real part of result with
18362 log1p not log unless computing log of number close to 0.
18363 * math/s_catanhf.c (__catanhf): Likewise.
18364 * math/s_catanhl.c (__catanhl): Likewise.
18365 * math/libm-test.inc (catan_test): Add more tests.
18366 (catanh_test): Likewise.
18367 * sysdeps/i386/fpu/libm-test-ulps: Update.
18368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18370 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18372 * benchtests/Makefile: Mention files in which fast and slow
18373 paths of math functions are implemented.
18375 2013-04-23 Roland McGrath <roland@hack.frob.com>
18377 * sysdeps/posix/timespec_get.c: New file.
18379 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18381 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18383 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18385 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18386 powerpc/power5/fpu folders.
18387 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18388 * benchtests/Makefile: Add modf testcase.
18389 * benchtests/bench-modf.c: New file: Benchmark test for mo
18391 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18394 * time/Makefile (tests): Add tst-strptime-whitespace.
18395 * time/strptime_l.c (get_number): Use ISSPACE.
18396 (__strptime_internal): Likewise.
18397 * time/tst-strptime-whitespace.c: New test case.
18399 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18401 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18403 (_nss_files_init): Set it here.
18405 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18407 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18408 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18411 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18413 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18415 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18417 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18420 2013-04-21 David S. Miller <davem@davemloft.net>
18422 * po/ru.po: Update Russion translation from translation project.
18424 2013-04-17 Adam Conrad <adconrad@0c3.net>
18426 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18429 2013-04-17 Carlos O'Donell <carlos@redhat.com>
18431 * configure.in: Remove i386 configure warning. Remove i386 case.
18432 * configure: Regenerate.
18433 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18434 Add example to error message.
18435 * sysdeps/i386/configure: Regenerate.
18437 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18439 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18441 * benchtests/cos-inputs: New file.
18442 * benchtests/slowcos-inputs: New file.
18443 * benchtests/slowcos.c: New file.
18444 * benchtests/slowtan-inputs: New file.
18445 * benchtests/slowtan.c: New file.
18446 * benchtests/tan-inputs: New file.
18448 2013-04-16 Roland McGrath <roland@hack.frob.com>
18450 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18453 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18455 * benchtests/Makefile: Include cppflags-iterator.mk to add
18456 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18458 * Makefile.in (bench-clean): New target.
18459 * benchtests/Makefile (bench-clean): Likewise.
18461 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18463 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18465 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18467 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18469 2013-04-15 Andreas Schwab <schwab@suse.de>
18471 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18472 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18473 * nscd/pwdcache.c (cache_addpw): Likewise.
18474 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18477 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18479 * benchtests/Makefile (bench): Write all output to
18480 bench-out.tmp together.
18482 2013-04-15 Andreas Schwab <schwab@suse.de>
18484 * nscd/nscd.c (main): Don't fork again after closing files.
18486 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18488 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18490 * benchtests/Rules (bench-deps): Collect dependencies into a
18491 single variable. Add Makefile to dependencies.
18492 ($(objpfx)bench-%.c): Depend on bench-deps.
18494 2013-04-12 Roland McGrath <roland@hack.frob.com>
18495 Xavier Roche <roche+kml2@exalead.com>
18498 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18499 just that it's a file descriptor.
18500 * manual/llio.texi (Synchronizing AIO Operations): Update description
18501 for EBADF error from aio_fsync.
18503 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18505 * Rules (bench): Move target definition...
18506 * benchtests/Makefile: ... here.
18508 2013-04-11 Carlos O'Donell <carlos@redhat.com>
18510 * math/libm-test.inc (cos_test): Fix PI/2 test.
18511 (sincos_test): Likewise.
18512 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18513 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18515 2013-04-11 Andreas Schwab <schwab@suse.de>
18518 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18519 accept exponent character only when digits were seen.
18520 * stdio-common/Makefile (tests): Add bug26.
18521 * stdio-common/bug26.c: New file.
18524 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18527 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18529 * Makeconfig (rtld-prefix): Define built linker prefix.
18530 * Rules (run-bench): Use it.
18531 * math/Makefile (run-regen-ulps): Likewise.
18533 * Rules (bench): Remove eval.
18535 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18536 Roland McGrath <roland@hack.frob.com>
18537 Ondrej Bilka <neleai@seznam.cz>
18540 * time/getdate.c: Include ctype.h and alloca.h.
18541 (__getdate_r): Trim leading and trailing spaces of input.
18542 * time/tst-getdate.c (tests): Add tests with leading and
18545 2013-04-08 Roland McGrath <roland@hack.frob.com>
18548 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18549 when computing value.
18551 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18553 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18554 Use testrun.sh to run libm tests.
18557 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18559 2013-04-06 Marko Myllynen <myllynen@redhat.com>
18562 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18564 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18566 * Makefile.in (regen-ulps): New target.
18567 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18568 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18569 [ifneq (no,$(PERL)] (regen-ulps): New target.
18570 [ifeq (no,$(PERL)] (regen-ulps): New target.
18571 * math/libm-test.inc (ulps_file_name): Define.
18572 (output_dir): New variable.
18573 (options): Add "output-dir" option.
18574 (parse_opt): Handle 'o' case.
18575 (main): If output_dir is non-NULL use it as a prefix
18577 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18579 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18581 [BZ #10060, #10062]
18582 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18583 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18584 fail configure if __sync_val_compare_and_swap is not inlined.
18585 * sysdeps/i386/configure: Regenerate.
18586 * configure.in: Build for i686 when configured for i386.
18587 * configure: Regenerate.
18588 * README: Remove i386 reference.
18590 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18592 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18593 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18595 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18597 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18598 (lmsnanval): New variables.
18599 (F): Add conversion tests.
18600 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18601 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18603 * stdio-common/tstdiomisc.c (F): Properly collect individual
18606 [BZ #14686, #15336]
18607 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18608 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18609 Instead, use input NaN values or generate a qNaN by arithmetic
18610 operation. Also fix bugs to comply with the standard.
18611 * math/libm-test.inc (remainder_test): Add more tests.
18613 [BZ #15335, #15342]
18614 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18615 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18616 input NaN values or generate a qNaN by arithmetic operation.
18618 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18621 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18624 2013-04-03 Joseph Myers <joseph@codesourcery.com>
18627 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18628 underflowed result.
18629 * math/s_cexpf.c (__cexpf): Likewise.
18630 * math/s_cexpl.c (__cexpl): Likewise.
18631 * math/libm-test.inc (cexp_test): Add more tests.
18633 2013-04-03 Andreas Schwab <schwab@suse.de>
18636 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18637 order arrays from heap if bigger than alloca cutoff.
18639 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18641 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18642 (SNAN_TESTS_double): Refer to GCC PR56831.
18643 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18646 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18648 * Rules (bench): Move bench.out after the run is complete.
18650 * Rules (bench): Echo currently running benchmark.
18652 * benchtests/Makefile (bench): Add atan and slowatan.
18653 * benchtests/atan-inputs: New file.
18654 * benchtests/slowatan-inputs: New file.
18655 * benchtests/slowatan.c: New file.
18657 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18658 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18662 * sysdeps/unix/sysv/linux/kernel-features.h
18663 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18664 __ASSUME_XFS_RESTRICTED_CHOWN.
18665 * sysdeps/unix/sysv/linux/pathconf.c
18666 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18667 Save and restore errno.
18669 2013-04-02 Joseph Myers <joseph@codesourcery.com>
18672 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18673 arguments using __kernel_casinh.
18674 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18675 arguments using __kernel_casinhf.
18676 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18677 arguments using __kernel_casinhl.
18678 * math/libm-test.inc (cacosh_test): Add more tests.
18679 * sysdeps/i386/fpu/libm-test-ulps: Update.
18680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18682 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18684 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18685 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18687 * bench/Makefile (bench): Add sin and slowsin.
18688 * benchtests/sin-inputs: New file.
18689 * benchtests/slowsin-inputs: New file.
18690 * benchtests/slowsin.c: New file.
18692 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18693 (bench): Add slowexp and slowpow.
18694 (exp-ITER): Increase iterations.
18695 (pow-ITER): Likewise.
18696 * benchtests/exp-inputs: Change input.
18697 * benchtests/pow-inputs: Likewise.
18698 * benchtests/slowexp-inputs: New file.
18699 * benchtests/slowexp.c: New file.
18700 * benchtests/slowpow-inputs: New file.
18701 * benchtests/slowpow.c: New file.
18703 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18705 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18707 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18708 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18709 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18710 * benchtests/Makefile: Add rint benchtest.
18711 * benchtests/rint-inputs: Input for rint benchtest.
18713 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18715 * Versions.def (libm): Add GLIBC_2.18.
18716 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18717 hidden libm prototypes.
18718 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18719 * math/Makefile (libm-calls): Add s_issignaling.
18720 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18721 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18722 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18724 * math/math.h [__USE_GNU] (issignaling): New macro.
18725 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18726 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18727 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18728 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18729 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18730 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18731 * manual/arith.texi (issignaling): New section.
18732 * manual/libm-err-tab.pl (@all_functions): Update comment.
18733 * math/gen-libm-test.pl (parse_args): Apply special handling for
18735 * math/libm-test.inc (print_float, issignaling_test): New
18737 (check_float_internal): Add issignaling checks.
18738 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18739 default definition.
18740 * sysdeps/powerpc/math-tests.h: New file.
18741 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18743 * math/test-snan.c (TEST_FUNC): Likewise.
18745 2013-03-30 David S. Miller <davem@davemloft.net>
18747 * po/de.po: Update from translation team.
18749 2013-03-30 Joseph Myers <joseph@codesourcery.com>
18752 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18753 imaginary part less than 1.0 and real part less than 0.5
18755 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18756 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18757 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18758 (cacos_test): Add more tests.
18759 (casin_test): Likewise.
18760 (casinh_test): Likewise.
18761 * sysdeps/i386/fpu/libm-test-ulps: Update.
18762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18764 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18766 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18767 ONE with its value.
18769 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18770 (__pow_mp): Replace ONE and MONE with their values.
18771 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18772 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18773 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18774 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18775 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18776 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18778 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18780 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18781 (__pow_mp): Replace ZERO and MZERO with their values.
18782 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18783 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18784 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18785 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18786 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18787 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18790 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18792 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18794 2013-03-28 Roland McGrath <roland@hack.frob.com>
18796 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18797 Declare with __attribute__ ((weak)).
18798 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18799 Call __call_tls_dtors only if it's not NULL.
18801 2013-03-28 Roland McGrath <roland@hack.frob.com>
18803 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18804 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18805 magic __ehdr_start linker symbol if it's defined.
18806 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18807 them up here if it was already done.
18809 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18810 (_dl_aux_init): Use const in cast when setting it.
18811 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18812 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18813 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18815 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18817 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18818 * csu/libc-tls.c: Nor here.
18819 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18821 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18822 (__libc_message): Never call vsyslog.
18824 2013-03-28 Alan Modra <amodra@gmail.com>
18826 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18828 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18831 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18834 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18838 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18841 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18842 Don't add gid passed as argument.
18844 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18846 2013-03-27 Joseph Myers <joseph@codesourcery.com>
18849 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18850 imaginary part between 1.0 and 1.5 and real part less than 0.5
18852 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18853 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18854 * math/libm-test.inc (cacos_test): Add more tests.
18855 (casin_test): Likewise.
18856 (casinh_test): Likewise.
18857 * sysdeps/i386/fpu/libm-test-ulps: Update.
18858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18860 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18862 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18865 (denorm): Likewise.
18866 (__dbl_mp): Likewise.
18867 (add_magnitudes): Likewise.
18868 (sub_magnitudes): Likewise.
18876 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18878 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18879 (__dubcos): Likewise.
18880 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18881 (__ieee754_acos): Likewise.
18882 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18883 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18884 (__exp1): Likewise.
18885 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18886 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18888 (my_log2): Likewise.
18889 (checkint): Likewise.
18890 * sysdeps/ieee754/dbl-64/e_remainder.c
18891 (__ieee754_remainder): Likewise.
18892 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18893 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18894 (bsloww): Likewise.
18895 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18897 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18898 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18899 MANTISSA_STORE_T to store computations on mantissa. Use
18900 macros for rounding and division.
18901 (denorm): Likewise.
18902 (__dbl_mp): Likewise.
18903 (add_magnitudes): Likewise.
18904 (sub_magnitudes): Likewise.
18907 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18908 powers of two in terms of TWOPOW macro.
18909 (mp_no): Make type of mantissa as MANTISSA_T.
18910 [!RADIXI]: Define RADIXI.
18911 [!TWO52]: Define TWO52.
18912 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18914 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18916 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18917 llroundl symbol when building for PPC32.
18919 2013-03-24 Mark H Weaver <mhw@netris.org>
18921 * manual/arith.texi (Normalization Functions): Fix prototypes for
18922 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18924 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18927 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18928 high value to check if expl overflow.
18929 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18930 to check for underflow and overflow.
18931 * math/libm-test.inc: Add exp test.
18933 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18936 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18939 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18941 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18944 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18946 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18947 wrap blocks consisting of several statements.
18949 * sysdeps/generic/math-tests.h: New file.
18950 * sysdeps/i386/fpu/math-tests.h: Likewise.
18951 * math/test-snan.c: Include it.
18952 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18954 2013-03-21 Joseph Myers <joseph@codesourcery.com>
18957 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18958 (__ieee754_j0l): Do not improve calculations using cos of twice
18959 input for inputs above LDBL_MAX / 2.0L.
18960 (__ieee754_y0l): Likewise.
18961 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18962 (__ieee754_j1l): Do not improve calculations using cos of twice
18963 input for inputs above LDBL_MAX / 2.0L.
18964 (__ieee754_y1l): Likewise.
18965 * math/libm-test.inc (j0_test): Add another test.
18966 (j1_test): Likewise.
18967 (y0_test): Likewise.
18968 (y1_test): Likewise.
18969 * sysdeps/i386/fpu/libm-test-ulps: Update.
18971 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18973 * Rules ($(objpfx)bench-%.c): Include code from a C source
18976 2013-03-21 Joseph Myers <joseph@codesourcery.com>
18979 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18980 imaginary part 1.0 and real part less than 0.5 specially.
18981 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18982 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18983 * math/libm-test.inc (cacos_test): Add more tests.
18984 (casin_test): Likewise.
18985 (casinh_test): Likewise.
18986 * sysdeps/i386/fpu/libm-test-ulps: Update.
18987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18989 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18991 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18992 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18994 2013-03-20 Joseph Myers <joseph@codesourcery.com>
18996 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18997 * config.make.in (config-cflags-sse4): Remove variable.
18998 (config-cflags-avx): Likewise.
18999 (config-cflags-sse2avx): Likewise.
19000 (config-cflags-novzeroupper): Likewise.
19001 (config-asflags-i686): Likewise.
19002 (have-mfma4): Likewise.
19003 (have-as-vis3): Likewise.
19005 * configure.in (MIG): Do not AC_SUBST.
19006 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19007 (libc_cv_cc_sse4): Do not AC_SUBST.
19008 (libc_cv_cc_avx): Likewise.
19009 (libc_cv_cc_sse2avx): Likewise.
19010 (libc_cv_cc_novzeroupper): Likewise.
19011 (libc_cv_cc_fma4): Likewise.
19012 (libc_cv_as_i686): Likewise.
19013 (libc_cv_sparc_as_vis3): Likewise.
19014 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19016 (config-asflags-i686): Likewise.
19017 (config-cflags-avx): Likewise.
19018 (config-cflags-sse2avx): Likewise.
19019 (have-mfma4): Likewise.
19020 (config-cflags-novzeroupper): Likewise.
19021 * sysdeps/mach/configure.in (MIG): Likewise.
19022 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19023 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19025 (config-cflags-avx): Likewise.
19026 (config-cflags-sse2avx): Likewise.
19027 (have-mfma4): Likewise.
19028 (config-cflags-novzeroupper): Likewise.
19029 * configure: Regenerated.
19030 * sysdeps/i386/configure: Likewise.
19031 * sysdeps/mach/configure: Likewise.
19032 * sysdeps/sparc/configure: Likewise.
19033 * sysdeps/x86_64/configure: Likewise.
19035 2013-03-20 Roland McGrath <roland@hack.frob.com>
19038 * locale/programs/localedef.c (options): Put N_ translation marker
19039 on argument names, not just descriptions.
19041 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19043 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19045 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19048 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19050 2013-03-19 Roland McGrath <roland@hack.frob.com>
19052 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19053 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19054 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19055 [!BEFORE_ABORT] (before_abort): New function.
19056 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19057 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19058 (writev_for_fatal): New function.
19059 (WRITEV_FOR_FATAL): New macro; call that.
19060 (backtrace_and_maps): New function.
19061 (BEFORE_ABORT): New macro; call that.
19062 (struct str_list): Type removed.
19063 (__libc_message, __libc_fatal): Functions removed.
19064 Include <sysdeps/posix/libc_fatal.c> instead.
19066 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19068 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19070 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19073 2013-03-19 Andreas Schwab <schwab@suse.de>
19075 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19076 * sysdeps/gnu/configure: Regenerate.
19078 * configure.in: Substitute libc_cv_rtlddir.
19079 * configure: Regenerate.
19080 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19081 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19082 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19083 * elf/Makefile (install-others, CFLAGS-interp.c)
19084 (ldso_install, common-ldd-rewrite): Likewise.
19085 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19086 $(inst_slibdir)/$(rtld-installed-name).
19087 * scripts/rellns-sh: Add -p option.
19088 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19091 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19093 * manual/nptl.texi: Renamed to ...
19094 * manual/threads.texi: ... this.
19095 * manual/Makefile (chapters): Update.
19097 2013-03-18 Roland McGrath <roland@hack.frob.com>
19100 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19101 on argument names, not just descriptions.
19102 * malloc/memusagestat.c (options): Likewise.
19103 * nss/getent.c (options): Likewise.
19105 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
19108 * iconv/iconv_prog.c (options): Put N_ translation marker
19109 on argument names, not just descriptions.
19110 * iconv/iconvconfig.c (options): Likewise.
19112 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
19114 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19115 implementation which is faster on all x86_64 architectures.
19116 Tested on AMD, Intel Nehalem, SNB, IVB.
19117 * sysdeps/x86_64/strnlen.S: Likewise.
19119 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19120 Remove all multiarch strlen and strnlen versions.
19121 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19122 Remove strlen and strnlen related parts.
19124 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19125 Inline strlen part.
19126 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19128 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19129 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19130 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19131 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19132 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19133 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19135 2013-03-17 Carlos O'Donell <carlos@redhat.com>
19137 * manual/memory.texi (Malloc Tunable Parameters):
19138 Sort parameters alphabetically. Add comments for missing entries.
19140 2013-03-17 David S. Miller <davem@davemloft.net>
19142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19144 2013-03-16 Joseph Myers <joseph@codesourcery.com>
19147 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19148 for arguments at most half maximum finite value.
19149 * math/libm-test.inc (j0_test): Add more tests.
19150 (j1_test): Likewise.
19151 (y0_test): Likewise.
19152 (y1_test): Likewise.
19153 * sysdeps/i386/fpu/libm-test-ulps: Update.
19154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19157 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19158 1 / x and functions P and Q for arguments above 0x1p256L.
19159 (__ieee754_y0l): Likewise.
19160 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19161 (__ieee754_y1l): Likewise.
19162 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19163 (j1_test): Likewise.
19164 (y0_test): Likewise.
19165 (y1_test): Likewise.
19167 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19169 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19172 2013-03-15 Roland McGrath <roland@hack.frob.com>
19174 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19175 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19176 zero since it's initialized to EXEC_PAGESIZE.
19178 * sysdeps/unix/sysv/linux/ldsodefs.h
19179 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19180 * sysdeps/generic/ldsodefs.h: ... here.
19182 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19184 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19186 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19188 * math/test-snan.c: Renamed from
19189 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19190 * math/Makefile (tests): Add test-snan.
19191 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19194 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19195 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19197 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19198 __builtin_nan family of functions.
19199 * math/libm-test.inc (initialize): Initialize qnan_value with
19200 __builtin_nan family of functions.
19201 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19203 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19205 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19206 storage class. Initialize qNaN_var and sNaN_var with
19207 __builtin_nan and __builtin_nans families of functions,
19210 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19211 (sqrt_test): Remove duplicate test with qNaN input.
19212 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19213 (round_test, signbit_test, significand_test): Note missing +/-Inf
19214 as well as qNaN tests.
19216 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19217 qNaN_var. Fix a few strings, too.
19218 * math/libm-test.inc (nan_value): Rename to qnan_value.
19219 * math/gen-libm-test.pl (%beautify): Adjust to that.
19220 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19221 * math/test-misc.c (main): Likewise.
19222 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19223 to __qnan_bytes, and __qnan_union, respectively.
19224 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19226 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19227 and lqnanval, respectively.
19228 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19229 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19230 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19231 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19233 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19234 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19237 * math/test-misc.c (main): Fix copy'n'pastos.
19238 * misc/tst-efgcvt.c (special): Likewise.
19240 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19241 Remove declarations.
19243 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19245 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19246 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19247 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19248 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19250 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19252 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19253 macro to return vdso values correctly in IFUNC implementations.
19254 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19255 Optimization by using IFUNC.
19257 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19258 Richard Henderson <rth@redhat.com>
19259 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19261 * Makefile.in (bench): New target.
19262 * NEWS: Mention the benchmark framework.
19263 * Rules (bench): Likewise.
19264 (binaries-bench): Generate binaries for functions to
19266 * benchtests/Makefile: New makefile for benchmark tests.
19267 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19269 * benchtests/exp-inputs: New input file for EXP function.
19270 * benchtests/pow-inputs: New input file for POW function.
19271 * scripts/bench.pl: New script to generate source files for
19272 benchmark programs.
19274 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19276 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19277 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19278 computations on mantissa. Use macros for rounding and
19280 (denorm): Likewise.
19281 (__dbl_mp): Likewise.
19282 (add_magnitudes): Likewise.
19283 (sub_magnitudes): Likewise.
19286 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19287 powers of two in terms of TWOPOW macro.
19288 (mp_no): Make type of mantissa as MANTISSA_T.
19289 [!RADIXI]: Define RADIXI.
19290 [!TWO52]: Define TWO52.
19291 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19293 * manual/nptl.texi (cindex): Modify threads to pthreads.
19295 2013-03-15 Joseph Myers <joseph@codesourcery.com>
19297 * sysdeps/x86_64/preconfigure: Regenerated.
19299 2013-03-14 Joseph Myers <joseph@codesourcery.com>
19302 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19304 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19305 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19307 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19308 * math/libm-test.inc (j0_test): Do not allow one spurious
19309 underflow exception.
19310 (y1_test): Likewise.
19312 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19314 * manual/Makefile (chapters): Add nptl.
19315 * manual/debug.texi (Debugging Support): Add link to Threads
19317 * manual/nptl.texi: New file.
19319 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19321 2013-03-14 Petr Baudis <pasky@ucw.cz>
19323 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19324 for non-NULL pointer before the memory validity test. Pointed
19325 out by Holger Brunck <holger.brunck@keymile.com>.
19327 2013-03-13 Andreas Schwab <schwab@suse.de>
19329 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19332 2013-03-13 Joseph Myers <joseph@codesourcery.com>
19334 * timezone/zic.c: Update from tzcode 2013b.
19336 2013-03-12 Carlos O'Donell <carlos@redhat.com>
19338 * manual/install.texi (Configuring and compiling):
19339 Mention i686 and i586.
19340 * INSTALL: Regenerate.
19342 2013-03-12 Roland McGrath <roland@hack.frob.com>
19344 * sysdeps/init_array/elf-init.c: New file.
19346 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19347 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19349 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19350 __gmon_start__ as global, but as static with a .preinit_array pointer.
19351 * sysdeps/init_array/gmon-start.c: New file. Use that.
19352 * sysdeps/init_array/crti.S: New file, empty except for comments.
19353 * sysdeps/init_array/crtn.S: Likewise.
19355 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
19357 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19360 Remove Prefer_SSE_for_memop.
19361 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19362 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19363 HAS_PREFER_SSE_FOR_MEMOP.
19364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19366 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19367 Remove bzero, memset ifunc support.
19368 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19369 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19370 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19371 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19373 2013-03-11 Andreas Schwab <schwab@suse.de>
19376 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19379 (GLIBC_2.16): Remove pthread_atfork.
19381 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19383 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19384 (ptestcases.h): Likewise.
19386 2013-03-08 Roland McGrath <roland@hack.frob.com>
19388 * Makeconfig ($(common-objpfx)config.status): Depend on
19389 sysdeps/*/preconfigure{,.in} too.
19391 2013-03-08 Joseph Myers <joseph@codesourcery.com>
19393 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19394 (__free_hook): Use void * instead of __malloc_ptr_t.
19395 (__malloc_hook): Likewise.
19396 (__realloc_hook): Likewise.
19397 (__memalign_hook): Likewise.
19398 (__after_morecore_hook): Likewise.
19399 * malloc/arena.c (save_malloc_hook): Likewise.
19400 (save_free_hook): Likewise.
19401 * malloc/hooks.c (malloc_hook_ini): Likewise.
19402 (realloc_hook_ini): Likewise.
19403 (memalign_hook_ini): Likewise.
19404 * malloc/malloc.c (malloc_hook_ini): Likewise.
19405 (realloc_hook_ini): Likewise.
19406 (memalign_hook_ini): Likewise.
19407 (__free_hook): Likewise.
19408 (__malloc_hook): Likewise.
19409 (__realloc_hook): Likewise.
19410 (__memalign_hook): Likewise.
19411 (__libc_malloc): Likewise.
19412 (__libc_free): Likewise.
19413 (__libc_realloc): Likewise.
19414 (__libc_memalign): Likewise.
19415 (__libc_valloc): Likewise.
19416 (__libc_pvalloc): Likewise.
19417 (__libc_calloc): Likewise.
19418 (__posix_memalign): Likewise.
19419 * malloc/morecore.c (__sbrk): Likewise.
19420 (__default_morecore): Likewise.
19422 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19424 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19425 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19426 __malloc_ptrdiff_t.
19428 * malloc/malloc.h (__malloc_size_t): Remove macro.
19429 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19431 (old_memalign_hook): Likewise.
19432 (old_realloc_hook): Likewise.
19433 (struct hdr): Likewise.
19435 (mallochook): Likewise.
19436 (memalignhook): Likewise.
19437 (reallochook): Likewise.
19438 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19439 (tr_old_realloc_hook): Likewise.
19440 (tr_old_memalign_hook): Likewise.
19441 (tr_mallochook): Likewise.
19442 (tr_reallochook): Likewise.
19443 (tr_memalignhook): Likewise.
19445 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19447 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19448 default_ldbl_pack and using as default implementation.
19449 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19451 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19452 redundant definition.
19453 (ldbl_insert_mantissa): Likewise.
19454 (ldbl_canonicalize): Likewise.
19455 (ldbl_nearbyint): Likewise.
19456 (ldbl_pack): Rename to ldbl_pack_ppc.
19457 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19458 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19459 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19461 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19464 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19465 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19466 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19468 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19469 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19470 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19472 2013-03-07 Andreas Jaeger <aj@suse.de>
19474 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19477 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19479 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19480 Include mpa.h and declare __MPEXP.
19481 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19482 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19483 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19484 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19485 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19486 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19487 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19489 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19490 (__slowpow): Use long double EXPL and LOGL functions to
19492 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19493 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19494 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19495 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19496 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19497 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19500 intermediate variable to calculate exponent.
19502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19506 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19507 [!NO__SQR]: Define __sqr.
19508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19509 and NO__SQR. Remove all code except __mul and __sqr. Include
19510 sysdeps/ieee754/dbl-64/mpa.c.
19511 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19514 * posix/Makefile (tests): Add tst-pathconf.
19515 * posix/tst-pathconf.c: New test case.
19516 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19518 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19520 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
19522 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19524 2013-03-06 Andreas Jaeger <aj@suse.de>
19526 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19527 definition via __MAP_ANONYMOUS.
19529 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19530 it's not part of Linux headers.
19532 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19533 (MAP_HUGE_MASK): Define.
19535 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19537 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19538 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19540 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19541 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19543 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19544 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19546 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19548 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19549 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19550 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19551 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19552 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19553 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19555 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19558 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19559 Handle f2fs and efivarfs.
19561 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19564 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19565 (EFIVARFS_MAGIC): Add.
19566 (F2FS_LINK_MAX): Add.
19568 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19570 * stdio-common/vfprintf.c: Replace __builtin_expect with
19573 2013-03-06 Joseph Myers <joseph@codesourcery.com>
19576 * sysdeps/generic/bp-sym.h: Remove file.
19577 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19578 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19579 <bp-sym.h> and <bp-asm.h>.
19580 (__longjmp): Don't use BP_SYM.
19581 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19583 (memcpy): Don't use BP_SYM.
19584 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19585 <bp-sym.h> and <bp-asm.h>.
19586 (memcpy): Don't use BP_SYM.
19587 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19589 (memcpy): Don't use BP_SYM.
19590 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19592 (memset): Don't use BP_SYM.
19593 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19594 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19595 (__bzero): Don't use BP_SYM.
19596 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19597 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19598 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19599 <bp-sym.h> and <bp-asm.h>.
19600 (memcmp): Don't use BP_SYM. Remove comment about bounded
19602 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19603 <bp-sym.h> and <bp-asm.h>.
19604 (memcpy): Don't use BP_SYM.
19605 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19606 <bp-sym.h> and <bp-asm.h>.
19607 (memset): Don't use BP_SYM.
19608 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19609 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19610 (__bzero): Don't use BP_SYM.
19611 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19612 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19613 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19614 <bp-sym.h> and <bp-asm.h>.
19615 (strncmp): Don't use BP_SYM. Remove comment about bounded
19617 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19618 <bp-sym.h> and <bp-asm.h>.
19619 (memcpy): Don't use BP_SYM.
19620 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19621 <bp-sym.h> and <bp-asm.h>.
19622 (memset): Don't use BP_SYM.
19623 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19624 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19625 (__bzero): Don't use BP_SYM.
19626 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19627 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19628 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19629 <bp-sym.h> and <bp-asm.h>.
19630 (__memchr): Don't use BP_SYM.
19631 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19632 <bp-sym.h> and <bp-asm.h>.
19633 (memcmp): Don't use BP_SYM. Remove comment about bounded
19635 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19636 <bp-sym.h> and <bp-asm.h>.
19637 (memcpy): Don't use BP_SYM.
19638 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19639 <bp-sym.h> and <bp-asm.h>.
19640 (__mempcpy): Don't use BP_SYM.
19641 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19642 <bp-sym.h> and <bp-asm.h>.
19643 (__memrchr): Don't use BP_SYM.
19644 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19645 <bp-sym.h> and <bp-asm.h>.
19646 (memset): Don't use BP_SYM.
19647 (__bzero): Likewise.
19648 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19649 <bp-sym.h> and <bp-asm.h>.
19650 (__rawmemchr): Don't use BP_SYM.
19651 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19652 <bp-sym.h> and <bp-asm.h>.
19653 (__STRCMP): Don't use BP_SYM.
19654 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19655 <bp-sym.h> and <bp-asm.h>.
19656 (strchr): Don't use BP_SYM.
19657 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19658 <bp-sym.h> and <bp-asm.h>.
19659 (__strchrnul): Don't use BP_SYM.
19660 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19661 <bp-sym.h> and <bp-asm.h>.
19662 (strlen): Don't use BP_SYM.
19663 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19664 <bp-sym.h> and <bp-asm.h>.
19665 (strncmp): Don't use BP_SYM. Remove comment about bounded
19667 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19668 <bp-sym.h> and <bp-asm.h>.
19669 (__strnlen): Don't use BP_SYM.
19670 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19671 <bp-sym.h> and <bp-asm.h>.
19672 (__GI__setjmp): Don't use BP_SYM.
19673 (_setjmp): Likewise.
19674 (__sigsetjmp): Likewise.
19675 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19676 (L(start_addresses)): Don't use BP_SYM.
19677 (_start): Likewise.
19678 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19680 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19681 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19682 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19683 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19684 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19686 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19687 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19688 about bounded pointers.
19689 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19690 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19691 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19693 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19694 about bounded pointers. Remove GKM FIXME comments.
19695 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19696 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19698 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19699 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19700 Remove GKM FIXME comments.
19701 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19702 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19703 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19705 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19706 about bounded pointers. Remove GKM FIXME comment.
19707 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19709 (strncmp): Don't use BP_SYM. Remove comment about bounded
19711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19712 <bp-sym.h> and <bp-asm.h>.
19713 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19715 <bp-sym.h> and <bp-asm.h>.
19716 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19719 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19721 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19724 2013-03-05 David S. Miller <davem@davemloft.net>
19726 * po/es.po: Update from translation team.
19728 2013-03-05 Andreas Jaeger <aj@suse.de>
19730 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19731 <bits/mman-linux.h>.
19732 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19734 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19735 <bits/mman-linux.h> to end of file.
19736 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19738 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19739 <bits/mman-linux.h> to end of file.
19740 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19742 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19743 <bits/mman-linux.h> to end of file.
19745 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19746 (MCL_CURRENT, MCL_FUTURE): Define here.
19748 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19751 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19753 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19755 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19757 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19758 fourth parameter needed for rt_sigprocmask syscall.
19759 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19760 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19761 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19762 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19763 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19764 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19766 2013-03-04 Joseph Myers <joseph@codesourcery.com>
19769 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19770 comment about bounded pointers.
19771 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19772 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19774 2013-03-04 Andreas Jaeger <aj@suse.de>
19776 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19777 common definitions.
19779 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19780 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19781 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19782 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19783 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19784 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19786 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19789 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19790 __ieee754_sqrl instead of __sqrl.
19792 2013-03-01 Joseph Myers <joseph@codesourcery.com>
19794 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19795 * sysdeps/powerpc/fpu_control.h: ... here.
19796 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19797 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19798 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19799 * sysdeps/powerpc/bits/mathinline.h: ... here.
19801 2013-03-01 Roland McGrath <roland@hack.frob.com>
19803 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19804 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19805 to just [NEED_DL_SYSINFO_DSO].
19806 * elf/dl-support.c: Likewise.
19807 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19808 * elf/rtld.c (dl_main): Likewise.
19809 * elf/setup-vdso.h (setup_vdso): Likewise.
19810 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19811 * sysdeps/unix/sysv/linux/dl-sysdep.c
19812 (_dl_discover_osversion): Likewise.
19814 2013-03-01 Carlos O'Donell <carlos@redhat.com>
19816 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19817 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19819 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19821 * NEWS: Mention libm performance improvements and non-x86 PI
19824 * csu/libc-start.c (__pthread_initialize_minimal): Change
19825 function arguments.
19826 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19828 2013-02-28 Joseph Myers <joseph@codesourcery.com>
19831 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19832 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19833 <bp-sym.h> and <bp-asm.h>.
19834 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19835 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19837 (memcpy): Don't use BP_SYM.
19838 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19840 (__mpn_add_n): Don't use BP_SYM.
19841 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19842 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19844 (__mpn_addmul_1): Don't use BP_SYM.
19845 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19846 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19848 (_setjmp): Don't use BP_SYM.
19849 (__novmx_setjmp): Likewise.
19850 (__GI__setjmp): Likewise.
19851 (__vmx_setjmp): Likewise.
19852 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19854 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19855 (__bzero): Don't use BP_SYM.
19856 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19857 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19858 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19859 <bp-sym.h> and <bp-asm.h>.
19860 (memcpy): Don't use BP_SYM.
19861 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19862 <bp-sym.h> and <bp-asm.h>.
19863 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19864 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19865 <bp-sym.h> and <bp-asm.h>.
19866 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19867 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19869 (__mpn_lshift): Don't use BP_SYM.
19870 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19871 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19873 (memset): Don't use BP_SYM.
19874 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19875 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19876 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19878 (__mpn_mul_1): Don't use BP_SYM.
19879 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19880 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19881 <bp-sym.h> and <bp-asm.h>.
19882 (memcmp): Don't use BP_SYM.
19883 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19884 <bp-sym.h> and <bp-asm.h>.
19885 (memcpy): Don't use BP_SYM.
19886 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19887 <bp-sym.h> and <bp-asm.h>.
19888 (memset): Don't use BP_SYM.
19889 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19890 <bp-sym.h> and <bp-asm.h>.
19891 (strncmp): Don't use BP_SYM.
19892 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19893 <bp-sym.h> and <bp-asm.h>.
19894 (memcpy): Don't use BP_SYM.
19895 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19896 <bp-sym.h> and <bp-asm.h>.
19897 (memset): Don't use BP_SYM.
19898 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19899 <bp-sym.h> and <bp-asm.h>.
19900 (__memchr): Don't use BP_SYM.
19901 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19902 <bp-sym.h> and <bp-asm.h>.
19903 (memcmp): Don't use BP_SYM.
19904 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19905 <bp-sym.h> and <bp-asm.h>.
19906 (memcpy): Don't use BP_SYM.
19907 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19908 <bp-sym.h> and <bp-asm.h>.
19909 (__mempcpy): Don't use BP_SYM.
19910 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19911 <bp-sym.h> and <bp-asm.h>.
19912 (__memrchr): Don't use BP_SYM.
19913 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19914 <bp-sym.h> and <bp-asm.h>.
19915 (memset): Don't use BP_SYM.
19916 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19917 <bp-sym.h> and <bp-asm.h>.
19918 (__rawmemchr): Don't use BP_SYM.
19919 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19920 <bp-sym.h> and <bp-asm.h>.
19921 (__STRCMP): Don't use BP_SYM.
19922 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19923 <bp-sym.h> and <bp-asm.h>.
19924 (strchr): Don't use BP_SYM.
19925 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19926 <bp-sym.h> and <bp-asm.h>.
19927 (__strchrnul): Don't use BP_SYM.
19928 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19929 <bp-sym.h> and <bp-asm.h>.
19930 (strlen): Don't use BP_SYM.
19931 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19932 <bp-sym.h> and <bp-asm.h>.
19933 (strncmp): Don't use BP_SYM.
19934 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19935 <bp-sym.h> and <bp-asm.h>.
19936 (__strnlen): Don't use BP_SYM.
19937 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19939 (__mpn_rshift): Don't use BP_SYM.
19940 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19941 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19942 <bp-sym.h> and <bp-asm.h>.
19943 (__sigsetjmp): Don't use BP_SYM.
19944 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19945 (L(start_addresses)): Don't use BP_SYM.
19946 (_start): Likewise.
19947 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19949 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19950 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19951 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19952 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19954 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19955 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19956 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19957 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19959 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19961 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19962 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19964 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19966 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19967 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19968 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19970 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19972 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19974 (strncmp): Don't use BP_SYM,
19975 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19977 (__mpn_sub_n): Don't use BP_SYM.
19978 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19979 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19981 (__mpn_submul_1): Don't use BP_SYM.
19982 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19984 <bp-sym.h> and <bp-asm.h>.
19985 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19987 <bp-sym.h> and <bp-asm.h>.
19988 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19991 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19993 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19994 Use ZK to minimize writes to Z.
19995 (sub_magnitudes): Simplify code a bit.
19996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19997 Use ZK to minimize writes to Z.
19998 (sub_magnitudes): Simplify code a bit.
20000 2013-02-27 Roland McGrath <roland@hack.frob.com>
20002 * csu/gmon-start.c: Add special exception to license text.
20004 2013-02-27 Richard Henderson <rth@redhat.com>
20006 * scripts/config.guess: Update from config.git.
20007 * scripts/config.sub: Likewise.
20009 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20011 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20013 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20015 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20017 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20019 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20021 2013-02-26 Roland McGrath <roland@hack.frob.com>
20023 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20024 [$(build-shared = yes].
20026 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20028 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20029 (__mul): Reduce iterations for calculating mantissa.
20031 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20033 (__mpranred): Likewise.
20036 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20037 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20039 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20041 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20042 Define __attribute__.
20044 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20046 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20048 * posix/regex_internal.h (__attribute): Remove.
20049 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20050 (re_string_context_at): Likewise.
20051 (bitset_not): Use __attribute__ and mark function as possibly
20053 (bitset_merge): Likewise.
20054 (bitset_mask): Likewise.
20055 (re_string_char_size_at): Likewise.
20056 (re_string_wchar_at): Likewise.
20057 (re_string_elem_size_at): Likewise.
20059 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20061 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20065 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20069 (denorm): Likewise.
20070 (__dbl_mp): Likewise.
20071 (add_magnitudes): Likewise.
20072 (sub_magnitudes): Likewise.
20076 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20079 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20082 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20085 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20086 up changes with default code.
20087 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20090 2013-02-24 Allan McRae <allan@archlinux.org>
20092 * manual/socket.texi (The Internet Namespace): Order menu items
20093 to match that in the file.
20095 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20096 node listing of the info page menu.
20098 2013-02-21 Joseph Myers <joseph@codesourcery.com>
20101 * sysdeps/i386/bp-asm.h: Remove file.
20102 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20103 (PARMS): Do not use macros from bp-asm.h.
20107 (__mpn_add_n): Do not use BP_SYM
20108 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20110 (PARMS): Do not use macros from bp-asm.h.
20113 (__mpn_addmul_1): Do not use BP_SYM
20114 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20116 (PARMS): Do not use macros from bp-asm.h.
20117 (SIGMSK): Likewise.
20118 (_setjmp): Likewise. Do not use BP_SYM.
20119 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20121 (PARMS): Do not use macros from bp-asm.h.
20122 (SIGMSK): Likewise.
20123 (setjmp): Likewise. Do not use BP_SYM.
20124 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20126 (PARMS): Do not use macros from bp-asm.h.
20127 (__frexp): Do not use BP_SYM.
20129 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20131 (PARMS): Do not use macros from bp-asm.h.
20132 (__frexpf): Do not use BP_SYM.
20133 (frexpf): Likewise.
20134 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20136 (PARMS): Do not use macros from bp-asm.h.
20137 (__frexpl): Do not use BP_SYM.
20138 (frexpl): Likewise.
20139 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20141 (PARMS): Do not use macros from bp-asm.h.
20142 (__remquo): Do not use BP_SYM.
20143 (remquo): Likewise.
20144 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20146 (PARMS): Do not use macros from bp-asm.h.
20147 (__remquof): Do not use BP_SYM.
20148 (remquof): Likewise.
20149 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20151 (PARMS): Do not use macros from bp-asm.h.
20152 (__remquol): Do not use BP_SYM.
20153 (remquol): Likewise.
20154 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20156 (PARMS): Do not use macros from bp-asm.h.
20159 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20160 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20162 (PARMS): Do not use macros from bp-asm.h.
20163 (strlen): Do not use BP_SYM.
20164 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20166 (PARMS): Do not use macros from bp-asm.h.
20170 (__mpn_add_n): Do not use BP_SYM.
20171 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20173 (PARMS): Do not use macros from bp-asm.h.
20176 (__mpn_addmul_1): Do not use BP_SYM.
20177 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20180 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20182 (PARMS): Do not use macros from bp-asm.h.
20185 (__mpn_lshift): Do not use BP_SYM.
20186 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20188 (PARMS): Do not use macros from bp-asm.h.
20192 (memcpy): Likewise. Do not use BP_SYM.
20193 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20194 libc_hidden_def and weak_alias.
20195 (mempcpy): Do not use BP_SYM in weak_alias.
20196 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20198 (PARMS): Do not use macros from bp-asm.h.
20201 [!BZERO_P] (CHR): Likewise.
20202 (memset): Likewise. Do not use BP_SYM.
20203 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20205 (PARMS): Do not use macros from bp-asm.h.
20208 (__mpn_mul_1): Do not use BP_SYM.
20209 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20211 (PARMS): Do not use macros from bp-asm.h.
20214 (__mpn_rshift): Do not use BP_SYM.
20215 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20217 (PARMS): Do not use macros from bp-asm.h.
20220 (strchr): Likewise. Do not use BP_SYM.
20221 (index): Do not use BP_SYM in weak_alias.
20222 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20224 (PARMS): Do not use macros from bp-asm.h.
20227 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20228 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20230 (PARMS): Do not use macros from bp-asm.h.
20231 (strlen): Do not use BP_SYM.
20232 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20234 (PARMS): Do not use macros from bp-asm.h.
20238 (__mpn_sub_n): Do not use BP_SYM.
20239 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20241 (PARMS): Do not use macros from bp-asm.h.
20244 (__mpn_submul_1): Do not use BP_SYM.
20245 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20247 (PARMS): Do not use macros from bp-asm.h.
20251 (__mpn_add_n): Do not use BP_SYM.
20252 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20255 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20257 (PARMS): Do not use macros from bp-asm.h.
20260 (memcmp): Do not use BP_SYM.
20261 (bcmp): Do not use BP_SYM in weak_alias.
20262 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20264 (PARMS): Do not use macros from bp-asm.h.
20268 (memcpy): Likewise. Do not use BP_SYM.
20269 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20271 (PARMS): Do not use macros from bp-asm.h.
20275 (memmove): Likewise. Do not use BP_SYM.
20276 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20278 (PARMS): Do not use macros from bp-asm.h.
20282 (__mempcpy): Likewise. Do not use BP_SYM.
20283 (mempcpy): Do not use BP_SYM in weak_alias.
20284 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20286 (PARMS): Do not use macros from bp-asm.h.
20289 [!BZERO_P] (CHR): Likewise.
20290 (memset): Likewise. Do not use BP_SYM.
20291 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20293 (PARMS): Do not use macros from bp-asm.h.
20295 (strcmp): Do not use BP_SYM.
20296 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20298 (PARMS): Do not use macros from bp-asm.h.
20301 [USE_AS_STRTOK_R] (SAVE): Likewise.
20302 (FUNCTION): Likewise. Do not use BP_SYM.
20303 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20305 (strtok_r): Likewise.
20306 (__GI___strtok_r): Likewise.
20307 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20308 (PARMS): Do not use macros from bp-asm.h.
20311 (__mpn_lshift): Do not use BP_SYM.
20312 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20313 (PARMS): Do not use macros from bp-asm.h.
20316 (__memchr): Do not use BP_SYM.
20317 (memchr): Do not use BP_SYM in weak_alias.
20318 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20319 (PARMS): Do not use macros from bp-asm.h.
20322 (memcmp): Do not use BP_SYM.
20323 (bcmp): Do not use BP_SYM in weak_alias.
20324 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20325 (PARMS): Do not use macros from bp-asm.h.
20328 (__mpn_mul_1): Do not use BP_SYM.
20329 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20331 (PARMS): Do not use macros from bp-asm.h.
20334 (__rawmemchr): Do not use BP_SYM.
20335 (rawmemchr): Do not use BP_SYM in weak_alias.
20336 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20337 (PARMS): Do not use macros from bp-asm.h.
20340 (__mpn_rshift): Do not use BP_SYM.
20341 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20342 (PARMS): Do not use macros from bp-asm.h.
20343 (SIGMSK): Likewise.
20344 (__sigsetjmp): Likewise. Do not use BP_SYM.
20345 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20346 (_start): Do not use BP_SYM.
20347 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20348 (PARMS): Do not use macros from bp-asm.h.
20351 (__stpcpy): Likewise. Do not use BP_SYM.
20352 (stpcpy): Do not use BP_SYM in weak_alias.
20353 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20355 (PARMS): Do not use macros from bp-asm.h.
20359 (__stpncpy): Likewise. Do not use BP_SYM.
20360 (stpncpy): Do not use BP_SYM in weak_alias.
20361 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20362 (PARMS): Do not use macros from bp-asm.h.
20365 (strchr): Likewise. Do not use BP_SYM.
20366 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20368 (PARMS): Do not use macros from bp-asm.h.
20371 (__strchrnul): Likewise. Do not use BP_SYM.
20372 (strchrnul): Do not use BP_SYM in weak_alias.
20373 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20375 (PARMS): Do not use macros from bp-asm.h.
20377 (strcspn): Do not use BP_SYM.
20378 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20380 (PARMS): Do not use macros from bp-asm.h.
20383 (strpbrk): Likewise. Do not use BP_SYM.
20384 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20386 (PARMS): Do not use macros from bp-asm.h.
20389 (strrchr): Likewise. Do not use BP_SYM.
20390 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20391 (PARMS): Do not use macros from bp-asm.h.
20393 (strspn): Do not use BP_SYM.
20394 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20395 (PARMS): Do not use macros from bp-asm.h.
20399 (FUNCTION): Likewise. Do not use BP_SYM.
20400 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20402 (strtok_r): Likewise.
20403 (__GI___strtok_r): Likewise.
20404 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20405 (PARMS): Do not use macros from bp-asm.h.
20409 (__mpn_sub_n): Do not use BP_SYM.
20410 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20412 (PARMS): Do not use macros from bp-asm.h.
20415 (__mpn_submul_1): Do not use BP_SYM.
20416 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20418 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20420 (PARMS): Do not use macros from bp-asm.h.
20425 (__clone): Do not use BP_SYM.
20426 (clone): Do not use BP_SYM in weak_alias.
20427 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20429 (PARMS): Do not use macros from bp-asm.h.
20431 (__mmap64): Do not use BP_SYM.
20432 (mmap64): Do not use BP_SYM in weak_alias.
20433 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20434 <bp-sym.h> and <bp-asm.h>.
20435 (PARMS): Do not use macros from bp-asm.h.
20436 (__posix_fadvise64_l64): Do not use BP_SYM.
20437 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20438 (PARMS): Do not use macros from bp-asm.h.
20440 (semtimedop): Do not use BP_SYM.
20441 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20444 2013-02-21 Allan McRae <allan@archlinux.org>
20446 * manual/message.texi (Charset conversion in gettext):
20447 Move @end statement to beginning of line.
20449 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20451 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20453 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20456 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20457 (denorm): Likewise.
20458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20461 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20463 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20464 tail-call to the resolved function if pltexit isn't needed.
20466 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20469 or Y being zero as being unlikely.
20470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20473 2013-02-20 Carlos O'Donell <carlos@redhat.com>
20475 * manual/nss.texi (System Databases and Name Service Switch):
20476 Remove frobnicate @pxref.
20478 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20480 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20481 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20483 2013-02-20 Petr Machata <pmachata@redhat.com>
20485 * elf/elf.h (R_ARM_TARGET1): New macro.
20486 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20487 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20488 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20489 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20490 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20491 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20492 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20493 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20494 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20495 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20496 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20497 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20498 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20499 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20500 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20501 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20502 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20503 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20504 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20505 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20506 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20507 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20508 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20509 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20510 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20511 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20512 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20513 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20514 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20515 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20516 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20517 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20518 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20519 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20520 (R_ARM_THM_GOT_BREL12): Likewise.
20521 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20522 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20523 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20524 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20525 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20526 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20527 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20528 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20529 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20531 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20533 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20534 __attribute_used__ to __attribute__ ((unused)).
20536 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20538 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20540 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20541 comment formatting.
20542 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20544 2013-02-19 Joseph Myers <joseph@codesourcery.com>
20547 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20549 (ENTER): Remove both macro definitions.
20551 (CHECK_BOUNDS_LOW): Likewise.
20552 (CHECK_BOUNDS_HIGH): Likewise.
20553 (CHECK_BOUNDS_BOTH): Likewise.
20554 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20555 (RETURN_BOUNDED_POINTER): Likewise.
20556 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20557 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20558 (POP_ERRNO_LOCATION_RETURN): Likewise.
20559 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20560 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20561 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20563 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20564 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20565 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20566 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20567 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20568 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20569 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20570 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20571 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20572 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20573 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20574 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20575 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20576 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20578 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20579 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20581 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20582 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20583 * sysdeps/i386/i586/memset.S (memset): Likewise.
20584 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20585 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20586 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20588 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20589 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20590 Change uses of L(2) to L(out).
20591 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20592 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20593 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20594 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20595 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20597 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20598 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20600 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20601 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20602 (RETURN): Do not use macro LEAVE.
20603 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20604 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20605 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20606 * sysdeps/i386/i686/memset.S (memset): Likewise.
20607 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20608 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20609 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20610 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20612 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20613 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20614 L(1_2) and L(1_3) into L(1).
20615 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20616 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20617 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20618 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20619 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20620 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20621 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20622 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20623 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20625 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20626 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20627 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20628 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20629 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20630 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20631 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20632 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20633 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20634 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20635 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20636 * sysdeps/i386/strspn.S (strspn): Likewise.
20637 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20639 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20640 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20641 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20642 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20643 L(1_3) into L(1_1).
20644 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20645 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20646 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20648 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20650 2013-02-19 Jakub Jelinek <jakub@redhat.com>
20652 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20655 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20657 * math/atest-exp.c (exp_mpn): Remove ROUND.
20658 * math/atest-exp2.c (exp_mpn): Likewise.
20659 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20661 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20662 * stdlib/tst-tls-atexit-lib.c: Likewise.
20663 * stdlib/tst-tls-atexit.c: Likewise.
20665 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20667 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20668 and __attribute_alloc_size__.
20670 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20672 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20673 __attribute_alloc_size__.
20674 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20675 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20677 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20679 * include/programs/xmalloc.h: New file.
20680 * catgets/gencat.c: Include it.
20681 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20682 * elf/pldd.c: Likewise.
20683 * iconv/iconv_charmap.c: Likewise.
20684 * iconv/iconvconfig.c: Likewise.
20685 * iconv/strtab.c: Likewise.
20686 * locale/programs/locale.c: Likewise.
20687 * locale/programs/localedef.h: Likewise.
20688 * locale/programs/simple-hash.c: Likewise.
20689 * nscd/nscd.h: Likewise.
20690 * nss/makedb.c: Likewise.
20691 * sysdeps/generic/ldconfig.h: Likewise.
20693 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20695 * Versions.def: Add GLIBC_2.18.
20696 * include/link.h (struct link_map): New member l_tls_dtor_count.
20697 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20698 (__call_tls_dtors): Likewise.
20699 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20700 __cxa_thread_atexit_impl.
20701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20709 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20717 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20718 (tests): Add test case tst-tls-atexit.
20719 (modules-names): Add shared library for tst-tls-atexit.
20720 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20721 (GLIBC_PRIVATE): Add __call_tls_dtors.
20722 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20724 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20725 * stdlib/tst-tls-atexit.c: New test case.
20726 * stdlib/tst-tls-atexit-lib.c: New test case.
20728 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20730 * elf/Versions (ld): Add _dl_find_dso_for_object.
20731 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20732 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20733 (dl_open_worker): Use _dl_find_dso_for_object.
20734 * elf/dl-sym.c (do_sym): Likewise.
20735 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20737 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20739 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20740 Syntactic changes only.
20741 (_dl_runtime_profile): Do a tail-call to the resolved function.
20743 2013-02-17 Joseph Myers <joseph@codesourcery.com>
20746 * sysdeps/x86_64/bp-asm.h: Remove file.
20747 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20748 <bp-sym.h> and <bp-asm.h>.
20749 (__clone): Do not use BP_SYM.
20750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20751 <bp-sym.h> and <bp-asm.h>.
20752 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20753 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20755 (_setjmp): Do not use BP_SYM.
20756 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20758 (setjmp): Do not use BP_SYM.
20759 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20761 (mempcpy): Do not use BP_SYM in weak_alias.
20762 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20764 (strchr): Do not use BP_SYM.
20765 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20767 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20768 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20769 (_start): Do not use BP_SYM.
20770 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20772 (strcat): Do not use BP_SYM.
20773 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20775 (STRCMP): Do not use BP_SYM.
20776 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20778 (STRCPY): Do not use BP_SYM.
20779 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20781 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20783 (FUNCTION): Do not use BP_SYM.
20784 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20786 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20788 2013-02-17 Andreas Jaeger <aj@suse.de>
20790 * time/Versions: Sort entries.
20791 * string/Versions: Likewise.
20792 * resolv/Versions: Likewise.
20793 * posix/Versions: Likewise.
20794 * iconv/Versions: Likewise.
20795 * elf/Versions: Likewise.
20796 * wcsmbs/Versions: Likewise.
20798 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20800 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20801 loop termination condition.
20803 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20804 variable to calculate EZ.
20807 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20808 the lower precision input.
20810 2013-02-15 Joseph Myers <joseph@codesourcery.com>
20813 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20814 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20815 (run-via-rtld-prefix): Do not handle %-bp tests.
20816 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20817 (all-object-suffixes): Remove .ob.
20818 (bppfx): Remove variable.
20819 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20820 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20821 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20822 [$(build-bounded) = yes] (libtype.ob): Likewise.
20823 * Makerules (elide-routines.ob): Remove variable.
20824 (do-tests-clean): Do not handle *-bp.out.
20825 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20826 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20827 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20828 (tests): Do not include $(tests-bp.out).
20829 (xtests): Do not include $(xtests-bp.out).
20830 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20831 [$(build-bounded) = yes] ($(addprefix
20832 $(objpfx),$(binaries-bounded))): Remove rule.
20833 ($(objpfx)%-bp.out): Remove rule.
20834 * config.make.in (build-bounded): Remove variable.
20835 * crypt/Makefile [$(build-bounded) = yes]
20836 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20837 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20838 append to variable.
20839 [$(build-bounded) = yes] (install-lib): Likewise.
20840 [$(build-bounded) = yes] (generated): Likewise.
20841 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20843 * intl/Makefile [$(build-bounded) = yes]
20844 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20845 * math/Makefile [$(build-bounded) = yes]
20846 ($(tests:%=$(objpfx)%-bp): Likewise.
20847 * misc/Makefile [$(build-bounded) = yes]
20848 ($(objpfx)tst-tsearch-bp): Likewise.
20849 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20850 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20852 * string/Makefile (o-objects.ob): Remove variable.
20853 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20854 (CFLAGS-.ob): Remove variable.
20855 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20856 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20857 both definitions of variable.
20858 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20859 (ASFLAGS-.ob): Remove variable.
20861 2013-02-14 Joseph Myers <joseph@codesourcery.com>
20864 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20865 Remove __BOUNDED_POINTERS__ from condition.
20866 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20867 * string/bits/string2.h [!__NO_STRING_INLINES &&
20868 !__BOUNDED_POINTERS__]: Likewise.
20869 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20871 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20872 Remove conditional code.
20873 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20874 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20875 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20879 * csu/libc-start.c: Do not include <bp-sym.h>.
20880 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20881 * elf/dl-open.c: Do not include <bp-sym.h>.
20882 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20883 * math/fegetenv.c: Do not include <bp-sym.h>.
20884 (fegetenv): Do not use BP_SYM in versioned symbols.
20885 * nptl/sysdeps/pthread/bits/libc-lockP.h
20886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20889 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20891 (__pthread_mutex_destroy): Likewise.
20892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20893 (__pthread_mutex_lock): Likewise.
20894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20895 (__pthread_mutex_trylock): Likewise.
20896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20897 (__pthread_mutex_unlock): Likewise.
20898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20899 (__pthread_mutexattr_init): Likewise.
20900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20901 (__pthread_mutexattr_destroy): Likewise.
20902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20903 (__pthread_mutexattr_settype): Likewise.
20904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20905 (__pthread_rwlock_init): Likewise.
20906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20907 (__pthread_rwlock_destroy): Likewise.
20908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20909 (__pthread_rwlock_rdlock): Likewise.
20910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20911 (__pthread_rwlock_tryrdlock): Likewise.
20912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20913 (__pthread_rwlock_wrlock): Likewise.
20914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20915 (__pthread_rwlock_trywrlock): Likewise.
20916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20917 (__pthread_rwlock_unlock): Likewise.
20918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20919 (__pthread_key_create): Likewise.
20920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20921 (__pthread_setspecific): Likewise.
20922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20923 (__pthread_getspecific): Likewise.
20924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20927 (_pthread_cleanup_push_defer): Likewise.
20928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20929 (_pthread_cleanup_pop_restore): Likewise.
20930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20931 (pthread_setcancelstate): Likewise.
20932 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20934 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20935 (memchr): Do not use BP_SYM in weak_alias.
20936 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20937 (fegetenv): Do not use BP_SYM in versioned symbols.
20938 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20939 (fesetenv): Do not use BP_SYM in versioned symbols.
20940 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20941 (feupdateenv): Do not use BP_SYM in versioned symbols.
20942 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20943 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20944 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20945 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20946 (open64): Do not use BP_SYM in weak_alias.
20947 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20948 (fegetenv): Do not use BP_SYM in versioned symbols.
20949 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20950 (fesetenv): Do not use BP_SYM in versioned symbols.
20951 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20952 (feupdateenv): Do not use BP_SYM in versioned symbols.
20953 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20954 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20955 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20956 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20957 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20958 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20959 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20961 (__libc_start_main): Do not use BP_SYM.
20963 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20966 redundant return line.
20968 (denorm): Likewise.
20969 (dbl_mp): Likewise.
20970 (sub_magnitudes): Likewise.
20976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20978 (denorm): Likewise.
20979 (dbl_mp): Likewise.
20980 (sub_magnitudes): Likewise.
20987 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20989 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20990 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20993 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20994 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20995 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20996 of __mul for squares.
20997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21001 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21002 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21004 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21007 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21009 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21010 prototype or function definition. Rename ubp_* variables and
21011 parameters. Remove argv definitions conditional on
21012 [__BOUNDED_POINTERS__].
21013 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21014 * elf/dl-runtime.c (_dl_fixup): Likewise.
21015 * include/set-hooks.h (RUN_HOOK): Likewise.
21016 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21018 * string/strcpy.c (strcpy): Do not use __unbounded.
21019 * sysdeps/generic/frame.h (struct layout): Likewise.
21020 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21021 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21022 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21023 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21024 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21025 (__backtrace): Likewise.
21026 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21028 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21029 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21030 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21032 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21033 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21034 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21035 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21036 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21037 Do not use __unbounded.
21038 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21039 Rename __unboundedrlimits parameter to rlimits in prototype.
21040 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21041 Do not use __unbounded.
21042 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21043 not use __ptrvalue.
21044 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21045 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21046 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21047 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21048 __ptrvalue or __unbounded.
21049 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21050 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21052 (__new_msgctl): Do not use __ptrvalue.
21053 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21055 (__libc_msgrcv): Do not use __ptrvalue.
21056 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21057 startup_info): Do not use __unbounded.
21058 (__libc_start_main): Likewise. Rename ubp_* variables and
21059 parameters. Remove argv definitions conditional on
21060 [__BOUNDED_POINTERS__].
21061 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21063 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21065 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21067 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21069 (__new_shmctl): Do not use __ptrvalue.
21070 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21071 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21073 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21074 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21075 (__libc_sigaction): Likewise.
21076 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21077 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21079 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21081 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
21083 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21085 * string/mempcpy.c: Implement by calling memcpy.
21087 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21089 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21091 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21094 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21095 values in the mantissa.
21097 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21098 minimize writes to Z.
21099 (sub_magnitudes): Simplify code a bit.
21101 2013-02-12 Roland McGrath <roland@hack.frob.com>
21103 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21104 from the message. The linker prefixes all warnings with that already.
21106 2013-02-12 Andreas Schwab <schwab@suse.de>
21109 * posix/regexec.c (extend_buffers): Add parameter min_len.
21110 (check_matching): Pass minimum needed length.
21111 (clean_state_log_if_needed): Likewise.
21112 (get_subexp): Likewise.
21113 * posix/Makefile (tests): Add bug-regex34.
21114 (bug-regex34-ENV): Define.
21115 * posix/bug-regex34.c: New file.
21118 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21119 elements compare against the byte sequence of it, not its name.
21120 * posix/Makefile (tests): Add bug-regex35.
21121 (bug-regex35-ENV): Define.
21122 * posix/bug-regex35.c: New file.
21124 2013-02-11 Tom de Vries <tom@codesourcery.com>
21126 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21128 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21129 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21130 (CHECK_EOL): Add undef.
21132 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
21134 * bits/stdlib-bsearch.h: New file.
21135 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21136 * stdlib/stdlib.h: Likewise.
21138 2013-02-11 Roland McGrath <roland@hack.frob.com>
21140 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21141 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21143 * manual/search.texi (Array Search Function): Add missing const in
21145 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21146 declaration to use rlim_t.
21147 (Basic Scheduling Functions): Remove erroneous const from
21148 sched_getparam prototype. Remove erroneous * from
21149 sched_get_priority_max and sched_get_priority_min prototypes.
21150 (Resource Usage): Fix summary @comment on vtimes to refer to
21151 sys/vtimes.h rather than vtimes.h.
21152 Add missing *s in vtimes prototype.
21153 (Limits on Resources): Fix ulimit prototype to return long int.
21154 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21155 prototypes to use long int rather than double.
21156 (BSD Random): Fix initstate and setstate to use char *, not void *.
21157 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21158 prototype to make second argument 'struct aiocb64 *const[]'.
21159 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21160 (Status of AIO Operations): Remove erroneous const in aio_return and
21161 aio_return64 prototypes.
21162 (Synchronizing I/O): Fix sync prototype to return void.
21163 * manual/startup.texi (Suboptions): Remove an erroneous const in
21164 getsubopt prototype.
21165 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21166 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21167 use size_t rather than int.
21168 (Scanning All Users): Likewise for getpwent_r.
21169 (Setting Groups): Add missing const to setgroups prototype.
21170 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21171 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21172 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21173 'const void *' rather than 'const char *'.
21174 (Host Address Functions): Likewise for inet_ntop.
21175 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21176 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21177 ssize_t for return value.
21178 (Sending Data): Likewise for send, sendto, sendmsg.
21179 (Socket Option Functions): Add a missing const in setsockopt prototype.
21180 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21181 use wchar_t for the argument.
21182 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21183 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21185 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21186 double/float/long double for second argument.
21187 Fix return types of significand, significandf, significandl.
21188 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21189 argument in fchmod prototype.
21190 (File Owner): Use uid_t and gid_t in fchown prototype.
21191 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21192 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21193 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21194 use 'const struct dirent **' as argument types to CMP function pointer
21196 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21197 (File Times): Fix summary magic @comment for struct utimbuf and utime
21198 to refer to utime.h, not time.h.
21199 * manual/string.texi (Argz Functions): Add missing const in
21200 argz_extract and argz_next prototypes.
21201 (Finding Tokens in a String): Likewise for basename.
21202 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21203 (Copying and Concatenation): Fix typo in wmemmove prototype.
21204 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21205 (Signal Stack): Remove erroneous const in sigstack prototype.
21206 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21208 (Simple Calendar Time): Likewise for stime.
21209 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21211 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21212 say sys/sysctl.h instead.
21213 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21214 and vsyslog prototypes.
21216 2013-02-11 Tom de Vries <tom@codesourcery.com>
21218 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21221 2013-02-11 Roland McGrath <roland@hack.frob.com>
21223 * misc/sys/mman.h: Fix typo in mremap comment.
21225 2013-02-08 Roland McGrath <roland@hack.frob.com>
21227 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21228 the '\0' terminator.
21230 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21233 * debug/segfault.c: Don't include <bp-checks.h>.
21234 * sysdeps/generic/bp-checks.h: Remove file.
21235 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21236 (__GETDENTS): Don't use CHECK_N.
21237 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21238 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21239 (__getgroups): Don't use CHECK_N.
21240 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21241 (setgroups): Don't use CHECK_N.
21242 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21243 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21244 (__libc_msgrcv): Don't use CHECK_N.
21245 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21246 (__libc_msgsnd): Don't use CHECK_N.
21247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21249 (__libc_pread): Don't use CHECK_N.
21250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21251 include <bp-checks.h>.
21252 (__libc_pread64): Don't use CHECK_N.
21253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21254 include <bp-checks.h>.
21255 (__libc_pwrite): Don't use CHECK_N.
21256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21257 include <bp-checks.h>.
21258 (__libc_pwrite64): Don't use CHECK_N.
21259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21261 (__libc_pread): Don't use CHECK_N.
21262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21263 include <bp-checks.h>.
21264 (__libc_pread64): Don't use CHECK_N.
21265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21266 include <bp-checks.h>.
21267 (__libc_pwrite): Don't use CHECK_N.
21268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21269 include <bp-checks.h>.
21270 (__libc_pwrite64): Don't use CHECK_N.
21271 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21272 (do_pread): Don't use CHECK_N.
21273 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21274 (do_pread64): Don't use CHECK_N.
21275 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21276 (do_pwrite): Don't use CHECK_N.
21277 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21278 (do_pwrite64): Don't use CHECK_N.
21279 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21280 (__libc_readv): Don't use CHECK_N.
21281 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21282 (semop): Don't use CHECK_N.
21283 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21285 (semtimedop): Don't use CHECK_N.
21286 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21287 (__libc_pread): Don't use CHECK_N.
21288 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21290 (__libc_pread64): Don't use CHECK_N.
21291 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21293 (__libc_pwrite): Don't use CHECK_N.
21294 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21296 (__libc_pwrite64): Don't use CHECK_N.
21297 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21299 (__libc_msgrcv): Don't use CHECK_N.
21300 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21301 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21302 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21303 (__libc_writev): Don't use CHECK_N.
21305 2013-02-08 Roland McGrath <roland@hack.frob.com>
21307 * string/strcpy.c: Removed unused variable.
21309 * Makeconfig (+sysdep-includes): Define with := rather than =.
21310 Use an existing include/ subdir of each sysdeps dir before it.
21312 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21314 * nscd/connection.c (register_traced_file): Comment function.
21315 [HAVE_INOTIFY] (union __inev): Define.
21316 [HAVE_INOTIFY] (inotify_check_files): New function.
21317 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21318 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21320 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21322 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21324 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21325 loaded if not already and that a failure is permanent.
21327 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21330 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21331 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21333 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21336 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21337 (CHECK_1_NULL_OK): Likewise.
21338 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21339 (__fxstat): Do not use CHECK_1.
21340 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21342 (___fxstat64): Do not use CHECK_1.
21343 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21345 (__fxstatat): Do not use CHECK_1.
21346 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21348 (__fxstatat64): Do not use CHECK_1.
21349 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21351 (__fxstat): Do not use CHECK_1.
21352 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21354 (__fxstatat): Do not use CHECK_1.
21355 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21357 (__getresgid): Do not use CHECK_1.
21358 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21360 (__getresuid): Do not use CHECK_1.
21361 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21363 (__lxstat): Do not use CHECK_1.
21364 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21366 (__old_msgctl): Do not use CHECK_1.
21367 (__new_msgctl): Likewise.
21368 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21370 (__new_setrlimit): Do not use CHECK_1.
21371 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21373 (__old_shmctl): Do not use CHECK_1.
21374 (__new_shmctl): Likewise.
21375 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21377 (__xstat): Do not use CHECK_1.
21378 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21379 (__lxstat): Do not use CHECK_1.
21380 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21382 (___lxstat64): Do not use CHECK_1.
21383 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21384 (__old_msgctl): Do not use CHECK_1.
21385 (__new_msgctl): Likewise.
21386 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21388 (__gettimeofday): Do not use CHECK_1.
21389 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21390 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21391 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21393 (__gettimeofday): Do not use CHECK_1.
21394 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21395 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21396 (__new_shmctl): Do not use CHECK_1.
21397 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21399 (do_sigtimedwait): Do not use CHECK_1.
21400 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21402 (do_sigwaitinfo): Do not use CHECK_1.
21403 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21405 (msgctl): Do not use CHECK_1.
21406 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21408 (shmctl): Do not use CHECK_1.
21409 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21410 (ustat): Do not use CHECK_1.
21411 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21413 (__fxstat): Do not use CHECK_1.
21414 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21416 (__fxstatat): Do not use CHECK_1.
21417 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21419 (__lxstat): Do not use CHECK_1.
21420 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21422 (__xstat): Do not use CHECK_1.
21423 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21424 (__xstat): Do not use CHECK_1.
21425 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21426 (___xstat64): Do not use CHECK_1.
21429 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21431 (CHECK_BOUNDS_HIGH): Likewise.
21432 * string/strcpy.c: Do not include <bp-checks.h>.
21433 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21435 2013-02-07 Roland McGrath <roland@hack.frob.com>
21437 * nscd/nscd-client.h (__nscd_drop_map_ref):
21438 Add __attribute__ ((unused)).
21439 * nis/nss-nisplus.h (niserr2nss): Likewise.
21441 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21442 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21444 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21445 Remove inline keyword.
21446 * include/rounding-mode.h (round_away): Likewise.
21447 * libio/wfileops.c (adjust_wide_data): Likewise.
21448 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21449 (__m128i_strloadu_tolower): Likewise.
21450 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21451 (__m128i_strloadu_tolower): Likewise.
21452 * time/mktime.c (ydhms_diff): Likewise.
21453 * locale/elem-hash.h (elem_hash): Likewise.
21454 * locale/setlocale.c (setdata): Likewise.
21455 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21456 (re_string_wchar_at): Likewise.
21457 (bitset_not, bitset_merge, bitset_mask): Likewise.
21458 [!(__GNUC__ > 3)] (inline): Remove macro.
21459 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21460 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21461 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21462 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21463 * string/memcmp.c (memcmp_bytes): Likewise.
21464 * locale/programs/locarchive.c (compute_hashval): Likewise.
21465 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21466 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21467 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21468 * nss/getent.c (print_rpc, print_protocols): Likewise.
21469 (print_passwd, print_group, print_aliases): Likewise.
21470 * nis/nss-nisplus.h (niserr2nss): Likewise.
21471 * nscd/connections.c (restart_p): Likewise.
21472 Change return type to bool.
21474 2013-02-05 Roland McGrath <roland@hack.frob.com>
21476 * Makeconfig (all-Depend-files): Add existing
21477 $(sorted-subdirs:=/Depend) files.
21478 (all-subdirs): Remove nss.
21479 * sysdeps/unix/inet/Subdirs: Add it here instead.
21480 * hesiod/Depend: New file.
21482 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21483 instead of calling alloca.
21485 * io/lseek.c (__lseek): Rename to __libc_lseek.
21486 Define __lseek as an alias.
21488 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21490 2013-02-04 Carlos O'Donell <carlos@redhat.com>
21492 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21493 else clause and remove check for non-standard endianness.
21495 2013-02-04 David S. Miller <davem@davemloft.net>
21497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21499 2013-02-04 Joseph Myers <joseph@codesourcery.com>
21502 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21503 (__ubp_memchr): Remove prototype.
21504 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21505 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21506 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21507 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21508 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21510 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21511 (__ubp_memchr): Likewise.
21512 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21513 (__ubp_memchr): Likewise.
21514 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21515 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21516 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21517 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21519 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21520 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21521 (__getcwd): Do not use CHECK_STRING.
21522 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21524 (__real_chown): Do not use CHECK_STRING.
21525 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21527 (fchownat): Do not use CHECK_STRING.
21528 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21530 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21532 (__lchown): Do not use CHECK_STRING.
21533 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21534 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21535 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21536 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21538 include <bp-checks.h>.
21539 (truncate64): Do not use CHECK_STRING.
21540 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21542 (__real_chown): Do not use CHECK_STRING.
21543 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21545 (__lchown): Do not use CHECK_STRING.
21546 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21548 (__chown): Do not use CHECK_STRING.
21549 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21551 (truncate64): Do not use CHECK_STRING.
21552 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21554 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21555 (__xmknod): Do not use CHECK_STRING.
21556 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21558 (__xmknodat): Do not use CHECK_STRING.
21559 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21560 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21562 2013-02-04 Andreas Schwab <schwab@suse.de>
21565 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21566 * include/netdb.h: Likewise for h_errno.
21567 * elf/tst-stackguard1.c: Include <tls.h>.
21569 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21571 * elf/link.h (struct link_map): Extend the l_addr comment.
21572 * include/link.h (struct link_map): Likewise.
21574 2013-02-01 Joseph Myers <joseph@codesourcery.com>
21577 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21578 (BOUNDED_1): Remove macro.
21579 * debug/backtrace.c: Don't include <bp-checks.h>.
21580 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21581 (__backtrace): Likewise.
21582 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21584 (__backtrace): Don't use BOUNDED_1.
21585 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21587 (__backtrace): Don't use BOUNDED_1.
21588 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21589 (__backtrace): Don't use BOUNDED_1.
21590 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21591 (shmat): Don't use BOUNDED_N.
21593 2013-01-31 Joseph Myers <joseph@codesourcery.com>
21596 * sysdeps/generic/bp-start.h: Remove file.
21597 * csu/libc-start.c: Don't include <bp-start.h>.
21598 (LIBC_START_MAIN): Set up __environ directly instead of using
21599 INIT_ARGV_and_ENVIRON.
21600 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21604 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21606 (CHECK_FCNTL): Likewise.
21607 (CHECK_N_PAGES): Likewise.
21610 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21612 (CHECK_SIGSET_NULL_OK): Likewise.
21613 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21615 (sigpending): Don't use CHECK_SIGSET.
21616 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21618 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21619 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21621 (do_sigsuspend): Don't use CHECK_SIGSET.
21622 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21624 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21625 (do_sigwait): Don't use CHECK_SIGSET.
21626 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21628 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21629 include <bp-checks.h>.
21630 (sigpending): Don't use CHECK_SIGSET.
21631 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21632 include <bp-checks.h>.
21633 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21634 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21636 (sigpending): Don't use CHECK_SIGSET.
21637 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21639 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21642 * sysdeps/generic/bp-semctl.h: Remove file.
21643 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21644 <bp-checks.h> and <bp-semctl.h>.
21645 (__old_semctl): Don't use CHECK_SEMCTL.
21646 (__new_semctl): Likewise.
21647 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21649 (__old_semctl): Don't use CHECK_SEMCTL.
21650 (__new_semctl): Likewise.
21651 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21652 <bp-checks.h> and <bp-semctl.h>.
21653 (__old_semctl): Don't use CHECK_SEMCTL.
21654 (__new_semctl): Likewise.
21655 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21656 <bp-checks.h> and <bp-semctl.h>.
21657 (semctl): Don't use CHECK_SEMCTL.
21660 * Makerules (elide-bp-thunks): Remove variable.
21661 (elide-routines.oS): Don't use $(elide-bp-thunks).
21662 (elide-routines.os): Likewise.
21663 (elide-routines.o): Likewise.
21664 (elide-routines.op): Likewise.
21665 (elide-routines.og): Likewise.
21666 (objects): Don't use $(bp-thunks).
21667 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21669 (common-generated): Do not add s-proto-bp.d.
21670 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21673 Do not generate makefile rules for bounded-pointer thunks.
21674 * sysdeps/generic/bp-thunks.h: Remove file.
21675 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21676 * sysdeps/unix/s-proto-bp.S: Likewise.
21679 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21680 parts of result separately when argument is not close to line from
21681 -i to i and one part of argument is small.
21682 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21683 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21684 * math/libm-test.inc (cacos_test): Add more tests.
21685 (casin_test): Likewise.
21686 (casinh_test): Likewise.
21687 * sysdeps/i386/fpu/libm-test-ulps: Update.
21688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21690 2013-01-31 David S. Miller <davem@davemloft.net>
21692 * po/de.po: Update from translation team.
21694 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21696 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21698 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21700 * configure.in (_AC_PROG_CC_C89): New definition.
21701 * configure: Regenerate.
21703 * configure.in (AC_PROG_CPP): New definition.
21704 * configure: Regenerate.
21706 2013-01-23 Joseph Myers <joseph@codesourcery.com>
21708 * debug/tst-backtrace.h: New file.
21709 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21710 (ret): Remove variable.
21712 (FAIL): Remove macro.
21713 (NO_INLINE): Likewise.
21714 (fn1): Use match function instead of strstr.
21715 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21716 (ret): Remove variable.
21718 (FAIL): Remove macro.
21719 (NO_INLINE): Likewise.
21720 (fn): Use match function instead of strstr.
21721 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21722 (ret): Remove variable.
21724 (FAIL): Remove macro.
21725 (NO_INLINE): Likewise.
21726 (handle_signal): Use match function instead of strstr.
21727 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21728 (ret): Remove variable.
21730 (FAIL): Remove macro.
21731 (NO_INLINE): Likewise.
21732 (handle_signal): Use match function instead of strstr.
21734 2013-01-23 Roland McGrath <roland@hack.frob.com>
21736 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21738 2013-01-23 David S. Miller <davem@davemloft.net>
21740 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21741 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21742 argument of CAS if possible.
21743 * sysdeps/sparc/sparc64/bits/atomic.h
21744 (__arch_compare_and_exchange_val_32_acq): Likewise.
21745 (__arch_compare_and_exchange_val_64_acq): Likewise.
21747 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21749 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21750 * sysdeps/posix/ulimit.c: ... this.
21751 Include <limits.h>.
21752 * sysdeps/unix/bsd/ulimit.c: Remove file.
21754 2013-01-23 Adam Conrad <adconrad@0c3.net>
21756 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21757 (LDFLAGS-tst-array5): Likewise.
21759 2013-01-23 Joseph Myers <joseph@codesourcery.com>
21762 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21763 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21764 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21765 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21767 2013-01-21 David S. Miller <davem@davemloft.net>
21769 * sysdeps/sparc/backtrace.c: New file.
21770 * sysdeps/sparc/sparc32/backtrace.h: New file.
21771 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21772 * sysdeps/sparc/sparc64/backtrace.h: New file.
21773 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21774 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21777 2013-01-21 Andreas Schwab <schwab@suse.de>
21780 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21783 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21789 2013-01-18 Joseph Myers <joseph@codesourcery.com>
21790 Mark Mitchell <mark@codesourcery.com>
21791 Tom de Vries <tom@codesourcery.com>
21792 Paul Pluzhnikov <ppluzhnikov@google.com>
21794 * debug/tst-backtrace2.c: New file.
21795 * debug/tst-backtrace3.c: Likewise.
21796 * debug/tst-backtrace4.c: Likewise.
21797 * debug/tst-backtrace5.c: Likewise.
21798 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21799 (CFLAGS-tst-backtrace3.c): Likewise.
21800 (CFLAGS-tst-backtrace4.c): Likewise.
21801 (CFLAGS-tst-backtrace5.c): Likewise.
21802 (LDFLAGS-tst-backtrace2): Likewise.
21803 (LDFLAGS-tst-backtrace3): Likewise.
21804 (LDFLAGS-tst-backtrace4): Likewise.
21805 (LDFLAGS-tst-backtrace5): Likewise.
21806 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21807 tst-backtrace4 and tst-backtrace5.
21809 2013-01-18 Anton Blanchard <anton@samba.org>
21810 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21812 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21813 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21814 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21815 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21817 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21818 "+r" and remove output regs list as redundant. Add explicit inline
21819 asm to specify register of return val to work around compiler codegen
21820 bug. Remove (int) cast on return value. Add return type parameter to
21821 use in macro so that this macro does not truncate return value for
21823 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21824 pass to INTERNAL_VSYSCALL_NCS.
21825 (INLINE_VSYSCALL): Add 'long int' as return type to
21826 INTERNAL_VSYSCALL_NCS macro invocation.
21827 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21828 INTERNAL_VSYSCALL_NCS macro invocation.
21829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21831 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21834 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21835 Fix application of SIMD FP exception mask.
21837 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21838 mp_no from a power of two.
21839 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21840 __mpexp_twomm1. Use __pow_mp.
21842 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21845 2013-01-17 David S. Miller <davem@davemloft.net>
21847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21849 2013-01-17 Joseph Myers <joseph@codesourcery.com>
21852 * include/complex.h: Condition contents on [!_COMPLEX_H].
21853 (__kernel_casinhf): New prototype.
21854 (__kernel_casinh): Likewise.
21855 (__kernel_casinhl): Likewise.
21856 * math/Makefile (libm_calls): Add k_casinh.
21857 * math/k_casinh.c: New file.
21858 * math/k_casinhf.c: Likewise.
21859 * math/k_casinhl.c: Likewise.
21860 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21861 finite nonzero arguments.
21862 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21863 finite nonzero arguments.
21864 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21865 finite nonzero arguments.
21866 * math/s_casinh.c: Do not include <float.h>.
21867 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21868 * math/s_casinhf.c: Do not include <float.h>.
21869 (__casinhf): Move code for finite nonzero arguments to
21871 * math/s_casinhl.c: Do not include <float.h>.
21872 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21874 (__casinhl): Move code for finite nonzero arguments to
21876 * math/libm-test.inc (cacos_test): Add more tests.
21877 * sysdeps/i386/fpu/libm-test-ulps: Update.
21878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21880 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21882 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21883 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21884 [!HAVE_MREMAP]: Remove [defined linux] case.
21885 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21887 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21889 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21891 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
21893 * elf/elf.h (R_386_SIZE32): New relocation.
21894 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21896 (elf_machine_rela): Likewise.
21897 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21898 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21900 2013-01-17 Joseph Myers <joseph@codesourcery.com>
21902 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21903 (FP_FAST_FMA): Do not define.
21904 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21905 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21906 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21907 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21908 !_SOFT_FLOAT]: Likewise.
21909 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21910 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21912 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21913 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21914 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21915 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21916 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21917 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21920 2013-01-16 Andreas Schwab <schwab@suse.de>
21923 * include/stdlib.h (__mktemp): Add declaration.
21924 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21925 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21927 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21929 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21931 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21932 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21933 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21935 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21936 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21938 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21940 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21941 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21942 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21944 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21945 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21947 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21949 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21951 2013-01-15 David S. Miller <davem@davemloft.net>
21953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21954 trunc{,f} to libm-sysdep_routes.
21955 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21965 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21966 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21967 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21968 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21969 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21970 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21973 nearbyint{,f} to libm-sysdep_routes.
21974 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21985 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21987 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21988 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21990 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21991 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21992 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21994 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21995 libc_feholdexcept and libc_fesetenv.
21997 2013-01-15 Mike Frysinger <vapier@gentoo.org>
21999 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22001 2013-01-14 David S. Miller <davem@davemloft.net>
22003 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22004 (SPARC_ASM_VIS2_IFUNC): Likewise.
22005 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22007 use of 'siam' instruction.
22008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22014 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22016 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22026 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22027 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22028 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22038 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22039 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22041 routines to libm-sysdep_routines.
22042 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22045 fdim/fdimf to libm-sysdep_routines.
22046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22054 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22055 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22056 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22057 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22059 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22061 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22062 to optimize copies.
22064 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22066 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22069 local variable MPTWO.
22070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22073 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22075 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22078 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22080 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22082 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22084 * manual/pattern.texi (glob_t): Document gl_flags.
22085 (glob64_t): Likewise.
22087 2013-01-11 David S. Miller <davem@davemloft.net>
22089 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22090 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22091 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
22092 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22093 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22094 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22095 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22096 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22097 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22098 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22099 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22100 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22101 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22103 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22104 sparc V9 rather than using V8 code.
22105 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22106 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22108 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22110 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22113 2013-01-11 Roland McGrath <roland@hack.frob.com>
22115 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22116 not in the main loop.
22117 * configure: Regenerated.
22119 2013-01-11 Joseph Myers <joseph@codesourcery.com>
22121 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22122 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22124 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22125 [!__GLIBC_HAVE_LONG_LONG] case.
22126 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22127 condition to just #else.
22128 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22129 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22130 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22131 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22133 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22134 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22135 #elif condition to just #else.
22136 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22137 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22138 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22139 #elif condition to just #else.
22141 2013-01-11 Steve Ellcey <sellcey@mips.com>
22143 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22144 (EF_MIPS_ARCH_64): Fix value.
22145 (EF_MIPS_ARCH_32R2): New.
22146 (EF_MIPS_ARCH_64R2): New.
22148 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22150 * Makeconfig (+link-pie-before-libc): New.
22151 (+link-pie-after-libc): Likewise.
22152 (+link-pie-tests): Likewise.
22153 (+link-pie): Rewritten.
22154 (link-before-libc): Remove $(config-LDFLAGS).
22155 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22156 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22157 (config-LDFLAGS): Renamed to ...
22158 (rtld-LDFLAGS): This.
22159 (rtld-tests-LDFLAGS): New macro.
22160 (link-libc-rpath-link): Likewise.
22161 (link-libc-tests-rpath-link): Likewise.
22162 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22163 (link-libc): Prepand $(link-libc-rpath-link).
22164 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22165 (test-program-prefix): New macro.
22166 (test-via-rtld-prefix): Likewise.
22167 (test-program-cmd): Likewise.
22168 (host-test-program-cmd): Likewise.
22169 * Makefile ($(common-objpfx)testrun.sh): Replace
22170 $(run-program-prefix) with $(test-program-prefix).
22171 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22173 ($(common-objpfx)shlib.lds): Likewise.
22174 (build-module-helper): Likewise.
22175 ($(common-objpfx)format.lds): Likewise.
22176 * Rules (binaries-pie-tests): New.
22177 (binaries-pie-notests): Likewise.
22178 (binaries-pie): Rewritten.
22179 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22180 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22181 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22182 (make-test-out): Replace $(host-built-program-cmd) with
22183 $(host-test-program-cmd).
22184 * config.make.in (build-hardcoded-path-in-tests): New variable.
22185 * configure.in (--enable-hardcoded-path-in-tests): New configure
22187 (hardcoded_path_in_tests): New AC_SUBST.
22188 * configure: Regenerated.
22189 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22190 $(built-program-cmd) with $(test-program-cmd).
22191 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22192 (test_program_cmd): This.
22193 * elf/Makefile ($(objpfx)order.out): Run test with
22194 $(test-program-prefix).
22195 ($(objpfx)order2.out): Likewise.
22196 ($(objpfx)tst-initorder.out): Likewise.
22197 ($(objpfx)tst-initorder2.out): Likewise.
22198 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22199 $(test-program-cmd).
22200 ($(objpfx)tst-array1-static.out): Likewise.
22201 ($(objpfx)tst-array2.out): Likewise.
22202 ($(objpfx)tst-array3.out): Likewise.
22203 ($(objpfx)tst-array4.out): Likewise.
22204 ($(objpfx)tst-array5.out): Likewise.
22205 ($(objpfx)tst-array5-static.out): Likewise.
22206 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22207 $(test-program-cmd).
22208 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22209 $(run-program-prefix) with $(test-program-prefix).
22210 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22211 (test_program_prefix): This.
22212 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22213 $(run-program-prefix) with $(test-program-prefix).
22214 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22215 (test_program_prefix): This.
22216 * iconvdata/tst-tables.sh: Likewise.
22217 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22218 $(run-program-prefix) with $(test-program-prefix).
22219 ($(objpfx)tst-translit.out): Likewise.
22220 ($(objpfx)tst-gettext2.out): Likewise.
22221 ($(objpfx)tst-gettext4.out): Likewise.
22222 ($(objpfx)tst-gettext6.out): Likewise.
22223 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22224 (test_program_prefix): This.
22225 * intl/tst-gettext2.sh: Likewise.
22226 * intl/tst-gettext4.sh Likewise.
22227 * intl/tst-gettext6.sh: Likewise.
22228 * intl/tst-translit.sh: Likewise.
22229 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22230 with $(test-program-cmd).
22231 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22232 $(run-program-prefix) with $(test-program-prefix).
22233 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22234 (test_program_prefix): This.
22235 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22236 $(run-program-prefix) with $(test-program-prefix).
22237 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22238 (test_program_prefix): This.
22239 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22240 * posix/Makefile ($(objpfx)globtest.out): Replace
22241 $(run-via-rtld-prefix) and $(test-wrapper) with
22242 $(test-program-prefix) and $(test-via-rtld-prefix).
22243 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22244 $(test-program-prefix).
22245 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22246 $(host-test-program-cmd).
22247 (tst-spawn-ARGS): Likewise.
22248 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22249 $(test-program-prefix).
22250 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22251 (test_via_rtld_prefix): This.
22252 (test_wrapper): Renamed to ...
22253 (test_program_prefix): This.
22254 (run_program_prefix): Replaced by test_program_prefix.
22255 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22256 (test_program_prefix): This.
22257 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22258 with $(host-test-program-cmd).
22259 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22260 $(run-program-prefix) with $(test-program-prefix).
22261 ($(objpfx)tst-printf.out): Likewise.
22262 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22263 $(test-program-cmd).
22264 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22265 (test_program_prefix): This.
22266 * stdio-common/tst-unbputc.sh: Likewise.
22267 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22268 $(run-program-prefix) with $(test-program-prefix).
22269 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22270 (test_program_prefix): This.
22271 * string/Makefile ($(objpfx)tst-svc.out): Replace
22272 $(built-program-cmd) with $(test-program-cmd).
22274 2013-01-11 Andreas Jaeger <aj@suse.de>
22277 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22278 value. Sync with Linux 3.7.
22280 2013-01-10 David S. Miller <davem@davemloft.net>
22282 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22283 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22284 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22286 2013-01-10 Roland McGrath <roland@hack.frob.com>
22288 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22290 * configure: Regenerated.
22292 2013-01-10 David S. Miller <davem@davemloft.net>
22294 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22295 sparc V9 rather than using V8 code.
22296 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22297 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22299 2013-01-10 Roland McGrath <roland@hack.frob.com>
22301 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22302 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22303 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22304 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22305 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22306 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22307 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22308 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22309 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22310 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22311 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22312 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22313 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22314 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22315 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22316 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22317 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22318 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22319 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22320 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22321 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22322 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22323 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22324 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22325 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22326 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22327 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22329 2013-01-10 David S. Miller <davem@davemloft.net>
22331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22333 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22335 * posix/Makefile (tests-static): New variable.
22336 (tests): Add $(tests-static).
22337 (tst-exec-static-ARGS): New variable.
22338 (tst-spawn-static-ARGS): Likewise.
22339 * posix/tst-exec-static.c: New file.
22340 * posix/tst-spawn-static.c: Likewise.
22341 * posix/tst-exec.c: Support run directly.
22342 * posix/tst-spawn.c: Likewise.
22344 2013-01-10 Joseph Myers <joseph@codesourcery.com>
22346 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22348 * math/bits/mathcalls.h (llrint): Likewise.
22349 (llround): Likewise.
22350 * stdlib/stdlib.h (struct drand48_data): Likewise.
22351 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22352 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22353 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22355 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22357 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22358 (elf_greg_t): Likewise.
22359 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22360 (__jmp_buf): Likewise.
22361 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22363 (llrint): Likewise, for all definitions.
22364 (llrintl): Likewise.
22366 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22367 Remove [__GNUC__] condition.
22368 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22369 condition to just [__USE_ISOC99].
22370 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22372 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22375 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22376 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22378 (_POSIX_V6_ILP32_OFF32): Likewise.
22379 (_XBS5_ILP32_OFF32): Likewise.
22380 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22381 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22383 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22385 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22387 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22388 doubles __mpexp_twomm1. Adjust usage.
22389 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22392 2013-01-10 Andreas Schwab <schwab@suse.de>
22395 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22396 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22398 2013-01-09 David S. Miller <davem@davemloft.net>
22401 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22402 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22403 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22404 (TCP_FASTOPEN): Define.
22405 (tcp_repair_opt): New structure.
22406 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22408 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22409 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22410 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22411 (tcp_cookie_transactions): New structure.
22413 2013-01-09 Anton Blanchard <anton@samba.org>
22415 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22416 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22417 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22418 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22420 2013-01-09 Joseph Myers <joseph@codesourcery.com>
22422 * include/features.h (__USE_ANSI): Remove.
22424 2013-01-09 Roland McGrath <roland@hack.frob.com>
22426 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22428 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22430 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22432 * sysdeps/s390/fpu/libm-test-ulps: Update.
22434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22436 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22440 (denorm): Likewise.
22441 (__mp_dbl): Likewise.
22442 (__dbl_mp): Likewise.
22443 (add_magnitudes): Likewise.
22444 (sub_magnitudes): Likewise.
22450 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22454 (denorm): Likewise.
22455 (__mp_dbl): Likewise.
22456 (__dbl_mp): Likewise.
22457 (add_magnitudes): Likewise.
22458 (sub_magnitudes): Likewise.
22464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22468 (denorm): Likewise.
22469 (__mp_dbl): Likewise.
22470 (__dbl_mp): Likewise.
22471 (add_magnitudes): Likewise.
22472 (sub_magnitudes): Likewise.
22479 2013-01-08 Joseph Myers <joseph@codesourcery.com>
22481 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22482 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22483 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22484 2 && __USE_EXTERN_INLINES]: Likewise.
22486 2013-01-08 Andreas Jaeger <aj@suse.de>
22489 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22491 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22492 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22494 2013-01-07 Anton Blanchard <anton@samba.org>
22496 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22497 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22498 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22499 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22500 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22501 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22502 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22503 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22505 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22506 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22507 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22508 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22509 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22510 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22511 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22512 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22513 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22514 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22515 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22516 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22517 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22518 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22519 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22520 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22521 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22522 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22523 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22524 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22525 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22526 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22527 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22528 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22529 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22530 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22531 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22532 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22533 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22534 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22535 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22536 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22537 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22538 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22540 2013-01-07 Joseph Myers <joseph@codesourcery.com>
22542 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22543 (__MALLOC_PMT): Likewise.
22544 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22545 [__GNUC__], only on [_LIBC].
22546 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22547 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22548 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22549 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22550 forward declaration.
22551 (realloc_hook_ini): Likewise.
22552 (memalign_hook_ini): Likewise.
22553 (__libc_memalign): Do not use __MALLOC_PMT in variable
22555 (__libc_valloc): Likewise.
22556 (__libc_pvalloc): Likewise.
22557 (__libc_calloc): Likewise.
22558 (__posix_memalign): Likewise.
22561 * math/s_casinh.c: Include <float.h>.
22562 (__casinh): Do not do computation with squaring and square root
22563 for large arguments.
22564 * math/s_casinhf.c: Include <float.h>.
22565 (__casinhf): Do not do computation with squaring and square root
22566 for large arguments.
22567 * math/s_casinhl.c: Include <float.h>.
22568 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22569 (__casinhl): Do not do computation with squaring and square root
22570 for large arguments.
22571 * math/libm-test.inc (casin_test): Add more tests.
22572 (casinh_test): Likewise.
22573 * sysdeps/i386/fpu/libm-test-ulps: Update.
22574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22576 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22578 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22579 (__x86_64_raw_data_cache_size): Likewise.
22580 (__x86_64_data_cache_size_half): Likewise.
22581 (__x86_64_raw_data_cache_size_half): Likewise.
22582 (__x86_64_shared_cache_size): Likewise.
22583 (__x86_64_raw_shared_cache_size): Likewise.
22584 (__x86_64_shared_cache_size_half): Likewise.
22585 (__x86_64_raw_shared_cache_size_half): Likewise.
22586 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22588 (__x86_data_cache_size): This.
22589 (__x86_64_raw_data_cache_size): Renamed to ...
22590 (__x86_raw_data_cache_size): This.
22591 (__x86_64_data_cache_size_half): Renamed to ...
22592 (__x86_data_cache_size_half): This.
22593 (__x86_64_raw_data_cache_size_half): Renamed to ...
22594 (__x86_raw_data_cache_size_half): This.
22595 (__x86_64_shared_cache_size): Renamed to ...
22596 (__x86_shared_cache_size): This.
22597 (__x86_64_raw_shared_cache_size): Renamed to ...
22598 (__x86_raw_shared_cache_size): This.
22599 (__x86_64_shared_cache_size_half): Renamed to ...
22600 (__x86_shared_cache_size_half): This.
22601 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22602 (__x86_raw_shared_cache_size_half): This.
22603 * sysdeps/x86_64/memcpy.S: Updated.
22604 * sysdeps/x86_64/memset.S: Likewise.
22605 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22606 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22607 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22609 2013-01-04 David S. Miller <davem@davemloft.net>
22611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22613 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22615 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22616 1 to avoid redefinition warning.
22617 (__USE_GNU): Don't define.
22618 (init_signaling_nan): Protoize.
22620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22622 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22624 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22625 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22626 (__cpymn): Likewise.
22627 (norm): Remove commented code.
22628 (denorm): Likewise.
22629 (__mp_dbl): Likewise.
22631 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22632 (__cpymn): Likewise.
22633 (norm): Remove commented code.
22634 (denorm): Likewise.
22635 (__mp_dbl): Likewise.
22638 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22639 mp_no value for 1.0 and 2.0.
22640 (norm): Use RADIXI instead of radixi.d.
22641 (denorm): Likewise.
22642 (__mul): Use 0.0 instead of zero.d.
22643 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22644 mp_no value for 1.0 and 2.0.
22645 (norm): Use RADIXI instead of radixi.d.
22646 (denorm): Likewise.
22647 (__mul): Use 0.0 instead of zero.d.
22649 2013-01-04 Joseph Myers <joseph@codesourcery.com>
22652 * math/s_casinh.c (__casinh): Reduce finite argument to first
22653 quadrant then set signs of results at the end.
22654 * math/s_casinhf.c (__casinhf): Likewise.
22655 * math/s_casinhl.c (__casinhl): Likewise.
22656 * math/libm-test.inc (casin_test): Add more tests.
22657 (casinh_test): Likewise.
22658 * sysdeps/i386/fpu/libm-test-ulps: Update.
22659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22661 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22663 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22665 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22667 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22669 (denorm): Likewise.
22670 (__mp_dbl): Likewise.
22673 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22674 and adjust the header comment.
22676 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22677 variable name from declaration.
22679 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22682 Initialize COMMON_CPUID_INDEX_7 element.
22683 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22684 (CPUID_RTM): Likewise.
22685 (HAS_RTM): Likewise.
22686 (COMMON_CPUID_INDEX_7): New enum.
22688 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22691 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22692 size is zero, record memory as freed.
22694 2013-01-03 Andreas Jaeger <aj@suse.de>
22696 * po/ia.po: Add new Interlingua translation.
22698 2012-01-03 Allan McRae <allan@archlinux.org>
22700 * locale/programs/localedef.c: Fix description of '--posix' flag.
22702 2013-01-02 Joseph Myers <joseph@codesourcery.com>
22704 * NEWS: Update dates in second copyright notice.
22705 * README: Update copyright dates in example.
22706 * manual/libc.texinfo: Update copyright dates.
22707 * scripts/test-installation.pl: Update copyright date in --version
22710 * hurd/ctty-input.c: Fix copyright notice formatting.
22711 * hurd/ctty-output.c: Likewise.
22712 * hurd/dtable.c: Likewise.
22713 * hurd/hurd-raise.c: Likewise.
22714 * hurd/hurdprio.c: Likewise.
22715 * hurd/msgportdemux.c: Likewise.
22716 * misc/sys/file.h: Likewise.
22717 * misc/sys/ioctl.h: Likewise.
22718 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22719 * sysdeps/mach/hurd/chdir.c: Likewise.
22720 * sysdeps/mach/hurd/fchdir.c: Likewise.
22721 * sysdeps/mach/hurd/rename.c: Likewise.
22722 * sysdeps/mach/hurd/rmdir.c: Likewise.
22723 * sysdeps/mach/hurd/seekdir.c: Likewise.
22724 * sysdeps/mach/hurd/setsid.c: Likewise.
22725 * sysdeps/posix/wait3.c: Likewise.
22727 * All files with FSF copyright notices: Update copyright dates
22728 using scripts/update-copyrights.
22729 * intl/plural.c: Regenerated.
22730 * locale/programs/charmap-kw.h: Likewise.
22731 * locale/programs/locfile-kw.h: Likewise.
22733 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22735 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22738 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22739 calculation loop and add branch prediction.
22741 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22742 check access beyond bounds of m1np.
22744 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22746 (__inv): Remove local variable MPTWO to use the global
22748 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22749 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22751 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22752 MP3HALFS static const.
22754 2013-01-01 David S. Miller <davem@davemloft.net>
22756 * po/ca.po: Update from translation team.
22758 2013-01-01 Joseph Myers <joseph@codesourcery.com>
22760 * scripts/update-copyrights: New file.
22761 * Makeconfig: Reformat copyright notice.
22762 * ctype/ctype.h: Likewise.
22763 * debug/swprintf_chk.c: Likewise.
22764 * elf/dl-cache.c: Likewise.
22765 * elf/dl-debug.c: Likewise.
22766 * elf/dl-object.c: Likewise.
22767 * grp/initgroups.c: Likewise.
22768 * hurd/Makefile: Likewise.
22769 * hurd/hurd/signal.h: Likewise.
22770 * hurd/hurdfault.c: Likewise.
22771 * hurd/hurdioctl.c: Likewise.
22772 * hurd/hurdlookup.c: Likewise.
22773 * hurd/intr-msg.c: Likewise.
22774 * iconv/gconv_open.c: Likewise.
22775 * libio/swprintf.c: Likewise.
22776 * locale/lc-ctype.c: Likewise.
22777 * locale/nl_langinfo.c: Likewise.
22778 * mach/Machrules: Likewise.
22779 * mach/Makefile: Likewise.
22780 * malloc/obstack.h: Likewise.
22781 * manual/Makefile: Likewise.
22782 * manual/tsort.awk: Likewise.
22783 * misc/bits/stab.def: Likewise.
22784 * nis/nis_print_group_entry.c: Likewise.
22785 * nis/nis_table.c: Likewise.
22786 * nis/nss_compat/compat-pwd.c: Likewise.
22787 * nis/nss_compat/compat-spwd.c: Likewise.
22788 * po/Makefile: Likewise.
22789 * posix/fnmatch.c: Likewise.
22790 * posix/regex.h: Likewise.
22791 * resolv/Makefile: Likewise.
22792 * resolv/nss_dns/dns-network.c: Likewise.
22793 * resolv/res_hconf.c: Likewise.
22794 * scripts/gen-sorted.awk: Likewise.
22795 * soft-fp/soft-fp.h: Likewise.
22796 * stdio-common/printf.h: Likewise.
22797 * stdlib/monetary.h: Likewise.
22798 * stdlib/random.c: Likewise.
22799 * stdlib/random_r.c: Likewise.
22800 * sysdeps/generic/Makefile: Likewise.
22801 * sysdeps/gnu/Makefile: Likewise.
22802 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22803 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22804 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22805 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22806 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22807 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22808 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22809 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22810 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22811 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22812 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22813 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22814 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22815 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22816 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22817 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22818 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22819 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22820 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22821 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22822 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22823 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22824 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22825 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22826 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22827 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22828 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22829 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22830 * sysdeps/mach/hurd/errnos.awk: Likewise.
22831 * sysdeps/mach/hurd/fork.c: Likewise.
22832 * sysdeps/mach/hurd/getcwd.c: Likewise.
22833 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22834 * sysdeps/mach/hurd/mmap.c: Likewise.
22835 * sysdeps/mach/hurd/utimes.c: Likewise.
22836 * sysdeps/mach/hurd/xmknod.c: Likewise.
22837 * sysdeps/posix/profil.c: Likewise.
22838 * sysdeps/posix/readdir_r.c: Likewise.
22839 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22840 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22841 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22842 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22844 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22845 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22846 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22848 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22849 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22850 * sysdeps/pthread/lio_listio.c: Likewise.
22851 * sysdeps/sparc/dl-procinfo.h: Likewise.
22852 * sysdeps/unix/i386/sysdep.S: Likewise.
22853 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22854 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22855 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22856 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22858 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22859 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22860 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22861 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22862 * sysdeps/wordsize-32/divdi3.c: Likewise.
22863 * time/sys/time.h: Likewise.
22864 * wcsmbs/Makefile: Likewise.
22866 2013-01-01 David S. Miller <davem@davemloft.net>
22868 * po/fr.po: Update from translation team.
22870 * catgets/gencat.c: Update copyright year.
22871 * csu/version.c: Likewise.
22872 * debug/catchsegv.sh: Likewise.
22873 * debug/pcprofiledump.c: Likewise.
22874 * debug/xtrace.sh: Likewise.
22875 * elf/ldconfig.c: Likewise.
22876 * elf/ldd.bash.in: Likewise.
22877 * elf/pldd.c: Likewise.
22878 * elf/sotruss.ksh: Likewise.
22879 * elf/sprof.c: Likewise.
22880 * iconv/iconv_prog.c: Likewise.
22881 * iconv/iconvconfig.c: Likewise.
22882 * locale/programs/locale.c: Likewise.
22883 * locale/programs/localedef.c: Likewise.
22884 * login/programs/pt_chown.c: Likewise.
22885 * malloc/memusage.sh: Likewise.
22886 * malloc/memusagestat.c: Likewise.
22887 * malloc/mtrace.pl: Likewise.
22888 * nscd/nscd.c: Likewise.
22889 * nss/getent.c: Likewise.
22890 * nss/makedb.c: Likewise.
22891 * posix/getconf.c: Likewise.
22893 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22895 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22898 2012-12-30 Mike Frysinger <vapier@gentoo.org>
22900 * math/bits/mathcalls.h (modf): Use __nonnull.
22902 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22904 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22905 (split): Use macro CN instead of the bare value.
22906 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22908 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22909 instead of the bare value.
22910 (power1): Likewise.
22912 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22914 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22916 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22918 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22920 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22921 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22922 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22923 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22925 2012-12-28 Andreas Jaeger <aj@suse.de>
22927 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22928 values are from Linux 3.7.
22930 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22931 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22933 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22935 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
22938 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22940 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22941 variables with preprocessor constants.
22942 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22943 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22944 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22946 2012-12-27 Bruno Haible <bruno@clisp.org>
22949 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22952 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22954 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22955 and use variable directly.
22956 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22958 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22960 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22961 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22963 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22964 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22965 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22966 include directive. Remove local variable MPONE.
22967 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22968 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22969 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22971 2012-12-25 David S. Miller <davem@davemloft.net>
22973 * version.h (RELEASE): Set to "development".
22974 (VERSION): Set to "2.17.90".
22975 * NEWS: Add 2.18 section.
22977 2012-12-21 David S. Miller <davem@davemloft.net>
22979 * po/hr.po: Update from translation team.
22981 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22983 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22985 2012-12-19 Steve Ellcey <sellcey@mips.com>
22987 * NEWS: Mention new memcpy for MIPS.
22989 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22991 * manual/contrib.texi (Contributors): Spelling correction.
22993 2012-12-15 David S. Miller <davem@davemloft.net>
22995 * po/ru.po: Update from translation team.
22997 2012-12-13 David S. Miller <davem@davemloft.net>
22999 * NEWS: Mention IFUNC testsuite enhancements.
23001 * po/pl.po: Update from translation team.
23002 * po/bg.po: Likewise.
23004 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23005 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23007 2012-12-11 David S. Miller <davem@davemloft.net>
23009 * po/sv.po: Update from translation team.
23011 * po/vi.po: Update from translation team.
23013 * po/cs.po: Update from translation team.
23015 * po/de.po: Update from translation team.
23016 * po/eo.po: Likewise.
23017 * po/nl.po: Likewise.
23019 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23022 * manual/argp.texi (Argp Helper Functions): Move node to follow
23023 Argp Parsing State.
23026 * manual/conf.texi (Limits on File System Capacity): Mention if
23027 terminating null is included in the max size.
23029 2012-12-10 Andreas Jaeger <aj@suse.de>
23031 * po/cs.po: Update from translation team.
23033 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23035 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23036 void pointer and cast to uintptr_t.
23037 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23039 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23040 * sysdeps/s390/s390-64/memset.S: Likewise.
23042 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23045 * menual/message.texi (Message Translation): Fix typos.
23046 (Helper programs for gettext): Likewise.
23048 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23051 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23054 2012-12-07 David S. Miller <davem@davemloft.net>
23056 * po/libc.pot: Update.
23058 2012-12-07 Richard Henderson <rth@redhat.com>
23061 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23062 normal/normal case to before the switch.
23063 (_FP_DIV): Likewise.
23065 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23066 Mike Frysinger <vapier@gentoo.org>
23068 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23069 check for __NR_fadvise64_64.
23071 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23073 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23074 0, not just to plain "0" as a statement.
23075 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23078 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23080 * NEWS: Use sourceware.org in Bugzilla URL.
23082 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23085 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23087 * stdio-common/tst-put-error.c (do_test): Add newline to the
23088 padded test to ensure flush.
23090 2012-12-05 Jeff Law <law@redhat.com>
23092 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23094 2012-12-05 Joseph Myers <joseph@codesourcery.com>
23096 * README: Don't refer to ports add-on as distributed separately.
23097 Mention AArch64 in list of systems supported in the ports add-on.
23099 * LICENSES: Add more non-FSF copyright and license notices.
23101 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23104 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23106 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23107 10000 as width of padded output.
23109 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23111 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23113 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23114 variable LX with __attribute__ ((unused)).
23115 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23117 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23118 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23119 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23120 with __attribute__ ((unused)).
23122 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
23124 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23126 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23128 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23129 (CFLAGS-nldbl-acos.c): New variable.
23130 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23131 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23132 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23133 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23134 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23135 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23136 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23137 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23138 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23139 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23140 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23141 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23142 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23143 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23144 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23145 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23146 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23147 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23148 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23149 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23150 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23151 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23152 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23153 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23154 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23155 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23156 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23157 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23158 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23159 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23160 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23161 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23162 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23163 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23164 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23165 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23166 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23167 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23168 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23169 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23170 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23171 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23172 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23173 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23174 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23175 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23176 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23177 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23178 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23179 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23180 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23181 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23182 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23183 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23184 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23185 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23186 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23187 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23188 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23189 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23190 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23191 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23192 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23193 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23194 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23195 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23196 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23197 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23198 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23199 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23200 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23201 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23202 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23203 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23204 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23205 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23206 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23207 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23208 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23209 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23210 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23211 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23212 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23213 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23214 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23215 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23216 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23217 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23218 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23219 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23220 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23221 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23222 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23223 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23224 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23225 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23226 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23229 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23232 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23233 whole low double instead of just low 47 bits when splitting values
23236 2012-12-03 Allan McRae <allan@archlinux.org>
23238 * manual/stdio.texi (Predefined Printf Handlers): Remove
23239 @hsep and @vsep usage.
23241 2012-12-03 Mike Frysinger <vapier@gentoo.org>
23243 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23244 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23246 2012-12-03 Jeff Law <law@redhat.com>
23248 * time/sys/time.h (settimeofday): Do not mark TV argument
23251 2012-12-01 Mike Frysinger <vapier@gentoo.org>
23253 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23254 when currently writing and seek to current position when not.
23255 * libio/Makefile (tests): Remove bug-fclose1.
23256 * libio/bug-fclose1.c: Delete.
23258 2012-12-01 Joseph Myers <joseph@codesourcery.com>
23260 * manual/arith.texi (feenableexcept): Fix typo.
23261 (fedisableexcept): Likewise.
23263 2012-11-30 Roland McGrath <roland@hack.frob.com>
23265 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23266 second, differently-typed declaration, rather than a cast.
23268 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23270 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23271 * include/rpc/svc.h: ... here.
23273 2012-11-30 Aurelien Jarno <aurel32@debian.org>
23276 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23277 depending n and resplen2 to catch cases where answer
23280 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23282 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23283 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23285 2012-11-29 Mike Frysinger <vapier@gentoo.org>
23287 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23289 2012-11-29 Roland McGrath <roland@hack.frob.com>
23291 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23293 2012-11-28 Jeff Law <law@redhat.com>
23296 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23297 dataset_temporary. Track alloca usage into alloca_used.
23298 If dataset is large allocate and release it via malloc/free.
23300 2012-06-04 Florian Weimer <fweimer@redhat.com>
23303 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23305 2012-11-28 David S. Miller <davem@davemloft.net>
23307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23309 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23312 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23313 of pi/2 rounded to nearest to 64 bits.
23314 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23315 nearest to 64 bits.
23316 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23319 2012-11-28 Jeff Law <law@redhat.com>
23320 Martin Osvald <mosvald@redhat.com>
23323 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23324 * sunrpc/svc.c: Include time.h.
23325 (__svc_accept_failed): New function.
23326 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23327 any reason other than EINTR, call __svc_accept_failed.
23328 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23329 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23331 2012-11-28 Andreas Schwab <schwab@suse.de>
23333 * scripts/abilist.awk: Also handle indirect functions in .opd
23336 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23339 * sysdeps/x86/fpu/powl_helper.c: New file.
23340 * sysdeps/x86/fpu/Makefile: Likewise.
23341 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23343 (__ieee754_powl): Use __powl_helper for finite arguments except
23344 integer exponents below 8.
23345 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23347 (__ieee754_powl): Use __powl_helper for finite arguments except
23348 integer exponents below 8.
23349 * math/libm-test.inc (pow_test): Add more tests and enable some
23350 previously disabled tests.
23351 * sysdeps/i386/fpu/libm-test-ulps: Update.
23352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23354 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23355 Carlos O'Donell <carlos_odonell@mentor.com>
23357 * nss/makedb.c (is_prime): Assert that input is odd and greater
23358 than 4. Note that fact in a comment too.
23359 (next_prime): Add 4 to input.
23361 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23364 * libio/Makefile (tests): Add test case tst-fwrite-error.
23365 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23366 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23367 * libio/tst-fwrite-error.c: New test case.
23369 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23371 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23372 before casting to void *.
23373 * include/libc-internal.h (__pointer_type): New macro.
23374 (__integer_if_pointer_type_sub): Likewise.
23375 (__integer_if_pointer_type): Likewise.
23376 (cast_to_integer): Likewise.
23377 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23378 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23379 before casting to atomic64_t.
23380 (atomic_exchange_acq): Likewise.
23381 (__arch_exchange_and_add_body): Likewise.
23382 (__arch_add_body): Likewise.
23383 (atomic_add_negative): Likewise.
23384 (atomic_add_zero): Likewise.
23386 2012-11-26 Joseph Myers <joseph@codesourcery.com>
23388 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23389 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23390 (add_fdes): Likewise.
23391 (linear_search_fdes): Likewise.
23392 (binary_search_unencoded_fdes): Likewise.
23394 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23396 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23398 2012-11-24 Adam Conrad <adconrad@0c3.net>
23400 * configure.in: Autodetect C++ header directories.
23401 * configure: Regenerated.
23403 2012-11-23 Mike Frysinger <vapier@gentoo.org>
23405 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23407 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23411 2012-11-22 Joseph Myers <joseph@codesourcery.com>
23413 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23414 LDBL_MANT_DIG == 106]: Disable some tests.
23415 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23417 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23421 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23422 input for small inputs. Return +/- pi/2 for large inputs.
23423 * math/libm-test.inc (atan_test): Add more tests.
23425 * sysdeps/generic/unwind-dw2-fde-glibc.c
23426 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23427 __attribute__ ((unused)).
23430 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23431 x * y if x and y are nonzero and z is zero.
23434 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23435 nonzero exponents with absolute value below 0x1p-117 to +/-
23439 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23440 up arguments below 2**-450, not just those below 2**-500.
23441 * math/libm-test.inc (hypot_test): Add another test.
23444 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23445 Return a+b for ratio over 2**120, not 2**60.
23446 * math/libm-test.inc (hypot_test): Add another test.
23448 * math/libm-test.inc (clog_test): Use
23449 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23450 (clog10_test): Likewise.
23453 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23455 2012-11-22 Andreas Schwab <schwab@suse.de>
23457 * sysdeps/i386/fpu/libm-test-ulps: Update.
23459 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23461 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23462 printf output with newline.
23464 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23467 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23468 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23469 -z nodlopen, -z initfirst and -z execstack support.
23470 * configure: Regenerated.
23472 * elf/elf.h (DF_1_NODIRECT): New macro.
23473 (DF_1_IGNMULDEF): Likewise.
23474 (DF_1_NOKSYMS): Likewise.
23475 (DF_1_NOHDR): Likewise.
23476 (DF_1_EDITED): Likewise.
23477 (DF_1_NORELOC): Likewise.
23478 (DF_1_SYMINTPOSE): Likewise.
23479 (DF_1_GLOBAUDIT): Likewise.
23480 (DF_1_SINGLETON): Likewise.
23481 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23482 DT_1_SUPPORTED_MASK bits.
23483 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23485 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23487 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23489 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23491 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23494 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23495 (sendmmsg): Move declarations...
23496 * socket/sys/socket.h: ... here.
23497 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23498 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23500 * socket/recvmmsg.c: ... this new file.
23501 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23502 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23503 definition of __sendmmsg hidden.
23504 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23505 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23506 Move ENOSYS stub into and include it from...
23507 * socket/sendmmsg.c: ... this new file.
23508 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23509 (sysdep_routines): Move recvmmsg and sendmmsg...
23510 * socket/Makefile (routines): ... here.
23511 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23512 (GLIBC_PRIVATE): Add __sendmmsg.
23513 * include/sys/socket.h (__sendmmsg): Add declarations.
23514 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23517 2012-11-20 Joseph Myers <joseph@codesourcery.com>
23519 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23520 variable I1 with __attribute__ ((unused)).
23521 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23523 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23525 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23526 DUMMY variables with __attribute__ ((unused)).
23528 * bits/byteswap.h: Include <bits/types.h>.
23529 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23531 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23533 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23534 string_t. Do not manually set errno.
23535 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23536 length with __strnlen. Make sure to both set errno and return it on
23539 2012-11-19 David S. Miller <davem@davemloft.net>
23541 With help from Joseph Myers.
23542 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23543 very large arguments properly.
23544 * math/libm-test.inc (atan_test): New tests.
23545 (atan2_test): New tests.
23546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23547 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23549 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23552 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23555 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23556 [POSIX] (EADDRNOTAVAIL): Likewise.
23557 [POSIX] (EAFNOSUPPORT): Likewise.
23558 [POSIX] (EALREADY): Likewise.
23559 [POSIX] (ECONNABORTED): Likewise.
23560 [POSIX] (ECONNREFUSED): Likewise.
23561 [POSIX] (ECONNRESET): Likewise.
23562 [POSIX] (EDESTADDRREQ): Likewise.
23563 [POSIX] (EDQUOT): Likewise.
23564 [POSIX] (EHOSTUNREACH): Likewise.
23565 [POSIX] (EIDRM): Likewise.
23566 [POSIX] (EISCONN): Likewise.
23567 [POSIX] (ELOOP): Likewise.
23568 [POSIX] (EMULTIHOP): Likewise.
23569 [POSIX] (ENETDOWN): Likewise.
23570 [POSIX] (ENETUNREACH): Likewise.
23571 [POSIX] (ENOBUFS): Likewise.
23572 [POSIX] (ENODATA): Likewise.
23573 [POSIX] (ENOLINK): Likewise.
23574 [POSIX] (ENOMSG): Likewise.
23575 [POSIX] (ENOPROTOOPT): Likewise.
23576 [POSIX] (ENOSR): Likewise.
23577 [POSIX] (ENOSTR): Likewise.
23578 [POSIX] (ENOTCONN): Likewise.
23579 [POSIX] (ENOTSOCK): Likewise.
23580 [POSIX] (EOPNOTSUPP): Likewise.
23581 [POSIX] (EOVERFLOW): Likewise.
23582 [POSIX] (EPROTO): Likewise.
23583 [POSIX] (EPROTONOSUPPORT): Likewise.
23584 [POSIX] (EPROTOTYPE): Likewise.
23585 [POSIX] (ESTALE): Likewise.
23586 [POSIX] (ETIME): Likewise.
23587 [POSIX] (ETXTBSY): Likewise.
23588 [POSIX] (EWOULDBLOCK): Likewise.
23589 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23590 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23591 [POSIX] (SEEK_CUR): Likewise.
23592 [POSIX] (SEEK_END): Likewise.
23593 [POSIX || UNIX98] (mode_t): Do not require.
23594 [POSIX] (off_t): Likewise.
23595 [POSIX] (pid_t): Likewise.
23596 [POSIX] (sys/stat.h): Do not allow header.
23597 [POSIX] (unistd.h): Likewise.
23598 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23599 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23600 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23601 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23603 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23604 sigevent): Specify elements.
23605 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23607 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23608 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23610 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23611 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23612 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23613 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23614 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23615 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23616 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23617 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23618 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23619 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23620 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23621 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23622 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23623 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23625 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23627 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23629 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23631 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23632 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23633 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23634 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23635 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23636 Specify lower bound on value.
23637 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23638 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23639 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23640 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23641 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23642 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23643 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23644 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23646 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23648 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23649 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23650 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23651 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23652 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23653 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23654 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23655 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23656 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23657 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23658 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23659 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23660 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23661 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23662 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23663 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23665 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23667 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23668 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23669 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23670 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23671 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23672 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23674 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23675 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23676 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23677 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23678 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23679 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23680 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23682 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23683 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23684 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23685 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23686 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23687 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23688 specify as optional.
23689 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23690 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23691 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23692 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23693 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23694 [XPG3] (NL_LANGMAX): Likewise.
23695 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23696 [POSIX || XPG3] (NL_NMAX): Likewise.
23697 [POSIX || XPG3] (NL_SETMAX): Likewise.
23698 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23699 [XPG3] (NZERO): Likewise.
23700 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23701 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23702 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23703 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23704 (REG_ERANGE): Expect.
23705 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23707 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23708 Use (void) in prototype.
23709 [POSIX] (*_t): Allow.
23710 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23711 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23712 (WRDE_BADVAL): Expect.
23714 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23716 [XPG3 || XPG4] (O_RSYNC): Likewise.
23717 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23719 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23720 [XPG3 || XPG4] (sigqueue): Likewise.
23721 [XPG3 || XPG4] (sigtimedwait): Likewise.
23722 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23723 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23724 [XPG3 || XPG4] (vsnprintf): Likewise.
23725 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23727 [XPG3 || XPG4] (blksize_t): Likewise.
23728 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23730 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23731 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23732 [XPG3 || XPG4] (struct itimerspec): Likewise.
23733 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23734 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23735 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23736 [XPG3 || XPG4] (clockid_t): Likewise.
23737 [XPG3 || XPG4] (timer_t): Likewise.
23738 [XPG3 || XPG4] (clock_getres): Likewise.
23739 [XPG3 || XPG4] (clock_gettime): Likewise.
23740 [XPG3 || XPG4] (clock_settime): Likewise.
23741 [XPG3 || XPG4] (nanosleep): Likewise.
23742 [XPG3 || XPG4] (timer_create): Likewise.
23743 [XPG3 || XPG4] (timer_delete): Likewise.
23744 [XPG3 || XPG4] (timer_gettime): Likewise.
23745 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23746 [XPG3 || XPG4] (timer_settime): Likewise.
23747 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23748 [XPG3 || XPG4] (getlogin_r): Likewise.
23749 [XPG3 || XPG4] (pread): Likewise.
23750 [XPG3 || XPG4] (pthread_atfork): Likewise.
23751 [XPG3 || XPG4] (pwrite): Likewise.
23754 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23757 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23759 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23760 finalizing MALLSTREAM.
23762 * sysdeps/mach/hurd/syncfs.c: New file.
23764 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23767 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23768 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23769 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23770 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23771 (_nss_dns_gethostbyname4_r): Likewise.
23772 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23773 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23775 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23778 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23780 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23782 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23783 * elf/cache.c (print_entry): Print ",AArch64" for
23786 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23787 * elf/cache.c (print_entry): Print ",hard-float" for
23790 2012-11-18 David S. Miller <davem@davemloft.net>
23792 With help from Joseph Myers.
23793 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23795 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23797 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23798 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23800 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23801 * math/libm-test.inc (y0_test): New tests.
23802 (y1_test): New tests.
23803 * sysdeps/i386/fpu/libm-test-ulps: Update.
23804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23807 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23809 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23811 * configure: Regenerated.
23813 2012-11-17 David S. Miller <davem@davemloft.net>
23816 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23817 nonzero exponents with absolute value below 0x1p-128 to +/-
23820 2012-11-17 Joseph Myers <joseph@codesourcery.com>
23822 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23824 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23826 * posix/getconf-speclist.c: New file.
23827 * posix/posix-envs.def: Likewise.
23828 * posix/confstr.c (START_ENV_GROUP): New macro.
23829 (END_ENV_GROUP): Likewise.
23830 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23831 (KNOWN_PRESENT_ENV_STRING): Likewise.
23832 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23833 (UNKNOWN_ENVIRONMENT): Likewise.
23834 (confstr): Include posix-envs.def instead of handling
23835 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23836 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23837 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23838 (END_ENV_GROUP): Likewise.
23839 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23840 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23841 (UNKNOWN_ENVIRONMENT): Likewise.
23842 (__sysconf): Include posix-envs.def instead of handling associated
23843 cases directly here.
23844 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23845 preprocessing getconf-speclist.c rather than running getconf or
23846 generating empty file.
23848 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23850 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23852 2012-11-16 Andrej Lajovic <natrij@gmail.com>
23855 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23857 2012-11-16 David S. Miller <davem@davemloft.net>
23859 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23860 smaller than LDBL_EPSILON/2.0L, just return xm1.
23862 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23864 * elf/tst-array1.c (init): Set constructor priority to 1000.
23865 (fini): Set destructor priority to 1000.
23866 * elf/tst-array2dep.c: Likewise.
23868 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23871 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23872 (_IO_new_file_xsputn): Also return EOF if none of the input
23873 data was written when overflow failed.
23874 * libio/iopadn.c (_IO_padn): Likewise.
23875 * libio/iowpadn.c (_IO_wpadn): Likewise.
23876 * stdio-common/tst-put-error.c: Add copyright notice.
23877 (do_test): Add case for printing padded string.
23878 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23879 _IO_padn returned error.
23880 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23881 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23884 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23886 * libio/libioP.h: Add comment note that the references to C++
23887 bits are now obsolete.
23889 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23891 * math/libm-test.inc (check_complex): Use asprintf.
23893 2012-11-14 Joseph Myers <joseph@codesourcery.com>
23895 * debug/pcprofiledump.c (print_version): Update copyright year.
23896 * malloc/memusagestat.c (print_version): Likewise.
23898 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23901 * elf/Makefile (tests): Add tst-audit8.
23902 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23903 ($(objpfx)tst-audit8.out): New target.
23904 (tst-audit8-ENV): New variable.
23905 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23906 audit if l_reloc_result is NULL.
23907 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23908 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23909 * elf/tst-audit8.c: New file.
23911 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23913 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23914 * misc/Makefile (CFLAGS-select.c): Define.
23915 * posix/Makefile (CFLAGS-pause.c): Define.
23917 2012-11-13 David S. Miller <davem@davemloft.net>
23919 * crypt/Makefile: Move test targets after toplevel Rules
23920 inclusion. Grab any necessary sysdep routines when linking.
23921 * crypt/md5.c (md5_process_block): Remove define, we will always
23922 name it __md5_process_block.
23923 (md5_finish_ctx): Update md5_process_block call.
23924 (md5_stream): Likewise.
23925 (md5_process_bytes): Likewise.
23926 (md5_process_block): Rename to __md5_process_block and move to ...
23927 * crypt/md5-block.c: ... here.
23928 * crypt/sha256.c (sha256_process_block): Move to ...
23929 * crypt/sha256-block.c: ... here.
23930 * crypt/sha512.c (sha512_process_block): Move to ...
23931 * crypt/sha512-block.c: ... here.
23932 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23934 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23935 * sysdeps/sparc/sparc64/multiarch/Makefile
23936 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23938 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23939 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23941 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23942 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23943 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23944 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23945 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23946 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23947 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23948 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23949 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23951 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23952 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23954 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23956 2012-11-13 Joseph Myers <joseph@codesourcery.com>
23958 * timezone/tzselect.ksh: Update from tzcode git revision
23959 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23960 * timezone/zdump.c: Likewise.
23961 * timezone/zic.c: Likewise.
23962 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23963 in TZVERSION setting, not $(PKGVERSION).
23964 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23965 REPORT_BUGS_TO settings.
23968 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23971 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23973 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23974 detection to immediately after _FP_ROUND().
23975 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23978 2012-11-11 David S. Miller <davem@davemloft.net>
23980 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23982 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23983 __close rather than their public counterparts.
23985 2012-11-10 Joseph Myers <joseph@codesourcery.com>
23987 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23989 [UNIX98] (sem_timedwait): Do not expect.
23990 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23991 [XPG4 || UNIX98] (sockatmark): Do not expect.
23992 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23993 (clock_getcpuclockid): Do not expect.
23994 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23995 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23997 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23998 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23999 [UNIX98] (vwscanf): Likewise.
24000 [UNIX98] (vswscanf): Likewise.
24002 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24004 * timezone/version.h: Remove file.
24005 * timezone/README: Do not refer to version.h.
24006 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24007 $(objpfx)version.h.
24008 ($(objpfx)zdump.o): Likewise.
24009 ($(objpfx)version.h): New target.
24011 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24013 * timezone/README: Don't mention modification to tzselect.ksh.
24014 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24015 work on unmodified tzselect.ksh. Substitute version numbers in
24018 * Makefile (format-me): Remove.
24019 (INSTALL): Adjust indentation. Use commands directly instead of
24020 using $(format-me).
24022 * aclocal.m4 (ACX_PKGVERSION): New macro.
24023 (ACX_BUGURL): Likewise.
24024 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24025 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24026 (REPORT_BUGS_TO): Likewise.
24027 * configure: Regenerated.
24028 * config.h.in (PKGVERSION): New macro.
24029 (REPORT_BUGS_TO): Likewise.
24030 * config.make.in (PKGVERSION): New variable.
24031 (PKGVERSION_TEXI): Likewise.
24032 (REPORT_BUGS_TO): Likewise.
24033 (REPORT_BUGS_TEXI): Likewise.
24034 * Makefile (format-me): Use -I$(common-objpfx)manual.
24035 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24036 ($(common-objpfx)manual/%): New target.
24037 (manual/%): Remove target.
24038 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24039 (print_version): Use PKGVERSION.
24040 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24041 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24042 and REPORT_BUGS_TO.
24043 ($(objpfx)xtrace): Likewise.
24044 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24045 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24046 (print_version): Use PKGVERSION.
24047 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24048 (do_version): Use PKGVERSION.
24049 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24051 (common-ldd-rewrite): Likewise.
24052 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24053 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24054 (print_version): Use PKGVERSION.
24055 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24056 * elf/pldd.c (argp_program_bug_address): Remove variable.
24057 (more_help): New function.
24058 (argp): Use more_help.
24059 (print_version): Use PKGVERSION.
24060 * elf/sln.c (main): Use PKGVERSION.
24061 (usage): Use REPORT_BUGS_TO.
24062 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24063 (top level): Use PKGVERSION.
24064 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24065 (print_version): Use PKGVERSION.
24066 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24067 (print_version): Use PKGVERSION.
24068 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24069 (print_version): Use PKGVERSION.
24070 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24071 (print_version): Use PKGVERSION.
24072 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24073 (print_version): Use PKGVERSION.
24074 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24075 (print_version): Use PKGVERSION.
24076 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24078 ($(objpfx)memusage): Likewise.
24079 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24080 (do_version): Use PKGVERSION.
24081 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24082 (print_version): Use PKGVERSION.
24083 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24084 ($PKGVERSION): New variable.
24085 ($REPORT_BUGS_TO): Likewise.
24086 (usage): Use $REPORT_BUGS_TO.
24087 (top level): Use $PKGVERSION.
24088 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24089 ($(objpfx)pkgvers.texi): New rule.
24090 ($(objpfx)stamp-pkgvers): Likewise.
24091 * manual/install.texi: Include pkgvers.texi.
24092 (--with-pkgversion): Document new configure option.
24093 (--with-bugurl): Likewise.
24094 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24095 than necessarily for this particular distribution. Use
24096 REPORT_BUGS_TO for where to report bugs.
24097 * INSTALL: Regenerated.
24098 * manual/libc.texinfo: Include pkgvers.texi.
24099 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24100 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24101 (print_version): Use PKGVERSION.
24102 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24103 (print_version): Use PKGVERSION.
24104 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24105 (print_version): Use PKGVERSION.
24106 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24107 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24109 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24110 (print_version): Use PKGVERSION.
24111 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24112 (print_version): Use PKGVERSION.
24113 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24116 * timezone/checktab.awk: Update from tzcode 2012i.
24117 * timezone/ialloc.c: Likewise.
24118 * timezone/private.h: Likewise.
24119 * timezone/scheck.c: Likewise.
24120 * timezone/tzfile.h: Likewise.
24121 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24122 (TZVERSION): Hardcode tzcode version number.
24123 * timezone/zdump.c: Update from tzcode 2012i.
24124 * timezone/zic.c: Likewise.
24125 * timezone/version.h: New file.
24126 * timezone/README: Describe version.h. Update upstream location.
24129 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24130 (mktemp): Enable declaration.
24131 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24132 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24133 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24134 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24136 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24138 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24140 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24142 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24144 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24148 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24149 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24150 for copies of such integer values.
24151 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24152 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24154 2012-11-09 Andreas Jaeger <aj@suse.de>
24156 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24157 definitions and declarations that are provided by
24158 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24160 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24162 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24163 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24164 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24167 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24169 * elf/elf.h: Update comment before AArch64 relocations.
24171 2012-11-07 David S. Miller <davem@davemloft.net>
24173 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24174 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24175 (__start_context): Declare.
24176 (__makecontext_ret): Delete.
24177 (__makecontext): Hook up __start_context instead of
24179 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24180 (sysdep_routines): Add __start_context when in stdlib.
24182 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24184 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24185 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24186 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24188 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24189 (READELF): New variable. Use it instead of hardcoded "readelf".
24191 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24193 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24194 * sysdeps/x86/Makefile: Here.
24195 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24196 * sysdeps/x86/tst-xmmymm.sh: This.
24198 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24200 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24202 [UNIX98] (pthread_barrier_t): Do not expect.
24203 [UNIX98] (pthread_barrierattr_t): Likewise.
24204 [UNIX98] (pthread_spinlock_t): Likewise.
24205 [UNIX98] (pthread_barrier_destroy): Likewise.
24206 [UNIX98] (pthread_barrier_init): Likewise.
24207 [UNIX98] (pthread_barrier_wait): Likewise.
24208 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24209 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24210 [UNIX98] (pthread_barrierattr_init): Likewise.
24211 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24212 [UNIX98] (pthread_getcpuclockid): Likewise.
24213 [UNIX98] (pthread_mutex_timedlock): Likewise.
24214 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24215 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24216 [UNIX98] (pthread_sigmask): Likewise.
24217 [UNIX98] (pthread_spin_destroy): Likewise.
24218 [UNIX98] (pthread_spin_init): Likewise.
24219 [UNIX98] (pthread_spin_lock): Likewise.
24220 [UNIX98] (pthread_spin_trylock): Likewise.
24221 [UNIX98] (pthread_spin_unlock): Likewise.
24222 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24224 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24225 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24226 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24227 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24228 [XPG3 || XPG4] (pthread_key_t): Likewise.
24229 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24230 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24231 [XPG3 || XPG4] (pthread_once_t): Likewise.
24232 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24233 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24234 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24235 [XPG3 || XPG4] (pthread_t): Likewise.
24237 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24239 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24241 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24242 Change function return type to int.
24244 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24245 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24246 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24247 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24248 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24249 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24250 [!POSIX] (posix_madvise): Likewise.
24251 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24253 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24254 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24255 (mode_t): Likewise.
24256 (posix_mem_offset): Likewise.
24257 (posix_typed_mem_get_info): Likewise.
24258 (posix_typed_mem_open): Likewise.
24260 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24261 Change condition to [XOPEN2K8].
24263 * conform/conformtest.pl: Preprocess allow-header data with -x c
24264 instead of from stdin.
24265 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24266 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24267 [C99-based standards] (cerfc): Likewise.
24268 [C99-based standards] (cexp2): Likewise.
24269 [C99-based standards] (cexpm1): Likewise.
24270 [C99-based standards] (clog10): Likewise.
24271 [C99-based standards] (clog1p): Likewise.
24272 [C99-based standards] (clog2): Likewise.
24273 [C99-based standards] (clgamma): Likewise.
24274 [C99-based standards] (ctgamma): Likewise.
24275 [C99-based standards] (cerff): Likewise.
24276 [C99-based standards] (cerfcf): Likewise.
24277 [C99-based standards] (cexp2f): Likewise.
24278 [C99-based standards] (cexpm1f): Likewise.
24279 [C99-based standards] (clog10f): Likewise.
24280 [C99-based standards] (clog1pf): Likewise.
24281 [C99-based standards] (clog2f): Likewise.
24282 [C99-based standards] (clgammaf): Likewise.
24283 [C99-based standards] (ctgammaf): Likewise.
24284 [C99-based standards] (cerfl): Likewise.
24285 [C99-based standards] (cerfcl): Likewise.
24286 [C99-based standards] (cexp2l): Likewise.
24287 [C99-based standards] (cexpm1l): Likewise.
24288 [C99-based standards] (clog10l): Likewise.
24289 [C99-based standards] (clog1pl): Likewise.
24290 [C99-based standards] (clog2l): Likewise.
24291 [C99-based standards] (clgammal): Likewise.
24292 [C99-based standards] (ctgammal): Likewise.
24293 * conform/data/inttypes.h-data [C99-based standards]: Include
24294 stdint.h-data. Remove all expectations for stdint.h contents.
24295 [C99-based standards] (PRI*): Do not allow.
24296 [C99-based standards] (SCN*): Likewise.
24297 [C99-based standards] (*_t): Likewise.
24298 [C99-based-standards] (PRId8): Expect macro.
24299 [C99-based-standards] (PRIi8): Likewise.
24300 [C99-based-standards] (PRIo8): Likewise.
24301 [C99-based-standards] (PRIu8): Likewise.
24302 [C99-based-standards] (PRIx8): Likewise.
24303 [C99-based-standards] (PRIX8): Likewise.
24304 [C99-based-standards] (SCNd8): Likewise.
24305 [C99-based-standards] (SCNi8): Likewise.
24306 [C99-based-standards] (SCNo8): Likewise.
24307 [C99-based-standards] (SCNu8): Likewise.
24308 [C99-based-standards] (SCNx8): Likewise.
24309 [C99-based-standards] (PRIdLEAST8): Likewise.
24310 [C99-based-standards] (PRIiLEAST8): Likewise.
24311 [C99-based-standards] (PRIoLEAST8): Likewise.
24312 [C99-based-standards] (PRIuLEAST8): Likewise.
24313 [C99-based-standards] (PRIxLEAST8): Likewise.
24314 [C99-based-standards] (PRIXLEAST8): Likewise.
24315 [C99-based-standards] (SCNdLEAST8): Likewise.
24316 [C99-based-standards] (SCNiLEAST8): Likewise.
24317 [C99-based-standards] (SCNoLEAST8): Likewise.
24318 [C99-based-standards] (SCNuLEAST8): Likewise.
24319 [C99-based-standards] (SCNxLEAST8): Likewise.
24320 [C99-based-standards] (PRIdFAST8): Likewise.
24321 [C99-based-standards] (PRIiFAST8): Likewise.
24322 [C99-based-standards] (PRIoFAST8): Likewise.
24323 [C99-based-standards] (PRIuFAST8): Likewise.
24324 [C99-based-standards] (PRIxFAST8): Likewise.
24325 [C99-based-standards] (PRIXFAST8): Likewise.
24326 [C99-based-standards] (SCNdFAST8): Likewise.
24327 [C99-based-standards] (SCNiFAST8): Likewise.
24328 [C99-based-standards] (SCNoFAST8): Likewise.
24329 [C99-based-standards] (SCNuFAST8): Likewise.
24330 [C99-based-standards] (SCNxFAST8): Likewise.
24331 [C99-based-standards] (PRId16): Likewise.
24332 [C99-based-standards] (PRIi16): Likewise.
24333 [C99-based-standards] (PRIo16): Likewise.
24334 [C99-based-standards] (PRIu16): Likewise.
24335 [C99-based-standards] (PRIx16): Likewise.
24336 [C99-based-standards] (PRIX16): Likewise.
24337 [C99-based-standards] (SCNd16): Likewise.
24338 [C99-based-standards] (SCNi16): Likewise.
24339 [C99-based-standards] (SCNo16): Likewise.
24340 [C99-based-standards] (SCNu16): Likewise.
24341 [C99-based-standards] (SCNx16): Likewise.
24342 [C99-based-standards] (PRIdLEAST16): Likewise.
24343 [C99-based-standards] (PRIiLEAST16): Likewise.
24344 [C99-based-standards] (PRIoLEAST16): Likewise.
24345 [C99-based-standards] (PRIuLEAST16): Likewise.
24346 [C99-based-standards] (PRIxLEAST16): Likewise.
24347 [C99-based-standards] (PRIXLEAST16): Likewise.
24348 [C99-based-standards] (SCNdLEAST16): Likewise.
24349 [C99-based-standards] (SCNiLEAST16): Likewise.
24350 [C99-based-standards] (SCNoLEAST16): Likewise.
24351 [C99-based-standards] (SCNuLEAST16): Likewise.
24352 [C99-based-standards] (SCNxLEAST16): Likewise.
24353 [C99-based-standards] (PRIdFAST16): Likewise.
24354 [C99-based-standards] (PRIiFAST16): Likewise.
24355 [C99-based-standards] (PRIoFAST16): Likewise.
24356 [C99-based-standards] (PRIuFAST16): Likewise.
24357 [C99-based-standards] (PRIxFAST16): Likewise.
24358 [C99-based-standards] (PRIXFAST16): Likewise.
24359 [C99-based-standards] (SCNdFAST16): Likewise.
24360 [C99-based-standards] (SCNiFAST16): Likewise.
24361 [C99-based-standards] (SCNoFAST16): Likewise.
24362 [C99-based-standards] (SCNuFAST16): Likewise.
24363 [C99-based-standards] (SCNxFAST16): Likewise.
24364 [C99-based-standards] (PRId32): Likewise.
24365 [C99-based-standards] (PRIi32): Likewise.
24366 [C99-based-standards] (PRIo32): Likewise.
24367 [C99-based-standards] (PRIu32): Likewise.
24368 [C99-based-standards] (PRIx32): Likewise.
24369 [C99-based-standards] (PRIX32): Likewise.
24370 [C99-based-standards] (SCNd32): Likewise.
24371 [C99-based-standards] (SCNi32): Likewise.
24372 [C99-based-standards] (SCNo32): Likewise.
24373 [C99-based-standards] (SCNu32): Likewise.
24374 [C99-based-standards] (SCNx32): Likewise.
24375 [C99-based-standards] (PRIdLEAST32): Likewise.
24376 [C99-based-standards] (PRIiLEAST32): Likewise.
24377 [C99-based-standards] (PRIoLEAST32): Likewise.
24378 [C99-based-standards] (PRIuLEAST32): Likewise.
24379 [C99-based-standards] (PRIxLEAST32): Likewise.
24380 [C99-based-standards] (PRIXLEAST32): Likewise.
24381 [C99-based-standards] (SCNdLEAST32): Likewise.
24382 [C99-based-standards] (SCNiLEAST32): Likewise.
24383 [C99-based-standards] (SCNoLEAST32): Likewise.
24384 [C99-based-standards] (SCNuLEAST32): Likewise.
24385 [C99-based-standards] (SCNxLEAST32): Likewise.
24386 [C99-based-standards] (PRIdFAST32): Likewise.
24387 [C99-based-standards] (PRIiFAST32): Likewise.
24388 [C99-based-standards] (PRIoFAST32): Likewise.
24389 [C99-based-standards] (PRIuFAST32): Likewise.
24390 [C99-based-standards] (PRIxFAST32): Likewise.
24391 [C99-based-standards] (PRIXFAST32): Likewise.
24392 [C99-based-standards] (SCNdFAST32): Likewise.
24393 [C99-based-standards] (SCNiFAST32): Likewise.
24394 [C99-based-standards] (SCNoFAST32): Likewise.
24395 [C99-based-standards] (SCNuFAST32): Likewise.
24396 [C99-based-standards] (SCNxFAST32): Likewise.
24397 [C99-based-standards] (PRId64): Likewise.
24398 [C99-based-standards] (PRIi64): Likewise.
24399 [C99-based-standards] (PRIo64): Likewise.
24400 [C99-based-standards] (PRIu64): Likewise.
24401 [C99-based-standards] (PRIx64): Likewise.
24402 [C99-based-standards] (PRIX64): Likewise.
24403 [C99-based-standards] (SCNd64): Likewise.
24404 [C99-based-standards] (SCNi64): Likewise.
24405 [C99-based-standards] (SCNo64): Likewise.
24406 [C99-based-standards] (SCNu64): Likewise.
24407 [C99-based-standards] (SCNx64): Likewise.
24408 [C99-based-standards] (PRIdLEAST64): Likewise.
24409 [C99-based-standards] (PRIiLEAST64): Likewise.
24410 [C99-based-standards] (PRIoLEAST64): Likewise.
24411 [C99-based-standards] (PRIuLEAST64): Likewise.
24412 [C99-based-standards] (PRIxLEAST64): Likewise.
24413 [C99-based-standards] (PRIXLEAST64): Likewise.
24414 [C99-based-standards] (SCNdLEAST64): Likewise.
24415 [C99-based-standards] (SCNiLEAST64): Likewise.
24416 [C99-based-standards] (SCNoLEAST64): Likewise.
24417 [C99-based-standards] (SCNuLEAST64): Likewise.
24418 [C99-based-standards] (SCNxLEAST64): Likewise.
24419 [C99-based-standards] (PRIdFAST64): Likewise.
24420 [C99-based-standards] (PRIiFAST64): Likewise.
24421 [C99-based-standards] (PRIoFAST64): Likewise.
24422 [C99-based-standards] (PRIuFAST64): Likewise.
24423 [C99-based-standards] (PRIxFAST64): Likewise.
24424 [C99-based-standards] (PRIXFAST64): Likewise.
24425 [C99-based-standards] (SCNdFAST64): Likewise.
24426 [C99-based-standards] (SCNiFAST64): Likewise.
24427 [C99-based-standards] (SCNoFAST64): Likewise.
24428 [C99-based-standards] (SCNuFAST64): Likewise.
24429 [C99-based-standards] (SCNxFAST64): Likewise.
24430 [C99-based-standards] (PRIdMAX): Likewise.
24431 [C99-based-standards] (PRIiMAX): Likewise.
24432 [C99-based-standards] (PRIoMAX): Likewise.
24433 [C99-based-standards] (PRIuMAX): Likewise.
24434 [C99-based-standards] (PRIxMAX): Likewise.
24435 [C99-based-standards] (PRIXMAX): Likewise.
24436 [C99-based-standards] (SCNdMAX): Likewise.
24437 [C99-based-standards] (SCNiMAX): Likewise.
24438 [C99-based-standards] (SCNoMAX): Likewise.
24439 [C99-based-standards] (SCNuMAX): Likewise.
24440 [C99-based-standards] (SCNxMAX): Likewise.
24441 [C99-based-standards] (PRIdPTR): Likewise.
24442 [C99-based-standards] (PRIiPTR): Likewise.
24443 [C99-based-standards] (PRIoPTR): Likewise.
24444 [C99-based-standards] (PRIuPTR): Likewise.
24445 [C99-based-standards] (PRIxPTR): Likewise.
24446 [C99-based-standards] (PRIXPTR): Likewise.
24447 [C99-based-standards] (SCNdPTR): Likewise.
24448 [C99-based-standards] (SCNiPTR): Likewise.
24449 [C99-based-standards] (SCNoPTR): Likewise.
24450 [C99-based-standards] (SCNuPTR): Likewise.
24451 [C99-based-standards] (SCNxPTR): Likewise.
24452 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24454 * conform/data/stdint.h-data: Update comments to clarify
24456 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24458 [C99-based standards] (INT8_MAX): Likewise.
24459 [C99-based standards] (INT16_MIN): Likewise.
24460 [C99-based standards] (INT16_MAX): Likewise.
24461 [C99-based standards] (INT32_MIN): Likewise.
24462 [C99-based standards] (INT32_MAX): Likewise.
24463 [C99-based standards] (INT64_MIN): Likewise.
24464 [C99-based standards] (INT64_MAX): Likewise.
24465 [C99-based standards] (UINT8_MAX): Likewise.
24466 [C99-based standards] (UINT16_MAX): Likewise.
24467 [C99-based standards] (UINT32_MAX): Likewise.
24468 [C99-based standards] (UINT64_MAX): Likewise.
24469 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24470 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24471 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24472 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24473 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24474 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24475 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24476 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24477 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24478 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24479 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24480 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24481 [C99-based standards] (INT_FAST8_MIN): Likewise.
24482 [C99-based standards] (INT_FAST8_MAX): Likewise.
24483 [C99-based standards] (INT_FAST16_MIN): Likewise.
24484 [C99-based standards] (INT_FAST16_MAX): Likewise.
24485 [C99-based standards] (INT_FAST32_MIN): Likewise.
24486 [C99-based standards] (INT_FAST32_MAX): Likewise.
24487 [C99-based standards] (INT_FAST64_MIN): Likewise.
24488 [C99-based standards] (INT_FAST64_MAX): Likewise.
24489 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24490 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24491 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24492 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24493 [C99-based standards] (INTPTR_MIN): Likewise.
24494 [C99-based standards] (INTPTR_MAX): Likewise.
24495 [C99-based standards] (UINTPTR_MAX): Likewise.
24496 [C99-based standards] (INTMAX_MIN): Likewise.
24497 [C99-based standards] (INTMAX_MAX): Likewise.
24498 [C99-based standards] (UINTMAX_MAX): Likewise.
24499 [C99-based standards] (PTRDIFF_MIN): Likewise.
24500 [C99-based standards] (PTRDIFF_MAX): Likewise.
24501 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24502 [C99-based standards] (SIZE_MAX): Likewise.
24503 [C99-based standards] (WCHAR_MAX): Likewise.
24504 [C99-based standards] (WINT_MAX): Likewise.
24505 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24506 constraint on value.
24507 [C99-based standards] (WCHAR_MIN): Likewise.
24508 [C99-based standards] (WINT_MIN): Likewise.
24509 [C99-based standards] (*_t): Allow.
24510 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24511 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24512 Include math.h-data and complex.h-data. Remove all expectations
24513 of math.h and complex.h contents.
24514 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24516 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24517 (struct tm): Expect tag.
24518 [C99-based-standards] (wcstof): Expect function.
24519 [C99-based-standards] (wcstold): Likewise.
24520 [C99-based-standards] (wcstoll): Likewise.
24521 [C99-based-standards] (wcstoull): Likewise.
24522 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24523 macro-int-constant. Specify type.
24524 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24525 constraint on value.
24526 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24528 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24530 [ISO C standards]: Do not allow headers.
24531 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24532 wcs[abcdefghijklmnopqrstuvwxyz]*.
24533 [ISO C standards] (*_t): Do not allow.
24534 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24536 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24537 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24539 [ISO C standards]: Do not allow headers.
24540 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24541 is[abcdefghijklmnopqrstuvwxyz]*.
24542 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24543 to[abcdefghijklmnopqrstuvwxyz]*.
24544 [ISO C standards] (*_t): Do not allow.
24545 * conform/data/stdalign.h-data: New file.
24546 * conform/data/stdbool.h-data: Likewise.
24547 * conform/data/stdnoreturn.h-data: Likewise.
24549 2012-11-07 Roland McGrath <roland@hack.frob.com>
24552 * manual/filesys.texi (Directory Entries): Typo fix.
24553 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24555 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24557 * elf/elf.h (EM_AARCH64): New macro.
24558 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24559 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24560 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24561 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24562 (R_AARCH64_TLSDESC): Likewise.
24563 (NT_ARM_TLS): Likewise.
24564 (NT_ARM_HW_BREAK): Likewise.
24565 (NT_ARM_HW_WATCH): Likewise.
24567 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24570 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24571 (__ieee754_powl): Saturate nonzero exponents with absolute value
24572 below 0x1p-79 to +/- 0x1p-79.
24573 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24574 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24575 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24576 nonzero exponents with absolute value below 0x1p-32 to +/-
24578 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24579 (__ieee754_powl): Saturate nonzero exponents with absolute value
24580 below 0x1p-79 to +/- 0x1p-79.
24581 * math/libm-test.inc (pow_test): Add more tests.
24583 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24585 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24586 _dl_s390_cap_flags with kernel. Increase string length.
24587 (_dl_s390_platforms): Add z196 and zEC12.
24589 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24591 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24592 Change XOPEN21K to XOPEN2K.
24594 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24596 * string/memmove.c: Use memcpy when possible.
24598 2012-11-06 Andreas Jaeger <aj@suse.de>
24600 * po/eo.po: Update from translation team.
24602 2012-11-06 Joseph Myers <joseph@codesourcery.com>
24605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24606 exponent and small x and y exponents, scale x or y up. Increase
24607 by 2 the exponent used in scaling up.
24608 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24609 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24610 * math/libm-test.inc (fma_test): Add more tests.
24611 (fma_test_towardzero): Likewise.
24612 (fma_test_downward): Likewise.
24613 (fma_test_upward): Likewise.
24615 2012-11-05 Joseph Myers <joseph@codesourcery.com>
24618 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24622 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24623 namespace for names of struct fields.
24624 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24626 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24627 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24629 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24632 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24634 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24636 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24640 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24643 2012-11-04 Joseph Myers <joseph@codesourcery.com>
24646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24647 definitely overflow as x * y not x * y + z.
24648 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24649 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24650 * math/libm-test.inc (fma_test): Add more tests.
24651 (fma_test_towardzero): Likewise.
24652 (fma_test_downward): Likewise.
24653 (fma_test_upward): Likewise.
24655 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24659 * include/stub-tag.h: Remove file.
24660 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24662 * manual/maint.texi (Porting): Don't reference it.
24663 * Makerules ($(objpfx)stubs): Likewise.
24664 * dirent/closedir.c: Don't include <stub-tag.h>.
24665 * dirent/dirfd.c: Likewise.
24666 * dirent/fdopendir.c: Likewise.
24667 * dirent/getdents.c: Likewise.
24668 * dirent/getdents64.c: Likewise.
24669 * dirent/opendir.c: Likewise.
24670 * dirent/readdir.c: Likewise.
24671 * dirent/readdir64.c: Likewise.
24672 * dirent/readdir64_r.c: Likewise.
24673 * dirent/readdir_r.c: Likewise.
24674 * dirent/rewinddir.c: Likewise.
24675 * dirent/seekdir.c: Likewise.
24676 * dirent/telldir.c: Likewise.
24677 * gmon/profil.c: Likewise.
24678 * grp/setgroups.c: Likewise.
24679 * inet/if_index.c: Likewise.
24680 * io/access.c: Likewise.
24681 * io/chdir.c: Likewise.
24682 * io/chmod.c: Likewise.
24683 * io/chown.c: Likewise.
24684 * io/close.c: Likewise.
24685 * io/dup.c: Likewise.
24686 * io/dup2.c: Likewise.
24687 * io/dup3.c: Likewise.
24688 * io/euidaccess.c: Likewise.
24689 * io/faccessat.c: Likewise.
24690 * io/fchdir.c: Likewise.
24691 * io/fchmod.c: Likewise.
24692 * io/fchmodat.c: Likewise.
24693 * io/fchown.c: Likewise.
24694 * io/fchownat.c: Likewise.
24695 * io/fcntl.c: Likewise.
24696 * io/flock.c: Likewise.
24697 * io/fstatfs.c: Likewise.
24698 * io/fstatfs64.c: Likewise.
24699 * io/fstatvfs.c: Likewise.
24700 * io/fstatvfs64.c: Likewise.
24701 * io/futimens.c: Likewise.
24702 * io/fxstat.c: Likewise.
24703 * io/fxstat64.c: Likewise.
24704 * io/fxstatat.c: Likewise.
24705 * io/fxstatat64.c: Likewise.
24706 * io/getcwd.c: Likewise.
24707 * io/isatty.c: Likewise.
24708 * io/lchmod.c: Likewise.
24709 * io/lchown.c: Likewise.
24710 * io/link.c: Likewise.
24711 * io/linkat.c: Likewise.
24712 * io/lseek.c: Likewise.
24713 * io/lseek64.c: Likewise.
24714 * io/lxstat64.c: Likewise.
24715 * io/mkdir.c: Likewise.
24716 * io/mkdirat.c: Likewise.
24717 * io/mkfifo.c: Likewise.
24718 * io/mkfifoat.c: Likewise.
24719 * io/open.c: Likewise.
24720 * io/open64.c: Likewise.
24721 * io/openat.c: Likewise.
24722 * io/openat64.c: Likewise.
24723 * io/pipe.c: Likewise.
24724 * io/pipe2.c: Likewise.
24725 * io/poll.c: Likewise.
24726 * io/posix_fadvise.c: Likewise.
24727 * io/posix_fadvise64.c: Likewise.
24728 * io/posix_fallocate.c: Likewise.
24729 * io/posix_fallocate64.c: Likewise.
24730 * io/read.c: Likewise.
24731 * io/readlink.c: Likewise.
24732 * io/readlinkat.c: Likewise.
24733 * io/rmdir.c: Likewise.
24734 * io/sendfile.c: Likewise.
24735 * io/sendfile64.c: Likewise.
24736 * io/statfs.c: Likewise.
24737 * io/statfs64.c: Likewise.
24738 * io/statvfs.c: Likewise.
24739 * io/statvfs64.c: Likewise.
24740 * io/symlink.c: Likewise.
24741 * io/symlinkat.c: Likewise.
24742 * io/ttyname.c: Likewise.
24743 * io/ttyname_r.c: Likewise.
24744 * io/umask.c: Likewise.
24745 * io/unlink.c: Likewise.
24746 * io/unlinkat.c: Likewise.
24747 * io/utime.c: Likewise.
24748 * io/utimensat.c: Likewise.
24749 * io/write.c: Likewise.
24750 * io/xmknod.c: Likewise.
24751 * io/xmknodat.c: Likewise.
24752 * io/xstat.c: Likewise.
24753 * io/xstat64.c: Likewise.
24754 * login/getpt.c: Likewise.
24755 * login/grantpt.c: Likewise.
24756 * login/unlockpt.c: Likewise.
24757 * math/e_acoshl.c: Likewise.
24758 * math/e_acosl.c: Likewise.
24759 * math/e_asinl.c: Likewise.
24760 * math/e_atan2l.c: Likewise.
24761 * math/e_atanhl.c: Likewise.
24762 * math/e_coshl.c: Likewise.
24763 * math/e_expl.c: Likewise.
24764 * math/e_fmodl.c: Likewise.
24765 * math/e_gammal_r.c: Likewise.
24766 * math/e_hypotl.c: Likewise.
24767 * math/e_j0l.c: Likewise.
24768 * math/e_j1l.c: Likewise.
24769 * math/e_jnl.c: Likewise.
24770 * math/e_lgammal_r.c: Likewise.
24771 * math/e_log10l.c: Likewise.
24772 * math/e_log2l.c: Likewise.
24773 * math/e_logl.c: Likewise.
24774 * math/e_powl.c: Likewise.
24775 * math/e_rem_pio2l.c: Likewise.
24776 * math/e_sinhl.c: Likewise.
24777 * math/e_sqrtl.c: Likewise.
24778 * math/fclrexcpt.c: Likewise.
24779 * math/fedisblxcpt.c: Likewise.
24780 * math/feenablxcpt.c: Likewise.
24781 * math/fegetenv.c: Likewise.
24782 * math/fegetexcept.c: Likewise.
24783 * math/fegetround.c: Likewise.
24784 * math/feholdexcpt.c: Likewise.
24785 * math/fesetenv.c: Likewise.
24786 * math/fesetround.c: Likewise.
24787 * math/feupdateenv.c: Likewise.
24788 * math/fgetexcptflg.c: Likewise.
24789 * math/fraiseexcpt.c: Likewise.
24790 * math/fsetexcptflg.c: Likewise.
24791 * math/ftestexcept.c: Likewise.
24792 * math/k_cosl.c: Likewise.
24793 * math/k_rem_pio2l.c: Likewise.
24794 * math/k_sinl.c: Likewise.
24795 * math/k_tanl.c: Likewise.
24796 * math/s_asinhl.c: Likewise.
24797 * math/s_atanl.c: Likewise.
24798 * math/s_cbrtl.c: Likewise.
24799 * math/s_erfl.c: Likewise.
24800 * math/s_expm1l.c: Likewise.
24801 * math/s_log1pl.c: Likewise.
24802 * math/s_tanhl.c: Likewise.
24803 * misc/acct.c: Likewise.
24804 * misc/brk.c: Likewise.
24805 * misc/chflags.c: Likewise.
24806 * misc/chroot.c: Likewise.
24807 * misc/fchflags.c: Likewise.
24808 * misc/fgetxattr.c: Likewise.
24809 * misc/flistxattr.c: Likewise.
24810 * misc/fremovexattr.c: Likewise.
24811 * misc/fsetxattr.c: Likewise.
24812 * misc/fsync.c: Likewise.
24813 * misc/ftruncate.c: Likewise.
24814 * misc/futimes.c: Likewise.
24815 * misc/futimesat.c: Likewise.
24816 * misc/getdomain.c: Likewise.
24817 * misc/getdtsz.c: Likewise.
24818 * misc/gethostid.c: Likewise.
24819 * misc/gethostname.c: Likewise.
24820 * misc/getloadavg.c: Likewise.
24821 * misc/getpagesize.c: Likewise.
24822 * misc/getsysstats.c: Likewise.
24823 * misc/getxattr.c: Likewise.
24824 * misc/gtty.c: Likewise.
24825 * misc/ioctl.c: Likewise.
24826 * misc/lgetxattr.c: Likewise.
24827 * misc/listxattr.c: Likewise.
24828 * misc/llistxattr.c: Likewise.
24829 * misc/lremovexattr.c: Likewise.
24830 * misc/lsetxattr.c: Likewise.
24831 * misc/lutimes.c: Likewise.
24832 * misc/madvise.c: Likewise.
24833 * misc/mincore.c: Likewise.
24834 * misc/mlock.c: Likewise.
24835 * misc/mlockall.c: Likewise.
24836 * misc/mmap.c: Likewise.
24837 * misc/mprotect.c: Likewise.
24838 * misc/msync.c: Likewise.
24839 * misc/munlock.c: Likewise.
24840 * misc/munlockall.c: Likewise.
24841 * misc/munmap.c: Likewise.
24842 * misc/preadv.c: Likewise.
24843 * misc/preadv64.c: Likewise.
24844 * misc/ptrace.c: Likewise.
24845 * misc/pwritev.c: Likewise.
24846 * misc/pwritev64.c: Likewise.
24847 * misc/readv.c: Likewise.
24848 * misc/reboot.c: Likewise.
24849 * misc/remap_file_pages.c: Likewise.
24850 * misc/removexattr.c: Likewise.
24851 * misc/revoke.c: Likewise.
24852 * misc/select.c: Likewise.
24853 * misc/setdomain.c: Likewise.
24854 * misc/setegid.c: Likewise.
24855 * misc/seteuid.c: Likewise.
24856 * misc/sethostid.c: Likewise.
24857 * misc/sethostname.c: Likewise.
24858 * misc/setregid.c: Likewise.
24859 * misc/setreuid.c: Likewise.
24860 * misc/setxattr.c: Likewise.
24861 * misc/sstk.c: Likewise.
24862 * misc/stty.c: Likewise.
24863 * misc/swapoff.c: Likewise.
24864 * misc/swapon.c: Likewise.
24865 * misc/sync.c: Likewise.
24866 * misc/syncfs.c: Likewise.
24867 * misc/syscall.c: Likewise.
24868 * misc/truncate.c: Likewise.
24869 * misc/ualarm.c: Likewise.
24870 * misc/usleep.c: Likewise.
24871 * misc/ustat.c: Likewise.
24872 * misc/utimes.c: Likewise.
24873 * misc/vhangup.c: Likewise.
24874 * misc/writev.c: Likewise.
24875 * posix/_exit.c: Likewise.
24876 * posix/alarm.c: Likewise.
24877 * posix/execve.c: Likewise.
24878 * posix/fexecve.c: Likewise.
24879 * posix/fork.c: Likewise.
24880 * posix/fpathconf.c: Likewise.
24881 * posix/getaddrinfo.c: Likewise.
24882 * posix/getegid.c: Likewise.
24883 * posix/geteuid.c: Likewise.
24884 * posix/getgid.c: Likewise.
24885 * posix/getgroups.c: Likewise.
24886 * posix/getlogin.c: Likewise.
24887 * posix/getlogin_r.c: Likewise.
24888 * posix/getpgid.c: Likewise.
24889 * posix/getpid.c: Likewise.
24890 * posix/getppid.c: Likewise.
24891 * posix/getresgid.c: Likewise.
24892 * posix/getresuid.c: Likewise.
24893 * posix/getsid.c: Likewise.
24894 * posix/getuid.c: Likewise.
24895 * posix/glob64.c: Likewise.
24896 * posix/nanosleep.c: Likewise.
24897 * posix/pathconf.c: Likewise.
24898 * posix/pause.c: Likewise.
24899 * posix/posix_madvise.c: Likewise.
24900 * posix/pread.c: Likewise.
24901 * posix/pread64.c: Likewise.
24902 * posix/pwrite.c: Likewise.
24903 * posix/pwrite64.c: Likewise.
24904 * posix/sched_getaffinity.c: Likewise.
24905 * posix/sched_getp.c: Likewise.
24906 * posix/sched_gets.c: Likewise.
24907 * posix/sched_primax.c: Likewise.
24908 * posix/sched_primin.c: Likewise.
24909 * posix/sched_rr_gi.c: Likewise.
24910 * posix/sched_setaffinity.c: Likewise.
24911 * posix/sched_setp.c: Likewise.
24912 * posix/sched_sets.c: Likewise.
24913 * posix/sched_yield.c: Likewise.
24914 * posix/setgid.c: Likewise.
24915 * posix/setlogin.c: Likewise.
24916 * posix/setpgid.c: Likewise.
24917 * posix/setresgid.c: Likewise.
24918 * posix/setresuid.c: Likewise.
24919 * posix/setsid.c: Likewise.
24920 * posix/setuid.c: Likewise.
24921 * posix/sleep.c: Likewise.
24922 * posix/spawni.c: Likewise.
24923 * posix/sysconf.c: Likewise.
24924 * posix/times.c: Likewise.
24925 * posix/wait.c: Likewise.
24926 * posix/wait3.c: Likewise.
24927 * posix/wait4.c: Likewise.
24928 * posix/waitpid.c: Likewise.
24929 * resolv/gai_sigqueue.c: Likewise.
24930 * resource/getpriority.c: Likewise.
24931 * resource/getrlimit.c: Likewise.
24932 * resource/getrusage.c: Likewise.
24933 * resource/nice.c: Likewise.
24934 * resource/setpriority.c: Likewise.
24935 * resource/setrlimit.c: Likewise.
24936 * resource/ulimit.c: Likewise.
24937 * rt/aio_cancel.c: Likewise.
24938 * rt/aio_fsync.c: Likewise.
24939 * rt/aio_read.c: Likewise.
24940 * rt/aio_sigqueue.c: Likewise.
24941 * rt/aio_suspend.c: Likewise.
24942 * rt/aio_write.c: Likewise.
24943 * rt/clock_getres.c: Likewise.
24944 * rt/clock_gettime.c: Likewise.
24945 * rt/clock_nanosleep.c: Likewise.
24946 * rt/clock_settime.c: Likewise.
24947 * rt/lio_listio.c: Likewise.
24948 * rt/mq_close.c: Likewise.
24949 * rt/mq_getattr.c: Likewise.
24950 * rt/mq_notify.c: Likewise.
24951 * rt/mq_open.c: Likewise.
24952 * rt/mq_receive.c: Likewise.
24953 * rt/mq_send.c: Likewise.
24954 * rt/mq_setattr.c: Likewise.
24955 * rt/mq_timedreceive.c: Likewise.
24956 * rt/mq_timedsend.c: Likewise.
24957 * rt/mq_unlink.c: Likewise.
24958 * rt/shm_open.c: Likewise.
24959 * rt/shm_unlink.c: Likewise.
24960 * rt/timer_create.c: Likewise.
24961 * rt/timer_delete.c: Likewise.
24962 * rt/timer_getoverr.c: Likewise.
24963 * rt/timer_gettime.c: Likewise.
24964 * rt/timer_settime.c: Likewise.
24965 * setjmp/__longjmp.c: Likewise.
24966 * setjmp/setjmp.c: Likewise.
24967 * signal/kill.c: Likewise.
24968 * signal/killpg.c: Likewise.
24969 * signal/raise.c: Likewise.
24970 * signal/sigaction.c: Likewise.
24971 * signal/sigaltstack.c: Likewise.
24972 * signal/sigblock.c: Likewise.
24973 * signal/sigignore.c: Likewise.
24974 * signal/sigintr.c: Likewise.
24975 * signal/signal.c: Likewise.
24976 * signal/sigpause.c: Likewise.
24977 * signal/sigpending.c: Likewise.
24978 * signal/sigqueue.c: Likewise.
24979 * signal/sigreturn.c: Likewise.
24980 * signal/sigset.c: Likewise.
24981 * signal/sigsetmask.c: Likewise.
24982 * signal/sigstack.c: Likewise.
24983 * signal/sigsuspend.c: Likewise.
24984 * signal/sigtimedwait.c: Likewise.
24985 * signal/sigvec.c: Likewise.
24986 * signal/sigwait.c: Likewise.
24987 * signal/sigwaitinfo.c: Likewise.
24988 * signal/sysv_signal.c: Likewise.
24989 * socket/accept.c: Likewise.
24990 * socket/accept4.c: Likewise.
24991 * socket/bind.c: Likewise.
24992 * socket/connect.c: Likewise.
24993 * socket/getpeername.c: Likewise.
24994 * socket/getsockname.c: Likewise.
24995 * socket/getsockopt.c: Likewise.
24996 * socket/isfdtype.c: Likewise.
24997 * socket/listen.c: Likewise.
24998 * socket/recv.c: Likewise.
24999 * socket/recvfrom.c: Likewise.
25000 * socket/recvmsg.c: Likewise.
25001 * socket/send.c: Likewise.
25002 * socket/sendmsg.c: Likewise.
25003 * socket/sendto.c: Likewise.
25004 * socket/setsockopt.c: Likewise.
25005 * socket/shutdown.c: Likewise.
25006 * socket/sockatmark.c: Likewise.
25007 * socket/socket.c: Likewise.
25008 * socket/socketpair.c: Likewise.
25009 * stdio-common/ctermid.c: Likewise.
25010 * stdio-common/cuserid.c: Likewise.
25011 * stdio-common/remove.c: Likewise.
25012 * stdio-common/rename.c: Likewise.
25013 * stdio-common/renameat.c: Likewise.
25014 * stdio-common/tempname.c: Likewise.
25015 * stdlib/getcontext.c: Likewise.
25016 * stdlib/makecontext.c: Likewise.
25017 * stdlib/setcontext.c: Likewise.
25018 * stdlib/swapcontext.c: Likewise.
25019 * stdlib/system.c: Likewise.
25020 * streams/fattach.c: Likewise.
25021 * streams/fdetach.c: Likewise.
25022 * streams/getmsg.c: Likewise.
25023 * streams/getpmsg.c: Likewise.
25024 * streams/putmsg.c: Likewise.
25025 * streams/putpmsg.c: Likewise.
25026 * sysdeps/unix/bsd/getpt.c: Likewise.
25027 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25028 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25029 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25032 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25033 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25034 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25035 * sysvipc/msgctl.c: Likewise.
25036 * sysvipc/msgget.c: Likewise.
25037 * sysvipc/msgrcv.c: Likewise.
25038 * sysvipc/msgsnd.c: Likewise.
25039 * sysvipc/semctl.c: Likewise.
25040 * sysvipc/semget.c: Likewise.
25041 * sysvipc/semop.c: Likewise.
25042 * sysvipc/semtimedop.c: Likewise.
25043 * sysvipc/shmat.c: Likewise.
25044 * sysvipc/shmctl.c: Likewise.
25045 * sysvipc/shmdt.c: Likewise.
25046 * sysvipc/shmget.c: Likewise.
25047 * termios/tcdrain.c: Likewise.
25048 * termios/tcflow.c: Likewise.
25049 * termios/tcflush.c: Likewise.
25050 * termios/tcgetattr.c: Likewise.
25051 * termios/tcgetpgrp.c: Likewise.
25052 * termios/tcsendbrk.c: Likewise.
25053 * termios/tcsetattr.c: Likewise.
25054 * termios/tcsetpgrp.c: Likewise.
25055 * time/adjtime.c: Likewise.
25056 * time/clock.c: Likewise.
25057 * time/getitimer.c: Likewise.
25058 * time/gettimeofday.c: Likewise.
25059 * time/setitimer.c: Likewise.
25060 * time/settimeofday.c: Likewise.
25061 * time/stime.c: Likewise.
25062 * time/time.c: Likewise.
25064 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25066 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25069 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25071 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25073 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25077 FE_TONEAREST before applying Dekker multiplication and Knuth
25078 addition. Clear inexact exceptions and check for exact zero
25079 results afterwards.
25080 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25081 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25082 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25083 * math/libm-test.inc (fma_test): Add more tests.
25084 (fma_test_towardzero): Likewise.
25085 (fma_test_downward): Likewise.
25086 (fma_test_upward): Likewise.
25087 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25089 (libc_fesetround): New macro.
25090 (libc_fesetroundf): Likewise.
25091 (libc_fesetroundl): Likewise.
25092 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25094 (libc_fesetround_387): Likewise.
25095 (libc_fesetroundf): New macro.
25096 (libc_fesetround): Likewise.
25097 (libc_fesetroundl): Likewise.
25098 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25100 (libc_fesetroundf): New macro.
25101 (libc_fesetround): Likewise.
25102 (libc_fesetroundl): Likewise.
25103 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25104 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25105 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25107 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25108 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25110 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25111 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25113 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25117 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25118 integer constant usable in #if and use that to give value to enum
25120 (FE_DIVBYZERO): Likewise.
25121 (FE_UNDERFLOW): Likewise.
25122 (FE_OVERFLOW): Likewise.
25123 (FE_INVALID): Likewise.
25124 (FE_INVALID_SNAN): Likewise.
25125 (FE_INVALID_ISI): Likewise.
25126 (FE_INVALID_IDI): Likewise.
25127 (FE_INVALID_ZDZ): Likewise.
25128 (FE_INVALID_IMZ): Likewise.
25129 (FE_INVALID_COMPARE): Likewise.
25130 (FE_INVALID_SOFTWARE): Likewise.
25131 (FE_INVALID_SQRT): Likewise.
25132 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25133 (FE_TONEAREST): Likewise.
25134 (FE_TOWARDZERO): Likewise.
25135 (FE_UPWARD): Likewise.
25136 (FE_DOWNWARD): Likewise.
25137 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25138 (FE_DIVBYZERO): Likewise.
25139 (FE_OVERFLOW): Likewise.
25140 (FE_UNDERFLOW): Likewise.
25141 (FE_INEXACT): Likewise.
25142 (FE_TONEAREST): Likewise.
25143 (FE_DOWNWARD): Likewise.
25144 (FE_UPWARD): Likewise.
25145 (FE_TOWARDZERO): Likewise.
25146 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25147 (FE_UNDERFLOW): Likewise.
25148 (FE_OVERFLOW): Likewise.
25149 (FE_DIVBYZERO): Likewise.
25150 (FE_INVALID): Likewise.
25151 (FE_TONEAREST): Likewise.
25152 (FE_TOWARDZERO): Likewise.
25153 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25154 (FE_OVERFLOW): Likewise.
25155 (FE_UNDERFLOW): Likewise.
25156 (FE_DIVBYZERO): Likewise.
25157 (FE_INEXACT): Likewise.
25158 (FE_TONEAREST): Likewise.
25159 (FE_TOWARDZERO): Likewise.
25160 (FE_UPWARD): Likewise.
25161 (FE_DOWNWARD): Likewise.
25162 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25163 (FE_DIVBYZERO): Likewise.
25164 (FE_OVERFLOW): Likewise.
25165 (FE_UNDERFLOW): Likewise.
25166 (FE_INEXACT): Likewise.
25167 (FE_TONEAREST): Likewise.
25168 (FE_DOWNWARD): Likewise.
25169 (FE_UPWARD): Likewise.
25170 (FE_TOWARDZERO): Likewise.
25172 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25174 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25176 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25178 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25179 commands. Quote $PWD.
25180 (blacklist_exports): Don't use remove_newlines. Replace "declare
25182 (remove_newlines): Remove.
25184 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25186 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25187 * stdlib/stdlib.h (atof): Moved to ...
25188 * include/bits/stdlib-float.h: Here. New file.
25189 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25190 * stdlib/bits/stdlib-float.h: New file.
25191 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25193 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25196 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25198 * conform/conformtest.pl (@headers): Add fenv.h.
25199 * conform/data/fenv.h-data: New file.
25200 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25201 include of <math/fenv.h>.
25203 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25204 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25205 && !UNIX98]. Enables tests for XOPEN2K8.
25206 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25207 POSIX2008]: Likewise.
25209 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25210 (struct rusage): Do not expect type or its members.
25213 * math/math.h (FP_NAN): Define macro to integer constant usable in
25214 #if and use that to give value to enum constant.
25215 (FP_INFINITE): Likewise.
25216 (FP_ZERO): Likewise.
25217 (FP_SUBNORMAL): Likewise.
25218 (FP_NORMAL): Likewise.
25220 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25222 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25223 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25226 2012-11-02 Roland McGrath <roland@hack.frob.com>
25228 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25229 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25230 autoconf-time if not.
25231 * configure.in: Remove AC_PREREQ.
25233 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25235 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25236 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25237 of the internal implementation.
25239 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25241 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25242 except include of <misc/sys/syslog.h>.
25244 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25247 function returns with a NULL context exit with zero.
25249 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25251 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25253 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25255 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25256 (run_program_cmd): This.
25257 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25258 (tst_langinfo): New variable. Use it.
25260 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25262 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25263 floating point opcodes.
25265 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25267 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25270 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25272 * sysdeps/mach/hurd/powerpc: Remove directory.
25273 * sysdeps/mach/powerpc: Likewise.
25275 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25277 * scripts/check-local-headers.sh: Ignore c++ headers.
25279 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25281 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25282 __libc_cleanup_region_start argument.
25284 2012-11-01 Joseph Myers <joseph@codesourcery.com>
25288 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25289 x * y using scaling, not as x * y + z.
25290 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25291 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25292 * math/libm-test.inc (fma_test): Add more tests.
25293 (fma_test_towardzero): Likewise.
25294 (fma_test_downward): Likewise.
25295 (fma_test_upward): Likewise.
25297 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25299 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25301 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25303 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25306 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25308 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25310 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25317 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25320 Fix the order of the list for glibc 2.17.
25321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25324 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25328 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25331 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25332 for low part of x being zero before using __atanl (y).
25333 * math/libm-test.inc (atan2_test): Add another test.
25335 * manual/install.texi (Configuring and compiling): Document
25336 general use of test-wrapper and test-wrapper-env.
25337 * INSTALL: Regenerated.
25339 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25340 (__fma): Do not extract and scale down low bits on after-rounding
25341 systems when result rounded to normal precision would have normal
25343 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25344 (__fmal): Do not extract and scale down low bits on after-rounding
25345 systems when result rounded to normal precision would have normal
25347 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25348 (__fmal): Do not extract and scale down low bits on after-rounding
25349 systems when result rounded to normal precision would have normal
25351 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25353 (fma_test): Add more tests.
25354 (fma_test_towardzero): Likewise.
25355 (fma_test_downward): Likewise.
25356 (fma_test_upward): Likewise.
25358 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25360 * sysdeps/i386/tininess.h: Renamed to ...
25361 * sysdeps/x86/tininess.h: This.
25362 * sysdeps/x86_64/tininess.h: Removed.
25364 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25366 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25367 input. Use $(build-program-cmd).
25368 ($(objpfx)tst-array1-static.out): Likewise.
25369 ($(objpfx)tst-array2.out): Likewise.
25370 ($(objpfx)tst-array3.out): Likewise.
25371 ($(objpfx)tst-array4.out): Likewise.
25372 ($(objpfx)tst-array5.out): Likewise.
25373 ($(objpfx)tst-array5-static.out): Likewise.
25375 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25377 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25380 * nss/nsswitch.h (nss_interface_function): Provide new
25381 macro for use with NSS functions.
25382 * grp/initgroups.c: Use new macro.
25383 * nss/getXXbyYY.c: Likewise.
25384 * nss/getXXbyYY_r.c: Likewise.
25385 * nss/getXXent.c: Likewise.
25386 * nss/getXXent_r.c: Likewise.
25387 * sysdeps/posix/getaddrinfo.c: Likewise.
25389 2012-10-30 Andreas Jaeger <aj@suse.de>
25391 * po/ru.po: Update Russion translation from translation project.
25393 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25397 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25398 result and shift together with sticky bit instead of replicating
25399 round-to-nearest rounding.
25400 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25401 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25402 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25403 missing underflow exceptions.
25404 (fma_test_towardzero): Add more tests.
25405 (fma_test_downward): Likewise.
25406 (fma_test_upward): Likewise.
25409 * sysdeps/generic/tininess.h: New file.
25410 * sysdeps/i386/tininess.h: Likewise.
25411 * sysdeps/sh/tininess.h: Likewise.
25412 * sysdeps/x86_64/tininess.h: Likewise.
25413 * stdlib/tst-strtod-underflow.c: Likewise.
25414 * stdlib/tst-tininess.c: Likewise.
25415 * stdlib/strtod_l.c: Include <tininess.h>.
25416 (round_and_return): Do not set errno for exact underflow cases.
25417 Force an underflow exception when setting errno for underflow.
25418 Determine underflow based on rounding to normal precision if
25419 TININESS_AFTER_ROUNDING.
25420 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25421 ERANGE for exact underflow cases.
25422 * stdlib/Makefile (tests): Add tst-tininess and
25423 tst-strtod-underflow.
25424 ($(objpfx)tst-tininess): Use $(link-libm).
25425 ($(objpfx)tst-strtod-underflow): Likewise.
25427 2012-10-30 Andreas Jaeger <aj@suse.de>
25430 * elf/Makefile (tests): Remove conditional for have-initfini-array
25431 since this is now always required and the variable does not exist
25433 (tests-static): Likewise.
25434 (modules-names): Likewise.
25436 * po/eo.po: Add Esperanto translation from translation project.
25438 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25439 merged with constructor/destructor.
25440 (init_array): Likewise.
25441 * elf/tst-array2dep.c (fini_array): Likewise.
25442 (init_array): Likewise.
25444 2012-10-29 Mike Frysinger <vapier@gentoo.org>
25446 * manual/message.texi: Delete @cartouche tags.
25448 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25450 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25452 * sysdeps/mach/hurd/fsync.c: Likewise.
25454 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25455 [_POSIX_REALTIME_SIGNALS]: Change condition to
25456 [_POSIX_REALTIME_SIGNALS > 0].
25458 2012-10-27 Andreas Jaeger <aj@suse.de>
25460 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25461 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25462 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25463 [__WORDSIZE != 64]: Likewise.
25465 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25467 * iconvdata/tst-table.sh: Remove ${SHELL}.
25468 * iconvdata/tst-tables.sh: Likewise.
25470 2012-10-25 David S. Miller <davem@davemloft.net>
25472 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25473 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25476 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25478 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25479 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25480 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25483 2012-10-25 Roland McGrath <roland@hack.frob.com>
25485 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25486 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25489 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25490 Jim Blandy <jimb@codesourcery.com>
25492 * scripts/cross-test-ssh.sh: New file.
25493 * manual/install.texi (Configuring and compiling): Document use of
25495 * INSTALL: Regenerated.
25497 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25499 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25502 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25504 * Makeconfig (run-program-prefix): Fix comment.
25506 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25507 Jim Blandy <jimb@codesourcery.com>
25509 * Makeconfig (test-wrapper): New variable,
25510 (test-wrapper-env): Likewise.
25511 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25512 (run-built-tests): Define to yes.
25513 (run-program-prefix): Use $(test-wrapper).
25514 (built-program-cmd): Likewise.
25515 * Rules (make-test-out): Use $(test-wrapper-env) and
25516 $(host-built-program-cmd).
25517 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25518 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25520 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25521 $(test-wrapper-env) to tst-rtld-load-self.sh.
25522 ($(objpfx)order2.out): Use $(test-wrapper).
25523 ($(objpfx)tst-initorder.out): Likewise.
25524 ($(objpfx)tst-initorder2.out): Likewise.
25525 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25526 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25527 (test_wrapper_env): New variable. Use it to run ld.so.
25528 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25529 Use it to run ld.so.
25530 (test_wrapper_env): Likewise.
25531 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25532 $(test-wrapper) to run-iconv-test.sh.
25533 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25534 (ICONV): Use $test_wrapper.
25535 * posix/Makefile ($(objpfx)globtest.out): Pass
25536 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25537 globtest.sh, not $(run-program-prefix).
25538 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25539 (test_wrapper): Likewise.
25540 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25541 set together with run_via_rtld_prefix.
25542 (run_program_prefix): Define in terms of test_wrapper and
25543 run_via_rtld_prefix.
25545 2012-10-24 Roland McGrath <roland@hack.frob.com>
25547 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25548 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25552 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25553 Declare __clock_getres, __clock_gettime, __clock_settime,
25554 __clock_nanosleep, and __clock_getcpuclockid.
25555 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25556 Remove librt_hidden_def (clock_gettime).
25557 * sysdeps/unix/clock_gettime.c: Likewise.
25558 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25559 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25560 * rt/clock_getres.c: Define __clock_getres as an alias.
25561 * sysdeps/posix/clock_getres.c: Likewise.
25562 * rt/clock_settime.c: Define __clock_settime as an alias.
25563 * sysdeps/unix/clock_settime.c: Likewise.
25564 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25565 * sysdeps/unix/clock_nanosleep.c: Likewise.
25566 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25567 * rt/clock-compat.c: New file.
25568 * rt/Makefile (librt-routines): Add clock-compat and move
25569 $(clock-routines) to ...
25570 (routines): ... here, new variable.
25571 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25572 Don't add get_clockfreq here.
25573 * rt/Versions (libc: GLIBC_2.17): New version set.
25574 Add clock_* symbols here.
25575 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25576 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25577 (GLIBC_2.17): Add clock_* symbols.
25578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25580 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25589 * NEWS: Mention the move.
25591 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25592 Use __open, __read, __close rather than their public counterparts.
25593 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25594 (__get_clockfreq_via_cpuinfo): Likewise.
25595 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25596 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25598 * config.h.in (HAVE_IFUNC): New #undef.
25599 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25601 * configure: Regenerated.
25603 2012-10-24 Mike Frysinger <vapier@gentoo.org>
25605 * configure.in: Move READELF check to start of file.
25606 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25607 libc_cv_asm_gnu_indirect_function in the process.
25608 * configure: Regenerated.
25610 2012-10-24 Mike Frysinger <vapier@gentoo.org>
25612 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25613 send the output to /dev/null.
25614 (libc_cv_cc_with_libunwind): Likewise.
25615 (libc_cv_as_noexecstack): Likewise.
25616 * configure: Regenerate.
25618 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25620 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25622 * posix/globtest.sh (TMPDIR): Do not set.
25623 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25624 (testout): Likewise.
25626 2012-10-24 Andreas Jaeger <aj@suse.de>
25628 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25629 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25630 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25631 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25632 posix_fadvise64, posix_fallocate64.
25634 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25635 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25636 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25638 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25640 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25643 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25644 <bits/fcntl-linux.h>.
25645 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25647 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25648 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25649 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25650 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25651 [__WORDSIZE != 64]: Likewise.
25653 2012-10-23 Joseph Myers <joseph@codesourcery.com>
25655 * Makeconfig (run-built-tests): New variable.
25656 * Rules [$(cross-compiling) = yes]: Change condition to
25657 [$(run-built-tests) = no].
25658 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25659 to [$(run-built-tests) = yes].
25660 * elf/Makefile [$(cross-compiling) = no]: Likewise
25661 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25662 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25663 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25664 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25665 * io/Makefile [$(cross-compiling) = no]: Likewise.
25666 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25667 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25668 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25669 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25670 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25671 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25672 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25673 * string/Makefile [$(cross-compiling) = no]: Likewise.
25675 * posix/Makefile ($(objpfx)globtest.out): Pass
25676 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25677 $(rtld-installed-name).
25678 * posix/globtest.sh (elf_objpfx): Remove variable.
25679 (rtld_installed_name): Likewise.
25680 (library_path): Likewise.
25681 (run_program_prefix): New variable. Use for running globtest
25684 2012-10-23 Jim Blandy <jimb@codesourcery.com>
25685 Joseph Myers <joseph@codesourcery.com>
25687 * Makeconfig (host-built-program-cmd): New variable.
25688 * elf/Makefile (tst-stackguard1-ARGS): Use
25689 $(host-built-program-cmd).
25690 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25691 (tst-spawn-ARGS): Likewise.
25692 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25694 2012-10-23 Joseph Myers <joseph@codesourcery.com>
25695 Jim Blandy <jimb@codesourcery.com>
25697 * Makeconfig (run-via-rtld-prefix): New variable.
25698 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25699 (built-program-cmd): Likewise.
25701 2012-10-22 Andreas Jaeger <aj@suse.de>
25703 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25704 __O_RSYNC if it exists, otherwise to O_SYNC.
25706 2012-10-22 Jim Blandy <jimb@codesourcery.com>
25707 Joseph Myers <joseph@codesourcery.com>
25709 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25711 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25713 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25716 2012-10-22 Andreas Jaeger <aj@suse.de>
25718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25723 bits/fcntl-linux.h.
25725 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25726 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25728 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25733 2012-10-21 Jim Blandy <jimb@codesourcery.com>
25734 Joseph Myers <joseph@codesourcery.com>
25736 * config.make.in (NM): New variable.
25738 2012-10-21 Andreas Jaeger <aj@suse.de>
25740 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25741 definitions and declarations that are provided by
25742 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25744 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25747 * elf/Makefile (tests-static): Add tst-leaks1-static.
25748 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25749 ($(objpfx)tst-leaks1-static): New rule.
25750 ($(objpfx)tst-leaks1-static-mem): Likewise.
25751 (tst-leaks1-static-ENV): New macro.
25752 * elf/dl-open.c (dl_open_worker): Check the main application
25753 only if SHARED is defined.
25754 * elf/tst-leaks1-static.c: New file.
25756 2012-10-20 Andreas Jaeger <aj@suse.de>
25758 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25759 generic values for Linux.
25760 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25761 and declarations that are provided by <bits/fcntl-linux.h> and
25762 include <bits/fcntl-linux.h>.
25763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25764 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25766 2012-10-20 Roland McGrath <roland@hack.frob.com>
25768 * io/fcntl.h: Move include of <bits/types.h> to the top and
25769 include it unconditionally.
25771 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25773 * wcsmbs/Makefile (tests-ifunc): New variable.
25774 (tests): Add $(tests-ifunc).
25775 * wcsmbs/test-wcschr-ifunc.c: New file.
25776 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25777 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25778 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25779 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25780 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25782 * string/Makefile (tests-ifunc): New variable.
25783 (tests): Add $(tests-ifunc).
25784 * string/test-memccpy.c (TEST_NAME): New macro.
25785 * string/test-memchr.c (TEST_NAME): Likewise.
25786 * string/test-memcmp.c (TEST_NAME): Likewise.
25787 * string/test-memcpy.c (TEST_NAME): Likewise.
25788 * string/test-memmem.c (TEST_NAME): Likewise.
25789 * string/test-memmove.c (TEST_NAME): Likewise.
25790 * string/test-memset.c (TEST_NAME): Likewise.
25791 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25792 * string/test-stpcpy.c (TEST_NAME): Likewise.
25793 * string/test-stpncpy.c (TEST_NAME): Likewise.
25794 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25795 * string/test-strcasestr.c (TEST_NAME): Likewise.
25796 * string/test-strcat.c (TEST_NAME): Likewise.
25797 * string/test-strchr.c (TEST_NAME): Likewise.
25798 * string/test-strcmp.c(TEST_NAME): Likewise.
25799 * string/test-strcpy.c (TEST_NAME): Likewise.
25800 * string/test-strcspn.c (TEST_NAME): Likewise.
25801 * string/test-strlen.c (TEST_NAME): Likewise.
25802 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25803 * string/test-strncmp.c (TEST_NAME): Likewise.
25804 * string/test-strncpy.c (TEST_NAME): Likewise.
25805 * string/test-strnlen.c (TEST_NAME): Likewise.
25806 * string/test-strpbrk.c (TEST_NAME): Likewise.
25807 * string/test-strrchr.c (TEST_NAME): Likewise.
25808 * string/test-strspn.c (TEST_NAME): Likewise.
25809 * string/test-strstr.c (TEST_NAME): Likewise.
25810 * string/test-bcopy-ifunc.c: New file.
25811 * string/test-bzero-ifunc.c: Likewise.
25812 * string/test-memccpy-ifunc.c: Likewise.
25813 * string/test-memchr-ifunc.c: Likewise.
25814 * string/test-memcmp-ifunc.c: Likewise.
25815 * string/test-memcpy-ifunc.c: Likewise.
25816 * string/test-memmem-ifunc.c: Likewise.
25817 * string/test-memmove-ifunc.c: Likewise.
25818 * string/test-mempcpy-ifunc.c: Likewise.
25819 * string/test-memset-ifunc.c: Likewise.
25820 * string/test-rawmemchr-ifunc.c: Likewise.
25821 * string/test-stpcpy-ifunc.c: Likewise.
25822 * string/test-stpncpy-ifunc.c: Likewise.
25823 * string/test-strcasecmp-ifunc.c: Likewise.
25824 * string/test-strcasestr-ifunc.c: Likewise.
25825 * string/test-strcat-ifunc.c: Likewise.
25826 * string/test-strchr-ifunc.c: Likewise.
25827 * string/test-strchrnul-ifunc.c: Likewise.
25828 * string/test-strcmp-ifunc.c: Likewise.
25829 * string/test-strcpy-ifunc.c: Likewise.
25830 * string/test-strcspn-ifunc.c: Likewise.
25831 * string/test-strlen-ifunc.c: Likewise.
25832 * string/test-strncasecmp-ifunc.c: Likewise.
25833 * string/test-strncat-ifunc.c: Likewise.
25834 * string/test-strncmp-ifunc.c: Likewise.
25835 * string/test-strncpy-ifunc.c: Likewise.
25836 * string/test-strnlen-ifunc.c: Likewise.
25837 * string/test-strpbrk-ifunc.c: Likewise.
25838 * string/test-strrchr-ifunc.c: Likewise.
25839 * string/test-strspn-ifunc.c: Likewise.
25840 * string/test-strstr-ifunc.c: Likewise.
25842 * debug/Makefile (tests-ifunc): New variable.
25843 (tests): Add $(tests-ifunc).
25844 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25845 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25846 * debug/test-stpcpy_chk-ifunc.c: New file.
25847 * debug/test-strcpy_chk-ifunc.c: Likewise.
25849 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25852 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25853 header is not read in.
25855 2012-10-19 Joseph Myers <joseph@codesourcery.com>
25857 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25858 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25859 directly. Pass built executable to script as
25860 $(built-program-cmd).
25861 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25862 $testprogram without using LD_LIBRARY_PATH and $ldso.
25864 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25865 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25866 $(rtld-installed-name).
25867 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25868 (rtld_installed_name): Likewise.
25869 (library_path): Likewise.
25870 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25871 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25872 $(run-program-prefix) to tst-tables.sh.
25873 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25874 it to run tst-table-from and tst-table-to.
25875 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25876 Pass it to tst-table.sh.
25877 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25878 $(run-program-prefix) to tst-gettext.sh.
25879 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25881 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25883 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25884 to run tst-gettext.
25885 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25886 to run tst-gettext2.
25887 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25888 to run tst-translit.
25889 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25890 $(run-program-prefix) to tst-mtrace.sh.
25891 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25893 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25894 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25895 $(rtld-installed-name).
25896 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25897 (rtld_installed_name): Likewise.
25898 (run_program_prefix): New variable. Use it to run wordexp-test.
25900 * Makeconfig (ARCH): Remove all definitions.
25901 (machine): Likewise.
25902 [ARCH]: Remove conditional code.
25903 [!objdir]: Give error.
25904 [!objdir] (objpfx): Remove.
25905 [!objdir] (common-objpfx): Likewise.
25906 [!objdir] (common-objdir): Likewise.
25907 * configure.in (config_makefile): Remove. Hardcode Makefile in
25908 AC_CONFIG_FILES call.
25909 * configure: Regenerated.
25912 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25914 (testout): Likewise.
25916 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25917 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25918 $(rtld-installed-name).
25919 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25920 (rtld_installed_name): Likwise.
25921 (runit): Remove function.
25922 (run_getconf): New variable, Use it for running getconf binary.
25924 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25927 * string/test-memmem.c (check_result): New function.
25928 (do_one_test): Use it.
25929 (check1): New function.
25930 (test_main): Use it.
25932 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25934 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25936 2012-10-18 Joseph Myers <joseph@codesourcery.com>
25938 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25939 (_G_LSEEK64): Likewise.
25940 (_G_MMAP64): Likewise.
25941 (_G_FSTAT64): Likewise.
25942 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25943 (_G_LSEEK64): Likewise.
25944 (_G_MMAP64): Likewise.
25945 (_G_FSTAT64): Likewise.
25946 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25947 unconditional. Call __mmap64 directly.
25948 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25949 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25950 __lseek64 directly.
25951 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25952 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25954 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25955 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25956 __lseek64 directly.
25957 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25958 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25959 __lseek64 directly.
25960 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25961 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25962 __lseek64 directly.
25963 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25964 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25965 __fxstat64 directly.
25966 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25967 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25969 (freopen64) [!_G_OPEN64]: Remove conditional code.
25970 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25972 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25973 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25975 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25976 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25978 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25979 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25981 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25982 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25984 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25985 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25987 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25988 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25990 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25992 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25995 * manual/memory.texi (Malloc Tunable Parameters): Add note
25996 about free list pointers overwriting some perturb bytes.
25997 Wording suggested by Roland McGrath.
25999 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26001 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26002 (lgamma_test): Likewise.
26003 (tgamma_test): Likewise.
26005 2012-10-16 Florian Weimer <fweimer@redhat.com>
26008 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26009 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26011 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26013 * NEWS: Mention BZ #14716.
26014 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26015 when removing AVAILABLE1_USES_J macro.
26017 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26019 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26020 (__bswap_64): __uint64_t for unsigned 64-bit int.
26022 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26024 * include/string.h (memmem): Declare libc hidden alias.
26025 * string/memmem.c (memmem): Define libc hidden alias.
26026 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26027 __read, __close instead of open, read, close.
26029 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26031 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26032 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26034 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26035 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26036 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26038 (__rawmemchr_sse2): Likewise.
26039 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26040 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26041 (__strchr_sse2): Likewise.
26042 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26043 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26044 (__strcasecmp_sse2): Likewise.
26045 (__strncasecmp_sse2): Likewise.
26046 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26047 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26048 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26049 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26050 (__strrchr_sse2): Likewise.
26051 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26053 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26054 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26055 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26056 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26057 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26058 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26059 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26060 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26061 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26062 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26063 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26064 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26065 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26066 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26067 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26068 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26069 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26070 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26071 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26072 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26073 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26074 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26075 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26076 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26077 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26078 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26079 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26080 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26081 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26082 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26084 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26086 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26087 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26088 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26089 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26091 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26093 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26094 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26095 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26096 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26098 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26099 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26100 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26101 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26102 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26103 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26104 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26105 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26106 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26107 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26108 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26109 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26110 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26111 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26112 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26113 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26114 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26115 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26116 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26117 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26118 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26119 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26120 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26121 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26122 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26123 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26124 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26125 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26126 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26127 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26128 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26129 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26130 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26131 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26132 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26133 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26134 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26135 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26136 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26137 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26138 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26140 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26141 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26142 * include/ifunc-impl-list.h: New file.
26143 * misc/ifunc-impl-list.c: Likewise.
26144 * misc/Makefile (routines): Add ifunc-impl-list.
26145 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26146 * string/test-string.h: Include <ifunc-impl-list.h>.
26147 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26148 TEST_NAME]: New variables.
26149 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26151 (test_init): Call __libc_ifunc_impl_list to initialize
26152 func_list if TEST_IFUNC and TEST_NAME are defined.
26154 * string/Makefile (strop-tests): Add bcopy and bzero.
26155 * string/test-bcopy.c: New file.
26156 * string/test-bzero.c: Likewise.
26157 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26159 * string/test-memset.c: Support bzero test if TEST_BZERO is
26161 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26163 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26165 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26168 2012-10-10 Joseph Myers <joseph@codesourcery.com>
26170 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26171 * configure: Regenerated.
26173 * Makeconfig (+link-static-before-libc): Don't include
26174 $(link-static-libc).
26176 * libio/libio.h (_IO_pos_t): Remove.
26178 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26180 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26183 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26185 * crypt/crypt-entry.c: Include fips-private.h.
26186 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26187 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26188 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26189 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26191 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26193 * crypt/crypt-private.h: Include stdbool.h.
26194 (_ufc_setup_salt_r): Return bool.
26195 * crypt/crypt-entry.c: Include errno.h.
26196 (__crypt_r): Return NULL with EINVAL for bad salt.
26197 * crypt/crypt_util.c (bad_for_salt): New.
26198 (_ufc_setup_salt_r): Check that salt is long enough and within
26199 the specified alphabet.
26200 * crypt/badsalttest.c: New file.
26201 * crypt/Makefile (tests): Add it.
26202 ($(objpfx)badsalttest): New.
26204 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26206 * NEWS: Add entry for BZ #14602.
26208 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26210 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26212 * math/libm-test.inc: Update comment listing what functions and
26214 (isgreater_test): New function.
26215 (isgreaterequal_test): Likewise.
26216 (isless_test): Likewise.
26217 (islessequal_test): Likewise.
26218 (islessgreater_test): Likewise.
26219 (isunordered_test): Likewise.
26220 (main): Call the new functions.
26222 2012-10-09 Roland McGrath <roland@hack.frob.com>
26224 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26225 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26226 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26227 * sysdeps/i386/configure: Regenerated.
26228 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26229 * sysdeps/mach/configure: Regenerated.
26230 * sysdeps/mach/hurd/configure: Regenerated.
26231 * sysdeps/powerpc/configure: Regenerated.
26232 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26233 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26234 * sysdeps/s390/s390-32/configure: Regenerated.
26235 * sysdeps/s390/s390-64/configure: Regenerated.
26236 * sysdeps/sh/configure: Regenerated.
26237 * sysdeps/sparc/configure: Regenerated.
26238 * sysdeps/unix/sysv/linux/configure: Regenerated.
26239 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26240 * sysdeps/x86_64/configure: Regenerated.
26242 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26243 defined. Don't check if MAP is NULL.
26245 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26247 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26248 (_G_stat64): Likewise.
26249 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26250 (_G_stat64): Likewise.
26251 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26252 instead of struct _G_stat64.
26253 * libio/fileops.c (mmap_remap_check): Likewise.
26254 (decide_maybe_mmap): Likewise.
26255 (_IO_new_file_seekoff): Likewise.
26256 (_IO_file_stat): Likewise.
26257 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26259 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26260 instead of struct _G_stat64.
26261 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26263 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26266 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26268 (CHECK_EOL): New macro.
26269 (two_way_short_needle): Check beginning of haystack for EOL. Use
26271 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26272 Replace with CHECK_EOL.
26273 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26274 Replace with CHECK_EOL.
26276 2012-10-08 Joseph Myers <joseph@codesourcery.com>
26278 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26280 * math/libm-test.inc: Update comment listing what functions and
26282 (finite_test): New function.
26283 (isinf_test): Likewise.
26284 (isnan_test): Likewise.
26285 (fpclassify_test): Test subnormal input.
26286 (isfinite_test): Likewise.
26287 (isnormal_test): Likewise.
26288 (main): Call the new functions.
26290 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26293 * Makerules (%.dynsym): Force C locale when running
26294 $(OBJDUMP) --dynamic-syms.
26296 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26298 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26301 2012-10-06 David S. Miller <davem@davemloft.net>
26303 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26304 upper 32-bits of the length value in %o2 since we use branch-on-register
26305 tests which consider the entire 64-bit register.
26307 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26309 * string/test-strstr.c (check2): Add a test for page boundary.
26311 2012-10-05 David S. Miller <davem@davemloft.net>
26313 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26314 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26316 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26318 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26319 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26320 and bzero when HWCAP_SPARC_CRYPTO is present.
26322 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26325 * string/test-strstr.c (check2): New function.
26326 (test_main): Call check2.
26328 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26330 * string/bug-strcasestr1.c (do_test): Moved to ...
26331 * string/test-strcasestr.c (check1): Here. New function.
26332 (do_one_test): Break out result checking code into ...
26333 (check_result): This. New function.
26334 (do_one_test): Call check_result.
26335 (test_main): Call check1.
26336 * string/bug-strchr1.c (do_test): Moved to ...
26337 * string/test-strchr.c (check1): Here. New function.
26338 (do_one_test): Break out result checking code into ...
26339 (check_result): This. New function.
26340 (do_one_test): Call check_result.
26341 (test_main): Call check1.
26342 * string/bug-strstr1.c (main): Moved to ...
26343 * string/test-strstr.c (check1): Here. New function.
26344 (do_one_test): Break out result checking code into ...
26345 (check_result): This. New function.
26346 (do_one_test): Call check_result.
26347 (test_main): Call check1.
26348 * string/bug-strcasestr1.c: Removed.
26349 * string/bug-strchr1.c: Likewise.
26350 * string/bug-strstr1.c: Likewise.
26352 * elf/Makefile (dl-routines): Add hwcaps.
26353 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26354 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26355 (_dl_important_hwcaps): Moved to ...
26356 * elf/dl-hwcaps.c: Here. New file.
26357 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26360 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26361 if IS_IN_rtld isn't defined.
26363 * elf/dl-support.c (_dl_sysinfo_map): New.
26364 Include "get-dynamic-info.h" and "setup-vdso.h".
26365 (_dl_non_dynamic_init): Call setup_vdso.
26366 * elf/dynamic-link.h: Don't include <assert.h>.
26367 (elf_get_dynamic_info): Moved to ...
26368 * elf/get-dynamic-info.h: Here. New file.
26369 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26370 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26371 * elf/setup-vdso.h: Here. New file.
26372 * elf/rtld.c: Include "setup-vdso.h".
26373 (dl_main): Call setup_vdso.
26375 2012-10-05 Joseph Myers <joseph@codesourcery.com>
26377 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26378 creal in comment listing functions tested. List finite, isinf,
26379 isnan, isless, islessequal, isgreater, isgreaterequal,
26380 islessgreater, isunordered, lgamma_r and pow10 as functions and
26381 macros not tested. Mention which functions not tested are aliases
26382 for other functions. Fix typo. Note that signs of NaNs are not
26385 * scripts/config.guess: Update from config.git.
26386 * scripts/config.sub: Likewise.
26388 2012-10-04 Roland McGrath <roland@hack.frob.com>
26390 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26391 * misc/madvise.c (madvise): Renamed to __madvise.
26392 Make madvise a weak alias.
26393 * include/sys/mman.h: Declare __madvise.
26394 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26395 * sysdeps/unix/syscalls.list
26396 (madvise): Make __madvise the strong name, and madvise a weak alias.
26397 * sysdeps/unix/sysv/linux/syscalls.list
26398 (madvise, mmap): Remove redundant entries.
26399 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26400 * malloc/malloc.c (mtrim): Likewise.
26401 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26403 2012-10-03 Roland McGrath <roland@hack.frob.com>
26405 * sysdeps/mach/hurd/dl-cache.c: File removed.
26406 * config.h.in (USE_LDCONFIG): New #undef.
26407 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26408 * configure: Regenerated.
26409 * elf/Makefile (dl-routines): Add dl-cache only under
26410 [$(use-ldconfig) = yes].
26411 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26412 cache on [USE_LDCONFIG].
26413 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26415 * elf/rtld.c (dl_main): Likewise.
26417 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26419 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26420 _SC_LEVEL4_CACHE_LINESIZE.
26422 2012-10-03 Roland McGrath <roland@hack.frob.com>
26424 * sysdeps/unix/bsd/confstr.h: File removed.
26426 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
26428 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26431 2012-10-02 Roland McGrath <roland@hack.frob.com>
26433 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26434 Make 'mapoff' field ElfW(Off) rather than off_t.
26436 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26438 * nscd/Makefile: Remove nscd-cflags and all its users.
26439 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26440 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26443 * malloc.c (malloc_printerr): Clarify error message.
26445 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26449 Set bit_FMA_Usable if FMA is supported.
26450 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26452 (bit_FMA4_Usable): Updated.
26453 (index_FMA_Usable): New macro.
26454 (CPUID_FMA): Likewise
26455 (HAS_FMA): Defined with bit_FMA_Usable.
26457 2012-10-01 Roland McGrath <roland@hack.frob.com>
26459 * bits/types.h (__swblk_t): Type removed.
26460 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26461 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26462 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26463 (__SWBLK_T_TYPE): Likewise.
26464 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26465 (__SWBLK_T_TYPE): Likewise.
26466 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26467 (__SWBLK_T_TYPE): Likewise.
26468 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26469 (__SWBLK_T_TYPE): Likewise.
26471 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
26472 Honza Horak <hhorak@redhat.com>
26474 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26475 (xdr_mapname): Use YPMAXMAP as maxsize.
26476 (xdr_peername): Use YPMAXPEER as maxsize.
26477 (xdr_keydat): Use YPAXRECORD as maxsize.
26478 (xdr_valdat): Use YPMAXRECORD as maxsize.
26480 2012-10-01 Roland McGrath <roland@hack.frob.com>
26482 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26484 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26485 * csu/init-first.c: ... here.
26486 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26487 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26488 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26489 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26490 * sysdeps/i386/init-first.c: File removed.
26491 * sysdeps/sh/init-first.c: File removed.
26493 2012-10-01 Joseph Myers <joseph@codesourcery.com>
26496 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26497 if x * y might underflow to zero and z is zero.
26498 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26499 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26500 * math/libm-test.inc (min_subnorm_value): New variable.
26501 (fma_test): Add more tests.
26502 (fma_test_towardzero): Likewise.
26503 (fma_test_downward): Likewise
26504 (fma_test_upward): Likewise.
26505 (initialize): Set min_subnorm_value.
26507 2012-09-29 Joseph Myers <joseph@codesourcery.com>
26510 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26512 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26513 mode for addition resulting in exact zero.
26514 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26515 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26517 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26518 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26519 * math/libm-test.inc (fma_test): Add more tests.
26520 (fma_test_towardzero): New function.
26521 (fma_test_downward): Likewise.
26522 (fma_test_upward): Likewise.
26523 (main): Call the new functions.
26525 2012-09-28 David S. Miller <davem@davemloft.net>
26527 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26529 2012-09-28 Roland McGrath <roland@hack.frob.com>
26531 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26532 instead of SIGALRM.
26534 * sysdeps/gnu/_G_config.h: Moved to ...
26535 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26536 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26537 * sysdeps/generic/_G_config.h: ... here.
26539 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26541 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26543 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26544 Conditionalize target on [libnss_test1.so-version].
26546 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26548 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26549 (elfobjdir): Move out of conditionals.
26551 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26552 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26553 (__nss_lookup_function): Conditionalize label remove_from_tree on
26554 [!DO_STATIC_NSS || SHARED], matching its only use.
26556 2012-09-28 David S. Miller <davem@davemloft.net>
26558 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26559 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26561 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26563 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26564 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26565 when HWCAP_SPARC_CRYPTO is present.
26567 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26569 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26571 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26574 * stdio-common/vfprintf.c (process_string_arg): Revert
26577 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26579 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26581 * stdio-common/tst-sprintf.c: Include <locale.h>
26582 (main): Test sprintf's handling of incomplete multibyte
26585 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26587 * elf/dl-runtime.c (VERSYMIDX): Removed.
26588 * elf/dl-version.c (VERSYMIDX): Likewise.
26589 * elf/do-rel.h (VERSYMIDX): Likewise.
26590 (VALIDX): Likewise.
26591 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26592 * elf/rtld.c (VALIDX): Likewise.
26593 (ADDRIDX): Likewise.
26594 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26595 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26596 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26597 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26598 (VALIDX): Likewise.
26599 (ADDRIDX): Likewise.
26601 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26603 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26605 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26608 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26610 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26611 addresses are in the same scope as 192.0.2/24.
26612 * posix/gai.conf: Document new scope table defaults.
26614 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26617 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26618 for ftell. Compute offsets from write pointers instead.
26619 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26621 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26624 * libio/Makefile (tests): New test case tst-fseek.
26625 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26626 combination works in wide mode.
26627 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26628 state when the external buffer state changes.
26630 2012-09-27 David S. Miller <davem@davemloft.net>
26633 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26634 pass reloc->r_addend in as the 'high' argument to
26635 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26639 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26641 * rt/tst-aio2.c: Include <pthread.h>.
26642 * rt/tst-aio3.c: Likewise.
26644 2012-09-27 Steve Ellcey <sellcey@mips.com>
26646 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26648 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26650 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26651 contents on [SHARED].
26653 2012-09-26 Marek Polacek <polacek@redhat.com>
26657 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26658 for C++ and GCC <4.3 as well as for non GCC compilers.
26660 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26664 2012-09-25 Roland McGrath <roland@hack.frob.com>
26666 * Makefile.in (all, install): Declare with .PHONY.
26667 Reported by Michael Hope <michael.hope@linaro.org>.
26669 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26671 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26672 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26674 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26676 (sydep_routines): Add the new and the internal functions.
26677 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26678 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26680 (GLIBC_2.17): Add the new function.
26681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26682 (GLIBC_2.17): Likewise.
26683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26684 (GLIBC_2.17): Likewise.
26685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26686 (GLIBC_2.17): Likewise.
26687 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26689 2012-09-25 Alan Modra <amodra@gmail.com>
26691 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26692 Add release barrier before setting once_control to say
26693 initialisation is done. Add hints on lwarx. Use macro in
26695 (clear_once_control): Add release barrier.
26697 2012-09-25 Joseph Myers <joseph@codesourcery.com>
26700 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26702 * math/s_clog10.c (__clog10): Likewise.
26703 * math/s_clog10f.c (__clog10f): Likewise.
26704 * math/s_clog10l.c (__clog10l): Likewise.
26705 * math/s_clogf.c (__clogf): Likewise.
26706 * math/s_clogl.c (__clogl): Likewise.
26707 * math/Makefile (libm-calls): Add x2y2m1.
26708 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26709 (__x2y2m1): Likewise.
26710 (__x2y2m1l): Likewise.
26711 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26712 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26713 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26714 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26715 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26716 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26717 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26718 * sysdeps/i386/fpu/libm-test-ulps: Update.
26719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26722 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26723 int as type of variable DEPTH.
26724 (glob): Use size_t instead of int as type of variables NEWCOUNT
26727 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26729 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26730 Add s_sincosf-sse2.
26731 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26732 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26733 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26734 macros for using routine as __sincosf_ia32.
26735 Use macro for function declaration and weak_alias.
26736 * sysdeps/i386/fpu/libm-test-ulps: Update.
26738 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26741 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26742 subnormal argument.
26743 * math/s_cexpf.c (__cexpf): Likewise.
26744 * math/s_csinf.c (__csinf): Likewise.
26745 * math/s_csinhf.c (__csinhf): Likewise.
26746 * math/s_ctanf.c (__ctanf): Likewise.
26747 * math/s_ctanhf.c (__ctanhf): Likewise.
26748 * math/s_ccosh.c (__ccoshf): Likewise.
26749 * math/s_cexp.c (__cexpl): Likewise.
26750 * math/s_csin.c (__csin): Likewise.
26751 * math/s_csinh.c (__csinh): Likewise.
26752 * math/s_ctan.c (__ctan): Likewise.
26753 * math/s_ctanh.c (ctanh): Likewise.
26754 * math/s_ccoshl.c (__ccoshl): Likewise.
26755 * math/s_cexpl.c (__cexpl): Likewise.
26756 * math/s_csinl.c (__csinl): Likewise.
26757 * math/s_csinhl.c (__csinhl): Likewise.
26758 * math/s_ctanl.c (__ctanl): Likewise.
26759 * math/s_ctanhl.c (__ctanhl): Likewise.
26761 2012-09-25 Joseph Myers <joseph@codesourcery.com>
26763 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26764 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26765 (_IO_off_t): Define to __off_t, not _G_off_t.
26766 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26767 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26768 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26769 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26770 type of __dummy and __dummy2 fields.
26771 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26772 (_G_ssize_t): Likewise.
26773 (_G_off_t): Likewise.
26774 (_G_pid_t): Likewise.
26775 (_G_uid_t): Likewise.
26776 (_G_wchar_t): Likewise.
26777 (_G_wint_t): Likewise.
26778 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26779 (_G_ssize_t): Likewise.
26780 (_G_off_t): Likewise.
26781 (_G_pid_t): Likewise.
26782 (_G_uid_t): Likewise.
26783 (_G_wchar_t): Likewise.
26784 (_G_wint_t): Likewise.
26785 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26786 (_G_ssize_t): Likewise.
26787 (_G_off_t): Likewise.
26788 (_G_pid_t): Likewise.
26789 (_G_uid_t): Likewise.
26790 (_G_wchar_t): Likewise.
26791 (_G_wint_t): Likewise.
26793 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26795 * malloc/arena.c: Include malloc-sysdep.h.
26796 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26797 is sufficient to shrink the heap or an unmap is needed.
26798 * sysdeps/generic/malloc-sysdep.h: New file. Define
26799 new function check_may_shrink_heap.
26800 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26801 new function check_may_shrink_heap.
26803 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26805 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26808 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26810 * catgets/test-gencat.sh: Add "set -e".
26811 * elf/tst-pathopt.sh: Likewise.
26812 * grp/tst_fgetgrent.sh: Likewise.
26813 * iconvdata/run-iconv-test.sh: Likewise.
26814 * intl/tst-gettext.sh: Likewise.
26815 * intl/tst-gettext2.sh: Likewise.
26816 * intl/tst-gettext4.sh: Likewise.
26817 * intl/tst-gettext6.sh: Likewise.
26818 * intl/tst-translit.sh: Likewise.
26819 * io/ftwtest-sh: Likewise.
26820 * libio/test-freopen.sh: Likewise.
26821 * malloc/tst-mtrace.sh: Likewise.
26822 * posix/globtest.sh: Likewise.
26823 * posix/tst-getconf.sh: Likewise.
26824 * posix/wordexp-tst.sh: Likewise.
26825 * stdio-common/tst-printf.sh: Likewise.
26826 * stdio-common/tst-unbputc.sh: Likewise.
26827 * stdlib/tst-fmtmsg.sh: Likewise.
26828 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26829 * catgets/Makefile: Do not specify -e option when running
26830 testsuite shell scripts.
26831 * elf/Makefile: Likewise.
26832 * grp/Makefile: Likewise.
26833 * iconvdata/Makefile: Likewise.
26834 * intl/Makefile: Likewise.
26835 * io/Makefile: Likewise.
26836 * libio/Makefile: Likewise.
26837 * malloc/Makefile: Likewise.
26838 * posix/Makefile: Likewise.
26839 * stdio-common/Makefile: Likewise.
26840 * stdlib/Makefile: Likewise.
26841 * sysdeps/x86_64/Makefile: Likewise.
26843 * io/ftwtest-sh: Add copyright header.
26844 * posix/globtest.sh: Likewise.
26845 * posix/tst-getconf.sh: Likewise.
26846 * posix/wordexp-tst.sh: Likewise.
26847 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26849 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26852 * Makeconfig (+link): Defined as $(+link-static) if
26853 $(build-shared) isn't yes.
26854 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26856 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26858 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26861 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26862 new chunk size with MALLOC_ALIGN_MASK.
26864 2012-09-24 Joseph Myers <joseph@codesourcery.com>
26867 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26869 (__printf_fphex): Determine rounding using get_rounding_mode and
26871 * stdio-common/tst-printf-round.c (struct hex_test): New
26873 (hex_tests): New variable.
26874 (test_hex_in_one_mode): New function.
26875 (do_test): Also run tests for hex float output.
26877 2012-09-21 Joseph Myers <joseph@codesourcery.com>
26879 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26880 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26881 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26882 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26883 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26884 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26885 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26886 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26888 2012-09-20 Joseph Myers <joseph@codesourcery.com>
26890 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26891 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26892 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26893 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26895 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26898 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26900 * elf/tst-rtld-load-self.sh: New test.
26901 * elf/Makefile: Run it.
26903 2012-09-18 Joseph Myers <joseph@codesourcery.com>
26905 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26906 (tst-writev-ENV): Remove.
26907 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26909 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26911 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26913 2012-09-17 Joseph Myers <joseph@codesourcery.com>
26915 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26917 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26919 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26920 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26921 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26924 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26927 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26928 * config.make.in (have-cpp-asm-debuginfo): Removed.
26929 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26930 * configure: Regenerated.
26932 2012-09-14 Joseph Myers <joseph@codesourcery.com>
26935 * stdio-common/printf_fp.c: Include <stdbool.h> and
26937 (___printf_fp): Determine rounding using get_rounding_mode and
26939 * stdio-common/tst-printf-round.c: New file.
26940 * stdio-common/Makefile (tests): Add tst-printf-round.
26941 (link-libm): New variable.
26942 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26944 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26947 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26948 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26950 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26953 2012-09-13 Joseph Myers <joseph@codesourcery.com>
26955 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26956 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26957 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26958 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26960 2012-09-12 Joseph Myers <joseph@codesourcery.com>
26963 * include/rounding-mode.h: New file.
26964 * sysdeps/generic/get-rounding-mode.h: Likewise.
26965 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26966 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26967 (MAX_VALUE): New macro.
26968 (MIN_VALUE): Likewise.
26969 (overflow_value): New function.
26970 (underflow_value): Likewise.
26971 (round_and_return): Use overflow_value and underflow_value to
26972 determine return values in overflow and underflow cases. Use
26973 round_away to determine rounding depending on rounding mode.
26974 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26975 determine return values in overflow and underflow cases.
26976 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26977 (struct test_results): New structure.
26978 (struct test): Use struct test_results to store expected results
26979 for all rounding modes.
26980 (TEST): Include expected results for all rounding modes.
26981 (test_in_one_mode): New function.
26982 (do_test): Use test_in_one_mode to compute and check results.
26983 Check results for all rounding modes.
26984 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26987 2012-12-09 Allan McRae <allan@archlinux.org>
26989 * sysdeps/i386/fpu/libm-test-ulps: Update
26991 2012-09-11 Joseph Myers <joseph@codesourcery.com>
26993 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26994 (_G_int32_t): Likewise.
26995 (_G_uint16_t): Likewise.
26996 (_G_uint32_t): Likewise.
26997 (_G_HAVE_BOOL): Likewise.
26998 (_G_HAVE_ATEXIT): Likewise.
26999 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27000 (_G_HAVE_IO_FILE_OPEN): Likewise.
27001 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27002 (_G_int32_t): Likewise.
27003 (_G_uint16_t): Likewise.
27004 (_G_uint32_t): Likewise.
27005 (_G_HAVE_BOOL): Likewise.
27006 (_G_HAVE_ATEXIT): Likewise.
27007 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27008 (_G_HAVE_IO_FILE_OPEN): Likewise.
27009 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27010 (_G_int32_t): Likewise.
27011 (_G_uint16_t): Likewise.
27012 (_G_uint32_t): Likewise.
27013 (_G_HAVE_BOOL): Likewise.
27014 (_G_HAVE_ATEXIT): Likewise.
27015 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27016 (_G_HAVE_IO_FILE_OPEN): Likewise.
27018 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27020 * csu/libc-tls.c: Update copyright years.
27022 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27024 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27025 [!_G_USING_THUNKS]: Remove conditional code.
27026 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27027 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27029 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27030 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27031 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27032 (_G_VTABLE_LABEL_PREFIX): Likewise.
27033 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27034 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27035 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27036 (_G_VTABLE_LABEL_PREFIX): Likewise.
27037 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27038 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27039 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27040 (_G_VTABLE_LABEL_PREFIX): Likewise.
27041 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27043 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27045 * libio/Makefile: Include ../Makeconfig before tests.
27046 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27047 only if $(build-shared) is yes.
27049 * iconv/gconv_db.c: Update copyright years.
27051 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27053 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27054 unwind info if defined PIC. Fix special cases description.
27055 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27057 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27059 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27061 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27063 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27065 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27068 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27069 (LDLIBS-tst-chk4): This.
27070 (LDFLAGS-tst-chk5): Renamed to ...
27071 (LDLIBS-tst-chk5): This.
27072 (LDFLAGS-tst-chk6): Renamed to ...
27073 (LDLIBS-tst-chk6): This.
27074 (LDFLAGS-tst-lfschk4): Renamed to ...
27075 (LDLIBS-tst-lfschk4): This.
27076 (LDFLAGS-tst-lfschk5): Renamed to ...
27077 (LDLIBS-tst-lfschk5): This.
27078 (LDFLAGS-tst-lfschk6): Renamed to ...
27079 (LDLIBS-tst-lfschk6): This.
27081 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27082 on $(common-objpfx)soversions.mk.
27084 2012-09-07 Joseph Myers <joseph@codesourcery.com>
27087 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27090 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27092 * malloc/arena.c (arena_get_retry): New function that gets
27093 another arena for the caller to try its request on.
27094 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27095 current arena cannot fulfill the request.
27096 (__libc_memalign): Likewise.
27097 (__libc_memalign): Likewise.
27098 (__libc_pvalloc): Likewise.
27099 (__libc_calloc): Likewise.
27101 2012-09-05 John Tobey <john.tobey@gmail.com>
27104 * manual/arith.texi (Operations on Complex): Fix description
27105 of carg branch cut.
27107 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27110 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27114 * manual/memory.texi (Memory): Make order of menu items match
27117 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27119 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27120 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27121 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27123 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27125 * csu/libc-tls.c (static_dtv): Renamed to ...
27126 (_dl_static_dtv): This. Make it global.
27127 (_dl_initial_dtv): Removed.
27128 (__libc_setup_tls): Updated.
27129 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27130 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27133 2012-09-06 Petr Machata <pmachata@redhat.com>
27135 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27136 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27137 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27138 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27140 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27143 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27144 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27147 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27150 * Makeconfig (link-static-before-libc): Replace $(+prector)
27152 (link-static-after-libc): Replace $(+postctor) with
27154 (link-bounded): Replace $(+prector)/$(+postctor) with
27155 $(+prectorT)/$(+postctorT).
27156 (+prectorT): New macro.
27157 (+postctorT): Likewise.
27159 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27161 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27162 (round_str): Handle values above the maximum for IBM long double
27164 * stdlib/tst-strtod-round.c (tests): Regenerated.
27166 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27168 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27170 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27171 zarch_nohighgprs around the zarch optimized routines.
27172 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27173 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27174 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27177 2012-09-05 David S. Miller <davem@davemloft.net>
27179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27181 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27182 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27183 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27184 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27187 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27189 * malloc/arena.c: Fold copyright years.
27190 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27192 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27194 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27196 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27198 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27200 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27202 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27203 change internal state upon failure.
27205 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27207 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27208 * malloc/memusage.c (mmap): Likewise.
27209 (mmap64, mremap): Likewise. Adjust name in comment.
27211 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27213 * libio/fileops.c: Fix typos in comments.
27214 * libio/oldfileops.c: Likewise.
27215 * libio/wfileops.c: Likewise.
27217 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27220 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27221 (tst-malloc-usable-ENV): Set environment for test case.
27222 * malloc/hooks.c (malloc_check_get_size): New function to get
27224 * malloc/malloc.c (musable): Use malloc_check_get_size.
27225 * malloc/tst-malloc-usable.c: New test case.
27227 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27229 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27231 2012-09-05 Allan McRae <allan@archlinux.org>
27234 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27235 determine header location.
27236 * configure: Regenerated.
27238 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27240 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27242 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27243 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27245 (test): Regenerate.
27247 2012-09-04 David S. Miller <davem@davemloft.net>
27249 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27250 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27251 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27253 2012-09-04 Florian Weimer <fweimer@redhat.com>
27255 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27258 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27260 2012-09-04 Joseph Myers <joseph@codesourcery.com>
27263 * libio/iogetdelim.c: Include <limits.h>.
27264 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27265 + len + 1 would overflow.
27267 2012-09-03 Andreas Jaeger <aj@suse.de>
27269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27270 * sysdeps/i386/fpu/libm-test-ulps: Update.
27272 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27274 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27275 Add s_sinf-sse2, s_conf-sse2.
27277 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27278 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27279 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27280 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27282 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27283 for using routine as __sinf_ia32.
27284 Use macro for function declaration and weak_alias.
27285 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27286 for using routine as __cosf_ia32.
27287 Use macro for function declaration and weak_alias.
27289 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27290 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27292 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27293 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27296 * math/libm-test.inc (cos_test): Add more test cases.
27297 (sin_test): Likewise.
27298 (sincos_test): Likewise.
27300 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27302 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27303 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27305 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27307 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27310 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27311 first element of the GOT.
27312 (elf_machine_load_address): Return the difference between
27313 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27315 2012-09-01 Allan McRae <allan@archlinux.org>
27318 * configure.in (AWK): Require gawk version 3.0 or later.
27319 * configure: Regenerated.
27321 2012-09-01 Joseph Myers <joseph@codesourcery.com>
27323 * sysdeps/unix/sysv/linux/kernel-features.h
27324 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27325 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27326 [__NR_clock_getres]: Make code unconditional.
27327 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27328 (clock_getcpuclockid): Remove code left unreachable by removal of
27330 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27331 code unconditional.
27332 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27333 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27334 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27335 Make code unconditional.
27336 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27337 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27338 * sysdeps/unix/sysv/linux/clock_settime.c
27339 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27341 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27342 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27344 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27347 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27348 scripts/test-installation.pl.
27350 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27351 and $ld_so_version if it is set.
27353 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27356 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27357 failure if reading from procfs failed.
27358 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27360 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27362 * sysdeps/unix/sysv/linux/kernel-features.h
27363 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27364 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27365 Remove conditional code.
27366 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27367 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27368 Remove conditional code.
27369 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27370 * sysdeps/unix/sysv/linux/i386/fxstat.c
27371 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27372 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27373 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27374 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27375 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27376 * sysdeps/unix/sysv/linux/i386/lxstat.c
27377 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27378 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27379 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27380 Remove conditional code.
27381 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27382 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27383 Remove conditional code.
27384 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27385 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27386 <kernel-features.h>.
27387 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27389 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27390 Remove conditional code.
27391 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27392 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27393 Remove conditional.
27395 2012-08-27 Mike Frysinger <vapier@gentoo.org>
27398 * NEWS: Add fixed bug number.
27400 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27403 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27404 underflowing exponent in case of negative sign.
27405 * stdlib/tst-strtod-round-data: Add more tests.
27406 * stdlib/tst-strtod-round.c (tests): Regenerated.
27409 * stdlib/strtod_l.c (NDIG): Remove.
27410 (HEXNDIG): Likewise.
27411 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27412 smallest representable value.
27413 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27414 lie within an exact representation of 1/2 ulp of the result.
27415 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27417 (TENS_P9_IDX): Define unconditionally.
27418 (TENS_P9_SIZE): Likewise.
27419 (TENS_P10_IDX): Likewise.
27420 (TENS_P10_SIZE): Likewise.
27421 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27422 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27423 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27424 entries for 10^2^13 and 10^2^14.
27425 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27426 (TENS_P13_IDX): Define.
27427 (TENS_P13_SIZE): Likewise.
27428 (TENS_P14_IDX): Likewise.
27429 (TENS_P14_SIZE): Likewise.
27430 (_fpioconst_pow10): Change array size to
27431 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27433 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27434 1024]: Add entries for 10^2^13 and 10^2^14.
27435 [LAST_POW10 > _LAST_POW10]: Remove #error.
27436 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27437 (_fpioconst_pow10): Change array size to
27438 FPIOCONST_POW10_ARRAY_SIZE.
27439 * stdlib/gen-fpioconst.c: New file.
27440 * stdlib/gen-tst-strtod-round.c: Likewise.
27441 * stdlib/tst-strtod-round-data: Likewise.
27442 * stdlib/tst-strtod-round.c: Likewise.
27443 * stdlib/Makefile (tests): Add tst-strtod-round.
27446 * stdlib/strtod_l.c: Include <stdint.h>.
27447 (NDEBUG): Do not define.
27448 (round_and_return): Change EXPONENT parameter to type intmax_t.
27449 Rearrange calculations to avoid internal overflow possibilities.
27450 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27451 Rearrange calculations to avoid internal overflow possibilities.
27452 Assert that number fits inside MPNSIZE limbs.
27453 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27454 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27455 calculations and add assertions to avoid internal overflow
27456 possibilities. Add casts to avoid signed/unsigned operations.
27457 * stdlib/tst-strtod-overflow.c: New file.
27458 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27460 2012-08-25 Marek Polacek <polacek@redhat.com>
27462 * time/time.h: Fix some typos in comments.
27464 2012-08-23 Roland McGrath <roland@hack.frob.com>
27466 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27467 * posix/tst-rfc3484-2.c: Likewise.
27468 * posix/tst-rfc3484-3.c: Likewise.
27470 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27472 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27473 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27475 2012-08-23 Joseph Myers <joseph@codesourcery.com>
27477 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27478 #include of fxstatat64.c.
27480 2012-08-22 Roland McGrath <roland@hack.frob.com>
27482 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27483 * shadow/getspent_r.c: Likewise.
27484 * shadow/getspnam.c: Likewise.
27485 * shadow/getspnam_r.c: Likewise.
27486 * gshadow/getsgent.c: Likewise.
27487 * gshadow/getsgent_r.c: Likewise.
27488 * gshadow/getsgnam.c: Likewise.
27489 * gshadow/getsgnam_r.c: Likewise.
27490 * inet/getnetbyad.c: Likewise.
27491 * inet/getnetbyad_r.c: Likewise.
27492 * inet/getnetbynm.c: Likewise.
27493 * inet/getnetbynm_r.c: Likewise.
27494 * inet/getnetent.c: Likewise.
27495 * inet/getnetent_r.c: Likewise.
27496 * inet/getproto.c: Likewise.
27497 * inet/getproto_r.c: Likewise.
27498 * inet/getprtent.c: Likewise.
27499 * inet/getprtent_r.c: Likewise.
27500 * inet/getprtname.c: Likewise.
27501 * inet/getprtname_r.c: Likewise.
27502 * inet/getrpcbyname.c: Likewise.
27503 * inet/getrpcbyname_r.c: Likewise.
27504 * inet/getrpcbynumber.c: Likewise.
27505 * inet/getrpcbynumber_r.c: Likewise.
27506 * inet/getrpcent.c: Likewise.
27507 * inet/getrpcent_r.c: Likewise.
27508 * inet/getaliasent.c: Likewise.
27509 * inet/getaliasent_r.c: Likewise.
27510 * inet/getaliasname.c: Likewise.
27511 * inet/getaliasname_r.c: Likewise.
27512 * nscd/getgrgid_r.c: Likewise.
27513 * nscd/getgrnam_r.c: Likewise.
27514 * nscd/gethstbyad_r.c: Likewise.
27515 * nscd/gethstbynm3_r.c: Likewise.
27516 * nscd/getpwnam_r.c: Likewise.
27517 * nscd/getpwuid_r.c: Likewise.
27518 * nscd/getsrvbynm_r.c: Likewise.
27519 * nscd/getsrvbypt_r.c: Likewise.
27520 * nscd/gai.c: Likewise.
27522 * configure.in (build_nscd): New substituted variable, set
27523 by --disable-build-nscd and defaults to $use_nscd.
27524 * configure: Regenerated.
27525 * config.make.in (build-nscd): New substituted variable.
27526 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27527 Change conditional to require [$(build-nscd) = yes] as well.
27528 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27531 * configure.in (use_nscd): New substituted variable, set by
27532 --disable-nscd. If enabled, define USE_NSCD.
27533 * configure: Regenerated.
27534 * config.h.in: Add USE_NSCD.
27535 * config.make.in (use-nscd): New substituted variable.
27536 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27537 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27538 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27539 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27540 (CFLAGS-getgrnam_r.c): Likewise.
27541 (CFLAGS-initgroups.c): Likewise.
27542 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27543 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27545 * inet/getnetgrent_r.c
27546 (nscd_setnetgrent): New function, broken out of ...
27547 (setnetgrent): ... here. Call it.
27548 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27549 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27550 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27551 * nscd/Makefile (routines, aux): Move definitions after include of
27552 Makeconfig. Conditionalize on [$(use-nscd) != no].
27553 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27554 Conditionalize on [USE_NSCD].
27555 (is_nscd, nscd_init_cb): Likewise.
27556 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27557 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27558 * nss/nss_db/db-init.c: Likewise.
27559 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27561 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27562 (make_request): Use it.
27563 (cache_valid_p): New function.
27564 (__check_pf): Use it.
27565 * NEWS: Add item for --disable-nscd.
27567 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27569 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27570 to support sed >= 4.2.1-20-ga9bf076.
27571 * configure: Regenerated.
27573 2012-08-22 Roland McGrath <roland@hack.frob.com>
27575 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27576 Conditionalize whole body on [IREL].
27578 2012-08-22 Jeff Law <law@redhat.com>
27581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27582 if the family is PF_UNSPEC.
27584 2012-08-22 Mike Frysinger <vapier@gentoo.org>
27586 * Makerules (lib-version): Rename from V.
27587 (install-lib-nosubdir): Change V to lib-version.
27589 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27592 * powerpc32/power6/wcschr.c: New file.
27593 * powerpc32/power6/wcscpy.c: New file.
27594 * powerpc32/power6/wcsrchr.c: New file.
27595 * powerpc64/power6/wcschr.c: New file.
27596 * powerpc64/power6/wcscpy.c: New file.
27597 * powerpc64/power6/wcsrchr.c: New file.
27599 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27601 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27602 (two_way_short_needle): Use it.
27603 * string/strstr.c (AVAILABLE1_USES_J): Define.
27604 * string/strcasestr.c: Likewise.
27606 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27608 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27611 * NEWS: Add an entry.
27612 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27613 define their defaults.
27614 (two_way_short_needle): Detect end-of-string on-the-fly.
27615 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27616 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27617 * string/bug-strcasestr1.c: New test.
27618 * string/Makefile: Run it.
27620 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27623 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27624 the first character.
27626 2012-08-21 Roland McGrath <roland@hack.frob.com>
27628 * csu/elf-init.c (__libc_csu_irel): Function removed.
27629 * csu/libc-start.c (apply_irel): New function.
27630 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27632 2012-08-21 Joseph Myers <joseph@codesourcery.com>
27634 * sysdeps/unix/sysv/linux/kernel-features.h
27635 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27636 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27637 <kernel-features.h>.
27638 [__NR_fadvise64_64]: Make code unconditional.
27639 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27640 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27641 !__NR_fadvise64_64)]: Likewise.
27642 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27643 !__NR_fadvise64_64))]: Likewise.
27644 [__NR_fadvise64]: Make code unconditional.
27645 [!__NR_fadvise64]: Remove conditional code.
27646 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27647 <kernel-features.h>.
27648 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27650 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27653 not include <kernel-features.h>.
27654 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27656 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27658 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27659 include <kernel-features.h>.
27660 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27662 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27665 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27667 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27668 slight instruction rearrangements per scrollpipe analysis.
27669 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27671 2012-08-20 Roland McGrath <roland@hack.frob.com>
27673 * manual/syslog.texi (syslog; vsyslog, closelog):
27674 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27675 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27677 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27678 DSOCAPS to match condition on defining it.
27680 2012-08-20 Joseph Myers <joseph@codesourcery.com>
27682 * sysdeps/unix/sysv/linux/kernel-features.h
27683 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27685 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27686 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27688 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27689 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27691 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27692 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27694 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27695 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27697 * sysdeps/unix/sysv/linux/kernel-features.h
27698 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27699 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27701 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27702 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27703 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27704 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27705 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27706 Make code unconditional.
27707 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27708 (__mmap64) [!__NR_mmap2]: Likewise.
27709 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27710 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27711 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27712 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27713 [__NR_mmap2]: Make code unconditional.
27714 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27715 (__mmap64) [!__NR_mmap2]: Likewise.
27717 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27719 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27721 2012-08-18 Andreas Jaeger <aj@suse.de>
27723 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27725 2012-08-18 Mike Frysinger <vapier@gentoo.org>
27727 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27728 * include/unistd.h (__have_sock_cloexec): Likewise.
27729 (__have_pipe2): Likewise.
27730 (__have_dup3): Likewise.
27732 2012-08-18 Mike Frysinger <vapier@gentoo.org>
27735 * include/unistd.h (__have_pipe2): Change define into an extern int.
27736 (__have_dup3): Likewise.
27737 * socket/have_sock_cloexec.c: Include fcntl.h.
27738 (__have_pipe2): New variable.
27739 (__have_dup3): Likewise.
27741 2012-08-17 Mike Frysinger <vapier@gentoo.org>
27743 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27745 2012-08-17 Marek Polacek <polacek@redhat.com>
27747 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27748 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27750 2012-08-17 Roland McGrath <roland@hack.frob.com>
27752 * configure.in: Add AC_SUBST for sysheaders.
27753 * configure: Regenerated.
27754 * config.make.in (sysheaders): New substituted variable.
27756 * sysdeps/unix/mkfifo.c: Moved ...
27757 * sysdeps/posix/mkfifo.c: ... here.
27758 * sysdeps/unix/mkfifoat.c: Moved ...
27759 * sysdeps/posix/mkfifoat.c: ... here.
27761 * sysdeps/unix/utime.c: Moved ...
27762 * sysdeps/posix/utime.c: ... here.
27764 * sysdeps/unix/time.c: Moved ...
27765 * sysdeps/posix/time.c: ... here.
27766 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27767 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27769 * sysdeps/unix/nice.c: Moved ...
27770 * sysdeps/posix/nice.c: ... here.
27772 * sysdeps/unix/alarm.c: Moved ...
27773 * sysdeps/posix/alarm.c: ... here.
27775 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27777 2012-08-17 Jeff Law <law@redhat.com>
27779 * intl/Makefile (codeset_mo): New variable.
27780 ($(codeset_mo)): New target.
27781 (tst-codeset.out): Depend on that. Remove explicit rule.
27782 (tst-gettext3.out, tst-gettext5.out): Likewise.
27783 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27784 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27785 * intl/tst-codeset.sh: Remove.
27786 * intl/tst-gettext3.sh: Likewise.
27787 * intl/tst-gettext5.sh: Likewise.
27789 2012-08-17 Roland McGrath <roland@hack.frob.com>
27791 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27792 * sysdeps/unix/syscalls.list: ... here.
27794 * sysdeps/posix/getaddrinfo.c
27795 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27796 (gaiconf_init, gaiconf_reload): Use them.
27797 [!_STATBUF_ST_NSEC]
27798 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27799 Define using time_t rather than struct timespec.
27801 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27802 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27804 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27806 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27807 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27810 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27811 __libc_cleanup_push argument.
27813 * bits/param.h: New file.
27814 * misc/sys/param.h: New file.
27815 * include/sys/param.h: New file.
27816 * misc/Makefile (headers): Add bits/param.h.
27817 * sysdeps/generic/sys/param.h: File removed.
27818 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27819 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27820 * sysdeps/mach/hurd/bits/param.h: New file.
27821 * sysdeps/mach/hurd/sys/param.h: File removed.
27823 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27826 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27828 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27829 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27832 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27833 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27834 rather than -D_IO_MTSAFE_IO conditionally.
27835 * stdio-common/Makefile (CPPFLAGS): Likewise.
27836 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27837 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27838 Use $(libio-mtsafe).
27839 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27840 of -D_IO_MTSAFE_IO.
27841 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27842 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27843 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27844 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27845 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27846 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27847 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27848 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27849 (CFLAGS-fread_u_chk.c): Likewise.
27850 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27851 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27852 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27853 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27854 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27855 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27856 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27857 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27858 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27860 * libio/Makefile: Test [$(libc-reentrant) = yes]
27861 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27864 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27865 * sysdeps/pthread/configure: File removed.
27866 * sysdeps/pthread/Makeconfig: New file.
27867 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27868 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27870 2012-08-16 Gary Benson <gbenson@redhat.com>
27872 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27873 unmapping the first object in a namespace.
27875 2012-08-16 Roland McGrath <roland@hack.frob.com>
27877 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27878 (__internal_setnetgrent): ... this. Add internal_function to
27879 definition. Add libc_hidden_def.
27880 (setnetgrent): Update caller.
27881 (internal_endnetgrent): Renamed to ...
27882 (__internal_endnetgrent): ... this. Add internal_function to
27883 definition. Add libc_hidden_def.
27884 (endnetgrent): Update caller.
27885 (internal_getnetgrent_r): Renamed to ...
27886 (__internal_getnetgrent_r): ... this. Add internal_function to
27887 definition. Add libc_hidden_def.
27888 (__getnetgrent_r): Update caller.
27889 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27891 2012-08-16 Joseph Myers <joseph@codesourcery.com>
27893 * stdlib/longlong.h: Update from GCC.
27895 2012-08-16 Roland McGrath <roland@hack.frob.com>
27897 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27898 on _QL, which is set by umul_ppmm but never used.
27899 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27900 variables, which are set by GMP macros but never used.
27901 * stdio-common/_itowa.c (_itowa): Likewise.
27902 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27903 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27905 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27907 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27908 struct La_sh_regs is not constant.
27909 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27910 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27911 and struct La_sparc64_regs are not constant.
27913 2012-08-16 Joseph Myers <joseph@codesourcery.com>
27915 * sysdeps/unix/sysv/linux/kernel-features.h
27916 (__ASSUME_POSIX_TIMERS): Remove.
27917 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27918 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27919 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27920 Make code unconditional.
27921 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27922 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27923 Make code unconditional.
27924 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27925 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27926 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27927 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27928 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27929 Make code unconditional.
27930 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27931 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27932 (__libc_missing_posix_timers): Remove.
27934 2012-08-15 Roland McGrath <roland@hack.frob.com>
27936 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27937 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27939 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27941 * elf/dl-sym.c: Include <stdlib.h>.
27943 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27944 constants, which avoids warnings in 32-bit builds.
27946 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27947 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27949 * misc/lseek.c: File moved to ...
27950 * io/lseek.c: ... here.
27952 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27954 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27955 shifting LEN more than 31 bits at once.
27957 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27960 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27961 segmentation fault for a case of two empty input strings.
27962 * string/test-strncasecmp.c (check1): Renamed to...
27963 (bz12205): ...this.
27964 (bz14195): Add new testcase for two empty input strings and N > 0.
27965 (test_main): Call new testcase, adapt for renamed function.
27967 2012-08-15 Andreas Jaeger <aj@suse.de>
27970 * crypt/md5test2.c: New test, based on test supplied by Serge
27971 Belyshev <belyshev@depni.sinp.msu.ru>.
27972 * crypt/Makefile (xtests): Add md5test-giant..
27973 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27975 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27978 * crypt/md5.c (md5_process_block): Don't assume the buffer
27979 length is less than 2**32.
27980 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27981 length is less than 2**64.
27983 2012-08-15 Roland McGrath <roland@hack.frob.com>
27985 * string/str-two-way.h: Include <sys/param.h>.
27986 (MAX): Macro removed.
27988 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27989 Move #define and #undef of memmove to just before and after
27990 including <string.h>.
27992 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27993 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27994 and after including <string.h>. Move declarations of
27995 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27996 to before #include "string/memmove.c".
27998 * include/dirent.h: Declare __getdirentries.
28000 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28001 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28003 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28005 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28006 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28007 * sysdeps/i386/configure: Regenerated.
28008 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28009 STABS_CURRENT_FILE, and STABS_FUN.
28010 (END): Remove call to STABS_FUN_END.
28011 (STABS_CURRENT_FILE1): Delete.
28012 (STABS_CURRENT_FILE): Likewise.
28013 (STABS_FUN): Likewise.
28014 (STABS_FUN_END): Likewise.
28015 (STABS_FUN2): Likewise.
28016 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28017 * sysdeps/x86_64/configure: Regenerated.
28019 2012-08-14 Roland McGrath <roland@hack.frob.com>
28021 * elf/dl-open.c: Include <atomic.h>.
28022 * elf/dl-lookup.c: Likewise.
28024 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28026 * sysdeps/unix/sysv/linux/kernel-features.h
28027 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28028 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28030 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28032 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28033 condition on __ASSUME_CLONE_THREAD_FLAGS.
28035 2012-08-14 Andreas Jaeger <aj@suse.de>
28037 * sysdeps/i386/fpu/libm-test-ulps: Update.
28039 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28041 * include/atomic.h (atomic_exchange_and_add): Split into ...
28042 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28045 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28049 2012-08-13 Jeff Law <law@redhat.com>
28051 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28052 null byte in the output string.
28054 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28056 * sysdeps/unix/sysv/linux/kernel-features.h
28057 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28058 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28059 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28060 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28061 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28062 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28063 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28065 2012-08-09 Jeff Law <law@redhat.com>
28068 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28069 When avoid_arena is set, don't retry in the that arena. Pick the
28070 next one, whatever it might be.
28071 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28072 (arena_lock): Pass in new parameter to arena_get2.
28073 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28075 (__libc_malloc): Unify retrying after main arena failure with
28076 __libc_memalign version.
28077 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28079 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28082 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28083 to __redirect_strstr.
28084 (__strstr_sse42): Use typeof __redirect_strstr.
28085 (__strstr_ia32): Likewise.
28086 (__libc_strstr): New prototype.
28087 (strstr): Renamed to ...
28088 (__libc_strstr): This.
28089 (strstr): New strong alias of __libc_strstr.
28090 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28091 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28094 (__libc_time): New prototype.
28095 (time_ifunc): Replace time with __libc_time.
28096 (time): New strong alias and hidden definition of __libc_time.
28097 (__GI_time): Remove strong alias.
28098 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28099 Include <stddef.h>.
28100 (memmove): Redefined to __redirect_memmove.
28101 (__memmove_sse2): Use typeof __redirect_memmove.
28102 (__memmove_ssse3): Likewise.
28103 (__memmove_ssse3_back): Likewise.
28104 (__libc_memmove): New prototype.
28105 (memmove): Renamed to ...
28106 (__libc_memmove): This.
28107 (memmove): New strong alias of __libc_memmove.
28109 2012-08-08 Mark Salter <msalter@redhat.com>
28112 (R_MN10300_TLS_GD): Define.
28113 (R_MN10300_TLS_LD): Likewise.
28114 (R_MN10300_TLS_LDO): Likewise.
28115 (R_MN10300_TLS_GOTIE): Likewise.
28116 (R_MN10300_TLS_IE): Likewise.
28117 (R_MN10300_TLS_LE): Likewise.
28118 (R_MN10300_TLS_DTPMOD): Likewise.
28119 (R_MN10300_TLS_DTPOFF): Likewise.
28120 (R_MN10300_TLS_TPOFF): Likewise.
28121 (R_MN10300_SYM_DIFF): Likewise.
28122 (R_MN10300_ALIGN): Likewise.
28123 (R_MN10300_NUM): Update.
28125 2012-08-08 Joseph Myers <joseph@codesourcery.com>
28127 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28130 2012-08-08 Roland McGrath <roland@hack.frob.com>
28132 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28134 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28135 sysdeps/unix -> sysdeps/posix move.
28136 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28138 2012-08-07 Allan McRae <allan@archlinux.org>
28141 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28142 (SUNOS_CPP): Likewise.
28143 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28145 (open_input): Call CPP using execvp.
28147 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28149 * sysdeps/unix/sysv/linux/kernel-features.h
28150 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28151 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28152 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28153 (__ASSUME_WAITID_SYSCALL): Likewise.
28154 * sysdeps/unix/sysv/linux/dl-execstack.c
28155 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28156 code unconditional.
28157 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28159 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28160 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28161 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28163 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28165 [__ASSUME_WAITID_SYSCALL]: Likewise.
28166 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28168 2012-08-07 Roland McGrath <roland@hack.frob.com>
28170 * sysdeps/unix/closedir.c: Renamed to ...
28171 * sysdeps/posix/closedir.c: ... here.
28172 * sysdeps/unix/dirfd.c: Renamed to ...
28173 * sysdeps/posix/dirfd.c: ... here.
28174 * sysdeps/unix/dirstream.h: Renamed to ...
28175 * sysdeps/posix/dirstream.h: ... here.
28176 * sysdeps/unix/fdopendir.c: Renamed to ...
28177 * sysdeps/posix/fdopendir.c: ... here.
28178 * sysdeps/unix/opendir.c: Renamed to ...
28179 * sysdeps/posix/opendir.c: ... here.
28180 * sysdeps/unix/readdir.c: Renamed to ...
28181 * sysdeps/posix/readdir.c: ... here.
28182 * sysdeps/unix/readdir_r.c: Renamed to ...
28183 * sysdeps/posix/readdir_r.c: ... here.
28184 * sysdeps/unix/rewinddir.c: Renamed to ...
28185 * sysdeps/posix/rewinddir.c: ... here.
28186 * sysdeps/unix/seekdir.c: Renamed to ...
28187 * sysdeps/posix/seekdir.c: ... here.
28188 * sysdeps/unix/telldir.c: Renamed to ...
28189 * sysdeps/posix/telldir.c: ... here.
28190 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28191 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28192 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28193 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28195 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28196 * bits/fcntl.h: ... here.
28198 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28200 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28201 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28202 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28203 (struct flock): Move l_start, l_len to the beginning.
28204 Use __pid_t for l_pid.
28205 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28206 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28207 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28208 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28209 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28210 [__USE_LARGEFILE64] (struct flock64): New type.
28211 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28213 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28214 * bits/dirent.h: ... here.
28216 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28217 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28219 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28221 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28222 Change from 2.6.0 to 2.6.16.
28223 * sysdeps/unix/sysv/linux/configure: Regenerated.
28224 * sysdeps/unix/sysv/linux/kernel-features.h
28225 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28226 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28228 (__ASSUME_UTIMES): Likewise.
28229 (__ASSUME_CLONE_STOPPED): Remove.
28230 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28231 architectures, not kernel version.
28232 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28233 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28234 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28235 (__ASSUME_WAITID_SYSCALL): Likewise.
28236 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28237 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28238 * README: State 2.6.16 as minimum Linux kernel version. Do not
28239 refer to older versions.
28241 2012-08-06 Roland McGrath <roland@hack.frob.com>
28243 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28244 Define alphasort64 as an alias.
28245 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28246 Define versionsort64 as an alias.
28247 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28248 Define scandir64 as an alias.
28249 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28250 Define scandirat64 as an alias.
28251 * dirent/alphasort64.c (alphasort64):
28252 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28253 * dirent/versionsort64.c: Likewise.
28254 * dirent/scandir64.c: Likewise.
28255 * dirent/scandirat64.c: Likewise.
28256 * sysdeps/wordsize-64/alphasort.c: File removed.
28257 * sysdeps/wordsize-64/alphasort64.c: File removed.
28258 * sysdeps/wordsize-64/scandir.c: File removed.
28259 * sysdeps/wordsize-64/scandir64.c: File removed.
28260 * sysdeps/wordsize-64/scandirat.c: File removed.
28261 * sysdeps/wordsize-64/scandirat64.c: File removed.
28262 * sysdeps/wordsize-64/versionsort.c: File removed.
28263 * sysdeps/wordsize-64/versionsort64.c: File removed.
28264 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28265 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28266 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28267 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28268 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28269 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28270 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28271 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28273 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28274 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28275 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28276 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28277 [defined __arch64__ || defined __sparcv9]
28278 (__INO_T_MATCHES_INO64_T): New macro.
28279 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28280 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28281 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28282 * sysdeps/unix/sysv/linux/bits/dirent.h
28283 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28284 (_DIRENT_MATCHES_DIRENT64): New macro.
28286 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28287 Define lockf64 as an alias.
28288 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28289 Define fseeko64 as an alias.
28290 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28291 Define ftello64 as an alias.
28292 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28293 Define _IO_fgetpos64 and fgetpos64 as aliases.
28294 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28295 Define _IO_fsetpos64 and fsetpos64 as aliases.
28296 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28297 Conditionalize body on this.
28298 * libio/fseeko64.c: Likewise.
28299 * libio/ftello64.c: Likewise.
28300 * libio/iofgetpos64.c: Likewise.
28301 * libio/iofsetpos64.c: Likewise.
28302 * sysdeps/wordsize-64/lockf.c: File removed.
28303 * sysdeps/wordsize-64/lockf64.c: File removed.
28304 * sysdeps/wordsize-64/fseeko.c: File removed.
28305 * sysdeps/wordsize-64/fseeko64.c: File removed.
28306 * sysdeps/wordsize-64/ftello.c: File removed.
28307 * sysdeps/wordsize-64/ftello64.c: File removed.
28308 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28309 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28310 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28311 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28312 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28313 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28314 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28315 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28316 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28317 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28318 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28319 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28320 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28321 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28323 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28324 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28325 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28326 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28327 [defined __arch64__ || defined __sparcv9]
28328 (__OFF_T_MATCHES_OFF64_T): New macro.
28329 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28330 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28331 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28332 (__OFF_T_MATCHES_OFF64_T): New macro.
28334 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28336 * stdlib/secure-getenv.c (__secure_getenv): Replace
28337 GLIBC_2_16 with GLIBC_2_17.
28339 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28341 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28342 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28344 2012-08-03 David S. Miller <davem@davemloft.net>
28346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28348 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28350 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28352 (__ASSUME_CORRECT_SI_PID): Likewise.
28353 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28354 (__ASSUME_TMPFS_NAME): Likewise.
28355 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28356 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28357 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28358 (HAVE_AUX_SECURE): Make definition unconditional.
28359 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28360 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28362 2012-08-03 Roland McGrath <roland@hack.frob.com>
28364 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28365 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28366 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28367 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28368 __eloop_threshold instead of SYMLOOP_MAX.
28370 * sysdeps/generic/eloop-threshold.h: New file.
28371 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28373 * elf/chroot_canon.c (chroot_canon): Likewise.
28375 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28378 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28379 Change to 2.6.0 everywhere.
28380 * sysdeps/unix/sysv/linux/configure: Regenerated.
28381 * sysdeps/unix/sysv/linux/kernel-features.h
28382 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28383 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28385 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28386 (__ASSUME_FUTEX_REQUEUE): Remove.
28387 (__ASSUME_STATFS64): Define unconditionally.
28388 (__ASSUME_AT_SECURE): Likewise.
28389 (__ASSUME_CORRECT_SI_PID): Likewise.
28390 (__ASSUME_TGKILL): Define without depending on kernel version for
28392 (__ASSUME_UTIMES): Likewise.
28393 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28395 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28396 (__ASSUME_TMPFS_NAME): Likewise.
28397 * README: Update reference to Linux kernel versions.
28399 2012-08-02 Marek Polacek <polacek@redhat.com>
28402 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28403 libc_cv_asm_type_prefix with %.
28404 * configure: Regenerated.
28405 * include/libc-symbols.h: Remove comment about
28406 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28407 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28408 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28409 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28410 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28411 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28412 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28413 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28414 * elf/tst-unique2mod1.c: Likewise.
28415 * elf/tst-unique1mod2.c: Likewise.
28416 * elf/tst-unique1mod1.c: Likewise.
28417 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28418 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28419 Replace ASM_TYPE_DIRECTIVE with .type.
28420 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28421 * sysdeps/i386/sysdep.h: Likewise.
28422 * sysdeps/x86_64/sysdep.h: Likewise.
28423 * sysdeps/sh/sysdep.h: Likewise.
28424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28425 Do not define ASM_TYPE_DIRECTIVE.
28426 * sysdeps/powerpc/sysdep.h: Likewise.
28427 * sysdeps/powerpc/powerpc32/sysdep.h:
28428 Replace ASM_TYPE_DIRECTIVE with .type.
28429 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28430 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28431 * sysdeps/i386/fpu/e_powf.S: Likewise.
28432 * sysdeps/i386/fpu/e_expl.S: Likewise.
28433 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28434 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28435 * sysdeps/i386/fpu/e_pow.S: Likewise.
28436 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28437 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28438 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28439 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28440 * sysdeps/i386/fpu/e_log2.S: Likewise.
28441 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28442 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28443 * sysdeps/i386/fpu/e_powl.S: Likewise.
28444 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28445 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28446 * sysdeps/i386/fpu/e_logl.S: Likewise.
28447 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28448 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28449 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28450 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28451 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28452 * sysdeps/i386/fpu/e_log.S: Likewise.
28453 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28454 * sysdeps/i386/fpu/e_logf.S: Likewise.
28455 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28456 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28457 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28458 * sysdeps/i386/fpu/e_log10.S: Likewise.
28459 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28460 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28461 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28462 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28463 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28464 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28465 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28466 * sysdeps/i386/i686/strtok.S: Likewise.
28467 * sysdeps/i386/i386-mcount.S: Likewise.
28468 * sysdeps/i386/strtok.S: Likewise.
28469 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28470 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28471 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28472 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28473 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28474 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28475 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28476 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28477 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28478 * sysdeps/x86_64/_mcount.S: Likewise.
28479 * sysdeps/x86_64/strtok.S: Likewise.
28480 * sysdeps/sh/_mcount.S: Likewise.
28482 2012-08-01 Roland McGrath <roland@hack.frob.com>
28484 * libio/iofopen.c: Include <fcntl.h>.
28485 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28486 (_IO_fopen64, fopen64): Define as aliases.
28487 * libio/iofopen64.c: Include <fcntl.h>.
28488 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28489 Conditionalize body on this.
28490 * sysdeps/wordsize-64/iofopen.c: File removed.
28491 * sysdeps/wordsize-64/iofopen64.c: File removed.
28493 2012-08-01 Marek Polacek <polacek@redhat.com>
28495 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28496 Use dlfcn directly instead of a variable.
28497 (binfmt-subdir): Do not define.
28500 2012-08-01 Joseph Myers <joseph@codesourcery.com>
28502 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28503 Remove all definitions.
28504 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28505 <kernel-features.h>.
28506 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28507 (miss_F_GETOWN_EX): Remove all definitions.
28508 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28510 [!__ASSUME_FCNTL64]: Remove conditional code.
28511 [__ASSUME_FCNTL64]: Make code unconditional.
28512 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28513 <kernel-features.h>.
28514 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28515 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28516 (lockf64) [__NR_fcntl64]: Make code unconditional.
28517 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28519 * sysdeps/unix/sysv/linux/kernel-features.h
28520 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28521 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28522 Make code unconditional.
28523 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28524 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28526 [__NR_vfork]: Make code unconditional.
28527 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28528 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28530 [__NR_vfork]: Make code unconditional.
28531 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28532 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28534 2012-08-01 Roland McGrath <roland@hack.frob.com>
28536 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28537 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28539 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28540 Define mkstemp64 as an alias.
28541 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28542 Define mkstemps64 as an alias.
28543 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28544 Define mkostemp64 as an alias.
28545 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28546 Define mkostemps64 as an alias.
28547 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28548 Conditionalize body on this.
28549 * misc/mkostemp64.c: Likewise.
28550 * misc/mkostemps64.c: Likewise.
28551 * misc/mkstemps64.c: Likewise.
28552 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28553 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28554 * sysdeps/wordsize-64/mkostemp.c: File removed.
28555 * sysdeps/wordsize-64/mkstemp.c: File removed.
28556 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28557 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28558 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28559 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28562 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28563 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28564 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28565 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28567 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28568 compat_symbol macros from <shlib-compat.h> rather than the underlying
28569 default_symbol_version and symbol_version macros, so that DEFAULT
28570 lines in shlib-versions are respected.
28571 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28573 2012-08-01 Florian Weimer <fweimer@redhat.com>
28575 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28576 Declare with warn_unused_result.
28577 (setgid, setregid, setegid, setresgid): Likewise.
28578 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28580 * WUR-REPORT: Remove set*id functions.
28582 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28584 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28586 2012-07-31 Roland McGrath <roland@hack.frob.com>
28589 * include/sys/socket.h (__libc_accept, __libc_accept4):
28590 Add attribute_hidden.
28591 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28593 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28595 * inet/getnetgrent_r.c (setup): Likewise.
28597 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28599 2012-07-31 David S. Miller <davem@davemloft.net>
28601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28603 2012-07-31 Joseph Myers <joseph@codesourcery.com>
28606 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28607 value between 1.0 and 2.0 and smaller part has absolute value less
28609 * math/s_clog10.c (__clog10): Likewise.
28610 * math/s_clog10f.c (__clog10f): Likewise.
28611 * math/s_clog10l.c (__clog10l): Likewise.
28612 * math/s_clogf.c (__clogf): Likewise.
28613 * math/s_clogl.c (__clogl): Likewise.
28614 * math/libm-test.inc (clog_test): Add more tests.
28615 (clog10_test): Likewise.
28616 * sysdeps/i386/fpu/libm-test-ulps: Update.
28617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28619 2012-07-31 Florian Weimer <fweimer@redhat.com>
28621 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28622 Exit with zero in case no suitable GID is found, and write a
28623 message to standard error.
28625 2012-07-30 Roland McGrath <roland@hack.frob.com>
28627 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28629 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28630 (MAXPATHLEN): Removed.
28631 (NOGROUP, NODEV): New macros.
28632 (setbit, clrbit, isset, isclr): New macros.
28633 (howmany, roundup, powerof2): New macros.
28634 (DEV_BSIZE): New macro.
28636 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28637 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28639 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28640 definition on [!__NO_LONG_DOUBLE_MATH].
28642 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28643 PTR_MANGLE and PTR_DEMANGLE.
28645 * socket/accept4.c (accept4): Rename to __libc_accept4.
28646 Define accept4 as a weak alias.
28648 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28649 on [_DIRENT_HAVE_D_TYPE].
28650 * io/ftw.c (ftw_dir): Likewise.
28652 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28654 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28656 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28657 Use the BSD numbers rather than the arbitrary ones we had.
28658 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28659 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28660 (SIGXCPU, SIGXFSZ): New macros.
28663 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28664 initializer on [_LIBC_REENTRANT].
28666 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28667 definitions inside [_POSIX_MAPPED_FILES].
28669 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28671 * dirent/opendir.c: Include <fcntl.h>.
28673 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28674 (__libc_getspecific): Likewise.
28675 (__libc_key_create): Likewise.
28677 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28678 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28679 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28680 (tmpfile64): Define as alias.
28681 * sysdeps/wordsize-64/tmpfile.c: File removed.
28682 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28683 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28684 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28686 * stdio-common/vfscanf.c: Include <stdbool.h>.
28687 * nss/makedb.c: Likewise.
28688 * stdio-common/_i18n_number.h: Likewise.
28689 * argp/argp-help.c: Likewise.
28690 * posix/wordexp.c: Likewise.
28691 * sysdeps/posix/spawni.c: Likewise.
28692 * nss/nss_files/files-initgroups.c: Likewise.
28693 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28694 * nss/nss_files/files-initgroups.c: Likewise.
28695 * nss/nss_db/db-netgrp.c: Likewise.
28696 * nss/nss_db/db-initgroups.c: Likewise.
28697 * io/fchmodat.c: Include <sys/stat.h>.
28699 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28700 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28702 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28705 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28706 Add multiple inclusion protection.
28708 2012-07-27 David S. Miller <davem@davemloft.net>
28710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28712 2012-07-27 Gary Benson <gbenson@redhat.com>
28715 * elf/rtld.c: Include <stap-probe.h>.
28716 (dl_main): Added static probes "init_start" and "init_complete".
28717 * elf/dl-load.c: Include <stap-probe.h>.
28718 (lose): Take new parameter "nsid".
28719 Added static probe "map_failed".
28720 (_dl_map_object_from_fd): Pass namespace id to lose.
28721 Added static probe "map_start".
28722 (open_verify): Pass namespace id to lose.
28723 * elf/dl-open.c: Include <stap-probe.h>.
28724 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28725 and "reloc_complete".
28726 * elf/dl-close.c: Include <stap-probe.h>.
28727 (_dl_close_worker): Added static probes "unmap_start" and
28729 * elf/rtld-debugger-interface.txt: New file documenting the above.
28731 2012-07-26 Roland McGrath <roland@hack.frob.com>
28733 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28734 rather than a string variable.
28735 * sunrpc/rpc_main.c (h_output): Likewise.
28736 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28738 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28740 * inet/check_native.c: New file.
28742 2012-07-26 Joseph Myers <joseph@codesourcery.com>
28745 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28746 if larger part has absolute value 1.0.
28747 * math/s_clog10.c (__clog10): Likewise.
28748 * math/s_clog10f.c (__clog10f): Likewise.
28749 * math/s_clog10l.c (__clog10l): Likewise.
28750 * math/s_clogf.c (__clogf): Likewise.
28751 * math/s_clogl.c (__clogl): Likewise.
28752 * math/libm-test.inc (clog_test): Add more tests.
28753 (clog10_test): Likewise.
28754 * sysdeps/i386/fpu/libm-test-ulps: Update.
28755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28757 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28758 (pltexit): Likewise.
28759 (La_regs): Likewise.
28760 (La_retval): Likewise.
28761 (int_retval): Likewise.
28762 Update #error for removed macros to refer only to definitions in
28764 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28766 (pltexit): Likewise.
28767 (La_regs): Likewise.
28768 (La_retval): Likewise.
28769 (int_retval): Likewise.
28770 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28772 (pltexit): Likewise.
28773 (La_regs): Likewise.
28774 (La_retval): Likewise.
28775 (int_retval): Likewise.
28776 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28778 (pltexit): Likewise.
28779 (La_regs): Likewise.
28780 (La_retval): Likewise.
28781 (int_retval): Likewise.
28782 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28784 (pltexit): Likewise.
28785 (La_regs): Likewise.
28786 (La_retval): Likewise.
28787 (int_retval): Likewise.
28788 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28790 (pltexit): Likewise.
28791 (La_regs): Likewise.
28792 (La_retval): Likewise.
28793 (int_retval): Likewise.
28794 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28796 (pltexit): Likewise.
28797 (La_regs): Likewise.
28798 (La_retval): Likewise.
28799 (int_retval): Likewise.
28800 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28801 macro definitions in tst-audit.h.
28802 * sysdeps/i386/tst-audit.h: New file.
28803 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28804 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28805 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28806 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28807 * sysdeps/sh/tst-audit.h: Likewise.
28808 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28809 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28810 * sysdeps/x86_64/tst-audit.h: Likewise.
28812 2012-07-26 Andreas Jaeger <aj@suse.de>
28814 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28817 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28818 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28819 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28821 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28822 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28823 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28825 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28828 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28830 (si_call_addr, si_syscall, si_arch): Define new macro.
28831 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28833 (si_call_addr, si_syscall, si_arch): Define new marcro.
28834 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28836 (si_call_addr, si_syscall, si_arch): Define new macro.
28837 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28839 (si_call_addr, si_syscall, si_arch): Define new macro.
28841 2012-07-25 Joseph Myers <joseph@codesourcery.com>
28844 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28845 Change to 2.4.21 where previously 2.4.1.
28846 * sysdeps/unix/sysv/linux/configure: Regenerated.
28847 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28848 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28849 Linux kernel version.
28850 (__ASSUME_STD_AUXV): Remove.
28851 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28853 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28854 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28855 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28856 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28857 (__ASSUME_NETLINK_SUPPORT): Likewise.
28858 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28859 (__no_netlink_support): Remove conditional definition.
28860 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28862 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28863 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28864 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28865 (if_nameindex_ioctl): Remove.
28866 (if_nameindex_netlink): Do not handle __no_netlink_support.
28867 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28869 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28870 Remove conditional code.
28871 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28873 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28875 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28876 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28877 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28879 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28880 [!__ASSUME_STD_AUXV]: Remove conditional code.
28881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28882 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28883 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28885 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28886 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28888 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28890 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28891 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28893 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28895 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28898 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28901 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28902 code unconditional.
28903 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28905 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28907 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28910 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28912 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28915 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28916 code unconditional.
28917 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28919 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28921 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28924 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28925 code unconditional.
28926 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28928 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28930 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28933 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28935 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28936 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28937 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28938 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28939 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28940 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28941 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28942 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28943 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28944 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28945 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28946 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28947 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28948 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28949 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28950 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28951 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28952 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28953 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28955 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28956 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28957 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28959 2012-07-25 Florian Weimer <fweimer@redhat.com>
28961 * Versions.def: Add GLIBC_2.17.
28962 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28963 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28964 Introduce __libc_secure_getenv.
28965 * stdlib/Versions (2.17): Add secure_getenv
28966 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28967 * stdlib/secure-getenv.c: Rename __secure_getenv to
28968 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28969 symbol __secure_getenv for GLIBC_2.0.
28970 * stdlib/tst-secure-getenv.c: New.
28971 * stdlib/Makefile (tests): Add testcase.
28972 * manual/startup.texi (Environment Access): Document
28974 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28975 __libc_secure_getenv.
28976 * inet/ruserpass.c (ruserpass): Likewise.
28977 * malloc/mtrace.c (mtrace): Likewise.
28978 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
28979 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28980 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28981 * sysdeps/posix/tempname.c: Likewise. Evaluate
28982 HAVE_SECURE_GETENV.
28983 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
28984 __secure_getenv to __libc_secure_getenv.
28985 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
28986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28992 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28998 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29000 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29001 (struct La_i86_retval): Likewise.
29002 (struct La_x86_64_regs): Likewise.
29003 (struct La_x86_64_retval): Likewise.
29004 (struct La_x32_regs): Likewise.
29005 (struct La_x32_retval): Likewise.
29006 (struct La_ppc32_regs): Likewise.
29007 (struct La_ppc32_retval): Likewise.
29008 (struct La_ppc64_regs): Likewise.
29009 (struct La_ppc64_retval): Likewise.
29010 (struct La_sh_regs): Likewise.
29011 (struct La_sh_retval): Likewise.
29012 (struct La_s390_32_regs): Likewise.
29013 (struct La_s390_32_retval): Likewise.
29014 (struct La_s390_64_regs): Likewise.
29015 (struct La_s390_64_retval): Likewise.
29016 (struct La_sparc32_regs): Likewise.
29017 (struct La_sparc32_retval): Likewise.
29018 (struct La_sparc64_regs): Likewise.
29019 (struct La_sparc64_retval): Likewise.
29020 (struct audit_ifaces): Remove architecture-specific pltenter and
29022 * sysdeps/i386/ldsodefs.h: New file.
29023 * sysdeps/powerpc/ldsodefs.h: Likewise.
29024 * sysdeps/s390/ldsodefs.h: Likewise.
29025 * sysdeps/sh/ldsodefs.h: Likewise.
29026 * sysdeps/sparc/ldsodefs.h: Likewise.
29027 * sysdeps/x86_64/ldsodefs.h: Likewise.
29029 2012-07-25 Marek Polacek <polacek@redhat.com>
29032 * math/libm-test.inc (yn_test): Add another test.
29033 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29034 to ERANGE when the result is +-Inf.
29035 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29036 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29037 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29038 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29040 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29042 * conform/data/time.h-data (NULL): Use macro-constant. Require
29044 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29046 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29048 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29050 * configure.in <sysdeps resolving>: Correct printing
29052 * configure: Regenerate.
29054 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29056 * math/w_ilogb.c: Include <limits.h>.
29057 * math/w_ilogbl.c: Likewise.
29059 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29061 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29062 va_copy. Document allowing for unavailable va_copy only as
29063 pre-C99 compatibility.
29064 * manual/string.texi (Copying and Concatenation): Use va_copy
29065 instead of __va_copy in concat example.
29067 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29069 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29070 (__sendto): Use create_address_port. Initialize APORT and deallocate
29073 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29074 with O_NOLINK passed to __file_name_lookup.
29076 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29077 with O_NOLINK passed to __file_name_lookup.
29079 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29080 negative N or less than NGIDS.
29082 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29083 type to string_t. Set ERANGE as errno and return it if NAME is not big
29084 enough. Use memcpy instead of strncpy.
29086 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29088 * elf/Makefile (check-data): Remove.
29089 (localplt.data): New vpath directive.
29090 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29091 instead of $(check-data).
29092 * scripts/data/localplt-generic.data: Move to ...
29093 * sysdeps/generic/localplt.data: ... here.
29094 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29095 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29096 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29099 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29102 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29105 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29108 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29111 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29115 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29117 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29118 PPC32 and PPC64 files.
29119 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29120 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29122 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29124 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29125 __makecontext_ret to ...
29126 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29127 ... here and call exit if uc_link is NULL. New file.
29128 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29129 __makecontext_ret.S.
29130 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29131 __makecontext_ret to ...
29132 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29133 ... here and call exit if uc_link is NULL. New file.
29134 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29135 __makecontext_ret.S.
29137 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29139 * elf/elf.h (R_390_IRELATIVE): New definition.
29140 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29141 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29142 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29143 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29144 (elf_machine_lazy_rel): Likewise.
29145 * sysdeps/s390/dl-irel.h: New file.
29146 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29147 * sysdeps/s390/s390-64/memset.S: New asm code.
29148 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29149 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29150 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29151 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29152 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29153 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29154 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29155 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29156 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29157 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29158 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29159 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29160 * sysdeps/s390/s390-32/memset.S: New asm code.
29161 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29163 2012-07-17 Marek Polacek <polacek@redhat.com>
29166 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29167 * sysdeps/s390/s390-64/configure.in: Likewise.
29168 * sysdeps/sparc/configure.in: Likewise.
29169 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29170 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29171 * sysdeps/i386/configure.in: Likewise.
29172 * sysdeps/x86_64/configure.in: Likewise.
29173 * sysdeps/sh/configure.in: Likewise.
29174 * sysdeps/s390/s390-32/configure: Regenerated.
29175 * sysdeps/s390/s390-64/configure: Likewise.
29176 * sysdeps/x86_64/configure: Likewise.
29177 * sysdeps/sh/configure: Likewise.
29178 * sysdeps/powerpc/powerpc64/configure: Likewise.
29179 * sysdeps/powerpc/powerpc32/configure: Likewise.
29180 * sysdeps/sparc/configure: Likwise.
29181 * sysdeps/i386/configure: Likewise.
29183 * elf/dl-open.c: Comment fixes.
29185 2012-07-17 Joseph Myers <joseph@codesourcery.com>
29187 * Makefile [CXX] (check-data): Remove.
29188 [CXX] (c++-types.data): New vpath directive.
29189 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29190 vpath. Do not allow for C++ type data being missing.
29191 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29192 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29193 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29194 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29195 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29196 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29197 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29200 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29203 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29206 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29209 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29212 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29215 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29218 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29221 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29222 definitions to architecture-specific files.
29223 (TLS_IE): Likewise.
29224 (TLS_LD): Likewise.
29225 (TLS_GD): Likewise.
29226 * sysdeps/i386/tls-macros.h: New file.
29227 * sysdeps/powerpc/tls-macros.h: Likewise.
29228 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29229 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29230 * sysdeps/sh/tls-macros.h: Likewise.
29231 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29232 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29233 * sysdeps/x86_64/tls-macros.h: Likewise.
29235 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29237 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29238 zero value for regular exit case.
29240 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29241 (__start_context): Preserve zero value for regular exit case.
29243 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29244 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29246 * manual/setjmp.texi (setcontext): Clarify normal process
29247 termination when uc_link is the null pointer.
29248 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29251 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29253 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29254 preprocessor. Test for each exception mask separately.
29256 2012-07-16 Andreas Jaeger <aj@suse.de>
29258 * po/ru.po: Update from translation team.
29260 2012-07-15 Joseph Myers <joseph@codesourcery.com>
29262 * conform/data/string.h-data (NULL): Use macro-constant. Require
29264 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29265 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29266 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29267 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29270 2012-07-13 Andreas Jaeger <aj@suse.de>
29272 * po/fr.po: Update from translation team.
29274 2012-07-12 Marek Polacek <polacek@redhat.com>
29277 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29278 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29281 2012-07-12 Joseph Myers <joseph@codesourcery.com>
29284 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29285 Change to 2.4.1 where previously 2.4.0.
29286 * sysdeps/unix/sysv/linux/configure: Regenerated.
29287 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29288 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29290 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29291 (__ASSUME_AT_CLKTCK): Remove.
29292 (__ASSUME_AT_PAGESIZE): Likewise.
29293 (__ASSUME_AT_XID): Likewise.
29294 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29295 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29296 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29298 (HAVE_AUX_PAGESIZE): Likewise.
29299 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29300 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29301 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29303 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29307 the temporary buffer used to invoke __gethostbyname2_r,
29308 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29309 host_data / struct gaih_addrtuple.
29310 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29311 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29312 header file nss/nsswitch.h.
29313 * nss/nsswitch.h (global scope): Add definition of implementation
29314 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29315 resolv/nss_dns/dns-host.c).
29317 2012-07-11 Andreas Jaeger <aj@suse.de>
29319 * po/fr.po: Update from translation team.
29321 * po/sv.po: Update from translation team
29322 * po/fr.po: Another update from translation team.
29324 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29326 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29327 for subnormals or multiply small sinh result by itself.
29328 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29331 2012-07-11 David S. Miller <davem@davemloft.net>
29333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29335 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29338 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29339 (INTERNAL_MARK): Shift it here.
29341 2012-07-10 Marek Polacek <polacek@redhat.com>
29344 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29345 libc_cv_asm_global_directive with .globl.
29346 * configure: Regenerated.
29347 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29349 * sysdeps/i386/configure: Regenerated.
29350 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29352 * sysdeps/x86_64/configure: Regenerated.
29353 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29354 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29355 * elf/tst-unique2mod2.c: Likewise.
29356 * elf/tst-unique2mod1.c: Likewise.
29357 * elf/tst-unique1mod2.c: Likewise.
29358 * elf/tst-unique1mod1.c: Likewise.
29359 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29360 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29361 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29362 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29363 * sysdeps/mach/sysdep.h: Likewise.
29364 * sysdeps/i386/sysdep.h: Likewise.
29365 * sysdeps/i386/i386-mcount.S: Likewise.
29366 * sysdeps/x86_64/_mcount.S: Likewise.
29367 * sysdeps/x86_64/sysdep.h: Likewise.
29368 * sysdeps/sh/_mcount.S: Likewise.
29369 * sysdeps/sh/sysdep.h: Likewise.
29370 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29371 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29372 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29373 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29374 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29375 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29376 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29377 * locale/localeinfo.h: Likewise.
29378 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29379 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29381 2012-07-09 Roland McGrath <roland@hack.frob.com>
29384 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29386 * manual/message.texi (The Uniforum approach): Likewise.
29387 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29388 (glibc iconv Implementation): Likewise.
29390 2012-07-09 Joseph Myers <joseph@codesourcery.com>
29393 * math/s_clog.c (__clog): Avoid scaling a value down where that
29394 could result in underflow.
29395 * math/s_clog10.c (__clog10): Likewise.
29396 * math/s_clog10f.c (__clog10f): Likewise.
29397 * math/s_clog10l.c (__clog10l): Likewise.
29398 * math/s_clogf.c (__clogf): Likewise.
29399 * math/s_clogl.c (__clogl): Likewise.
29400 * math/libm-test.inc (clog_test): Add more tests.
29401 (clog10_test): Likewise.
29402 * sysdeps/i386/fpu/libm-test-ulps: Update.
29403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29405 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29408 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29409 by 7 not 8 to examine high bit of fractional part.
29412 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29413 for call to __mcount_internal.
29414 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29415 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29416 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29418 2012-07-06 Joseph Myers <joseph@codesourcery.com>
29421 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29422 approximation for values within 0x1p-13f of an odd multiple of
29424 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29425 exception. Add more tests.
29426 * sysdeps/i386/fpu/libm-test-ulps: Update.
29429 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29430 inputs and return -1 for them. Do not check for +Inf in case not
29431 reachable for +Inf.
29432 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29433 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29434 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29435 and return -1 for them. Do not check for +Inf in case not
29436 reachable for +Inf.
29437 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29439 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29440 and return -1 for them. Do not check for +Inf in case not
29441 reachable for +Inf.
29442 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29443 spurious underflow.
29444 * sysdeps/i386/fpu/libm-test-ulps: Update.
29445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29447 2012-07-06 Mike Frysinger <vapier@gentoo.org>
29449 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29451 2012-07-05 Joseph Myers <joseph@codesourcery.com>
29455 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29456 could result in spurious underflow. Scale down values above
29457 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29458 * math/s_csqrtf.c (__csqrtf): Likewise.
29459 * math/s_csqrtl.c (__csqrtl): Likewise.
29460 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29461 spurious underflow.
29462 * sysdeps/i386/fpu/libm-test-ulps: Update.
29463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29465 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29467 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29469 * catgets/xopen-msg.awk: New file.
29470 * catgets/xopen-msg.sed: Removed.
29472 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29474 * intl/po2test.awk: New file.
29475 * intl/po2test.sed: Removed.
29477 2012-07-04 Joseph Myers <joseph@codesourcery.com>
29480 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29481 or multiply small sinh result by itself.
29482 * math/s_ctanf.c (__ctanf): Likewise.
29483 * math/s_ctanh.c (__ctanh): Likewise.
29484 * math/s_ctanhf.c (__ctanhf): Likewise.
29485 * math/s_ctanhl.c (__ctanhl): Likewise.
29486 * math/s_ctanl.c (__ctanl): Likewise.
29487 * math/libm-test.inc (ctan_test_tonearest): New function.
29488 (ctan_test_towardzero): Likewise.
29489 (ctan_test_downward): Likewise.
29490 (ctan_test_upward): Likewise.
29491 (ctanh_test_tonearest): Likewise.
29492 (ctanh_test_towardzero): Likewise.
29493 (ctanh_test_downward): Likewise.
29494 (ctanh_test_upward): Likewise.
29495 (main): Call these new functions.
29496 * sysdeps/i386/fpu/libm-test-ulps: Update.
29497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29499 2012-07-03 Mike Frysinger <vapier@gentoo.org>
29501 * .gitignore: Delete /ports entry.
29503 2012-07-03 Andreas Jaeger <aj@suse.de>
29505 * po/bg.po: Update from translation team.
29506 * po/cs.po: Likewise.
29507 * po/de.po: Likewise.
29508 * po/hr.po: Likewise.
29509 * po/nl.pl: Likewise.
29510 * po/pl.po: Likewise.
29511 * po/vi.po: Likewise.
29513 2012-07-03 Joseph Myers <joseph@codesourcery.com>
29515 * Makeconfig [!+link] (+link-before-libc): New variable.
29516 [!+link] (+link-after-libc): Likewise.
29517 [!+link] (+link-tests): Likewise.
29518 [!+link] (+link): Define in terms of $(+link-before-libc) and
29519 $(+link-after-libc).
29520 [!+link-static] (+link-static-before-libc): New variable.
29521 [!+link-static] (+link-static-after-libc): Likewise.
29522 [!+link-static] (+link-static-tests): Likewise.
29523 [!+link-static] (+link-static): Define in terms of
29524 $(+link-static-before-libc) and $(+link-static-after-libc).
29525 [build-shared] (link-libc-before-gnulib): New variable.
29526 [build-shared] (link-libc-tests): Likewise.
29527 [build-shared] (link-libc): Define in terms of
29528 $(link-libc-before-gnulib).
29529 [!build-shared] (link-libc-tests): New variable.
29530 (link-libc-static-tests): New variable.
29531 [!gnulib] (gnulib-arch): New variable.
29532 [!gnulib] (gnulib-tests): Likewise.
29533 [!gnulib] (static-gnulib-arch): Likewise.
29534 [!gnulib] (static-gnulib-tests): Likewise.
29535 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29536 Define with "=" instead of ":=".
29537 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29538 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29539 * Rules (binaries-all-notests): New variable.
29540 (binaries-all-tests): Likewise.
29541 (binaries-static-notests): Likewise.
29542 (binaries-static-tests): Likewise.
29543 (binaries-all): Define using $(binaries-all-notests) and
29544 $(binaries-all-tests).
29545 (binaries-static): Define using $(binaries-static-notests) and
29546 $(binaries-static-tests).
29547 (binaries-shared-tests): New variable.
29548 (binaries-shared-notests): Likewise.
29549 (binaries-shared): Remove variable.
29550 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29551 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29552 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29553 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29554 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29555 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29556 * elf/Makefile (sln-modules): New variable.
29557 (extra-objs): Add $(sln-modules:=.o).
29558 (ldconfig-modules): Add static-stubs.
29559 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29560 * elf/static-stubs.c: New file.
29563 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29564 by 7 not 8 to examine high bit of fractional part. Use volatile
29565 variables when splitting into final array of floats if
29566 __FLT_EVAL_METHOD__ != 0.
29567 * math/libm-test.inc (cos_test): Add another test.
29568 (sin_test): Likewise.
29569 * sysdeps/i386/fpu/libm-test-ulps: Update.
29572 * math/libm-test.inc (cosh_test): Add more tests.
29574 * version.h (RELEASE): Set to "development".
29575 (VERSION): Set to "2.16.90".
29577 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29579 * NEWS: Update copyright. Remove last-updated date.
29580 Mention math library bug fixes and timezone data changes.
29581 * README: Mention GNU/Hurd, x32, and HPPA support status.
29583 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29585 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29587 2012-06-27 Andreas Jaeger <aj@suse.de>
29589 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29591 2012-06-25 Andreas Jaeger <aj@suse.de>
29593 * sysdeps/s390/fpu/libm-test-ulps: Update.
29595 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29596 Thomas Schwinge <thomas@codesourcery.com>
29598 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29599 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29600 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29603 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29605 * sysdeps/mach/start.c: Remove file.
29606 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29607 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29608 * sysdeps/sh/init-first.c: Likewise.
29610 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29611 registers for frame unwinding purposes, add CFI directives.
29612 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29613 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29614 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29617 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29618 __fortify_fail returning.
29619 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29621 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29622 sysdeps/sh/____longjmp_chk.S.
29623 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29624 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29625 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29626 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29628 * sysdeps/sh/abort-instr.h: New file.
29629 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29630 process in case exit returns.
29632 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29633 initialize the GOT register before use.
29635 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29636 calculation of ARGC > 4.
29638 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29639 meaningful names to some local labels.
29641 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29642 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29644 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29645 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29646 (__arch_compare_and_exchange_val_16_acq): Likewise.
29647 (__arch_compare_and_exchange_val_32_acq): Likewise.
29648 (atomic_exchange_and_add): Fix gUSA sequence.
29649 (atomic_add): Likewise.
29650 (atomic_add_negative): Likewise.
29651 (atomic_add_zero): Likewise.
29652 (atomic_bit_test_set): Likewise.
29654 2012-06-22 Andreas Schwab <schwab@redhat.com>
29657 * include/link.h (struct link_map): Add l_free_initfini.
29658 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29660 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29661 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29662 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29665 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29667 * configure.in: Use AC_LANG_SOURCE.
29668 * configure: Regenerate.
29670 2012-06-22 Roland McGrath <roland@hack.frob.com>
29672 * configure.in (libc_cv_localstatedir): New substituted variable.
29673 * configure: Regenerated.
29674 * config.make.in (localstatedir): New variable, substituted from
29675 libc_cv_localstatedir.
29676 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29677 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29678 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29679 * sysdeps/gnu/configure: Regenerated.
29681 2012-06-21 Jeff Law <law@redhat.com>
29684 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29685 free. Simplify list management for _LIBC case.
29687 2012-06-21 Joseph Myers <joseph@codesourcery.com>
29690 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29691 Clear sign bit of 64-bit integer value before comparing against
29694 * sysdeps/mach/configure: Regenerated.
29696 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29699 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29701 2012-06-21 Jeff Law <law@redhat.com>
29704 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29705 uint16_t for elements in the "seen" array to avoid char overflows.
29706 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29707 * elf/dl-open.c (dl_open_worker): Likewise.
29709 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29711 * scripts/list-sources.sh: Scan PORTS for translations.
29712 * po/libc.pot: Regenerated.
29714 2012-06-21 Andreas Jaeger <aj@suse.de>
29717 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29719 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29720 * bits/byteswap-16.h (__bswap_16): Likewise.
29721 * bits/byteswap.h (__bswap_constant_16): Likewise.
29723 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29726 * sysdeps/i386/fpu_control.h: Removed.
29727 * sysdeps/x86_64/fpu_control.h: Moved to ...
29728 * sysdeps/x86/fpu_control.h: Here.
29730 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29731 (_FPU_SETCW): Likewise.
29733 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29736 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29737 * sysdeps/x86/fpu/bits/mathinline.h: This.
29738 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29742 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29743 functions if __x86_64__ is defined.
29745 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29747 * string/endian.h: Add !__ASSEMBLER__ condition for including
29748 conversion interfaces.
29750 2012-06-15 Joseph Myers <joseph@codesourcery.com>
29753 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29754 of ABS(x) in calculating zero to negative powers other than odd
29756 * math/libm-test.inc (pow_test): Add more tests.
29758 2012-06-15 Andreas Jaeger <aj@suse.de>
29760 * manual/contrib.texi (Contributors): Update entry of Liubov
29761 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29764 2012-06-15 Cyril Hrubis <metan@ucw.cz>
29766 * string/string.h: Add __wur to GNU version of strerror_r.
29768 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29771 * string/Makefile (tests): Add tst-strtok_r.
29772 * string/tst-strtok_r.c: New file.
29773 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29774 RAX_LP/RDX_LP on SAVE_PTR.
29776 2012-06-14 Roland McGrath <roland@hack.frob.com>
29778 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29780 2012-06-14 Joseph Myers <joseph@codesourcery.com>
29782 * libm_test.inc (csqrt_test): Allow more spurious underflow
29784 (j0_test): Likewise.
29785 (j1_test): Likewise.
29786 (y0_test): Likewise.
29787 (y1_test): Likewise.
29789 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29791 * po/Makefile (libc.pot): Use UTF-8 charset.
29793 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29796 Suppress sign-conversion warning from FD_SET.
29797 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29798 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29799 not unsigned long int.
29800 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29802 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29806 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29807 __extern_always_inline instead of __extern_inline.
29808 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29809 (__signbit): Likewise.
29810 (__signbitl): Support C++ namespace.
29811 (lrintf): New inline function.
29813 (llrintf): Likewise.
29814 (llrint): Likewise.
29824 (floorf): Likewise.
29825 (nearbyint): Likewise.
29826 (nearbyintf): Likewise.
29828 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29830 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29831 non-default versions.
29833 2012-06-11 Roland McGrath <roland@hack.frob.com>
29836 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29838 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29840 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29841 (FE_UPWARD, FE_DOWNWARD): Don't define.
29842 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29843 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29845 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29847 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29848 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29850 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29852 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29853 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29854 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29855 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29857 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29860 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29861 * sysdeps/i386/fpu/Implies: New file.
29862 * sysdeps/x86_64/fpu/Implies: Likewise.
29863 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29864 * sysdeps/x86/fpu/bits/fenv.h: This.
29866 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29869 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29872 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29873 character 0xffff that matches the last element of the
29876 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29878 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29881 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29883 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29884 values higher than 25.6283.
29886 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29888 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29889 subnormal exponent extraction and add some __builtin_expect.
29890 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29891 Fix for subnormal mantissa calculation.
29893 2012-06-04 Mike Frysinger <vapier@gentoo.org>
29895 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29896 cpu2 is -1 and errno is not ENOSYS.
29898 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29901 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29902 * sysdeps/x86/bits/string.h: This.
29903 * sysdeps/x86_64/bits/string.h: Removed.
29905 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29906 if not compiling for x86-64, but compiling for >= i486.
29908 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29909 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29911 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29912 New macro from Linux kernel 3.4.0.
29913 (FP_XSTATE_MAGIC2): Likewise.
29914 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29915 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29916 (struct _fpx_sw_bytes): New struct.
29917 (struct _xsave_hdr): Likewise.
29918 (struct _ymmh_state): Likewise.
29919 (struct _xstate): Likewise.
29921 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29922 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29923 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29924 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29925 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29926 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29928 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29929 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29930 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29931 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29932 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29933 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29935 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29938 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29939 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29940 (sysdep_headers): Include sys/platform/ppc.h.
29941 * sysdeps/powerpc/test-gettimebase.c: Test for
29942 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29943 * manual/Makefile (appendices): Include platform.texi.
29944 * manual/contrib.texi (Contributors): Update @node pointers.
29945 * manual/maint.texi (Maintenance): Likewise.
29946 (Platform): New node.
29947 * manual/platform.texi: New file. Document the new features.
29949 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29950 Jakub Jelinek <jakub@redhat.com>
29953 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29954 where __builtin_expect is unavailable.
29956 2012-06-03 David S. Miller <davem@davemloft.net>
29958 * stdlib/longlong.h: Updated from GCC.
29960 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29963 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29964 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29967 (GLIBC_2.16): Likewise.
29969 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29971 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29973 2012-06-01 Joseph Myers <joseph@codesourcery.com>
29975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29976 (default-abi): New variable.
29977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29978 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29980 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29982 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29984 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29987 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29988 definition. Document in comment.
29990 2012-06-01 David S. Miller <davem@davemloft.net>
29992 * stdlib/longlong.h: Updated from GCC.
29994 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29997 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29998 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29999 sys/debugreg.h sys/io.h here.
30000 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30001 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30003 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30004 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30005 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30006 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30007 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30008 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30010 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30011 Define only if __x86_64__ is defined.
30013 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30016 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30017 Use int64_t for variable i.
30018 * math/libm-test.inc (fmod_test): Add more tests.
30020 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30021 z computation is not scheduled after fetestexcept.
30022 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30023 Use math_force_eval instead of asm to ensure calculation scheduled
30024 before exception test.
30025 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30026 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30028 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30031 computation is not scheduled after fetestexcept.
30033 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30036 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30037 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30039 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30041 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30042 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30044 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30047 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30049 (__WCHAR_MIN): Support __WORDSIZE == 64.
30050 (__WCHAR_MAX): Likewise.
30052 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30053 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30056 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30057 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30060 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30061 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30063 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30064 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30066 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30067 Defined to 1 if __x86_64__ isn't defined.
30068 (_STAT_VER_LINUX_OLD): New.
30069 (st_atime): Remove duplicate.
30070 (st_mtime): Likewise.
30071 (st_ctime): Likewise.
30073 2012-05-31 David S. Miller <davem@davemloft.net>
30075 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30078 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30080 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30084 * elf/dl-reloc.c: Include <_itoa.h>.
30085 (_dl_reloc_bad_type): Remove use of INTUSE.
30086 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30087 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30088 * stdio-common/psiginfo.c (psiginfo): Likewise.
30089 * stdio-common/psignal.c (psignal): Likewise.
30090 * string/strsignal.c (strsignal): Likewise.
30091 * include/signal.h (_sys_siglist): Declare hidden proto.
30092 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30093 INTVARDEF with libc_hidden_data_def.
30094 * stdio-common/itoa-udigits.c: Likewise.
30095 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30096 (_itoa_lower_digits_internal): Remove declaration.
30097 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30098 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30099 (_sys_sigabbrev_internal): Remove aliases.
30100 (_sys_siglist): Define hidden alias.
30102 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30104 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30107 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30110 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30111 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30113 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30114 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30115 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30116 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30117 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30118 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30120 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30121 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30122 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30124 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30132 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30133 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30134 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30136 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30137 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30138 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30139 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30140 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30141 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30143 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30144 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30146 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30147 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30149 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30150 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30151 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30153 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30154 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30156 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30158 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30159 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30160 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30162 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30164 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30166 2012-05-31 Joseph Myers <joseph@codesourcery.com>
30168 * math/math.h (M_El): Use two more decimal places.
30169 (M_LOG2El): Likewise.
30170 (M_LOG10El): Likewise.
30171 (M_LN2l): Likewise.
30172 (M_LN10l): Likewise.
30174 (M_PI_2l): Likewise.
30175 (M_PI_4l): Likewise.
30176 (M_1_PIl): Likewise.
30177 (M_2_PIl): Likewise.
30178 (M_2_SQRTPIl): Likewise.
30179 (M_SQRT2l): Likewise.
30180 (M_SQRT1_2l): Likewise.
30182 2012-05-31 David S. Miller <davem@davemloft.net>
30184 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30185 values between float registers.
30186 * sysdeps/sparc/sparc64/memset.S: Likewise.
30187 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30189 2012-05-31 Mike Frysinger <vapier@gentoo.org>
30191 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30192 -D_FORTIFY_SOURCE=1.
30193 (CPPFLAGS-tst-longjmp_chk.c): Define.
30194 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30195 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30196 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30197 CFLAGS-tst-wchar-h.c.
30199 2012-05-31 Marek Polacek <polacek@redhat.com>
30202 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30203 __endmntent_internal): Remove declaration.
30204 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30205 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30206 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30208 2012-05-30 David S. Miller <davem@davemloft.net>
30210 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30211 (___Q_simulate_exceptions): Use real FP ops rather than writing
30213 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30216 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30219 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30220 * sysdeps/x86/bits/xtitypes.h: This.
30222 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30223 * sysdeps/x86/bits/wordsize.h: This.
30225 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30226 * sysdeps/x86/bits/huge_vall.h: This.
30228 * sysdeps/i386/bits/select.h: Removed.
30229 * sysdeps/x86_64/bits/select.h: Renamed to ...
30230 * sysdeps/x86/bits/select.h: This.
30232 * sysdeps/i386/bits/setjmp.h: Removed.
30233 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30234 * sysdeps/x86/bits/setjmp.h: This.
30236 * sysdeps/i386/bits/mathdef.h: Removed.
30237 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30238 * sysdeps/x86/bits/mathdef.h: This.
30240 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30243 * include/sys/socket.h (__connect_internal)
30244 (__libc_sa_len_internal): Remove declaration.
30245 (__connect, __libc_sa_len): Declare hidden_proto.
30246 (SA_LEN): Remove use of INTUSE.
30247 * socket/connect.c: Add libc_hidden_def.
30248 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30249 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30250 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30252 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30253 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30254 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30255 of adding _internal alias.
30257 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30260 * sysdeps/i386/bits/link.h: Removed.
30261 * sysdeps/i386/bits/linkmap.h: Likewise.
30262 * sysdeps/x86_64/bits/link.h: Renamed to ...
30263 * sysdeps/x86/bits/link.h: This.
30264 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30265 * sysdeps/x86/bits/linkmap.h: This.
30267 * sysdeps/i386/bits/endian.h: Removed.
30268 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30269 * sysdeps/x86/bits/endian.h: This.
30271 * sysdeps/i386/bits/byteswap.h: Removed.
30272 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30273 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30274 * sysdeps/x86/bits/byteswap.h: This.
30275 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30276 * sysdeps/x86/bits/byteswap-16.h: This.
30277 * sysdeps/i386/Implies: Add x86.
30278 * sysdeps/x86_64/Implies: Likewise.
30280 2012-05-30 David S. Miller <davem@davemloft.net>
30282 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30283 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30284 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30285 (FP_TRAPPING_EXCEPTIONS): Define.
30286 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30287 (FP_TRAPPING_EXCEPTIONS): Define.
30288 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30289 subnormals only when inexact has been signalled or underflow
30290 exceptions are enabled.
30291 (_FP_PACK_CANONICAL): Likewise.
30293 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30296 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30297 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30299 2012-05-30 Richard Henderson <rth@twiddle.net>
30301 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30302 with #ifndef NOT_IN_libc.
30304 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30305 marked to avoid plt entry.
30307 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30310 * Makeconfig (default-abi): New macro.
30311 (abi-includes): Likewise.
30312 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30313 $(abi-$(default-abi)-lib-soname) for soname if defined.
30314 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30316 * Makefile (installed-stubs): Likewise.
30317 * include/stubs-biarch.h: Removed.
30318 * scripts/lib-names.awk: Only handle one library at a time.
30319 * scripts/soversions.awk: Remove WORDSIZE support.
30320 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30322 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30324 (syscall-list-default-condition): Likewise.
30325 (syscall-list-default-condition): Likewise.
30326 (syscall-list-includes): Likewise.
30327 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30328 syscall-list-* with abi-*. Handle undefined abi-variants.
30329 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30330 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30331 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30332 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30333 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30334 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30336 (syscall-list-32-options): Likewise.
30337 (syscall-list-32-condition): Likewise.
30338 (syscall-list-64-options): Likewise.
30339 (syscall-list-64-condition): Likewise.
30340 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30342 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30345 (abi-64-ld-soname): New macro.
30346 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30347 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30350 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30351 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30353 2012-05-30 Joseph Myers <joseph@codesourcery.com>
30355 * sysdeps/unix/sysv/linux/kernel-features.h
30356 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30357 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30358 include <kernel-features.h>.
30359 [!__NR_ftruncate64]: Remove conditional code.
30360 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30361 [__NR_ftruncate64]: Make code unconditional.
30362 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30363 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30364 include <kernel-features.h>.
30365 [!__NR_ftruncate64]: Remove conditional code.
30366 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30367 [__NR_ftruncate64]: Make code unconditional.
30368 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30370 include <kernel-features.h>.
30371 [!__NR_ftruncate64]: Remove conditional code.
30372 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30373 [__NR_ftruncate64]: Make code unconditional.
30374 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30376 include <kernel-features.h>.
30377 [!__NR_ftruncate64]: Remove conditional code.
30378 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30379 [__NR_ftruncate64]: Make code unconditional.
30380 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30382 * configure.in (libc_cv_fpie): Weaken to a compile test using
30383 LIBC_TRY_CC_OPTION.
30384 * configure: Regenerated.
30386 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30401 2012-05-27 David S. Miller <davem@davemloft.net>
30403 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30405 (__Q_simulate_exceptions): Return void. Change to simulate
30406 exceptions by writing into the %fsr.
30407 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30408 (__Qp_handle_exceptions): Likewise.
30410 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30411 __Qp_handle_exceptions.
30412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30413 __Qp_handle_exceptions.
30414 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30415 as unused and give dummy FP_RND_NEAREST initializer.
30416 (FP_INHIBIT_RESULTS): Define.
30417 (___Q_simulate_exceptions): Update declaration.
30418 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30420 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30421 as unused and give dummy FP_RND_NEAREST initializer.
30422 (__Qp_handle_exceptions): Update declaration.
30423 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30426 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30428 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30429 the temporary FPU control word.
30430 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30431 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30432 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30433 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30434 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30435 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30436 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30437 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30438 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30439 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30440 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30442 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30444 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30447 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30449 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30450 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30451 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30452 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30454 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30455 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30458 2012-05-27 Ulrich Drepper <drepper@gmail.com>
30460 * po/h.po: Update from translation team.
30462 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30464 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30466 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30467 handling of denormals.
30468 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30469 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30470 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30471 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30472 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30473 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30474 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30477 2012-05-26 Marek Polacek <polacek@redhat.com>
30480 * math/libm-test.inc (fma_test): Don't always expect underflow
30483 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30486 * elf/tst-execstack.c: Include stackinfo.h.
30487 (do_test): Adjust test case to ensure that pthread_getattr_np
30488 behaviour remains the same after marking stack executable.
30490 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30492 * sysdeps/unix/sysv/linux/kernel-features.h
30493 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30494 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30496 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30497 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30498 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30500 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30501 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30503 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30505 * configure.in: Define the default includes to being none.
30506 * configure: Regenerated.
30508 2012-05-25 Roland McGrath <roland@hack.frob.com>
30510 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30511 * sysdeps/x86_64/setjmp.S: Likewise.
30512 * sysdeps/i386/bsd-setjmp.S: Likewise.
30513 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30514 * sysdeps/i386/setjmp.S: Likewise.
30515 * sysdeps/i386/__longjmp.S: Likewise.
30516 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30517 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30519 * include/stap-probe.h: New file.
30520 * configure.in: Handle --enable-systemtap.
30521 * configure: Regenerated.
30522 * config.h.in (USE_STAP_PROBE): New #undef.
30523 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30524 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30525 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30527 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30530 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30531 to 2.4.0 where earlier.
30532 * sysdeps/unix/sysv/linux/configure: Regenerated.
30533 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30534 <kernel-features.h>.
30535 [__ASSUME_32BITUIDS]: Make code unconditional.
30536 [!__ASSUME_32BITUIDS]: Remove conditional code.
30537 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30538 <kernel-features.h>.
30539 [__ASSUME_32BITUIDS]: Make code unconditional.
30540 [!__ASSUME_32BITUIDS]: Remove conditional code.
30541 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30542 [__ASSUME_32BITUIDS]: Make code unconditional.
30543 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30544 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30545 <kernel-features.h>.
30546 [__ASSUME_32BITUIDS]: Make code unconditional.
30547 [!__ASSUME_32BITUIDS]: Remove conditional code.
30548 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30549 <kernel-features.h>.
30550 [__ASSUME_32BITUIDS]: Make code unconditional.
30551 [!__ASSUME_32BITUIDS]: Remove conditional code.
30552 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30553 <kernel-features.h>.
30554 [__ASSUME_32BITUIDS]: Make code unconditional.
30555 [!__ASSUME_32BITUIDS]: Remove conditional code.
30556 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30557 <kernel-features.h>.
30558 [__ASSUME_32BITUIDS]: Make code unconditional.
30559 [!__ASSUME_32BITUIDS]: Remove conditional code.
30560 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30561 <kernel-features.h>.
30562 [__ASSUME_32BITUIDS]: Make code unconditional.
30563 [!__ASSUME_32BITUIDS]: Remove conditional code.
30564 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30565 <kernel-features.h>.
30566 [__ASSUME_32BITUIDS]: Make code unconditional.
30567 [!__ASSUME_32BITUIDS]: Remove conditional code.
30568 * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
30585 <kernel-features.h>.
30586 [__NR_setresgid] (__setresgid): Do not declare.
30587 [__ASSUME_32BITUIDS]: Make code unconditional.
30588 [!__ASSUME_32BITUIDS]: Remove conditional code.
30589 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30590 <kernel-features.h>.
30591 [__NR_setresuid] (__setresuid): Do not declare.
30592 [__ASSUME_32BITUIDS]: Make code unconditional.
30593 [!__ASSUME_32BITUIDS]: Remove conditional code.
30594 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30595 <kernel-features.h>.
30596 [__ASSUME_32BITUIDS]: Make code unconditional.
30597 [!__ASSUME_32BITUIDS]: Remove conditional code.
30598 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30599 <kernel-features.h>.
30600 [__ASSUME_32BITUIDS]: Make code unconditional.
30601 [!__ASSUME_32BITUIDS]: Remove conditional code.
30602 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30603 <kernel-features.h>.
30604 [__ASSUME_32BITUIDS]: Make code unconditional.
30605 [!__ASSUME_32BITUIDS]: Remove conditional code.
30606 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30607 <kernel-features.h>.
30608 [__ASSUME_32BITUIDS]: Make code unconditional.
30609 [!__ASSUME_32BITUIDS]: Remove conditional code.
30610 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30611 <kernel-features.h>.
30612 [__ASSUME_32BITUIDS]: Make code unconditional.
30613 [!__ASSUME_32BITUIDS]: Remove conditional code.
30614 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30615 <kernel-features.h>.
30616 [__ASSUME_32BITUIDS]: Make code unconditional.
30617 [!__ASSUME_32BITUIDS]: Remove conditional code.
30618 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30619 <kernel-features.h>.
30620 [__ASSUME_32BITUIDS]: Make code unconditional.
30621 [!__ASSUME_32BITUIDS]: Remove conditional code.
30622 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30623 <kernel-features.h>.
30624 [__ASSUME_32BITUIDS]: Make code unconditional.
30625 [!__ASSUME_32BITUIDS]: Remove conditional code.
30626 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30627 <kernel-features.h>.
30628 [__ASSUME_32BITUIDS]: Make code unconditional.
30629 [!__ASSUME_32BITUIDS]: Remove conditional code.
30630 * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
30635 (__ASSUME_SETRESUID_SYSCALL): Remove.
30636 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30637 (__ASSUME_32BITUIDS): Likewise.
30638 (__ASSUME_LDT_WORKS): Likewise.
30639 (__ASSUME_O_DIRECTORY): Likewise.
30640 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30641 architecture but not kernel version.
30642 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30643 (__ASSUME_MMAP2_SYSCALL): Likewise.
30644 (__ASSUME_STAT64_SYSCALL): Likewise.
30645 (__ASSUME_IPC64): Likewise.
30646 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30647 <kernel-features.h>.
30648 [__ASSUME_32BITUIDS]: Make code unconditional.
30649 [!__ASSUME_32BITUIDS]: Remove conditional code.
30650 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30651 <kernel-features.h>.
30652 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30653 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30654 132096]: Remove conditional code.
30655 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30656 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30657 <kernel-features.h>.
30658 [__ASSUME_32BITUIDS]: Make code unconditional.
30659 [!__ASSUME_32BITUIDS]: Remove conditional code.
30660 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30661 <kernel-features.h>.
30662 [__ASSUME_32BITUIDS]: Make code unconditional.
30663 [!__ASSUME_32BITUIDS]: Remove conditional code.
30664 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30665 <kernel-features.h>.
30666 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30668 (__setresgid): Do not declare.
30669 [__ASSUME_32BITUIDS]: Make code unconditional.
30670 [!__ASSUME_32BITUIDS]: Remove conditional code.
30671 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30672 <kernel-features.h>.
30673 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30675 (__setresuid): Do not declare.
30676 [__ASSUME_32BITUIDS]: Make code unconditional.
30677 [!__ASSUME_32BITUIDS]: Remove conditional code.
30678 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30679 <kernel-features.h>.
30680 [__ASSUME_32BITUIDS]: Make code unconditional.
30681 [!__ASSUME_32BITUIDS]: Remove conditional code.
30682 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30683 <kernel-features.h>.
30684 [__ASSUME_32BITUIDS]: Make code unconditional.
30685 [!__ASSUME_32BITUIDS]: Remove conditional code.
30687 2012-05-25 Richard Henderson <rth@twiddle.net>
30689 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30690 dl_hwcap to ifunc resolver.
30691 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30693 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30694 dl_hwcap to ifunc resolver.
30695 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30697 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30700 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30701 for |x| <= 2**-26, not 2**-57.
30702 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30705 2012-05-24 Jeff Law <law@redhat.com>
30707 * stdio-common/Makefile (tests): Add bug25.
30708 * stdio-common/bug25.c: New test.
30710 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30713 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30714 multiple of MALLOC_ALIGNMENT in size.
30715 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30717 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30719 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30721 (FILENAME_MAX): Use macro-int-constant.
30722 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30723 (_IOFBF): Use macro-int-constant.
30724 (_IOLBF): Likewise.
30725 (_IONBF): Likewise.
30726 (SEEK_CUR): Likewise.
30727 (SEEK_END): Likewise.
30728 (SEEK_SET): Likewise.
30729 (TMP_MAX): Likewise.
30730 (EOF): Use macro-int-constant. Require < 0.
30731 (NULL): Use macro-constant. Require == 0.
30732 (stdin): Require type to be FILE *.
30733 (stdout): Likewise.
30734 (stderr): Likewise.
30735 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30736 macro-int-constant.
30737 (EXIT_SUCCESS): Likewise.
30738 (NULL): Use macro-constant. Require == 0.
30739 (RAND_MAX): Use macro-int-constant.
30740 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30741 [C99-based standards] (strtof): Require function.
30742 [C99-based standards] (strtold): Likewise.
30743 [C99-based standards] (strtoll): Likewise.
30744 [C99-based standards] (strtoull): Likewise.
30745 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30746 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30747 [ISO || ISO99 || ISO11] (math.h): Likewise.
30748 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30749 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30750 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30752 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30755 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30756 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30757 * intl/dgettext.c (DCGETTEXT): Likewise.
30758 * intl/gettext.c (DCGETTEXT): Likewise.
30759 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30760 * posix/regex_internal.h (gettext): Likewise.
30761 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30762 Remove declaration.
30763 * include/argz.h (__argz_count_internal)
30764 (__argz_stringify_internal): Remove declaration.
30765 (__argz_count, __argz_stringify): Declare hidden proto.
30766 * intl/dcgettext.c: Remove use of INTDEF.
30767 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30768 * string/argz-stringify.c: Likewise.
30769 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30770 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30771 Declare hidden proto.
30772 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30773 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30774 Declare hidden proto.
30775 * include/stdio.h (__asprintf_internal): Don't declare.
30776 (__asprintf): Don't define as macro. Declare hidden proto.
30777 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30778 (__fsetlocking): Declare hidden proto.
30779 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30780 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30782 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30783 (_IO_setlinebuf): Remove use of INTUSE.
30784 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30785 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30786 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30787 Remove declaration.
30788 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30789 (_IO_do_flush): Remove use of INTUSE.
30790 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30791 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30792 (_IO_adjust_column, _IO_least_wmarker)
30793 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30794 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30795 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30796 (_IO_default_doallocate, _IO_wdefault_doallocate)
30797 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30798 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30799 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30800 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30801 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30802 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30803 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30804 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30805 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30806 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30807 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30808 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30809 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30811 (_IO_flush_all_internal, _IO_adjust_column_internal)
30812 (_IO_default_uflow_internal, _IO_default_finish_internal)
30813 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30814 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30815 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30816 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30817 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30818 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30819 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30820 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30821 (_IO_file_close_internal, _IO_file_close_it_internal)
30822 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30823 (_IO_file_init_internal, _IO_file_attach_internal)
30824 (_IO_file_fopen_internal, _IO_file_read_internal)
30825 (_IO_file_sync_internal, _IO_file_seek_internal)
30826 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30827 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30828 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30829 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30830 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30831 (_IO_list_all_internal, _IO_link_in_internal)
30832 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30833 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30834 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30835 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30836 (_IO_do_write_internal, _IO_padn_internal)
30837 (_IO_getline_info_internal, _IO_getline_internal)
30838 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30839 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30840 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30841 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30842 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30843 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30844 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30845 with libc_hidden_ver, remove use of INTUSE.
30846 * libio/genops.c: Likewise.
30847 * libio/freopen.c: Likewise.
30848 * libio/freopen64.c: Likewise.
30849 * libio/iofclose.c: Likewise.
30850 * libio/iofdopen.c: Likewise.
30851 * libio/iofflush.c: Likewise.
30852 * libio/iofflush_u.c: Likewise.
30853 * libio/iofgets.c: Likewise.
30854 * libio/iofgets_u.c: Likewise.
30855 * libio/iofopen.c: Likewise.
30856 * libio/iofopncook.c: Likewise.
30857 * libio/iofread.c: Likewise.
30858 * libio/iofread_u.c: Likewise.
30859 * libio/ioftell.c: Likewise.
30860 * libio/iofwrite.c: Likewise.
30861 * libio/iogetline.c: Likewise.
30862 * libio/iogets.c: Likewise.
30863 * libio/iogetwline.c: Likewise.
30864 * libio/iopadn.c: Likewise.
30865 * libio/iopopen.c: Likewise.
30866 * libio/ioseekoff.c: Likewise.
30867 * libio/ioseekpos.c: Likewise.
30868 * libio/iosetbuffer.c: Likewise.
30869 * libio/iosetvbuf.c: Likewise.
30870 * libio/ioungetc.c: Likewise.
30871 * libio/ioungetwc.c: Likewise.
30872 * libio/iovdprintf.c: Likewise.
30873 * libio/iovsprintf.c: Likewise.
30874 * libio/iovsscanf.c: Likewise.
30875 * libio/memstream.c: Likewise.
30876 * libio/obprintf.c: Likewise.
30877 * libio/oldfileops.c: Likewise.
30878 * libio/oldiofclose.c: Likewise.
30879 * libio/oldiofdopen.c: Likewise.
30880 * libio/oldiofopen.c: Likewise.
30881 * libio/oldiopopen.c: Likewise.
30882 * libio/oldstdfiles.c: Likewise.
30883 * libio/putc.c: Likewise.
30884 * libio/setbuf.c: Likewise.
30885 * libio/setlinebuf.c: Likewise.
30886 * libio/stdfiles.c: Likewise.
30887 * libio/strops.c: Likewise.
30888 * libio/vasprintf.c: Likewise.
30889 * libio/vscanf.c: Likewise.
30890 * libio/vsnprintf.c: Likewise.
30891 * libio/vswprintf.c: Likewise.
30892 * libio/wfiledoalloc.c: Likewise.
30893 * libio/wfileops.c: Likewise.
30894 * libio/wgenops.c: Likewise.
30895 * libio/wmemstream.c: Likewise.
30896 * libio/wstrops.c: Likewise.
30897 * libio/__fpurge.c: Likewise.
30898 * libio/__fsetlocking.c: Likewise.
30899 * assert/assert.c: Likewise.
30900 * debug/fgets_chk.c: Likewise.
30901 * debug/fgets_u_chk.c: Likewise.
30902 * debug/fread_chk.c: Likewise.
30903 * debug/fread_u_chk.c: Likewise.
30904 * debug/gets_chk.c: Likewise.
30905 * debug/obprintf_chk.c: Likewise.
30906 * debug/vasprintf_chk.c: Likewise.
30907 * debug/vdprintf_chk.c: Likewise.
30908 * debug/vsnprintf_chk.c: Likewise.
30909 * debug/vsprintf_chk.c: Likewise.
30910 * malloc/mtrace.c: Likewise.
30911 * misc/error.c: Likewise.
30912 * misc/syslog.c: Likewise.
30913 * stdio-common/asprintf.c: Likewise.
30914 * stdio-common/fxprintf.c: Likewise.
30915 * stdio-common/getw.c: Likewise.
30916 * stdio-common/isoc99_fscanf.c: Likewise.
30917 * stdio-common/isoc99_scanf.c: Likewise.
30918 * stdio-common/isoc99_vfscanf.c: Likewise.
30919 * stdio-common/isoc99_vscanf.c: Likewise.
30920 * stdio-common/isoc99_vsscanf.c: Likewise.
30921 * stdio-common/printf-prs.c: Likewise.
30922 * stdio-common/printf_fp.c: Likewise.
30923 * stdio-common/printf_fphex.c: Likewise.
30924 * stdio-common/printf_size.c: Likewise.
30925 * stdio-common/putw.c: Likewise.
30926 * stdio-common/scanf.c: Likewise.
30927 * stdio-common/sprintf.c: Likewise.
30928 * stdio-common/tmpfile.c: Likewise.
30929 * stdio-common/vfprintf.c: Likewise.
30930 * stdio-common/vfscanf.c: Likewise.
30931 * stdlib/strfmon_l.c: Likewise.
30932 * sunrpc/openchild.c: Likewise.
30933 * sunrpc/xdr_stdio.c: Likewise.
30934 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30935 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30937 2012-05-24 Roland McGrath <roland@hack.frob.com>
30939 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30941 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30942 in the third column, to generate for the shared library an IFUNC
30943 that uses _dl_vdso_vsym.
30944 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30945 * Makeconfig (object-suffixes-noshared): New variable.
30947 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30948 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30949 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30950 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30953 * include/sys/time.h (__gettimeofday): Remove macro.
30954 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30955 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30957 (__gettimeofday): Add libc_hidden_def.
30958 (gettimeofday): Add libc_hidden_weak.
30959 * sysdeps/mach/gettimeofday.c: Likewise.
30960 * sysdeps/posix/gettimeofday.c: Likewise.
30961 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30962 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30963 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30964 (__gettimeofday_internal): Remove strong_alias.
30965 (__gettimeofday): Add libc_hidden_def.
30966 (gettimeofday): Add libc_hidden_weak.
30967 * sysdeps/unix/syscalls.list (gettimeofday):
30968 Remove __gettimeofday_internal alias.
30970 2012-05-24 Daniel Jacobowitz <drow@false.org>
30971 H.J. Lu <hongjiu.lu@intel.com>
30974 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30975 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30976 (largebin_index_32_big): New.
30977 (largebin_index): Use it for 16-byte alignment.
30978 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30979 correction with front_misalign.
30981 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31009 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31010 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31012 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31016 * math/libm-test.inc (exp_test): Add test from bug 14036.
31017 (pow_test): Add test from bug 10846.
31019 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31021 (special_function): Do not include flags in test name.
31022 (parse_args): Likewise.
31023 * sysdeps/i386/fpu/libm-test-ulps: Update.
31024 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31025 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31026 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31029 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31031 * math/libm-test.inc ("Philosophy"): Update comment about
31033 (UNDERFLOW_EXCEPTION): New macro.
31034 (UNDERFLOW_EXCEPTION_OK): Likewise.
31035 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31036 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31037 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31038 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31039 (INVALID_EXCEPTION_OK): Update value.
31040 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31041 (OVERFLOW_EXCEPTION_OK): Likewise.
31042 (IGNORE_ZERO_INF_SIGN): Likewise.
31043 (test_exceptions): Handle underflow exceptions.
31044 (acos_test): Update for underflow exception expectations.
31045 (cexp_test): Likewise.
31046 (clog_test): Likewise.
31047 (clog10_test): Likewise.
31048 (csqrt_test): Likewise.
31049 (ctan_test): Likewise.
31050 (ctanh_test): Likewise.
31051 (exp_test): Likewise.
31052 (exp10_test): Likewise.
31053 (exp2_test): Likewise.
31054 (expm1_test): Likewise.
31055 (fma_test): Likewise.
31056 (j0_test): Likewise.
31057 (jn_test): Likewise.
31058 (nexttoward_test): Likewise.
31059 (pow_test): Likewise.
31060 (scalbn_test): Likewise.
31061 (scalbln_test): Likewise.
31062 (tan_test): Likewise.
31063 (y1_test): Likewise.
31064 * sysdeps/i386/fpu/libm-test-ulps: Update.
31065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31067 2012-05-23 David S. Miller <davem@davemloft.net>
31069 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31070 (__libc_sigaction): Remove unused local variables.
31072 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31074 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31076 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31078 mktime: avoid signed integer overflow
31079 * time/mktime.c (__mktime_internal): Do not mishandle the case
31080 where diff == INT_MIN.
31082 mktime: simplify computation of average
31083 * time/mktime.c (ranged_convert): Use new time_t_avg function
31084 instead of rolling our own (probably-slower) code.
31086 mktime: do not assume signed right shift propagates sign bit
31087 * time/mktime.c (isdst_differ): New static function.
31088 (__mktime_internal): No need to normalize tm_isdst now.
31089 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31092 mktime: merge another wrapv change from gnulib
31093 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31094 from some compilers.
31096 mktime: remove incorrect attempt at unusual arithmetics
31097 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31098 The code didn't really work on such machines anyway.
31099 (TYPE_MINIMUM): Assume two's complement.
31100 (twos_complement_arithmetic): Verify that long_int and time_t
31101 are two's complement (or unsigned, in the latter case).
31103 mktime: check signed shifts on long_int and time_t, too
31104 * time/mktime.c (SHR): Check that shifts work as desired
31105 on the types long_int and time_t too, as SHR is used on
31108 mktime: do not assume 'long' is wide enough
31109 * time/mktime.c (verify): Move decl up.
31110 (long_int): New type.
31111 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31112 to remove assumption in the code that 'long' is wide enough to
31113 store year values. This assumption is not true on x32 and on
31114 some non-glibc platforms.
31116 mktime: merge wrapv change from gnulib
31117 * time/mktime.c (WRAPV): New macro.
31118 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31119 (guess_time_tm, __mktime_internal): Do not assume that signed
31120 integer overflow wraps around; modern compilers generate code
31121 where this assumption is no longer valid.
31123 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31125 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31126 Replace "jmp L(pseudo_end)" with "ret".
31127 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31130 2012-05-23 Andreas Jaeger <aj@suse.de>
31132 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31133 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31135 2012-05-23 Andreas Jaeger <aj@suse.de>
31136 Maximilian Attems <max@stro.at>
31138 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31141 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31143 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31144 code so that pseudo_end is just ret and the stack pointer is
31145 correct also for static library in error case.
31147 2012-05-23 Joseph Myers <joseph@codesourcery.com>
31149 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31150 move to syscalls.list.
31151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31156 * manual/install.texi (Running make install): Do not mention Linux
31157 kernel version for which pt_chown is not needed.
31158 (Linux): Do not mention problems with nscd with 2.0 kernels.
31159 * INSTALL: Regenerated.
31161 2012-05-23 Andreas Jaeger <aj@suse.de>
31163 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31164 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31166 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31167 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31168 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31169 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31170 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31171 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31172 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31173 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31174 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31175 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31176 * sysdeps/unix/sysv/linux/bits/in.h
31177 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31179 2012-05-22 Roland McGrath <roland@hack.frob.com>
31181 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31182 (PREPARE_VERSION): Just use assert instead, it will be elided
31183 under [NDEBUG] anyway.
31185 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31187 * sysdeps/unix/sysv/linux/Makefile: Include
31188 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31189 (sysdep_routines): Remove sysctl.
31190 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31191 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31192 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31193 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31194 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31196 2012-05-22 Andreas Jaeger <aj@suse.de>
31198 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31199 that pseudo_end is just ret and the stack pointer is correct also
31200 for static library in error case.
31202 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31205 * nss/nsswitch.c (defconfig_entries): New variable.
31206 (__nss_database_lookup): Don't leak defconfig entries.
31207 (nss_parse_service_list): Don't leak on error paths.
31208 (free_database_entries): New function.
31209 (free_defconfig): New function.
31210 (free_mem): Move common code to free_database_entries.
31212 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31214 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31216 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31218 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31219 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31220 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31222 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31223 (INTERNAL_SYSCALL_TYPES): Likewise.
31224 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31225 (LOAD_REGS_TYPES_[1-6]): Likewise.
31226 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31227 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31229 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31231 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31232 copysignl for GLIBC_2_0.
31233 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31234 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31235 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31236 logbl for GLIBC_2_0.
31237 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31238 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31240 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31242 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31243 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31245 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31248 * time/mktime.c: Update copyright years.
31250 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31252 mktime: merge comment-quoting-style change from gnulib
31253 * time/mktime.c: Quote 'like this' in comments.
31254 The GNU coding standards suggest that we no longer quote `like this',
31255 as "`" and "'" are typically rendered asymmetrically nowadays.
31256 The typical gnulib style is to quote 'like this' when quoting
31257 code, and "like this" when quoting English.
31259 * time/mktime.c (compile-command): Add "-I.".
31261 mktime: merge mktime-internal.h change from gnulib
31262 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31264 mktime: merge time_r change from gnulib
31265 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31267 mktime: merge DEBUG change from gnulib
31268 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31269 case system <time.h> has a #define.
31271 mktime: merge <sys/types.h> change from gnulib
31272 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31273 since <time.t> is now guaranteed to define time_t.
31275 mktime: merge HAVE_CONFIG_H change from gnulib
31276 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31278 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31280 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31283 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31285 (struct rusage): Use anonymous union to pad each field to
31288 2012-05-21 David S. Miller <davem@davemloft.net>
31290 * Makefules (o-iterator): Remove .s cases.
31291 (compile-command.s): Delete.
31292 (COMPILE.s): Delete.
31293 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31295 2012-05-21 Joseph Myers <joseph@codesourcery.com>
31297 * configure.in (libc_cv_predef_stack_protector): Only consider
31298 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31299 * configure: Regenerated.
31301 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31303 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31304 New macro. Use R*LP on int and pointer.
31305 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31306 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31307 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31308 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31310 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31311 [__WORDSIZE_TIME64_COMPAT32] instead of
31312 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31313 (struct utmp): Likewise.
31314 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31315 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31317 (__WORDSIZE_TIME64_COMPAT32): This.
31318 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31319 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31320 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31321 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31322 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31323 (__WORDSIZE_TIME64_COMPAT32): New macro.
31325 2012-05-21 Andreas Jaeger <aj@suse.de>
31327 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31328 only if [SHARED]. Add prototype for __wcschr_ia32.
31330 2012-05-21 Roland McGrath <roland@hack.frob.com>
31332 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31333 of %rbp unmolested in the jmp_buf while mangling the low bits.
31334 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31335 unmolested high bits of %rbp while demangling the low bits.
31336 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31338 2012-05-21 Andreas Jaeger <aj@suse.de>
31340 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31341 * sunrpc/svc_simple.c: Use it for registerrpc.
31342 * sunrpc/xcrypt.c: Use it for passwd2des.
31344 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31346 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31348 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31349 Don't define if [__SYSCALL_WORDSIZE != 32].
31350 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31353 2012-05-21 Bruno Haible <bruno@clisp.org>
31354 Andreas Jaeger <aj@suse.de>
31356 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31357 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31358 inptr and inend for must_buffer_ch.
31359 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31360 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31361 * stdio-common/Makefile (tests): Remove bug15.
31362 (bug15-ENV): Remove macro.
31363 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31366 2012-05-19 Andreas Jaeger <aj@suse.de>
31367 Roland McGrath <roland@hack.frob.com>
31369 * manual/contrib.texi: Completely rewritten. It contains now an
31370 alphabetical list of contributors and their contributions.
31372 2012-05-21 Richard Henderson <rth@twiddle.net>
31374 * misc/getauxval.c (__getauxval): Use unsigned long int.
31375 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31376 (getauxval): Use unsigned long int.
31378 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31380 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31382 2012-05-21 Roland McGrath <roland@hack.frob.com>
31384 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31385 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31386 __alignof__ (long double).
31388 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31392 2012-05-20 Richard Henderson <rth@twiddle.net>
31394 * misc/getauxval.c: New file.
31395 * misc/sys/auxv.h: New file.
31396 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31397 (routines): Add getauxval.
31398 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31399 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31400 * elf/dl-sysdep.c (_dl_auxv): Remove.
31401 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31402 * elf/dl-support.c (_dl_auxv): New variable.
31403 (_dl_aux_init): Initialize it.
31404 * manual/startup.texi (Auxiliary Vector): New node.
31405 * sysdeps/generic/bits/hwcap.h: New file.
31406 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31407 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31408 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31409 * sysdeps/sparc/sysdep.h: ... here. Include it.
31410 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31411 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31417 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31423 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31427 2012-05-19 David S. Miller <davem@davemloft.net>
31429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31431 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31434 * math/s_ccosh.c: Include <float.h>
31435 (__ccosh): Avoid internal overflow calculating sinh and cosh
31436 values before multiplying by sin and cos values.
31437 * math/s_ccoshf.c: Likewise.
31438 * math/s_ccoshl.c: Likewise.
31439 * math/s_csin.c: Likewise.
31440 * math/s_csinf.c: Likewise.
31441 * math/s_csinl.c: Likewise.
31442 * math/s_csinh.c: Likewise.
31443 * math/s_csinhf.c: Likewise.
31444 * math/s_csinhl.c: Likewise.
31445 * math/libm-test.inc (ccos_test): Add more tests.
31446 (ccosh_test): Likewise.
31447 (csin_test): Likewise.
31448 (csinh_test): Likewise.
31449 * sysdeps/i386/fpu/libm-test-ulps: Update.
31450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31452 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31454 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31455 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31457 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31459 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31461 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31462 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31463 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31464 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31465 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31466 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31467 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31468 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31469 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31470 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31471 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31472 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31473 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31474 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31475 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31476 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31477 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31478 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31479 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31480 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31481 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31482 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31483 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31484 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31485 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31486 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31487 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31488 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31489 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31490 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31491 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31493 2012-05-18 Andreas Jaeger <aj@suse.de>
31495 * csu/.gitignore: Delete.
31497 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31499 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31500 (timex): Use __syscall_slong_t.
31502 2012-05-18 Andreas Jaeger <aj@suse.de>
31503 Carlos O'Donell <carlos_odonell@mentor.com>
31505 * manual/install.texi (Configuring and compiling): Update
31506 description about files modified in the source directory.
31507 * INSTALL: Regenerated.
31509 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31511 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31512 value. Use "or" to set return value to -1.
31513 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31514 negate return value.
31516 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31518 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31519 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31520 failure if the compiler has Graphite support disabled.
31521 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31523 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31524 (CFLAGS-memmove.c): Likewise.
31525 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31528 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31530 * sysdeps/x86_64/x32/_itoa.h: New file.
31532 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31533 getdents system call only if kernel and user dirents have the
31534 same d_ino and d_off.
31536 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31537 LLONG_MAX != LONG_MAX.
31538 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31539 (_fitoa_word): Likewise.
31541 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31543 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31544 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31545 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31547 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31548 include <bits/wordsize.h>. Check __x86_64__ instead of
31550 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31551 if __x86_64__ is defined. Use anonymous union on fpstate.
31553 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31556 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31558 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31559 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31560 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31561 Refer to _rtld_local_ro instead of _rtld_global_ro.
31562 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31564 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31566 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31568 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31569 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31570 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31572 * sysdeps/powerpc/powerpc32/dl-machine.c
31573 (__elf_machine_runtime_setup) [PROF]: Don't reference
31576 2012-05-18 Andreas Jaeger <aj@suse.de>
31578 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31579 function only available for GCCs before 3.4 since GCC 3.4
31580 introduced a builtin.
31582 (llrintf): Likewise.
31583 (llrint): Likewise.
31590 (nearbyint): Likewise.
31591 (nearbyintf): Likewise.
31595 (floorf): Likewise.
31597 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31599 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31600 on both fields and cast pointer to __syscall_ulong_t.
31602 * bits/types.h (__fsword_t): New type.
31603 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31604 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31605 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31606 (__FSWORD_T_TYPE): Likewise.
31607 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31608 (__FSWORD_T_TYPE): Likewise.
31609 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31610 (__FSWORD_T_TYPE): Likewise.
31611 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31612 (__FSWORD_T_TYPE): Likewise.
31613 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31614 __SWORD_TYPE with __fsword_t.
31615 (statfs64): Likewise.
31617 2012-05-17 David S. Miller <davem@davemloft.net>
31619 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31621 2012-05-17 Andreas Jaeger <aj@suse.de>
31623 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31626 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31628 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31630 2012-05-17 Andreas Jaeger <aj@suse.de>
31632 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31635 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31637 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31639 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31641 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31642 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31644 2012-05-17 Andreas Jaeger <aj@suse.de>
31645 Carlos O'Donell <carlos_odonell@mentor.com>
31648 * sysdeps/x86_64/multiarch/init-arch.h
31649 (bit_YMM_Usable): Rename to...
31650 (bit_AVX_Usable): ... this.
31651 (bit_FMA4_Usable): New macro.
31652 (bit_XMM_state): New macro.
31653 (bit_YMM_state): New macro.
31654 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31655 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31656 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31657 (CPUID_OSXSAVE): New macro.
31658 (CPUID_AVX): New macro.
31659 (CPUID_FMA4): New macro.
31660 (index_YMM_Usable): Rename to...
31661 (index_AVX_Usable): ... this.
31662 (HAS_AVX): Use HAS_ARCH_FEATURE.
31663 (HAS_FMA4): Likewise.
31664 (HAS_YMM_USABLE): Remove.
31665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31666 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31668 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31669 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31670 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31671 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31672 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31674 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31676 * math/libm-test.c: Support platforms without multiple rounding modes.
31677 * math/bug-nextafter.c: Support platforms without FP exceptions.
31678 * math/bug-nexttoward.c: Likewise.
31679 * math/test-fenv.c: Likewise.
31680 * math/test-misc.c: Likewise.
31681 * stdlib/bug-getcontext.c: Likewise.
31683 2012-05-17 Andreas Jaeger <aj@suse.de>
31685 * manual/examples/search.c (critter_cmp): Change signature to
31687 * manual/string.texi (Collation Functions): Likewise.
31689 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31691 * bits/types.h: Fold copyright years.
31692 * bits/typesizes.h: Likewise.
31693 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31694 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31695 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31696 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31697 * time/time.h: Likewise.
31699 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31702 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31703 in instead of returning them. Return void.
31704 (__libc_mallinfo): Accumulate over all arenas.
31705 (__malloc_stats): Adjust for change in int_mallinfo interface.
31707 2012-05-16 Roland McGrath <roland@hack.frob.com>
31710 * configure.in (NM): Add AC_CHECK_TOOL for it.
31711 (libc_extra_cflags): New substituted variable.
31712 Check for -fstack-protector being used implicitly.
31713 * configure: Regenerated.
31714 * config.make.in (config-extra-cflags): New variable,
31715 gets @libc_extra_cflags@.
31716 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31719 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31720 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31721 * configure: Regenerated.
31722 * config.make.in (CPPUNDEFS): New substituted variable.
31723 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31724 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31725 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31727 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31729 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31730 (mq_attr): Use __syscall_slong_t.
31732 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31734 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31735 Check __x86_64__ instead of __WORDSIZE.
31736 (_STAT_VER_LINUX): Likewise.
31737 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31738 __syscall_ulong_t and __syscall_slong_t.
31739 (stat64): Likewise.
31741 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31743 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31745 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31747 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31749 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31751 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31754 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31755 include <bits/wordsize.h>. Check __x86_64__ instead of
31757 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31759 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31761 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31762 include <bits/wordsize.h>. Check __x86_64__ instead of
31764 (user_regs_struct): Use "__extension__ unsigned long long"
31765 instead of "unsigned long" if __x86_64__ is defined.
31766 (user): Likewise. Pad after pointer field if __ILP32__ is
31769 2012-05-16 Joseph Myers <joseph@codesourcery.com>
31771 * configure.in (makeinfo): Require version 4.5 or later. Allow
31773 * configure: Regenerated.
31774 * manual/install.texi (texinfo): Increase version requirement to
31776 * INSTALL: Regenerated.
31778 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31780 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31782 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31784 * sysdeps/x86_64/x32/ffs.c: New file.
31786 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31788 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31789 defined. Use __syscall_ulong_t.
31790 (shminfo): Use __syscall_ulong_t.
31791 (shm_info): Likewise.
31793 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31796 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31798 (msgqnum_t): Use __syscall_ulong_t.
31799 (msglen_t): Likewise.
31800 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31803 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31804 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31806 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31808 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31809 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31811 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31814 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31815 include <bits/wordsize.h>. Check __x86_64__ instead of
31818 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31819 "unsigned long long int" if __x86_64__ is defined.
31820 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31822 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31823 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31824 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31826 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31828 (GET_PC): Cast to uintptr_t first.
31829 (GET_FRAME): Likewise.
31830 (GET_STACK): Likewise.
31832 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31833 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31834 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31835 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31836 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31837 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31838 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31839 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31840 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31841 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31842 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31843 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31844 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31845 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31846 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31847 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31848 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31849 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31850 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31851 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31852 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31853 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31854 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31855 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31856 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31857 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31858 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31859 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31860 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31862 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31864 * Makerules (+depfiles): Also collect depfiles from .oS in
31866 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31867 .oS, $(libnldbl-routines)).
31869 * Makerules (native-compile-mkdep-flags): Define.
31870 * sunrpc/Makefile (extra-objs): Add $(addprefix
31871 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31872 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31873 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31874 calling $(make-target-directory).
31876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31878 * bits/types.h (__snseconds_t): Removed.
31879 * time/time.h (struct timespec): Replace __snseconds_t with
31881 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31882 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31884 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31885 (__SNSECONDS_T_TYPE): Likewise.
31886 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31887 (__SNSECONDS_T_TYPE): Likewise.
31888 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31889 (__SNSECONDS_T_TYPE): Likewise.
31891 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31893 * sysdeps/mach/hurd/bits/typesizes.h
31894 (__SYSCALL_SLONG_TYPE): New macro.
31895 (__SYSCALL_ULONG_TYPE): Likewise.
31897 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31899 * bits/types.h (__syscall_slong_t): New type.
31900 (__syscall_ulong_t): Likewise.
31902 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31903 (__SYSCALL_ULONG_TYPE): Likewise.
31904 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31905 (__SYSCALL_SLONG_TYPE): Likewise.
31906 (__SYSCALL_ULONG_TYPE): Likewise.
31907 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31908 (__SYSCALL_SLONG_TYPE): Likewise.
31909 (__SYSCALL_ULONG_TYPE): Likewise.
31910 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31911 (__SYSCALL_SLONG_TYPE): Likewise.
31912 (__SYSCALL_ULONG_TYPE): Likewise.
31914 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31916 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31917 Add sigaltstack-offsets.sym.
31918 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31919 <sigaltstack-offsets.h>.
31920 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31921 longjmp_msg pointer.
31922 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31923 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31925 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31927 2012-05-15 Joseph Myers <joseph@codesourcery.com>
31929 * elf/stackguard-macros.h: Remove file.
31930 * sysdeps/generic/stackguard-macros.h: New file.
31931 * sysdeps/i386/stackguard-macros.h: Likewise.
31932 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31933 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31934 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31935 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31936 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31937 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31938 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31939 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31940 <elf/stackguard-macros.h>.
31943 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31944 __aligned__ in attribute.
31945 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31946 (gregset_t): Likewise.
31948 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31950 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31951 * sysdeps/x86_64/64/Implies-after: Here. New file.
31952 * sysdeps/x86_64/x32/Implies-after: New file.
31954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31956 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31957 and access return value for _dl_profile_fixup. Use R10_LP to
31960 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31962 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31966 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31967 * sysdeps/x86_64/x32/sysdep.h: New file.
31969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31971 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31972 * sysdeps/x86_64/setjmp.S: Likewise.
31974 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31976 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31977 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31978 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31979 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31980 remove unused global constant.
31982 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31984 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31985 include of <not-cancel.h>.
31987 2012-05-15 Roland McGrath <roland@hack.frob.com>
31989 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31991 2012-05-15 Jeff Law <law@redhat.com>
31992 Andreas Jaeger <aj@suse.de>
31995 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31997 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31998 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31999 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32000 code changing __hst_map_handle.map.
32002 2012-05-15 Roland McGrath <roland@hack.frob.com>
32004 * configure.in (sysnames): Look for Implies-before and Implies-after
32006 * configure: Regenerated.
32008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32010 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32011 8-byte data alignment with LP_SIZE alignment.
32013 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32015 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32018 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32020 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32024 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32025 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32026 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32028 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32030 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32032 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32033 (stackinfo_sub_sp): Likewise.
32035 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32037 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32040 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32042 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32045 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32047 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32050 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32052 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32054 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32056 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32057 into R11_LP and load __x86_64_shared_cache_size_half into
32060 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32062 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32065 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32067 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32069 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32071 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32073 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32074 powerpc32/power7/fpu/s_logb.c via #include.
32075 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32076 powerpc32/power7/fpu/s_logbf.c via #include.
32077 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32078 powerpc32/power7/fpu/s_logbl.c via #include.
32080 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32082 * README.libm: Remove file.
32084 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32086 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32087 count for x32. Use R*_LP and omit operand-size suffix.
32089 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32091 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32092 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32093 * sysdeps/x86_64/x32/shlib-versions: New file.
32095 2012-05-14 Roland McGrath <roland@hack.frob.com>
32097 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32098 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32099 Use _dl_fatal_printf instead.
32101 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32103 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32104 set if not set by the user. Do not allow for being unset.
32105 * sysdeps/unix/sysv/linux/configure: Regenerated.
32107 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32109 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32110 the `q' suffix from lea and replace .quad with ASM_ADDR.
32112 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32115 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32117 (PTR_DEMANGLE): Likewise.
32119 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32121 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32123 (ASM_ADDR): Likewise.
32124 (RAX_LP): Likewise.
32125 (RBP_LP): Likewise.
32126 (RBX_LP): Likewise.
32127 (RCX_LP): Likewise.
32128 (RDI_LP): Likewise.
32129 (RSI_LP): Likewise.
32130 (RSP_LP): Likewise.
32133 (R10_LP): Likewise.
32134 (R10_LP): Likewise.
32135 (R11_LP): Likewise.
32136 (R12_LP): Likewise.
32137 (R13_LP): Likewise.
32138 (R14_LP): Likewise.
32139 (R15_LP): Likewise.
32141 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32143 * sysdeps/x86_64/x32/dl-machine.h: New file.
32145 2012-05-14 Andreas Jaeger <aj@suse.de>
32147 * manual/Makefile (subdir): Remove export of subdir.
32148 (all): Remove target.
32149 (.PHONY): Remove all from list.
32150 (mkinstalldirs): Remove.
32151 (.PHONY): Remove installdirs from list.
32152 ($(inst_infodir)/libc.info): Use make-target-directory.
32153 (installdirs): Remove.
32154 (subdir_%): Remove.
32155 (glibc-targets): Remove.
32158 ($(objpfx)stubs ../po/manual.pot): Remove.
32159 ($(objpfx)stamp%): Remove.
32160 (make-target-directory): Remove.
32161 (subdir_install): Remove.
32162 (routines): Remove.
32169 * manual/.gitignore: Remove, it's not needed anymore.
32170 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32172 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32174 (texis): Renamed to $(objpfx)texis.
32175 (texis-path): New, contains path to generated files.
32176 (chapters.%): Use texis-path for complete path, add extra argument
32178 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32179 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32180 (summary,texi, stamp-summary): Use complete path of
32181 files. Generate files in build dir.
32182 (dir-add.texi): Build in build dir.
32183 (libm-err.texi,stamp-libm-err): Likewise.
32184 (version.texi, stamp-version): Likewise.
32185 (.%c.texi): Likewise.
32186 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32187 (mostlyclean): Remove target.
32188 (realclean): Remove target.
32189 (generated): Add new variable with contents from mostlyclean and
32190 realclean, remove entries duplicated in common-mostlyclean, add
32191 stamp-libm-err and stamp-version.
32192 (generated-dirs): Add libc directory.
32193 ($(inst_infodir)/libc.info): Install files from build dir.
32195 * manual/install.texi (Configuring and compiling): Adjust since
32196 the info files are not part of the tar ball anymore.
32198 2012-05-14 Andreas Jaeger <aj@suse.de>
32200 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32203 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32206 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32207 to 2.2.0 where earlier.
32208 * sysdeps/unix/sysv/linux/configure: Regenerated.
32209 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32210 Remove conditional code.
32211 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32212 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32213 Remove conditional code.
32214 [!__NR_lchown]: Likewise.
32215 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32216 [__NR_lchown]: Likewise.
32217 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32218 comment referencing __ASSUME_LCHOWN_SYSCALL.
32219 * sysdeps/unix/sysv/linux/i386/sigaction.c
32220 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32221 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32222 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32223 Remove conditional code.
32224 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32225 (__protocol_available): Remove #if 0 code.
32226 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32228 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32229 * sysdeps/unix/sysv/linux/kernel-features.h
32230 (__ASSUME_GETCWD_SYSCALL): Don't define.
32231 (__ASSUME_REALTIME_SIGNALS): Likewise.
32232 (__ASSUME_PREAD_SYSCALL): Likewise.
32233 (__ASSUME_PWRITE_SYSCALL): Likewise.
32234 (__ASSUME_POLL_SYSCALL): Likewise.
32235 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32236 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32238 (__ASSUME_SIOCGIFNAME): Don't define.
32239 (__ASSUME_MSG_NOSIGNAL): Likewise.
32240 (__ASSUME_SENDFILE): Define unconditionally.
32241 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32242 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32244 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32245 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32246 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32247 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32248 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32249 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32250 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32252 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32253 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32255 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32258 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32259 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32261 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32264 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32265 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32267 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32270 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32271 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32273 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32275 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32276 Remove conditional code.
32277 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32278 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32279 Remove conditional code.
32280 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32281 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32282 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32283 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32284 Remove conditional code.
32285 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32286 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32287 Remove conditional code.
32288 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32289 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32290 Remove conditional code.
32291 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32292 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32293 Remove conditional code.
32294 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32295 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32296 Remove conditional code.
32297 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32298 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32299 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32301 * sysdeps/unix/sysv/linux/sigaction.c
32302 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32303 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32304 * sysdeps/unix/sysv/linux/sigpending.c
32305 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32306 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32307 * sysdeps/unix/sysv/linux/sigprocmask.c
32308 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32309 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32310 * sysdeps/unix/sysv/linux/sigsuspend.c
32311 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32312 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32313 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32314 (__libc_missing_rt_sigs): Remove.
32315 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32316 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32317 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32318 Remove conditional code.
32319 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32320 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32322 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32323 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32324 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32325 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32327 2012-05-14 Andreas Jaeger <aj@suse.de>
32329 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32330 it's not used in glibc.
32331 (__coshm1): Likewise.
32332 (__acosh1p): Likewise.
32335 * manual/string.texi (Copying and Concatenation): Add missing
32336 variable in concat example.
32337 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32339 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32342 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32343 __builtin_clzl with __builtin_clzll.
32345 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32348 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32351 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32353 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32354 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32355 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32356 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32358 2012-05-14 Mike Frysinger <vapier@gentoo.org>
32360 * NEWS: Update ia64 info.
32362 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32364 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32367 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32369 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32370 * sysdeps/unix/syscalls.list (dup3): Likewise.
32371 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32372 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32374 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32376 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32377 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32379 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32381 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32383 (TLS_IE): Use mov/add instead of movq/addq to load thread
32385 (TLS_GD_PREFIX): New.
32388 2012-05-11 David S. Miller <davem@davemloft.net>
32390 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32391 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32392 (_FPU_SETCW): Likewise.
32394 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32396 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32397 is 32-byte aligned.
32399 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32402 * iconvdata/gb18030.c: Update tables.
32403 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32404 characters specially.
32405 (BODY for TO_LOOP): Add encoding of missing ranges.
32407 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32410 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32411 * sysdeps/mach/hurd/dup3.c: Likewise.
32412 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32413 * sysdeps/powerpc/memmove.c:: Likewise.
32415 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32417 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32418 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32420 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32422 * elf/elf.h (R_X86_64_RELATIVE64): New.
32423 (R_X86_64_NUM): Updated.
32424 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32425 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32426 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32427 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32428 tst-quad1pie tst-quad2pie
32429 (modules-names): Add tst-quadmod1 tst-quadmod2.
32430 ($(objpfx)tst-quad1): New dependency.
32431 ($(objpfx)tst-quad2): Likewise.
32432 ($(objpfx)tst-quad1pie): Likewise.
32433 ($(objpfx)tst-quad2pie): Likewise.
32434 * sysdeps/x86_64/tst-quad1.c: New file.
32435 * sysdeps/x86_64/tst-quad1pie.c: New file.
32436 * sysdeps/x86_64/tst-quad2.c: Likewise.
32437 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32438 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32439 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32440 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32441 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32443 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32445 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32446 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32447 * streams/stropts.h (t_scalar_t): Define type.
32449 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32450 (_PATH_PRESERVE): Set to "/var/lib".
32451 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32453 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32456 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32457 if __dir_mkfile succeeded.
32459 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32460 checking for _hurd_dtablesize. Unlock it right after having
32461 finished _hurd_dtable allocation.
32463 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32465 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32466 * sysdeps/mach/hurd/configure: Regenerated.
32467 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32468 special-casing to...
32469 * sysdeps/gnu/configure.in: ... this new file.
32470 * sysdeps/unix/sysv/linux/configure: Regenerated.
32471 * sysdeps/gnu/configure: New generated file.
32473 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32474 for Linux: use nsec instead of usec, as well as:
32475 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32476 members of type struct timespec.
32477 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32479 (struct stat64): Likewise.
32480 (_STATBUF_ST_NSEC): New macro.
32481 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32483 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32484 __strtoul_internal rather than strtoul.
32486 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32488 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32491 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32493 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32494 which preserves existing values.
32495 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32497 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32499 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32500 TIMEOUT values. Return EINVAL for NFDS values either negative or
32501 greater than FD_SETSIZE.
32503 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32505 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32506 allocated, call __vm_protect to finish enabling the existing space, and
32507 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32508 allocate the remainder.
32510 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32512 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32513 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32515 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32517 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32518 sysdeps/mach/hurd/readlink.c.
32520 * posix/tst-sysconf.c (posix_options): Only use
32521 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32522 _POSIX_SYNCHRONIZED_IO when they are defined
32523 * sysdeps/mach/hurd/bits/posix_opt.h:
32524 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32525 (_XOPEN_REALTIME): Undefine macro.
32526 (_XOPEN_REALTIME_THREADS): Undefine macro.
32527 (_XOPEN_SHM): Undefine macro.
32528 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32530 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32532 (_POSIX_ASYNC_IO): Undefine macro.
32533 (_POSIX_PRIORITIZED_IO): Undefine macro.
32534 (_POSIX_SPIN_LOCKS): Define macro to -1.
32536 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32537 SA_NODEFER, SA_RESETHAND.
32538 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32539 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32542 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32544 * elf/Makefile (pldd-modules): Define unconditionally.
32546 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32548 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32550 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32552 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32553 Return ENOENT when name is empty.
32554 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32556 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32558 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32560 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32562 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32564 Fix mlock in all cases except non-readable pages.
32565 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32566 instead of VM_PROT_ALL as parameter to __vm_wire function.
32568 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32569 (__mkdir): When path is `/', just fail with EEXIST.
32570 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32572 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32574 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32575 <sys/uio.h> (for writev).
32576 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32577 and <sys/param.h> (for MIN).
32579 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32581 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32582 REQUESTED_TIME. Properly set the remaining time and return EINTR
32585 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32587 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32588 Depend on against $(link-rpcuserlibs).
32590 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32592 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32593 (__libc_stack_end): Do not use attribute_relro.
32594 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32595 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32596 to libthread-provided value.
32597 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32600 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32603 * bits/libc-lock.h (__libc_once_get): New macro.
32604 * sysdeps/mach/bits/libc-lock.h: Likewise.
32605 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32606 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32607 instead of using implementation details.
32609 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32610 * libio/freopen.c: Likewise.
32611 * libio/freopen64.c: Likewise.
32612 * misc/syslog.c: Likewise.
32613 * nscd/connections.c: Likewise.
32614 * nscd/netgroupcache.c: Likewise.
32615 * sysdeps/posix/getcwd.c: Likewise.
32617 2012-05-10 Roland McGrath <roland@hack.frob.com>
32619 * math/w_ilogbf.c: Add #include <limits.h>.
32621 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32623 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32624 path instead of returning without unlocking.
32626 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32627 immediate-write ioctls.
32628 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32630 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32632 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32633 __builtin_frame_address instead of making assumptions about the
32634 location of the return address relative to DATA. Force early load of
32635 the return address.
32636 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32637 __builtin_frame_address.
32640 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32641 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32642 implement dup3 and do some further code clean-ups.
32643 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32644 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32646 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32648 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32650 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32651 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32652 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32653 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32654 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32657 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32658 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32659 when handler == SIG_ERR, not when handler != SIG_ERR.
32661 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32663 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32664 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32667 accept4 for GNU Hurd.
32668 * include/sys/socket.h (__libc_accept4): New prototype.
32669 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32670 to implement __libc_accept4.
32671 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32673 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32675 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32676 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32677 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32678 signal-defines.sym.
32680 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32682 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32684 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32686 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32687 assertion on O_CLOEXEC flag.
32688 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32689 * hurd/intern-fd.c: Likewise.
32690 * hurd/port2fd.c: Likewise.
32692 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32695 * bits/in.h (IPV6_PKTINFO): Define new macro.
32696 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32698 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32703 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32704 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32705 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32706 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32707 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32708 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32709 * math/libm-test.inc (logb_test) : Additional logb tests.
32711 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32712 Andreas Jaeger <aj@suse.de>
32714 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32715 * configure: Regenerated.
32716 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32717 * config.make.in (link-obsolete-rpc): New substituted variable.
32718 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32719 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32720 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32721 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32722 so that libc.a contains the symbols.
32723 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32724 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32725 * sunrpc/auth_none.c: Likewise.
32726 * sunrpc/auth_unix.c: Likewise.
32727 * sunrpc/authdes_prot.c: Likewise.
32728 * sunrpc/authuxprot.c: Likewise.
32729 * sunrpc/clnt_gen.c: Likewise.
32730 * sunrpc/clnt_perr.c: Likewise.
32731 * sunrpc/clnt_raw.c: Likewise.
32732 * sunrpc/clnt_simp.c: Likewise.
32733 * sunrpc/clnt_tcp.c: Likewise.
32734 * sunrpc/clnt_udp.c: Likewise.
32735 * sunrpc/clnt_unix.c: Likewise.
32736 * sunrpc/des_crypt.c: Likewise.
32737 * sunrpc/des_soft.c: Likewise.
32738 * sunrpc/get_myaddr.c: Likewise.
32739 * sunrpc/key_call.c: Likewise.
32740 * sunrpc/key_prot.c: Likewise.
32741 * sunrpc/netname.c: Likewise.
32742 * sunrpc/pm_getmaps.c: Likewise.
32743 * sunrpc/pm_getport.c: Likewise.
32744 * sunrpc/pmap_clnt.c: Likewise.
32745 * sunrpc/pmap_prot.c: Likewise.
32746 * sunrpc/pmap_prot2.c: Likewise.
32747 * sunrpc/pmap_rmt.c: Likewise.
32748 * sunrpc/publickey.c: Likewise.
32749 * sunrpc/rpc_cmsg.c: Likewise.
32750 * sunrpc/rpc_common.c: Likewise.
32751 * sunrpc/rpc_dtable.c: Likewise.
32752 * sunrpc/rpc_prot.c: Likewise.
32753 * sunrpc/rpc_thread.c: Likewise.
32754 * sunrpc/rtime.c: Likewise.
32755 * sunrpc/svc.c: Likewise.
32756 * sunrpc/svc_auth.c: Likewise.
32757 * sunrpc/svc_raw.c: Likewise.
32758 * sunrpc/svc_run.c: Likewise.
32759 * sunrpc/svc_tcp.c: Likewise.
32760 * sunrpc/svc_udp.c: Likewise.
32761 * sunrpc/svc_unix.c: Likewise.
32762 * sunrpc/svcauth_des.c: Likewise.
32763 * sunrpc/xcrypt.c: Likewise.
32764 * sunrpc/xdr.c: Likewise.
32765 * sunrpc/xdr_array.c: Likewise.
32766 * sunrpc/xdr_float.c: Likewise.
32767 * sunrpc/xdr_intXX_t.c: Likewise.
32768 * sunrpc/xdr_mem.c: Likewise.
32769 * sunrpc/xdr_rec.c: Likewise.
32770 * sunrpc/xdr_ref.c: Likewise.
32771 * sunrpc/xdr_sizeof.c: Likewise.
32772 * sunrpc/xdr_stdio.c: Likewise.
32774 2012-05-10 Roland McGrath <roland@hack.frob.com>
32776 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32777 change. Update copyright years.
32779 2012-05-10 Joseph Myers <joseph@codesourcery.com>
32781 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32783 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32784 Joseph Myers <joseph@codesourcery.com>
32785 Paul Pluzhnikov <ppluzhnikov@google.com>
32788 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32790 [cross-compiling] (extra-libs): Likewise.
32791 [cross-compiling] (extra-libs-others): Likewise.
32792 [cross-compiling] (librpcsvc-routines): Likewise.
32793 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32794 [cross-compiling] (omit-deps): Likewise.
32795 (sunrpc-CPPFLAGS): New variable.
32796 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32797 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32798 (cross-rpcgen-objs): New variable.
32799 (extra-objs): Append $(cross-rpcgen-objs).
32800 ($(cross-rpcgen-objs)): New rule.
32801 ($(objpfx)cross-rpcgen): Likewise.
32802 (rpcgen-cmd): Define to use $(built-program-file). Expand
32804 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32805 ($(objpfx)x%.stmp): Likewise.
32806 * sunrpc/proto.h [IS_IN_build] (_): Define.
32807 [IS_IN_build] (_libc_intl_domainname): Likewise.
32809 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32811 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32812 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32813 and R_X86_64_TPOFF64.
32815 2012-05-10 Joseph Myers <joseph@codesourcery.com>
32817 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32818 sysdeps/unix/sysv/syscalls.list.
32821 * sysdeps/unix/sysv/syscalls.list: Remove file.
32823 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32826 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32827 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32828 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32829 (__LC_IDENTIFICATION): Make these macros useful in #if
32830 expressions, as required by C99.
32832 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32834 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32835 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32838 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32840 * stdlib/longlong.h: Updated from GCC.
32842 2012-05-09 Andreas Jaeger <aj@suse.de>
32844 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32845 default is first entry.
32846 (run_mode): Set type.
32847 (main): Remove informal message about syslog.
32848 (options): Fix typo.
32851 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32854 (llrintf): Likewise.
32855 (llrint): Likewise.
32858 (nearbyint): Likewise.
32859 (nearbyintf): Likewise.
32861 2012-05-09 Andreas Jaeger <aj@suse.de>
32862 Pedro Alves <palves@redhat.com>
32864 * nscd/nscd.c (run_mode): Use enum.
32865 (main): Cleanup coding style issue.
32867 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
32868 Andreas Jaeger <aj@suse.de>
32870 * nscd/nscd.c (go_background): Replaced with...
32871 (run_mode): ... this.
32872 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32873 (options): Add -F --foreground.
32874 (main): Implement it.
32875 (parse_opt): Parse it.
32877 2012-05-09 Andreas Jaeger <aj@suse.de>
32880 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32881 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32882 -Wconversion warning.
32883 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32886 2012-05-09 Joseph Myers <joseph@codesourcery.com>
32888 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32890 (LC_ALL): Use macro-int-constant.
32891 (LC_COLLATE): Likewise.
32892 (LC_CTYPE): Likewise.
32893 (LC_MESSAGES): Likewise.
32894 (LC_MONETARY): Likewise.
32895 (LC_NUMERIC): Likewise.
32896 (LC_TIME): Likewise.
32897 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32898 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32899 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32900 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32902 [C99-based standards] (float_t): Expect type.
32903 [C99-based standards] (double_t): Expect type.
32904 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32906 [C99-based standards] (HUGE_VALL): Likewise.
32907 [C99-based standards] (INFINITY): Likewise.
32908 [C99-based standards] (NAN): Likewise.
32909 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32910 [C99-based standards] (FP_NAN): Likewise.
32911 [C99-based standards] (FP_NORMAL): Likewise.
32912 [C99-based standards] (FP_SUBNORMAL): Likewise.
32913 [C99-based standards] (FP_ZERO): Likewise.
32914 [C99-based standards] (FP_FAST_FMA): Use
32915 optional-macro-int-constant. Specify type. Require == 1.
32916 [C99-based standards] (FP_FAST_FMAF): Likewise.
32917 [C99-based standards] (FP_FAST_FMAL): Likewise.
32918 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32919 [C99-based standards] (FP_ILOGBNAN): Likewise.
32920 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32922 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32923 [C99-based standards] (math_errhandling): Specify type.
32924 [ISO99 || ISO11] (signgam): Do not allow.
32925 [non-C99-based standards] (copysignf): Do not allow.
32926 [non-C99-based standards] (exp2f): Likewise.
32927 [non-C99-based standards] (log2f): Likewise.
32928 [non-C99-based standards] (modff): Allow.
32929 [non-C99-based standards] (erff): Do not allow.
32930 [non-C99-based standards] (erfcf): Likewise.
32931 [non-C99-based standards] (gammaf): Likewise.
32932 [non-C99-based standards] (hypotf): Likewise.
32933 [non-C99-based standards] (j0f): Likewise.
32934 [non-C99-based standards] (j1f): Likewise.
32935 [non-C99-based standards] (jnf): Likewise.
32936 [non-C99-based standards] (lgammaf): Likewise.
32937 [non-C99-based standards] (tgammaf): Likewise.
32938 [non-C99-based standards] (y0f): Likewise.
32939 [non-C99-based standards] (y1f): Likewise.
32940 [non-C99-based standards] (ynf): Likewise.
32941 [non-C99-based standards] (isnanf): Likewise.
32942 [non-C99-based standards] (acoshf): Likewise.
32943 [non-C99-based standards] (asinhf): Likewise.
32944 [non-C99-based standards] (atanhf): Likewise.
32945 [non-C99-based standards] (cbrtf): Likewise.
32946 [non-C99-based standards] (expm1f): Likewise.
32947 [non-C99-based standards] (ilogbf): Likewise.
32948 [non-C99-based standards] (log1pf): Likewise.
32949 [non-C99-based standards] (logbf): Likewise.
32950 [non-C99-based standards] (nextafterf): Likewise.
32951 [non-C99-based standards] (remainderf): Likewise.
32952 [non-C99-based standards] (rintf): Likewise.
32953 [non-C99-based standards] (scalbf): Likewise.
32954 [non-C99-based standards] (copysignl): Likewise.
32955 [non-C99-based standards] (exp2l): Likewise.
32956 [non-C99-based standards] (log2l): Likewise.
32957 [non-C99-based standards] (modfl): Allow.
32958 [non-C99-based standards] (erfl): Do not allow.
32959 [non-C99-based standards] (erfcl): Likewise.
32960 [non-C99-based standards] (gammal): Likewise.
32961 [non-C99-based standards] (hypotl): Likewise.
32962 [non-C99-based standards] (j0l): Likewise.
32963 [non-C99-based standards] (j1l): Likewise.
32964 [non-C99-based standards] (jnl): Likewise.
32965 [non-C99-based standards] (lgammal): Likewise.
32966 [non-C99-based standards] (tgammal): Likewise.
32967 [non-C99-based standards] (y0l): Likewise.
32968 [non-C99-based standards] (y1l): Likewise.
32969 [non-C99-based standards] (ynl): Likewise.
32970 [non-C99-based standards] (isnanl): Likewise.
32971 [non-C99-based standards] (acoshl): Likewise.
32972 [non-C99-based standards] (asinhl): Likewise.
32973 [non-C99-based standards] (atanhl): Likewise.
32974 [non-C99-based standards] (cbrtl): Likewise.
32975 [non-C99-based standards] (expm1l): Likewise.
32976 [non-C99-based standards] (ilogbl): Likewise.
32977 [non-C99-based standards] (log1pl): Likewise.
32978 [non-C99-based standards] (logbl): Likewise.
32979 [non-C99-based standards] (nextafterl): Likewise.
32980 [non-C99-based standards] (remainderl): Likewise.
32981 [non-C99-based standards] (rintl): Likewise.
32982 [non-C99-based standards] (scalbl): Likewise.
32983 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32984 [non-C99-based standards] (FP_*): Do not allow.
32985 [C99-based standards] (FP_*): Change to
32986 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32987 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32989 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32990 (SIG_ERR): Likewise.
32991 [X/Open-based standards] (SIG_HOLD): Likewise.
32992 (SIG_IGN): Likewise.
32993 (SIGABRT): Use macro-int-constant. Specify type. Require
32995 (SIGFPE): Likewise.
32996 (SIGILL): Likewise.
32997 (SIGINT): Likewise.
32998 (SIGSEGV): Likewise.
32999 (SIGTER): Likewise.
33000 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33001 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33002 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33003 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33004 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33005 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33006 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33007 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33008 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33009 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33010 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33011 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33012 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33013 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33014 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33015 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33016 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33017 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33018 [X/Open-based standards] (SIGTRAP): Likewise.
33019 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33020 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33021 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33022 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33023 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33026 2012-05-08 Ian Wienand <ianw@vmware.com>
33029 * time/tzset.c (__tzset_parse_tz): Update default rules for
33030 daylight time changes in the Energy Policy Act of 2005.
33032 2012-05-09 Andreas Jaeger <aj@suse.de>
33035 * elf/ldconfig.c (parse_conf): Change string to make clear that
33036 ldconfig only issued a warning if ld.so.conf does not exist.
33038 2012-05-08 David S. Miller <davem@davemloft.net>
33040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33041 movxtod instead of popping the value on the stack.
33043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33045 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33047 * config.h.in: Add HAVE_ARM_PCS_VFP.
33049 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33052 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33053 checking but the checks are disabled for any reason.
33055 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33057 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33058 and ELF64_R_TYPE with ELFW(R_TYPE).
33060 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33062 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33063 (ulimit): Likewise.
33065 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33066 (settimeofday): Likewise.
33068 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33070 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33071 a struct th_u2 inside the union, and move tu_block/tu_code into
33072 a new th_u3 union of tu_block/tu_code inside of that. Move
33073 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33074 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33075 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33076 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33077 (th_stuff): Change to th_u1.tu_stuff.
33079 (th_msg): Change to th_u1.th_u2.tu_data.
33081 2012-05-07 David S. Miller <davem@davemloft.net>
33083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33086 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33087 (SETUP_PIC_REG): Use it.
33088 (SETUP_PIC_REG_LEAF): Use it.
33090 2012-05-07 Joseph Myers <joseph@codesourcery.com>
33094 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33096 (EXPL_FINITE): Likewise.
33097 (FLDLOG): Likewise.
33098 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33099 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33101 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33103 (EXPL_FINITE): Likewise.
33104 (FLDLOG): Likewise.
33105 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33106 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33108 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33109 test of -max_value argument for long double.
33110 * sysdeps/i386/fpu/libm-test-ulps: Update.
33111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33113 2012-05-06 David S. Miller <davem@davemloft.net>
33115 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33116 quad soft-float symbols whose references which are compiler
33118 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33120 2012-05-06 Joseph Myers <joseph@codesourcery.com>
33124 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33126 (EXPL_FINITE): Likewise.
33127 (FLDLOG): Likewise.
33130 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33131 Adjust comments for base varying.
33132 (__expl_finite): Change alias to EXPL_FINITE.
33133 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33135 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33136 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33137 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33138 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33139 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33141 (EXPL_FINITE): Likewise.
33142 (FLDLOG): Likewise.
33145 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33146 Adjust comments for base varying.
33147 (__expl_finite): Change alias to EXPL_FINITE.
33148 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33153 * math/libm-test.inc (check_float_internal): Correct ulp
33154 calculation for subnormal expected results.
33156 2012-05-06 Andreas Jaeger <aj@suse.de>
33158 * Makeconfig (+math-flags): New, set to -frounding-math.
33159 (+cflags): Add +math-flags so that all of glibc gets compiled with
33162 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33164 2012-05-05 Joseph Myers <joseph@codesourcery.com>
33166 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33172 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33173 (__ieee754_expl): Allow for and saturate large arguments.
33174 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33175 (u_threshold): Likewise.
33176 (__exp): Call __ieee754_exp before checking for overflow and
33178 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33179 (u_threshold): Likewise.
33180 (__expf): Call __ieee754_expf before checking for overflow and
33182 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33183 (u_threshold): Likewise.
33184 (__expl): Call __ieee754_expl before checking for overflow and
33186 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33187 (__ieee754_expl): Allow for and saturate large arguments.
33188 * math/libm-test.inc (exp_test): Add another test. Do not allow
33189 missing overflow exception on overflow.
33190 (expm1_test): Do not allow missing overflow exception on overflow.
33192 * sysdeps/i386/fpu/e_expl.c: Move to ...
33193 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33194 rather than using inline asm.
33195 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33196 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33197 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33199 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33202 (signal): Likewise.
33206 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33208 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33209 sysdeps/unix/common/syscalls.list.
33210 (fchmod): Likewise.
33211 (fchown): Likewise.
33212 (ftruncate): Likewise.
33213 (getrusage): Likewise.
33214 (gettimeofday): Likewise.
33215 (setpgid): Likewise.
33216 (setregid): Likewise.
33217 (setreuid): Likewise.
33218 (sigaction): Likewise.
33219 (truncate): Likewise.
33220 (vhangup): Likewise.
33221 * sysdeps/unix/common/syscalls.list: Remove file.
33222 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33223 * sysdeps/unix/sysv/linux/Implies: Likewise.
33225 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33227 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33229 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33233 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33236 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33239 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33242 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33245 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33248 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33251 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33255 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33259 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33262 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33266 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33270 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33272 * sysdeps/unix/common/bits/dirent.h: Remove file.
33273 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33275 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33276 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33277 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33278 * sysdeps/unix/bsd/isatty.c: Likewise.
33279 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33280 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33281 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33283 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33286 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33287 long double comparison inaccuracies.
33288 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33291 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33293 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33294 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33296 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33299 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33300 nonzero digits before rounding a hex value.
33301 * stdlib/tst-strtod.c (tests): Add another test.
33303 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33305 * sysdeps/s390/fpu/libm-test-ulps: Update.
33307 2012-05-03 Andreas Jaeger <aj@suse.de>
33309 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33310 does not get optimized out.
33311 (malloc_opt_barrier): New.
33313 2012-05-03 Andreas Jaeger <aj@suse.de>
33314 Roland McGrath <roland@hack.frob.com>
33316 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33317 intermediate file deletion.
33318 (generated): Add .symlist files.
33320 2012-05-03 Joseph Myers <joseph@codesourcery.com>
33323 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33324 Redirect under this condition.
33325 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33326 [__USE_GNU] (__dprintf_chk): Not under this condition.
33327 [__USE_GNU] (__vdprintf_chk): Likewise.
33328 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33329 under this condition.
33330 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33331 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33332 [__USE_XOPEN2K8] (vdprintf): Likewise.
33333 [__USE_GNU] (__dprintf_chk): Not under this condition.
33334 [__USE_GNU] (__vdprintf_chk): Likewise.
33335 [__USE_GNU] (dprintf): Likewise.
33336 [__USE_GNU] (vdprintf): Likewise.
33338 2012-05-03 Roland McGrath <roland@hack.frob.com>
33340 * elf/Makefile (common-generated): Set this instead of generated for
33341 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33342 $(all-built-dso)-derived lists.
33344 2012-05-03 Andreas Jaeger <aj@suse.de>
33346 * sysdeps/i386/fpu/libm-test-ulps: Update.
33349 * FAQ.in: Likewise.
33350 * scripts/gen-FAQ.pl: Likewise.
33351 * manual/install.texi (Installation): Point to online location of
33353 * Makefile (files-for-dist): Remove FAQ.
33356 2012-05-02 Allan McRae <allan@archlinux.org>
33358 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33359 (LDFLAGS-reldepmod5.so): Likewise.
33360 (LDFLAGS-reldep6mod1.so): Likewise.
33361 (LDFLAGS-reldep6mod4.so): Likewise.
33362 (LDFLAGS-reldep8mod3.so): Likewise.
33363 (LDFLAGS-unload4mod1.so): Likewise.
33364 (LDFLAGS-unload4mod2.so): Likewise.
33365 (LDFLAGS-tst-initorder): Likewise.
33366 (LDFLAGS-tst-initordera2.so): Likewise.
33367 (LDFLAGS-tst-initordera3.so): Likewise.
33368 (LDFLAGS-tst-initordera4.so): Likewise.
33369 (LDFLAGS-tst-initorderb2.so): Likewise.
33370 (LDFLAGS-noload): Likewise.
33371 (LDFLAGS-next): Likewise.
33372 (LDFLAGS-order2mod1.so): Likewise.
33373 (LDFLAGS-order2mod2.so): Likewise.
33374 (LDFLAGS-tst-initorder2): Likewise.
33375 (LDFLAGS-tst-initorder2a.so): Likewise.
33376 (LDFLAGS-tst-initorder2b.so): Likewise.
33377 (LDFLAGS-tst-initorder2c.so): Likewise.
33378 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33380 2012-05-02 David S. Miller <davem@davemloft.net>
33382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33384 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33387 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33389 2012-05-02 Andreas Jaeger <aj@suse.de>
33391 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33392 since we manipulate rounding mode.
33393 (CPPFLAGS-test-idouble.c): Likewise.
33394 (CPPFLAGS-test-ifloat.c): Likewise.
33395 (CFLAGS-test-ldouble.c): Likewise.
33396 (CFLAGS-test-double.c): Likewise.
33397 (CFLAGS-test-float.c): Likewise.
33398 (CFLAGS-test-misc.c): Likewise.
33399 (CFLAGS-test-test-fenv.c): Likewise.
33401 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33405 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33406 comparisons to determine direction to adjust input.
33408 2012-05-01 Roland McGrath <roland@hack.frob.com>
33410 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33411 output to the target.
33413 * scripts/localplt.awk: New file.
33414 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33415 (check-localplt-CFLAGS): Variable removed.
33416 ($(all-built-dso:=.jmprel)): New static pattern rule.
33417 (generated): Add those targets.
33418 (localplt-built-dso): New variable.
33419 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33421 * elf/check-localplt.c: File removed.
33423 * scripts/check-execstack.awk: New file.
33424 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33425 (check-execstack-CFLAGS): Variable removed.
33426 ($(objpfx)check-execstack.h): Target removed.
33427 ($(objpfx)execstack-default): New target.
33428 (generated): Add that instead of check-execstack.h.
33429 ($(all-built-dso:=.phdr)): New static pattern rule.
33430 (generated): Add those targets.
33431 * elf/check-execstack.c: File removed.
33433 * scripts/check-textrel.awk: New file.
33434 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33435 (check-textrel-CFLAGS): Variable removed.
33436 (all-built-dso): Use := to define.o
33437 ($(all-built-dso:=.dyn)): New static pattern rule.
33438 (generated): Add those targets.
33439 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33440 * config.make.in (READELF): New substituted variable.
33441 * elf/check-textrel.c: File removed.
33443 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33445 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33447 * conform/data/ctype.h-data [C99-based standards] (isblank):
33449 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33450 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33451 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33452 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33453 Specify type. Require positive value.
33454 (EILSEQ): Likewise.
33455 (ERANGE): Likewise.
33456 [ISO || POSIX] (EILSEQ): Do not expect.
33457 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33458 Specify type. Require positive value.
33459 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33460 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33461 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33462 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33463 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33464 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33465 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33466 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33467 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33468 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33469 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33470 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33471 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33472 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33473 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33474 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33475 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33476 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33477 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33478 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33479 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33480 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33481 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33482 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33483 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33484 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33485 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33486 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33487 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33488 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33489 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33490 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33491 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33492 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33493 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33494 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33495 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33496 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33497 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33498 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33499 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33500 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33501 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33502 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33503 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33504 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33505 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33506 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33507 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33508 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33509 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33510 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33511 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33512 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33513 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33514 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33515 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33516 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33517 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33518 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33519 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33520 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33521 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33522 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33523 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33524 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33525 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33526 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33527 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33528 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33529 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33530 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33531 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33532 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33533 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33534 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33535 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33537 (FLT_ROUNDS): Expect as macro, not constant.
33538 (FLT_MANT_DIG): Use macro-int-constant.
33539 (DBL_MANT_DIG): Likewise.
33540 (LDBL_MANT_DIG): Likewise.
33541 (FLT_DIG): Likewise.
33542 (DBL_DIG): Likewise.
33543 (LDBL_DIG): Likewise.
33544 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33545 (DBL_MIN_EXP): Likewise.
33546 (LDBL_MIN_EXP): Likewise.
33547 (FLT_MAX_EXP): Use macro-int-constant.
33548 (DBL_MAX_EXP): Likewise.
33549 (LDBL_MAX_EXP): Likewise.
33550 (FLT_MAX_10_EXP): Likewise.
33551 (DBL_MAX_10_EXP): Likewise.
33552 (LDBL_MAX_10_EXP): Likewise.
33553 (FLT_MAX): Use macro-constant.
33554 (DBL_MAX): Likewise.
33555 (LDBL_MAX): Likewise.
33556 (FLT_EPSILON): Use macro-constant. Give upper bound.
33557 (DBL_EPSILON): Likewise.
33558 (LDBL_EPSILON): Likewise.
33559 (FLT_MIN): Likewise.
33560 (DBL_MIN): Likewise.
33561 (LDBL_MIN): Likewise.
33562 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33563 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33564 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33565 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33566 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33567 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33568 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33569 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33570 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33571 [ISO11] (FLT_TRUE_MIN): Likewise.
33572 [ISO11] (LDBL_TRUE_MIN): Likewise.
33573 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33574 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33575 (SCHAR_MIN): Use macro-int-constant. Specify type.
33576 (SCHAR_MAX): Likewise.
33577 (UCHAR_MAX): Likewise.
33578 (CHAR_MIN): Likewise.
33579 (CHAR_MAX): Likewise.
33580 (MB_LEN_MAX): Use macro-int-constant.
33581 (SHRT_MIN): Use macro-int-constant. Specify type.
33582 (SHRT_MAX): Likewise.
33583 (USHRT_MAX): Likewise.
33584 (INT_MAX): Likewise.
33585 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33587 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33589 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33591 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33592 bound negative. Suffix upper bound with "L".
33593 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33595 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33597 [C99-based standards] (LLONG_MAX): Likewise.
33598 [C99-based standards] (ULLONG_MAX): Likewise.
33599 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33601 [ISO11] (max_align_t): Require type.
33602 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33604 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33605 from $CFLAGS, without defining away __attribute__ calls.
33606 (checknamespace): Use $CFLAGS_namespace.
33608 * conform/conformtest.pl (@keywords): Only include C99 keywords
33609 for standards based on C99 or C11.
33611 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33613 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33616 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33617 usability of symbols in #if.
33619 * conform/conformtest.pl: If macro or constant types start
33620 "promoted:", expect the symbol to be of the following type
33621 promoted by the integer promotions.
33623 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33624 in one place. Also handle "macro-constant".
33626 * conform/conformtest.pl: Only accept expected macro values with
33627 "==". Parse all "macro" lines in one place.
33628 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33630 * conform/conformtest.pl: Handle braced types on "constant" lines
33631 instead of handling "typed-constant".
33632 * conform/data/signal.h-data: Use "constant" instead of
33635 * conform/conformtest.pl: Handle "optional-" at start of lines in
33636 one place rather than duplicating several cases. Handle each
33637 format of "macro" line with initial "optional-".
33639 * conform/conformtest.pl: Only accept expected constant or
33640 optional-constant values with "==". Parse all "constant" lines in
33641 one place. Parse all "optional-constant" lines in one place.
33642 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33643 * conform/data/fmtmsg.h-data: Likewise.
33644 * conform/data/netinet/in.h-data: Likewise.
33645 * conform/data/tar.h-data: Likewise.
33646 * conform/data/limits.h-data: Use "==" form on "constant" and
33647 "optional-constant" lines.
33649 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33650 Use -std=c99 for XOPEN2K.
33651 (@knownproblems): Remove.
33652 (newtoken): Don't check %isknown.
33654 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33655 Do not expect macro.
33656 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33657 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33658 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33659 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33660 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33661 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33662 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33663 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33664 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33665 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33666 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33667 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33668 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33669 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33670 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33671 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33672 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33673 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33674 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33675 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33676 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33677 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33678 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33679 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33680 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33681 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33682 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33683 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33684 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33685 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33686 [XPG3] (acosh): Likewise.
33687 [XPG3] (asinh): Likewise.
33688 [XPG3] (atanh): Likewise.
33689 [XPG3] (cbrt): Likewise.
33690 [XPG3] (expm1): Likewise.
33691 [XPG3] (ilogb): Likewise.
33692 [XPG3] (log1p): Likewise.
33693 [XPG3] (logb): Likewise.
33694 [XPG3] (nextafter): Likewise.
33695 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33696 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33697 [XPG3] (remainder): Likewise.
33698 [XPG3] (rint): Likewise.
33699 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33700 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33701 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33702 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33703 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33704 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33705 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33706 [UNIX98 || XOPEN2K] (scalb): Expect.
33707 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33708 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33709 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33710 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33711 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33712 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33713 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33714 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33715 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33716 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33717 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33718 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33719 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33720 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33721 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33722 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33723 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33724 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33725 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33726 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33727 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33728 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33729 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33730 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33731 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33732 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33733 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33734 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33735 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33736 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33737 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33738 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33739 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33740 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33741 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33742 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33743 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33744 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33745 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33746 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33747 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33748 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33749 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33750 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33751 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33752 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33753 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33754 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33755 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33756 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33757 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33758 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33759 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33760 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33761 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33762 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33763 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33764 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33765 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33766 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33767 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33768 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33769 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33770 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33771 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33772 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33773 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33774 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33775 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33776 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33777 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33778 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33779 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33780 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33781 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33782 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33783 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33784 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33785 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33786 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33787 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33788 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33789 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33790 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33791 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33792 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33793 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33794 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33795 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33796 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33797 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33798 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33799 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33800 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33801 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33802 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33803 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33804 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33805 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33806 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33807 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33808 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33809 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33810 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33811 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33812 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33813 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33814 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33815 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33816 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33817 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33818 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33819 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33820 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33821 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33822 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33823 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33824 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33825 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33826 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33827 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33828 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33829 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33830 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33831 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33832 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33833 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33834 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33835 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33836 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33837 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33838 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33839 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33840 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33841 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33842 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33843 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33845 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33846 _XOPEN_SOURCE_EXTENDED for XPG4.
33848 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33850 * Makeconfig (localtime): Remove variable.
33851 (inst_localtime-file): Likewise.
33853 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33874 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33878 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33879 comparisons to determine direction to adjust input.
33880 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33881 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33882 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33884 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33886 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33888 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33889 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33891 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33893 * math/libm-test.inc (nexttoward_test): Add more tests.
33895 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33898 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33899 in version GLIBC_2.1, not GLIBC_2.0.
33900 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33903 2012-04-30 Joseph Myers <joseph@codesourcery.com>
33906 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33908 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33909 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33910 * math/libm-test.inc (acos_test): Add more tests.
33911 (asin_test): Likewise.
33912 * sysdeps/i386/fpu/libm-test-ulps: Update.
33913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33916 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33918 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33919 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33920 * math/libm-test.inc (acos_test_tonearest): New function.
33921 (acos_test_towardzero): Likewise.
33922 (acos_test_downward): Likewise.
33923 (acos_test_upward): Likewise.
33924 (asin_test_tonearest): Likewise.
33925 (asin_test_towardzero): Likewise.
33926 (asin_test_downward): Likewise.
33927 (asin_test_upward): Likewise.
33928 (main): Call the new functions.
33929 * sysdeps/i386/fpu/libm-test-ulps: Update.
33930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33934 * math/e_exp10.c: Include <float.h>.
33935 (__ieee754_exp10): Handle underflow here rather than multiplying
33936 large negative argument by M_LN10.
33937 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33939 * math/e_exp10l.c: Include <float.h>.
33940 (__ieee754_exp10l): Handle underflow here rather than multiplying
33941 large negative argument by M_LN10l.
33942 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33943 spurious overflow exception on underflow.
33945 2012-04-29 Marek Polacek <polacek@redhat.com>
33947 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33948 (__fortify_function): New macro.
33949 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33950 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33951 __extern_always_inline.
33952 * libio/bits/stdio2.h: Likewise.
33953 * libio/bits/stdio.h: Likewise.
33954 * string/string.h: Likewise.
33955 * string/bits/string3.h: Likewise.
33956 * include/stdio.h: Likewise.
33957 * stdlib/bits/stdlib.h: Likewise.
33958 * stdlib/stdlib.h: Likewise.
33959 * rt/bits/mqueue2.h: Likewise.
33960 * rt/mqueue.h: Likewise.
33961 * posix/bits/unistd.h: Likewise.
33962 * posix/unistd.h: Likewise.
33963 * io/bits/poll2.h: Likewise.
33964 * io/bits/fcntl2.h: Likewise.
33965 * io/fcntl.h: Likewise.
33966 * io/sys/poll.h: Likewise.
33967 * misc/bits/syslog.h: Likewise.
33968 * misc/bits/syslog-ldbl.h: Likewise.
33969 * misc/sys/syslog.h: Likewise.
33970 * socket/bits/socket2.h: Likewise.
33971 * socket/sys/socket.h: Likewise.
33972 * debug/tst-chk1.c: Likewise.
33973 * wcsmbs/bits/wchar2.h: Likewise.
33974 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33975 * wcsmbs/wchar.h: Likewise.
33977 2012-04-29 Andreas Jaeger <aj@suse.de>
33979 * Makerules (tests): Remove enable-check-abi protection.
33980 (check-abi-warn): Remove.
33981 (check-abi-%): Remove check-abi-warn usage.
33983 * configure.in: Remove check-abi configure option.
33984 * configure: Regenerated.
33985 * config.make.in (enable-check-abi): Remove.
33987 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33990 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33991 double functions to double *_finite functions.
33994 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33995 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33997 * stdio-common/Makefile (tests): Add tst-sprintf3.
33998 * stdio-common/tst-sprintf3.c: New file.
34000 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34001 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34003 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34005 * conform/conformtest.pl: Remove duplicate typed-constant
34008 2012-04-28 David S. Miller <davem@davemloft.net>
34010 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34011 (check-abi-%): Remove AWK script prerequisite and explicit
34013 (check-abi): Rewrite to just diff the symlist with the abilist.
34014 (config-tls, config-abi-config): Delete, no longer used.
34015 (update-abi-%): Remove AWK script and explicit abilist directory.
34016 (update-abi): Rewrite to simply compare and conditionally copy the
34017 symlist and the sysdep abilist file. Remove update-abi-config
34019 * abilist/ld.abilist: Remove.
34020 * abilist/libBrokenLocale.abilist: Remove.
34021 * abilist/libanl.abilist: Remove.
34022 * abilist/libcrypt.abilist: Remove.
34023 * abilist/libdl.abilist: Remove.
34024 * abilist/librt.abilist: Remove.
34025 * abilist/libthread_db.abilist: Remove.
34026 * abilist/libutil.abilist: Remove.
34027 * scripts/extract-abilist.awk: Remove.
34028 * scripts/merge-abilist.awk: Remove.
34029 * sysdeps/generic/libcidn.abilist: New file.
34030 * sysdeps/generic/libnss_compat.abilist: New file.
34031 * sysdeps/generic/libnss_db.abilist: New file.
34032 * sysdeps/generic/libnss_dns.abilist: New file.
34033 * sysdeps/generic/libnss_files.abilist: New file.
34034 * sysdeps/generic/libnss_hesiod.abilist: New file.
34035 * sysdeps/generic/libnss_nis.abilist: New file.
34036 * sysdeps/generic/libnss_nisplus.abilist: New file.
34037 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34038 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34039 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34041 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34042 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34043 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34044 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34045 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34046 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34047 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34048 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34049 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34051 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34052 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34053 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34054 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34056 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34057 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34058 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34059 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34060 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34061 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34063 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34064 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34065 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34067 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34080 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34082 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34090 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34092 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34170 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34171 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34172 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34174 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34175 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34176 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34177 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34178 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34179 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34180 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34181 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34182 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34183 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34235 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34237 * conform/conformtest.pl: Fix typo in handling typed-constant from
34240 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34242 * README: Cut down references to pre-2.6 Linux kernels and
34243 Linuxthreads. Update lists of configurations in libc and ports
34244 and sort alphabetically. Say "or newer" with Linux kernel version
34247 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34249 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34252 * math/libm-test.inc (logb_test_downward): New test to expose
34253 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34256 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34259 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34261 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34262 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34264 2012-04-26 Joseph Myers <joseph@codesourcery.com>
34266 * sysdeps/unix/i386/brk.S: Remove file.
34267 * sysdeps/unix/i386/dl-brk.S: Likewise.
34268 * sysdeps/unix/i386/pipe.S: Likewise.
34269 * sysdeps/unix/i386/sigreturn.S: Likewise.
34270 * sysdeps/unix/i386/syscall.S: Likewise.
34271 * sysdeps/unix/i386/vfork.S: Likewise.
34272 * sysdeps/unix/i386/wait.S: Likewise.
34274 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34275 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34277 * configure.in (arm*-none*): Do not allow without
34278 --enable-hacker-mode.
34279 (netbsd*): Remove case setting base_os.
34280 (386bsd*): Likewise.
34281 (freebsd*): Likewise.
34284 (sunos*): Likewise.
34285 (ultrix*): Likewise.
34286 (newsos*): Likewise.
34287 (dynix*): Likewise.
34293 (minix*): Likewise.
34294 (irix4*): Likewise.
34295 (irix6*): Likewise.
34296 (solaris[2-9]*): Likewise.
34298 * configure: Regenerated.
34300 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34303 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34304 overflow or cancellation in calculating denominator.
34305 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34306 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34307 down expression to avoid unexpected rounding in newer GCCs.
34308 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34310 2012-04-26 David S. Miller <davem@davemloft.net>
34312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34313 long-double compat symbols.
34314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34328 2012-04-25 David S. Miller <davem@davemloft.net>
34330 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34331 HWCAP_* values only after the memory barriers have been defined.
34332 (atomic_full_barrier): Define.
34333 (atomic_read_barrier): Define.
34334 (atomic_write_barrier): Define.
34336 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34338 * shlib-versions: Add libgcc_s version information.
34339 * sysdeps/generic/libgcc_s.h: Remove.
34340 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34342 * sysdeps/gnu/unwind-resume.c: Likewise.
34343 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34345 2012-04-25 David S. Miller <davem@davemloft.net>
34347 * sysdeps/unix/sparc/brk.S: Delete.
34348 * sysdeps/unix/sparc/dl-brk.S: Delete.
34349 * sysdeps/unix/sparc/pipe.S: Delete.
34350 * sysdeps/unix/sparc/sysdep.S: Delete.
34351 * sysdeps/unix/sparc/sysdep.h: Delete.
34352 * sysdeps/unix/sparc/vfork.S: Delete.
34353 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34354 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34355 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34356 (ret_ERRVAL, r0, r1, MOVE): Define.
34357 (JUMPTARGET): Remove.
34358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34359 sysdeps/unix/sparc/sysdep.h
34360 (ENTRY, END): Remove.
34361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34363 2012-04-25 Joseph Myers <joseph@codesourcery.com>
34365 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34366 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34369 * timezone/README: Update upstream location and email address for
34371 * timezone/zdump.c: Update from tzcode 2012b.
34372 * timezone/zic.c: Likewise.
34374 * configure.in (libc_cv_as_needed): Remove test.
34375 * configure: Regenerated.
34376 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34377 conditional definition.
34378 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34379 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34380 * config.make.in (have-as-needed): Remove variable.
34382 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34383 Paul Pluzhnikov <ppluzhnikov@google.com>
34385 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34388 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34390 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34391 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34392 * sysdeps/sh/strlen.S: Likewise.
34394 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34396 * sysdeps/unix/fork.S: Remove file.
34397 * sysdeps/unix/i386/fork.S: Likewise.
34398 * sysdeps/unix/sparc/fork.S: Likewise.
34400 * sysdeps/unix/system.c: Remove file.
34401 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34403 * sysdeps/unix/getegid.S: Remove file.
34404 * sysdeps/unix/geteuid.S: Likewise.
34406 2012-04-24 Roland McGrath <roland@hack.frob.com>
34408 * scripts/check-localplt.awk: New file.
34409 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34411 * scripts/data/localplt-generic.data: Add a comment.
34413 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34414 NODE when __dir_mkfile failed.
34415 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34416 Reported by Ludovic Courtès <ludo@gnu.org>.
34418 2012-04-24 Andreas Jaeger <aj@suse.de>
34420 * Makerules (common-clean): Also remove gen-as-const-headers
34423 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34425 * Makerules (native-compile): Do not change working directory for
34426 build. Use $(OUTPUT_OPTION) in command.
34427 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34429 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34432 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34433 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34434 * math/libm-test.inc (floor_test): Add more tests.
34435 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34437 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34439 * sysdeps/unix/getdents.c: Remove file.
34440 * sysdeps/unix/sysv/getdents.c: Likewise.
34441 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34443 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34444 sysdeps/unix/mman/syscalls.list.
34446 (mprotect): Likewise.
34448 (munmap): Likewise.
34449 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34450 * sysdeps/unix/mman/syscalls.list: Remove.
34451 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34453 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34454 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34455 * configure: Regenerated.
34456 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34457 $(libgcc_s_suffix).
34458 * config.make.in (libgcc_s_suffix): Remove variable.
34460 2012-04-23 Joseph Myers <joseph@codesourcery.com>
34462 * sysdeps/unix/sysv/gethostname.c: Move to ...
34463 * sysdeps/posix/gethostname.c: ... here.
34465 * sysdeps/unix/execve.S: Remove file.
34467 * sysdeps/unix/_exit.S: Remove file.
34469 2012-04-23 Andreas Jaeger <aj@suse.de>
34472 * manual/Makefile: Remove make dist support, there's no
34473 need for a stand-alone documentation tar ball.
34474 (TEXI2DVI): Define always, it's not in Makeconfig.
34477 (edition): Removed.
34478 (glibc-doc-$(edition).tar): Removed
34482 (ETAGS): Remove, it's in Makeconfig.
34483 (move-if-change): Remove, it's in Makeconfig.
34485 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
34488 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34489 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34490 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34491 (strtod_l, strtof_l, strtold_l): Remove __wur.
34492 It is not necessarily an error to ignore strtol's return value.
34493 One can reliably look at the stored endptr to decide whether
34494 the number had valid syntax.
34496 2012-04-21 Andreas Jaeger <aj@suse.de>
34499 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34501 2012-04-21 Joseph Myers <joseph@codesourcery.com>
34503 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34504 * sysdeps/unix/sysv/Versions: Remove file.
34506 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34511 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
34514 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34515 version from __vm86.
34517 2012-04-20 Joseph Myers <joseph@codesourcery.com>
34519 * sysdeps/unix/common/lxstat.c: Remove file.
34520 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34522 * sysdeps/unix/sysv/Makefile: Remove file.
34524 * sysdeps/unix/sysv/direct.h: Remove file.
34526 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34527 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34528 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34529 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34530 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34531 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34532 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34534 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34536 * sysdeps/unix/xmknod.c: Remove file.
34537 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34539 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34541 * sysdeps/unix/sysv/i386/time.S: Remove file.
34543 * sysdeps/unix/fxstat.c: Remove file.
34544 * sysdeps/unix/xstat.c: Likewise.
34545 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34547 * sysdeps/unix/sysv/sigaction.c: Remove file.
34549 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34550 (sysdep_headers): Remove variable.
34551 [termio.h not in sysdep_headers] (generated): Likewise.
34552 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34553 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34554 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34555 * sysdeps/unix/sysv/tcflow.c: Likewise.
34556 * sysdeps/unix/sysv/tcflush.c: Likewise.
34557 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34558 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34559 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34560 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34561 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34563 * sysdeps/unix/siglist.c: Remove file.
34565 * sysdeps/unix/getppid.S: Remove file.
34567 * sysdeps/unix/mkdir.c: Remove file.
34568 * sysdeps/unix/rmdir.c: Likewise.
34570 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34572 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34574 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34575 errlist-compat value.
34577 2012-04-18 David S. Miller <davem@davemloft.net>
34579 * sysdeps/generic/memcopy.h (reg_char): Delete.
34580 * debug/strcat_chk.c: Use char, not reg_char.
34581 * debug/strcpy_chk.c: Likewise.
34582 * debug/strncat_chk.c: Likewise.
34583 * debug/strncpy_chk.c: Likewise.
34584 * string/memchr.c: Likewise.
34585 * string/memrchr.c: Likewise.
34586 * string/rawmemchr.c: Likewise.
34587 * string/strcat.c: Likewise.
34588 * string/strchr.c: Likewise.
34589 * string/strchrnul.c: Likewise.
34590 * string/strcmp.c: Likewise.
34591 * string/strcpy.c: Likewise.
34592 * string/strncat.c: Likewise.
34593 * string/strncmp.c: Likewise.
34594 * string/strncpy.c: Likewise.
34596 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34598 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34599 __builtin_memcopy is called when src and dest ranges are known to not
34602 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34604 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34605 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34606 fwd_align_merge macro call.
34607 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34608 bwd_align_merge macro call.
34609 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34611 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34613 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34614 bwd_align_merge macros.
34615 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34616 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34617 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34619 2012-04-18 David S. Miller <davem@davemloft.net>
34621 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34623 2012-04-18 Andreas Jaeger <aj@suse.de>
34626 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34627 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34628 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34630 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34631 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34632 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34634 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34635 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34636 Adjust for changed ldbl-128 files.
34638 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34639 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34640 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34642 2012-04-17 David S. Miller <davem@davemloft.net>
34644 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34646 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34648 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34649 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34650 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34651 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34652 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34653 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34655 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34658 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34659 * math/libm-test.inc: Add ilogb errno and exception tests.
34660 * math/w_ilogb.c: New file: ilogb wrapper.
34661 * math/w_ilogbf.c: New file: ilogbf wrapper.
34662 * math/w_ilogbl.c: New file: ilogbl wrapper.
34663 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34664 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34665 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34666 exception being thrown with 0.0 as argument.
34667 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34668 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34669 exception being thrown with 0.0 as argument.
34670 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34671 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34672 exception being thrown with 0.0 as argument.
34673 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34674 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34675 exception being thrown with 0.0 as argument.
34676 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34677 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34678 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34679 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34680 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34681 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34682 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34683 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34684 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34686 2012-04-17 Petr Baudis <pasky@ucw.cz>
34688 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34691 2012-04-16 Marek Polacek <polacek@redhat.com>
34693 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34695 2012-04-16 Marek Polacek <polacek@redhat.com>
34697 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34698 operands of fdivp instruction.
34700 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34702 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34703 * elf/tst-auditmod3b.c: Likewise.
34704 * elf/tst-auditmod4b.c: Likewise.
34705 * elf/tst-auditmod5b.c: Likewise.
34706 * elf/tst-auditmod6b.c: Likewise.
34707 * elf/tst-auditmod6c.c: Likewise.
34708 * elf/tst-auditmod7b.c: Likewise.
34709 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34710 * sysdeps/x86_64/preconfigure.in: Likewise.
34711 * sysdeps/x86_64/preconfigure: Regenerated.
34713 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34715 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34718 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
34720 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34721 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34723 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34726 * locale/iso-639.def: Fix gl language name. Spotted by
34729 2012-04-12 Roland McGrath <roland@hack.frob.com>
34732 * libio/libio.h (__io_write_fn): Update comment.
34734 2012-04-12 Petr Baudis <pasky@ucw.cz>
34737 * stdio.texi (Hook Functions): The user provided writer function
34738 is not allowed to return -1.
34740 2012-04-11 David S. Miller <davem@davemloft.net>
34742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34744 2012-04-11 Mike Frysinger <vapier@gentoo.org>
34746 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34747 Add a leading slash to rtkaio.
34749 2012-04-11 Jim Meyering <meyering@redhat.com>
34752 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34753 It is not necessarily an error to ignore fwrite's return
34754 value. One can reliably use ferror to test for errors after
34757 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34759 * bits/types.h (__snseconds_t): New type.
34760 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34762 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34763 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34764 (__SNSECONDS_T_TYPE): Likewise.
34765 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34766 (__SNSECONDS_T_TYPE): Likewise.
34767 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34768 (__SNSECONDS_T_TYPE): Likewise.
34770 2012-04-10 Andreas Jaeger <aj@suse.de>
34773 * manual/time.texi (Processor Time): Return type of times is
34774 elapsed real time since an arbitrary point in the past.
34775 (CPU Time): Move CLK_TCK from here...
34776 (Processor Time): ...to here. Correct description.
34777 * manual/conf.texi (Constants for Sysconf): Correct description of
34780 2012-04-10 David S. Miller <davem@davemloft.net>
34783 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34784 where the is a gap between DT_REL(A) and DT_JMPREL.
34786 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34788 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34789 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34790 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34792 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34794 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34795 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34796 (dl_main): Handle --inhibit-cache.
34797 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34799 * elf/dl-load.c (_dl_map_object): Use it.
34800 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34802 2012-04-09 Joseph Myers <joseph@codesourcery.com>
34805 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34806 (__ieee754_powl): Saturate large exponents rather than testing for
34807 overflow of y*log2(x).
34808 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34809 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34813 * math/s_ctan.c: Include <float.h>.
34814 (__ctan): Avoid internal overflow or cancellation in calculating
34816 * math/s_ctanf.c: Likewise.
34817 * math/s_ctanl.c: Likewise.
34818 * math/s_ctanh.c: Likewise.
34819 * math/s_ctanhf.c: Likewise.
34820 * math/s_ctanhl.c: Likewise.
34821 * math/libm-test.inc (ctan_test): Add more tests.
34822 (ctanh_test): Likewise.
34823 * sysdeps/i386/fpu/libm-test-ulps: Update.
34824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34826 2012-04-09 Andreas Jaeger <aj@suse.de>
34829 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34830 is an optional BSD extension.
34833 * manual/stdio.texi (Opening Streams): Document additional fopen
34836 2012-04-09 Roland McGrath <roland@hack.frob.com>
34838 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34839 %eax without telling the compiler.
34841 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34844 * manual/install.texi: Use sourceware.org.
34846 2012-04-09 Joseph Myers <joseph@codesourcery.com>
34849 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34850 (__ieee754_pow): Generate overflow and underflow using huge*huge
34851 and tiny*tiny rather than just returning constant infinity or zero
34852 for large exponents.
34853 * math/libm-test.inc (pow_test): Require overflow exceptions for
34854 applicable cases of large exponents.
34857 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34858 (__ieee754_pow): Use iterative multiplication algorithm only for
34859 integer exponents with absolute value below 1024. Check for odd
34860 integer exponents when using algorithm for real exponents.
34861 * math/libm-test.inc (pow_test): Add more tests.
34862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34864 2012-04-08 Joseph Myers <joseph@codesourcery.com>
34867 * math/libm-test.inc (exp_test): Do not allow overflow exception
34870 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34873 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34874 instead of __kernel_standard_f.
34876 2012-04-08 Mike Frysinger <vapier@gentoo.org>
34878 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34879 * sysdeps/x86_64/memset_chk.S: Likewise.
34881 2012-04-08 Andreas Jaeger <aj@suse.de>
34884 * manual/startup.texi (Environment Access): Describe return value
34885 for putenv and setenv.
34888 * manual/filesys.texi (Directory Entries): Add description for
34892 * manual/filesys.texi (Directory Entries): Clarify that it's file
34893 system not operating system in the description of DT_UNKNOWN.
34896 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34898 2012-04-08 Stephen Compall <s11@member.fsf.org>
34901 * manual/llio.texi (Opening and Closing Files): Add cross
34902 reference to explain mode argument.
34904 2012-04-07 Mike Frysinger <vapier@gentoo.org>
34906 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34907 * sysdeps/x86_64/memset_chk.S: Likewise.
34909 2012-04-07 David S. Miller <davem@davemloft.net>
34911 * elf/elf.h (R_SPARC_WDISP10): Define.
34912 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34914 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34915 R_SPARC_SIZE64 and R_SPARC_H34.
34917 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34919 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34920 conditions and remove no longer applicable assertion.
34922 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34924 * bits/byteswap.h: Include <features.h>.
34925 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34926 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34928 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34930 * bits/byteswap.h (__bswap_16): Removed.
34931 Include <bits/byteswap-16.h> to get __bswap_16.
34932 * sysdeps/i386/bits/byteswap.h: Likewise.
34933 * sysdeps/s390/bits/byteswap.h: Likewise.
34934 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34935 * bits/byteswap-16.h: New file.
34936 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34937 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34938 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34939 * string/Makefile (headers): Add bits/byteswap-16.h.
34941 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34944 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34946 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34947 * nss/tst-nss-static.c: New.
34949 2012-04-06 Robert Millan <rmh@gnu.org>
34952 * manual/llio.texi (File Position Primitive): lseek
34953 refers to WHENCE when it really means OFFSET.
34955 2012-04-06 Andreas Jaeger <aj@suse.de>
34957 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34958 strncmp declarations.
34960 * abilist/libc.abilist: Add __poll and __ppoll.
34962 2012-04-05 David S. Miller <davem@davemloft.net>
34964 * scripts/check-local-headers.sh: Accept a host triplet in the
34965 path matched by the exclude regexp.
34967 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34969 * sysdeps/powerpc/powerpc32/dl-machine.h
34970 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34971 * sysdeps/s390/s390-32/dl-machine.h
34972 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34973 * sysdeps/sparc/sparc32/dl-machine.h
34974 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34975 * sysdeps/sparc/sparc64/dl-machine.h
34976 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34978 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34980 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
34981 undefined symbol errors.
34983 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
34986 2012-04-05 Michael Matz <matz@suse.de>
34989 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34991 2012-04-05 Andreas Jaeger <aj@suse.de>
34994 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34997 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34999 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35000 which ROUND is no valid rounding mode.
35002 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35004 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35006 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35008 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35010 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35011 an exception using FPU order intentionally.
35013 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35015 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35016 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35017 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35018 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35020 2012-04-05 Simon Josefsson <simon@josefsson.org>
35023 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35024 EINVAL when BUFLEN is too smal.
35026 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35029 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35030 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35032 2012-04-03 Andreas Jaeger <aj@suse.de>
35035 * manual/setjmp.texi (System V contexts): Fix sentence.
35038 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35039 New macro for this case.
35040 [!__GNUC__] (__bswap_64): New inline function for this case.
35041 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35042 * bits/byteswap.h: Likewise.
35043 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35044 ull, guard with __GLIBC_HAVE_LONG_LONG.
35046 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35047 __GLIBC_HAVE_LONG_LONG.
35049 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35050 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35052 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35055 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35056 inptr and inend, rather than using last_ch.
35058 2012-04-02 David S. Miller <davem@davemloft.net>
35060 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35061 * stdio-common/printf-parse.h (read_int): Change return type to
35062 'int', return -1 on INT_MAX overflow.
35063 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35064 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35065 overflows INT_MAX. Check for overflow of in-format-string precision
35066 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35067 SIZE_MAX not INT_MAX for integer overflow test.
35068 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35069 skip the construct in the format string but do not record anything.
35070 * stdio-common/bug22.c: Adjust to test both width/prevision
35071 INT_MAX overflow as well as total length INT_MAX overflow. Check
35072 explicitly for proper errno values.
35074 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35076 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35078 * string/test-strcmp.c [! WIDE]: Likewise.
35079 * time/tst-mktime2.c: Likewise for INT_MAX.
35080 * string/test-string.h: #include <sys/param.h> for MIN.
35082 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35083 * sysdeps/i386/init-first.c (init): Likewise.
35084 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35085 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35086 * sysdeps/sh/init-first.c (init): Likewise.
35088 2012-04-01 Ulrich Drepper <drepper@gmail.com>
35090 * po/ru.po: Update from translation team.
35091 * po/vi.po: Likewise.
35093 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35095 * resolv/nss_dns/dns-host.c: Merge copyright years.
35097 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35099 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35100 Optimize memcpy with prefetch if
35101 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35102 src, dst pointers have unequal 16 byte alignments.
35104 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35107 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35108 from a CNAME entry and return the minimum ttl for the query.
35109 (gaih_getanswer_slice): Likewise.
35111 2012-03-30 Jeff Law <law@redhat.com>
35113 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35115 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35116 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35118 * resolv/nss_dns/dns-host.c: Update copyright year.
35120 2012-03-30 Ulrich Drepper <drepper@gmail.com>
35122 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35123 requests to save a system call. Fix check that all bytes are sent.
35125 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35126 comments for sendmmsg.
35128 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35131 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35132 with only 1 character between 0x0041 and 0x01b0.
35133 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35134 * wcsmbs/tst-mbsnrtowcs.c: New file.
35136 2012-03-29 David S. Miller <davem@davemloft.net>
35138 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35139 small copies by hand.
35141 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35144 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35145 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35148 2012-03-28 David S. Miller <davem@davemloft.net>
35150 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35151 that branches into memcpy.
35152 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35153 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35154 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35155 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35156 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35158 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35159 implementation too.
35160 * sysdeps/sparc/mempcpy.S: New file.
35162 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35163 the IFUNC routine in the libc case.
35164 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35166 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35167 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35168 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35169 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35170 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35171 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35172 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35173 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35175 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35176 loop to 256 bytes instead of 64 bytes and fix test signedness.
35178 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35179 * sysdeps/sparc/sparc32/Makefile: rather than here...
35180 * sysdeps/sparc/sparc64/Makefile: and here.
35182 2012-03-28 Ulrich Drepper <drepper@gmail.com>
35184 * malloc/mallocbug.c: Avoid warnings about unused variables.
35186 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35189 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35190 in the right place. Discard and retry query if response is
35191 larger than input buffer size.
35193 2012-03-28 Joseph Myers <joseph@codesourcery.com>
35198 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35199 x for large integer exponent.
35200 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35201 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35202 sign of result as needed afterwards.
35203 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35204 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35205 result for underflowing pow the same as for overflow.
35206 (__kernel_standard_l): Handle powl overflow and underflow here
35207 rather than calling __kernel_standard.
35208 * math/libm-test.inc (pow_test): Add more tests.
35223 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35224 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35225 (__kernel_standard_l): New function.
35226 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35228 * math/w_acosl.c (__acosl): Likewise.
35229 * math/w_asinl.c (__asinl): Likewise.
35230 * math/w_atan2l.c (__atan2l): Likewise.
35231 * math/w_atanhl.c (__atanhl): Likewise.
35232 * math/w_coshl.c (__coshl): Likewise.
35233 * math/w_exp10l.c (__exp10l): Likewise.
35234 * math/w_exp2l.c (__exp2l): Likewise.
35235 * math/w_fmodl.c (__fmodl): Likewise.
35236 * math/w_hypotl.c (__hypotl): Likewise.
35237 * math/w_j0l.c (__j0l, __y0l): Likewise.
35238 * math/w_j1l.c (__j1l, __y1l): Likewise.
35239 * math/w_jnl.c (__jnl, __ynl): Likewise.
35240 * math/w_lgammal.c (__lgammal): Likewise.
35241 * math/w_log10l.c (__log10l): Likewise.
35242 * math/w_log2l.c (__log2l): Likewise.
35243 * math/w_logl.c (__logl): Likewise.
35244 * math/w_powl.c (__powl): Likewise.
35245 * math/w_remainderl.c (__remainderl): Likewise.
35246 * math/w_scalbl.c (sysv_scalbl): Likewise.
35247 * math/w_sinhl.c (__sinhl): Likewise.
35248 * math/w_sqrtl.c (__sqrtl): Likewise.
35249 * math/w_tgammal.c (__tgammal): Likewise.
35250 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35251 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35252 * math/libm-test.inc (acos_test): Add more tests.
35253 (acosh_test): Likewise.
35254 (asin_test): Likewise.
35255 (atanh_test): Likewise.
35256 (exp_test): Likewise.
35257 (exp10_test): Likewise.
35258 (exp2_test): Likewise.
35259 (expm1_test): Likewise.
35260 (lgamma_test): Likewise.
35261 (log_test): Likewise.
35262 (log10_test): Likewise.
35263 (log1p_test): Likewise.
35264 (log2_test): Likewise.
35265 (pow_test): Do not allow some spurious overflow exceptions.
35266 (sqrt_test): Add more tests.
35267 (tgamma_test): Likewise.
35268 (y0_test): Likewise.
35269 (y1_test): Likewise.
35270 (yn_test): Likewise.
35272 2012-03-27 Anton Blanchard <anton@samba.org>
35274 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35276 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35277 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35278 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35280 2012-03-27 David S. Miller <davem@davemloft.net>
35282 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35284 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35285 have-as-vis3 check.
35287 2012-03-27 Andreas Jaeger <aj@suse.de>
35289 * sysdeps/x86_64/elf/configure.in: Moved to ...
35290 * sysdeps/x86_64/configure.in: ... here.
35291 * sysdeps/x86_64/elf/start.S: Moved to ...
35292 * sysdeps/x86_64/start.S: ... here.
35293 * sysdeps/x86_64/elf/configure: Delete.
35295 * sysdeps/x86_64/configure.in: Merge contents from
35296 sysdeps/i386/configure.in (without i686 check).
35298 * sysdeps/i386/elf/Versions: Merge into ...
35299 * sysdeps/i386/Versions: ... this.
35300 * sysdeps/i386/elf/Versions: Delete file.
35301 * sysdeps/i386/elf/start.S: Moved to ...
35302 * sysdeps/i386/start.S: ...here.
35303 * sysdeps/i386/elf/configure.in: Merge into...
35304 * sysdeps/i386/configure.in: ...here.
35305 * sysdeps/i386/elf/configure.in: Delete file.
35306 * sysdeps/i386/elf/configure: Delete file.
35308 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35309 * debug/backtracesyms.c: ... here.
35310 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35311 * debug/backtracesymsfd.c: ... here.
35312 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35313 * sysdeps/generic/ifunc-sel.h: ... here.
35315 * sysdeps/unix/i386/start.c: Delete file.
35316 * sysdeps/unix/sparc/start.c: Delete file.
35317 * sysdeps/unix/start.c: Delete file.
35319 * sysdeps/sh/elf/configure.in: Moved to ...
35320 * sysdeps/sh/configure.in: ... here.
35321 * sysdeps/sh/elf/start.S: Moved to ...
35322 * sysdeps/sh/start.S: ... here.
35323 * sysdeps/sh/elf/configure: Delete file.
35325 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35326 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35327 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35328 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35329 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35330 * sysdeps/powerpc/powerpc64/start.S: here.
35331 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35332 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35333 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35334 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35335 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35337 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35338 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35339 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35340 * sysdeps/powerpc/powerpc32/start.S: ... here.
35341 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35342 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35343 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35345 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35346 * sysdeps/powerpc/ifunc-sel.h: ... here.
35347 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35348 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35350 * sysdeps/sparc/elf/configure.in: Moved to ...
35351 * sysdeps/sparc/configure.in: ... here.
35352 * sysdeps/sparc/elf/configure: Delete file.
35353 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35354 * sysdeps/sparc/sparc32/start.S: ... here.
35355 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35356 * sysdeps/sparc/sparc64/start.S: ... here.
35357 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35358 * sysdeps/sparc/sparc32/Makefile: ... this.
35359 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35360 * sysdeps/sparc/sparc64/Makefile: ... this.
35362 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35363 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35364 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35365 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35366 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35367 * sysdeps/s390/s390-32/setjmp.S: ... here.
35368 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35369 * sysdeps/s390/s390-32/configure.in: ... here.
35370 * sysdeps/s390/s390-32/elf/configure: Delete file.
35371 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35372 * sysdeps/s390/s390-32/start.S: ... here.
35374 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35375 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35376 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35377 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35378 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35379 * sysdeps/s390/s390-64/setjmp.S: ... here.
35380 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35381 * sysdeps/s390/s390-64/configure.in: ... here
35382 * sysdeps/s390/s390-64/elf/configure: Delete file.
35383 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35384 * sysdeps/s390/s390-64/start.S: ... here.
35385 * sysdeps/s390/s390-64/elf/configure: Delete.
35387 * configure.in: Remove support for elf directories in sysdeps.
35389 * configure: Regenerated.
35390 * sysdeps/i386/configure: Regenerated.
35391 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35392 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35393 * sysdeps/s390/s390-32/configure: Regenerated.
35394 * sysdeps/s390/s390-64/configure: Regenerated.
35395 * sysdeps/sh/configure: Regenerated.
35396 * sysdeps/sparc/configure: Regenerated.
35397 * sysdeps/x86_64/configure: Regenerated.
35399 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35403 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35404 denormal result into account.
35406 2012-03-25 Roland McGrath <roland@hack.frob.com>
35408 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35409 Reported by Allan McRae <allan@archlinux.org>.
35411 2012-03-23 Jeff Law <law@redhat.com>
35413 * nss/getnssent.c (__nss_getent): Fix typo.
35415 2012-03-23 David S. Miller <davem@davemloft.net>
35417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35419 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35421 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35422 to pad to uint64_t for each field.
35423 (dl_tls_index): Replace unsigned long with uint64_t.
35425 2012-03-23 Daniel Jacobowitz <dmj@google.com>
35426 Paul Pluzhnikov <ppluzhnikov@google.com>
35429 * grp/Makefile (otherlibs): Don't set it.
35430 * inet/Makefile (otherlibs): Likewise.
35431 * login/Makefile (otherlibs): Likewise.
35432 * nscd/Makefile (otherlibs): Likewise.
35433 * posix/Makefile (otherlibs): Likewise.
35434 * pwd/Makefile (otherlibs): Likewise.
35435 * rt/Makefile (otherlibs): Likewise.
35436 * sunrpc/Makefile (otherlibs): Likewise.
35437 * nss/Makefile (otherlibs): Likewise.
35438 Add libnss_files to routines and static-only-routines.
35439 ($(objpfx)getent): Remove rule.
35440 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35441 static-only-routines.
35443 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35446 * math/s_cexp.c: Include <float.h>.
35447 (__cexp): Handle exp result overflowing not necessarily
35448 overflowing both real and imaginary parts of result.
35449 * math/s_cexpf.c: Likewise.
35450 * math/s_cexpl.c: Likewise.
35451 * math/libm-test.inc (cexp_test): Add more tests.
35452 * sysdeps/i386/fpu/libm-test-ulps: Update.
35453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35455 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35457 * include/link.h (ELFW): New macro.
35458 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35459 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35461 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35463 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35466 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35468 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35470 (struct La_x32_retval): Likewise.
35472 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35474 * sysdeps/x86_64/preconfigure.in: New file.
35475 * sysdeps/x86_64/preconfigure: New generated file.
35477 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35480 * math/e_exp2l.c: Include <float.h>.
35481 (__ieee754_exp2l): Handle overflow and underflow cases
35482 separately. Only pass fractional part of argument to
35484 * math/libm-test.inc (exp2_test): Add more tests.
35486 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35487 negating x to take absolute value.
35488 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35490 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35491 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35493 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35494 computing low part if x was negated.
35495 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35497 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35499 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35500 la_x32_gnu_pltexit.
35501 (pltexit): Cast int_retval to ptrdiff_t.
35502 * elf/tst-auditmod3b.c: Likewise.
35503 * elf/tst-auditmod4b.c: Likewise.
35504 * elf/tst-auditmod5b.c: Likewise.
35505 * elf/tst-auditmod6b.c: Likewise.
35506 * elf/tst-auditmod6c.c: Likewise.
35507 * elf/tst-auditmod7b.c: Likewise.
35509 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35510 and x32_gnu_pltexit.
35512 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35513 __ELF_NATIVE_CLASS.
35514 (La_x32_regs): New macro.
35515 (La_x32_retval): Likewise.
35516 (la_x32_gnu_pltenter): New function prototype.
35517 (la_x32_gnu_pltexit): Likewise.
35519 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35521 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35526 * configure.in (libc_cv_cc_nofma): Check for option to disable
35527 generation of FMA instructions.
35528 * configure: Regenerate.
35529 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35530 * sysdeps/ieee754/dbl-64/Makefile: New file.
35531 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35532 Remove brandred-fma4.
35533 (CFLAGS-brandred-fma4.c): Remove.
35534 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35535 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35537 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35540 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35542 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35543 LLONG_MAX != LONG_MAX.
35544 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35545 (_fitoa_word): Likewise.
35546 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35547 LLONG_MAX != LONG_MAX.
35548 * stdio-common/_itowa.h: Include <_itoa.h>.
35549 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35550 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35551 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35552 only if not defined.
35553 (_ITOA_WORD_TYPE): Likewise.
35554 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35555 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35557 2012-03-21 David S. Miller <davem@davemloft.net>
35559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35561 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35563 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35564 of x86_64 when setting libc_cv_slibdir, libdir and
35566 * sysdeps/unix/sysv/linux/configure: Regenerated.
35568 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35570 * manual/lang.texi (Old Varargs): Remove section.
35571 (How Variadic): Update menu.
35572 (va_start): Do not mention varargs.h.
35574 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35575 Joseph Myers <joseph@codesourcery.com>
35577 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35579 * configure: Regenerated.
35581 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35583 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35584 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35587 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35590 * Makefile (files-for-dist): Remove NOTES.
35591 (NOTES): Remove rule.
35592 * README: Don't refer to NOTES.
35593 * manual/creature.texi: Don't include macros.texi.
35594 * manual/intro.texi (creature.texi): Remove comment referring to
35597 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35598 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35599 * configure: Regenerated.
35600 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35601 LIBC_TRY_CC_OPTION.
35602 (libc_cv_as_i686): Likewise.
35603 (libc_cv_cc_avx): Likewise.
35604 (libc_cv_cc_sse2avx): Likewise.
35605 (libc_cv_cc_fma4): Likewise.
35606 (libc_cv_cc_novzeroupper): Likewise.
35607 * sysdeps/i386/configure: Regenerated.
35610 * sysdeps/i386/fpu/s_cexp.S: Remove.
35611 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35612 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35613 * math/libm-test.inc (cexp_test): Add more tests.
35614 * sysdeps/i386/fpu/libm-test-ulps: Update.
35615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35617 2012-03-21 Allan McRae <allan@archlinux.org>
35619 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35621 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35624 * math/w_exp2.c: Do not include <float.h>.
35625 (o_threshold, u_threshold): Remove.
35626 (__exp2): Calculate result before checking finiteness and calling
35628 * math/w_exp2f.c: Likewise.
35629 * math/w_exp2l.c: Likewise.
35630 * math/libm-test.inc (exp2_test): Require overflow exception for
35634 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35635 range of signed 64-bit integers before using fistpll. Remove
35636 checks for whether integers fit in mantissa bits.
35637 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35638 the range of signed 32-bit integers before using fistpl. Remove
35639 checks for whether integers fit in mantissa bits.
35640 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35641 (__ieee754_powl): Test for y outside the range of signed 64-bit
35642 integers before using fistpll. Reduce 64-bit values to 63-bit
35644 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35645 divide-by-zero is raised for zero to large negative powers.
35646 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35647 (__ieee754_powl): Test for y outside the range of signed 64-bit
35648 integers before using fistpll. Reduce 64-bit values to 63-bit
35650 * math/libm-test.inc (pow_test): Add more tests.
35652 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35654 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35655 <stdio-common/_itoa.h>.
35656 * debug/segfault.c: Likewise.
35657 * elf/dl-cache.c: Likewise.
35658 * elf/dl-minimal.c: Likewise.
35659 * elf/dl-misc.c: Likewise.
35660 * elf/dl-sysdep.c: Likewise.
35661 * elf/dl-version.c: Likewise.
35662 * elf/rtld.c: Likewise.
35663 * hurd/hurdsock.c: Likewise.
35664 * hurd/lookup-retry.c: Likewise.
35665 * malloc/malloc.c: Likewise.
35666 * malloc/mtrace.c: Likewise.
35667 * nscd/nscd_getgr_r.c: Likewise.
35668 * nscd/nscd_getpw_r.c: Likewise.
35669 * nscd/nscd_getserv_r.c: Likewise.
35670 * posix/getopt_init.c: Likewise.
35671 * posix/wordexp.c: Likewise.
35672 * stdio-common/_itoa.c: Likewise.
35673 * stdio-common/printf_fphex.c: Likewise.
35674 * stdio-common/vfprintf.c: Likewise.
35675 * string/_strerror.c: Likewise.
35676 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35677 * sysdeps/i386/i686/hp-timing.h: Likewise.
35678 * sysdeps/mach/_strerror.c: Likewise.
35679 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35680 * sysdeps/mach/hurd/sethostid.c: Likewise.
35681 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35682 * sysdeps/mach/xpg-strerror.c: Likewise.
35683 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35684 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35685 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35686 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35687 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35688 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35689 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35690 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35691 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35692 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35693 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35694 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35695 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35696 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35697 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35698 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35699 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35700 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35701 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35702 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35703 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35705 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35707 * stdio-common/_itoa.h: Moved to ...
35708 * sysdeps/generic/_itoa.h: Here.
35710 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35712 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35713 instead of "_itoa.h" and "_itowa.h".
35714 * stdio-common/vfprintf.: Likewise.
35716 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35718 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35720 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35721 (__signbit): Likwise.
35722 (llrintf): Likwise.
35725 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35727 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35730 2012-03-20 Joseph Myers <joseph@codesourcery.com>
35732 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35733 OVERFLOW_EXCEPTION_OK.
35734 * math/libm-test.inc ("Philosophy"): Update comment about
35736 (OVERFLOW_EXCEPTION): Define.
35737 (OVERFLOW_EXCEPTION_OK): Likewise.
35738 (INVALID_EXCEPTION_OK): Renumber.
35739 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35740 (IGNORE_ZERO_INF_SIGN): Likewise.
35741 (test_exceptions): Handle FE_OVERFLOW.
35742 (exp10_test): Expect overflow exceptions.
35743 (exp2_test): Likewise.
35744 (expm1_test): Likewise.
35745 (nextafter_test): Likewise.
35746 (pow_test): Likewise.
35747 (scalbn_test): Likewise.
35748 (scalbln_test): Likewise.
35750 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35752 * sysdeps/x86_64/bits/atomic.h
35753 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35755 (atomic_exchange_acq): Likewise.
35756 (__arch_exchange_and_add_body): Likewise.
35757 (__arch_add_body): Likewise.
35758 (atomic_add_negative): Likewise.
35759 (atomic_add_zero): Likewise.
35761 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35763 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35764 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35766 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35768 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35769 Check __x86_64__ instead of __WORDSIZE.
35771 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35773 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35775 2012-03-19 David S. Miller <davem@davemloft.net>
35777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35779 * sysdeps/sparc/fpu/fenv_private.h: New file.
35780 * sysdeps/sparc/fpu/math_private.h: Use it.
35781 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35783 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35784 (libc_feholdexcept_setroundl): Remove.
35785 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35787 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35788 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35790 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35792 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35793 int64_t instead of long int.
35794 (INSERT_WORDS64): Likwise.
35796 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35798 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35799 _Unwind_GetCFA return to _Unwind_Ptr first.
35801 2012-03-19 Joseph Myers <joseph@codesourcery.com>
35804 * math/s_clog.c: Include <float.h>.
35805 (__clog): Scale large or subnormal inputs.
35806 * math/s_clogf.c: Likewise.
35807 * math/s_clogl.c: Likewise.
35808 * math/s_clog10.c: Include <float.h>.
35809 (M_LOG10_2): Define.
35810 (__clog10): Scale large or subnormal inputs.
35811 * math/s_clog10f.c: Likewise.
35812 * math/s_clog10l.c: Likewise.
35813 * math/libm-test.inc (clog_test): Add more tests.
35814 (clog10_test): Likewise.
35815 * sysdeps/i386/fpu/libm-test-ulps: Update.
35816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35819 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35821 * math/libm-test.inc (atan2_test): Add another test.
35823 * Makerules (common-objdir-compile): Remove.
35824 * sysdeps/unix/Makefile (config-generated): Do not add
35825 $(unix-generated) to variable.
35826 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35827 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35829 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35831 [generic bits/local_lim.h] (before-compile): Do not append to
35833 [generic bits/local_lim.h] (common-generated): Likewise.
35834 [generic sys/param.h] (before-compile): Do not append to variable.
35835 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35836 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35837 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35838 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35840 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35841 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35842 [generic sys/param.h] ($(addprefix
35843 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35844 [generic sys/param.h] (common-generated): Do not append to
35846 [generic sys/param.h] (sysdep_headers): Likewise.
35847 [generic bits/errno.h] (before-compile): Do not append to
35849 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35851 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35852 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35853 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35854 [generic bits/errno.h] (common-generated): Do not append to
35856 [generic bits/ioctls.h] (before-compile): Do not append to
35858 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35860 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35861 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35862 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35864 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35865 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35866 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35867 [generic bits/ioctls.h] (common-generated): Do not append to
35869 [generic sys/syscall.h] (syscall.h): Remove variable.
35870 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35872 [generic sys/syscall.h] (before-compile): Do not append to
35874 [generic sys/syscall.h] (common-generated): Likewise.
35875 * sysdeps/unix/errnos-tmpl.c: Remove file.
35876 * sysdeps/unix/errnos.awk: Likewise.
35877 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35878 * sysdeps/unix/ioctls.awk: Likewise.
35879 * sysdeps/unix/mk-local_lim.c: Likewise.
35880 * sysdeps/unix/snarf-ioctls: Likewise.
35882 2012-03-19 Richard Henderson <rth@twiddle.net>
35884 * sysdeps/i386/fpu/fenv_private.h: New file.
35885 * sysdeps/i386/fpu/math_private.h: Use it.
35886 (math_opt_barrier, math_force_eval): Remove.
35887 (libc_feholdexcept_setround_53bit): Remove.
35888 (libc_feupdateenv_53bit): Remove.
35889 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35890 (math_opt_barrier, math_force_eval): Remove.
35891 (libc_feholdexcept): Remove.
35892 (libc_feholdexcept_setround): Remove.
35893 (libc_fetestexcept, libc_fesetenv): Remove.
35894 (libc_feupdateenv_test): Remove.
35895 (libc_feupdateenv, libc_feholdsetround): Remove.
35896 (libc_feresetround): Remove.
35898 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35899 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35901 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35902 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35903 (libc_feupdateenv_testl): New.
35904 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35905 (libc_feupdateenv_testf): New.
35906 (libc_feupdateenv): Use libc_feupdateenv_test.
35907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35908 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35910 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35911 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35912 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35913 (libc_feresetround_noex): New.
35914 (libc_feresetround_noexf): New.
35915 (libc_feresetround_noexl): New.
35916 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35917 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35918 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35919 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35921 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35922 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35924 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35925 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35926 SET_RESTORE_ROUND_NOEX.
35927 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35928 SET_RESTORE_ROUND_NOEXF.
35929 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35930 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35931 (libc_feholdsetroundf): New.
35932 (libc_feresetround, libc_feresetroundf): New.
35934 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35935 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35936 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35938 * sysdeps/generic/math_private.h: Include <fenv.h>.
35939 (default_libc_feholdexcept): New.
35940 (default_libc_feholdexcept_setround): New.
35941 (default_libc_fesetenv, default_libc_feupdateenv): New.
35942 (libc_feholdexcept): Only define if undefined.
35943 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35944 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35945 (libc_feholdexcept_setroundl): Likewise.
35946 (libc_feholdexcept_setround_53bit): Likewise.
35947 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35948 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35949 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35950 (libc_feupdateenv_53bit): Likewise.
35951 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35952 (libc_feholdexcept): Convert from macro to inline function.
35953 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35954 (libc_fesetenv, libc_feupdateenv): Likewise.
35956 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35957 not previously defined.
35958 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35959 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35960 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35961 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35962 * sysdeps/ieee754/flt-32/math_private.h: New file.
35963 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35964 math_private.h below SET_FLOAT_WORD.
35965 (__isnan, __isinf_ns, __finite): Remove.
35966 (__isnanf, __isinf_nsf, __finitef): Remove.
35968 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35972 2012-03-17 David S. Miller <davem@davemloft.net>
35975 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35978 2012-03-16 David S. Miller <davem@davemloft.net>
35980 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35984 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35986 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35987 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35988 sysdep_routines when subdir is sysvipc.
35989 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35990 __getshmlba helper.
35992 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35994 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35996 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35999 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36001 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36002 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36003 (__lround): Renamed to ...
36004 (__llround): This. Replace long int with long long int.
36005 Define lround functions as aliases of llround functions.
36006 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36008 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36010 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36011 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36012 adresses to uintptr_t. Replace "long int" and "unsigned long
36013 int" with "greg_t" on va_arg.
36015 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36017 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36018 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36020 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36021 Move e_machine check before EI_CLASS check. Handle x32
36022 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36023 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36024 SKIP_EM_IA_64 and include
36025 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36027 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36028 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36029 (add_system_dir): New macro.
36031 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36032 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36034 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36045 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36047 * math/w_j0f.c (j0f): Likewise.
36049 * math/w_j0l.c (__j0l): Likewise.
36051 * math/w_j1.c (j1): Likewise.
36053 * math/w_j1f.c (j1f): Likewise.
36055 * math/w_j1l.c (__j1l): Likewise.
36057 * math/w_jn.c (jn): Likewise.
36059 * math/w_jnf.c (jnf): Likewise.
36061 * math/w_jnl.c (__jnl): Likewise.
36063 * math/libm-test.inc (j0_test): Add more tests.
36064 (j1_test): Likewise.
36065 (jn_test): Likewise. Add trailing semicolon to existing test.
36066 (y0_test): Likewise.
36067 (y1_test): Likewise.
36068 * sysdeps/i386/fpu/libm-test-ulps: Update.
36069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36073 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36074 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36075 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36076 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36077 (__tanl): Set errno for infinite argument.
36078 * sysdeps/i386/fpu/mptan.c: Remove.
36079 * sysdeps/i386/fpu/s_tan.S: Likewise.
36080 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36081 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36082 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36083 * math/libm-test.inc (tan_test): Add more tests and enable more
36084 tests for double and long double.
36085 * sysdeps/i386/fpu/libm-test-ulps: Update.
36086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36088 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36090 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36091 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36093 2012-03-16 Roland McGrath <roland@hack.frob.com>
36095 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36096 * configure.in: Use it for both main tree and add-ons.
36097 * configure: Regenerated.
36099 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36101 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36103 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36105 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36109 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36110 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36111 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36112 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36113 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36115 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36116 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36117 != 0 for prec == 2.
36118 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36119 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36120 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36121 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36122 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36123 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36124 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36125 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36126 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36127 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36128 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36129 * math/libm-test.inc (cos_test): Add more tests and enable more
36130 tests for long double.
36131 (sin_test): Likewise.
36132 (sincos_test): Likewise.
36133 * sysdeps/i386/fpu/libm-test-ulps: Update.
36134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36136 2012-03-16 David S. Miller <davem@davemloft.net>
36138 * sysdeps/sparc/fpu/math_private.h: New file.
36140 2012-03-15 David S. Miller <davem@davemloft.net>
36142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36152 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36156 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36157 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36159 * sysdeps/sparc/sparc-ifunc.h: New file.
36160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36184 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36185 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36186 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36187 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36189 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36197 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36198 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36199 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36200 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36201 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36202 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36203 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36205 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36207 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36211 2012-03-15 Andreas Jaeger <aj@suse.de>
36214 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36215 ieee754/flt-32 implementation for sin, cos and sincos.
36216 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36217 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36218 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36219 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36220 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36221 ieee754/flt-32 implementation for tan.
36223 * math/libm-test.inc (cos_test): Enable some large input tests for
36225 (sin_test): Likewise.
36226 (sincos_test): Likewise.
36227 (tan_test): Add tests for large input.
36229 * sysdeps/i386/fpu/libm-test-ulps: Update.
36231 2012-03-15 Andreas Jaeger <aj@suse.de>
36234 * math/libm-test.inc (cos_test): Add more test cases.
36235 (sin_test): Likewise.
36236 (sincos_test): Likewise.
36238 2012-03-15 Andreas Jaeger <aj@suse.de>
36241 * math/libm-test.inc (cos_test): Add a test case for large input
36243 (sin_test): Likewise.
36244 (sincos_test): Likewise.
36246 2012-03-15 Andreas Jaeger <aj@suse.de>
36247 Joseph Myers <joseph@codesourcery.com>
36250 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36251 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36252 * sysdeps/i386/fpu/branred.c: Likewise.
36253 * sysdeps/i386/fpu/dosincos.c: Likewise.
36254 * sysdeps/i386/fpu/mpa.c: Likewise.
36255 * sysdeps/i386/fpu/s_cos.S: Likewise.
36256 * sysdeps/i386/fpu/s_sin.S: Likewise.
36257 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36258 * sysdeps/i386/fpu/sincos32.c: Likewise.
36260 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36262 (libc_feupdateenv_53bit): Define.
36263 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36265 (libc_feupdateenv_53bit): Define.
36267 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36268 53 bit (without extend i386 double precision).
36270 * math/libm-test.inc (sincos_test): Add tests for large input.
36274 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36276 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36280 2012-03-15 David S. Miller <davem@davemloft.net>
36282 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36283 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36284 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36285 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36309 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36310 fmin/fmax sysdep routines.
36311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36313 2012-03-14 David S. Miller <davem@davemloft.net>
36315 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36319 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36320 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36321 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36322 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36324 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36335 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36336 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36337 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36338 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36339 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36340 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36341 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36342 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36343 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36387 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36392 * sysdeps/sparc/configure.in: New file.
36393 * sysdeps/sparc/configure: Generate.
36394 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36395 * configure: Regenerate.
36396 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36397 * config.make.in (have-as-vis3): New.
36398 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36399 available use -Av9d instead of -Av9a.
36400 * sysdeps/sparc/sparc64/Makefile: Likewise.
36401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36410 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36411 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36412 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36413 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36414 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36416 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36417 fzeros/fnegs to load 0x80000000 into a float register instead of
36419 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36421 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36423 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36425 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36426 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36427 ($(inst_includedir)/bits/syscall.h): Remove rule.
36428 ($(objpfx)bits/syscall.d): Include instead of
36429 $(objpfx)syscall-list.d.
36430 (generated): Change syscall-list.h and syscall-list.d to
36431 bits/syscall.h and bits/syscall.d.
36433 2012-03-14 Roland McGrath <roland@hack.frob.com>
36436 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36438 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36441 * math/s_csqrt.c: Include <float.h>.
36442 (__csqrt): Scale large or subnormal inputs.
36443 * math/s_csqrtf.c: Likewise.
36444 * math/s_csqrtl.c: Likewise.
36445 * math/libm-test.inc (csqrt_test): Add more tests.
36446 * sysdeps/i386/fpu/libm-test-ulps: Update.
36447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36450 * math/libm-test.inc (hypot_test): Add more tests.
36452 2012-03-13 David S. Miller <davem@davemloft.net>
36455 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36456 double-precision for the calculation instead of scaling.
36458 2012-03-13 Joseph Myers <joseph@codesourcery.com>
36460 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36461 manipulate bits before adding and subtracting TWO52[sx].
36462 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36463 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36465 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36467 2012-03-13 David S. Miller <davem@davemloft.net>
36469 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36470 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36471 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36472 rtld-global-offsets.h
36473 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36475 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36478 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36480 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36481 'err' in the ifdef scope in which it is actually used.
36483 * nss/nss_db/db-init.c: Include string.h
36485 2012-03-12 David S. Miller <davem@davemloft.net>
36487 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36488 masking out of the most significant byte of random value used.
36489 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36490 Fix coding style in previous change.
36492 * sysdeps/unix/sysv/linux/kernel-features.h
36493 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36494 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36496 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36499 2012-03-11 David S. Miller <davem@davemloft.net>
36501 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36502 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36503 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36504 for 'resultvar' otherwise things get truncated on 64-bit.
36506 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36507 Fix masking out of the most significant byte of random value used.
36509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36511 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36515 2012-03-09 David S. Miller <davem@davemloft.net>
36517 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36518 variables with appropriate CPP guards.
36519 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36520 from the frame pointer, not the stack pointer. Correct layout
36521 comments. Fix test on resulting framesize and the management of
36522 the outregs buffer for pltexit. Preserve floating point return
36523 values across _dl_call_pltexit call.
36524 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36525 framesize and the management of the outregs buffer for pltexit.
36526 Preserve floating point return values across _dl_call_pltexit
36528 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36529 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36530 (la_sparc64_gnu_pltexit): New functions.
36531 (print_exit): Fix format string for return register value.
36533 2012-03-10 Joseph Myers <joseph@codesourcery.com>
36535 * sunrpc/Makefile (others): Add rpcgen.
36536 ($(objpfx)rpcgen): Remove special build rule and dependency on
36538 * sunrpc/rpcgen.c: New file.
36540 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36543 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36544 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36545 * sysdeps/i386/crti.S: Likewise.
36546 * sysdeps/i386/crtn.S: Likewise.
36547 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36548 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36549 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36550 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36551 * sysdeps/sh/crti.S: Likewise.
36552 * sysdeps/sh/crtn.S: Likewise.
36553 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36556 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36558 * locale/programs/locfile-kw.gperf: Likewise.
36559 * locale/programs/charmap-kw.h: Regenerated.
36560 * locale/programs/locfile-kw.h: Likewise.
36563 * intl/plural.y: Replace FSF snail mail address with URL.
36564 * intl/plural.c: Regenerated.
36566 2012-03-09 Richard Henderson <rth@twiddle.net>
36568 * include/math_private.h: Remove file.
36569 * math/math_private.h: Move file ...
36570 * sysdeps/generic/math_private.h: ... here.
36572 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36573 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36574 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36576 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36577 and <math_private.h>.
36578 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36579 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36580 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36581 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36582 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36583 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36584 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36585 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36586 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36587 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36588 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36589 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36590 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36591 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36592 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36593 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36594 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36595 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36596 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36597 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36598 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36599 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36600 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36601 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36602 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36603 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36604 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36605 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36606 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36607 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36608 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36609 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36610 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36611 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36612 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36613 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36614 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36615 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36616 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36617 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36618 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36619 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36620 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36621 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36622 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36623 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36624 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36625 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36626 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36627 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36628 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36629 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36630 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36631 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36632 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36633 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36634 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36635 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36636 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36637 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36638 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36639 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36640 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36641 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36642 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36643 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36644 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36645 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36646 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36647 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36648 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36649 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36650 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36651 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36652 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36653 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36654 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36655 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36656 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36657 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36658 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36659 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36660 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36661 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36662 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36663 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36664 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36665 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36666 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36667 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36668 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36669 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36670 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36671 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36672 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36673 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36674 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36675 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36676 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36677 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36678 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36679 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36680 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36681 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36682 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36683 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36684 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36685 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36686 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36687 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36688 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36689 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36690 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36691 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36692 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36693 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36694 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36695 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36696 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36697 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36698 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36699 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36700 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36701 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36702 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36703 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36704 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36705 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36706 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36707 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36708 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36709 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36710 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36711 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36712 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36713 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36714 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36715 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36716 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36717 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36718 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36719 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36720 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36721 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36722 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36723 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36724 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36725 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36726 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36727 * sysdeps/ieee754/k_standard.c: Likewise.
36728 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36729 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36730 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36731 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36732 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36733 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36734 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36735 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36736 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36737 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36738 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36739 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36740 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36741 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36742 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36743 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36744 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36745 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36746 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36747 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36748 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36749 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36750 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36751 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36752 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36753 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36754 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36755 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36756 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36757 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36758 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36759 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36760 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36761 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36762 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36763 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36764 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36765 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36766 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36767 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36768 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36769 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36770 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36771 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36772 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36773 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36774 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36775 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36776 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36777 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36778 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36779 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36780 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36781 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36782 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36783 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36784 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36785 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36786 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36787 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36788 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36789 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36790 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36791 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36792 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36793 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36794 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36795 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36796 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36797 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36798 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36799 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36800 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36801 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36802 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36803 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36804 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36805 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36806 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36807 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36808 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36809 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36810 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36811 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36812 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36813 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36814 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36815 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36816 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36817 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36818 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36819 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36820 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36821 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36822 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36823 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36824 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36825 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36826 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36827 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36828 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36829 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36830 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36831 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36832 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36833 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36834 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36835 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36836 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36837 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36838 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36839 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36840 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36841 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36842 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36843 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36844 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36845 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36846 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36847 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36848 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36849 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36850 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36851 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36852 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36853 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36854 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36855 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36856 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36857 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36858 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36859 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36860 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36861 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36862 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36863 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36864 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36865 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36866 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36867 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36868 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36869 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36870 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36871 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36872 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36873 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36874 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36875 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36876 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36877 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36878 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36879 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36880 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36881 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36882 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36883 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36884 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36885 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36886 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36887 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36888 * sysdeps/ieee754/s_lib_version.c: Likewise.
36889 * sysdeps/ieee754/s_matherr.c: Likewise.
36890 * sysdeps/ieee754/s_signgam.c: Likewise.
36891 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36892 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36893 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36894 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36895 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36896 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36897 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36898 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36899 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36900 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36901 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36902 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36903 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36904 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36905 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36906 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36907 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36908 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36909 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36910 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36911 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36913 2012-03-09 Joseph Myers <joseph@codesourcery.com>
36915 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36916 * sunrpc/rpc_main.c: Likewise.
36917 * sunrpc/rpc_svcout.c: Likewise.
36919 2012-03-09 David S. Miller <davem@davemloft.net>
36921 * include/math_private.h: New file.
36923 2012-03-09 Joseph Myers <joseph@codesourcery.com>
36925 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36926 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36927 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36928 from <bits/socket_type.h>.
36929 (enum __socket_type): Don't define here.
36930 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36931 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36932 bits/socket_type.h.
36935 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36936 checking __USE_GNU.
36938 * Makerules ($(inst_includedir)/%.h): New rule.
36939 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36940 (install-others): Remove variable setting.
36941 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36943 2012-03-08 Richard Henderson <rth@twiddle.net>
36945 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36946 from macro to inline function; merge with the
36947 !__LIBC_INTERNAL_MATH_INLINES version.
36948 (__ieee754_sqrtf): Likewise.
36950 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36951 to inline function.
36952 (__rintf, __floor, __floorf): Likewise.
36954 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36955 macro to inline function.
36956 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36958 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36959 not <math/math_private.h>.
36961 2012-03-08 David S. Miller <davem@davemloft.net>
36963 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36965 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36967 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36969 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36971 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36972 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36974 2012-03-08 Ulrich Drepper <drepper@gmail.com>
36976 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36977 be defined individually, they must be defined as a block. Define
36978 S for printing a string instead of hidint the different by using a
36979 macro for adding the 'l'.
36980 * stdio-common/tst-fphex-wide.c: Adjust.
36982 2012-03-07 Marek Polacek <polacek@redhat.com>
36984 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36986 2012-03-08 Marek Polacek <polacek@redhat.com>
36989 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36990 * stdio-common/tst-fphex.c: Define a few macros to make the
36991 test reusable. Use them.
36992 * stdio-common/tst-fphex-wide.c: New file.
36994 2012-03-08 Joseph Myers <joseph@codesourcery.com>
36997 * manual/macros.texi (gnusystems): New macro.
36998 (nongnusystems): Likewise.
36999 (gnulinuxhurdsystems): Likewise.
37000 (gnuhurdsystems): Likewise..
37001 (gnulinuxsystems): Likewise.
37002 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37003 variants of the GNU system, not "GNU system".
37004 * manual/conf.texi: Likewise.
37005 * manual/errno.texi: Likewise. Update example of errno macro
37007 * manual/filesys.texi: Likewise.
37008 (getumask): Document as specific to GNU/Hurd.
37009 * manual/install.texi: Likewise. Reword some references to
37011 * manual/intro.texi: Likewise.
37012 * manual/io.texi: Likewise.
37013 (File Name Portability): Detail which constraints are inapplicable
37014 to all GNU systems and which are only inapplicable to GNU/Hurd.
37015 * manual/job.texi: Likewise.
37016 * manual/llio.texi: Likewise.
37017 (O_NOCTTY): Document as present on GNU/Linux.
37018 * manual/maint.texi: Likewise.
37019 * manual/memory.texi: Likewise.
37020 * manual/pattern.texi: Likewise.
37021 * manual/pipe.texi: Likewise.
37022 * manual/process.texi: Likewise.
37023 * manual/resource.texi: Likewise.
37024 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37026 * manual/setjmp.texi: Likewise.
37027 * manual/signal.texi: Likewise.
37028 * manual/startup.texi: Likewise.
37029 * manual/stdio.texi: Likewise.
37030 * manual/terminal.texi: Likewise.
37031 (ONLCR): Document as POSIX.
37032 (OXTABS): Document availability on GNU/Linux as XTABS.
37033 (ONOEOT): Document availability separately from other bits.
37034 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37035 * manual/time.texi: Likewise.
37036 * manual/users.texi: Likewise.
37037 * INSTALL: Regenerated.
37038 * sysdeps/gnu/errlist.c: Regenerated.
37040 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37041 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37042 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37044 * configure: Regenerated.
37046 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37048 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37049 default includes instead of AC_HEADER_CHECK.
37050 * sysdeps/i386/configure: Regenerated.
37053 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37054 * math/s_cacoshf.c (__cacoshf): Likewise.
37055 * math/s_cacoshl.c (__cacoshl): Likewise.
37056 * math/s_casinh.c (__casinh): Set signs of result from argument.
37057 * math/s_casinhf.c (__casinhf): Likewise.
37058 * math/s_casinhl.c (__casinhl): Likewise.
37059 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37060 (casinh_test): Add more tests.
37061 * sysdeps/i386/fpu/libm-test-ulps: Update.
37062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37064 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37066 * po/zh_TW.po: Update from translation team.
37068 * login/Makefile (distribute): Remove variable.
37069 * catgets/Makefile: Likewise.
37070 * mach/Makefile: Likewise.
37071 * malloc/Makefile: Likewise.
37072 * misc/Makefile: Likewise.
37073 * iconv/Makefile: Likewise.
37074 * nscd/Makefile: Likewise.
37075 * hurd/Makefile: Likewise.
37076 * manual/Makefile: Likewise.
37077 * locale/Makefile: Likewise.
37078 * intl/Makefile: Likewise.
37079 * conform/Makefile: Likewise.
37080 * nss/Makefile: Likewise.
37081 * time/Makefile: Likewise.
37082 * soft-fp/Makefile: Likewise.
37083 * dirent/Makefile: Likewise.
37084 * gmon/Makefile: Likewise.
37085 * po/Makefile: Likewise.
37086 * rt/Makefile: Likewise.
37087 * socket/Makefile: Likewise.
37088 * math/Makefile: Likewise.
37089 * signal/Makefile: Likewise.
37090 * debug/Makefile: Likewise.
37091 * elf/Makefile: Likewise.
37092 * timezone/Makefile: Likewise.
37093 * stdlib/Makefile: Likewise.
37094 * iconvdata/Makefile: Likewise.
37095 * sunrpc/Makefile: Likewise.
37096 * io/Makefile: Likewise.
37097 * argp/Makefile: Likewise.
37098 * inet/Makefile: Likewise.
37099 * hesiod/Makefile: Likewise.
37100 * grp/Makefile: Likewise.
37101 * csu/Makefile: Likewise.
37102 * wctype/Makefile: Likewise.
37103 * crypt/Makefile: Likewise.
37104 * libio/Makefile: Likewise.
37105 * string/Makefile: Likewise.
37106 * nis/Makefile: Likewise.
37107 * resolv/Makefile: Likewise.
37108 * stdio-common/Makefile: Likewise.
37109 * wcsmbs/Makefile: Likewise.
37110 * dlfcn/Makefile: Likewise.
37111 * posix/Makefile: Likewise.
37114 * timezone/Makefile: Don't install timezone files, just the programs
37117 2012-03-06 Ulrich Drepper <drepper@gmail.com>
37119 * nss/databases.def: Add missing gshadow entry.
37121 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37123 2012-03-06 Marek Polacek <polacek@redhat.com>
37126 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37127 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37128 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37129 * stdio-common/tst-long-dbl-fphex.c: New file.
37131 2012-03-06 David S. Miller <davem@davemloft.net>
37133 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37134 (set_obp_int): New function.
37135 (get_obp_int): New function.
37136 (__get_clockfreq_via_dev_openprom): Likewise.
37137 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37138 Avoid unused variable warnings on 'val' and use builtin_expect.
37139 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37141 (INLINE_CLONE_SYSCALL): Likewise.
37143 2012-03-05 David S. Miller <davem@davemloft.net>
37145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37147 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37151 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37152 only for |x| >= 40.
37153 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37155 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
37157 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37158 Replace gettimeofday with __vdso_gettimeofday.
37160 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37161 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37162 __vdso_clock_gettime and __vdso_getcpu.
37164 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37165 time with __vdso_time.
37167 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37169 * manual/lang.texi (size_t): Note types to which size_t may be
37170 equivalent with the GNU C Library, but do not describe when
37171 differences between them are significant.
37173 2012-03-05 Andreas Jaeger <aj@suse.de>
37175 * sysdeps/i386/fpu/libm-test-ulps: Update.
37177 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37180 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37181 (__ieee754_pow): Save and restore rounding mode and use
37182 round-to-nearest for main computations.
37183 * math/libm-test.inc (pow_test_tonearest): New function.
37184 (pow_test_towardzero): Likewise.
37185 (pow_test_downward): Likewise.
37186 (pow_test_upward): Likewise.
37187 (main): Call the new functions.
37188 * sysdeps/i386/fpu/libm-test-ulps: Update.
37189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37192 * math/libm-test.inc (cosh_test_tonearest): New function.
37193 (cosh_test_towardzero): Likewise.
37194 (cosh_test_downward): Likewise.
37195 (cosh_test_upward): Likewise.
37196 (sinh_test_tonearest): Likewise.
37197 (sinh_test_towardzero): Likewise.
37198 (sinh_test_downward): Likewise.
37199 (sinh_test_upward): Likewise.
37200 (main): Call the new functions.
37201 * sysdeps/i386/fpu/libm-test-ulps: Update.
37202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37204 2012-03-05 Tom de Vries <tom@codesourcery.com>
37206 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37207 default stack guard is set in last bytes.
37208 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37210 2012-03-05 Kees Cook <keescook@chromium.org>
37212 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37215 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37216 possibly allocate from heap instead of stack.
37217 * stdio-common/bug-vfprintf-nargs.c: New file.
37218 * stdio-common/Makefile (tests): Add nargs overflow test.
37220 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37224 2012-03-03 Marek Polacek <polacek@redhat.com>
37226 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37227 * math/math_private.h: Likewise.
37228 * stdlib/tst-strtod.c: Likewise.
37229 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37230 * sysdeps/x86_64/bits/atomic.h: Likewise.
37232 2012-03-02 David S. Miller <davem@davemloft.net>
37234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37238 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37239 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37240 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37241 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37243 2012-03-02 Roland McGrath <roland@hack.frob.com>
37246 * manual/examples/README: New file, says the example source files
37247 can be used under GPL>=2.
37248 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37249 line containing just "*/".
37250 * manual/examples/add.c: Add copyright header (GPL>=2).
37251 * manual/examples/argp-ex1.c: Likewise.
37252 * manual/examples/argp-ex2.c: Likewise.
37253 * manual/examples/argp-ex3.c: Likewise.
37254 * manual/examples/argp-ex4.c: Likewise.
37255 * manual/examples/atexit.c: Likewise.
37256 * manual/examples/db.c: Likewise.
37257 * manual/examples/dir.c: Likewise.
37258 * manual/examples/dir2.c: Likewise.
37259 * manual/examples/execinfo.c: Likewise.
37260 * manual/examples/filecli.c: Likewise.
37261 * manual/examples/filesrv.c: Likewise.
37262 * manual/examples/fmtmsgexpl.c: Likewise.
37263 * manual/examples/genpass.c: Likewise.
37264 * manual/examples/inetcli.c: Likewise.
37265 * manual/examples/inetsrv.c: Likewise.
37266 * manual/examples/isockad.c: Likewise.
37267 * manual/examples/longopt.c: Likewise.
37268 * manual/examples/memopen.c: Likewise.
37269 * manual/examples/memstrm.c: Likewise.
37270 * manual/examples/mkfsock.c: Likewise.
37271 * manual/examples/mkisock.c: Likewise.
37272 * manual/examples/mygetpass.c: Likewise.
37273 * manual/examples/pipe.c: Likewise.
37274 * manual/examples/popen.c: Likewise.
37275 * manual/examples/rprintf.c: Likewise.
37276 * manual/examples/search.c: Likewise.
37277 * manual/examples/select.c: Likewise.
37278 * manual/examples/setjmp.c: Likewise.
37279 * manual/examples/sigh1.c: Likewise.
37280 * manual/examples/sigusr.c: Likewise.
37281 * manual/examples/stpcpy.c: Likewise.
37282 * manual/examples/strdupa.c: Likewise.
37283 * manual/examples/strftim.c: Likewise.
37284 * manual/examples/strncat.c: Likewise.
37285 * manual/examples/subopt.c: Likewise.
37286 * manual/examples/swapcontext.c: Likewise.
37287 * manual/examples/termios.c: Likewise.
37288 * manual/examples/testopt.c: Likewise.
37289 * manual/examples/testpass.c: Likewise.
37290 * manual/examples/timeval_subtract.c: Likewise.
37293 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37295 * manual/timeval_subtract.c.texi: ... here, new file.
37297 2012-03-02 David S. Miller <davem@davemloft.net>
37299 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37301 2012-03-02 Joseph Myers <joseph@codesourcery.com>
37304 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37305 (__sin): Save and restore rounding mode and use round-to-nearest
37306 for all computations.
37307 (__cos): Save and restore rounding mode and use round-to-nearest
37308 for all computations.
37309 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37311 (tan): Save and restore rounding mode and use round-to-nearest for
37313 * math/libm-test.inc (cos_test_tonearest): New function.
37314 (cos_test_towardzero): Likewise.
37315 (cos_test_downward): Likewise.
37316 (cos_test_upward): Likewise.
37317 (sin_test_tonearest): Likewise.
37318 (sin_test_towardzero): Likewise.
37319 (sin_test_downward): Likewise.
37320 (sin_test_upward): Likewise.
37321 (tan_test_tonearest): Likewise.
37322 (tan_test_towardzero): Likewise.
37323 (tan_test_downward): Likewise.
37324 (tan_test_upward): Likewise.
37325 (main): Call the new functions.
37326 * sysdeps/i386/fpu/libm-test-ulps: Update.
37327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37330 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37331 small n, then large n, before computing and testing k+n.
37332 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37333 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37335 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37337 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37338 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37339 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37340 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37341 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37342 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37343 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37344 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37345 * math/libm-test.inc (scalbn_test): Add more tests.
37346 (scalbln_test): Likewise.
37348 * manual/filesys.texi (mode_t): Describe constraints on size and
37349 signedness, not exact equivalence to a particular type.
37351 (ino64_t): Likewise.
37353 (nlink_t): Likewise.
37354 (blkcnt_t): Likewise.
37355 (blkcnt64_t): Likewise.
37356 * manual/llio.texi (off_t): Likewise.
37359 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37360 (__ieee754_exp): Save and restore rounding mode and use
37361 round-to-nearest for all computations.
37362 * math/libm-test.inc (exp_test_tonearest): New function.
37363 (exp_test_towardzero): Likewise.
37364 (exp_test_downward): Likewise.
37365 (exp_test_upward): Likewise.
37366 (main): Call the new functions.
37367 * sysdeps/i386/fpu/libm-test-ulps: Update.
37368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37370 2012-03-01 Chris Demetriou <cgd@google.com>
37372 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37373 have predictable order.
37375 2012-03-01 David S. Miller <davem@davemloft.net>
37377 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37379 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37380 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37381 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37382 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37384 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37385 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37386 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37388 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37389 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37390 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37391 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37392 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37396 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37397 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37398 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37400 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37401 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37402 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37403 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37404 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37405 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37406 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37407 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37408 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37409 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37410 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37411 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37412 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37413 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37414 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37415 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37416 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37417 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37418 * sysdeps/sparc/elf/configure: Regenerated.
37420 2012-03-01 Joseph Myers <joseph@codesourcery.com>
37422 * configure.in (AS, LD): Require binutils 2.20 or later.
37423 * configure: Regenerated.
37424 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37425 as required minimum version.
37426 * INSTALL: Regenerated.
37430 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37431 before squaring exponent.
37432 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37433 bottom long double and 27 bits of top long double before squaring
37435 * math/libm-test.inc (erfc_test): Add more tests.
37436 * sysdeps/i386/fpu/libm-test-ulps: Update.
37437 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37440 2012-03-01 Kai Tietz <ktietz@redhat.com>
37442 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37443 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37444 containing bit-fields.
37445 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37446 * soft-fp/single.h (_FP_UNION_S): Likewise.
37447 * soft-fp/double.h (_FP_UNION_D): Likewise.
37449 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37452 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37453 not include ../strcmp.S.
37454 [USE_AS_STRNCASECMP_L]: Likewise.
37455 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37456 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37457 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37458 (__strncasecmp_l_ia32): Define as alias to
37459 __strncasecmp_l_nonascii.
37462 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37463 * sysdeps/i386/fpu/libm-test-ulps: Update.
37464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37466 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37469 2012-02-29 Jeff Law <law@redhat.com>
37471 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37472 out of bounds read.
37474 2012-02-29 Marek Polacek <polacek@redhat.com>
37477 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37478 * elf/Makefile: Add rules to run tst-unused-dep.out.
37480 2012-02-28 David S. Miller <davem@davemloft.net>
37482 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37483 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37484 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37485 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37486 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37487 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37489 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37491 * math/libm-test.inc (llround_test): Move one test from
37492 lround_test. Use TEST_f_L in moved test.
37493 (lround_test): Move misplaced test to llround_test. Add testcase
37496 2012-02-28 Ulrich Drepper <drepper@gmail.com>
37498 * sysdeps/x86_64/fpu/e_expf.S: New file.
37499 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37501 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37504 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37505 of remain_len that may cause incomplete multi-byte character and
37507 * posix/bug-regex33.c: New file.
37508 * posix/Makefile (tests): Add bug-regex33.
37510 2012-02-28 Joseph Myers <joseph@codesourcery.com>
37512 * manual/macros.texi: New file.
37513 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37514 * manual/libc.texinfo: Include macros.texi.
37515 * manual/creatute.texi: Likewise.
37516 * manual/install.texi: Likewise.
37517 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37518 @glibcadj{} in references to the GNU C Library.
37519 * manual/charset.texi: Likewise.
37520 * manual/conf.texi: Likewise.
37521 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37522 when not using those macros.
37523 * manual/creature.texi: Likewise.
37524 * manual/crypt.texi: Likewise.
37525 * manual/errno.texi: Likewise.
37526 * manual/filesys.texi: Likewise.
37527 * manual/header.texi: Likewise.
37528 * manual/install.texi: Likewise.
37529 * manual/intro.texi: Likewise.
37530 * manual/io.texi: Likewise.
37531 * manual/job.texi: Likewise.
37532 * manual/lang.texi: Likewise.
37533 * manual/libc.texiinfo: Likewise.
37534 * manual/llio.texi: Likewise.
37535 * manual/locale.texi: Likewise.
37536 * manual/maint.texi: Likewise.
37537 * manual/math.texi: Likewise.
37538 * manual/memory.texi: Likewise.
37539 * manual/message.texi: Likewise.
37540 * manual/nss.texi: Likewise.
37541 * manual/pattern.texi: Likewise.
37542 * manual/process.texi: Likewise.
37543 * manual/resource.texi: Likewise.
37544 * manual/search.texi: Likewise.
37545 * manual/setjmp.texi: Likewise.
37546 * manual/signal.texi: Likewise.
37547 * manual/socket.texi: Likewise.
37548 * manual/startup.texi: Likewise.
37549 * manual/stdio.texi: Likewise.
37550 * manual/string.texi: Likewise.
37551 * manual/sysinfo.texi: Likewise.
37552 * manual/syslog.texi: Likewise.
37553 * manual/terminal.texi: Likewise.
37554 * manual/time.texi: Likewise.
37555 * manual/users.texi: Likewise.
37556 * INSTALL: Regenerated.
37557 * NOTES: Regenerated.
37558 * sysdeps/gnu/errlist.c: Regenerated.
37560 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37562 * include/dirent.h: Include <dirstream.h> before
37565 2012-02-28 David S. Miller <davem@davemloft.net>
37567 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37568 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37569 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37570 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37572 2012-02-27 David S. Miller <davem@davemloft.net>
37574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37576 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37577 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37580 frame pointer instead of stack pointer relative arg slot.
37581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37582 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37583 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37585 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37588 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37590 2012-02-27 David S. Miller <davem@davemloft.net>
37592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37596 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37597 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37598 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37599 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37601 2012-02-27 Joseph Myers <joseph@codesourcery.com>
37603 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37604 later. Allow versions 5-9.
37605 * configure: Regenerated.
37606 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37607 required minimum version and 4.6 as recommended version. Do not
37608 mention bugs in GCC 2.7 and 2.8.
37609 * INSTALL: Regenerated.
37611 2012-02-27 David S. Miller <davem@davemloft.net>
37613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37617 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37618 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37619 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37620 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37622 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37623 manipulate bits before adding and subtracting TWO112[sx].
37624 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37626 2012-02-27 Roland McGrath <roland@hack.frob.com>
37629 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37630 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37631 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37632 being in POSIX, because they are in 1003.1-2008.
37634 * rt/tst-aio.c: Include <fcntl.h>.
37635 * rt/tst-aio7.c: Likewise.
37636 * rt/tst-aio64.c: Likewise.
37638 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37640 2012-02-27 Joseph Myers <joseph@codesourcery.com>
37642 * manual/install.texi (--with-headers): Describe headers as
37643 interface headers, not private headers.
37644 (Specific advice for GNU/Linux systems): Describe use of headers
37645 from "make headers_install", not private headers from older
37647 * INSTALL: Regenerated.
37648 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37650 * sysdeps/unix/sysv/linux/configure: Regenerated.
37652 * manual/llio.texi (fclean): Remove documentation.
37654 * manual/Makefile (libc-texi-generated): New variable. Include
37656 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37657 $(libc-texi-generated), not duplicated list of files.
37658 (version.texi, stamp-version): New rules.
37659 (realclean): Remove $(libc-texi-generated), not individual files
37660 from that list. Do not remove dir-add.texinfo.
37661 * manual/libc.texinfo: Comment out uses of edition numbers and
37662 references to printed manual. Remove last-updated dates.
37663 (EDITION): Comment out.
37665 (VERSION, UPDATED): Remove.
37666 (version.texi): Include.
37668 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37670 * sysdeps/posix/spawni.c: Include <signal.h>.
37671 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37672 * sysdeps/pthread/aio_fsync.c: Likewise.
37674 2012-02-26 Ulrich Drepper <drepper@gmail.com>
37676 * conform/Makefile (tests): Run only when not cross-compiling and
37677 when fast-check is not defined.
37679 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37680 * conform/data/limits.h-data: Fixes for POSIX2008.
37681 * conform/run-conformtest.sh: Run all tests.
37682 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37684 * include/bits/dlfcn.h: Likewise.
37685 * include/langinfo.h: Likewise.
37686 * include/monetary.h: Likewise.
37687 * include/sys/poll.h: Likewise.
37689 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37691 * posix/spawn.h: Define __need_sigset_t.
37692 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37693 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37694 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37695 to get sigevent_t only.
37696 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37697 only for __USE_GNU.
37698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37699 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37700 process_vm_writev only for __USE_GNU.
37701 * termios/termios.h: Declare tcgetsid also for POSIX2008.
37703 * conform/Makefile: For now ignore errors from run-conformtest.
37704 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37705 POSIX to avoid namespace pollution. Don't prepend headers.
37706 * conform/data/aio.h-data: Fixes for POSIX testing.
37707 * conform/data/fcntl.h-data: Likewise.
37708 * conform/data/glob.h-data: Likewise.
37709 * conform/data/grp.h-data: Likewise.
37710 * conform/data/pthread.h-data: Likewise.
37711 * conform/data/pwd.h-data: Likewise.
37712 * conform/data/signal.h-data: Likewise.
37713 * conform/data/spawn.h-data: Likewise.
37714 * conform/data/stdio.h-data: Likewise.
37715 * conform/data/stdlib.h-data: Likewise.
37716 * conform/data/stropts.h-data: Likewise.
37717 * conform/data/sys/mman.h-data: Likewise.
37718 * conform/data/sys/stat.h-data: Likewise.
37719 * conform/data/sys/types.h-data: Likewise.
37720 * conform/data/sys/wait.h-data: Likewise.
37721 * conform/data/time.h-data: Likewise.
37722 * conform/data/unistd.h-data: Likewise.
37723 * conform/data/utime.h-data: Likewise.
37725 * io/sys/stat.h: fchmod was always in POSIX.
37726 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37727 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37728 * rt/aio.h: Define __need_timespec before including <time.h>.
37729 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37730 struct. Add forward declaration of pthread_attr_t and use it in
37732 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37733 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37734 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37735 always remove CLK_TCK definition.
37737 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37739 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37741 2012-02-25 Ulrich Drepper <drepper@gmail.com>
37743 * conform/run-conformtest.sh: New file.
37744 * conform/Makefile: Run run-conformtest for tests.
37745 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37748 * conform/data/uchar.h-data: New file.
37749 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37750 * conform/data/arpa/inet.h-data: Likewise.
37751 * conform/data/assert.h-data: Likewise.
37752 * conform/data/complex.h-data: Likewise.
37753 * conform/data/cpio.h-data: Likewise.
37754 * conform/data/ctype.h-data: Likewise.
37755 * conform/data/dirent.h-data: Likewise.
37756 * conform/data/dlfcn.h-data: Likewise.
37757 * conform/data/errno.h-data: Likewise.
37758 * conform/data/fcntl.h-data: Likewise.
37759 * conform/data/float.h-data: Likewise.
37760 * conform/data/fmtmsg.h-data: Likewise.
37761 * conform/data/fnmatch.h-data: Likewise.
37762 * conform/data/ftw.h-data: Likewise.
37763 * conform/data/glob.h-data: Likewise.
37764 * conform/data/grp.h-data: Likewise.
37765 * conform/data/iconv.h-data: Likewise.
37766 * conform/data/inttypes.h-data: Likewise.
37767 * conform/data/langinfo.h-data: Likewise.
37768 * conform/data/libgen.h-data: Likewise.
37769 * conform/data/limits.h-data: Likewise.
37770 * conform/data/locale.h-data: Likewise.
37771 * conform/data/math.h-data: Likewise.
37772 * conform/data/monetary.h-data: Likewise.
37773 * conform/data/mqueue.h-data: Likewise.
37774 * conform/data/ndbm.h-data: Likewise.
37775 * conform/data/net/if.h-data: Likewise.
37776 * conform/data/netdb.h-data: Likewise.
37777 * conform/data/netinet/in.h-data: Likewise.
37778 * conform/data/nl_types.h-data: Likewise.
37779 * conform/data/poll.h-data: Likewise.
37780 * conform/data/pthread.h-data: Likewise.
37781 * conform/data/pwd.h-data: Likewise.
37782 * conform/data/regex.h-data: Likewise.
37783 * conform/data/sched.h-data: Likewise.
37784 * conform/data/search.h-data: Likewise.
37785 * conform/data/semaphore.h-data: Likewise.
37786 * conform/data/setjmp.h-data: Likewise.
37787 * conform/data/signal.h-data: Likewise.
37788 * conform/data/spawn.h-data: Likewise.
37789 * conform/data/stdarg.h-data: Likewise.
37790 * conform/data/stdio.h-data: Likewise.
37791 * conform/data/stdlib.h-data: Likewise.
37792 * conform/data/string.h-data: Likewise.
37793 * conform/data/strings.h-data: Likewise.
37794 * conform/data/stropts.h-data: Likewise.
37795 * conform/data/sys/ipc.h-data: Likewise.
37796 * conform/data/sys/mman.h-data: Likewise.
37797 * conform/data/sys/msg.h-data: Likewise.
37798 * conform/data/sys/resource.h-data: Likewise.
37799 * conform/data/sys/select.h-data: Likewise.
37800 * conform/data/sys/sem.h-data: Likewise.
37801 * conform/data/sys/shm.h-data: Likewise.
37802 * conform/data/sys/socket.h-data: Likewise.
37803 * conform/data/sys/stat.h-data: Likewise.
37804 * conform/data/sys/statvfs.h-data: Likewise.
37805 * conform/data/sys/time.h-data: Likewise.
37806 * conform/data/sys/timeb.h-data: Likewise.
37807 * conform/data/sys/times.h-data: Likewise.
37808 * conform/data/sys/types.h-data: Likewise.
37809 * conform/data/sys/uio.h-data: Likewise.
37810 * conform/data/sys/un.h-data: Likewise.
37811 * conform/data/sys/utsname.h-data: Likewise.
37812 * conform/data/sys/wait.h-data: Likewise.
37813 * conform/data/syslog.h-data: Likewise.
37814 * conform/data/tar.h-data: Likewise.
37815 * conform/data/termios.h-data: Likewise.
37816 * conform/data/utime.h-data: Likewise.
37817 * conform/data/utmpx.h-data: Likewise.
37818 * conform/data/varargs.h-data: Likewise.
37819 * conform/data/wchar.h-data: Likewise.
37820 * conform/data/wctype.h-data: Likewise.
37821 * conform/data/wordexp.h-data: Likewise.
37823 * include/stropts.h: New file.
37824 * include/uchar.h: New file.
37825 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37826 * include/assert.h: Likewise.
37827 * include/ctype.h: Likewise.
37828 * include/dirent.h: Likewise.
37829 * include/dlfcn.h: Likewise.
37830 * include/fcntl.h: Likewise.
37831 * include/fnmatch.h: Likewise.
37832 * include/glob.h: Likewise.
37833 * include/grp.h: Likewise.
37834 * include/libio.h: Likewise.
37835 * include/locale.h: Likewise.
37836 * include/math.h: Likewise.
37837 * include/net/if.h: Likewise.
37838 * include/netdb.h: Likewise.
37839 * include/netinet/in.h: Likewise.
37840 * include/pthread.h: Likewise.
37841 * include/pwd.h: Likewise.
37842 * include/regex.h: Likewise.
37843 * include/sched.h: Likewise.
37844 * include/search.h: Likewise.
37845 * include/setjmp.h: Likewise.
37846 * include/signal.h: Likewise.
37847 * include/stdio.h: Likewise.
37848 * include/stdlib.h: Likewise.
37849 * include/string.h: Likewise.
37850 * include/sys/cdefs.h: Likewise.
37851 * include/sys/mman.h: Likewise.
37852 * include/sys/msg.h: Likewise.
37853 * include/sys/resource.h: Likewise.
37854 * include/sys/select.h: Likewise.
37855 * include/sys/socket.h: Likewise.
37856 * include/sys/stat.h: Likewise.
37857 * include/sys/statvfs.h: Likewise.
37858 * include/sys/time.h: Likewise.
37859 * include/sys/times.h: Likewise.
37860 * include/sys/uio.h: Likewise.
37861 * include/sys/utsname.h: Likewise.
37862 * include/sys/wait.h: Likewise.
37863 * include/termios.h: Likewise.
37864 * include/time.h: Likewise.
37865 * include/ulimit.h: Likewise.
37866 * include/unistd.h: Likewise.
37867 * include/utime.h: Likewise.
37868 * include/wchar.h: Likewise.
37869 * include/wctype.h: Likewise.
37870 * include/wordexp.h: Likewise.
37872 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37874 * time/time.h: TIME_UTC must be a macro.
37875 Make timespec_get available for ISO C11 only as well.
37877 2012-02-24 Ulrich Drepper <drepper@gmail.com>
37879 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37880 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37882 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37884 * configure.in: Use -o not -a in test for unsupported multi-arch.
37886 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37888 * manual/texinfo.tex: Update to version 2012-01-19.16.
37890 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37892 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37894 2012-02-24 Roland McGrath <roland@hack.frob.com>
37897 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37898 * manual/fdl-1.3.texi: New file.
37899 * manual/fdl-1.1.texi: File removed.
37902 * manual/libc.texinfo (FDL_VERSION): New @set.
37903 Use it for mention of FDL in cover text.
37904 (Documentation License): Use it in @include file name.
37906 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37907 Roland McGrath <roland@hack.frob.com>
37910 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37911 (not LONG_LONG_MAX and LONG_LONG_MIN.
37912 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37913 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37915 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37917 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37921 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37922 manipulate bits before adding and subtracting TWO23[sx].
37923 * math/libm-test.inc (nearbyint_test): Add more tests.
37925 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37928 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37929 bits before adding and subtracting TWO23[sx].
37930 * math/libm-test.inc (rint_test): Add more tests.
37931 (rint_test_tonearest): Likewise.
37932 (rint_test_towardzero): Likewise.
37933 (rint_test_downward): Likewise.
37934 (rint_test_upward: Likewise.
37936 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37939 * include/stdc-predef.h: New file. Extracted from features.h.
37940 * include/features.h: Include stdc-predef.h.
37941 * Makefile (headers): Add stdc-predef.h.
37942 * CONFORMANCE (Compiler limitations): Update.
37944 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37946 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37948 2012-02-21 David S. Miller <davem@davemloft.net>
37950 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37951 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37953 2012-02-20 David S. Miller <davem@davemloft.net>
37955 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37956 using a normal save/restore sequence, rather than allocating a
37957 dummy stack frame just to store a frame pointer and restore.
37958 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37960 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37962 * manual/install.texi: Fix stray word in line-wrapped comment.
37964 2012-02-20 David S. Miller <davem@davemloft.net>
37966 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37967 both binutils and gcc support GOTDATA.
37969 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37970 "rd %pc" in the PIC register setup sequences.
37972 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37973 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37974 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37975 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37976 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37977 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37978 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37979 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37980 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37981 (SYSCALL_ERROR_HANDLER): Likewise.
37982 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37983 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37984 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37985 (SYSCALL_ERROR_HANDLER): Likewise.
37987 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37988 (HAVE_GCC_GOTDATA): New.
37989 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37990 relocation support in both binutils and gcc.
37991 * sysdeps/sparc/elf/configure: Regenerate.
37993 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37994 * sysdeps/sparc/sparc32/elf/configure: Delete.
37995 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37996 * sysdeps/sparc/sparc64/elf/configure: Delete.
37997 * sysdeps/sparc/elf/configure.in: New file.
37998 * sysdeps/sparc/elf/configure: Generate.
38000 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38001 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38002 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38003 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38004 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38006 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38008 * manual/install.texi: Do not mention specific glibc version
38010 * manual/libc.texinfo (VERSION, UPDATED): Update.
38011 (@copying): Use @copyright{} and range of years.
38013 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38016 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38017 [crti.S not in sysdirs] (generated): Do not append.
38018 [crti.S not in sysdirs] (omit-deps): Likewise.
38019 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38020 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38021 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38022 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38023 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38025 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38026 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38027 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38028 * csu/defs.awk: Remove file.
38029 * sysdeps/generic/initfini.c: Likewise.
38030 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38032 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38035 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38037 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38038 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38039 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38040 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38041 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38042 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38044 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38045 (__EPOLL_PACKED): Define to empty if not defined by
38047 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38051 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38053 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38054 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38055 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38056 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38058 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38059 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38062 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38064 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38066 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38067 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38068 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38071 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38073 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38074 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38076 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38078 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38079 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38081 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38083 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38086 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38088 * math/w_acos.c: Use non-signaling floating-point comparisons.
38089 * math/w_acosf.c: Likewise.
38090 * math/w_acosh.c: Likewise.
38091 * math/w_acoshf.c: Likewise.
38092 * math/w_acoshl.c: Likewise.
38093 * math/w_acosl.c: Likewise.
38094 * math/w_asin.c: Likewise.
38095 * math/w_asinf.c: Likewise.
38096 * math/w_asinl.c: Likewise.
38097 * math/w_atanh.c: Likewise.
38098 * math/w_atanhf.c: Likewise.
38099 * math/w_atanhl.c: Likewise.
38100 * math/w_exp2.c: Likewise.
38101 * math/w_exp2f.c: Likewise.
38102 * math/w_exp2l.c: Likewise.
38103 * math/w_j0.c: Likewise.
38104 * math/w_j0f.c: Likewise.
38105 * math/w_j0l.c: Likewise.
38106 * math/w_j1.c: Likewise.
38107 * math/w_j1f.c: Likewise.
38108 * math/w_j1l.c: Likewise.
38109 * math/w_jn.c: Likewise.
38110 * math/w_jnf.c: Likewise.
38111 * math/w_log.c: Likewise.
38112 * math/w_log10.c: Likewise.
38113 * math/w_log10f.c: Likewise.
38114 * math/w_log10l.c: Likewise.
38115 * math/w_log2.c: Likewise.
38116 * math/w_log2f.c: Likewise.
38117 * math/w_log2l.c: Likewise.
38118 * math/w_logf.c: Likewise.
38119 * math/w_logl.c: Likewise.
38120 * math/w_sqrt.c: Likewise.
38121 * math/w_sqrtf.c: Likewise.
38122 * math/w_sqrtl.c: Likewise.
38123 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38124 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38125 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38126 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38127 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38129 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38132 * manual/string.texi (strnlen): Use correct parameter name in
38133 equivalent expression.
38135 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38138 * manual/users.texi (seteuid): Consistently use neweuid for
38141 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38144 * manual/nss.texi (Services in the NSS configuration): Correct
38145 list of services in example configuration file.
38147 2012-02-19 Nick Bowler <nbowler@draconx.ca>
38150 * manual/arith.texi: Remove statements about negative zero
38151 behaving identically to zero.
38153 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38156 * manual/install.texi: Do not document upgrading from libc5.
38158 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38161 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38163 2012-02-18 David S. Miller <davem@davemloft.net>
38165 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38166 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38167 %o7 across the call.
38168 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38170 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38171 SETUP_PIC_REG_LEAF.
38172 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38173 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38174 * sysdeps/sparc/crtn.S: Likewise.
38176 2012-02-17 Ulrich Drepper <drepper@gmail.com>
38178 * aout/Makefile: Remove.
38180 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38183 * manual/examples/argp-ex1.c (main): Format definition in GNU
38185 * manual/examples/argp-ex2.c (main): Likewise.
38186 * manual/examples/argp-ex3.c (main): Likewise.
38187 * manual/examples/argp-ex4.c (main): Likewise.
38188 * manual/examples/longopt.c (main): Use new-style prototype
38190 * manual/examples/strncat.c (main): Specify return type and use
38191 (void) for arguments.
38192 * manual/examples/subopt.c (main): Use char **argv argument.
38194 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38197 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38200 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38203 * manual/string.texi (strchr): Change when strchrnul is
38206 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38209 * manual/locale.texi (setlocale): Document LOCPATH.
38211 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38214 * manual/process.texi (execle): Move @dots{} before last argument.
38216 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
38219 * manual/charset.texi (Generic Charset Conversion): Fix typo
38220 (LC_TYPE -> LC_CTYPE).
38222 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38225 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38226 (scalbnf): Likewise.
38227 (scalbnl): Likewise.
38228 (scalbln): Likewise.
38229 (scalblnf): Likewise.
38230 (scalblnl): Likewise.
38231 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38232 (vwarnx): Likewise.
38235 * manual/filesys.texi (telldir): Use braces around return type.
38236 * manual/llio.texi (mmap): Add space after comma.
38237 (mmap64): Likewise.
38238 * manual/math.texi (jn): Use @var{} on parameter names.
38244 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38246 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38248 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38249 (sched_get_priority_max): Likewise.
38250 * manual/signal.texi (sigvec): Add space after comma.
38251 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38253 (if_indextoname): Likewise.
38254 (if_freenameindex): Likewise.
38255 (sendto): Use ',' instead of '.' in prototype.
38256 * manual/startup.texi (syscall): Use @dots{} instead of literal
38258 * manual/stdio.texi (__fpending): Separate initial words of
38259 paragraph from @deftypefun line.
38260 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38262 (vsyslog): Use @var{} on parameter names.
38263 * manual/terminal.texi (stty): Use @var{} on parameter names.
38264 * manual/users.texi (getutmp): Use @var{} on parameter names.
38265 (getutmpx): Likewise.
38267 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38270 * manual/stdio.texi (fopen): Fix typos in description of
38273 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38276 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38277 get clock_id definition.
38279 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
38282 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38283 (madvise): Cast every argument to void on its own.
38285 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38288 * manual/startup.texi (Exit Status): Fix typo.
38290 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38293 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38294 * manual/examples/argp-ex2.c: Likewise.
38295 * manual/examples/argp-ex3.c: Likewise.
38297 2012-02-16 Richard Henderson <rth@redhat.com>
38299 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38300 * sysdeps/s390/s390-32/initfini.c: Remove.
38301 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38302 * sysdeps/s390/s390-64/initfini.c: Remove.
38304 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38306 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38307 compiler output for sysdeps/generic/initfini.c.
38308 * sysdeps/sh/elf/initfini.c: Remove file.
38310 2012-02-16 David S. Miller <davem@davemloft.net>
38313 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38315 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38316 * sysdeps/sparc/crti.S: New file.
38317 * sysdeps/sparc/crtn.S: New file.
38318 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38319 * sysdeps/sparc/sparc64/Makefile: Likewise.
38321 2012-02-15 Mike Frysinger <vapier@gentoo.org>
38324 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38326 2012-02-15 Roland McGrath <roland@hack.frob.com>
38329 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38331 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38332 (write, read, close): Likewise.
38333 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38335 2012-02-15 Joseph Myers <joseph@codesourcery.com>
38337 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38338 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38339 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38340 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38342 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38346 2012-02-14 Marek Polacek <polacek@redhat.com>
38348 * sysdeps/x86_64/crti.S: New file.
38349 * sysdeps/x86_64/crtn.S: New file.
38350 * sysdeps/x86_64/elf/initfini.c: Remove file.
38352 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38354 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38355 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38356 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38357 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38359 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38363 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38365 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38366 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38367 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38368 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38370 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38374 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38376 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38377 __feraiseexcept instead of feraiseexcept.
38379 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38380 nanosleep invocations.
38381 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38382 strings, and add error checking for a nanosleep invocations.
38384 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38386 Replace FSF snail mail address with URLs, as per GNU coding standards.
38387 Most of the snail mail addresses were wrong anyway, and omitting
38388 them makes the source code easier to maintain. Almost all of the
38389 changes are to license notices and to locale LC_IDENTIFICATION
38390 addresses, except for this one:
38391 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38392 not its snail mail address.
38394 2012-02-09 Richard Henderson <rth@twiddle.net>
38396 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38397 of kernel-features.h.
38399 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38401 2012-02-08 Marek Polacek <polacek@redhat.com>
38403 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38404 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38405 * sysdeps/gnu/_G_config.h: Likewise.
38406 * sysdeps/generic/_G_config.h: Likewise.
38408 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38410 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38414 * sysdeps/powerpc/powerpc32/crti.S: New file.
38415 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38416 * sysdeps/powerpc/powerpc64/crti.S: New file.
38417 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38419 * Makeconfig (have-initfini): Don't set.
38420 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38421 * configure.in (nopic_initfini): Don't substitute.
38422 * config.h.in (HAVE_INITFINI): Don't #undef.
38423 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38424 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38426 2012-02-08 Joseph Myers <joseph@codesourcery.com>
38428 Support crti.S and crtn.S provided directly by architectures.
38429 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38430 [crti.S in sysdirs] (omit-deps): Likewise.
38431 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38432 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38433 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38434 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38435 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38436 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38437 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38438 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38439 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38440 compiler output for sysdeps/generic/initfini.c.
38441 * sysdeps/i386/elf/Makefile: Remove file.
38442 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38444 2012-02-07 Marek Polacek <polacek@redhat.com>
38446 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38447 * sysdeps/gnu/_G_config.h: Likewise.
38448 * sysdeps/mach/hurd/_G_config.h: Likewise.
38450 2012-02-07 Marek Polacek <polacek@redhat.com>
38452 * math/Makefile (tests): Add tst-CMPLX2.
38453 * math/tst-CMPLX2.c: New file.
38455 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38457 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38459 * math/libm-test.inc (jn_test): Add missing L suffix.
38461 2012-02-06 Marek Polacek <polacek@redhat.com>
38463 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38464 * sysdeps/i386/fpu/e_powf.S: Likewise.
38465 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38466 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38467 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38468 * sysdeps/i386/fpu/e_pow.S: Likewise.
38469 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38470 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38471 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38472 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38473 * sysdeps/i386/fpu/e_log2.S: Likewise.
38474 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38475 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38476 * sysdeps/i386/fpu/e_powl.S: Likewise.
38477 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38478 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38479 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38480 * sysdeps/i386/fpu/e_logl.S: Likewise.
38481 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38482 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38483 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38484 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38485 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38486 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38487 * sysdeps/i386/fpu/e_log.S: Likewise.
38488 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38489 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38490 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38491 * sysdeps/i386/fpu/e_logf.S: Likewise.
38492 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38493 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38494 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38495 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38496 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38497 * sysdeps/i386/fpu/e_log10.S: Likewise.
38498 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38499 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38500 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38501 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38502 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38503 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38504 * sysdeps/i386/asm-syntax.h: Likewise.
38505 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38506 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38507 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38508 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38509 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38510 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38511 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38512 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38513 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38514 * sysdeps/powerpc/sysdep.h: Likewise.
38515 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38516 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38518 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38521 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38523 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38525 * sysdeps/i386/sysdep.h: Include <features.h>.
38526 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38529 2012-02-05 Joseph Myers <joseph@codesourcery.com>
38531 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38533 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38536 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38538 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38539 (SETUP_PIC_REG): Use GET_PC_THUNK.
38540 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38543 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38545 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38546 for non-PIC compilation.
38547 (SETUP_PIC_REG): Add .p2align directive.
38548 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38549 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38550 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38551 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38552 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38553 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38554 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38555 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38556 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38557 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38558 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38559 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38560 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38561 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38562 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38563 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38564 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38565 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38566 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38567 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38568 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38569 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38570 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38571 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38572 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38573 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38574 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38575 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38576 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38577 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38578 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38579 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38580 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38581 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38582 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38583 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38584 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38585 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38586 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38587 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38588 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38590 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38592 * math/tst-CMPLX.c: Include <stdio.h>.
38594 2012-01-31 Joseph Myers <joseph@codesourcery.com>
38596 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38598 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38599 * sysdeps/sparc/bits/mathdef.h: Likewise.
38601 2012-01-31 Marek Polacek <polacek@redhat.com>
38603 * libio/libio.h: Don't define _PARAMS.
38604 * locale/programs/config.h: Don't define PARAMS.
38605 * stdlib/strtol_l.c: Likewise.
38606 (__strtol_l): Remove PARAMS from the prototype.
38608 2012-01-31 Ulrich Drepper <drepper@gmail.com>
38610 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38611 names. Just use the correct names. Remove unnecessary wrapper
38613 * malloc/arena.c: Likewise.
38614 * malloc/hooks.c: Likewise.
38616 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38617 ARENA_TEST says not to. Simplify test for creation of a new arena.
38618 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38620 2012-01-30 Ulrich Drepper <drepper@gmail.com>
38622 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38624 (update_get_addr): New function.
38625 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38626 GET_ADDR_MODULE parameter.
38628 2012-01-30 Joseph Myers <joseph@codesourcery.com>
38630 * crypt/cert.c: Remove __STDC__ conditionals.
38631 * crypt/crypt-entry.c: Likewise.
38632 * crypt/crypt_util.c: Likewise.
38633 * libio/filedoalloc.c: Likewise.
38634 * libio/fileops.c: Likewise.
38635 * libio/genops.c: Likewise.
38636 * libio/iofclose.c: Likewise.
38637 * libio/iofdopen.c: Likewise.
38638 * libio/iofopen.c: Likewise.
38639 * libio/iofopen64.c: Likewise.
38640 * libio/iogetdelim.c: Likewise.
38641 * libio/iopopen.c: Likewise.
38642 * libio/obprintf.c: Likewise.
38643 * libio/oldfileops.c: Likewise.
38644 * libio/oldiofclose.c: Likewise.
38645 * libio/oldiofdopen.c: Likewise.
38646 * libio/oldiofopen.c: Likewise.
38647 * libio/oldiopopen.c: Likewise.
38648 * libio/wfiledoalloc.c: Likewise.
38649 * libio/wgenops.c: Likewise.
38650 * locale/programs/xmalloc.c: Likewise.
38651 * misc/syslog.c: Likewise.
38652 * stdio-common/xbug.c: Likewise.
38653 * string/memchr.c: Likewise.
38654 * string/memcmp.c: Likewise.
38655 * string/memrchr.c: Likewise.
38656 * string/rawmemchr.c: Likewise.
38657 * sysdeps/posix/getcwd.c: Likewise.
38658 * time/strftime_l.c: Likewise.
38660 2012-01-30 Joseph Myers <joseph@codesourcery.com>
38662 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38663 * config.make.in (config-cflags-sse2avx): Define.
38664 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38667 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38669 * scripts/config.guess: Update from upstream config git repository.
38670 * scripts/config.sub: Likewise.
38672 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38674 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38676 (R_TILEPRO_*, R_TILEGX_*): New macros.
38678 * scripts/firstversions.awk: Fix bug in version range handling.
38680 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38682 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38684 * include/sys/epoll.h: New file.
38685 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38688 2012-01-28 Ulrich Drepper <drepper@gmail.com>
38690 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38691 Avoid unnecessary __WORDSIZE == 64 test.
38692 (fmaxf): Use VEX format if possible.
38697 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38698 * math/math_private.h: Remove libc_fegetround* and
38700 * sysdeps/i386/configure.in: Check for -msse2avx.
38701 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38702 also if SSE2AVX is defined.
38703 Remove libc_fegetround* and libc_fesetround*.
38704 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38705 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38706 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38708 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38709 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38710 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38711 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38712 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38714 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38716 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38718 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38720 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38722 2012-01-27 Ulrich Drepper <drepper@gmail.com>
38725 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38727 * Makeconfig (libm): Define.
38728 * elf/Makefile: Add rules to build and run tst-relsort1.
38729 * elf/tst-relsort1.c: New file.
38730 * elf/tst-relsort1mod1.c: New file.
38731 * elf/tst-relsort1mod2.c: New file.
38733 2012-01-27 Joseph Myers <joseph@codesourcery.com>
38735 * math/s_ldexp.c: Remove __STDC__ conditionals.
38736 * math/s_ldexpf.c: Likewise.
38737 * math/s_ldexpl.c: Likewise.
38738 * math/s_nextafter.c: Likewise.
38739 * math/s_nexttowardf.c: Likewise.
38740 * math/s_significand.c: Likewise.
38741 * math/s_significandf.c: Likewise.
38742 * math/s_significandl.c: Likewise.
38743 * math/w_jnl.c: Likewise.
38744 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38745 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38746 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38747 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38748 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38749 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38750 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38751 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38752 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38753 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38754 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38755 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38756 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38757 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38758 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38759 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38760 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38761 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38762 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38763 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38764 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38765 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38766 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38767 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38768 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38769 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38770 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38771 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38772 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38773 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38774 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38775 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38776 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38777 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38778 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38779 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38780 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38781 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38782 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38783 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38784 * sysdeps/ieee754/k_standard.c: Likewise.
38785 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38786 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38787 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38788 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38789 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38790 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38791 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38792 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38793 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38794 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38795 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38796 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38797 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38798 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38799 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38800 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38801 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38802 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38803 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38804 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38805 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38806 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38807 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38808 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38809 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38810 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38811 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38812 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38813 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38814 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38815 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38816 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38817 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38818 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38819 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38820 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38821 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38822 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38823 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38824 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38825 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38826 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38827 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38828 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38829 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38830 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38831 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38832 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38833 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38834 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38835 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38836 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38837 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38838 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38839 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38840 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38841 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38842 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38843 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38844 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38845 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38846 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38847 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38848 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38849 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38850 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38851 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38852 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38853 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38854 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38855 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38856 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38857 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38858 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38859 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38860 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38861 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38862 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38863 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38864 * sysdeps/ieee754/s_matherr.c: Likewise.
38865 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38866 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38867 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38868 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38870 2012-01-26 Joseph Myers <joseph@codesourcery.com>
38872 * crypt/md5.h: Remove __STDC__ conditionals.
38873 * libio/libioP.h: Likewise.
38874 * locale/programs/config.h: Likewise.
38875 * sysdeps/generic/sysdep.h: Likewise.
38876 * sysdeps/i386/asm-syntax.h: Likewise.
38877 * sysdeps/s390/asm-syntax.h: Likewise.
38878 * sysdeps/unix/sysdep.h: Likewise.
38879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38882 2012-01-26 Joseph Myers <joseph@codesourcery.com>
38884 * libio/libio.h: Remove __STDC__ conditionals.
38885 * malloc/obstack.h: Likewise.
38886 * math/complex.h: Likewise.
38887 * math/math.h: Likewise.
38888 * sysdeps/generic/_G_config.h: Likewise.
38889 * sysdeps/gnu/_G_config.h: Likewise.
38890 * sysdeps/mach/hurd/_G_config.h: Likewise.
38891 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38892 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38893 * sysdeps/sparc/bits/mathdef.h: Likewise.
38895 2012-01-26 Ulrich Drepper <drepper@gmail.com>
38898 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38899 Clean up HAS_* macros.
38900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38901 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38903 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38905 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38906 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38907 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38908 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38909 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38911 2012-01-25 Joseph Myers <joseph@codesourcery.com>
38913 * elf/tst-unique3.cc (gets): Remove declaration.
38914 * elf/tst-unique3lib.cc (gets): Likewise.
38915 * elf/tst-unique3lib2.cc (gets): Likewise.
38916 * elf/tst-unique4.cc (gets): Likewise.
38918 2012-01-24 Ulrich Drepper <drepper@gmail.com>
38920 * include/stdio.h: Add C++ protection. Add gets declarations and
38922 * debug/tst-chk1.c: Don't declare gets here.
38923 * stdio-common/tst-gets.c: Likewise.
38925 2012-01-24 Joseph Myers <joseph@codesourcery.com>
38927 * posix/glob: Remove directory.
38929 2012-01-24 Joseph Myers <joseph@codesourcery.com>
38931 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38933 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38935 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38936 of the non-standard EPFNOSUPPORT.
38938 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38940 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38941 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38942 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38944 2012-01-21 Ulrich Drepper <drepper@gmail.com>
38946 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38948 2012-01-20 Ulrich Drepper <drepper@gmail.com>
38950 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38952 * nscd/grpcache.c (cache_addgr): Likewise.
38953 * nscd/hstcache.c (cache_addhst): Likewise.
38954 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38955 * nscd/pwdcache.c (cache_addpw): Likewise.
38956 * nscd/servicescache.c (cache_addserv): Likewise.
38958 2012-01-16 Ulrich Drepper <drepper@gmail.com>
38960 * malloc/malloc.c: Various cleanups.
38961 * malloc/hooks.c: Likewise.
38963 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38964 * stdlib/bug-fmtmsg1.c: New file.
38966 * stdlib/fmtmsg.c (init): Add missing unlock.
38967 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38969 2012-01-12 Marek Polacek <polacek@redhat.com>
38971 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38974 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38976 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38977 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38978 macro to ensure uniqueness of label name.
38979 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38980 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38982 2012-01-11 Ulrich Drepper <drepper@gmail.com>
38984 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38986 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38987 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38988 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38989 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38991 2012-01-10 Ulrich Drepper <drepper@gmail.com>
38993 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38995 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38996 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38997 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38999 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39001 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39002 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39003 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39004 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39006 * math/bits/math-finite.h: Add ldexp support.
39008 2012-01-10 Marek Polacek <polacek@redhat.com>
39010 * locale/programs/localedef.h (show_archive_content): Add noreturn
39013 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39015 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39017 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39019 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39021 * io/Makefile (headers): Add bits/poll2.h.
39023 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39026 typo #include statement.
39028 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39030 * include/sys/cdefs.h: Define __attribute_alloc_size.
39031 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39032 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39033 * elf/pldd.c: Likewise.
39034 * iconv/iconv_charmap.c: Likewise.
39035 * iconv/iconvconfig.c: Likewise.
39036 * iconv/strtab.c: Likewise.
39037 * locale/programs/locale.c: Likewise.
39038 * locale/programs/localedef.h: Likewise.
39039 * locale/programs/simple-hash.c: Likewise.
39040 * nscd/nscd.h: Likewise.
39041 * nss/makedb.c: Likewise.
39042 * sysdeps/generic/ldconfig.h: Likewise.
39043 * locale/programs/localedef.c: Remove xmalloc prototype.
39044 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39046 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39048 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39051 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39053 * math/Makefile (tests): Add tst-CMPLX.
39054 * math/tst-CMPLX.c: New file.
39056 * math/complex.h (CMPLXL): Fix typo.
39058 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39059 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39061 * debug/tst-chk1.c: Add poll and ppoll tests.
39062 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39063 * include/sys/poll.h: Add hidden proto for ppoll.
39064 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39065 * sysdeps/mach/hurd/ppoll.c: Likewise.
39066 * io/ppoll.c: Likewise.
39067 * debug/poll_chk.c: New file.
39068 * debug/ppoll_chk.c: New file.
39069 * include/bits/poll2.h: New file.
39070 * io/bits/poll2.h: New file.
39073 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39075 * configure.in: static is always set to yes. Remove.
39076 * config.make.in: Don't set build-static.
39077 * Makeconfig: Remove use of build-static.
39078 * dlfcn/Makefile: Likewise.
39079 * elf/Makefile: Likewise.
39080 * math/Makefile: Likewise.
39081 * misc/Makefile: Likewise.
39082 * nptl/Makefile: Likewise.
39083 * sysdeps/mach/hurd/Makefile: Likewise.
39085 * configure.in: PWD_P is not used anymore.
39086 * config.make.in: Remove PWD_P entry.
39088 * configure.in: Remove last remnants of RANLIB.
39089 No need to check for signed size_t anymore.
39090 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39092 Remove __builtin_expect test because we require at least gcc 3.4.
39093 * aclocal.m4: Likewise.
39095 * wcsmbs/mbrtoc16.c: Implement using towc function.
39096 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39097 * wcsmbs/wcsmbsload.c: Likewise.
39098 * iconv/gconv_simple.c: Likewise.
39099 * iconv/gconv_int.h: Likewise.
39100 * iconv/gconv_builtin.h: Likewise.
39101 * iconv/iconv_prog.c: Remove CHAR16 handling.
39103 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39105 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39107 * configure.in: Remove --with-elf and --enable-bounded options.
39108 Dont set base_machine for ia64. More non-ELF conditions removed.
39109 Remove testing and setting of leading underscore information.
39110 * config.make.in (build-bounded): Set to no.
39111 * config.h.in: Remove NO_UNDERSCORES entry.
39112 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39114 * csu/start.c: Remove !NO_UNDERSCORE code.
39115 * locale/localeinfo.h: Likewise.
39116 * sysdeps/generic/machine-gmon.h: Likewise.
39117 * sysdeps/generic/sysdep.h: Likewise.
39118 * sysdeps/i386/sysdep.h: Likewise.
39119 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39120 * sysdeps/mach/sysdep.h: Likewise.
39121 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39122 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39123 * sysdeps/sh/sysdep.h: Likewise.
39124 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39125 * sysdeps/unix/i386/sysdep.S: Likewise.
39126 * sysdeps/unix/sparc/start.c: Likewise.
39127 * sysdeps/unix/sparc/sysdep.S: Likewise.
39128 * sysdeps/unix/sparc/sysdep.h: Likewise.
39129 * sysdeps/unix/start.c: Likewise.
39130 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39131 * sysdeps/x86_64/sysdep.h: Likewise.
39133 2012-01-07 Ulrich Drepper <drepper@gmail.com>
39136 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39138 * argp/argp-fmtstream.h: Use const instead __const.
39139 * argp/argp.h: Likewise.
39140 * assert/assert.h: Likewise.
39141 * bits/fenv.h: Likewise.
39142 * bits/sched.h: Likewise.
39143 * bits/sigset.h: Likewise.
39144 * bits/sigthread.h: Likewise.
39145 * catgets/nl_types.h: Likewise.
39146 * conform/data/pthread.h-data: Likewise.
39147 * crypt/crypt-private.h: Likewise.
39148 * crypt/crypt.h: Likewise.
39149 * crypt/crypt_util.c: Likewise.
39150 * ctype/ctype.h: Likewise.
39151 * debug/execinfo.h: Likewise.
39152 * debug/mbsnrtowcs_chk.c: Likewise.
39153 * debug/mbsrtowcs_chk.c: Likewise.
39154 * debug/wcsnrtombs_chk.c: Likewise.
39155 * debug/wcsrtombs_chk.c: Likewise.
39156 * debug/wcstombs_chk.c: Likewise.
39157 * dirent/dirent.h: Likewise.
39158 * dlfcn/dlfcn.h: Likewise.
39159 * elf/neededtest4.c: Likewise.
39160 * grp/grp.h: Likewise.
39161 * gshadow/gshadow.h: Likewise.
39162 * iconv/gconv.h: Likewise.
39163 * iconv/gconv_int.h: Likewise.
39164 * iconv/gconv_simple.c: Likewise.
39165 * iconv/iconv.h: Likewise.
39166 * iconv/loop.c: Likewise.
39167 * iconv/skeleton.c: Likewise.
39168 * include/aio.h: Likewise.
39169 * include/aliases.h: Likewise.
39170 * include/argz.h: Likewise.
39171 * include/arpa/inet.h: Likewise.
39172 * include/assert.h: Likewise.
39173 * include/dirent.h: Likewise.
39174 * include/dlfcn.h: Likewise.
39175 * include/execinfo.h: Likewise.
39176 * include/fcntl.h: Likewise.
39177 * include/fenv.h: Likewise.
39178 * include/glob.h: Likewise.
39179 * include/grp.h: Likewise.
39180 * include/libintl.h: Likewise.
39181 * include/mntent.h: Likewise.
39182 * include/netdb.h: Likewise.
39183 * include/pwd.h: Likewise.
39184 * include/rpc/netdb.h: Likewise.
39185 * include/sched.h: Likewise.
39186 * include/search.h: Likewise.
39187 * include/shadow.h: Likewise.
39188 * include/signal.h: Likewise.
39189 * include/stdio.h: Likewise.
39190 * include/stdlib.h: Likewise.
39191 * include/string.h: Likewise.
39192 * include/sys/socket.h: Likewise.
39193 * include/sys/stat.h: Likewise.
39194 * include/sys/statfs.h: Likewise.
39195 * include/sys/statvfs.h: Likewise.
39196 * include/sys/syslog.h: Likewise.
39197 * include/sys/time.h: Likewise.
39198 * include/sys/uio.h: Likewise.
39199 * include/time.h: Likewise.
39200 * include/unistd.h: Likewise.
39201 * include/utmp.h: Likewise.
39202 * include/wchar.h: Likewise.
39203 * include/wctype.h: Likewise.
39204 * inet/aliases.h: Likewise.
39205 * inet/arpa/inet.h: Likewise.
39206 * inet/netinet/ether.h: Likewise.
39207 * inet/netinet/in.h: Likewise.
39208 * intl/libintl.h: Likewise.
39209 * io/bits/fcntl2.h: Likewise.
39210 * io/fcntl.h: Likewise.
39211 * io/ftw.h: Likewise.
39212 * io/sys/poll.h: Likewise.
39213 * io/sys/stat.h: Likewise.
39214 * io/sys/statfs.h: Likewise.
39215 * io/sys/statvfs.h: Likewise.
39216 * io/utime.h: Likewise.
39217 * libio/bits/stdio.h: Likewise.
39218 * libio/bits/stdio2.h: Likewise.
39219 * libio/libio.h: Likewise.
39220 * libio/libioP.h: Likewise.
39221 * libio/stdio.h: Likewise.
39222 * locale/lc-ctype.c: Likewise.
39223 * locale/locale.h: Likewise.
39224 * login/utmp.h: Likewise.
39225 * malloc/arena.c: Likewise.
39226 * malloc/malloc.c: Likewise.
39227 * malloc/malloc.h: Likewise.
39228 * malloc/mcheck.c: Likewise.
39229 * malloc/mtrace.c: Likewise.
39230 * math/bits/mathcalls.h: Likewise.
39231 * math/fenv.h: Likewise.
39232 * math/math_private.h: Likewise.
39233 * misc/bits/error.h: Likewise.
39234 * misc/bits/syslog.h: Likewise.
39235 * misc/err.h: Likewise.
39236 * misc/error.h: Likewise.
39237 * misc/fstab.h: Likewise.
39238 * misc/mntent.h: Likewise.
39239 * misc/regexp.h: Likewise.
39240 * misc/search.h: Likewise.
39241 * misc/sgtty.h: Likewise.
39242 * misc/sys/mman.h: Likewise.
39243 * misc/sys/syslog.h: Likewise.
39244 * misc/sys/uio.h: Likewise.
39245 * misc/sys/xattr.h: Likewise.
39246 * misc/ttyent.h: Likewise.
39247 * nis/rpcsvc/ypclnt.h: Likewise.
39248 * nss/nss.h: Likewise.
39249 * posix/bits/unistd.h: Likewise.
39250 * posix/fnmatch.h: Likewise.
39251 * posix/glob.h: Likewise.
39252 * posix/sched.h: Likewise.
39253 * posix/spawn.h: Likewise.
39254 * posix/sys/wait.h: Likewise.
39255 * posix/unistd.h: Likewise.
39256 * posix/wordexp.h: Likewise.
39257 * pwd/pwd.h: Likewise.
39258 * resolv/netdb.h: Likewise.
39259 * resource/sys/resource.h: Likewise.
39260 * rt/aio.h: Likewise.
39261 * rt/bits/mqueue2.h: Likewise.
39262 * rt/mqueue.h: Likewise.
39263 * shadow/shadow.h: Likewise.
39264 * signal/signal.h: Likewise.
39265 * socket/send.c: Likewise.
39266 * socket/sendto.c: Likewise.
39267 * socket/sys/socket.h: Likewise.
39268 * stdio-common/printf.h: Likewise.
39269 * stdlib/bits/stdlib.h: Likewise.
39270 * stdlib/fmtmsg.h: Likewise.
39271 * stdlib/monetary.h: Likewise.
39272 * stdlib/stdlib.h: Likewise.
39273 * stdlib/ucontext.h: Likewise.
39274 * streams/stropts.h: Likewise.
39275 * string/argz.h: Likewise.
39276 * string/bits/string2.h: Likewise.
39277 * string/string.h: Likewise.
39278 * string/strings.h: Likewise.
39279 * sunrpc/rpc/auth.h: Likewise.
39280 * sunrpc/rpc/auth_des.h: Likewise.
39281 * sunrpc/rpc/clnt.h: Likewise.
39282 * sunrpc/rpc/netdb.h: Likewise.
39283 * sunrpc/rpc/pmap_clnt.h: Likewise.
39284 * sunrpc/rpc/xdr.h: Likewise.
39285 * sysdeps/generic/inttypes.h: Likewise.
39286 * sysdeps/generic/net/if.h: Likewise.
39287 * sysdeps/generic/sys/swap.h: Likewise.
39288 * sysdeps/gnu/net/if.h: Likewise.
39289 * sysdeps/gnu/utmpx.h: Likewise.
39290 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39291 * sysdeps/i386/i486/bits/string.h: Likewise.
39292 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39293 * sysdeps/s390/bits/string.h: Likewise.
39294 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39295 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39296 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39297 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39298 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39299 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39300 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39301 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39302 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39303 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39304 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39305 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39306 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39307 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39308 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39309 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39310 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39311 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39312 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39313 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39314 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39315 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39316 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39317 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39318 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39319 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39320 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39321 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39322 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39323 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39324 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39325 * sysvipc/sys/ipc.h: Likewise.
39326 * sysvipc/sys/msg.h: Likewise.
39327 * sysvipc/sys/sem.h: Likewise.
39328 * sysvipc/sys/shm.h: Likewise.
39329 * termios/termios.h: Likewise.
39330 * time/sys/time.h: Likewise.
39331 * time/time.h: Likewise.
39332 * wcsmbs/bits/wchar2.h: Likewise.
39333 * wcsmbs/uchar.h: Likewise.
39334 * wcsmbs/wchar.h: Likewise.
39335 * wctype/wctype.h: Likewise.
39338 * Makeconfig: Remove all but ELF support including AIX support.
39339 * Makerules: Likewise.
39340 * config.h.in: Likewise.
39341 * config.make.in: Likewise.
39342 * configure: Likewise.
39343 * configure.in: Likewise.
39344 * csu/Makefile: Likewise.
39345 * csu/version.c: Likewise.
39346 * debug/Makefile: Likewise.
39347 * dlfcn/Makefile: Likewise.
39348 * elf/Makefile: Likewise.
39349 * extra-lib.mk: Likewise.
39350 * iconv/Makefile: Likewise.
39351 * include/libc-symbols.h: Likewise.
39352 * include/shlib-compat.h: Likewise.
39353 * resolv/Makefile: Likewise.
39354 * resolv/res_libc.c: Likewise.
39355 * rt/Makefile: Likewise.
39356 * sysdeps/i386/asm-syntax.h: Likewise.
39357 * sysdeps/i386/sysdep.h: Likewise.
39358 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39359 * sysdeps/mach/sysdep.h: Likewise.
39360 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39361 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39362 * sysdeps/s390/asm-syntax.h: Likewise.
39363 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39364 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39365 * sysdeps/sh/sysdep.h: Likewise.
39366 * sysdeps/unix/sparc/sysdep.h: Likewise.
39367 * sysdeps/wordsize-32/divdi3.c: Likewise.
39368 * sysdeps/x86_64/sysdep.h: Likewise.
39370 * argp/Versions: Remove _argp_unlock_xxx.
39373 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39374 * abilist/libBrokenLocale.abilist: Likewise.
39375 * abilist/libanl.abilist: Likewise.
39376 * abilist/libc.abilist: Likewise.
39377 * abilist/libcrypt.abilist: Likewise.
39378 * abilist/libdl.abilist: Likewise.
39379 * abilist/libm.abilist: Likewise.
39380 * abilist/libnsl.abilist: Likewise.
39381 * abilist/libpthread.abilist: Likewise.
39382 * abilist/libresolv.abilist: Likewise.
39383 * abilist/librt.abilist: Likewise.
39384 * abilist/libthread_db.abilist: Likewise.
39385 * abilist/libutil.abilist: Likewise.
39386 * abilist/libnss_db.abilist: New file.
39388 * scripts/abilist.awk: Add support for indirect functions.
39390 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39392 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39394 * shlib-versions: Remove entries for ports architectures.
39396 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39398 * elf/stackguard-macros.h: Remove support for IA-64.
39399 * elf/tst-auditmod1.c: Likewise.
39400 * sysdeps/generic/ldsodefs.h: Likewise.
39402 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39403 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39407 * configure.in: Remove --enable-omitfp support.
39409 * config.make.in: Likewise.
39410 * Makeconfig: Likewise.
39411 * manual/install.texi: Likewise.
39413 In case anyone cares, the IA-64 architecture could move to ports.
39414 * sysdeps/ia64/*: Removed.
39415 * sysdeps/unix/sysv/linux/ia64/*: Removed.
39416 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39419 * configure.in: Remove entries for unsupported architectures.
39422 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39423 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39425 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39426 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39427 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39428 fall back to using wcrtomb.
39429 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39430 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39432 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39433 * wcsmbs/tst-c16c32-1.c: New file.
39435 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39438 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39440 * elf/tst-unique3.cc: Add explicit declaration of gets.
39441 * elf/tst-unique3lib.cc: Likewise.
39442 * elf/tst-unique3lib2.cc: Likewise.
39443 * elf/tst-unique4.cc: Likewise.
39445 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39447 2012-01-06 Joseph Myers <joseph@codesourcery.com>
39450 * assert/assert.h (static_assert): Don't define for C++.
39451 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39452 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39454 2012-01-03 Ulrich Drepper <drepper@gmail.com>
39456 * iconv/loop.c (single loop): Fix assertion in storing of
39459 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39461 2012-01-01 Ulrich Drepper <drepper@gmail.com>
39463 * posix/getconf.c: Update copyright year.
39464 * nss/getent.c: Likewise.
39465 * nss/makedb.c: Likewise.
39466 * iconv/iconvconfig.c: Likewise.
39467 * iconv/iconv_prog.c: Likewise.
39468 * elf/ldconfig.c: Likewise.
39469 * elf/pldd.c: Likewise.
39470 * elf/sotruss.ksh: Likewise.
39471 * catgets/gencat.c: Likewise.
39472 * csu/version.c: Likewise.
39473 * elf/ldd.bash.in: Likewise.
39474 * elf/sprof.c (print_version): Likewise.
39475 * locale/programs/locale.c: Likewise.
39476 * locale/programs/localedef.c: Likewise.
39477 * login/programs/pt_chown.c: Likewise.
39478 * nscd/nscd.c (print_version): Likewise.
39479 * debug/xtrace.sh: Likewise.
39480 * malloc/memusage.sh: Likewise.
39481 * malloc/mtrace.pl: Likewise.
39482 * debug/catchsegv.sh: Likewise.
39484 2011-12-30 Jakub Jelinek <jakub@redhat.com>
39486 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39489 2011-12-24 Ulrich Drepper <drepper@gmail.com>
39492 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39493 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39495 * iconv/gconv_int.h: Likewise.
39496 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39497 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39498 from libc for GLIBC_2.16.
39499 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39500 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39501 * wcsmbs/uchar.h: Really define mbstate_t.
39502 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39503 * wcsmbs/c16rtomb.c: New file.
39504 * wcsmbs/mbrtoc16.c: New file.
39505 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39506 for C/POSIX locale.
39507 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39508 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39510 * wcsmbs/wchar.h: Add missing __restrict.
39512 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39515 * time/Makefile (routines): Add timespec_get.
39516 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39517 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39518 timespec for ISO C11.
39519 * time/timespec_get.c: New file.
39520 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39521 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39524 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39525 * stdlib/stdlib.h: Declare aligned_alloc.
39526 * Versions.def: Add GLIBC_2.16 for libc.
39527 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39530 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39533 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39537 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39540 * assert/assert.h (static_assert): Define.
39542 * version.h: Update for 2.16 development version.
39545 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39548 * version.h (RELEASE): Bump for 2.15 release.
39549 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39551 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39552 Patch by Marek Polacek <mpolacek@redhat.com>.
39554 * bits/byteswap.h: Protect long long constants with __extension__.
39555 * sysdeps/i386/bits/byteswap.h: Likewise.
39556 * sysdeps/ia64/bits/byteswap.h: Likewise.
39557 * sysdeps/s390/bits/byteswap.h: Likewise.
39558 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39560 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39563 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39564 destination buffer.
39565 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39567 2011-12-23 Marek Polacek <polacek@redhat.com>
39569 * elf/dl-addr.c (determine_info): Add inline keyword.
39570 * elf/tst-auditmod4b.c (check_avx): Likewise.
39571 * elf/tst-auditmod6b.c (check_avx): Likewise.
39572 * elf/tst-auditmod6c.c (check_avx): Likewise.
39573 * elf/tst-auditmod7b.c (check_avx): Likewise.
39575 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39577 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39580 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39583 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39584 processing for last bytes.
39586 2011-08-06 Bruno Haible <bruno@clisp.org>
39589 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39590 U+0385, not to U+1FEE.
39593 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39594 entry for U+00A5 U+0301.
39596 2011-12-22 Ulrich Drepper <drepper@gmail.com>
39599 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39600 buffer for the output is too small.
39602 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39606 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39607 SSE flags if possible.
39609 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39612 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39613 processing for last bytes.
39615 2011-12-22 Joseph Myers <joseph@codesourcery.com>
39617 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39618 (syscall-list-default-options, syscall-list-default-condition)
39619 (syscall-list-includes): Define.
39620 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39621 list of ABIs and options and #if conditions for each ABI. Do not
39622 handle common syscalls between ABIs specially.
39623 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39625 (syscall-list-variants, syscall-list-32bit-options)
39626 (syscall-list-32bit-condition, syscall-list-64bit-options)
39627 (syscall-list-64bit-condition): Define.
39628 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39629 (syscall-list-variants, syscall-list-32bit-options)
39630 (syscall-list-32bit-condition, syscall-list-64bit-options)
39631 (syscall-list-64bit-condition): Define.
39632 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39634 (syscall-list-variants, syscall-list-32bit-options)
39635 (syscall-list-32bit-condition, syscall-list-64bit-options)
39636 (syscall-list-64bit-condition): Define.
39637 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39639 (syscall-list-variants, syscall-list-32bit-options)
39640 (syscall-list-32bit-condition, syscall-list-64bit-options)
39641 (syscall-list-64bit-condition): Define.
39643 2011-12-22 Ulrich Drepper <drepper@gmail.com>
39645 * locale/iso-639.def: Add brx entry.
39648 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39649 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39651 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39652 __feraiseexcept_renamed.
39654 2011-12-21 Ulrich Drepper <drepper@gmail.com>
39657 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39658 EPOLLET with unsigned values.
39659 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39660 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39662 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39663 to large cancellation.
39664 * math/s_cacoshf.c: Likewise.
39665 * math/s_cacoshl.c: Likewise.
39667 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39671 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39672 * math/s_cacoshf.c: Likewise.
39673 * math/s_cacoshl.c: Likewise.
39675 2011-12-21 Ulrich Drepper <drepper@gmail.com>
39678 * iconv/gconv.h: Define __GCONV_SWAP.
39679 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39680 * iconvdata/utf-16.c: Likewise.
39681 * iconvdata/utf-32.c: Likewise.
39683 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39686 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39687 numerator after shifting it by one limb.
39689 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39691 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39692 under [__USE_EXTERN_INLINES].
39694 2011-12-17 Ulrich Drepper <drepper@gmail.com>
39697 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39699 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39701 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39702 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39704 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39705 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39706 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39707 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39708 for strncasecmp/strncasecmp_l compilation.
39709 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39710 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39712 2011-12-08 Marek Polacek <mpolacek@redhat.com>
39715 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39718 2011-12-17 Ulrich Drepper <drepper@gmail.com>
39721 * time/tzfile.c (__tzfile_read): Check values from file header.
39723 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39725 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39726 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39727 * powerpc/powerpc32/dl-start.S: Likewise.
39728 * powerpc/powerpc32/elf/start.S: Likewise.
39729 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39730 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39731 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39732 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39733 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39734 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39735 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39736 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39737 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39738 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39739 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39740 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39741 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39742 * powerpc/powerpc32/memset.S: Likewise.
39743 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39744 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39745 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39746 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39747 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39748 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39749 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39750 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39751 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39752 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39753 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39754 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39755 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39757 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39759 * math/libm-test.inc: Added more nearbyint tests.
39760 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39761 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39762 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39763 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39765 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39767 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39770 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39772 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39773 Add wcscpy-ssse3 wcscpy-c.
39774 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39775 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39776 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39777 * sysdeps/x86_64/wcschr.S: New file.
39778 * sysdeps/x86_64/wcsrchr.S: New file.
39779 * string/test-strcmp.c: Remove checking of wcscmp function for
39781 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39782 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39783 wcsrchr-sse2 wcsrchr-c.
39784 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39785 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39786 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39787 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39788 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39789 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39790 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39791 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39792 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39793 * wcsmbc/wcschr.c (WCSCHR): New macro.
39795 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39797 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39798 * wcsmbs/test-wcsrchr.c: New file.
39799 * string/test-strrchr.c: Add wcsrchr support.
39801 * wcsmbs/test-wcscpy.c: New file.
39802 * string/test-strcpy.c: Add wcscpy support.
39805 2011-12-10 Ulrich Drepper <drepper@gmail.com>
39807 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39810 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39813 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39815 2011-12-04 Ulrich Drepper <drepper@gmail.com>
39817 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39818 Minor optimizations.
39820 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39821 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39822 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39824 2011-12-03 Ulrich Drepper <drepper@gmail.com>
39826 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39827 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39828 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39829 for gcc to avoid warnings.
39830 * inet/Makefile (tests): Add tst-checks.
39831 * inet/tst-checks.c: New file.
39833 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39836 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39839 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39840 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39842 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39844 2011-12-02 Ulrich Drepper <drepper@gmail.com>
39846 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39849 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39851 2011-11-29 Joseph Myers <joseph@codesourcery.com>
39853 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39854 conditional on GCC version.
39855 (__arch_compare_and_exchange_val_8_acq)
39856 (__arch_compare_and_exchange_val_16_acq)
39857 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39858 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39859 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39861 2011-12-02 Joseph Myers <joseph@codesourcery.com>
39863 * sysdeps/sh/backtrace.c: New file.
39865 2011-12-02 Andreas Schwab <schwab@redhat.com>
39867 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39870 2011-12-01 Andreas Schwab <schwab@redhat.com>
39872 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39873 falling back to utime.
39875 2011-11-30 Andreas Schwab <schwab@redhat.com>
39877 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39878 expectations for float.
39880 2011-11-29 Andreas Schwab <schwab@redhat.com>
39882 * locale/weight.h (findidx): Add parameter len.
39883 * locale/weightwc.h (findidx): Likewise.
39884 * posix/fnmatch_loop.c (FCT): Adjust caller.
39885 * posix/regcomp.c (build_equiv_class): Likewise.
39886 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39887 * posix/regexec.c (check_node_accept_bytes): Likewise.
39888 * string/strcoll_l.c (STRCOLL): Likewise.
39889 * string/strxfrm_l.c (STRXFRM): Likewise.
39891 2011-11-17 Ulrich Drepper <drepper@gmail.com>
39893 * Makefile.in: Remove CVSOPT handling.
39894 * configure.in: Remove use of AC_REVISION.
39895 * iconvdata/Makefile (distribute): No need to filter out CVS.
39896 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39899 2011-11-16 Andreas Schwab <schwab@redhat.com>
39901 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39902 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39903 [USE_AS_STRNCASECMP_L]: Likewise.
39904 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39905 NO_TLS_DIRECT_SEG_REFS.
39906 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39907 Fix argument offsets for non-PIC.
39908 [USE_AS_STRNCASECMP_L]: Likewise.
39909 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39910 NO_TLS_DIRECT_SEG_REFS.
39912 2011-11-15 Ulrich Drepper <drepper@gmail.com>
39914 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39916 * locale/loadlocale.c (_nl_load_locale): Likewise.
39918 2011-11-15 Andreas Schwab <schwab@redhat.com>
39920 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39921 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39922 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39923 (SYSCALL_GETTIME): Set errno on error.
39925 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39926 count references to noai6ai_cached.
39928 2011-11-15 Ulrich Drepper <drepper@gmail.com>
39930 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39932 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39933 FD_CLOEXEC for /proc/self/maps.
39935 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39936 FD_CLOEXEC for /proc/meminfo.
39938 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39941 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39942 FD_CLOEXEC for given file.
39944 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39946 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39947 FD_CLOEXEC for /etc/hosts.
39948 (_gethtent): Likewise.
39950 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39952 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39953 cancellation and set FD_CLOEXEC for /etc/netgroup.
39955 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39956 reading /etc/publickey.
39958 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39959 allow cancellation when reading /etc/group.
39961 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39963 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39965 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39966 when using data file.
39968 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39970 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39971 (write_nis_obj): Use "c" and "e" in fopen.
39973 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39975 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39977 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39979 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39981 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39984 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39986 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39988 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39990 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39991 file parsing and set FD_CLOEXEC.
39993 2011-11-14 Ulrich Drepper <drepper@gmail.com>
39995 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39997 2011-11-14 Andreas Schwab <schwab@redhat.com>
39999 * malloc/arena.c (arena_get2): Don't call reused_arena when
40000 _int_new_arena failed.
40002 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40004 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40005 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40006 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40007 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40008 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40009 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40010 to compile strcasecmp and strncasecmp.
40011 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40012 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40014 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40016 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40018 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40019 locale-defines.sym to gen-as-const-headers.
40020 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40021 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40022 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40023 to compile strcasecmp and strncasecmp.
40024 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40025 strcasecmp_l and strncasecmp_l.
40026 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40027 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40028 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40029 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40030 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40031 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40032 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40033 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40034 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40035 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40036 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40038 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40040 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40041 result of SYSDEP_GETTIME_CPU to retval.
40042 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40043 parameter list to macro. Remove trailing semicolon. Adjust users.
40045 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40048 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40050 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40052 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40053 from unused variable.
40055 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40057 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40060 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40063 * sunrpc/rpc_prot.c (rejected): Fix case value.
40065 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40066 unsigned long long int to avoid warnings in shift.
40068 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40070 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40073 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40074 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40075 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40077 * nis/nis_table.c (nis_list): Use variable of correct type for
40078 result of __follow_path call.
40080 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40082 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40083 of math functions ceil, trunc, floor, round, and sqrt, when
40084 avaliable on the platform.
40085 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40087 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40088 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40089 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40091 2011-10-30 Marek Polacek <mpolacek@redhat.com>
40093 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40094 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40096 2011-11-11 Roland McGrath <roland@hack.frob.com>
40098 * include/unistd.h: Fix __readlink return type.
40099 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40101 2011-11-11 Ulrich Drepper <drepper@gmail.com>
40103 * stdlib/ucontext.h: Undo last change for makecontext.
40105 2011-11-11 Andreas Schwab <schwab@redhat.com>
40107 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40109 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40110 * setjmp/setjmp.h: Mark functions as non-leaf.
40111 * setjmp/bits/setjmp2.h: Likewise.
40112 * stdlib/ucontext.h: Likewise.
40114 2011-11-10 Andreas Schwab <schwab@redhat.com>
40116 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40117 (reused_arena): Don't check arena limit.
40118 (arena_get2): Atomically check arena limit.
40120 2011-11-08 Ulrich Drepper <drepper@gmail.com>
40122 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40123 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40125 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40128 2011-11-07 Andreas Schwab <schwab@redhat.com>
40130 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40131 handler when locking.
40133 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40134 Fix size of allocated buffer.
40136 2011-11-04 Andreas Schwab <schwab@redhat.com>
40139 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40140 declarations for long double functions.
40141 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40143 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40145 2011-11-03 Andreas Schwab <schwab@redhat.com>
40147 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40150 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40153 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40155 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40157 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40159 * include/alloca.h (stackinfo_alloca_round): Define.
40160 (extend_alloca): Use it.
40161 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40162 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40165 * scripts/check-local-headers.sh: Ignore libaudit.h.
40167 * nscd/Makefile (extra-objs): Make recursively expanded.
40169 2011-11-01 Ulrich Drepper <drepper@gmail.com>
40171 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40172 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40174 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40175 * posix/tst-rfc3484-2.c: Likewise.
40176 * posix/tst-rfc3484-3.c: Likewise.
40178 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40180 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40182 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40183 process_vm_writev from libc using GLIBC_2.15 version.
40185 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40187 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40189 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40192 2011-10-31 Ulrich Drepper <drepper@gmail.com>
40195 * nss/getent.c (initgroups_keys): Show error message in case no group
40198 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40199 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40200 __bump_nl_timestamp.
40201 * nscd/connections (nscd_init): When host database is served open
40202 netlink socket and request notification about configuration changes.
40203 (main_loop_poll): Track netlink file descriptor and bump timestamp
40204 in case data becomes available.
40205 (main_loop_epoll): Likewise.
40206 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40207 (database_pers_head): Add extra_data fileds.
40208 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40209 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40210 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40212 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40213 in6ai data, call __free_in6ai.
40214 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40215 Add -DHAVE_NETLINK.
40216 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40217 interface information. Reuse previous data if netlink timestamp
40219 (__bump_nl_timestamp): New function.
40220 (__free_in6ai): New function.
40222 2011-10-30 Ulrich Drepper <drepper@gmail.com>
40224 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40225 close_not_cancel_no_status here.
40226 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40228 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40231 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40234 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40235 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40236 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40238 2011-07-03 Andreas Jaeger <aj@suse.de>
40241 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40242 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40243 * math/libm-test.inc (sin_test): Add test case.
40245 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40248 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40249 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40251 * elf/chroot_canon.c (chroot_canon): Cleanups.
40253 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40256 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40257 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40259 * string/test-strchr.c: Make usable for strchrnul testing.
40260 * string/test-strchrnul.c: New file.
40261 * string/Makefile (strop-tests): Add strchrnul.
40263 * po/it.po: Update from translation team.
40264 * po/es.po: Likewise.
40266 2011-10-28 Ulrich Drepper <drepper@gmail.com>
40268 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40269 the three constants needed as parameters. Drop the others.
40270 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40271 __m128i_strloadu_tolower.
40272 Create and initialize variable zero and use it in all the places
40273 where _mm_setzero_si128 was used.
40275 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40276 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40277 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40278 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40280 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40281 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40282 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40283 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40284 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40285 __mpranred, __mptan.
40286 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40287 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40288 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40289 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40290 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40291 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40292 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40293 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40294 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40296 2011-10-28 Andreas Schwab <schwab@redhat.com>
40298 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40299 redefine if SHARED.
40300 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40302 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40303 wide char related routines to wcsmbs subdir.
40305 2011-10-27 Andreas Schwab <schwab@redhat.com>
40308 * misc/sys/cdefs.h (__THROWNL): Define.
40309 * posix/unistd.h: Use __THREADNL instead of __THREAD
40310 for memory synchronization functions.
40312 2011-10-26 Roland McGrath <roland@hack.frob.com>
40315 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40317 * manual/stdio.texi (Obstack Streams): Node removed.
40319 2011-10-26 Andreas Schwab <schwab@redhat.com>
40321 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40322 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40323 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40325 * math/math_private.h (math_force_eval): Allow non-addressable
40327 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40329 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40331 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40332 file is not needed.
40334 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40335 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40336 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40337 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40338 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40339 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40340 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40341 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40343 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40344 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40345 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40346 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40347 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40348 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40349 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40350 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40351 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40352 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40353 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40354 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40355 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40356 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40357 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40358 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40359 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40360 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40361 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40363 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40364 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40366 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40367 place. Use VEX encoding when compiling for AVX.
40369 2011-10-25 Andreas Schwab <schwab@redhat.com>
40371 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40372 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40374 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40376 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40378 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40379 useless if() expression.
40380 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40381 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40382 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40383 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40384 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40385 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40386 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40387 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40388 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40389 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40390 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40391 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40392 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40393 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40394 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40395 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40396 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40397 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40398 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40400 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40402 2011-10-25 Andreas Schwab <schwab@redhat.com>
40404 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40406 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40408 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40410 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40411 .text section. Avoid duplicate constants.
40412 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40413 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40414 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40415 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40416 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40417 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40419 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40420 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40421 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40422 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40423 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40424 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40425 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40426 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40427 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40428 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40429 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40430 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40431 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40432 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40433 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40434 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40435 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40436 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40437 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40438 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40439 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40440 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40441 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40442 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40443 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40444 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40445 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40446 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40447 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40448 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40449 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40450 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40451 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40452 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40453 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40454 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40455 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40456 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40458 2011-10-24 Ulrich Drepper <drepper@gmail.com>
40460 * sysdeps/x86_64/dla.h: Move to ...
40461 * sysdeps/x86_64/fpu/dla.h: ...here.
40462 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40463 situations. Use __builtin_fma only for gcc 4.6 and up.
40465 * config.make.in: Add have-mfma4 entry.
40466 * configure.in: Substitute libc_cv_cc_fma4.
40467 * math/Makefile (dbl-only-routines): Add sincostab.
40468 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40469 Use __sincostab not sincos.
40470 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40472 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40473 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40474 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40475 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40477 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40478 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40479 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40480 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40482 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40483 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40485 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40486 define aliases when function name is a macro.
40487 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40488 sysdeps/ieee754/dbl-64/sincos.tbl.
40489 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40490 fma4-enabled routines.
40491 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40492 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40493 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40494 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40495 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40496 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40497 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40498 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40499 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40500 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40501 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40502 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40503 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40504 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40505 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40506 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40507 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40508 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40509 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40510 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40511 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40512 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40513 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40514 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40515 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40516 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40517 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40518 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40519 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40520 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40522 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40524 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40525 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40526 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40527 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40529 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40530 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40531 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40533 2011-10-24 Andreas Schwab <schwab@redhat.com>
40535 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40537 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40539 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40541 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40543 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40545 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40546 Remove unused variable magic_bits.
40547 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40549 * string/strnlen.c: Define and use STRNLEN macro.
40550 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40551 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40552 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40553 * wcsmbs/wcslen.c: Define and use WCSLEN.
40554 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40555 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40556 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40557 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40558 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40559 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40560 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40562 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40565 strnlen-sse2-no-bsf.
40566 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40567 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40568 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40569 Add strnlen support.
40570 (USE_AS_STRNLEN): New macro.
40571 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40572 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40573 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40574 * sysdeps/x86_64/wcslen.S: New file.
40576 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40578 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40579 XMM-moves are used for copying on small sizes.
40581 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40583 * wcsmbs/Makefile (strop-tests): Add wcschr.
40584 * wcsmbs/test-wcschr.c: New file.
40585 * string/test-strchr.c: Update.
40586 Add wcschr support.
40589 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40591 * wcsmbs/Makefile (strop-tests): Add wcslen.
40592 * wcsmbs/test-wcslen.c: New file.
40593 * string/test-strlen.c: Update.
40594 Add wcslen support.
40597 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40599 * po/it.po: Update from translation team.
40601 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40603 * sysdeps/x86_64/wcscmp.S: Update.
40604 Fix wrong comparison semantics.
40605 wcscmp shall use signed comparison not unsigned.
40606 Don't use substraction to avoid overflow bug.
40607 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40608 * wcsmbc/wcscmp.c: Likewise.
40609 * string/test-strcmp.c: Likewise.
40610 Add new tests to check cases with negative values.
40612 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40614 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40615 * sysdeps/x86_64/dla.h: ...here. New file.
40616 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40617 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40618 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40620 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40621 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40622 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40623 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40624 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40626 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40628 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40629 __ynl_finite aliases.
40631 2011-10-22 Ulrich Drepper <drepper@gmail.com>
40633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40635 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40637 [DLA_FMA] (EMULV): Use DLA_FMA.
40638 [DLA_FMA] (MUL12): Use EMULV.
40639 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40640 that are not needed.
40641 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40642 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40643 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40644 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40645 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40646 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40647 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40649 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40651 * math/s_nan.c: Undef __nan.
40652 * math/s_nanf.c: Undef __nanf.
40653 * math/s_nanl.c: Undef __nanl.
40654 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40657 2011-10-22 Ulrich Drepper <drepper@gmail.com>
40659 * math/s_catan.c: Add branch predictions.
40660 * math/s_catanf.c: Likewise.
40661 * math/s_catanh.c: Likewise.
40662 * math/s_catanhf.c: Likewise.
40663 * math/s_catanhl.c: Likewise.
40664 * math/s_catanl.c: Likewise.
40665 * math/s_cexp.c: Likewise.
40666 * math/s_cexpf.c: Likewise.
40667 * math/s_cexpl.c: Likewise.
40668 * math/s_clog.c: Likewise.
40669 * math/s_clog10.c: Likewise.
40670 * math/s_clog10f.c: Likewise.
40671 * math/s_clog10l.c: Likewise.
40672 * math/s_clogf.c: Likewise.
40673 * math/s_clogl.c: Likewise.
40674 * math/s_csqrt.c: Likewise.
40675 * math/s_csqrtf.c: Likewise.
40676 * math/s_csqrtl.c: Likewise.
40677 * math/s_ctanf.c: Likewise.
40678 * math/s_ctanh.c: Likewise.
40679 * math/s_ctanhf.c: Likewise.
40680 * math/s_ctanhl.c: Likewise.
40681 * math/s_ctanl.c: Likewise.
40683 * math/math_private.h: Define __nan, __nanf, __nanl.
40684 * math/s_cacosh.c: Include <math_private.h>.
40685 * math/s_cacoshl.c: Likewise.
40686 * math/s_casinh.c: Likewise.
40687 * math/s_casinhf.c: Likewise.
40688 * math/s_casinhl.c: Likewise.
40689 * math/s_ccos.c: Rely entire on ccosh.
40690 * math/s_ccosf.c: Rely entire on ccoshf.
40691 * math/s_ccosl.c: Rely entirely on ccoshl.
40692 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40693 Remove tests for FE_INVALID.
40694 * math/s_ccoshf.c: Likewise.
40695 * math/s_ccoshl.c: Likewise.
40696 * math/s_csin.c: Likewise.
40697 * math/s_csinf.c: Likewise.
40698 * math/s_csinh.c Likewise.
40699 * math/s_csinhf.c: Likewise.
40700 * math/s_csinhl.c: Likewise.
40701 * math/s_csinl.c: Likewise.
40702 * math/s_ctan.c: Likewise.
40703 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40704 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40705 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40707 2011-10-21 Ulrich Drepper <drepper@gmail.com>
40709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40710 compilation problems.
40712 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40715 2011-10-20 Ulrich Drepper <drepper@gmail.com>
40717 * sysdeps/i386/configure.in: Test for -mfma4 option.
40718 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40719 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40720 COMMON_CPUID_INDEX_80000001.
40721 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40722 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40723 use it if FMA3 is not supported.
40724 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40726 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40727 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40729 2011-10-20 Andreas Schwab <schwab@redhat.com>
40732 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40733 it would create a cycle with a link time dependency.
40735 2011-10-19 Ulrich Drepper <drepper@gmail.com>
40737 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40739 * string/Makefile (strop-tests): Add rawmemchr.
40740 * string/test-rawmemchr.c: New file.
40742 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40743 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40744 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40745 when compiling str{,n}casecmp and when AVX is available. Hook up
40746 new optimized code in initializers.
40748 2011-10-19 Andreas Schwab <schwab@redhat.com>
40750 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40751 __feraiseexcept instead of feraiseexcept.
40753 2011-10-18 Ulrich Drepper <drepper@gmail.com>
40755 * math/math_private.h: Define defaults for libc_fetestexcept and
40757 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40758 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40759 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40760 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40761 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40762 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40763 libc_fetestexcept and libc_feupdateenv.
40765 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40766 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40767 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40768 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40769 libc_feholdexcept_setround.
40771 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40772 Add s_nearbyint-c and s_nearbyintf-c.
40773 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40774 nearbyintf inlines.
40775 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40776 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40777 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40778 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40780 * math/math_private.h: Define defaults for libc_fegetround,
40781 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40782 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40783 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40784 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40785 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40786 standard functions.
40787 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40788 Remove comments and hacks for old compiler versions.
40789 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40790 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40791 libc_feholdexceptl.
40793 2011-10-18 Andreas Schwab <schwab@redhat.com>
40795 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40796 (__feraiseexcept_renamed): Add __NTH.
40797 (feraiseexcept): Add __NTH. Rename local variables to fix
40798 namespace violations.
40800 2011-10-17 Ulrich Drepper <drepper@gmail.com>
40802 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40804 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40806 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40807 recently added interfaces.
40808 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40810 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40811 about macro parameter expansion.
40813 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40814 __NO_MATH_INLINES is defined. Cleanups.
40816 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40817 and __floorf is target has SSE4.1.
40818 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40819 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40820 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40821 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40823 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40825 (floorf): Likewise.
40827 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40829 2011-10-17 Andreas Schwab <schwab@redhat.com>
40831 * misc/sys/cdefs.h: Fix last change.
40833 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40836 2011-10-16 Ulrich Drepper <drepper@gmail.com>
40838 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40840 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40841 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40842 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40843 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40844 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40845 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40846 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40847 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40848 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40849 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40850 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40851 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40852 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40853 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40854 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40855 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40856 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40857 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40858 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40859 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40860 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40861 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40863 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40864 ceil, ceilf, floor, floorf.
40866 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40867 Perform IRELATIVE relocations last.
40869 * elf/do-rel.h: Add another parameter nrelative, replacing the
40870 local variable with the same name. Change name of the function
40871 to end in Rel or Rela (uppercase).
40872 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40873 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40874 elf_dynamic_do_##reloc function.
40876 2011-10-15 Ulrich Drepper <drepper@gmail.com>
40878 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40879 is sufficient, at least on modern CPUs.
40881 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40883 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40884 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40886 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40888 * math/bits/math-finite.h: Add entries for exp.
40889 * math/e_expl.c: Add __*_finite alias.
40890 * sysdeps/i386/fpu/e_exp.S: Likewise.
40891 * sysdeps/i386/fpu/e_expf.S: Likewise.
40892 * sysdeps/i386/fpu/e_expl.c: Likewise.
40893 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40894 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40895 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40896 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40897 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40898 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40899 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40901 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40902 is sufficient, at least on modern CPUs.
40904 * ctype/ctype-info.c (__ctype_init): Define.
40905 * include/ctype.h (__ctype_init): Declare.
40906 (__ctype_b_loc): The variable is always initialized.
40907 (__ctype_toupper_loc): Likewise.
40908 (__ctype_tolower_loc): Likewise.
40909 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40910 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40912 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40914 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40916 * configure.in: Also look in $cxxmachine/include for C++ system
40919 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40921 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40922 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40923 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40924 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40925 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40926 (USE_AS_WMEMCMP): New macro.
40928 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40929 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40930 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40931 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40932 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40933 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40934 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40935 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40936 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40937 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40938 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40939 (USE_AS_WMEMCMP): New macro.
40940 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40941 * sysdeps/string/test-memcmp.c: Update.
40942 Fix simple_wmemcmp.
40944 * wcsmbs/wmemcmp.c: Update.
40945 (WMEMCMP): New macro.
40948 2011-10-12 Andreas Jaeger <aj@suse.de>
40951 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40953 2011-10-15 Ulrich Drepper <drepper@gmail.com>
40955 * libio/iofwide.c (do_length): Avoid warning.
40957 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40959 2011-10-14 Ulrich Drepper <drepper@gmail.com>
40961 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40963 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40964 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40965 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40966 * sysdeps/i386/i686/fpu/e_log.S: New file.
40967 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40968 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40970 * ctype/ctype.h: Add support for inlined isXXX functions when
40971 compiling C++ code.
40973 2011-10-14 Andreas Schwab <schwab@redhat.com>
40975 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40977 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40979 2011-10-13 Roland McGrath <roland@hack.frob.com>
40982 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40984 2011-10-13 Andreas Schwab <schwab@redhat.com>
40986 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40987 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40990 * sysdeps/x86_64/memrchr.S: Check for zero size.
40992 * string/stratcliff.c: Add memrchr tests.
40994 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40996 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40997 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40998 rawmemchr-sse2 rawmemchr-sse2-bsf.
40999 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41000 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41001 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41002 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41003 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41004 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41005 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41006 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41007 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41008 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41009 * string/memrchr.c (MEMRCHR): New macro.
41011 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41013 Add integration with gcc's -ffinite-math-only and optimize wrapper
41015 * Versions.def: Define GLIBC_2.15 version for libm.
41016 * math/Makefile (headers): Add bits/math-finite.h.
41017 * math/bits/math-finite.h: New file.
41018 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41019 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41020 * math/e_acoshl.c: Add __*_finite alias.
41021 * math/e_acosl.c: Likewise.
41022 * math/e_asinl.c: Likewise.
41023 * math/e_atan2l.c: Likewise.
41024 * math/e_atanhl.c: Likewise.
41025 * math/e_coshl.c: Likewise.
41026 * math/e_exp10.c: Likewise.
41027 * math/e_exp10f.c: Likewise.
41028 * math/e_exp10l.c: Likewise.
41029 * math/e_exp2l.c: Likewise.
41030 * math/e_fmodl.c: Likewise.
41031 * math/e_gammal_r.c: Likewise.
41032 * math/e_hypotl.c: Likewise.
41033 * math/e_j0l.c: Likewise.
41034 * math/e_j1l.c: Likewise.
41035 * math/e_jnl.c: Likewise.
41036 * math/e_lgammal_r.c: Likewise.
41037 * math/e_log10l.c: Likewise.
41038 * math/e_log2l.c: Likewise.
41039 * math/e_logl.c: Likewise.
41040 * math/e_powl.c: Likewise.
41041 * math/e_sinhl.c: Likewise.
41042 * math/e_sqrtl.c: Likewise.
41043 * math/e_scalb.c: Completely rewritten and optimized.
41044 * math/e_scalbf.c: Likewise.
41045 * math/e_scalbl.c: Likewise.
41046 * math/w_acos.c: Likewise.
41047 * math/w_acosf.c: Likewise.
41048 * math/w_acosl.c: Likewise.
41049 * math/w_acosh.c: Likewise.
41050 * math/w_acoshf.c: Likewise.
41051 * math/w_acoshl.c: Likewise.
41052 * math/w_asin.c: Likewise.
41053 * math/w_asinf.c: Likewise.
41054 * math/w_asinl.c: Likewise.
41055 * math/w_atan2.c: Likewise.
41056 * math/w_atan2f.c: Likewise.
41057 * math/w_atan2l.c: Likewise.
41058 * math/w_atanh.c: Likewise.
41059 * math/w_atanhf.c: Likewise.
41060 * math/w_atanhl.c: Likewise.
41061 * math/w_exp10.c: Likewise.
41062 * math/w_exp10f.c: Likewise.
41063 * math/w_exp10l.c: Likewise.
41064 * math/w_fmod.c: Likewise.
41065 * math/w_fmodf.c: Likewise.
41066 * math/w_fmodl.c: Likewise.
41067 * math/w_j0.c: Likewise.
41068 * math/w_j0f.c: Likewise.
41069 * math/w_j0l.c: Likewise.
41070 * math/w_j1.c: Likewise.
41071 * math/w_j1f.c: Likewise.
41072 * math/w_j1l.c: Likewise.
41073 * math/w_jn.c: Likewise.
41074 * math/w_jnf.c: Likewise.
41075 * math/w_log.c: Likewise.
41076 * math/w_logf.c: Likewise.
41077 * math/w_logl.c: Likewise.
41078 * math/w_log10.c: Likewise.
41079 * math/w_log10f.c: Likewise.
41080 * math/w_log10l.c: Likewise.
41081 * math/w_log2.c: Likewise.
41082 * math/w_log2f.c: Likewise.
41083 * math/w_log2l.c: Likewise.
41084 * math/w_pow.c: Likewise.
41085 * math/w_powf.c: Likewise.
41086 * math/w_powl.c: Likewise.
41087 * math/w_remainder.c: Likewise.
41088 * math/w_remainderf.c: Likewise.
41089 * math/w_remainderl.c: Likewise.
41090 * math/w_scalb.c: Likewise.
41091 * math/w_scalbf.c: Likewise.
41092 * math/w_scalbl.c: Likewise.
41093 * math/w_sqrt.c: Likewise.
41094 * math/w_sqrtf.c: Likewise.
41095 * math/w_sqrtl.c: Likewise.
41096 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41097 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41099 * math/math_private.h: Declare __kernel_standard_f.
41100 * math/w_cosh.c: Remove cruft and optimize a bit.
41101 * math/w_coshf.c: Likewise.
41102 * math/w_coshl.c: Likewise.
41103 * math/w_exp2.c: Likewise.
41104 * math/w_exp2f.c: Likewise.
41105 * math/w_exp2l.c: Likewise.
41106 * math/w_hypot.c: Likewise.
41107 * math/w_hypotf.c: Likewise.
41108 * math/w_hypotl.c: Likewise.
41109 * math/w_lgamma.c: Likewise.
41110 * math/w_lgamma_r.c: Likewise.
41111 * math/w_lgammaf.c: Likewise.
41112 * math/w_lgammaf_r.c: Likewise.
41113 * math/w_lgammal.c: Likewise.
41114 * math/w_lgammal_r.c: Likewise.
41115 * math/w_sinh.c: Likewise.
41116 * math/w_sinhf.c: Likewise.
41117 * math/w_sinhl.c: Likewise.
41118 * math/w_tgamma.c: Likewise.
41119 * math/w_tgammaf.c: Likewise.
41120 * math/w_tgammal.c: Likewise.
41121 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41122 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41123 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41124 Minor optimizations. Pretty printing. Remove cruft.
41125 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41126 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41127 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41128 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41129 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41130 * sysdeps/i386/fpu/e_asin.S: Likewise.
41131 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41132 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41133 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41134 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41135 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41136 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41137 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41138 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41139 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41140 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41141 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41142 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41143 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41144 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41145 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41146 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41147 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41148 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41149 * sysdeps/i386/fpu/e_log.S: Likewise.
41150 * sysdeps/i386/fpu/e_log10.S: Likewise.
41151 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41152 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41153 * sysdeps/i386/fpu/e_log2.S: Likewise.
41154 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41155 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41156 * sysdeps/i386/fpu/e_logf.S: Likewise.
41157 * sysdeps/i386/fpu/e_logl.S: Likewise.
41158 * sysdeps/i386/fpu/e_pow.S: Likewise.
41159 * sysdeps/i386/fpu/e_powf.S: Likewise.
41160 * sysdeps/i386/fpu/e_powl.S: Likewise.
41161 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41162 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41163 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41164 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41165 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41166 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41167 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41168 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41169 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41170 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41171 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41172 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41173 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41174 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41175 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41176 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41177 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41178 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41179 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41180 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41181 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41182 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41183 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41184 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41185 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41186 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41187 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41188 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41189 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41190 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41191 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41192 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41193 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41194 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41195 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41196 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41197 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41198 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41199 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41200 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41201 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41202 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41203 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41204 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41205 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41206 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41207 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41208 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41209 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41210 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41211 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41212 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41213 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41214 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41215 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41216 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41217 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41218 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41219 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41220 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41221 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41222 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41223 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41224 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41225 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41226 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41227 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41228 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41229 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41230 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41231 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41232 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41233 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41234 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41235 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41236 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41237 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41238 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41239 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41240 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41241 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41242 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41243 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41244 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41245 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41246 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41247 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41248 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41249 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41250 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41251 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41252 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41253 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41254 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41255 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41256 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41257 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41258 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41259 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41260 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41261 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41262 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41263 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41264 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41265 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41266 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41267 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41268 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41269 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41270 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41271 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41272 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41273 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41274 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41275 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41276 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41277 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41278 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41279 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41280 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41281 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41282 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41283 (__isnanf): Likewise.
41284 (__isinf_ns): Likewise.
41285 (__isinf_nsf): Likewise.
41286 (__finite): Likewise.
41287 (__finitef): Likewise.
41288 (__ieee754_sqrt): Define as macro.
41289 (__ieee754_sqrtf): Define as macro.
41290 (__ieee754_sqrtl): Define as macro.
41291 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41293 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41294 __FINITE_MATH_ONLY__ consistent.
41295 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41297 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41299 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41302 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41304 2011-10-09 Ulrich Drepper <drepper@gmail.com>
41306 * po/ja.po: Update from translation team.
41308 2011-10-08 Roland McGrath <roland@hack.frob.com>
41310 * locale/programs/locarchive.c (prepare_address_space): New function.
41311 (create_archive, enlarge_archive, open_archive): Use it.
41313 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41314 inside [SHARED], where it is used.
41316 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41318 * nss/getent.c (netgroup_keys): Remove unused variable.
41319 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41321 2011-10-08 Ulrich Drepper <drepper@gmail.com>
41323 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41324 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41325 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41326 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41327 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41328 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41329 * math/Makefile (libm-calls): Add s_isinf_ns.
41330 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41331 * math/multc3.c: Likewise.
41332 * math/s_casin.c: Likewise.
41333 * math/s_casinf.c: Likewise.
41334 * math/s_casinl.c: Likewise.
41335 * math/s_ccos.c: Likewise.
41336 * math/s_ccosf.c: Likewise.
41337 * math/s_ccosl.c: Likewise.
41338 * math/s_ctan.c: Likewise.
41339 * math/s_ctanf.c: Likewise.
41340 * math/s_ctanh.c: Likewise.
41341 * math/s_ctanhf.c: Likewise.
41342 * math/s_ctanhl.c: Likewise.
41343 * math/s_ctanl.c: Likewise.
41344 * math/w_fmod.c: Likewise.
41345 * math/w_fmodf.c: Likewise.
41346 * math/w_fmodl.c: Likewise.
41347 * math/w_remainder.c: Likewise.
41348 * math/w_remainderf.c: Likewise.
41349 * math/w_remainderl.c: Likewise.
41350 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41351 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41352 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41353 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41354 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41355 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41356 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41357 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41359 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41361 * stdio-common/printf_fphex.c: Likewise.
41362 * stdio-common/printf_size.c: Likewise.
41364 * math/e_exp10.c: Include math_private.h using <...> not "...".
41365 * math/e_exp10f.c: Likewise.
41366 * math/e_exp10l.c: Likewise.
41367 * math/e_exp2l.c: Likewise.
41368 * math/e_j0l.c: Likewise.
41369 * math/e_j1l.c: Likewise.
41370 * math/e_jnl.c: Likewise.
41371 * math/e_lgammal_r.c: Likewise.
41372 * math/e_rem_pio2l.c: Likewise.
41373 * math/e_scalb.c: Likewise.
41374 * math/e_scalbf.c: Likewise.
41375 * math/e_scalbl.c: Likewise.
41376 * math/k_cosl.c: Likewise.
41377 * math/k_sinl.c: Likewise.
41378 * math/k_tanl.c: Likewise.
41379 * math/s_cacoshf.c: Likewise.
41380 * math/s_catan.c: Likewise.
41381 * math/s_catanf.c: Likewise.
41382 * math/s_catanh.c: Likewise.
41383 * math/s_catanhf.c: Likewise.
41384 * math/s_catanhl.c: Likewise.
41385 * math/s_catanl.c: Likewise.
41386 * math/s_ccosh.c: Likewise.
41387 * math/s_ccoshf.c: Likewise.
41388 * math/s_ccoshl.c: Likewise.
41389 * math/s_cexp.c: Likewise.
41390 * math/s_cexpf.c: Likewise.
41391 * math/s_cexpl.c: Likewise.
41392 * math/s_clog.c: Likewise.
41393 * math/s_clog10.c: Likewise.
41394 * math/s_clog10f.c: Likewise.
41395 * math/s_clog10l.c: Likewise.
41396 * math/s_clogf.c: Likewise.
41397 * math/s_clogl.c: Likewise.
41398 * math/s_csin.c: Likewise.
41399 * math/s_csinf.c: Likewise.
41400 * math/s_csinh.c: Likewise.
41401 * math/s_csinhf.c: Likewise.
41402 * math/s_csinhl.c: Likewise.
41403 * math/s_csinl.c: Likewise.
41404 * math/s_csqrt.c: Likewise.
41405 * math/s_csqrtf.c: Likewise.
41406 * math/s_csqrtl.c: Likewise.
41407 * math/s_ctan.c: Likewise.
41408 * math/s_ctanf.c: Likewise.
41409 * math/s_ctanh.c: Likewise.
41410 * math/s_ctanhf.c: Likewise.
41411 * math/s_ctanhl.c: Likewise.
41412 * math/s_ctanl.c: Likewise.
41413 * math/s_ldexp.c: Likewise.
41414 * math/s_ldexpf.c: Likewise.
41415 * math/s_ldexpl.c: Likewise.
41416 * math/s_significand.c: Likewise.
41417 * math/s_significandf.c: Likewise.
41418 * math/s_significandl.c: Likewise.
41419 * math/w_acos.c: Likewise.
41420 * math/w_acosf.c: Likewise.
41421 * math/w_acosh.c: Likewise.
41422 * math/w_acoshf.c: Likewise.
41423 * math/w_acoshl.c: Likewise.
41424 * math/w_acosl.c: Likewise.
41425 * math/w_asin.c: Likewise.
41426 * math/w_asinf.c: Likewise.
41427 * math/w_asinl.c: Likewise.
41428 * math/w_atan2.c: Likewise.
41429 * math/w_atan2f.c: Likewise.
41430 * math/w_atan2l.c: Likewise.
41431 * math/w_atanh.c: Likewise.
41432 * math/w_atanhf.c: Likewise.
41433 * math/w_atanhl.c: Likewise.
41434 * math/w_cosh.c: Likewise.
41435 * math/w_coshf.c: Likewise.
41436 * math/w_coshl.c: Likewise.
41437 * math/w_dremf.c: Likewise.
41438 * math/w_exp10.c: Likewise.
41439 * math/w_exp10f.c: Likewise.
41440 * math/w_exp10l.c: Likewise.
41441 * math/w_exp2.c: Likewise.
41442 * math/w_exp2f.c: Likewise.
41443 * math/w_fmod.c: Likewise.
41444 * math/w_fmodf.c: Likewise.
41445 * math/w_fmodl.c: Likewise.
41446 * math/w_hypot.c: Likewise.
41447 * math/w_hypotf.c: Likewise.
41448 * math/w_hypotl.c: Likewise.
41449 * math/w_j0.c: Likewise.
41450 * math/w_j0f.c: Likewise.
41451 * math/w_j0l.c: Likewise.
41452 * math/w_j1.c: Likewise.
41453 * math/w_j1f.c: Likewise.
41454 * math/w_j1l.c: Likewise.
41455 * math/w_jn.c: Likewise.
41456 * math/w_jnf.c: Likewise.
41457 * math/w_jnl.c: Likewise.
41458 * math/w_lgamma.c: Likewise.
41459 * math/w_lgamma_r.c: Likewise.
41460 * math/w_lgammaf.c: Likewise.
41461 * math/w_lgammaf_r.c: Likewise.
41462 * math/w_lgammal.c: Likewise.
41463 * math/w_lgammal_r.c: Likewise.
41464 * math/w_log.c: Likewise.
41465 * math/w_log10.c: Likewise.
41466 * math/w_log10f.c: Likewise.
41467 * math/w_log10l.c: Likewise.
41468 * math/w_log2.c: Likewise.
41469 * math/w_log2f.c: Likewise.
41470 * math/w_log2l.c: Likewise.
41471 * math/w_logf.c: Likewise.
41472 * math/w_logl.c: Likewise.
41473 * math/w_pow.c: Likewise.
41474 * math/w_powf.c: Likewise.
41475 * math/w_powl.c: Likewise.
41476 * math/w_remainder.c: Likewise.
41477 * math/w_remainderf.c: Likewise.
41478 * math/w_remainderl.c: Likewise.
41479 * math/w_scalb.c: Likewise.
41480 * math/w_scalbf.c: Likewise.
41481 * math/w_scalbl.c: Likewise.
41482 * math/w_sinh.c: Likewise.
41483 * math/w_sinhf.c: Likewise.
41484 * math/w_sinhl.c: Likewise.
41485 * math/w_sqrt.c: Likewise.
41486 * math/w_sqrtf.c: Likewise.
41487 * math/w_sqrtl.c: Likewise.
41488 * math/w_tgamma.c: Likewise.
41489 * math/w_tgammaf.c: Likewise.
41490 * math/w_tgammal.c: Likewise.
41492 * po/ja.po: Update from translation team.
41494 2011-09-29 Andreas Jaeger <aj@suse.de>
41497 * sunrpc/netname.c (netname2host): Fix logic.
41501 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41503 * math/w_remainder.c (__remainder): Likewise.
41504 * math/w_remainderf.c (__remainderf): Likewise.
41505 * math/libm-test.inc (remainder_test): Add test cases.
41507 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41509 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41512 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41514 * string/test-memcmp.c: Avoid unncessary #defines.
41515 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41517 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41519 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41520 Use new sse2 version for core i3 - i7 as it's faster
41521 than sse42 version.
41522 (bit_Prefer_PMINUB_for_stringop): New.
41523 * sysdeps/x86_64/rawmemchr.S: Update.
41524 Replace with faster SSE2 version.
41525 * sysdeps/x86_64/memrchr.S: New file.
41526 * sysdeps/x86_64/memchr.S: Update.
41527 Replace with faster SSE2 version.
41529 2011-09-12 Marek Polacek <mpolacek@redhat.com>
41531 * elf/dl-load.c (lose): Add cast to avoid warning.
41533 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41535 * po/ca.po: Update from translation team.
41537 * inet/getnetgrent_r.c: Hook up nscd.
41538 * nscd/Makefile (routines): Add nscd_netgroup.
41539 (nscd-modules): Add netgroupcache.
41540 (CFLAGS-netgroupcache.c): Define.
41541 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41542 (cache_search): Add const to second parameter.
41543 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41545 (dbs): Add netgrdb entry.
41546 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41547 (verify_persistent_db): Handle netgrdb.
41548 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41549 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41551 (netgroup_response_header): Define.
41552 (innetgroup_response_header): Define.
41553 (datahead): Add netgroup_response_header and innetgroup_response_header
41555 * nscd/nscd.conf: Add entries for netgroup cache.
41556 * nscd/nscd.h (dbtype): Add netgrdb.
41557 (_PATH_NSCD_NETGROUP_DB): Define.
41558 (netgroup_iov_disabled): Declare.
41559 (xmalloc, xcalloc, xrealloc): Move declarations here.
41560 (cache_search): Adjust prototype.
41561 Add netgroup-related prototypes.
41562 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41563 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41564 (__nscd_innetgr): Declare.
41565 * nscd/selinux.c (perms): Use access_vector_t as element type and
41566 add netgroup-related initializers.
41567 * nscd/netgroupcache.c: New file.
41568 * nscd/nscd_netgroup.c: New file.
41569 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41570 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41571 For four parameters use innetgr.
41572 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41573 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41574 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41575 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41577 * nscd/connections.c (register_traced_file): Don't register file
41578 for disabled databases.
41580 2011-10-06 Ulrich Drepper <drepper@gmail.com>
41582 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41584 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41585 from tree and freeing node.
41587 2011-09-25 Jiri Olsa <jolsa@redhat.com>
41589 * nss/nsswitch.c (__nss_database_lookup): Handle
41590 nss_parse_service_list out of memory case.
41592 2011-09-15 Jiri Olsa <jolsa@redhat.com>
41594 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41595 out of memory case.
41597 2011-10-04 Andreas Schwab <schwab@redhat.com>
41599 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41600 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41602 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41603 elf_machine_rela, elf_machine_lazy_rel.
41604 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41605 (ELF_DYNAMIC_DO_REL): Likewise.
41606 (ELF_DYNAMIC_DO_RELA): Likewise.
41607 (ELF_DYNAMIC_RELOCATE): Likewise.
41608 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41609 to ELF_DYNAMIC_DO_REL.
41610 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41611 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41612 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41614 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41615 skip_ifunc, don't call ifunc function if non-zero.
41616 (elf_machine_rela): Likewise.
41617 (elf_machine_lazy_rel): Likewise.
41618 (elf_machine_lazy_rela): Likewise.
41619 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41620 (elf_machine_lazy_rel): Likewise.
41621 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41623 (elf_machine_lazy_rel): Likewise.
41624 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41626 (elf_machine_lazy_rel): Likewise.
41627 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41628 (elf_machine_lazy_rel): Likewise.
41629 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41630 (elf_machine_lazy_rel): Likewise.
41631 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41632 (elf_machine_lazy_rel): Likewise.
41633 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41634 (elf_machine_lazy_rel): Likewise.
41635 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41636 (elf_machine_lazy_rel): Likewise.
41637 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41638 (elf_machine_lazy_rel): Likewise.
41640 2011-09-28 Ulrich Drepper <drepper@gmail.com>
41642 * nss/nss_files/files-init.c (_nss_files_init): Use static
41643 initialization for all the *_traced_file variables.
41645 2011-09-28 Andreas Schwab <schwab@redhat.com>
41647 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41649 2011-09-27 Roland McGrath <roland@hack.frob.com>
41652 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41654 2011-09-27 Andreas Schwab <schwab@redhat.com>
41656 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41657 Reread the line before reparsing it.
41659 2011-09-26 Andreas Schwab <schwab@redhat.com>
41661 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41663 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41664 Maxim Kuvyrkov <maxim@codesourcery.com>
41665 Joseph Myers <joseph@codesourcery.com>
41667 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41668 if needed for __stack_chk_guard.
41670 2011-09-19 Roland McGrath <roland@hack.frob.com>
41672 * sysdeps/posix/spawni.c (script_execute): Always define it.
41673 It will be optimized away if unused.
41674 (maybe_script_execute): New function.
41675 (__spawni): Call it.
41677 * Makerules: Don't include tls.make.
41678 (config-tls): Always set to thread.
41679 * tls.make.c: File removed.
41681 2011-09-19 Mike Frysinger <vapier@gentoo.org>
41683 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41684 * config.make.in (CPPFLAGS-config): New substituted variable.
41686 2011-09-15 Ulrich Drepper <drepper@gmail.com>
41688 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41691 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41692 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41694 2011-09-15 Roland McGrath <roland@hack.frob.com>
41696 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41697 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41698 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41699 (CALL_FAIL): Likewise.
41700 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41701 (CALL_FAIL): Macro removed.
41702 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41704 2011-09-15 Ulrich Drepper <drepper@gmail.com>
41706 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41707 for __FINITE_MATH_ONLY__ == 1.
41709 2011-09-15 Andreas Schwab <schwab@redhat.com>
41711 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41712 __ieee754_sqrt instead of sqrt.
41713 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41714 __ieee754_sqrtf instead of sqrtf.
41715 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41716 __floorf instead of floorf.
41717 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41718 __floorf, __truncf instead of floorf, truncf.
41720 2011-09-14 Ulrich Drepper <drepper@gmail.com>
41722 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41724 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41725 __extern_always_inline.
41726 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41729 2011-09-14 Andreas Schwab <schwab@redhat.com>
41731 * elf/rtld.c (dl_main): Also relocate in dependency order when
41732 doing symbol dependency testing.
41734 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41736 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41737 Always define `refsym'.
41739 2011-09-13 Andreas Schwab <schwab@redhat.com>
41741 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41742 (__FD_ELT): Renamed from __FDELT.
41743 * misc/bits/select2.h (__FD_ELT): Likewise.
41744 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41745 __FD_MASK instead of __FDELT, __FDMASK.
41746 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41748 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41751 * elf/Makefile (gen-ldd): Fix pattern.
41753 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41754 (init_tls): Likewise.
41756 2011-09-12 Ulrich Drepper <drepper@gmail.com>
41758 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41760 2011-09-12 Andreas Schwab <schwab@redhat.com>
41762 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41763 `struct cmsghdr *' instead of `void *'.
41764 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41767 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41769 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41771 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41772 ldd_rewrite_script.
41774 2011-09-11 Ulrich Drepper <drepper@gmail.com>
41776 * configure.in: Remove --with-tls option.
41777 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41778 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41779 out in case it is missing.
41780 * sysdeps/ia64/elf/configure.in: Likewise.
41781 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41782 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41783 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41784 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41785 * sysdeps/sh/elf/configure.in: Likewise.
41786 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41787 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41788 * sysdeps/x86_64/elf/configure.in: Likewise.
41789 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41790 * sysdeps/mach/hurd/tls.h: Likewise.
41793 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41796 * configure.in: Fix use of AC_INIT.
41798 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41800 2011-09-10 Ulrich Drepper <drepper@gmail.com>
41802 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41804 * malloc/hooks.c: Likewise.
41807 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41808 variables statically.
41809 (narenas): Initialize.
41810 (list_lock): Initialize.
41811 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41812 initializtion of main_arena and list_lock. Small cleanups.
41813 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41814 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41815 Add initializers to main_arena and mp_.
41816 (malloc_state): Remove pagesize member. Change all users to use
41819 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41820 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41821 is always initialized.
41823 * malloc/malloc.c: Removed unused configurations and dead code.
41824 * malloc/arena.c: Likewise.
41825 * malloc/hooks.c: Likewise.
41826 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41828 * include/tls.h: Removed. USE___THREAD must always be defined.
41829 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41830 * elf/dl-libc.c: Likewise.
41831 * elf/dl-tsd.c: Likewise.
41832 * include/errno.h: Likewise.
41833 * include/netdb.h: Likewise.
41834 * include/resolv.h: Likewise.
41835 * inet/herrno-loc.c: Likewise.
41836 * inet/herrno.c: Likewise.
41837 * malloc/arena.c: Likewise.
41838 * malloc/hooks.c: Likewise.
41839 * malloc/malloc.c: Likewise.
41840 * resolv/res-state.c: Likewise.
41841 * resolv/res_libc.c: Likewise.
41842 * sysdeps/i386/dl-machine.h: Likewise.
41843 * sysdeps/ia64/dl-machine.h: Likewise.
41844 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41845 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41846 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41847 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41848 * sysdeps/sh/dl-machine.h: Likewise.
41849 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41850 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41851 * sysdeps/unix/i386/sysdep.S: Likewise.
41852 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41853 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41854 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41855 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41856 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41857 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41858 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41859 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41860 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41861 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41862 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41863 * sysdeps/x86_64/dl-machine.h: Likewise.
41864 * tls.make.c: Likewise.
41866 * configure.in: Remove --with-__thread option. Make tests for
41867 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41868 tls_model attribute fail if no support is available. Remove
41870 * Makeconfig: Adjust for dropped configure option. All features are
41872 * Makerules: Likewise.
41873 * Versions.def: Likewise.
41874 * argp/argp-fmtstream.c: Likewise.
41875 * argp/argp-fmtstream.h: Likewise.
41876 * argp/argp-help.c: Likewise.
41877 * assert/assert.c: Likewise.
41878 * config.h.in: Likewise.
41879 * config.make.in: Likewise.
41880 * configure: Likewise.
41881 * configure.in: Likewise.
41882 * csu/Versions: Likewise.
41883 * csu/init.c: Likewise.
41884 * elf/tst-audit2.c: Likewise.
41885 * elf/tst-tls10.c: Likewise.
41886 * elf/tst-tls10.h: Likewise.
41887 * elf/tst-tls11.c: Likewise.
41888 * elf/tst-tls12.c: Likewise.
41889 * elf/tst-tls14.c: Likewise.
41890 * elf/tst-tlsmod11.c: Likewise.
41891 * elf/tst-tlsmod12.c: Likewise.
41892 * elf/tst-tlsmod13.c: Likewise.
41893 * elf/tst-tlsmod13a.c: Likewise.
41894 * elf/tst-tlsmod14a.c: Likewise.
41895 * elf/tst-tlsmod15b.c: Likewise.
41896 * elf/tst-tlsmod16a.c: Likewise.
41897 * elf/tst-tlsmod16b.c: Likewise.
41898 * elf/tst-tlsmod7.c: Likewise.
41899 * elf/tst-tlsmod8.c: Likewise.
41900 * elf/tst-tlsmod9.c: Likewise.
41901 * gmon/gmon.c: Likewise.
41902 * grp/fgetgrent_r.c: Likewise.
41903 * grp/putgrent.c: Likewise.
41904 * hurd/fopenport.c: Likewise.
41905 * include/libc-symbols.h: Likewise.
41906 * include/tls.h: Likewise.
41907 * intl/gettextP.h: Likewise.
41908 * intl/loadinfo.h: Likewise.
41909 * locale/global-locale.c: Likewise.
41910 * locale/localeinfo.h: Likewise.
41911 * mach/devstream.c: Likewise.
41912 * malloc/arena.c: Likewise.
41913 * malloc/set-freeres.c: Likewise.
41914 * misc/err.c: Likewise.
41915 * misc/getttyent.c: Likewise.
41916 * misc/mntent_r.c: Likewise.
41917 * posix/getopt.c: Likewise.
41918 * posix/wordexp.c: Likewise.
41919 * pwd/fgetpwent_r.c: Likewise.
41920 * resolv/Versions: Likewise.
41921 * resolv/res_hconf.c: Likewise.
41922 * shadow/fgetspent_r.c: Likewise.
41923 * shadow/putspent.c: Likewise.
41924 * stdio-common/printf_fphex.c: Likewise.
41925 * stdio-common/tmpfile.c: Likewise.
41926 * stdlib/abort.c: Likewise.
41927 * stdlib/fmtmsg.c: Likewise.
41928 * sunrpc/auth_unix.c: Likewise.
41929 * sunrpc/clnt_perr.c: Likewise.
41930 * sunrpc/clnt_tcp.c: Likewise.
41931 * sunrpc/clnt_udp.c: Likewise.
41932 * sunrpc/clnt_unix.c: Likewise.
41933 * sunrpc/openchild.c: Likewise.
41934 * sunrpc/svc_simple.c: Likewise.
41935 * sunrpc/svc_tcp.c: Likewise.
41936 * sunrpc/svc_udp.c: Likewise.
41937 * sunrpc/svc_unix.c: Likewise.
41938 * sunrpc/xdr.c: Likewise.
41939 * sunrpc/xdr_array.c: Likewise.
41940 * sunrpc/xdr_rec.c: Likewise.
41941 * sunrpc/xdr_ref.c: Likewise.
41942 * sunrpc/xdr_stdio.c: Likewise.
41944 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41946 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41948 2011-07-03 Andreas Jaeger <aj@suse.de>
41950 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41951 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41952 regenerate with gen-libm-tests.pl.
41954 2010-05-12 Petr Baudis <pasky@suse.cz>
41957 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41958 around j0() zero points by switching to j1().
41959 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41960 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41961 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41962 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41964 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41966 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41968 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
41970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41971 Patch in part by Pavel Roskin <proski@gnu.org>.
41974 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41976 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41977 Free memory block if necessary.
41980 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41981 be NULL. Don't lock in this case.
41983 2011-09-09 Roland McGrath <roland@hack.frob.com>
41985 * elf/elf.h (ELFOSABI_GNU): New macro.
41986 (ELFOSABI_LINUX): Define to that.
41988 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41990 * string/strncat.c (strncat): Undef the symbol in case it has been
41991 defined in bits/string.h.
41993 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41995 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41997 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42000 2011-08-17 Andreas Jaeger <aj@suse.de>
42002 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42004 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42005 Ian Lance Taylor <iant@google.com>
42007 * math/libm-test.inc (lround_test): New testcase.
42008 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42010 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42012 * Makefile: Remove support for automatic cvs check-ins.
42013 * Makerules: Likewise.
42014 * config.make.in: Likewise.
42015 * configure.in: Likewise.
42016 * intl/Makefile: Likewise.
42017 * locale/Makefile: Likewise.
42018 * po/Makefile: Likewise.
42019 * posix/Makefile: Likewise.
42020 * sysdeps/gnu/Makefile: Likewise.
42021 * sysdeps/mach/hurd/Makefile: Likewise.
42022 * sysdeps/sparc/sparc32/Makefile: Likewise.
42025 * posix/Makefile (bug-regex32-ENV): Define.
42026 Patch by John Stanley <jpsinthemix@verizon.net>.
42028 * misc/Makefile (headers): Add bits/select2.h.
42029 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42030 * misc/bits/select2.h: New file.
42031 * include/bits/select2.h: New file.
42032 * debug/Makefile (routines): Add fdelt_chk.
42033 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42034 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42036 * debug/fdelt_chk.c: New file.
42038 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42039 * wcsmbs/test-wmemcmp.c: Likewise.
42040 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42041 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42043 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42045 * string/Makefile (strop-tests): Add memcmp.
42046 * string/test-wmemcmp.c: New file.
42047 * string/test-memcmp.c: Add wmemcmp support.
42049 2011-09-08 Roland McGrath <roland@hack.frob.com>
42052 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42055 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42056 garbage value in a __mach_port_mod_refs call in the cases of the
42057 task-self and thread-self ports.
42059 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42061 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42063 2011-09-08 Andreas Schwab <schwab@redhat.com>
42065 * elf/dl-load.c (lose): Check for non-null L.
42067 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42069 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42071 * elf/dl-libc.c (dlerror_run): Pass back error code from
42075 * elf/dl-load.c (lose): Free l_origin if it is valid.
42077 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42079 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42080 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42081 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42082 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42083 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42084 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42086 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42088 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42089 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42090 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42091 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42092 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42093 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42094 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42095 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42096 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42097 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42099 2011-08-15 Alan Modra <amodra@gmail.com>
42102 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42103 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42104 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42105 ppc_mcount to static-only-routines.
42106 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42108 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42109 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42111 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42113 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42114 for finite and infinity parameters.
42116 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42118 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42119 and add nop instructions for throughput optimization.
42120 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42122 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42124 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42125 aligned copy for power7 with vector-scalar instructions.
42126 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42128 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42130 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42133 2011-09-07 Andreas Schwab <schwab@redhat.com>
42136 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42139 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42141 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42142 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42143 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42144 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42147 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42149 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42150 Forgot to demangle the pointer.
42152 * sysdeps/i386/sysdep.h: Define atom_text_section.
42153 * sysdeps/x86_64/sysdep.h: Likewise.
42154 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42155 section with atom_text_section.
42156 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42157 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42158 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42159 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42160 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42162 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42163 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42164 already be defined. Change to take two parameters and don't assign
42165 result to variable. Adjust all users.
42166 Define INTERNAL_GETTIME if not already defined.
42167 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42169 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42170 HAVE_CLOCK_GETTIME_VSYSCALL.
42171 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42173 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42174 gettimeofday vsyscall, just use time.
42176 2011-09-06 Andreas Schwab <schwab@redhat.com>
42178 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42181 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42183 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42185 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42187 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42188 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42189 syscall if possible.
42191 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42193 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42194 e_ident. Don't pass to find_mapsXX.
42195 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42197 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42200 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42201 * sysdeps/x86_64/multiarch/strchr.S: Update.
42202 Check bit_slow_BSF bit.
42203 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42204 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42205 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42207 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42210 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42212 (tryshell): Define.
42213 (__spawni): Change last parameter to be flag. Test
42214 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42215 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42216 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42217 * posix/spawni.c: Likewise.
42218 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42219 * posix/spawnp.c: Likewise. Change normal version to use
42220 SPAWN_XFLAGS_USE_PATH.
42221 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42222 SPAWN_XFLAGS_TRY_SHELL.
42225 * posix/glob.h: Remove gcc 1.x support.
42228 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42230 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42232 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42233 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42235 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42236 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42237 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42238 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42239 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42240 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42242 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42244 * sysdeps/x86_64/wcscmp.S: New file.
42246 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42247 wcscmp-c wcscmp-sse2
42248 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42249 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42250 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42251 * wcsmbs/wcscmp.c: Allow renaming.
42253 2011-09-05 David S. Miller <davem@davemloft.net>
42255 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42256 stack slot, rather than the struct return pointer slot.
42257 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42258 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42260 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42262 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42264 * po/ja.po: Update from translation team.
42267 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42268 kernel in 64-bit binaries.
42270 2011-09-01 David S. Miller <davem@davemloft.net>
42272 * elf/elf.h (HWCAP_SPARC_*): Move to..
42273 * sysdeps/sparc/sysdep.h: this new file and add new values.
42274 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42275 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42276 _DL_HWCAP_COUNT to 24.
42277 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42279 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42280 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42281 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42282 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42283 instead of magic constants.
42284 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42286 2011-08-31 David S. Miller <davem@davemloft.net>
42288 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42289 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42290 Reimplement to do errno handling inline.
42291 (SYSCALL_ERROR_HANDLER): New macro.
42292 (__SYSCALL_STRING): Do not do errno handling in asm.
42293 (__CLONE_SYSCALL_STRING): Delete.
42294 (__INTERNAL_SYSCALL_STRING): Delete.
42295 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42296 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42297 (PSEUDO): Reimplement to do errno handling inline.
42298 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42299 (SYSCALL_ERROR_HANDLER): New macro.
42300 (__SYSCALL_STRING): Do not do errno handling in asm.
42301 (__CLONE_SYSCALL_STRING): Delete.
42302 (__INTERNAL_SYSCALL_STRING): Delete.
42303 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42304 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42306 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42307 (inline_syscall*): Add 'err' argument.
42308 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42309 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42310 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42311 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42313 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42314 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42316 2011-08-30 Andreas Schwab <schwab@redhat.com>
42318 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42320 2011-08-29 Jiri Olsa <jolsa@redhat.com>
42322 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42325 2011-08-24 David S. Miller <davem@davemloft.net>
42327 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42329 2011-08-24 Andreas Schwab <schwab@redhat.com>
42331 * elf/Makefile: Add rules to build and run unload8 test.
42332 * elf/unload8.c: New file.
42333 * elf/unload8mod1.c: New file.
42334 * elf/unload8mod1x.c: New file.
42335 * elf/unload8mod2.c: New file.
42336 * elf/unload8mod3.c: New file.
42338 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42341 2011-08-23 David S. Miller <davem@davemloft.net>
42343 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42344 subtract stack bias.
42345 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42346 %sp not %fp in calculations.
42347 (_JMPBUF_UNWINDS_ADJ): Likewise.
42349 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42350 (aio_suspend): Call it to force an exception region around the
42351 AIO_MISC_WAIT() invocation.
42353 2011-08-23 Andreas Schwab <schwab@redhat.com>
42355 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42358 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42360 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42362 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42363 and <dl-machine.h>.
42364 (Elf64_FuncDesc): Remove.
42366 2011-08-22 David S. Miller <davem@davemloft.net>
42368 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42369 sigaltstack check, add missing cfi directives.
42370 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42371 missing cfi directives, and sigaltstack handling.
42373 2011-08-16 Andreas Schwab <schwab@redhat.com>
42376 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42377 object is seen twice.
42378 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42380 * elf/Makefile (distribute): Add tst-initorder2.c.
42381 (tests): Add tst-initorder2.
42382 (modules-names): Add tst-initorder2a tst-initorder2b
42383 tst-initorder2c tst-initorder2d. Add rules to build them.
42384 ($(objpfx)tst-initorder2.out): New rule.
42385 * elf/tst-initorder2.c: New file.
42386 * elf/tst-initorder2.exp: New file.
42388 2011-08-22 Andreas Schwab <schwab@redhat.com>
42390 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42392 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42393 dependencies back to end of function.
42395 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42396 $(elfobjdir)/ld.so.
42398 2011-08-21 Ulrich Drepper <drepper@gmail.com>
42400 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42401 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42402 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42403 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42404 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42405 of __vdso_gettimeofday.
42406 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42407 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42409 (_libc_vdso_platform_setup): Remove initialization of
42410 __vdso_gettimeofday and __vdso_time.
42412 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42414 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42415 and fgetc_unlocked.
42416 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42419 * elf/dl-open.c (add_to_global): Report additions to the global scope
42420 for LD_DEBUG=scopes.
42421 (dl_open_worker): Also print scope of newly loaded dependencies.
42422 (_dl_show_scope): Indicate if there is no scope.
42425 * stdio-common/Makefile (tests): Add bug24.
42426 * stdio-common/bug24.c: New file.
42428 2011-08-19 Andreas Jaeger <aj@suse.de>
42431 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42432 non-existant file when using close-on-exec mode.
42434 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42436 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42437 the very first instruction.
42439 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42440 the CFI state in the end.
42441 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42442 inclusion of dl-trampoline.h.
42443 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42445 2011-08-19 Andreas Schwab <schwab@redhat.com>
42447 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42448 expectations for long double.
42450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42451 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42453 2011-08-14 David S. Miller <davem@davemloft.net>
42455 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42456 artificual limit depends upon the system page size.
42458 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42460 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42461 * resolv/Makefile: Define CFLAGS-libresolv.
42463 2011-08-17 Andreas Schwab <schwab@redhat.com>
42465 * nss/makedb.c (compute_tables): Make variables used in nested
42468 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42470 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42471 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42472 if buffer was too small.
42474 * elf/pldd.c (main): Attach to all threads in the process.
42475 Rewrite /proc handling to use *at functions.
42477 2011-08-16 Ulrich Drepper <drepper@gmail.com>
42479 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42480 specifies first scope to show.
42481 (dl_open_worker): Update callers. Move printing scope of new
42482 object to before the relocation.
42483 * elf/rtld.c (dl_main): Update _dl_show_scope call.
42484 * sysdeps/generic/ldsodefs.h: Update declaration.
42486 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42487 string for the scope number.
42489 2011-08-14 Ulrich Drepper <drepper@gmail.com>
42491 * nscd/servicescache.c (cache_addserv): Make sure written is always
42494 2011-08-14 Roland McGrath <roland@hack.frob.com>
42496 * sysdeps/i386/i486/bits/atomic.h
42497 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42498 statement expression, so as to suppress "set but not used" warning.
42499 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42501 * string/strncat.c (STRNCAT): Use prototype definition.
42503 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42504 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42506 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42507 (localedef-modules): Add localedef.
42508 (locale-modules): Add locale.
42510 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42511 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42512 to avoid a warning.
42514 2011-08-14 David S. Miller <davem@davemloft.net>
42516 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42517 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42519 2011-08-13 Ulrich Drepper <drepper@gmail.com>
42521 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42522 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42523 * elf/rtld.c (dl_main): Set l_name of vDSO.
42524 Call _dl_show_scope when DL_DEBUG_SCOPES.
42525 (process_dl_debug): Recognize scopes flag and also set it for all.
42526 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42527 Declare _dl_show_scope.
42529 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42530 (do_dlopen): Pass caller_dlopen to dl_open.
42531 (__libc_dlopen_mode): Initialize caller_dlopen.
42533 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42534 of libc. Make tolower call locale-independent. Optimize a bit by
42535 using isdigit instead of isalnum.
42536 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42538 2011-08-12 Ulrich Drepper <drepper@gmail.com>
42540 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42541 was a dependency or dynamically loaded.
42543 2011-08-11 Ulrich Drepper <drepper@gmail.com>
42545 * intl/l10nflist.c: Allow architecture-specific pop function.
42546 * sysdeps/x86_64/l10nflist.c: New file.
42548 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42551 2011-08-10 Andreas Schwab <schwab@redhat.com>
42553 * include/dirent.h: Add libc_hidden_proto for scandirat and
42554 scandirat64. Don't declare __scandirat64.
42555 * dirent/scandirat.c: Add libc_hidden_def.
42556 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42557 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42559 2011-08-10 David S. Miller <davem@davemloft.net>
42561 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42563 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42564 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42565 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42567 2011-08-09 Ulrich Drepper <drepper@gmail.com>
42569 * Versions.def [libc]: Add GLIBC_2.15.
42570 * dirent/Makefile (routines): Add scandirat and scandirat64.
42571 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42573 * dirent/dirent.h: Declare scandirat and scandirat64.
42574 * dirent/scandirat.c: New file.
42575 * dirent/scandirat64.c: New file.
42576 * sysdeps/wordsize-64/scandirat.c: New file.
42577 * sysdeps/wordsize-64/scandirat64.c: New file.
42578 * dirent/opendir.c: Define opendirat.
42579 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42581 * dirent/scandir64.c: Adjust for scandir.c change.
42582 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42583 __scandirat64, and __scandir_cancel_handler.
42584 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42585 additional parameter and use openat instead of open (outside of ld.so).
42586 Add new __opendir as wrapper around __opendirat.
42587 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42588 here without requiring old scandirat implementation.
42590 2011-08-08 Ulrich Drepper <drepper@gmail.com>
42592 * dirent/scandir.c (cancel_handler): Renamed to
42593 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42594 defined. Adjust users.
42595 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42596 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42598 2011-08-04 Ulrich Drepper <drepper@gmail.com>
42600 * string/test-string.h (IMPL): Use __STRING to expand name and then
42603 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42606 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42608 * string/Makefile: Update.
42609 (strop-tests): Append strncat.
42610 * string/test-wcscmp.c: New file.
42611 New comprehensive test for wcscmp.
42612 * string/test-strcmp.c: Update.
42613 (WIDE): New define.
42615 2011-07-22 Andreas Schwab <schwab@redhat.com>
42617 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42620 2011-07-26 Andreas Schwab <schwab@redhat.com>
42622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42623 encoding to ACE if AI_IDN.
42625 2011-08-01 Jakub Jelinek <jakub@redhat.com>
42627 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42628 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42630 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42632 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42633 Fix overflow bug in strncat.
42634 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42636 * string/test-strncat.c: Update.
42637 Add new tests for checking overflow bugs.
42639 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42641 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42642 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42643 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42644 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42645 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42646 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42647 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42648 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42649 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42651 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42652 (USE_AS_STRCAT): Define.
42653 Add strcat and strncat support.
42654 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42656 2011-07-25 Andreas Schwab <schwab@redhat.com>
42658 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42659 __n bigger than INT_MAX+1.
42660 (__strncmp_g): Likewise.
42662 2011-07-23 Ulrich Drepper <drepper@gmail.com>
42664 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42665 * libio/stido.h: Likewise.
42667 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42669 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42672 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42673 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42674 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42675 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42676 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42679 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42682 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42684 (_dl_x86_64_save_sse): Likewise.
42686 2011-07-22 Ulrich Drepper <drepper@gmail.com>
42688 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42690 (_dl_x86_64_save_sse): Likewise.
42692 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42694 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42696 2011-07-21 Andreas Schwab <schwab@redhat.com>
42698 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42700 (_dl_x86_64_save_sse): Use correct AVX check.
42702 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42704 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42705 bug in strncpy/strncat.
42706 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42708 2011-07-21 Ulrich Drepper <drepper@gmail.com>
42710 * string/tester.c (test_strcat): Add tests for different alignments
42711 of source and destination.
42712 (test_strncat): Likewise.
42714 2011-07-20 Ulrich Drepper <drepper@gmail.com>
42717 * posix/glob.c (glob): Check passed in values before using them in
42718 expressions to avoid some overflows.
42719 (glob_in_dir): Likewise.
42722 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42723 check for AVX enablement so that we don't crash with old kernels and
42725 * elf/tst-audit4.c: Add same checks here.
42726 * elf/tst-audit6.c: Likewise.
42728 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42730 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42732 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42734 2011-07-20 Ulrich Drepper <drepper@gmail.com>
42736 * po/cs.po: Update from translation team.
42737 * po/bg.po: Likewise.
42739 2011-07-12 Marek Polacek <mpolacek@redhat.com>
42741 * misc/sys/cdefs.h: Add support for const attribute.
42742 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42743 to gnu_dev_{major,minor,makedev} functions.
42745 2011-07-20 Marek Polacek <mpolacek@redhat.com>
42747 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42749 2011-07-20 Andreas Schwab <schwab@redhat.com>
42751 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42754 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42756 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42757 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42758 register in order to avoid conflicts with the soft frame pointer
42759 being held in r11 when necessary.
42760 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42761 (INTERNAL_VSYSCALL_NCS): Likewise.
42763 2011-07-14 Marek Polacek <mpolacek@redhat.com>
42765 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42766 * elf/dl-fini.c (_dl_fini): Adjust caller.
42767 * elf/dl-close.c (_dl_close_worker): Likewise.
42768 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42770 2011-07-15 Marek Polacek <mpolacek@redhat.com>
42772 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42773 "aux_cache->nlibs < 0".
42775 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42776 in the reload-count case.
42778 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42781 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42782 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42783 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42784 * sysdeps/x86_64/multiarch/strcat.S: New file.
42785 * sysdeps/x86_64/multiarch/strncat.S: New file.
42786 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42787 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42788 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42789 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42790 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42791 (USE_AS_STRCAT): Define.
42792 Add strcat and strncat support.
42793 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42794 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42795 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42796 * string/strncat.c: Update.
42797 (USE_AS_STRNCAT): Define.
42798 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42799 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42801 * sysdeps/x86_64/multiarch/init-arch.h
42802 (bit_Prefer_PMINUB_for_stringop): New.
42803 (index_Prefer_PMINUB_for_stringop): Likewise.
42804 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42805 bit_Prefer_PMINUB_for_stringop.
42807 2011-07-19 Ulrich Drepper <drepper@gmail.com>
42809 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42811 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42812 of casting of buffer.
42813 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42814 buffer32 and buffer64.
42815 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42816 writes instead of casting of buffer.
42817 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42819 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42822 2011-07-19 Andreas Schwab <schwab@redhat.com>
42824 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42826 2011-07-19 Ulrich Drepper <drepper@gmail.com>
42828 * nscd/nscd.c (termination_handler): Don't do anything for a database
42829 if it has not yet been initialized.
42831 2011-07-18 Ulrich Drepper <drepper@gmail.com>
42833 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42835 2011-07-15 Marek Polacek <mpolacek@redhat.com>
42837 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42839 2011-07-18 Ulrich Drepper <drepper@gmail.com>
42841 * po/nl.po: Update from translation team.
42842 * po/sv.po: Likewise.
42844 2011-07-16 Roland McGrath <roland@hack.frob.com>
42846 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42847 now disallowed by GCC.
42849 * configure.in (use-default-link): Default to yes if a test -shared
42850 link meets our qualifications.
42851 * configure: Regenerated.
42853 * config.make.in (output-format): New variable.
42854 * configure.in: Check for ld --print-output-format support.
42855 * configure: Regenerated.
42856 * Makerules ($(common-objpfx)format.lds)
42857 [$(output-format) != unknown]: Just use $(output-format),
42858 instead of the linker-script munging.
42860 2011-07-14 Roland McGrath <roland@hack.frob.com>
42862 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42863 of $(common-objpfx)shlib.lds.
42864 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42866 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42867 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42869 * configure.in (-z relro check): Adjust test code to add a large
42870 writable data section after it.
42871 * configure: Regenerated.
42873 2011-07-11 Roland McGrath <roland@hack.frob.com>
42875 * configure.in (-z relro check): Fix test code to make the variable
42877 * configure: Regenerated.
42879 2011-07-11 Ulrich Drepper <drepper@gmail.com>
42881 * nscd/nscd.h (struct traced_file): Define.
42882 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42883 elements. Add traced_files.
42884 (inotify_fd): Declare.
42885 (register_traced_file): Declare.
42886 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42887 (inotify_fd): Export.
42888 (resolv_conf_descr): Remove.
42889 (nscd_init): Move inotify descriptor creation to main.
42890 Don't register files for notification here.
42891 (register_traced_file): New function.
42892 (invalidate_cache): Don't use reset_res to determine whether to call
42893 res_init, go through the list of registered files.
42894 (main_loop_poll): The inotify descriptors are now stored in the
42895 structures for the traced files.
42896 (main_loop_epoll): Likewise
42897 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42898 to __nss_disable_nscd.
42899 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42900 for a database anymore. Check the records for all the registered
42902 * nss/Makefile (libnss_files-routines): Add files-init.
42903 (libnss_db-routines): Add db-init.
42904 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42905 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42906 * nss/nss_db/db-init.c: New file.
42907 * nss/nss_files/files-init.c: New file.
42908 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42909 __nss_lookup_function.
42910 (__nss_lookup_function): Call nss_load_library.
42911 (nss_load_all_libraries): New function.
42912 (__nss_disable_nscd): Take parameter with callback function for files
42913 to register. Set is_nscd. Load all the DSOs for the NSS modules
42914 used for the cached services.
42915 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42916 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42917 options for features to all the files in nscd.
42919 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42921 2011-07-10 Roland McGrath <roland@hack.frob.com>
42923 * csu/elf-init.c (__libc_csu_init): Comment typo.
42925 2011-07-09 Ulrich Drepper <drepper@gmail.com>
42927 * po/pl.po: Update from translation team.
42928 * po/ja.po: Likewise.
42929 * po/ru.po: Likewise.
42930 * po/ko.po: Likewise.
42931 * po/fr.po: Likewise.
42933 2011-07-09 Roland McGrath <roland@hack.frob.com>
42935 * configure.in (.ctors/.dtors header and trailer check):
42936 Use an empirical test on a built program.
42937 * configure: Regenerated.
42939 * configure.in (-z relro check): Use an empirical test on a built DSO.
42940 Detect, but do not require, on ia64.
42941 * configure: Regenerated.
42943 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42944 Update tests that use readelf to use $READELF instead.
42945 * configure: Regenerated.
42947 2011-07-08 Ulrich Drepper <drepper@gmail.com>
42949 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42950 if the result is not used.
42952 2011-07-05 Andreas Jaeger <aj@suse.de>
42955 * stdlib/tst-strtod.c: Add testcase.
42957 2011-07-07 Ulrich Drepper <drepper@gmail.com>
42959 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
42960 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
42961 The latter has a higher limit. Take additional parameter to pass to
42963 (__pathconf): Pass file to __statfs_link_max.
42964 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42966 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42970 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42971 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42973 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42974 (__statfs_filesize_max): Likewise.
42975 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42977 2011-07-05 Andreas Jaeger <aj@suse.de>
42979 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42981 2011-07-06 Marek Polacek <mpolacek@redhat.com>
42983 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42985 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42988 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42990 * Makefile (strop-tests): Add strncat.
42991 * string/test-strncat.c: New file.
42993 2011-06-30 Marek Polacek <mpolacek@redhat.com>
42995 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42997 2011-06-21 Andreas Jaeger <aj@suse.de>
42999 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43000 Copy rule from iconvdata/Makefile.
43002 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43005 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43006 but no long options are defined, just return 'W'.
43008 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43011 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43013 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43015 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43017 (innetgr): Likewise.
43019 2011-07-05 Roland McGrath <roland@hack.frob.com>
43021 * config.make.in (install_root): Default to $(DESTDIR).
43023 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43025 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43027 2011-07-02 Roland McGrath <roland@hack.frob.com>
43029 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43031 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43032 containing directory rather than embedding absolute directory names.
43034 * scripts/check-local-headers.sh: Rewritten using awk.
43035 Match by word, not by line. Print error messages for matches.
43036 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43038 * Makerules [shlib-lds-flags empty]:
43039 ($(common-objpfx)libc_pic.opts): New target.
43040 ($(common-objpfx)libc_pic.os.clean): New target.
43041 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43043 * config.make.in (OBJCOPY): New variable.
43044 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43045 * configure: Regenerated.
43047 * config.make.in (use-default-link): New variable.
43048 * configure.in (use_default_link): Grok --with-default-link to set it.
43049 * configure: Regenerated.
43050 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43051 (shlib-lds, shlib-lds-flags): Define to empty.
43053 * Makerules (shlib-lds): New variable.
43054 (shlib-lds-flags): New variable.
43055 (build-shlib, build-moduile, build-module-asneeded): Use it.
43056 ($(common-objpfx)libc.so): Use $(shlib-lds).
43057 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43058 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43060 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43061 DT_FLAGS/DT_FLAGS_1 with zero flags.
43063 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43064 linker script munging.
43066 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43068 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43070 * crypt/sha512.c (sha512_process_block): Perform total addition using
43071 128-bit if possible.
43072 (__sha512_finish_ctx): Likewise.
43073 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43075 * crypt/sha256.c (SWAP64): Define.
43076 (sha256_process_block): Perform total addition using 64-bit if
43078 (__sha256_finish_ctx): Likewise.
43080 2011-07-01 Ulrich Drepper <drepper@gmail.com>
43082 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43083 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43084 * nscd/hstcache.c (cache_addhst): Likewise.
43085 * nscd/grpcache.c (cache_addgr): Likewise.
43086 * nscd/aicache.c (addhstaiX): Likewise
43087 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43089 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
43091 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43092 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43093 * nscd/hstcache.c (cache_addhst): Likewise.
43094 * nscd/grpcache.c (cache_addgr): Likewise.
43095 * nscd/aicache.c (addhstaiX): Likewise
43097 2011-07-01 Andreas Schwab <schwab@redhat.com>
43099 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43100 domain only when needed.
43102 2011-06-30 Andreas Schwab <schwab@redhat.com>
43104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43105 is always restored.
43107 2011-06-29 Ulrich Drepper <drepper@gmail.com>
43109 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43110 are re-adding the entry.
43111 * nscd/servicescache.c (cache_addserv): Likewise.
43113 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43115 * sysdeps/generic/dl-irel.h: fix protection against multiple
43117 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43119 2011-06-28 Ulrich Drepper <drepper@gmail.com>
43122 * malloc/memusage.sh: Fix quoting in message.
43123 * debug/xtrace.sh: Likewise.
43125 * configure.in: Remove support for --experimental-malloc option, make
43127 * config.make.in: Likewise.
43128 * malloc/Makefile: Likewise.
43130 2011-06-27 Andreas Schwab <schwab@redhat.com>
43132 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43133 two-byte characters.
43135 2011-06-27 Roland McGrath <roland@hack.frob.com>
43137 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43138 AC_CACHE_CHECK invocation.
43139 * configure: Regenerated.
43141 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43143 2011-06-27 Ulrich Drepper <drepper@gmail.com>
43146 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43147 bit from old_res_options.
43149 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43151 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43152 value type for setfct.
43154 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43156 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43157 __gettimeofday instead of gettimeofday.
43159 2011-06-26 Ulrich Drepper <drepper@gmail.com>
43161 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43163 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43165 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43167 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43170 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43172 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43173 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43174 strcpy-sse2-unaligned strncpy-sse2-unaligned
43175 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43176 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43177 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43178 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43179 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43180 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43181 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43182 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43183 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43184 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43185 (STRCPY): Support SSE2 and SSSE3 versions.
43187 2011-06-24 Ulrich Drepper <drepper@gmail.com>
43190 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43191 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43192 kernels which artificially limit size of requests.
43194 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43196 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43197 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43198 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43199 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43200 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43201 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43202 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43203 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43204 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43205 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43206 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43207 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43208 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43209 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43210 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43212 Enable unaligned load optimization for Intel Core i3, i5 and i7
43214 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43216 (index_Fast_Unaligned_Load): Define.
43217 (HAS_FAST_UNALIGNED_LOAD): Define.
43219 2011-06-23 Marek Polacek <mpolacek@redhat.com>
43221 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43223 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43226 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43227 until it is clear that the information is realy needed.
43228 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43230 2011-06-22 Andreas Schwab <schwab@redhat.com>
43232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43234 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43236 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43237 /sys/devices/system/cpu/online if it is usable.
43239 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43240 reading the information from the /proc filesystem to once a second.
43242 2011-06-21 Andreas Jaeger <aj@suse.de>
43244 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43245 NULL after inclusion of kernel headers.
43247 2011-06-21 Ulrich Drepper <drepper@gmail.com>
43249 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43250 calls to internal_setent.
43253 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43254 addresses using gethostbyname4_r ignore IPv4 addresses.
43256 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43257 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43259 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43261 2011-06-20 David S. Miller <davem@davemloft.net>
43263 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43265 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43267 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43268 (elf_irel): Use it.
43269 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43270 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43271 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43272 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43273 * sysdeps/x86_64/dl-irel.h: Likewise.
43275 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43276 * elf/dl-sym.c: Likewise.
43278 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43280 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43281 need to dereference resplen2.
43283 2011-06-14 Andreas Schwab <schwab@redhat.com>
43285 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43287 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43289 * Makeconfig: Define vardbdir and inst_vardbdir.
43290 * nss/Makefile: Add rules to install db-Makefile.
43292 * nss/nss_db/db-XXX.c: Cleanup.
43294 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43295 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43297 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43298 * nss/makedb.c: Implement -g option to specify that value strings
43299 are generated and should not be added to table iterated over for
43301 * nss/nss_db/db-initgroups.c: New file.
43303 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43306 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43307 (internal_getgrouplist): Adjust to name change.
43308 Update use_initgroups_entry if this is not the first call.
43309 * nss/databases.def: Add initgroups entry.
43311 * nss/makedb.c (compute_tables): Check result of multiple hash table
43312 sizes to minimize maximum chain length.
43314 2011-06-14 Ulrich Drepper <drepper@gmail.com>
43316 * Versions.def: Add entry for libnss_db.
43317 * shlib-versions: Likewise.
43318 * nss/Makefile: Add rules to build libnss_db.
43319 * nss/Versions: Add libnss_db information. Organize libnss_files
43321 * nss/db-Makefile: Add gshadow support. Change rules for the new
43322 makedb progra. Some minor improvements to generate smaller files.
43323 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43325 * nss/makedb.c: ...here.
43326 Improve database format to be smaller and require less memory at
43328 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43330 * nss/nss_db/db-netgrp.c: Likewise.
43331 * nss/nss_db/db-open.c: Likewise.
43332 * nss/nss_files/flies-XXX.x: Adjust comments.
43333 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43334 * nss/nss_files/files-grp.c: Likewise.
43335 * nss/nss_files/files-hosts.c: Likewise.
43336 * nss/nss_files/files-network.c: Likewise.
43337 * nss/nss_files/files-proto.c: Likewise.
43338 * nss/nss_files/files-pwd.c: Likewise.
43339 * nss/nss_files/files-rpc.c: Likewise.
43340 * nss/nss_files/files-service.c: Likewise.
43341 * nss/nss_files/files-sgrp.c: Likewise.
43342 * nss/nss_files/files-spwd.c: Likewise.
43343 * nss/nss_db/db-alias.c: Removed.
43344 * nss/nss_db/dummy-db.h: Removed.
43346 2011-06-02 Ulrich Drepper <drepper@gmail.com>
43348 * nss/makedb.c: Rewritten to not use database library.
43349 * nss/Makefile: Update to build new makedb program.
43351 2011-06-14 Andreas Jaeger <aj@suse.de>
43353 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43354 memset declaration.
43356 2011-06-10 Andreas Schwab <schwab@redhat.com>
43358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43361 2011-06-10 Roland McGrath <roland@hack.frob.com>
43363 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43364 * elf/Makefile ($(objpfx)ld.so): Likewise.
43366 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43367 Don't list ld.so twice in dependencies.
43369 * posix/bug-regex31.c: Include <stdlib.h>.
43371 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43373 * nis/nss_compat/compat-spwd.c
43374 (getspent_next_nss_netgr): Remove unused variable.
43375 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43377 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43378 nonmembers" output to use the right array.
43380 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43382 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43384 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43385 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43386 * catgets/gencat.c (read_input_file): Likewise.
43387 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43389 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43390 variable definition inside #if's controlling its use.
43392 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43394 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43396 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43398 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43401 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43403 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43404 * configure: Regenerated.
43406 * Makerules: Revert last change.
43407 * elf/Makefile: Likewise.
43409 2011-06-09 Roland McGrath <roland@hack.frob.com>
43411 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43412 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43413 (reloc-link): Likewise.
43415 2011-06-09 Ulrich Drepper <drepper@gmail.com>
43417 * elf/Makefile: Add rules to build pldd.
43418 * elf/pldd.c: New file.
43419 * elf/pldd-xx.c: New file.
43421 2011-06-07 Ulrich Drepper <drepper@gmail.com>
43423 * version.h: Update for 2.15 development version.
43425 2011-06-07 David S. Miller <davem@davemloft.net>
43427 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43429 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43430 elf_machine_lazy_rel): Likewise.
43431 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43432 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43433 elf_machine_lazy_rel): Likewise.
43434 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43435 dl_hwcap via passed in argument.
43436 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43439 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43441 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43443 2011-06-06 Roland McGrath <roland@hack.frob.com>
43446 * manual/fdl-1.1.texi: New file, verbatim from:
43447 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43448 * manual/lgpl-2.1.texi: New file, verbatim from:
43449 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43450 * manual/Makefile (licenses): New variable, list those new file names.
43452 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43454 * manual/fdl.texi: File removed.
43455 * manual/lesser.texi: File removed.
43456 * manual/libc.texinfo (Copying, Documentation License):
43457 Use new @include file names, put @appendix directive before @include.
43459 2011-06-04 Jakub Jelinek <jakub@redhat.com>
43462 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43463 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43464 (mq_open): Add __NTH.
43466 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43469 Assume Intel Core i3/i5/i7 processor if AVX is available.
43471 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43473 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43476 2011-05-31 Andreas Schwab <schwab@redhat.com>
43478 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43479 memory. Use alloca_account. Fix memory leak when retrying.
43481 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43483 * version.h (RELEASE): Bump for 2.14 release.
43484 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43486 * config.make.in (RANLIB): Remove entry.
43488 2011-05-30 Ulrich Drepper <drepper@gmail.com>
43490 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43491 (libc.pot): Work around missing support for .ksh extension in xgettext.
43494 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43495 if both request failed.
43496 (send_dg): In case of server errors clear resplen or *resplen2.
43499 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43500 when there are multiple maps.
43501 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43502 (_dl_fini): Remove test here.
43504 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43506 2011-05-29 Ulrich Drepper <drepper@gmail.com>
43509 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43510 bit from old_res_options.
43511 (gaih_inet): Likewise.
43514 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43517 * resolv/res_init.c (res_setoptions): Make the code more compact.
43520 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43524 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43526 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43529 * malloc/malloc.h: Declare malloc hook variables as volatile.
43531 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43535 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43536 raise in the comment.
43537 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43538 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43539 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43541 2011-05-28 Ulrich Drepper <drepper@gmail.com>
43544 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43545 grow the buffers more if it already has to be sufficient.
43546 (build_wcs_upper_buffer): Likewise.
43547 * posix/regexec.c (check_matching): Likewise.
43548 (clean_state_log_if_needed): Likewise.
43549 (extend_buffers): Don't enlarge buffers beyond size of the input
43551 Patches mostly by Emil Wojak <emil@wojak.eu>.
43552 * posix/bug-regex32.c: New file.
43553 * posix/Makefile (tests): Add bug-regex32.
43555 * locale/findlocale.c (_nl_find_locale): Return right away if
43556 _nl_explode_name failed.
43557 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43559 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43561 * debug/xtrace.sh: Unify messages.
43562 * malloc/memusage.sh: Likewise.
43565 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43566 time symbol from vDSO. Substitute with vsyscall if not available.
43567 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43570 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43571 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43572 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43573 Add sendmmsg and internal_sendmmsg.
43574 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43575 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43576 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43578 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43579 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43580 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43582 2011-05-27 Ulrich Drepper <drepper@gmail.com>
43585 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43586 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43588 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43592 * iconvdata/Makefile (tests): Add bug-iconv9.
43593 * iconvdata/bug-iconv9.c: New file.
43595 2011-05-27 Andreas Schwab <schwab@redhat.com>
43598 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43600 2011-05-25 Jakub Jelinek <jakub@redhat.com>
43602 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43603 (struct user_regs_struct): Change intcs field back to cs.
43605 2011-05-25 Ulrich Drepper <drepper@gmail.com>
43607 * po/ja.po: Update from translation team.
43609 2011-05-23 Ulrich Drepper <drepper@gmail.com>
43612 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43613 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43615 2011-05-20 Andreas Schwab <schwab@redhat.com>
43617 * stdlib/longlong.h: Update from GCC.
43619 2011-05-23 Andreas Schwab <schwab@redhat.com>
43621 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43623 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43624 Add parameter name.
43625 (__sysconf): Pass it down.
43627 2011-05-22 Ulrich Drepper <drepper@gmail.com>
43630 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43632 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43633 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43634 add in in __libc_use_alloca calls. Adjust callers.
43635 (glob): Use malloc in some situations.
43637 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43638 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43641 2011-05-21 Ulrich Drepper <drepper@gmail.com>
43643 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43644 and CLOCK_BOOTTIME_ALARM.
43647 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43650 * string/_strerror.c (__strerror_r): Print negative errors as signed
43654 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43655 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43656 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43658 * configure.in: Fix typo in redirection and correct removal of test
43659 files in two cases.
43662 * locale/setlocale.c (new_composite_name): Fix test to check for
43663 identical name of all categories.
43666 * libio/filedoalloc.c (local_isatty): New function.
43667 (_IO_file_doallocate): Use local_isatty.
43668 * stdio-common/perror.c (perror): In case a new stream is used
43669 forward the stream error.
43670 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43673 2011-05-20 Ulrich Drepper <drepper@gmail.com>
43676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43678 * include/alloca.h (extend_alloca_account): Define.
43681 * posix/regex.h: Fix comments with documentation of user-accessible
43682 fields after compilation and describe correct free'ing of pattern
43683 after re_compile_pattern.
43684 Patch by Reuben Thomas <rrt@sc3d.org>.
43686 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43688 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43689 and -mno-altivec to prevent the compiler from using Altivec and/or
43690 VSX instructions when the corresponding registers are not available.
43692 2011-05-19 Andreas Schwab <schwab@redhat.com>
43694 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43696 2011-05-19 Ulrich Drepper <drepper@gmail.com>
43698 * libio/freopen.c (freopen): Use __dup2, not dup2.
43699 * libio/freopen64.c (freopen64): Likewise.
43701 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43704 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43705 * math/Makefile (tests): Add test-powl.
43706 (CFLAGS-test-powl.c): Define.
43707 * math/test-powl.c: New file.
43709 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43711 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43713 2011-05-17 Ulrich Drepper <drepper@gmail.com>
43716 * iconvdata/gb18030.c: Update to GB18020-2005.
43718 2011-05-16 Ulrich Drepper <drepper@gmail.com>
43720 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43721 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43722 Patch by Aharon Robbins <arnold@skeeve.com>.
43725 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43729 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43730 through underflows.
43733 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43734 point to strings before performing equality test for error_one_per_line
43738 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43741 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43742 (struct user_fpregs_struct): Avoid __uint*_t types.
43745 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43746 symbol info. Use it instead of calling _dl_addr locally.
43747 (lock_and_info): New function.
43748 (tr_freehook): Call lock_and_info and pass symbol info as additional
43749 parameter to tr_where.
43750 (tr_mallochook): Likewise.
43751 (tr_reallochook): Likewise.
43752 (tr_memalignhook): Likewise.
43754 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43755 used and couldn't be at all thread-safe.
43757 2011-05-15 Ulrich Drepper <drepper@gmail.com>
43759 * libio/freopen.c (freopen): Don't close old file descriptor
43760 before the new one is opened. Instead dup the new file descriptor
43761 to the old one after the new stream is created.
43762 * libio/freopen64.c (freopen64): Likewise.
43763 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43764 * libio/fileops.c (_IO_new_file_close_it): Handle new
43765 _IO_FLAGS2_NOCLOSE flag.
43766 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43767 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43768 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43769 _IO_FLAGS2_NOCLOSE flag.
43770 * include/unistd.h: Add hidden_proto for dup3.
43771 Define __have_dup3.
43772 * io/dup3.c: Define hidden symbol.
43773 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43776 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43777 when an incomplete long option is used.
43778 * posix/tst-getopt_long1.c: New file.
43779 * posix/Makefile (tests): Add tst-getopt_long1.
43782 * scripts/config.guess: Update from autoconf-2.68.
43783 * scripts/config.sub: Likewise.
43786 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43788 (has_cpuclock): ...this. New function.
43789 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43790 macro here based on has_cpuclock code.
43793 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43794 First byte (not low byte) is now always NUL.
43795 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43797 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43798 Use non-cancelable interfaces.
43801 * locale/iso-639.def: Add entry for Sorani.
43804 * include/stdlib.h: Move include protection to the right place.
43805 Define abort_msg_s. Declare __abort_msg with it.
43806 * stdlib/abort.c (__abort_msg): Adjust type.
43807 * assert/assert.c (__assert_fail_base): New function. Majority
43808 of code from __assert_fail. Allocate memory for __abort_msg with
43810 (__assert_fail): Now call __assert_fail_base.
43811 * assert/assert-perr.c: Remove bulk of implementation. Use
43812 __assert_fail_base.
43813 * include/assert.hL Declare __assert_fail_base.
43814 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43816 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43818 2011-05-14 Ulrich Drepper <drepper@gmail.com>
43822 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43823 until all modules are registered in the DTV.
43824 * elf/Makefile: Add rules to build and run tst-tls19.
43825 * elf/tst-tls19.c: New file.
43826 * elf/tst-tls19mod1.c: New file.
43827 * elf/tst-tls19mod2.c: New file.
43828 * elf/tst-tls19mod3.c: New file.
43829 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43832 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43836 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43837 two-byte sequence errors.
43838 * iconvdata/Makefile (tests): Add bug-iconv8.
43839 * iconvdata/bug-iconv8.c: New file.
43842 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43845 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43848 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43849 (dummy_getcfa): New function.
43850 (init): Get _Unwind_GetCFA address, use dummy if not found.
43851 (backtrace_helper): In recursion check, also check whether CFA changes.
43852 (__backtrace): Completely initialize arg.
43854 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43855 storing incomplete byte sequence in state object. Avoid testing for
43856 guaranteed too small input if we know there is enough data available.
43858 2011-05-11 Andreas Schwab <schwab@redhat.com>
43860 * Makeconfig (+link-pie): Indent.
43861 * Rules (binaries-pie): Define if $(have-fpie) and
43863 (binaries-shared): Also filter out $(binaries-pie).
43864 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43865 * nscd/Makefile (others-pie): Add nscd.
43866 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43867 ($(objpfx)nscd): Remove command override.
43868 * login/Makefile (others-pie): Add pt_chown.
43869 ($(objpfx)pt_chown): Remove command override.
43870 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43871 remove command overrides.
43873 2011-05-13 Ulrich Drepper <drepper@gmail.com>
43875 * libio/tst_putwc.c: Fix error messages.
43878 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43879 currently writing and seek to current position when not.
43880 * libio/Makefile (tests): Add bug-fclose1.
43881 * libio/bug-fclose1.c: New file.
43883 2011-05-12 Ulrich Drepper <drepper@gmail.com>
43886 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43887 don't set DF_1_NODELETE here.
43888 (do_lookup_x): When entering new entry test for copy relocation
43889 and if necessary set DF_1_NODELETE flag.
43890 * elf/tst-unique4.cc: New file.
43891 * elf/tst-unique4.h: New file.
43892 * elf/tst-unique4lib.cc: New file.
43893 * elf/Makefile: Add rules to build and run tst-unique4.
43894 Patch by Piotr Bury <pbury@goahead.com>.
43896 2011-05-11 Ulrich Drepper <drepper@gmail.com>
43899 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43902 * misc/mntent_r.c (addmntent): Flush the stream after the output
43905 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43906 (is_trusted_path_normalize): Skip initial colon. Append slash
43907 to empty buffer. Duplicate is_trusted_path code but allow
43908 constructed patch to be prefix.
43909 (is_dst): Allow $ORIGIN followed by /.
43910 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43911 Correct testing of result of is_trusted_path_normalize
43912 (decompose_rpath): Fix warning.
43914 2011-05-10 Ulrich Drepper <drepper@gmail.com>
43917 * grp/initgroups.c (internal_getgrouplist): When we found the service
43918 list through the initgroups entry in nsswitch.conf do not always
43919 continue on a successful lookup. Don't always use the
43920 __nss_group_database value if it is set.
43921 * nss/nsswitch.conf (initgroups): Change action for successful db
43922 lookup to continue for compatibility.
43924 2011-05-09 Ulrich Drepper <drepper@gmail.com>
43927 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43929 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43931 * iconvdata/tst-tables.sh: Likewise.
43932 * iconvdata/cp770.c: New file.
43933 * iconvdata/cp771.c: New file.
43934 * iconvdata/cp772.c: New file.
43935 * iconvdata/cp773.c: New file.
43936 * iconvdata/cp774.c: New file.
43937 * iconvdata/testdata/CP770: New file.
43938 * iconvdata/testdata/CP770..UTF8: New file.
43939 * iconvdata/testdata/CP771: New file.
43940 * iconvdata/testdata/CP771..UTF8: New file.
43941 * iconvdata/testdata/CP772: New file.
43942 * iconvdata/testdata/CP772..UTF8: New file.
43943 * iconvdata/testdata/CP773: New file.
43944 * iconvdata/testdata/CP773..UTF8: New file.
43945 * iconvdata/testdata/CP774: New file.
43946 * iconvdata/testdata/CP774..UTF8: New file.
43948 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43950 * iconvdata/gen-8bit-gap.sh: Likewise.
43951 * iconvdata/gen-8bit.sh: Likewise.
43953 * locale/iso-639.def: Add ary entry.
43956 * locale/C-translit.h.in: Add U20A1 transliteration.
43959 * locale/iso-639.def: Add wae entry.
43960 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43963 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43967 * locale/C-translit.h.in: Add entry for U20B9.
43968 Patch by pravin.d.s@gmail.com.
43970 2011-05-08 Ulrich Drepper <drepper@gmail.com>
43973 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43974 ENAMETOOLONG use generic getcwd.
43975 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43976 in rtld. Use *stat64.
43977 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
43978 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
43979 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
43980 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43981 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43982 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43983 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43984 __fstatat64 macros.
43985 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43986 * dirent/rewinddir.c: Add libc_hidden_def.
43987 * sysdeps/mach/hurd/rewinddir.c: Likewise.
43988 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
43990 * include/dirent.h (__alloc_dir): Add flags parameter.
43991 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43992 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43994 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43995 from fdopendir if O_CLOEXEC is already set.
43997 2011-03-15 Alan Modra <amodra@gmail.com>
43999 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44000 l_tls_firstbyte_offset non-zero. Save padding offset in
44001 l_tls_firstbyte_offset for later use.
44002 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44003 freeing static tls block.
44005 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44007 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44008 where #ifdef was intended. The intent is to prevent ARG_MAX from
44009 being defined by the kernel headers.
44011 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44014 * resolv/resolv.h: Define RES_NOTLDQUERY.
44015 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44016 no-tld-query and set RES_NOTLDQUERY.
44017 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44018 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44019 modern BIND to search name as TLD unless forbidden.
44021 2011-05-07 Petr Baudis <pasky@suse.cz>
44022 Ulrich Drepper <drepper@gmail.com>
44025 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44026 (is_trusted_path): ...to here.
44027 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44028 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44029 using is_trusted_path_normalize() in setuid scripts.
44031 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44033 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44034 __BEGIN/__END_DECLS.
44036 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44038 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44039 NSS_STATUS_NOTFOUND if no record was found.
44041 2011-05-05 Andreas Schwab <schwab@redhat.com>
44043 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44044 (headers-not-in-tirpc): Remove rpc/netdb.h
44045 * resolv/netdb.h: Revert last change.
44047 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44049 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44050 circular dependency between libgcc.a and libc.a.
44052 2011-05-05 Andreas Schwab <schwab@redhat.com>
44054 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44055 * nis/Makefile: Don't install rpcsvc/*.
44056 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44057 instead of <rpc/types.h>.
44058 (MAXHOSTNAMELEN): Define.
44060 2011-05-03 Andreas Schwab <schwab@redhat.com>
44062 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44064 2011-04-28 Maciej Babinski <mbabinski@google.com>
44067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44068 gethostbyname4_r when IPv6 results are possible.
44070 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44073 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44074 _PC_PIPE_BUF handling.
44076 2011-04-30 Bruno Haible <bruno@clisp.org>
44079 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44080 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44082 * inet/getnameinfo.c (getnameinfo): Likewise.
44084 2011-04-29 Ulrich Drepper <drepper@gmail.com>
44086 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44087 to groups setting in database lookup.
44088 * nss/nsswitch.conf: Add initgroups entry.
44090 2011-04-22 Ulrich Drepper <drepper@gmail.com>
44093 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44095 Patch by Eric Blake <eblake@redhat.com>.
44097 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44099 * sunrpc/Makefile (need-export-routines): Add svc_run.
44100 (routines): Remove svc_run.
44101 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44102 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44103 * sunrpc/svc_run.c (svc_run): Likewise.
44104 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44106 2011-04-21 Ulrich Drepper <drepper@gmail.com>
44108 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44109 problem in reallocation in last patch.
44111 2011-04-20 Ulrich Drepper <drepper@gmail.com>
44113 * sunrpc/Makefile: Move inclusion of Rules.
44115 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44117 * nss/nss_files/files-initgroups.c: New file.
44118 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44119 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44120 _nss_files_initgroups_dyn.
44122 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44124 * elf/elf.h (R_ARM_IRELATIVE): Define.
44126 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44128 * po/ru.po: Update from translation team.
44130 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44132 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44135 2011-02-06 Mike Frysinger <vapier@gentoo.org>
44138 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44139 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44140 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44141 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44142 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44144 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44146 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44148 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44149 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44150 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44152 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44155 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44157 * stdlib/bug-getcontext.c: New file.
44158 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44160 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44162 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44163 instructions into .machine "z9-109".
44164 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44165 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44167 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44169 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44170 between environment variables and auxiliary vector.
44172 2011-04-16 Ulrich Drepper <drepper@gmail.com>
44174 * Makefile: Add rules to build linkobj/libc.so.
44175 * include/libc-symbols.h: Define libc_hidden_nolink.
44176 * include/rpc/auth.h: Mark functions which are to be hidden.
44177 * include/rpc/auth_des.h: Likewise.
44178 * include/rpc/auth_unix.h: Likewise.
44179 * include/rpc/clnt.h: Likewise.
44180 * include/rpc/des_crypt.h: Likewise.
44181 * include/rpc/key_prot.h: Likewise.
44182 * include/rpc/pmap_clnt.h: Likewise.
44183 * include/rpc/pmap_prot.h: Likewise.
44184 * include/rpc/pmap_rmt.h: Likewise.
44185 * include/rpc/rpc_msg.h: Likewise.
44186 * include/rpc/svc.h: Likewise.
44187 * include/rpc/svc_auth.h: Likewise.
44188 * include/rpc/xdr.h: Likewise.
44189 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44190 * nss/Makefile: Likewise.
44191 * sunrpc/Makefile: Don't install headers. Build library with normal
44192 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44193 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44194 for the compat linking library. Remove use of INTDEF/INTUSE.
44195 * sunrpc/auth_none.c: Likewise.
44196 * sunrpc/auth_unix.c: Likewise.
44197 * sunrpc/authdes_prot.c: Likewise.
44198 * sunrpc/authuxprot.c: Likewise.
44199 * sunrpc/clnt_gen.c: Likewise.
44200 * sunrpc/clnt_perr.c: Likewise.
44201 * sunrpc/clnt_raw.c: Likewise.
44202 * sunrpc/clnt_simp.c: Likewise.
44203 * sunrpc/clnt_tcp.c: Likewise.
44204 * sunrpc/clnt_udp.c: Likewise.
44205 * sunrpc/clnt_unix.c: Likewise.
44206 * sunrpc/des_crypt.c: Likewise.
44207 * sunrpc/des_soft.c: Likewise.
44208 * sunrpc/get_myaddr.c: Likewise.
44209 * sunrpc/key_call.c: Likewise.
44210 * sunrpc/key_prot.c: Likewise.
44211 * sunrpc/netname.c: Likewise.
44212 * sunrpc/pm_getmaps.c: Likewise.
44213 * sunrpc/pm_getport.c: Likewise.
44214 * sunrpc/pmap_clnt.c: Likewise.
44215 * sunrpc/pmap_prot.c: Likewise.
44216 * sunrpc/pmap_prot2.c: Likewise.
44217 * sunrpc/pmap_rmt.c: Likewise.
44218 * sunrpc/publickey.c: Likewise.
44219 * sunrpc/rpc_cmsg.c: Likewise.
44220 * sunrpc/rpc_common.c: Likewise.
44221 * sunrpc/rpc_dtable.c: Likewise.
44222 * sunrpc/rpc_prot.c: Likewise.
44223 * sunrpc/rpc_thread.c: Likewise.
44224 * sunrpc/rtime.c: Likewise.
44225 * sunrpc/svc.c: Likewise.
44226 * sunrpc/svc_auth.c: Likewise.
44227 * sunrpc/svc_authux.c: Likewise.
44228 * sunrpc/svc_raw.c: Likewise.
44229 * sunrpc/svc_run.c: Likewise.
44230 * sunrpc/svc_simple.c: Likewise.
44231 * sunrpc/svc_tcp.c: Likewise.
44232 * sunrpc/svc_udp.c: Likewise.
44233 * sunrpc/svc_unix.c: Likewise.
44234 * sunrpc/svcauth_des.c: Likewise.
44235 * sunrpc/xcrypt.c: Likewise.
44236 * sunrpc/xdr.c: Likewise.
44237 * sunrpc/xdr_array.c: Likewise.
44238 * sunrpc/xdr_float.c: Likewise.
44239 * sunrpc/xdr_intXX_t.c: Likewise.
44240 * sunrpc/xdr_mem.c: Likewise.
44241 * sunrpc/xdr_rec.c: Likewise.
44242 * sunrpc/xdr_ref.c: Likewise.
44243 * sunrpc/xdr_sizeof.c: Likewise.
44244 * sunrpc/xdr_stdio.c: Likewise.
44246 2011-04-10 Ulrich Drepper <drepper@gmail.com>
44249 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44250 * sysdeps/ia64/dl-tls.h: Likewise.
44251 * sysdeps/powerpc/dl-tls.h: Likewise.
44252 * sysdeps/s390/dl-tls.h: Likewise.
44253 * sysdeps/sh/dl-tls.h: Likewise.
44254 * sysdeps/sparc/dl-tls.h: Likewise.
44255 * sysdeps/x86_64/dl-tls.h: Likewise.
44256 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44258 2011-03-14 Andreas Schwab <schwab@redhat.com>
44260 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44261 rpath element also skip the following colon.
44262 (expand_dynamic_string_token): Add is_path parameter and pass
44263 down to DL_DST_REQUIRED and _dl_dst_substitute.
44264 (decompose_rpath): Call expand_dynamic_string_token with
44265 non-zero is_path. Ignore empty rpaths.
44266 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44269 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44274 2011-04-09 Ulrich Drepper <drepper@gmail.com>
44277 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44278 Patch by Filipe David Manana <fdmanana@apache.org>.
44280 2011-04-07 Andreas Schwab <schwab@redhat.com>
44282 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44283 Maintain aligned stack.
44284 (CHECK_RSP): Remove unused macro.
44286 2011-04-03 Ulrich Drepper <drepper@gmail.com>
44288 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44289 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44291 2011-04-02 Ulrich Drepper <drepper@gmail.com>
44293 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44295 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44297 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44300 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44301 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44302 * sysdeps/x86_64/memmove.c: New file.
44303 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44304 (memcpy): Renamed to ...
44305 (__new_memcpy): This.
44306 (memcpy): Provide GLIBC_2_14 memcpy.
44307 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44308 (memcpy): Provide GLIBC_2_2_5 memcpy.
44310 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44313 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44315 2011-03-30 Andreas Schwab <schwab@redhat.com>
44317 * misc/syncfs.c: New file.
44318 * misc/Makefile (routines): Add syncfs.
44319 * posix/unistd.h: Declare syncfs.
44320 * sysdeps/unix/syscalls.list: Add syncfs.
44322 2011-04-01 Andreas Schwab <schwab@redhat.com>
44324 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44326 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44327 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44328 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44329 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44330 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44331 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44332 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44334 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44336 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44337 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44338 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44339 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44340 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44341 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44342 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44344 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44345 sync_file_range.c with -fexceptions.
44346 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44347 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44348 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44349 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44350 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44351 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44352 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44353 sync_file_range as cancellation point
44354 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44355 now a wrapper around __call_sync_file_range with cancellation handling.
44356 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44357 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44358 function name to __call_sync_file_range.
44359 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44360 Add call_sync_file_range.
44362 2011-04-01 Andreas Schwab <schwab@redhat.com>
44364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44367 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44369 * iconv/iconv.h: Fix typo in comment.
44370 * io/fcntl.h: Likewise.
44371 * libio/stdio.h: Likewise.
44372 * posix/spawn.h: Likewise.
44373 * posix/unistd.h: Likewise.
44374 * stdlib/stdlib.h: Likewise.
44375 * time/time.h: Likewise.
44376 * wcsmbs/wchar.h: Likewise.
44378 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44379 open_by_handle): Add.
44380 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44381 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44382 Augment a few comments.
44383 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44384 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44385 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44387 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44388 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44391 * io/fcntl.h (AT_EMPTY_PATH): Define.
44393 2011-03-30 Ulrich Drepper <drepper@gmail.com>
44395 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44396 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44397 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44399 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
44400 * Versions.def: Add GLIBC_2.14.
44401 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44404 2011-03-22 Ulrich Drepper <drepper@gmail.com>
44406 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44408 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44410 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44413 * string/test-strncmp.c (do_page_test): New function.
44414 (check2): Likewise.
44415 (test_main): Call check2.
44416 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44418 2011-03-20 Ulrich Drepper <drepper@gmail.com>
44421 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44422 Handle cache information in CPU leaf 4.
44423 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44425 2011-03-18 Ulrich Drepper <drepper@gmail.com>
44428 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44429 character representation.
44430 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44432 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44434 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44435 END(__isnan) to END(__isnanf) to match function entry point/label
44436 EALIGN(__isnanf,...).
44438 2011-03-10 Jakub Jelinek <jakub@redhat.com>
44440 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44442 2011-03-10 Ulrich Drepper <drepper@gmail.com>
44445 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44446 copy from the symbol referenced in the relocation to initialize the
44448 Patch by Piotr Bury <pbury@goahead.com>.
44449 * elf/Makefile: Add rules to build and tst-unique3.
44450 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44451 * elf/tst-unique3.cc: New file.
44452 * elf/tst-unique3.h: New file.
44453 * elf/tst-unique3lib.cc: New file.
44454 * elf/tst-unique3lib2.cc: New file.
44456 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44458 2011-03-10 Mike Frysinger <vapier@gentoo.org>
44460 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44461 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44464 2011-03-06 Ulrich Drepper <drepper@gmail.com>
44466 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44467 to-be-loaded object along a path to loader is ld.so.
44469 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44470 Ulrich Drepper <drepper@gmail.com>
44472 * sysdeps/x86_64/memset.S: After aligning destination, code
44473 branches to different locations depending on the value of
44474 misalignment, when multiarch is enabled. Fix this.
44476 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44478 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44479 Set _x86_64_preferred_memory_instruction for AMD processsors.
44480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44481 Set bit_Prefer_SSE_for_memop for AMD processors.
44483 2011-03-04 Ulrich Drepper <drepper@gmail.com>
44485 * libio/fmemopen.c (fmemopen): Optimize a bit.
44487 2011-03-03 Andreas Schwab <schwab@redhat.com>
44489 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44491 2011-03-03 Roland McGrath <roland@redhat.com>
44493 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44495 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44497 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44498 __bzero_ultra1 instead of __memset_ultra1.
44500 2011-02-23 Andreas Schwab <schwab@redhat.com>
44501 Ulrich Drepper <drepper@gmail.com>
44504 * include/link.h (struct link_map): Add l_orig_initfini.
44505 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44506 returning unsuccessfully.
44507 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44508 close of a file loaded at startup, restore the original l_initfini
44510 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44511 list, store the pointer.
44512 * elf/Makefile ($(objpfx)noload-mem): New rule.
44513 (noload-ENV): Define.
44514 (tests): Add $(objpfx)noload-mem.
44515 * elf/noload.c: Include <memcheck.h>.
44516 (main): Call mtrace. Close all opened handles.
44518 2011-02-17 Andreas Schwab <schwab@redhat.com>
44521 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44522 dependencies are missing.
44524 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44526 Fix __if_freereq crash: Unlike the generic version which uses free,
44528 * sysdeps/mach/hurd/ifreq.h: New file.
44530 2011-01-27 Petr Baudis <pasky@suse.cz>
44531 Ulrich Drepper <drepper@gmail.com>
44534 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44535 to extend_alloca().
44536 * stdio-common/bug23.c: New file.
44537 * stdio-common/Makefile (tests): Add bug23.
44539 2010-09-28 Andreas Schwab <schwab@redhat.com>
44540 Ulrich Drepper <drepper@gmail.com>
44543 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44544 before performing relro protection. At old place add assertion
44545 to make sure nothing changed.
44547 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44548 Glauber de Oliveira Costa <glommer@gmail.com>
44550 * elf/elf.h: Add new ARM TLS relocs.
44552 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44555 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44557 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44559 * sysdeps/wordsize-64/tst-writev.c: New file.
44561 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44563 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44564 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44565 insns in _dl_start to prevent a TOC reference before relocs are
44568 2011-02-15 Ulrich Drepper <drepper@gmail.com>
44571 * Makeconfig: Remove RANLIB definition.
44572 * Makerules: Don't use RANLIB.
44573 * aclocal.m4: Remove ranlib test.
44574 * configure.in: No need to check for ranlib.
44575 * elf/rtld-Rules: Don't use RANLIB.
44577 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44579 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44581 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44582 inclusion protection macro.
44584 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44585 SIGRTMIN and SIGRTMAX and print information in that case only when
44586 SIGRTMIN is defined.
44588 2011-02-11 Jakub Jelinek <jakub@redhat.com>
44590 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44591 arginfo fn returning -1.
44593 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44594 and thousands string is zero terminated.
44596 2011-02-03 Andreas Schwab <schwab@redhat.com>
44598 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44599 sysdeps/unix/sysv/linux/bits/socket.h.
44601 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44603 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44604 (__CPU_COUNT): Remove old macros.
44605 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44606 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44607 (__CPU_ALLOC, __CPU_FREE): Add macros.
44608 (__sched_cpualloc, __sched_cpufree): Add declarations.
44610 2011-02-05 Ulrich Drepper <drepper@gmail.com>
44612 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44613 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44614 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44615 (readdhstai): Return value of addhstaiX call.
44616 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44617 (addgrbyX): Return value returned by cache_addgr.
44618 (readdgrbyname): Return value returned by addgrbyX.
44619 (readdgrbygid): Likewise.
44620 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44621 (addpwbyX): Return value returned by cache_addpw.
44622 (readdpwbyname): Return value returned by addhstbyX.
44623 (readdpwbyuid): Likewise.
44624 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44625 (addservbyX): Return value returned by cache_addserv.
44626 (readdservbyname): Return value returned by addservbyX:
44627 (readdservbyport): Likewise.
44628 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44629 (addhstbyX): Return value returned by cache_addhst.
44630 (readdhstbyname): Return value returned by addhstbyX.
44631 (readdhstbyaddr): Likewise.
44632 (readdhstbynamev6): Likewise.
44633 (readdhstbyaddrv6): Likewise.
44634 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44635 (readdinitgroups): Return value returned by addinitgroupsX.
44636 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44637 (prune_cache): Keep track of timeout value of re-added entries.
44638 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44639 * nscd/nscd.h: Adjust prototypes of readd* functions.
44641 2011-02-04 Roland McGrath <roland@redhat.com>
44643 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44644 (nis_stats): Likewise.
44645 * nis/nis_modify.c (nis_modify): Likewise.
44646 * nis/nis_remove.c (nis_remove): Likewise.
44647 * nis/nis_add.c (nis_add): Likewise.
44649 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44651 * posix/fnmatch_loop.c: Add some consts.
44653 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44655 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44658 * config.make.in (config-cflags-novzeroupper): Define.
44659 * configure.in: Substitute libc_cv_cc_novzeroupper.
44660 * elf/Makefile (AVX-CFLAGS): Define.
44661 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44662 (CFLAGS-tst-auditmod4a.c): Likewise.
44663 (CFLAGS-tst-auditmod4b.c): Likewise.
44664 (CFLAGS-tst-auditmod6b.c): Likewise.
44665 (CFLAGS-tst-auditmod6c.c): Likewise.
44666 (CFLAGS-tst-auditmod7b.c): Likewise.
44667 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44669 2011-02-02 Ulrich Drepper <drepper@gmail.com>
44671 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44672 function to the callback.
44673 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44675 2011-02-02 Andreas Schwab <schwab@redhat.com>
44677 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44680 2011-01-19 Ulrich Drepper <drepper@gmail.com>
44683 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44685 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44687 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44690 * elf/Makefile: Add rules to build and run new test.
44691 * elf/tst-initorder.c: New file.
44692 * elf/tst-initorder.exp: New file.
44693 * elf/tst-initordera1.c: New file.
44694 * elf/tst-initordera2.c: New file.
44695 * elf/tst-initordera3.c: New file.
44696 * elf/tst-initordera4.c: New file.
44697 * elf/tst-initorderb1.c: New file.
44698 * elf/tst-initorderb2.c: New file.
44699 * elf/tst-order-a1.c: New file.
44700 * elf/tst-order-a2.c: New file.
44701 * elf/tst-order-a3.c: New file.
44702 * elf/tst-order-a4.c: New file.
44703 * elf/tst-order-b1.c: New file.
44704 * elf/tst-order-b2.c: New file.
44705 * elf/tst-order-main.c: New file.
44706 New test case by George Gensure <werkt0@gmail.com>.
44708 2010-10-01 Andreas Schwab <schwab@redhat.com>
44710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44711 decoding ACE if AI_CANONIDN.
44713 2011-01-18 Ulrich Drepper <drepper@gmail.com>
44715 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44717 2011-01-17 Ulrich Drepper <drepper@gmail.com>
44719 * version.h (RELEASE): Bump for 2.13 release.
44720 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44722 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44724 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44726 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44727 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44728 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44729 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44730 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44731 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44733 * posix/getconf.c: Update copyright year.
44734 * catgets/gencat.c: Likewise.
44735 * csu/version.c: Likewise.
44736 * debug/catchsegv.sh: Likewise.
44737 * debug/xtrace.sh: Likewise.
44738 * elf/ldconfig.c: Likewise.
44739 * elf/ldd.bash.in: Likewise.
44740 * elf/sprof.c (print_version): Likewise.
44741 * iconv/iconv_prog.c: Likewise.
44742 * iconv/iconvconfig.c: Likewise.
44743 * locale/programs/locale.c: Likewise.
44744 * locale/programs/localedef.c: Likewise.
44745 * malloc/memusage.sh: Likewise.
44746 * malloc/mtrace.pl: Likewise.
44747 * nscd/nscd.c (print_version): Likewise.
44748 * nss/getent.c: Likewise.
44750 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44751 PF_CAIF, and PF_ALG.
44752 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44754 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44756 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44757 (modules-names): Use them.
44758 (ifunc-test-modules, ifunc-pie-tests): Define.
44759 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44760 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44761 (test-extras): Likewise.
44762 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44763 $(compile-command.c).
44764 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44765 (all-built-dso): Define.
44766 (check-textrel.out, check-execstack.out): Depend on it.
44768 * configure.in: Don't override --enable-multi-arch.
44770 2011-01-15 Ulrich Drepper <drepper@gmail.com>
44773 * nscd/hstcache.c (tryagain): Define.
44774 (cache_addhst): Return tryagain not notfound for temporary errors.
44775 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44778 2011-01-14 Ulrich Drepper <drepper@gmail.com>
44781 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44782 to make the syscall.
44783 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44786 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44787 and fall back to matching as normal character if the string ends before
44788 the matching ']' is found. This is what POSIX requires.
44789 * posix/testfnm.c: Adjust test result.
44790 * posix/globtest.sh: Adjust test result. Add new test.
44791 * posix/tst-fnmatch.input: Likewise.
44792 * posix/tst-fnmatch2.c: Add new test.
44794 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44796 * elf/Makefile (check-execstack): Revert last change. Depend on
44798 (check-execstack.h): New target.
44799 (generated): Add check-execstack.h.
44800 * elf/check-execstack.c: Include "check-execstack.h".
44801 (main): Revert last change.
44802 (handle_file): Return zero if GNU_STACK is absent and
44803 DEFAULT_STACK_PERMS doesn't include PF_X.
44805 2011-01-13 Ulrich Drepper <drepper@gmail.com>
44807 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44808 in child fails because the descriptor is already closed.
44809 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44810 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44811 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44814 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44818 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44819 temporary buffer used to handle multi lookups locally.
44820 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44822 2011-01-12 Ulrich Drepper <drepper@gmail.com>
44824 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44827 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44829 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44830 alignment for SSE2.
44832 2011-01-12 Ulrich Drepper <drepper@gmail.com>
44835 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44836 characters. When rounding increased number of integer digits recompute
44838 * stdio-common/tst-grouping.c: New file.
44839 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44841 2011-01-09 Ulrich Drepper <drepper@gmail.com>
44843 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44844 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44846 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44848 * bits/select.h: Likewise.
44850 2011-01-08 Ulrich Drepper <drepper@gmail.com>
44852 * po/ja.po: Update from translation team.
44854 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
44857 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44858 implementation just like for lxstat, fxstatat, et al.
44860 2010-12-27 Jim Meyering <meyering@redhat.com>
44863 * posix/regexec.c (build_trtable): Return failure indication upon
44864 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44866 2010-12-25 Ulrich Drepper <drepper@gmail.com>
44869 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44870 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44871 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44872 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44875 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44878 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44879 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44881 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44883 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44884 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44885 script has SORT_BY_INIT_PRIORITY.
44886 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44887 NO_CTORS_DTORS_SECTIONS is defined.
44888 * elf/soinit.c: Likewise.
44889 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44890 NO_CTORS_DTORS_SECTIONS is defined.
44891 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44892 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44893 * sysdeps/sh/init-first.c: Likewise.
44894 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44896 2010-12-24 Ulrich Drepper <drepper@gmail.com>
44898 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44899 always use the slow path.
44901 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44903 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44904 similar rule which adds the sysdep directories to the header search in
44905 order to pick up the correct platform stackinfo.h.
44906 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44907 perform test if it is, otherwise return successfully without testing.
44908 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44909 DEFAULT_STACK_PERMS define in stackinfo.h.
44910 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44911 defined in stackinfo.h.
44912 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44913 DEFAULT_STACK_PERMS defined in stackinfo.h.
44914 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44915 * sysdeps/ia64/stackinfo.h: Likewise.
44916 * sysdeps/s390/stackinfo.h: Likewise.
44917 * sysdeps/sh/stackinfo.h: Likewise.
44918 * sysdeps/sparc/stackinfo.h: Likewise.
44919 * sysdeps/x86_64/stackinfo.h: Likewise.
44920 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44921 PF_X for powerpc64. Retain PF_X for powerpc32.
44923 2010-12-19 Ulrich Drepper <drepper@gmail.com>
44925 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44927 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44928 GETDENTS_64BIT_ALIGNED.
44930 2010-12-14 Ulrich Drepper <dreper@gmail.com>
44932 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
44934 2010-12-10 Andreas Schwab <schwab@redhat.com>
44936 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44939 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44940 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44942 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44943 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44945 2010-12-09 Ulrich Drepper <drepper@gmail.com>
44948 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44951 2010-12-09 Jakub Jelinek <jakub@redhat.com>
44953 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44955 2010-12-03 Ulrich Drepper <drepper@gmail.com>
44957 * po/it.po: Update from translation team.
44959 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44961 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44964 2010-11-30 Ulrich Drepper <drepper@gmail.com>
44966 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44968 2010-11-24 Andreas Schwab <schwab@redhat.com>
44970 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44972 (gaih_getanswer_slice): Likewise.
44974 2010-10-20 Jakub Jelinek <jakub@redhat.com>
44976 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44978 2010-05-31 Petr Baudis <pasky@suse.cz>
44981 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44982 silently even in the chroot mode.
44984 2010-11-22 Ulrich Drepper <drepper@gmail.com>
44986 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44987 last patch a bit. Pretty printing
44989 2010-05-31 Petr Baudis <pasky@suse.cz>
44992 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44993 initialization of skip_initgroups_dyn.
44995 2010-11-19 Ulrich Drepper <drepper@gmail.com>
44997 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44998 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45000 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45002 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45004 2010-11-11 Andreas Schwab <schwab@redhat.com>
45006 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45007 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45008 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45009 ($(objpfx)tst-fnmatch-mem): New rule.
45010 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45011 * posix/tst-fnmatch.c (main): Call mtrace.
45013 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45016 Support Intel processor model 6 and model 0x2c.
45018 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45020 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45023 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45026 * string/test-strncasecmp.c (check_result): New function.
45027 (do_one_test): Use it.
45028 (check1): New function.
45029 (test_main): Use it.
45030 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45031 Support strcasecmp and strncasecmp.
45033 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45036 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45037 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45039 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45041 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45045 * sysdeps/x86_64/multiarch/bzero.S: New file.
45046 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45047 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45048 * sysdeps/x86_64/multiarch/memset.S: New file.
45049 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45051 Set bit_Prefer_SSE_for_memop for Intel processors.
45052 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45054 (index_Prefer_SSE_for_memop): Define.
45055 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45057 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45059 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45060 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45062 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45065 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45066 (__x86_64_raw_data_cache_size_half): Likewise.
45067 (__x86_64_raw_shared_cache_size): Likewise.
45068 (__x86_64_raw_shared_cache_size_half): Likewise.
45070 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45071 (__x86_64_raw_data_cache_size_half): Likewise.
45072 (__x86_64_raw_shared_cache_size): Likewise.
45073 (__x86_64_raw_shared_cache_size_half): Likewise.
45074 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45075 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45076 and __x86_64_raw_shared_cache_size_half. Round
45077 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45078 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45079 to multiple of 256 bytes.
45081 2010-11-03 Ulrich Drepper <drepper@gmail.com>
45084 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45085 of inacessible symlinks. Verify result of symlink before returning it.
45086 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45087 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45089 2010-10-28 Erich Ritz <erichritz@gmail.com>
45091 * math/math.h (isinf): Fix typo in comment.
45093 2010-11-01 Ulrich Drepper <drepper@gmail.com>
45095 * po/da.po: Update from translation team.
45097 2010-10-26 Ulrich Drepper <drepper@gmail.com>
45099 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45100 is added to the list.
45102 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45103 Ulrich Drepper <drepper@gmail.com>
45105 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45106 the global list here. Move code to...
45107 (_dl_add_to_namespace_list): ...here. New function.
45108 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45109 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45110 * elf/dl-load.c (lose): Don't remove the element from the list.
45111 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45112 (_dl_map_object): Likewise.
45114 2010-10-25 Ulrich Drepper <drepper@gmail.com>
45117 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45118 into all bytes of SSE register.
45119 Patch by Richard Li <richardpku@gmail.com>.
45121 2010-10-24 Ulrich Drepper <drepper@gmail.com>
45124 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45127 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45129 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45130 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45131 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45132 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45137 2010-10-22 Andreas Schwab <schwab@redhat.com>
45139 * include/dlfcn.h (__RTLD_SECURE): Define.
45140 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45141 mode & __RTLD_SECURE instead.
45142 (open_path): Rename preloaded parameter to secure.
45143 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45144 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45145 * elf/dl-deps.c (openaux): Likewise.
45146 * elf/rtld.c (struct map_args): Remove is_preloaded.
45147 (map_doit): Don't use it.
45148 (dl_main): Likewise.
45149 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45150 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45152 2010-09-09 Andreas Schwab <schwab@redhat.com>
45154 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45155 (sysd-rules-targets): Remove duplicates.
45156 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45157 rtld-%.$o dependency.
45159 2010-10-18 Andreas Schwab <schwab@redhat.com>
45161 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45162 _dl_map_object do it.
45164 2010-10-19 Ulrich Drepper <drepper@gmail.com>
45166 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45167 fast fma builtins, define the macros in the C99 standard.
45168 (FP_FAST_FMAF): Likewise.
45169 (FP_FAST_FMAL): Likewise.
45170 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45172 * bits/mathdef.h: Update copyright year.
45173 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45175 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45177 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45178 builtins, define the macros in the C99 standard.
45179 (FP_FAST_FMAF): Likewise.
45180 (FP_FAST_FMAL): Likewise.
45181 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45183 (FP_FAST_FMAF): Likewise.
45185 2010-10-15 Jakub Jelinek <jakub@redhat.com>
45188 * math/libm-test.inc (fma_test): Some new testcases.
45189 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45190 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45191 y and infinite z. Do multiplication by C already in long double.
45192 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45193 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45194 y and infinite z. Do bitwise or of inexact bit into u.d.
45195 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45196 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45197 * sysdeps/i386/fpu/s_fma.S: Removed.
45198 * sysdeps/i386/fpu/s_fmal.S: Removed.
45200 2010-10-16 Jakub Jelinek <jakub@redhat.com>
45203 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45204 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45205 computation is not scheduled after fetestexcept. Fix value
45206 of minimum denormal long double.
45208 2010-10-14 Jakub Jelinek <jakub@redhat.com>
45211 * math/libm-test.inc (fma_test): Add some more tests.
45212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45215 2010-10-15 Andreas Schwab <schwab@redhat.com>
45217 * scripts/data/localplt-s390-linux-gnu.data: New file.
45218 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45220 2010-10-13 Jakub Jelinek <jakub@redhat.com>
45223 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45224 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45226 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45228 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45229 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45230 if one of x and y is very large and the other is subnormal.
45231 * sysdeps/s390/fpu/s_fmaf.c: New file.
45232 * sysdeps/s390/fpu/s_fma.c: New file.
45233 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45234 * sysdeps/powerpc/fpu/s_fma.S: New file.
45235 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45236 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45237 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45239 2010-10-12 Jakub Jelinek <jakub@redhat.com>
45242 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45244 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45245 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45246 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45247 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45248 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45249 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45250 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45252 2010-10-12 Ulrich Drepper <drepper@redhat.com>
45255 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45256 * posix/bug-regex31.input: Add test case.
45258 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45260 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45261 * posix/bug-regex31.input: New file.
45264 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45265 (parse_sub_exp): Fix last change, use postorder.
45267 * posix/bug-regex31.c: New file.
45268 * posix/Makefile: Add rules to build and run bug-regex31.
45270 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45273 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45276 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45277 to have entries in sys_siglist.
45280 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45283 2010-10-07 Jakub Jelinek <jakub@redhat.com>
45286 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45287 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45288 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45289 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45290 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45291 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45292 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45293 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45294 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45295 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45296 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45297 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45298 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45299 * math/ftestexcept.c (fetestexcept): Likewise.
45300 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45301 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45302 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45303 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45304 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45305 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45306 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45308 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45311 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45314 2010-10-06 Ulrich Drepper <drepper@gmail.com>
45316 * string/bug-strstr1.c: New file.
45317 * string/Makefile: Add rules to build and run bug-strstr1.
45319 2010-10-05 Eric Blake <eblake@redhat.com>
45322 * string/str-two-way.h (two_way_long_needle): Always clear memory
45323 when skipping input due to the shift table.
45325 2010-10-03 Ulrich Drepper <drepper@gmail.com>
45328 * malloc/mcheck.c: Handle large requests.
45331 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45332 for strncmp and strncasecmp.
45333 * string/stratcliff.c: Add tests for strcmp and strncmp.
45334 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45336 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45338 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45341 2010-09-30 Andreas Jaeger <aj@suse.de>
45343 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45344 (CGROUP_SUPER_MAGIC): Define.
45345 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45346 Handle btrfs and cgroup file systems.
45347 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45350 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
45352 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45353 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45355 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45358 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45359 trying to locate the ELF header.
45361 2010-09-27 Andreas Schwab <schwab@redhat.com>
45364 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45365 Mask out sign-bit copies when constructing f_fsid.
45367 2010-09-24 Petr Baudis <pasky@suse.cz>
45369 * debug/stack_chk_fail_local.c: Add missing licence exception.
45370 * debug/warning-nop.c: Likewise.
45372 2010-09-15 Joseph Myers <joseph@codesourcery.com>
45374 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45375 implementing getdents64 using getdents syscall, set d_type if
45376 __ASSUME_GETDENTS32_D_TYPE.
45378 2010-09-16 Andreas Schwab <schwab@redhat.com>
45380 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45381 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45383 2010-09-21 Ulrich Drepper <drepper@redhat.com>
45386 * posix/unistd.h: Undo change of feature selection for ftruncate from
45389 2010-09-20 Ulrich Drepper <drepper@redhat.com>
45391 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45394 2010-09-20 Andreas Schwab <schwab@redhat.com>
45396 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45398 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45400 2010-09-14 Andreas Schwab <schwab@redhat.com>
45402 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45403 variables after CHECK_SP call.
45404 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45406 2010-09-13 Andreas Schwab <schwab@redhat.com>
45407 Ulrich Drepper <drepper@redhat.com>
45409 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45410 re-relocationg ld.so.
45411 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45412 _dl_init_paths call.
45413 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45416 2010-09-14 Ulrich Drepper <drepper@redhat.com>
45418 * resolv/res_init.c (__res_vinit): Count the default server we added.
45420 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45421 Ulrich Drepper <drepper@redhat.com>
45424 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45425 (____longjmp_chk): Use %ebx for saving value across system call.
45428 2010-09-06 Andreas Schwab <schwab@redhat.com>
45430 * manual/Makefile: Don't mix pattern rules with normal rules.
45432 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45434 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45436 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45437 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45438 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45439 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45440 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45443 2010-09-04 Ulrich Drepper <drepper@redhat.com>
45446 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45447 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45449 2010-09-02 Ulrich Drepper <drepper@redhat.com>
45451 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45452 * sysdeps/x86_64/addmul_1.S: Likewise.
45453 * sysdeps/x86_64/lshift.S: Likewise.
45454 * sysdeps/x86_64/mul_1.S: Likewise.
45455 * sysdeps/x86_64/rshift.S: Likewise.
45456 * sysdeps/x86_64/sub_n.S: Likewise.
45457 * sysdeps/x86_64/submul_1.S: Likewise.
45459 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45461 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45462 Define __sched_param instead of SCHED_* and sched_param when
45463 <bits/sched.h> is included with __need_schedparam defined.
45464 * bits/sched.h [__need_schedparam]
45465 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45466 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45467 (__defined_schedparam): Define to 1.
45468 (__sched_param): New structure, identical to sched_param.
45469 (__need_schedparam): Undefine.
45471 2010-08-31 Mike Frysinger <vapier@gentoo.org>
45473 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45474 (epoll_create1): Declare.
45476 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45478 2010-08-31 Andreas Schwab <schwab@redhat.com>
45481 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45482 shifting retval into place.
45484 2010-09-01 Ulrich Drepper <drepper@redhat.com>
45486 * nis/rpcsvc/nis.h: Update copyright notice.
45487 * nis/rpcsvc/nis.x: Likewise.
45488 * nis/rpcsvc/nis_callback.h: Likewise.
45489 * nis/rpcsvc/nis_callback.x: Likewise.
45490 * nis/rpcsvc/nis_object.x: Likewise.
45491 * nis/rpcsvc/nis_tags.h: Likewise.
45492 * nis/rpcsvc/yp.h: Likewise.
45493 * nis/rpcsvc/yp.x: Likewise.
45494 * nis/rpcsvc/ypupd.h: Likewise.
45495 * nis/yp_xdr.c: Likewise.
45496 * nis/ypupdate_xdr.c: Likewise.
45498 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45499 mainly the body of pmap_getport. Add parameters to specify timeouts.
45500 (pmap_getport): Use __libc_rpc_getport.
45501 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45502 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45503 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45505 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45510 2010-08-27 Roland McGrath <roland@redhat.com>
45512 * sysdeps/i386/i686/multiarch/Makefile
45513 (CFLAGS-varshift.c): New variable.
45515 2010-08-27 Ulrich Drepper <drepper@redhat.com>
45517 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45518 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45520 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45522 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45524 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45526 * sysdeps/x86_64/strlen.S: Unroll the loop.
45527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45528 strlen-sse2 strlen-sse2-bsf.
45529 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45530 __strlen_no_bsf if bit_Slow_BSF is set.
45531 (__strlen_sse42): Removed.
45532 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45533 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45535 2010-08-25 Roland McGrath <roland@redhat.com>
45537 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45538 * sysdeps/x86_64/multiarch/varshift.c: New file.
45539 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45540 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45541 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45542 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45544 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45547 strlen-sse2 strlen-sse2-bsf.
45548 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45549 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45550 (__strlen_sse2): Removed.
45551 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45552 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45554 bit_Slow_BSF for Atom.
45555 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45556 (index_Slow_BSF): Define.
45557 (HAS_SLOW_BSF): Define.
45559 2010-08-25 Ulrich Drepper <drepper@redhat.com>
45562 * resolv/res_init.c (__res_vinit): When no server address at all
45563 is given default to loopback.
45565 2010-08-24 Roland McGrath <roland@redhat.com>
45567 * configure.in: Remove config-name.h generation.
45568 * configure: Regenerated.
45569 * config-name.in: File removed.
45570 * scripts/config-uname.sh: New file.
45571 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45572 ($(objdir)config-name.h): New target.
45574 * sunrpc/rpc_parse.h: Avoid nested comment.
45576 2010-08-24 Richard Henderson <rth@redhat.com>
45577 Ulrich Drepper <drepper@redhat.com>
45578 H.J. Lu <hongjiu.lu@intel.com>
45580 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45582 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45583 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45584 _mm_alignr_epi8 with _mm_loadu_si128.
45585 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45586 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45587 (__m128i_shift_right): Removed.
45588 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45589 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45590 * sysdeps/x86_64/multiarch/varshift.h: New file.
45591 * sysdeps/x86_64/multiarch/varshift.S: New file.
45593 2010-08-21 Mike Frysinger <vapier@gentoo.org>
45595 * configure.in: Move assembler checks to before sysdep dir checking.
45597 2010-08-20 Petr Baudis <pasky@suse.cz>
45599 * LICENSES: Sync the sunrpc license.
45601 2010-08-19 Ulrich Drepper <drepper@redhat.com>
45603 * sunrpc/auth_des.c: Update copyright notice once again.
45604 * sunrpc/auth_none.c: Likewise.
45605 * sunrpc/auth_unix.c: Likewise.
45606 * sunrpc/authdes_prot.c: Likewise.
45607 * sunrpc/authuxprot.c: Likewise.
45608 * sunrpc/bindrsvprt.c: Likewise.
45609 * sunrpc/clnt_gen.c: Likewise.
45610 * sunrpc/clnt_perr.c: Likewise.
45611 * sunrpc/clnt_raw.c: Likewise.
45612 * sunrpc/clnt_simp.c: Likewise.
45613 * sunrpc/clnt_tcp.c: Likewise.
45614 * sunrpc/clnt_udp.c: Likewise.
45615 * sunrpc/clnt_unix.c: Likewise.
45616 * sunrpc/des_crypt.c: Likewise.
45617 * sunrpc/des_soft.c: Likewise.
45618 * sunrpc/get_myaddr.c: Likewise.
45619 * sunrpc/getrpcport.c: Likewise.
45620 * sunrpc/key_call.c: Likewise.
45621 * sunrpc/key_prot.c: Likewise.
45622 * sunrpc/openchild.c: Likewise.
45623 * sunrpc/pm_getmaps.c: Likewise.
45624 * sunrpc/pm_getport.c: Likewise.
45625 * sunrpc/pmap_clnt.c: Likewise.
45626 * sunrpc/pmap_prot.c: Likewise.
45627 * sunrpc/pmap_prot2.c: Likewise.
45628 * sunrpc/pmap_rmt.c: Likewise.
45629 * sunrpc/rpc/auth.h: Likewise.
45630 * sunrpc/rpc/auth_unix.h: Likewise.
45631 * sunrpc/rpc/clnt.h: Likewise.
45632 * sunrpc/rpc/des_crypt.h: Likewise.
45633 * sunrpc/rpc/key_prot.h: Likewise.
45634 * sunrpc/rpc/netdb.h: Likewise.
45635 * sunrpc/rpc/pmap_clnt.h: Likewise.
45636 * sunrpc/rpc/pmap_prot.h: Likewise.
45637 * sunrpc/rpc/pmap_rmt.h: Likewise.
45638 * sunrpc/rpc/rpc.h: Likewise.
45639 * sunrpc/rpc/rpc_des.h: Likewise.
45640 * sunrpc/rpc/rpc_msg.h: Likewise.
45641 * sunrpc/rpc/svc.h: Likewise.
45642 * sunrpc/rpc/svc_auth.h: Likewise.
45643 * sunrpc/rpc/types.h: Likewise.
45644 * sunrpc/rpc/xdr.h: Likewise.
45645 * sunrpc/rpc_clntout.c: Likewise.
45646 * sunrpc/rpc_cmsg.c: Likewise.
45647 * sunrpc/rpc_common.c: Likewise.
45648 * sunrpc/rpc_cout.c: Likewise.
45649 * sunrpc/rpc_dtable.c: Likewise.
45650 * sunrpc/rpc_hout.c: Likewise.
45651 * sunrpc/rpc_main.c: Likewise.
45652 * sunrpc/rpc_parse.c: Likewise.
45653 * sunrpc/rpc_parse.h: Likewise.
45654 * sunrpc/rpc_prot.c: Likewise.
45655 * sunrpc/rpc_sample.c: Likewise.
45656 * sunrpc/rpc_scan.c: Likewise.
45657 * sunrpc/rpc_scan.h: Likewise.
45658 * sunrpc/rpc_svcout.c: Likewise.
45659 * sunrpc/rpc_tblout.c: Likewise.
45660 * sunrpc/rpc_util.c: Likewise.
45661 * sunrpc/rpc_util.h: Likewise.
45662 * sunrpc/rpcinfo.c: Likewise.
45663 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45664 * sunrpc/rpcsvc/key_prot.x: Likewise.
45665 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45666 * sunrpc/rpcsvc/mount.x: Likewise.
45667 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45668 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45669 * sunrpc/rpcsvc/rex.x: Likewise.
45670 * sunrpc/rpcsvc/rstat.x: Likewise.
45671 * sunrpc/rpcsvc/rusers.x: Likewise.
45672 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45673 * sunrpc/rpcsvc/spray.x: Likewise.
45674 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45675 * sunrpc/rtime.c: Likewise.
45676 * sunrpc/svc.c: Likewise.
45677 * sunrpc/svc_auth.c: Likewise.
45678 * sunrpc/svc_authux.c: Likewise.
45679 * sunrpc/svc_raw.c: Likewise.
45680 * sunrpc/svc_run.c: Likewise.
45681 * sunrpc/svc_simple.c: Likewise.
45682 * sunrpc/svc_tcp.c: Likewise.
45683 * sunrpc/svc_udp.c: Likewise.
45684 * sunrpc/svc_unix.c: Likewise.
45685 * sunrpc/svcauth_des.c: Likewise.
45686 * sunrpc/xcrypt.c: Likewise.
45687 * sunrpc/xdr.c: Likewise.
45688 * sunrpc/xdr_array.c: Likewise.
45689 * sunrpc/xdr_float.c: Likewise.
45690 * sunrpc/xdr_mem.c: Likewise.
45691 * sunrpc/xdr_rec.c: Likewise.
45692 * sunrpc/xdr_ref.c: Likewise.
45693 * sunrpc/xdr_sizeof.c: Likewise.
45694 * sunrpc/xdr_stdio.c: Likewise.
45696 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45699 2010-08-19 Andreas Schwab <schwab@redhat.com>
45701 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45703 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
45705 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45706 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45707 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45708 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45709 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45710 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45711 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45712 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45713 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45714 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45715 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45716 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45717 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45718 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45720 2010-07-26 Anton Blanchard <anton@samba.org>
45722 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45723 * malloc/arena.c (heap_trim): Likewise.
45725 2010-08-16 Ulrich Drepper <drepper@redhat.com>
45727 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45729 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45730 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45732 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45734 * sysdeps/i386/elf/Makefile: New file.
45736 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45738 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45739 from fanotify_init.
45740 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45741 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45743 2010-08-15 Ulrich Drepper <drepper@redhat.com>
45745 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45747 * sysdeps/multiarch/strcmp.S: Likewise.
45749 2010-08-14 Ulrich Drepper <drepper@redhat.com>
45751 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45752 strncase_l-nonascii.
45753 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45754 Add strncase_l-ssse3.
45755 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45756 * sysdeps/x86_64/strcmp.S: Likewise.
45757 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45758 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45759 * sysdeps/x86_64/strncase.S: New file.
45760 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45761 * sysdeps/x86_64/strncase_l.S: New file.
45762 * string/Makefile (strop-tests): Add strncasecmp.
45763 * string/test-strncasecmp.c: New file.
45765 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45768 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45769 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45771 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45773 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45775 2010-08-12 Ulrich Drepper <drepper@redhat.com>
45777 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45778 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45779 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45781 2010-05-01 Alan Modra <amodra@gmail.com>
45783 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45784 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45785 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45786 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45787 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45788 tidying. Don't tail-call __sigjmp_save for static lib.
45789 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45791 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45792 (CALL_MCOUNT): Add eh info, and nop after bl.
45793 (TAIL_CALL_SYSCALL_ERROR): New macro.
45794 (PSEUDO_RET): Use it.
45795 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45796 Correct save location of integer regs and cr.
45797 (_dl_profile_resolve): Correct cr save location. Delete nops
45798 after bl when SHARED. Reduce cfi size a little by better
45799 placement of cfi directives.
45800 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45801 make a stack frame. Instead use parm save area as a temp.
45802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45803 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45805 Don't make a stack frame for parent, use parm save area.
45806 Increase child stack frame to 112 bytes. Don't save unused reg,
45807 and adjust reg usage. Set up cfi on error recovery and
45808 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45810 (__makecontext): Add dummy nop after jump to exit.
45811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45812 Use correct parm save area and cr save, reduce stack frame.
45813 Correct cfi for possible PSEUDO_RET frame setup.
45814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45815 Branch to local label emitted by PSEUDO_RET rather than
45818 2010-08-12 Andreas Schwab <schwab@redhat.com>
45821 * locale/programs/locale.c (print_assignment): New function.
45822 (show_locale_vars): Use it.
45824 2010-08-11 Ulrich Drepper <drepper@redhat.com>
45826 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45828 (struct statfs64): Likewise.
45829 (_STATFS_F_FLAGS): Define.
45830 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45831 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45832 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45833 (ST_VALID): Define locally.
45834 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45835 __statvfs_getflags, use the provided value.
45836 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45837 __ASSUME_STATFS_F_FLAGS.
45839 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45841 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45842 Add sys/fanotify.h.
45843 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45844 fanotify_mask for GLIBC_2.13.
45845 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45846 fanotify_init and fanotify_mark.
45847 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45848 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45850 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45852 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45853 prlimit64 for GLIBC_2.13.
45854 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45856 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45859 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45860 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45861 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45862 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45864 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45867 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45868 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45870 * nss/Makefile: Add rules to build and run tst-nss-test1.
45871 * shlib-versions: Add entry for libnss_test1.
45872 * nss/nss_test1.c: New file.
45873 * nss/tst-nss-test1.c: New file.
45875 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45876 (__nss_configure_lookup): Set appropriate entry in
45877 __nss_configure_lookup to true.
45878 * nss/nsswitch.h: Define enum with indeces of databases in
45879 databases and __nss_database_custom arrays. Declare
45880 __nss_database_custom.
45881 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45882 to avoid using nscd when custom rules are installed.
45883 * nss/getXXbyYY_r.c: Likewise.
45884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45886 * nss/nss_files/files-parse.c: Whitespace fixes.
45888 2010-08-09 Ulrich Drepper <drepper@redhat.com>
45891 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45892 * posix/fnmatch_loop.c: Likewise.
45894 2010-07-17 Andi Kleen <ak@linux.intel.com>
45896 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45897 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45898 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45899 * Versions.def [GLIBC_2.13]: Add.
45901 2010-08-06 Ulrich Drepper <drepper@redhat.com>
45903 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45904 Also fail if tpwd after pwuid call is NULL.
45906 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45908 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45909 when converting to ms.
45911 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45913 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45914 EOPNOTSUPP errors with ENOTTY.
45915 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45916 EOPNOTSUPP errors with ENOTTY.
45918 2010-07-31 Ulrich Drepper <drepper@redhat.com>
45920 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45921 Add strcasecmp_l-ssse3.
45922 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45924 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45925 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45926 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45928 2010-07-30 Ulrich Drepper <drepper@redhat.com>
45930 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45932 * string/Makefile (strop-tests): Add strcasecmp.
45933 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45934 strcasecmp_l-nonascii.
45935 (gen-as-const-headers): Add locale-defines.sym.
45936 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45937 * sysdeps/x86_64/strcasecmp.S: New file.
45938 * sysdeps/x86_64/strcasecmp_l.S: New file.
45939 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45940 * sysdeps/x86_64/locale-defines.sym: New file.
45941 * string/test-strcasecmp.c: New file.
45943 * string/test-strcasestr.c: Test both ends of the range of characters.
45944 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45946 2010-07-29 Roland McGrath <roland@redhat.com>
45949 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45951 2010-07-27 Ulrich Drepper <drepper@redhat.com>
45953 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45956 2010-07-27 Andreas Schwab <schwab@redhat.com>
45958 * manual/memory.texi (Malloc Tunable Parameters): Document
45961 2010-07-26 Roland McGrath <roland@redhat.com>
45964 * configure.in (-fgnu89-inline check): Set and substitute
45965 gnu89_inline, not libc_cv_gnu89_inline.
45966 * configure: Regenerated.
45967 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45969 2010-07-26 Ulrich Drepper <drepper@redhat.com>
45971 * string/test-strnlen.c: New file.
45972 * string/Makefile (strop-tests): Add strnlen.
45973 * string/tester.c (test_strnlen): Add a few more test cases.
45974 * string/tst-strlen.c: Better error reporting.
45976 * sysdeps/x86_64/strnlen.S: New file.
45978 2010-07-24 Ulrich Drepper <drepper@redhat.com>
45980 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45981 lower-latency instructions.
45983 2010-07-23 Ulrich Drepper <drepper@redhat.com>
45985 * string/test-strcasestr.c: New file.
45986 * string/test-strstr.c: New file.
45987 * string/Makefile (strop-tests): Add strstr and strcasestr.
45988 * string/str-two-way.h: Don't undefine MAX.
45989 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45991 2010-07-21 Andreas Schwab <schwab@redhat.com>
45993 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45994 strcasestr-nonascii.
45995 (CFLAGS-strcasestr-nonascii.c): Define.
45996 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45997 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45998 Remove unused attribute.
46000 2010-07-20 Roland McGrath <roland@redhat.com>
46002 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46003 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46004 ld.so.cache was broken. With it, there is no way to disable dsocaps
46005 like LD_HWCAP_MASK can disable hwcaps.
46007 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46009 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46011 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46013 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46014 call in strcasestr.
46015 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46016 __strcasestr_sse42_nonascii.
46017 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46018 strcasestr-nonascii.c.
46019 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46021 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46023 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46024 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46025 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46026 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46028 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46030 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46033 2010-07-06 Andreas Schwab <schwab@redhat.com>
46036 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46039 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46041 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46042 _PC_PIPE_BUF using F_GETPIPE_SZ.
46044 2010-07-05 Roland McGrath <roland@redhat.com>
46046 * manual/arith.texi (Rounding Functions): Fix rint description
46047 implicit in round description.
46049 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46051 * elf/Makefile: Fix linking for a few tests to make recent linker
46054 2010-06-30 Andreas Schwab <schwab@redhat.com>
46056 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46057 $(common-objpfx)libc_nonshared.a.
46059 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46061 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46062 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46063 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46064 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46065 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46066 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46067 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46068 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46083 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46084 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46085 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46086 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46087 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46088 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46089 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46090 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46091 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46092 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46093 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46094 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46110 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46112 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46113 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46114 * string/memmove.c (memmove): Renamed to ...
46115 (MEMMOVE): ...this. Default to memmove.
46116 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46117 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46119 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46120 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46121 mempcpy-ssse3-back memmove-ssse3-back.
46122 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46123 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46124 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46125 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46126 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46127 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46128 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46129 * sysdeps/x86_64/multiarch/memmove.c: New file.
46130 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46131 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46132 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46133 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46134 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46135 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46137 (index_Fast_Copy_Backward): Define.
46138 (HAS_ARCH_FEATURE): Define.
46139 (HAS_FAST_REP_STRING): Define.
46140 (HAS_FAST_COPY_BACKWARD): Define.
46142 2010-06-21 Andreas Schwab <schwab@redhat.com>
46144 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46145 Restore proper fallback handling.
46147 2010-06-19 Ulrich Drepper <drepper@redhat.com>
46150 * posix/group_member.c (__group_member): Correct checking loop.
46152 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46153 OOM in getpwuid_r correctly. Return error number when the caller
46154 should return, otherwise -1.
46155 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46156 call returning > 0 value.
46157 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46159 2010-06-07 Andreas Schwab <schwab@redhat.com>
46161 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46162 libc_nonshared.a from targets in modules-names.
46164 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46166 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46169 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
46171 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46172 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46173 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46174 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46176 2010-06-02 Andreas Schwab <schwab@redhat.com>
46178 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46180 2010-06-14 Ulrich Drepper <drepper@redhat.com>
46182 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46184 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46185 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46186 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46187 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46188 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46189 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46191 2010-06-14 Roland McGrath <roland@redhat.com>
46193 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46195 2010-06-07 Jakub Jelinek <jakub@redhat.com>
46197 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46198 __REDIRECT followed by __THROW.
46199 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46200 * posix/getopt.h (getopt): Likewise.
46202 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46204 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46205 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46206 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46208 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46209 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46211 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
46213 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46215 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46219 Properly check family and model.
46221 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46223 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46225 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
46227 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46229 2010-05-21 Ulrich Drepper <drepper@redhat.com>
46231 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46234 2010-05-19 Andreas Schwab <schwab@redhat.com>
46236 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46239 2010-05-21 Andreas Schwab <schwab@redhat.com>
46241 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46242 and internal_recvmmsg.
46243 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46244 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46245 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46246 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46248 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46249 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46250 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46252 2010-05-20 Andreas Schwab <schwab@redhat.com>
46254 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46256 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
46258 POWER7 optimizations.
46259 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46260 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46262 2010-05-19 Ulrich Drepper <drepper@redhat.com>
46264 * version.h: Update for 2.13 development version.
46266 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
46268 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46269 exceptions. Return 0.
46271 2010-05-07 Roland McGrath <roland@redhat.com>
46273 * elf/ldconfig.c (main): Add a const.
46275 2010-05-06 Ulrich Drepper <drepper@redhat.com>
46277 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46278 (args_options): Add no-idn option.
46279 (ahosts_keys_int): Add idn_flags to ai_flags.
46280 (parse_option): Handle 'i' option to clear idn_flags.
46282 * malloc/malloc.c (_int_free): Possible race in the most recently
46283 added check. Only act on the data if no current modification
46286 See ChangeLog.17 for earlier changes.